/* Попап-форма */
.form-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: block;
}

.popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.popup-content {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 40px;
    border-radius: 12px;
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: popupAppear 0.3s ease-out;
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s;
    z-index: 10001;
}

.popup-close:hover {
    background-color: #f5f5f5;
}

.form-container {
    margin-top: 10px;
}

/* Анимация появления попапа */
@keyframes popupAppear {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .popup-content {
        padding: 25px 20px;
        width: 95%;
    }
    
    .popup-close {
        top: 10px;
        right: 10px;
    }
}

/* Стили для формы внутри попапа (если нужны дополнительные) */
.form-popup .audit-form {
    margin-top: 20px;
}

.form-popup .form-group {
    margin-bottom: 20px;
}

.form-popup .form-group input,
.form-popup .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-popup .form-group input:focus,
.form-popup .form-group textarea:focus {
    outline: none;
    border-color: #007bff;
}

.form-popup .btn-primary {
    width: 100%;
    padding: 15px;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.form-popup .btn-primary:hover {
    background: #FF6B3D;
}

.form-popup .form-privacy {
    margin-top: 15px;
    font-size: 12px;
    color: #666;
    text-align: center;
}
/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #FF7B4F;
    --secondary-color: #FF5722;
    --accent-color: #FF8C66;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #fff;
    --border-radius: 12px;
}

body {
    font-family: 'PT Sans', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Типография */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

h1 {
    font-size: 48px;
}

h2 {
    font-size: 36px;
}

h3 {
    font-size: 24px;
}

p {
    margin-bottom: 15px;
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 18px 50px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #FF6B3D;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 61, 0.4);
}

.btn-light {
    background: var(--white);
    color: var(--primary-color);
    font-weight: 700;
}

.btn-light:hover {
    background: var(--light-bg);
    transform: translateY(-2px);
}

/* Секции */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 20px;
}

.section-subtitle {
    text-align: center;
    font-size: 20px;
    margin-bottom: 40px;
    color: #666;
}

