/* ==========================================================================
   onlayn-zayavka-na-kredit.su — тёмная тема с золотом

   Файл самостоятельный: стили соседнего сайта он не наследует, поэтому
   правки здесь на zayavka-na-kredit.su не влияют.

   1. Токены
   2. База
   3. Раскладка
   4. Компоненты
   5. Адаптив
   ========================================================================== */

/* 1. Токены ================================================================ */

:root {
    --ink: #131316;
    --ink-soft: #1B1B1F;
    --text: #EDEAE3;
    --text-60: rgba(237, 234, 227, .6);
    --text-45: rgba(237, 234, 227, .45);
    --text-32: rgba(237, 234, 227, .32);
    --line: rgba(255, 255, 255, .09);
    --line-strong: rgba(255, 255, 255, .2);

    --gold: #DFBB6A;
    --gold-light: #F0D48A;
    --gold-ink: #1A1509;
    --gold-grad: linear-gradient(140deg, #F0D48A, #C79539);
    --gold-glow: 0 16px 34px -18px rgba(199, 149, 57, .85);

    /* Градиенты плашек. Имена классов общие с ядром (card-color-*),
       но выглядят они здесь по-своему — это и есть отдельный дизайн. */
    --grad-gold: linear-gradient(140deg, #E7C170, #9C6F22);
    --grad-gold-deep: linear-gradient(140deg, #C79539, #7C551A);
    --grad-silver: linear-gradient(140deg, #A6AEBC, #6F7784);
    --grad-graphite: linear-gradient(140deg, #4A4C55, #26272C);
    --grad-bronze: linear-gradient(140deg, #B08A62, #6E4E2E);
    --grad-dark: linear-gradient(140deg, #2E2F35, #131316);

    --max-width: 1280px;
    --radius: 10px;
    --radius-lg: 20px;
    --display: 'Space Grotesk', 'Manrope', sans-serif;
    --transition: .18s ease;
}

/* 2. База ================================================================== */

*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    position: relative;
    font-family: Manrope, -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text);
    background: var(--ink);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-family: var(--display);
    font-weight: 700;
    letter-spacing: -.03em;
    margin: 0;
    line-height: 1.1;
}

h1 { font-size: 52px; letter-spacing: -.035em; }
h2 { font-size: 36px; }
h3 { font-size: 20px; letter-spacing: -.01em; }

p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
img, svg { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }

a { color: var(--text); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }

.muted { color: var(--text-45); }

.visually-hidden {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

::placeholder { color: rgba(237, 234, 227, .32); }

/* Золотое свечение сверху справа — одним слоем под всей шапкой и первым
   экраном, поэтому на стыке блоков не видно границы */
body::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    min-width: 100%;
    height: 820px;
    background: radial-gradient(120% 90% at 78% 18%, rgba(184, 134, 47, .30) 0%, rgba(19, 19, 22, 0) 62%);
    pointer-events: none;
    z-index: 0;
}

body > * { position: relative; z-index: 1; }

/* 3. Раскладка ============================================================= */

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 28px;
}

/* Внутренние страницы: контейнер задаёт и ширину, и вертикальный ритм.
   Отступ между блоками нельзя вешать на секции — часть блоков (карточка
   расчёта, баннер) приходит без них и слипалась бы с соседями. */
.page {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 28px 90px;
    display: flex;
    flex-direction: column;
    gap: 64px;
}

/* Секции сами держат ширину: на главной блоки вставляются без обёртки */
.section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 82px 28px 0;
}

/* Внутри .page секции не задают ни ширину, ни отступы: и то и другое
   уже сделал контейнер, иначе они бы удвоились */
.page .section,
.page .container {
    max-width: none;
    margin: 0;
    padding: 0;
}

.page .cta { margin: 0; }
/* В первом экране карточка прижата к верху колонки, а на внутренней странице
   она обычный блок и должна занимать всю ширину контейнера */
.page .calc-card { align-self: stretch; }
.page .breadcrumbs { padding-top: 0; }
.page > .page-hero:first-child { padding-top: 0; }

.section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.section__note { font-size: 13px; color: var(--text-45); }

/* Заголовок секции сам по себе отступа не даёт, и содержимое прилипало
   к нему вплотную. В .section__head отступ уже у самой обёртки. */
.section h2 { margin-bottom: 28px; }
.section__head h2 { margin-bottom: 0; }

.grid { display: grid; gap: 24px; }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* 4. Компоненты ============================================================ */

/* --- Кнопки --- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    transition: filter var(--transition), border-color var(--transition),
                background var(--transition), color var(--transition);
}

.btn--primary,
.btn--white {
    background: var(--gold-grad);
    color: var(--gold-ink);
    box-shadow: var(--gold-glow);
}

.btn--primary:hover,
.btn--white:hover { filter: brightness(1.06); color: var(--gold-ink); }

.btn--ghost {
    background: none;
    border-color: var(--line-strong);
    color: var(--text);
}

.btn--ghost:hover { border-color: rgba(237, 234, 227, .45); color: #fff; }

.btn--sm { padding: 13px 22px; font-size: 14px; }
.btn--block { width: 100%; }

/* Контурная золотая — «Оформить» в списке предложений */
.btn--gold-outline {
    background: none;
    border-color: rgba(223, 187, 106, .5);
    color: var(--gold);
}

.btn--gold-outline:hover {
    background: var(--gold-grad);
    border-color: transparent;
    color: var(--gold-ink);
}

/* --- Плашки цветов --- */

.card-color-gold         { background: var(--grad-gold); }
.card-color-indigo       { background: var(--grad-gold-deep); }
.card-color-silver       { background: var(--grad-silver); }
.card-color-silver-light { background: var(--grad-silver); }
.card-color-graphite     { background: var(--grad-graphite); }
.card-color-violet       { background: var(--grad-bronze); }
.card-color-dark         { background: var(--grad-dark); }
.card-color-white        { background: var(--grad-graphite); }

/* --- Шапка --- */

.site-header {
    position: relative;
    z-index: 5;
}

.site-header__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 26px 28px 0;
    display: flex;
    align-items: center;
    gap: 36px;
}

.logo { display: flex; align-items: center; gap: 12px; }

.logo__mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(140deg, #F0D48A, #A8762A);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.logo__mark::after {
    content: '';
    width: 12px;
    height: 12px;
    background: var(--ink);
    border-radius: 2px;
    transform: rotate(45deg);
}

/* Иконку из общего блока прячем: у этой витрины знак рисуется стилями */
.logo__mark svg { display: none; }

.logo__text {
    font-family: var(--display);
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -.02em;
}

.logo__text span { color: var(--gold); }

.nav {
    display: flex;
    gap: 26px;
    font-size: 14px;
    font-weight: 500;
    margin: 0 auto;
}

.nav a { color: rgba(237, 234, 227, .72); }
.nav a:hover, .nav a.is-active { color: #fff; }

.header-contact { text-align: right; line-height: 1.15; }
.header-contact__phone { font-family: var(--display); font-size: 15px; font-weight: 600; }
.header-contact__note { font-size: 11px; color: rgba(237, 234, 227, .38); }

.header-cta {
    font-size: 14px;
    font-weight: 600;
    padding: 11px 22px;
    border: 1px solid rgba(223, 187, 106, .55);
    border-radius: 8px;
    color: var(--gold);
    transition: background var(--transition), color var(--transition);
}

.header-cta:hover { background: rgba(223, 187, 106, .12); color: var(--gold-light); }

.burger {
    display: none;
    width: 40px; height: 40px;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    background: none;
    align-items: center;
    justify-content: center;
}

.burger span { display: block; width: 16px; height: 1.5px; background: var(--text); position: relative; }
.burger span::before, .burger span::after {
    content: ''; position: absolute; left: 0; width: 16px; height: 1.5px; background: var(--text);
}
.burger span::before { top: -5px; }
.burger span::after { top: 5px; }

/* --- Первый экран --- */

.hero {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 78px 28px 88px;
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    gap: 60px;
    align-items: center;
}

/* Элемент сетки по умолчанию не уже своего содержимого: строка вкладок
   в карточке расчёта распирала колонку и уводила всю страницу за экран */
.hero > * { min-width: 0; }

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 26px;
}

.hero__badge::before {
    content: '';
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--gold);
}

/* Сумма не должна разрываться переносом — она и есть обещание страницы */
.hero__title { margin-bottom: 22px; text-wrap: pretty; }
.hero__title .nowrap { white-space: nowrap; }

.hero__lead {
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-60);
    max-width: 470px;
    margin-bottom: 38px;
}

