/* ════════════════════════════════════════════════════════
   СТИЛИ ЛЕНДИНГА «НЯНЯ ДЛЯ ВИКИ»
   Для смены цветовой схемы редактируйте CSS-переменные
   в блоке :root ниже.
   ════════════════════════════════════════════════════════ */

/* ── CSS-ПЕРЕМЕННЫЕ (цвета, шрифты, радиусы) ── */
:root {
    /* Фоновые цвета */
    --bg:           #FEF9F5;    /* тёплый кремовый */
    --surface:      #FFFFFF;

    /* Акцентные цвета */
    --primary:      #D4735A;    /* тёплый терракот */
    --primary-h:    #BF5E47;    /* hover */
    --primary-lt:   #F9E8E1;    /* светлый фон */

    --secondary:    #6BA897;    /* шалфей */
    --secondary-lt: #D4EDE7;

    --accent:       #B8A9D9;    /* лаванда */
    --accent-lt:    #EDE9F7;

    /* Текст */
    --text:         #2A1F1A;
    --text-2:       #7A6960;
    --text-lt:      #B5A8A2;

    /* Границы и тени */
    --border:       #EDE0D8;
    --shadow-s:     0 2px 10px rgba(42,31,26,.06);
    --shadow-m:     0 4px 24px rgba(42,31,26,.09);
    --shadow-l:     0 12px 48px rgba(42,31,26,.13);

    /* Шрифты */
    --ff-body:      'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --ff-display:   'Lora', Georgia, 'Times New Roman', serif;

    /* Скругления */
    --r-s:  8px;
    --r-m:  16px;
    --r-l:  24px;
    --r-xl: 32px;
    --r-f:  9999px;

    /* Шаг секций */
    --section-pad: 96px;
    --container:   1200px;
    --gutter:      24px;
}

/* ── СБРОС ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--ff-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* ── КОНТЕЙНЕР ── */
.container {
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

/* ════════════════════════════════════════════════
   КНОПКИ
   ════════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--r-f);
    font-family: var(--ff-body);
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    border: 2px solid transparent;
    transition: background .22s, border-color .22s, transform .22s, box-shadow .22s;
    white-space: nowrap;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.btn--primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.btn--primary:hover {
    background: var(--primary-h);
    border-color: var(--primary-h);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212,115,90,.36);
}

.btn--outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.btn--outline:hover {
    background: var(--primary-lt);
    transform: translateY(-2px);
}

.btn--white {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
}
.btn--white:hover {
    background: var(--primary-lt);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(255,255,255,.25);
}

.btn--lg   { padding: 18px 36px; font-size: 17px; }
.btn--full { width: 100%; }

/* ════════════════════════════════════════════════
   ОБЩИЕ ЭЛЕМЕНТЫ СЕКЦИЙ
   ════════════════════════════════════════════════ */
.section { padding-block: var(--section-pad); }

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    border-radius: var(--r-f);
    background: var(--primary-lt);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .7px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--ff-display);
    font-size: clamp(26px, 3.8vw, 42px);
    font-weight: 700;
    line-height: 1.22;
    color: var(--text);
    margin-bottom: 32px;
}

/* ── Скролл-анимации ── */
[data-animate] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .6s ease, transform .6s ease;
}
[data-animate].is-visible {
    opacity: 1;
    transform: none;
}

/* ════════════════════════════════════════════════
   ШАПКА
   ════════════════════════════════════════════════ */
.header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(254,249,245,.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow .3s;
}
.header.is-scrolled { box-shadow: var(--shadow-m); }

.header__inner {
    display: flex;
    align-items: center;
    height: 68px;
    gap: 8px;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 17px;
    color: var(--text);
    flex-shrink: 0;
    margin-right: auto;
}
.header__logo-flower { font-size: 20px; }

.header__nav {
    display: flex;
    align-items: center;
    gap: 28px;
}
.header__nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-2);
    transition: color .2s;
}
.header__nav-link:hover { color: var(--primary); }

.header__cta { margin-left: 20px; padding: 10px 22px; font-size: 15px; }

.header__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.header__burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform .3s, opacity .3s;
}
.header__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__burger.is-open span:nth-child(2) { opacity: 0; }
.header__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════ */
.hero {
    background: linear-gradient(135deg, #FEF9F5 0%, #FBF0E6 55%, #F5E6D3 100%);
    padding-top: 72px;
    position: relative;
    overflow: hidden;
}
/* Декоративный круг */
.hero::before {
    content: '';
    position: absolute;
    top: -180px;
    right: -180px;
    width: 560px;
    height: 560px;
    background: radial-gradient(circle, rgba(212,115,90,.09) 0%, transparent 70%);
    pointer-events: none;
}

.hero__inner {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 64px;
    align-items: center;
    padding-bottom: 56px;
}

/* Контент */
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 16px;
    border-radius: var(--r-f);
    background: var(--secondary-lt);
    color: var(--secondary);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}
