/* Сброс */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    color: #1a1a1a;
    background-color: #f5f2ed;
}

/* ============================================================
   СЛОЙ 1: ПЕРВЫЙ ЭКРАН (full screen)
   ============================================================ */
.first-screen {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
}

/* Фон */
.first-screen__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.first-screen__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.first-screen__bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        /* 1. Виньетка (затемнение по краям, свет в центре) */
        radial-gradient(ellipse at 50% 50%, rgba(0,0,0,0) 40%, rgba(0,0,0,0.25) 85%),
        /* 2. Твой любимый бежевый градиент (теперь он плотнее и шире) */
        linear-gradient(to right, rgba(243, 241, 235, 0.92) 0%, rgba(243, 241, 235, 0.6) 50%, rgba(243, 241, 235, 0) 100%);
    pointer-events: none;
}

/* ============================================================
   СЛОЙ 2: ХЕДЕР (поверх фона, на всю ширину)
   ============================================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease;
    /* Высоту задает внутренний контент */
}
.header.scrolled {
    background: rgba(245, 242, 237, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

/* Внутренняя центровка хедера (ровно как у контента) */
.header__inner {
    width: 65%;       /* Ограничиваем ширину контента хедера */
    margin: 0 auto;   /* Центрируем по горизонтали */
    height: 80px;     /* Фиксированная высота хедера */
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #1a1a1a;
}
.header__nav {
    display: flex;
    align-items: center;
    gap: 32px;
}
.header__nav a {
    text-decoration: none;
    color: rgb(245, 240, 232);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}
.header__nav a:hover { color: #1a1a1a; }

.header__btn {
    display: none; /* Скрываем на ПК */
    height: 40px;
    padding: 0 24px;
    background: #1a1a1a;
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    transition: background 0.3s;
}


.header__btn:hover { background: #333; }

.header__burger {
    display: none; /* Убираем лишнюю точечку на ПК */
}

/* Скролл-эффект для ссылок */
.header.scrolled .header__nav a { color: #555; }
.header.scrolled .header__nav a:hover { color: #1a1a1a; }
.header.scrolled .header__btn { background: #1a1a1a; color: #fff; }
.header.scrolled .header__btn:hover { background: #333; }

/* ============================================================
   СЛОЙ 3: КОНТЕЙНЕР 65% (ДЛЯ ТЕКСТА)
   ============================================================ */
.first-screen__container {
    position: relative;
    z-index: 1;
    width: 65%;           /* Блок занимает 65% ширины */
    height: 100%;         /* Растягиваем на всю высоту экрана */
    margin: 0 auto;       /* Центрируем по горизонтали */
    
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Прижимаем весь контент к низу */
    /* ВНИМАНИЕ: padding снизу убран. Место задается высотой контента */
}

/* ============================================================
   ГЕРОЙ (ТЕКСТ ВНУТРИ 65%)
   ============================================================ */
.hero {
    width: 100%;
    /* Контент сам решает, сколько места занять */
}
.hero__content {
    max-width: 600px;     /* Максимальная ширина текста */
    display: flex;
    flex-direction: column;
    gap: 20px;            /* Единственные отступы — это gap между элементами */
    margin-bottom: 60px;  /* Небольшой отступ от низа экрана для красоты */
}

.hero__subtitle {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #555;
}
.hero__title {
    font-family: 'Playfair Display', serif;
    font-size: 3.8rem;
    line-height: 1.05;
    font-weight: 400;
    letter-spacing: -1px;
}
.hero__desc {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    max-width: 440px;
}

.hero__title {
    /* ... твои старые стили ... */
    text-shadow: 0 2px 15px rgba(0,0,0,0.03); /* Почти незаметная тень, но она работает! */
}

.hero__desc {
    /* ... твои старые стили ... */
    text-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.hero__actions {
    display: flex;
    gap: 16px;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    padding: 0 32px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border: 1px solid transparent;
    transition: 0.3s;
}
.btn--primary { background: #1a1a1a; color: #fff; }
.btn--primary:hover { background: #333; }
.btn--secondary { background: transparent; color: #1a1a1a; border-color: #1a1a1a; }
.btn--secondary:hover { background: rgba(26, 26, 26, 0.05); }

    .hero__features {
    display: flex;
    gap: 24px;
}
.hero__features span {
    font-size: 0.75rem;
    color: #555;
    position: relative;
}
.hero__features span:not(:last-child)::after {
    content: '|';
    position: absolute;
    right: -14px;
    color: #ccc;
}

/* ============================================================
   СЛЕДУЮЩИЙ БЛОК
   ============================================================ */
.next-section {
    width: 100%;
    min-height: 100vh;
    background: #f5f2ed;
}


/* ============================================================
   СЕКЦИЯ 2: О СЕБЕ
   ============================================================ */
.about-section {
    width: 100%;
    background-color: #f3f1eb; /* Цвет фона со второго скрина */
    padding: 100px 0; /* Верхний и нижний отступы для блока */
}

.about-section__container {
    width: 65%;        /* Придерживаемся нашей системы */
    margin: 0 auto;
    display: flex;
    gap: 60px;         /* Расстояние между текстом и картинкой */
    align-items: flex-start;
}

/* ============================================================
   ЛЕВАЯ КОЛОНКА (ТЕКСТ)
   ============================================================ */
.about-section__text {
    flex: 1;           /* Занимает 50% доступного места */
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-section__label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888;
}

.about-section__title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    line-height: 1.1;
    font-weight: 400;
    color: #1a1a1a;
    letter-spacing: -1px;
}

.about-section__desc {
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================================
   БЛОК С ЦИФРАМИ (СТАТИСТИКА)
   ============================================================ */
.about-section__stats {
    display: flex;
    gap: 50px;        /* Расстояние между цифрами */
    margin-top: 10px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #c69c6d;   /* Золотистый цвет с референса */
    font-weight: 400;
    letter-spacing: -0.5px;
}

.stat-label {
    font-size: 0.75rem;
    color: #888;
    text-transform: lowercase; /* Чтобы "клиентов" было с маленькой буквы, как на скрине */
}

/* ============================================================
   ПРАВАЯ КОЛОНКА (КАРТИНКА)
   ============================================================ */
.about-section__image {
    flex: 1;           /* Занимает вторые 50% */
    display: flex;
    justify-content: flex-end; /* Прижимаем картинку к правому краю */
}

.about-section__image img {
    width: 100%;
    max-width: 600px;  /* Ограничиваем, чтобы не была гигантской */
    height: auto;
    object-fit: cover;
    border-radius: 4px; /* Легкое скругление углов как на скрине */
    display: block;
}

/* ============================================================
   СЕКЦИЯ 3: МЕТОД ДИАГНОСТИКИ
   ============================================================ */
.method-section {
    width: 100%;
    background-color: #f7f5f0; /* Светлый фон, как просил */
    padding: 100px 0;
}

.method-section__container {
    width: 65%;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

/* ============================================================
   ТЕКСТОВАЯ ЧАСТЬ
   ============================================================ */
.method-section__text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.method-section__label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888;
}

.method-section__title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    line-height: 1.1;
    font-weight: 400;
    color: #1a1a1a;
    letter-spacing: -1px;
}

/* ============================================================
   СПИСОК ШАГОВ
   ============================================================ */
.method-section__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 10px;
}

.method-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.method-step__number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background-color: #c69c6d; /* Тот же золотистый цвет */
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

.method-step__content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.method-step__content h4 {
    font-size: 0.95rem;
    font-weight: 500;
    color: #1a1a1a;
}

.method-step__content p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #666;
}

/* ============================================================
   ПРИМЕЧАНИЯ И ПРЕДУПРЕЖДЕНИЕ
   ============================================================ */
.method-section__footnotes {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 10px;
}

.method-note {
    font-size: 0.8rem;
    color: #999;
}

.method-warning {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 4px;
    background-color: rgba(255,255,255,0.4);
}

.method-warning__icon {
    font-size: 1.1rem;
    color: #c69c6d;
    margin-top: 2px;
}

.method-warning p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #555;
}

.method-warning p strong {
    color: #1a1a1a;
}

/* ============================================================
   КАРТИНКА
   ============================================================ */
.method-section__image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.method-section__image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}


/* ============================================================
   СЕКЦИЯ 4: ТАРИФЫ
   ============================================================ */
.tarif-section {
    width: 100%;
    background-color: #1c1a17; /* Темный, но чуть светлее, чем на скрине */
    padding: 100px 0 60px 0;
}

.tarif-section__container {
    width: 65%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ЗАГОЛОВОК */
.tarif-section__header {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 50px;
}

.tarif-section__label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #c69c6d; /* Золотистый акцент */
}

.tarif-section__title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    line-height: 1.1;
    font-weight: 400;
    color: #ffffff; /* Белый заголовок */
    letter-spacing: -1px;
}

/* КАРТОЧКИ */
.tarif-section__cards {
    width: 100%;
    display: flex;
    gap: 30px;
    align-items: stretch; /* Растягиваем на равную высоту */
}

/* ОБЩИЕ СТИЛИ ДЛЯ КАРТОЧКИ */
.tarif-card {
    flex: 1;
    border-radius: 4px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: transform 0.3s ease;
}

/* Эффект наведения для обеих карточек */
.tarif-card:hover {
    transform: translateY(-6px); /* Легкое всплытие */
}

/* ТЕГИ В КАРТОЧКАХ */
.tarif-card__tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tarif-tag {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    color: inherit;
}

.tarif-tag--black {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 2px;
}

.tarif-card__title {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: -0.5px;
}

.tarif-card__subtitle {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: -10px;
}

.tarif-card__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 10px 0;
}

.tarif-card__list li {
    font-size: 0.85rem;
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

/* Галочка перед пунктами */
.tarif-card__list li::before {
    content: '✓';
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 1px;
}

/* БЛОК ЦЕНЫ */
.tarif-card__price-block {
    margin-top: auto; /* Толкает цену в самый низ карточки */
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.tarif-card__price {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    font-weight: 400;
}

.tarif-card__period {
    font-size: 0.7rem;
    opacity: 0.7;
}

/* КНОПКИ (ССЫЛКИ ВНИЗУ) */
.tarif-card__btn {
    display: block;
    width: 100%;
    padding: 16px;
    text-align: center;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid transparent;
    border-radius: 2px;
    transition: all 0.3s ease;
    margin-top: 10px;
    box-sizing: border-box;
}

/* ============================================================
   ТЕМНАЯ КАРТОЧКА (СТАНДАРТ)
   ============================================================ */
.tarif-card--dark {
    background-color: #262321;
    color: #e8e3db;
}

.tarif-card--dark .tarif-tag {
    color: #c69c6d; /* Золотые теги на темном фоне */
}

.tarif-card--dark .tarif-card__list li::before {
    color: #c69c6d; /* Золотые галочки */
}

.tarif-card--dark .tarif-card__btn {
    background-color: transparent;
    color: #e8e3db;
    border-color: rgba(255,255,255,0.2);
}
.tarif-card--dark .tarif-card__btn:hover {
    background-color: rgba(255,255,255,0.1);
    border-color: #e8e3db;
    transform: scale(1.02); /* Небольшое увеличение */
}

/* ============================================================
   ЗОЛОТАЯ КАРТОЧКА (МАКСИМУМ)
   ============================================================ */
.tarif-card--gold {
    background-color: #c69c6d;
    color: #1a1a1a;
}

.tarif-card--gold .tarif-tag {
    color: #4a3a28; /* Темно-бежевый текст для тегов на золотом фоне */
}

.tarif-card--gold .tarif-card__list li::before {
    color: #1a1a1a;
}

.tarif-card--gold .tarif-card__price-block {
    border-top-color: rgba(0,0,0,0.1);
}

.tarif-card--gold .tarif-card__btn {
    background-color: #1a1a1a;
    color: #ffffff;
}
.tarif-card--gold .tarif-card__btn:hover {
    background-color: #333333;
    transform: scale(1.02); /* Небольшое увеличение */
}

.tarif-section__form-placeholder {
    width: 100%;
    height: 100px;
    /* Здесь появится форма */
}

/* ============================================================
   СЕКЦИЯ 5: ОТЗЫВЫ
   ============================================================ */
.reviews-section {
    width: 100%;
    background-color: #f7f5f0; /* Светлый фон, как в прошлых секциях */
    padding: 100px 0;
}

.reviews-section__container {
    width: 65%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* ЗАГОЛОВОК */
.reviews-section__header {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.reviews-section__label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888;
}

.reviews-section__title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    line-height: 1.1;
    font-weight: 400;
    color: #1a1a1a;
    letter-spacing: -1px;
}

/* СЕТКА КАРТОЧЕК */
.reviews-section__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 колонки */
    gap: 24px;
}

/* КАРТОЧКА ОТЗЫВА */
.review-card {
    background-color: #f0ede7; /* Светло-бежевый фон внутри карточки */
    padding: 32px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Эффект наведения (опционально, для живости) */
.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}

.review-card__stars {
    color: #c69c6d; /* Золотистый цвет */
    font-size: 1.2rem;
    letter-spacing: 4px; /* Расстояние между звездами */
}

.review-card__text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #555;
}

.review-card__author {
    font-size: 0.85rem;
    font-weight: 500;
    color: #1a1a1a;
    margin-top: 4px;
}


/* ============================================================
   СЕКЦИЯ 6: КОНТАКТЫ
   ============================================================ */
.contacts-section {
    width: 100%;
    background-color: #f3f1eb;
    padding: 100px 0 120px 0;
}

.contacts-section__container {
    width: 65%;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

/* ============================================================
   ЛЕВАЯ КОЛОНКА
   ============================================================ */
.contacts-section__left {
    flex: 0 0 45%; /* Жестко задаем ширину колонки */
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contacts-section__label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888;
}

.contacts-section__title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    line-height: 1.1;
    font-weight: 400;
    color: #1a1a1a;
    letter-spacing: -1px;
}

.contacts-section__desc {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    max-width: 440px;
}

/* СОЦСЕТИ */
.contacts-section__socials {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 10px;
}

.social-item {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.social-item:hover {
    opacity: 0.7;
}

.social-item__icon {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    flex-shrink: 0;
}

.social-item__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.social-item__name {
    font-size: 0.8rem;
    color: #888;
}

.social-item__handle {
    font-size: 0.9rem;
    color: #1a1a1a;
}

/* ============================================================
   ПРАВАЯ КОЛОНКА (ФОРМА)
   ============================================================ */
.contacts-section__right {
    flex: 1; /* Занимает все оставшееся место */
}

.contacts-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contacts-form__group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contacts-form__label {
    font-size: 0.8rem;
    font-weight: 500;
    color: #1a1a1a;
}

.contacts-form__input {
    width: 100%;
    padding: 14px 16px;
    background-color: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 2px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #1a1a1a;
    outline: none;
    transition: border-color 0.3s ease;
}

.contacts-form__input::placeholder {
    color: #bbb;
}

.contacts-form__input:focus {
    border-color: #c69c6d;
}

.contacts-form__textarea {
    resize: vertical;
    min-height: 120px;
}

/* КНОПКА ФОРМЫ */
.contacts-form__btn {
    width: 100%;
    padding: 16px;
    background-color: #1a1a1a;
    color: #ffffff;
    border: none;
    border-radius: 2px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: 8px;
}

.contacts-form__btn:hover {
    background-color: #333;
    transform: translateY(-2px);
}

.contacts-form__btn svg {
    margin-top: -1px;
}

/* СОГЛАСИЕ */
.contacts-form__agreement {
    font-size: 0.7rem;
    color: #888;
    text-align: center;
    margin-top: 8px;
}

.contacts-form__agreement a {
    color: #1a1a1a;
    text-decoration: underline;
    transition: opacity 0.3s;
}

.contacts-form__agreement a:hover {
    opacity: 0.7;
}

/* ============================================================
   ФУТЕР (ПОДВАЛ САЙТА)
   ============================================================ */
.site-footer {
    width: 100%;
    background-color: #1c1a17; /* Тот же цвет, что и в блоке тарифов */
    padding: 30px 0;
}

.site-footer__container {
    width: 65%; /* Держим единую систему ширины */
    margin: 0 auto;
    display: flex;
    justify-content: space-between; /* Равномерно распределяем 3 колонки */
    align-items: center;
}

.site-footer__column {
    font-size: 0.8rem;
    color: #b0a89c; /* Светло-бежевый, почти как у текста на тёмном фоне */
    font-weight: 400;
}

/* Ссылка на Политику */
.site-footer__column a {
    color: #b0a89c;
    text-decoration: none;
    transition: color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.site-footer__column a:hover {
    color: #ffffff;
    border-bottom: 1px solid #ffffff;
}