.hero__actions { display: flex; align-items: center; gap: 14px; margin-bottom: 58px; flex-wrap: wrap; }

.hero__points { display: grid; grid-template-columns: repeat(3, max-content); gap: 54px; }

.point__num {
    font-family: var(--display);
    font-size: 13px;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 10px;
}

.point__title { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.point__text { font-size: 13px; line-height: 1.5; color: var(--text-45); max-width: 180px; }

/* --- Карточка расчёта --- */

.calc-card {
    align-self: start;
    min-width: 0;
    padding: 32px 34px 30px;
    border-radius: var(--radius-lg);
    background: linear-gradient(150deg, rgba(255, 255, 255, .07) 0%, rgba(255, 255, 255, .025) 100%);
    border: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 40px 80px -44px rgba(0, 0, 0, .95);
}

.calc-card__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 22px;
}

.calc-card__title { font-family: var(--display); font-size: 21px; font-weight: 700; letter-spacing: -.02em; }
.calc-card__step { font-size: 12px; color: rgba(237, 234, 227, .4); }

.tabs {
    display: flex;
    gap: 18px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--line);
    /* Вкладки прокручиваются внутри карточки, а не раздвигают её */
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.tabs::-webkit-scrollbar { display: none; }

.tab {
    font-size: 13px;
    font-weight: 500;
    color: rgba(237, 234, 227, .5);
    background: none;
    border: 0;
    border-bottom: 1px solid transparent;
    padding: 0 0 10px;
    margin-bottom: -1px;
    white-space: nowrap;
    transition: color var(--transition), border-color var(--transition);
}