.hero__badge svg { width: 14px; height: 14px; flex-shrink: 0; }

.hero__title {
    font-family: var(--ff-display);
    font-size: clamp(30px, 4.2vw, 52px);
    font-weight: 700;
    line-height: 1.18;
    color: var(--text);
    margin-bottom: 18px;
}

.hero__subtitle {
    font-size: 18px;
    color: var(--text-2);
    line-height: 1.6;
    margin-bottom: 32px;
}

.hero__payment {
    display: inline-flex;
    flex-direction: column;
    gap: 8px;
    padding: 22px 28px;
    border-radius: var(--r-l);
    background: var(--surface);
    border: 2px solid var(--primary-lt);
    box-shadow: var(--shadow-s);
    margin-bottom: 32px;
}
.hero__payment-main { display: flex; align-items: baseline; gap: 10px; }
.hero__payment-from { font-size: 13px; font-weight: 600; color: var(--text-lt); text-transform: uppercase; letter-spacing: .5px; }
.hero__payment-amount { font-size: 34px; font-weight: 800; color: var(--primary); line-height: 1; }
.hero__payment-note  { font-size: 13px; color: var(--text-2); }

.hero__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.hero__trust {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.hero__trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-2);
}
.hero__trust-icon {
    width: 18px;
    height: 18px;
    color: var(--secondary);
    flex-shrink: 0;
}

/* Фото-колонка */
.hero__photo-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.hero__photo-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--shadow-l);
}
/* Декоративный border-блок позади фото */
.hero__photo-deco {
    position: absolute;
    inset: 0;
    border-radius: var(--r-xl);
    border: 2px solid rgba(212,115,90,.18);
    pointer-events: none;
    z-index: 2;
}

.hero__photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* Заглушка — когда нет фото */
.hero__photo-placeholder {
    display: none;
    position: absolute;
    inset: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(145deg, var(--primary-lt), var(--secondary-lt));
    color: var(--text-2);
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    padding: 24px;
}
.hero__photo-placeholder svg { width: 100px; height: 125px; }
.hero__photo-placeholder small { font-size: 12px; color: var(--text-lt); font-family: monospace; }

/* Когда img не загружается — показываем заглушку */
.hero__photo-frame.no-photo .hero__photo-img { display: none; }
.hero__photo-frame.no-photo .hero__photo-placeholder { display: flex; }

.hero__photo-caption {
    font-size: 14px;
    color: var(--text-2);
    font-style: italic;
    text-align: center;
}

/* Волна внизу hero */
.hero__wave { height: 72px; }
.hero__wave svg { width: 100%; height: 100%; }

/* ════════════════════════════════════════════════
   О ВИКЕ
   ════════════════════════════════════════════════ */
.about__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about__lead {
    font-size: 19px;
    line-height: 1.65;
    color: var(--text);
    margin-bottom: 20px;
}
.about__text p {
    font-size: 16px;
    color: var(--text-2);
    margin-bottom: 16px;
}

.about__highlight {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 22px;
    border-radius: var(--r-m);
    background: var(--secondary-lt);
    margin-top: 8px;
}
.about__highlight-icon {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--secondary);
}
.about__highlight-icon svg { width: 22px; height: 22px; }
.about__highlight p { font-size: 15px; color: var(--text); margin: 0; line-height: 1.6; }

.about__traits-title {
    font-family: var(--ff-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 20px;
}

.trait-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.trait-card {
    padding: 22px 18px;
    border-radius: var(--r-m);
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-s);
    text-align: center;
    transition: transform .25s, box-shadow .25s;
}
.trait-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }
.trait-card__emoji { font-size: 32px; margin-bottom: 10px; }
.trait-card__text  { font-size: 14px; font-weight: 600; color: var(--text); }

/* ════════════════════════════════════════════════
   ПРЕИМУЩЕСТВА
   ════════════════════════════════════════════════ */
.benefits { background: linear-gradient(135deg, var(--secondary-lt) 0%, var(--accent-lt) 100%); }