/* Hero секция */
.hero {
    background: #F6F8F8;
    color: var(--text-color);
    padding: 60px 0;
    text-align: left;
    position: relative;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero__content {
    max-width: 100%;
}

.hero__title {
    color: #333333;
    margin-bottom: 20px;
    font-size: 42px;
}

.hero__subtitle {
    font-size: 18px;
    margin-bottom: 30px;
    color: #333333;
    line-height: 1.6;
}

.hero__benefits {
    background: transparent;
    padding: 0;
    margin-bottom: 30px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    font-size: 16px;
    margin-bottom: 15px;
    text-align: left;
    color: #333333;
}

.benefit-item:last-child {
    margin-bottom: 0;
}

.check-icon {
    color: #FF7B4F;
    font-size: 20px;
    margin-right: 12px;
    flex-shrink: 0;
    line-height: 1.4;
}

.hero__image {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hero__image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Почему сегодня */
.why-today {
    background: var(--white);
    position: relative;
    z-index: 10;
}

.changes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.change-card {
    background: var(--white);
    border: 2px solid #FFB399;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.change-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 123, 79, 0.2);
}

.change-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.change-card h3 {
    color: #FF6B3D;
    font-size: 20px;
    margin-bottom: 10px;
}

.info-box {
    background: #FFF5F2;
    padding: 40px;
    border-radius: var(--border-radius);
    border-left: 5px solid #FF7B4F;
    font-size: 20px;
}

/* Целевая аудитория */
.target-audience {
    background: var(--light-bg);
}

.audience-list {
    max-width: 1000px;
    margin: 0 auto 50px;
}

.audience-item {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.audience-item:hover {
    transform: translateX(10px);
}

.audience-icon {
    font-size: 40px;
    margin-right: 25px;
    flex-shrink: 0;
}

.audience-item p {
    font-size: 18px;
    margin: 0;
}

/* Что проверим */
.what-check {
    background: var(--white);
}

.check-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.check-card {
    background: linear-gradient(135deg, #FF7B4F 0%, #FF5722 100%);
    color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(255, 123, 79, 0.3);
    transition: transform 0.3s ease;
}

.check-card:hover {
    transform: translateY(-5px);
}

.check-card-icon {
    font-size: 36px;
    margin-bottom: 15px;
}

.check-card h3 {
    color: var(--white);
    margin-bottom: 10px;
}

.check-card p {
    margin: 0;
}

/* Что получите */
.what-get {
    background: var(--light-bg);
}

.timeline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline-item {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.timeline-number {
    background: var(--primary-color);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.timeline-icon {
    font-size: 50px;
    margin-bottom: 15px;
}

.timeline-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.timeline-arrow {
    font-size: 30px;
    color: var(--primary-color);
    flex-shrink: 0;
}

/* Почему мы */
.why-us {
    background: var(--white);
}

.advantages-list {
    max-width: 1000px;
    margin: 0 auto;
}

.advantage-item {
    background: var(--white);
    border: 2px solid var(--primary-color);
    padding: 35px;
    border-radius: var(--border-radius);
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: flex-start;
    transition: transform 0.3s ease;
}

.advantage-item:hover {
    transform: translateX(10px);
}

.advantage-icon {
    font-size: 50px;
    margin-right: 25px;
    flex-shrink: 0;
}

.advantage-content h3 {
    color: var(--primary-color);
    font-size: 22px;
    margin-bottom: 12px;
}

.advantage-content p {
    font-size: 18px;
    margin: 0;
}

/* Отзывы */
.reviews {
    background: var(--light-bg);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.review-rating {
    color: #F2C94C;
    font-size: 20px;
    margin-bottom: 15px;
}

.review-card h4 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.review-author {
    margin-top: 15px;
    font-style: italic;
    color: #666;
}

/* Как работает */
.how-works {
    background: var(--white);
}

.steps {
    max-width: 800px;
    margin: 0 auto;
}

.step-item {
    background: var(--light-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    text-align: center;
}

.step-number {
    background: linear-gradient(135deg, #FF7B4F 0%, #FF5722 100%);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-arrow {
    text-align: center;
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Цены */
.pricing {
    background: linear-gradient(135deg, #FF7B4F 0%, #FF5722 100%);
    color: var(--white);
}

.pricing .section-title {
    color: var(--white);
}

.price-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 50px;
    border-radius: 20px;
    max-width: 800px;
    margin: 0 auto;
    border: 2px solid rgba(255, 255, 255, 0.3);
    text-align: center;
}

.price {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 30px;
}

.price-benefits {
    margin-bottom: 40px;
}

.price-benefit {
    display: flex;
    align-items: center;
    font-size: 22px;
    margin-bottom: 20px;
    text-align: left;
    justify-content: center;
}

.price-benefit .check-icon {
    font-size: 32px;
}

/* Контакты */
.contacts {
    background: var(--white);
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.contact-card {
    background: var(--light-bg);
    padding: 35px;
    border-radius: var(--border-radius);
    border-left: 5px solid var(--primary-color);
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.contact-card h3 {
    color: var(--primary-color);
    margin-bottom: 12px;
}

.contact-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 22px;
}

.contact-card a:hover {
    text-decoration: underline;
}

/* Форма */
.form-section {
    background: var(--light-bg);
}

.audit-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-family: 'PT Sans', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-privacy {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-top: 20px;
}

.form-privacy a {
    color: var(--primary-color);
    text-decoration: underline;
}

.form-privacy a:hover {
    color: var(--secondary-color);
}

/* Footer */
.footer {
    background: #333;
    color: var(--white);
    padding: 30px 0;
    text-align: center;
}

.footer p {
    margin: 0;
}

/* Адаптивность */
@media (max-width: 768px) {
    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 28px;
    }

    section {
        padding: 50px 0;
    }

    .hero {
        padding: 40px 0;
    }

    .hero__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero__title {
        font-size: 32px;
    }

    .hero__subtitle {
        font-size: 16px;
    }

    .hero__image {
        justify-content: center;
        order: -1;
    }

    .benefit-item {
        font-size: 14px;
    }

    .btn {
        padding: 15px 40px;
        font-size: 16px;
    }

    .changes-grid,
    .check-grid,
    .reviews-grid,
    .contacts-grid {
        grid-template-columns: 1fr;
    }

    .timeline {
        flex-direction: column;
    }

    .timeline-arrow {
        transform: rotate(90deg);
        margin: 10px 0;
    }

    .advantage-item,
    .audience-item {
        flex-direction: column;
        text-align: center;
    }

    .advantage-icon,
    .audience-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .price-box {
        padding: 30px 20px;
    }

    .price {
        font-size: 36px;
    }

    .price-benefit {
        font-size: 18px;
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 24px;
    }

    .hero__title {
        font-size: 26px;
    }

    .hero__subtitle {
        font-size: 15px;
    }

    .check-card,
    .change-card,
    .review-card,
    .contact-card,
    .advantage-item,
    .audience-item {
        padding: 20px;
    }
}