.tab:hover { color: var(--text); }
.tab.is-active { color: var(--gold); font-weight: 700; border-bottom-color: var(--gold); }

.field { margin-bottom: 24px; }

.field__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 10px;
}

.field__label { font-size: 13px; color: rgba(237, 234, 227, .5); }
.field__value { font-family: var(--display); font-size: 26px; font-weight: 700; letter-spacing: -.02em; }

.field__limits {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-32);
    margin-top: 6px;
}

.range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 20px;
    display: block;
    background: transparent;
}

.range::-webkit-slider-runnable-track {
    height: 3px;
    background: rgba(255, 255, 255, .14);
    border-radius: 3px;
}

.range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px; height: 20px;
    margin-top: -8.5px;
    border-radius: 50%;
    background: var(--gold-grad);
    border: 3px solid var(--ink-soft);
    box-shadow: 0 3px 12px rgba(184, 134, 47, .6);
    cursor: pointer;
}

.range::-moz-range-track { height: 3px; background: rgba(255, 255, 255, .14); border-radius: 3px; }

.range::-moz-range-thumb {
    width: 20px; height: 20px; border-radius: 50%;
    background: #E7C170; border: 3px solid var(--ink-soft);
    box-shadow: 0 3px 12px rgba(184, 134, 47, .6); cursor: pointer;
}

.segmented { display: flex; gap: 8px; }

.segmented__item {
    flex: 1;
    padding: 12px 0;
    font-size: 13px;
    font-weight: 600;
    color: rgba(237, 234, 227, .75);
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: var(--radius);
    transition: border-color var(--transition), color var(--transition);
}

.segmented__item:hover { border-color: rgba(223, 187, 106, .5); color: #fff; }

.segmented__item.is-active {
    color: var(--gold-ink);
    background: var(--gold-grad);
    border-color: transparent;
    font-weight: 700;
}

.inputs, .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-grid--full, .form-field--wide { grid-column: 1 / -1; }

.form-field { display: flex; flex-direction: column; }
.form-field__label { font-size: 13px; color: rgba(237, 234, 227, .5); margin-bottom: 8px; }

.input, .textarea, select.input {
    width: 100%;
    padding: 13px 14px;
    font-family: Manrope, sans-serif;
    font-size: 15px;
    color: var(--text);
    background: rgba(0, 0, 0, .3);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--radius);
    outline: none;
    transition: border-color var(--transition);
}