.benefits__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.benefit-card {
    background: var(--surface);
    border-radius: var(--r-m);
    padding: 28px 22px;
    box-shadow: var(--shadow-s);
    transition: transform .28s, box-shadow .28s;
}
.benefit-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-m); }
.benefit-card__icon  { font-size: 38px; margin-bottom: 14px; }
.benefit-card__title { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.benefit-card__text  { font-size: 13px; color: var(--text-2); line-height: 1.5; }

/* ════════════════════════════════════════════════
   ТРЕБОВАНИЯ / КОГО МЫ ИЩЕМ
   ════════════════════════════════════════════════ */
.requirements__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.requirements__lead {
    font-size: 19px;
    color: var(--text-2);
    line-height: 1.55;
    margin-bottom: 28px;
}

.requirements__note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 20px;
    border-radius: var(--r-m);
    background: var(--primary-lt);
}
.requirements__note svg { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.requirements__note p   { font-size: 15px; color: var(--text); line-height: 1.55; }

.qualities-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.quality-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-radius: var(--r-m);
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-s);
    transition: transform .2s;
}
.quality-item:hover { transform: translateX(4px); }
.quality-item__icon { font-size: 20px; flex-shrink: 0; }
.quality-item strong { display: block; font-size: 14px; font-weight: 600; color: var(--text); }
.quality-item span   { font-size: 12px; color: var(--text-2); }

/* ════════════════════════════════════════════════
   УСЛОВИЯ РАБОТЫ
   ════════════════════════════════════════════════ */
.conditions { background: var(--bg); }

.conditions__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 40px;
}

.condition-card {
    padding: 22px 20px;
    border-radius: var(--r-m);
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-s);
    text-align: center;
    transition: transform .2s, box-shadow .2s;
}
.condition-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); }
.condition-card__icon  { font-size: 32px; margin-bottom: 12px; }
.condition-card__label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .7px; color: var(--text-lt); margin-bottom: 6px; }
.condition-card__value { font-size: 16px; font-weight: 700; color: var(--text); }

/* Блок оплаты */
.payment-block {
    border-radius: var(--r-xl);
    padding: 48px 52px;
    background: linear-gradient(135deg, var(--primary) 0%, #BF5E47 100%);
    color: #fff;
    box-shadow: 0 16px 56px rgba(212,115,90,.32);
}
.payment-block__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 48px;
    align-items: center;
}
.payment-block__label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
    opacity: .75;
    margin-bottom: 12px;
}
.payment-block__amount {
    font-size: 60px;
    font-weight: 800;
    line-height: 1;
}
.payment-block__amount span { font-size: 24px; font-weight: 400; opacity: .8; }
.payment-block__divider {
    width: 1px;
    height: 80px;
    background: rgba(255,255,255,.3);
}
.payment-block__right p {
    font-size: 16px;
    line-height: 1.6;
    opacity: .9;
    margin-bottom: 24px;
}

/* ════════════════════════════════════════════════
   ДОВЕРИЕ + СЕМЕЙНЫЕ ФОТО
   ════════════════════════════════════════════════ */
.trust { background: var(--surface); }

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

.trust__text {
    font-size: 16px;
    color: var(--text-2);
    line-height: 1.7;
    margin-bottom: 16px;
}

.trust__points { display: flex; flex-direction: column; gap: 14px; margin-top: 32px; }
.trust__point {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
}
.trust__point-icon { font-size: 22px; flex-shrink: 0; }

/* Семейные фото */
.family-photos__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.family-photo {
    border-radius: var(--r-l);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: var(--shadow-m);
    position: relative;
}
.family-photo--large {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 9;
}
.family-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.family-photo:hover img { transform: scale(1.04); }

/* Заглушка семейного фото */
.photo-stub {
    display: none;
    position: absolute;
    inset: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(145deg, var(--primary-lt), var(--secondary-lt));
    color: var(--text-2);
    font-size: 13px;
    font-weight: 500;
    text-align: center;
}
.photo-stub svg { width: 64px; height: 64px; }
.family-photo.no-photo img { display: none; }
.family-photo.no-photo .photo-stub { display: flex; }

/* ════════════════════════════════════════════════
   ФОРМА ЗАЯВКИ
   ════════════════════════════════════════════════ */
.form-section {
    background: linear-gradient(160deg, var(--bg) 0%, var(--primary-lt) 100%);
}
.form-section__sub {
    font-size: 17px;
    color: var(--text-2);
    margin-bottom: 40px;
    margin-top: -12px;
}