.input:focus, .textarea:focus, select.input:focus { border-color: rgba(223, 187, 106, .6); }

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

.input.is-error, .textarea.is-error { border-color: #C4574B; }
.field-error { margin-top: 6px; font-size: 12px; color: #E0857A; }

.alert {
    padding: 14px 16px;
    border-radius: var(--radius);
    background: rgba(196, 87, 75, .15);
    border: 1px solid rgba(196, 87, 75, .4);
    font-size: 13px;
}

.calc-card__result {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 15px 18px;
    border-radius: 12px;
    background: rgba(0, 0, 0, .28);
    border: 1px solid rgba(223, 187, 106, .22);
    margin: 22px 0 18px;
}

.calc-card__result-label { font-size: 13px; color: rgba(237, 234, 227, .5); }

.calc-card__result-value {
    font-family: var(--display);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -.03em;
    color: var(--gold);
}

.calc-card__note { font-size: 11px; line-height: 1.55; color: var(--text-32); margin-top: 12px; }

/* --- Категории --- */

.cats {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.cat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 22px 18px;
    border-left: 1px solid var(--line);
    color: rgba(237, 234, 227, .78);
    transition: background var(--transition), color var(--transition);
}

.cat:last-child { border-right: 1px solid var(--line); }
.cat:hover { background: rgba(255, 255, 255, .03); color: #fff; }

.cat__icon { width: 34px; height: 34px; flex: none; border-radius: 9px; }
.cat__label { font-size: 13px; font-weight: 600; line-height: 1.3; }

/* --- Предложения партнёров --- */

.offer {
    display: grid;
    grid-template-columns: 250px 1fr 1fr 1fr 170px;
    gap: 24px;
    align-items: center;
    padding: 26px 4px;
    border-bottom: 1px solid var(--line);
    transition: background var(--transition);
}

.offer:hover { background: rgba(255, 255, 255, .025); }

.offer__brand { display: flex; align-items: center; gap: 14px; min-width: 0; }

.offer__logo {
    width: 44px; height: 44px;
    flex: none;
    border-radius: 11px;
    display: grid;
    place-items: center;
    font-family: var(--display);
    font-weight: 700;
    color: rgba(0, 0, 0, .55);
}

.offer__logo-img { width: 44px; height: 44px; object-fit: contain; flex: none; }

.offer__name { font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.offer__note { font-size: 12px; color: rgba(237, 234, 227, .42); margin-top: 5px; }

.offer__label { font-size: 12px; color: rgba(237, 234, 227, .42); margin-bottom: 7px; }

.offer__value {
    font-family: var(--display);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -.02em;
    /* Длинные суммы («100 000 — 40 000 000 ₽») иначе распирают колонку
       и вылезают за экран телефона */
    overflow-wrap: anywhere;
}

.offer__value--gold { color: var(--gold); }

.offer__action { display: flex; flex-direction: column; gap: 8px; }
.offer__approval { font-size: 11px; color: var(--text-32); text-align: center; }
.offer__erid { font-size: 11px; color: var(--text-32); margin-top: 6px; word-break: break-all; }
.offer__features { font-size: 13px; color: var(--text-60); }
.offer__features-title { font-weight: 700; color: var(--text); margin-bottom: 4px; }

/* --- Уровни --- */

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

.level {
    border-radius: 16px;
    padding: 24px 22px 22px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .3);
    box-shadow: 0 22px 44px -28px rgba(0, 0, 0, .9);
    color: #fff;
}

.level.card-color-graphite { color: var(--text); }
.level.card-color-dark { color: var(--gold); }

.level__title { font-family: var(--display); font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.level__condition { font-size: 12px; opacity: .75; margin-top: 8px; line-height: 1.45; }

.level__value { font-family: var(--display); font-size: 26px; font-weight: 700; letter-spacing: -.03em; }
.level__value--sm { font-size: 19px; }
.level__note { font-size: 12px; opacity: .75; margin-top: 8px; line-height: 1.45; }

/* --- Шаги --- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; }

.step__num {
    font-family: var(--display);
    font-size: 13px;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 18px;
}

.step__title { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.step__text { font-size: 15px; line-height: 1.65; color: rgba(237, 234, 227, .5); }

/* --- Отзывы и вопросы --- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }

.reviews { display: flex; flex-direction: column; gap: 30px; }

.review { padding-left: 22px; border-left: 1px solid rgba(255, 255, 255, .12); }
.review:first-child { border-left-color: rgba(223, 187, 106, .6); }

.review__text { font-size: 17px; line-height: 1.6; color: rgba(237, 234, 227, .9); margin-bottom: 12px; }
.review__author { font-size: 13px; color: rgba(237, 234, 227, .42); }

.stats {
    display: flex;
    gap: 48px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--line);
    flex-wrap: wrap;
}

.stat__value { font-family: var(--display); font-size: 30px; font-weight: 700; letter-spacing: -.03em; }
.stat__label { font-size: 13px; color: rgba(237, 234, 227, .42); margin-top: 6px; }

.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }

.faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 0;
    background: none;
    border: 0;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}

.faq__sign { font-size: 20px; font-weight: 400; color: var(--gold); flex: none; }
.faq__sign::after { content: '+'; }
.faq__item.is-open .faq__sign::after { content: '−'; }

.faq__answer { display: none; font-size: 14px; line-height: 1.7; color: rgba(237, 234, 227, .5); padding-bottom: 22px; }
.faq__item.is-open .faq__answer { display: block; }

/* --- Баннер --- */

.cta {
    border-radius: var(--radius-lg);
    padding: 52px 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    flex-wrap: wrap;
    background: linear-gradient(135deg, rgba(240, 212, 138, .16) 0%, rgba(199, 149, 57, .1) 45%, rgba(255, 255, 255, .03) 100%);
    border: 1px solid rgba(223, 187, 106, .28);
    margin: 82px 0 90px;
}

.cta__title { font-family: var(--display); font-size: 34px; font-weight: 700; letter-spacing: -.03em; margin-bottom: 12px; }
.cta__text { font-size: 15px; color: rgba(237, 234, 227, .55); }

/* --- Внутренние страницы --- */

.page-hero { padding: 60px 0 40px; }
.page-hero__title { font-size: 44px; max-width: 20ch; }
.page-hero__lead { font-size: 16px; line-height: 1.65; color: var(--text-60); max-width: 56ch; margin-top: 18px; }

.breadcrumbs { display: flex; gap: 8px; font-size: 12px; color: var(--text-45); padding-top: 26px; flex-wrap: wrap; }
.breadcrumbs span::after { content: '/'; margin-left: 8px; color: rgba(255, 255, 255, .2); }
.breadcrumbs > :last-child::after { content: none; }

.card {
    border-radius: 16px;
    padding: 24px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--line);
}

.facts { display: flex; gap: 48px; flex-wrap: wrap; margin-top: 28px; }
.fact__value { font-family: var(--display); font-size: 26px; font-weight: 700; letter-spacing: -.03em; }
.fact__label { font-size: 13px; color: var(--text-45); margin-top: 6px; }

.feature__title { font-size: 16px; font-weight: 700; }
.feature__text { font-size: 14px; line-height: 1.6; color: var(--text-45); margin-top: 8px; }

.checklist { display: flex; flex-direction: column; gap: 12px; }
.checklist li { display: flex; gap: 10px; font-size: 14px; }
.checklist li::before { content: '—'; color: var(--gold); flex: none; }

.status { text-align: center; padding: 90px 0; }
.status__code { font-family: var(--display); font-size: 64px; font-weight: 700; color: var(--gold); }
.status__text { color: var(--text-45); max-width: 46ch; margin: 16px auto 24px; }

.form-note { font-size: 12px; color: var(--text-32); margin-top: 14px; }
.side-stack { display: flex; flex-direction: column; gap: 16px; }
.chip {
    display: inline-flex;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(223, 187, 106, .14);
    color: var(--gold);
    font-size: 12px;
    font-weight: 600;
}

/* --- Подвал --- */

.site-footer { border-top: 1px solid var(--line); padding: 52px 28px 40px; margin-top: 40px; }

.footer-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 44px;
    padding-bottom: 38px;
}

.footer__about { font-size: 13px; line-height: 1.7; color: rgba(237, 234, 227, .42); margin-top: 16px; }
.footer__title { font-weight: 700; margin-bottom: 14px; }
.footer__list { display: flex; flex-direction: column; gap: 11px; font-size: 13px; }
.footer__list a, .footer__list li { color: rgba(237, 234, 227, .5); }
.footer__list a:hover { color: #fff; }

.footer__bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 44px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
    font-size: 12px;
    line-height: 1.7;
    color: var(--text-32);
}

.footer__bottom p { max-width: 820px; }

/* 5. Адаптив =============================================================== */

@media (max-width: 1100px) {
    .hero { grid-template-columns: 1fr; gap: 40px; padding: 48px 28px 60px; }
    .cats { grid-template-columns: repeat(3, 1fr); }
    .cat:nth-child(3n) { border-right: 1px solid var(--line); }
    .levels { grid-template-columns: repeat(3, 1fr); }
    .offer { grid-template-columns: 1fr 1fr 1fr; row-gap: 18px; }
    .offer__brand, .offer__action { grid-column: 1 / -1; }
    .split, .steps { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
    h1, .hero__title { font-size: 32px; }
    h2 { font-size: 26px; }
    .page-hero__title { font-size: 30px; }

    .nav { display: none; }
    .burger { display: flex; }
    .nav.is-open {
        display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
        position: absolute; left: 20px; right: 20px; top: 76px; padding: 18px 20px;
        background: var(--ink-soft); border: 1px solid var(--line); border-radius: 12px;
    }
    .site-header__inner { position: relative; gap: 16px; }
    .header-contact { display: none; }

    /* На телефоне пункт читается строкой: номер, заголовок и пояснение
       подряд, а не тремя этажами */
    .hero__points { grid-template-columns: 1fr; gap: 14px; }

    .hero__points .point {
        display: flex;
        align-items: baseline;
        flex-wrap: wrap;
        gap: 4px 10px;
    }

    .point__num,
    .point__title { margin-bottom: 0; }
    .point__text { max-width: none; }
    .cats { grid-template-columns: repeat(2, 1fr); }
    .cat:nth-child(2n) { border-right: 1px solid var(--line); }
    .levels { grid-template-columns: repeat(2, 1fr); }
    .offer { grid-template-columns: 1fr 1fr; }
    .offer__value { font-size: 18px; }
    /* На телефоне кнопки первого экрана уже: с боковыми 32 они не вставали
       в строку вдвоём */
    .hero__actions .btn { padding: 16px; }
    .calc-card { padding: 24px 20px; }
    .site-header__inner { gap: 12px; padding: 18px 16px 0; }
    .page, .section, .container { padding-left: 16px; padding-right: 16px; }
    .page { padding-bottom: 60px; }
    .hero { padding: 32px 16px 48px; }
    .stats { gap: 24px 32px; }
    .cta { padding: 32px 26px; }
    .inputs, .form-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer__bottom { flex-direction: column; gap: 16px; }
}

/* Совсем узкие экраны: предложения в одну колонку, иначе значения
   не помещаются даже с переносом */
@media (max-width: 520px) {
    .offer { grid-template-columns: 1fr; row-gap: 14px; }
    .cats { grid-template-columns: 1fr; }
    .cat:nth-child(n) { border-right: 1px solid var(--line); }
    .levels { grid-template-columns: 1fr; }
    .cta { padding: 26px 20px; }
    .cta__title { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; }
}

/* Кат в списке предложений: остальное открывается кнопкой */
.is-hidden { display: none; }

/* Кнопка под катом — крупная и заметная: её должны увидеть, иначе часть
   предложений останется незамеченной */
.offers-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 420px;
    margin: 22px auto 0;
    padding: 18px 28px;
    font-size: 16px;
}

.offers-more__chevron {
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
}