.form-wrapper {
    max-width: 740px;
    margin-inline: auto;
    background: var(--surface);
    border-radius: var(--r-xl);
    padding: 52px 48px;
    box-shadow: var(--shadow-l);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 22px;
}

.form-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: .1px;
}
.req { color: var(--primary); }

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 13px 16px;
    border: 2px solid var(--border);
    border-radius: var(--r-m);
    font-family: var(--ff-body);
    font-size: 15px;
    color: var(--text);
    background: var(--bg);
    outline: none;
    transition: border-color .2s, box-shadow .2s, background .2s;
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-lt); }

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(212,115,90,.13);
    background: #fff;
}

.form-input.is-err,
.form-select.is-err { border-color: #D85C5C; box-shadow: 0 0 0 4px rgba(216,92,92,.1); }

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

.form-select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A6960' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px;
    padding-right: 44px;
}

.form-err {
    font-size: 12px;
    color: #D85C5C;
    display: none;
    margin-top: 2px;
}
.form-err.is-shown { display: block; }

/* Чекбокс */
.form-consent-group { margin-bottom: 28px; }
.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}
.form-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.form-checkbox__box {
    width: 22px;
    height: 22px;
    min-width: 22px;
    border: 2px solid var(--border);
    border-radius: var(--r-s);
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, border-color .2s;
    margin-top: 1px;
}
.form-checkbox input:checked ~ .form-checkbox__box {
    background: var(--primary);
    border-color: var(--primary);
}
.form-checkbox input:checked ~ .form-checkbox__box::after {
    content: '';
    display: block;
    width: 5px;
    height: 9px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg) translate(-1px, -1px);
}
.form-checkbox__label { font-size: 14px; color: var(--text-2); line-height: 1.5; }

/* Состояния кнопки */
.btn-loading { display: none; }

/* Успешная отправка */
.form-success {
    text-align: center;
    padding: 64px 32px;
}
.form-success__icon  { font-size: 56px; margin-bottom: 20px; }
.form-success__title {
    font-family: var(--ff-display);
    font-size: 32px;
    color: var(--text);
    margin-bottom: 14px;
}
.form-success__text  { font-size: 18px; color: var(--text-2); margin-bottom: 8px; }
.form-success__hint  { font-size: 14px; color: var(--text-lt); }

/* ════════════════════════════════════════════════
   FAQ
   ════════════════════════════════════════════════ */
.faq { background: var(--surface); }

.faq__list {
    max-width: 760px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--r-m);
    overflow: hidden;
    box-shadow: var(--shadow-s);
    transition: box-shadow .2s;
}
.faq-item:hover { box-shadow: var(--shadow-m); }

.faq-item__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 20px 22px;
    background: var(--surface);
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    transition: background .2s, color .2s;
}
.faq-item__q:hover { background: var(--bg); }
.faq-item__q[aria-expanded="true"] {
    background: var(--primary-lt);
    color: var(--primary);
}

.faq-item__arrow {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform .3s ease;
    color: var(--text-lt);
}
.faq-item__q[aria-expanded="true"] .faq-item__arrow {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-item__ans {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease;
}
.faq-item__ans.is-open { max-height: 400px; }
.faq-item__ans p {
    padding: 4px 22px 22px;
    font-size: 15px;
    color: var(--text-2);
    line-height: 1.7;
}

/* ════════════════════════════════════════════════
   ФИНАЛЬНЫЙ CTA
   ════════════════════════════════════════════════ */
.final-cta {
    padding-block: var(--section-pad);
    background: linear-gradient(135deg, #2A1F1A 0%, #3D2E27 100%);
    color: #fff;
    text-align: center;
}
.final-cta__inner { max-width: 660px; margin-inline: auto; }
.final-cta__emoji  { font-size: 54px; margin-bottom: 24px; }
.final-cta__title {
    font-family: var(--ff-display);
    font-size: clamp(26px, 3.8vw, 44px);
    font-weight: 700;
    line-height: 1.22;
    margin-bottom: 24px;
    color: #fff;
}
.final-cta__text {
    font-size: 18px;
    color: rgba(255,255,255,.75);
    line-height: 1.7;
    margin-bottom: 12px;
}
.final-cta .btn { margin-top: 28px; }

/* ════════════════════════════════════════════════
   ПОДВАЛ
   ════════════════════════════════════════════════ */
.footer {
    background: #1C1410;
    padding-block: 30px;
    color: rgba(255,255,255,.55);
}
.footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.footer__logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    color: rgba(255,255,255,.9);
}
.footer__contacts { display: flex; gap: 24px; }
.footer__link {
    font-size: 15px;
    color: rgba(255,255,255,.7);
    transition: color .2s;
}
.footer__link:hover { color: #fff; }
.footer__copy { font-size: 13px; }

/* ════════════════════════════════════════════════
   КНОПКА "НАВЕРХ"
   ════════════════════════════════════════════════ */
.scroll-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 100;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(212,115,90,.45);
    transition: transform .2s, opacity .3s;
    opacity: 0;
}
.scroll-top:not([hidden]) { opacity: 1; }
.scroll-top:hover { transform: translateY(-3px); }
.scroll-top svg { width: 22px; height: 22px; }

/* ════════════════════════════════════════════════
   АДАПТИВ — планшет (≤ 1024px)
   ════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .benefits__grid { grid-template-columns: repeat(2, 1fr); }
    .hero__inner    { grid-template-columns: 1fr 340px; gap: 40px; }
}

/* ════════════════════════════════════════════════
   АДАПТИВ — мобильный (≤ 768px)
   ════════════════════════════════════════════════ */
@media (max-width: 768px) {
    :root {
        --section-pad: 60px;
        --gutter:      18px;
    }

    /* Шапка */
    .header__nav {
        position: fixed;
        top: 68px;
        left: 0;
        right: 0;
        background: var(--surface);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 0 16px;
        box-shadow: var(--shadow-l);
        border-top: 1px solid var(--border);
        transform: translateY(-8px);
        opacity: 0;
        pointer-events: none;
        transition: transform .3s, opacity .3s;
    }
    .header__nav.is-open {
        transform: none;
        opacity: 1;
        pointer-events: auto;
    }
    .header__nav-link {
        padding: 14px 24px;
        border-bottom: 1px solid var(--border);
        font-size: 17px;
    }
    .header__cta   { display: none; }
    .header__burger { display: flex; }

    /* Hero */
    .hero__inner {
        grid-template-columns: 1fr;
        gap: 36px;
        padding-bottom: 36px;
    }
    .hero__photo-col {
        order: -1;
    }
    .hero__photo-frame {
        max-width: 260px;
        margin-inline: auto;
    }
    .hero__actions {
        flex-direction: column;
    }
    .hero__actions .btn { width: 100%; }
    .hero__payment-amount { font-size: 28px; }

    /* Контент секций */
    .about__inner,
    .requirements__inner,
    .trust__inner { grid-template-columns: 1fr; gap: 40px; }

    .benefits__grid    { grid-template-columns: repeat(2, 1fr); }
    .conditions__grid  { grid-template-columns: repeat(2, 1fr); }

    /* Блок оплаты */
    .payment-block { padding: 32px 28px; }
    .payment-block__inner {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }
    .payment-block__divider {
        width: 60px;
        height: 1px;
        margin-inline: auto;
    }
    .payment-block__amount { font-size: 48px; }

    /* Форма */
    .form-wrapper { padding: 32px 24px; }
    .form-row     { grid-template-columns: 1fr; gap: 0; }

    /* Фото */
    .family-photos__grid { grid-template-columns: 1fr; }
    .family-photo--large { grid-column: auto; }

    /* Подвал */
    .footer__inner { flex-direction: column; text-align: center; gap: 14px; }

    /* Кнопка наверх */
    .scroll-top { bottom: 18px; right: 18px; width: 42px; height: 42px; }
}

/* ════════════════════════════════════════════════
   АДАПТИВ — маленький мобильный (≤ 480px)
   ════════════════════════════════════════════════ */
@media (max-width: 480px) {
    :root { --section-pad: 48px; }

    .benefits__grid   { grid-template-columns: 1fr; }
    .conditions__grid { grid-template-columns: 1fr; }
    .trait-grid       { grid-template-columns: 1fr 1fr; }

    .hero__payment-amount { font-size: 26px; }
    .section-title    { font-size: 24px; }

    .payment-block__amount { font-size: 40px; }
    .form-wrapper { padding: 28px 18px; }
}

/* ════════════════════════════════════════════════
   ТЁМНАЯ СХЕМА — базовая адаптация
   ════════════════════════════════════════════════ */
@media (prefers-color-scheme: dark) {
    /* Раскомментируйте блок если нужна тёмная тема */
    /*
    :root {
        --bg:      #1C1410;
        --surface: #261C18;
        --text:    #F5EDE8;
        --text-2:  #A89890;
        --border:  #3A2C26;
    }
    */
}

/* ════════════════════════════════════════════════
   УТИЛИТЫ
   ════════════════════════════════════════════════ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}
