/* ============================================================
   ДЕСТИН — кухни на заказ в Мариуполе
   Палитра бренда: коричневый #4F2112, кремовый фон, тёплое золото
   ============================================================ */

:root {
    --brown: #4F2112;
    --brown-dark: #3A180D;
    --ink: #2B2019;
    --muted: #7A6A5F;
    --gold: #B98A45;
    --gold-light: #D9B87E;
    --cream: #F7F1E8;
    --bg: #FDFBF7;
    --white: #FFFFFF;
    --border: #E9DFD2;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(79, 33, 18, 0.08);
    --font-serif: Georgia, "Times New Roman", serif;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--brown); }

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

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

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.25s ease;
}

.header--scrolled { box-shadow: 0 4px 20px rgba(79, 33, 18, 0.1); }

.header__inner {
    display: flex;
    align-items: center;
    gap: 28px;
    min-height: 72px;
}

.header__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-right: auto;
}

.header__mark { width: 40px; height: 40px; }

.header__wordmark { display: flex; flex-direction: column; line-height: 1.15; }

.header__name {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--brown);
}

.header__tagline {
    font-size: 10.5px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}

.nav { display: flex; gap: 18px; }

.nav__link {
    text-decoration: none;
    color: var(--ink);
    font-size: 14.5px;
    white-space: nowrap;
    padding: 4px 0;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.nav__link:hover { color: var(--brown); border-bottom-color: var(--gold); }

/* Телефон в выпадающем меню — виден только когда меню свёрнуто в бургер */
.nav__link--phone { display: none; font-weight: 600; color: var(--brown); }

.header__phone {
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    color: var(--brown);
    white-space: nowrap;
}

.header__phone:hover { color: var(--gold); }

.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
}

.burger span {
    display: block;
    height: 2px;
    background: var(--brown);
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
}

.burger--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger--open span:nth-child(2) { opacity: 0; }
.burger--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

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

.hero {
    position: relative;
    background:
        linear-gradient(115deg, rgba(43, 22, 12, 0.88) 0%, rgba(58, 24, 13, 0.7) 45%, rgba(43, 22, 12, 0.35) 100%),
        url("../images/hero-bg.jpg") center / cover no-repeat;
    color: var(--white);
}

.hero__inner {
    padding-top: 96px;
    padding-bottom: 96px;
}

.hero__title,
.hero__eyebrow { max-width: 760px; }

.hero__eyebrow {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 20px;
    color: var(--gold-light);
    margin-bottom: 14px;
}

.hero__title {
    font-family: var(--font-serif);
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.12;
    margin-bottom: 20px;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.hero__text {
    max-width: 560px;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
}

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

.hero__facts {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 36px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
}

.hero__facts strong { color: var(--gold-light); }

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

.btn {
    display: inline-block;
    padding: 14px 32px;
    border: 0;
    border-radius: 999px;
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, transform 0.15s;
}

.btn:active { transform: scale(0.98); }

.btn--primary { background: var(--brown); color: var(--white); }
.btn--primary:hover { background: var(--brown-dark); }

.btn--gold { background: var(--gold); color: var(--white); }
.btn--gold:hover { background: #A67938; }

.btn--light {
    background: rgba(255, 255, 255, 0.14);
    border: 2px solid rgba(255, 255, 255, 0.75);
    color: var(--white);
    padding: 12px 30px;
}

.btn--light:hover { background: var(--white); color: var(--brown); }

.btn--ghost {
    background: none;
    border: 2px solid var(--brown);
    color: var(--brown);
    padding: 12px 30px;
}

.btn--ghost:hover { background: var(--brown); color: var(--white); }

.btn[disabled] { opacity: 0.45; cursor: not-allowed; }

/* ---------- Секции ---------- */

.section { padding: 80px 0; }

.section--tinted {
    background: var(--cream);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section__title {
    font-family: var(--font-serif);
    font-size: clamp(28px, 3.5vw, 40px);
    color: var(--brown-dark);
    text-align: center;
    margin-bottom: 12px;
}

.section__title--left { text-align: left; }

.section__subtitle {
    text-align: center;
    color: var(--muted);
    max-width: 680px;
    margin: 0 auto 48px;
}

.section__subtitle--light { color: rgba(255, 255, 255, 0.8); }

/* ---------- Квиз ---------- */

.section--quiz {
    background: linear-gradient(180deg, var(--cream) 0%, var(--bg) 100%);
    border-bottom: 1px solid var(--border);
}

.quiz {
    max-width: 880px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 36px 40px 40px;
}

.quiz__noscript { text-align: center; color: var(--muted); }

.quiz__progress {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}

.quiz__progress-track {
    flex: 1;
    height: 6px;
    background: var(--cream);
    border-radius: 999px;
    overflow: hidden;
}

.quiz__progress-fill {
    height: 100%;
    width: 0;
    background: var(--gold);
    border-radius: 999px;
    transition: width 0.3s ease;
}

.quiz__progress-label {
    font-size: 14px;
    color: var(--muted);
    white-space: nowrap;
}

.quiz__question {
    font-family: var(--font-serif);
    font-size: 24px;
    color: var(--brown-dark);
    margin-bottom: 6px;
}

.quiz__hint { font-size: 14.5px; color: var(--muted); margin-bottom: 22px; }

.quiz__options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 28px;
}

.quiz__option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: 12px;
    font-family: var(--font-sans);
    font-size: 16px;
    text-align: left;
    color: var(--ink);
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, transform 0.15s;
}

.quiz__option:hover { border-color: var(--gold-light); transform: translateY(-1px); }

.quiz__option--selected {
    border-color: var(--gold);
    background: #FBF4E7;
}

.quiz__option-icon {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    fill: none;
    stroke: var(--gold);
    stroke-width: 2.5;
    stroke-linejoin: round;
}

.quiz__option-check {
    margin-left: auto;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    border: 2px solid var(--border);
    border-radius: 50%;
    position: relative;
    transition: border-color 0.15s, background 0.15s;
}

.quiz__option--selected .quiz__option-check {
    border-color: var(--gold);
    background: var(--gold);
}

.quiz__option--selected .quiz__option-check::after {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 10px;
    height: 6px;
    border-left: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
    transform: rotate(-45deg) translate(1px, -1px);
}

.quiz__nav { display: flex; justify-content: space-between; gap: 14px; }

/* Финальный шаг квиза */

.quiz__summary {
    background: var(--cream);
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 24px;
}

.quiz__summary-title {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    margin-bottom: 10px;
}

.quiz__summary-list { list-style: none; display: grid; gap: 6px; font-size: 15.5px; }

.quiz__summary-list strong { color: var(--brown); }

.quiz__fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 20px;
}

.quiz__input {
    padding: 14px 18px;
    font-family: var(--font-sans);
    font-size: 16px;
    color: var(--ink);
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: 12px;
    outline: none;
    transition: border-color 0.15s;
}

.quiz__input:focus { border-color: var(--gold); }

.quiz__input--error { border-color: #C0392B; }

.quiz__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.quiz__send-note { font-size: 14px; color: var(--muted); margin-top: 16px; }

.quiz__send-note a { white-space: nowrap; }

.quiz__bonus {
    font-size: 15px;
    color: var(--brown);
    background: #FBF4E7;
    border: 1px dashed var(--gold);
    border-radius: 12px;
    padding: 12px 18px;
    margin-bottom: 24px;
}

/* ---------- Сетки и карточки ---------- */

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

.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.card__icon {
    width: 48px;
    height: 48px;
    fill: none;
    stroke: var(--gold);
    stroke-width: 2.5;
    stroke-linejoin: round;
    margin-bottom: 18px;
}

.card__title {
    font-family: var(--font-serif);
    font-size: 21px;
    color: var(--brown);
    margin-bottom: 10px;
}

.card__text { font-size: 15px; color: var(--muted); }

/* ---------- Преимущества ---------- */

.feature {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
}

.feature__num {
    font-family: var(--font-serif);
    font-size: 15px;
    letter-spacing: 0.15em;
    color: var(--gold);
    margin-bottom: 12px;
}

.feature__title {
    font-size: 18px;
    color: var(--brown-dark);
    margin-bottom: 8px;
}

.feature__text { font-size: 15px; color: var(--muted); }

/* ---------- Материалы ---------- */

.material {
    border-left: 3px solid var(--gold);
    padding: 8px 0 8px 22px;
}

.material__title {
    font-family: var(--font-serif);
    font-size: 20px;
    color: var(--brown);
    margin-bottom: 8px;
}

.material__text { font-size: 15px; color: var(--muted); }

/* ---------- Примеры работ ---------- */

.gallery { max-width: 980px; margin: 0 auto; }

.gallery__main {
    margin-bottom: 16px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--brown-dark);
}

.gallery__main img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: opacity 0.25s ease;
}

.gallery__main img.gallery__main--fading { opacity: 0; }

.gallery__thumbs {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.gallery__thumb {
    padding: 0;
    background: none;
    border: 2px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.15s, transform 0.15s, opacity 0.15s;
    opacity: 0.85;
}

.gallery__thumb:hover { transform: translateY(-2px); opacity: 1; }

.gallery__thumb--active {
    border-color: var(--gold);
    opacity: 1;
}

.gallery__thumb img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
}

/* ---------- Шоурум ---------- */

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

.showroom__lead { color: var(--muted); margin: 8px 0 20px; }

.showroom__lead strong { color: var(--brown); }

.showroom__points { list-style: none; display: grid; gap: 10px; margin-bottom: 20px; }

.showroom__points li {
    padding-left: 28px;
    position: relative;
    font-size: 16px;
}

.showroom__points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gold);
}

.showroom__hours { font-size: 14.5px; color: var(--muted); margin-bottom: 24px; }

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

.showroom__photos img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.showroom__photos img:last-child { margin-top: 32px; }

/* ---------- Акция ---------- */

.section--promo {
    background:
        linear-gradient(115deg, rgba(58, 24, 13, 0.96) 0%, rgba(79, 33, 18, 0.9) 100%);
    color: var(--white);
}

.promo { max-width: 780px; }

.promo__badge {
    display: inline-block;
    background: var(--gold);
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 6px 18px;
    margin-bottom: 18px;
}

.promo__title {
    font-family: var(--font-serif);
    font-size: clamp(26px, 3.2vw, 36px);
    line-height: 1.2;
    margin-bottom: 14px;
}

.promo__text { color: rgba(255, 255, 255, 0.85); margin-bottom: 22px; }

.promo__points { list-style: none; display: grid; gap: 10px; margin-bottom: 26px; }

.promo__points li {
    padding-left: 28px;
    position: relative;
    color: rgba(255, 255, 255, 0.85);
}

.promo__points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gold);
}

.promo__points strong { color: var(--gold-light); }

.promo__note { font-size: 14.5px; color: rgba(255, 255, 255, 0.6); }

/* ---------- Этапы ---------- */

.steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px 24px;
}

.step { position: relative; padding-top: 8px; }

.step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--brown);
    color: var(--white);
    font-family: var(--font-serif);
    font-size: 19px;
    margin-bottom: 14px;
}

.step__title { font-size: 16.5px; color: var(--brown-dark); margin-bottom: 4px; }

.step__text { font-size: 14.5px; color: var(--muted); }

.steps__note {
    margin-top: 40px;
    text-align: center;
    font-family: var(--font-serif);
    font-size: 20px;
    color: var(--brown);
}

/* ---------- Отзывы клиентов (скриншоты) ---------- */

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

.testimonials__item {
    padding: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: zoom-in;
    transition: transform 0.15s, box-shadow 0.15s;
}

.testimonials__item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.testimonials__item img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: top;
}

/* ---------- Лайтбокс ---------- */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(43, 32, 25, 0.88);
}

.lightbox[hidden] { display: none; }

.lightbox__img {
    max-width: min(92vw, 560px);
    max-height: 92vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.lightbox__close {
    position: absolute;
    top: 16px;
    right: 20px;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s;
}

.lightbox__close:hover { background: rgba(255, 255, 255, 0.3); }

/* ---------- Отзывы ---------- */

.reviews {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
}

.reviews__lead { max-width: 560px; color: var(--muted); margin: 8px 0 24px; }

.reviews__points { list-style: none; display: grid; gap: 10px; }

.reviews__points li {
    padding-left: 28px;
    position: relative;
    font-size: 16px;
}

.reviews__points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gold);
}

.reviews__points strong { color: var(--brown); }

.reviews__qr {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
    text-align: center;
}

.reviews__qr img { width: 220px; height: 220px; margin: 0 auto 12px; }

.reviews__qr-caption { font-size: 14px; color: var(--muted); }

/* ---------- Консультация ---------- */

.section--consult {
    background: var(--brown-dark);
    color: var(--white);
}

.section--consult .section__title { color: var(--white); }

.consult { max-width: 720px; text-align: center; }

.consult__bonuses {
    list-style: none;
    display: grid;
    gap: 10px;
    margin-bottom: 36px;
    text-align: left;
}

.consult__bonuses li {
    padding-left: 28px;
    position: relative;
    color: rgba(255, 255, 255, 0.85);
}

.consult__bonuses li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gold);
}

.consult__bonuses strong { color: var(--gold-light); }

.consult__form {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 14px;
    margin-bottom: 16px;
}

.consult__input {
    padding: 14px 18px;
    font-family: var(--font-sans);
    font-size: 16px;
    color: var(--ink);
    background: var(--white);
    border: 2px solid transparent;
    border-radius: 12px;
    outline: none;
}

.consult__input:focus { border-color: var(--gold); }

.consult__input--error { border-color: #E74C3C; }

.consult__hint { font-size: 14px; color: rgba(255, 255, 255, 0.65); }

.consult__hint a { color: var(--gold-light); }

/* ---------- Согласие на обработку персональных данных ---------- */

.agree {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    text-align: left;
    font-size: 14px;
    line-height: 1.45;
    color: var(--muted);
    cursor: pointer;
}

.agree__checkbox {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    accent-color: var(--gold);
    cursor: pointer;
}

.agree a { color: var(--brown); text-decoration-color: var(--gold); }

.agree a:hover { color: var(--gold); }

.agree--error,
.agree--error a { color: #C0392B; }

.quiz__agree { margin-bottom: 22px; }

.consult__agree {
    grid-column: 1 / -1;
    justify-content: center;
    color: rgba(255, 255, 255, 0.75);
}

.consult__agree a { color: var(--gold-light); text-decoration-color: var(--gold-light); }

.consult__agree.agree--error,
.consult__agree.agree--error a { color: #FF9B8A; }

/* ---------- Контакты ---------- */

.contacts { text-align: center; }

.contact {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 20px;
}

.contact__label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    margin-bottom: 10px;
}

.contact__value {
    font-family: var(--font-serif);
    font-size: 19px;
    color: var(--brown);
    text-decoration: none;
}

a.contact__value:hover { color: var(--gold); }

.contact__value--plain { font-family: var(--font-sans); font-size: 16.5px; color: var(--ink); }

.contact__extra { font-size: 13.5px; color: var(--muted); margin: 2px 0 10px; }

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

.footer {
    background: var(--brown-dark);
    color: rgba(255, 255, 255, 0.85);
    padding: 40px 0;
}

.footer__inner { text-align: center; }

.footer__brand {
    font-family: var(--font-serif);
    font-size: 18px;
    letter-spacing: 0.04em;
    margin-bottom: 12px;
    color: var(--white);
}

.footer__legal { font-size: 14px; line-height: 1.7; color: rgba(255, 255, 255, 0.6); }

.footer__disclaimer {
    margin-top: 14px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

/* ---------- Страница «Спасибо за заявку» ---------- */

.thanks { padding: 110px 0; }

.thanks__inner {
    max-width: 680px;
    text-align: center;
}

.thanks__icon {
    width: 96px;
    height: 96px;
    margin: 0 auto 28px;
    fill: none;
    stroke: var(--gold);
    stroke-width: 5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.thanks__title {
    font-family: var(--font-serif);
    font-size: 42px;
    line-height: 1.15;
    color: var(--brown);
    margin-bottom: 18px;
}

.thanks__text {
    font-size: 18px;
    color: var(--muted);
    margin-bottom: 32px;
}

.thanks__steps {
    list-style: none;
    display: grid;
    gap: 12px;
    text-align: left;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px 32px;
    margin-bottom: 32px;
}

.thanks__steps li { padding-left: 26px; position: relative; }

.thanks__steps li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 12px;
    height: 7px;
    border-left: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
    transform: rotate(-45deg);
}

.thanks__steps strong { color: var(--brown); }

.thanks__note {
    font-size: 15.5px;
    color: var(--muted);
    margin-bottom: 36px;
}

.thanks__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

/* ---------- Страница «Политика конфиденциальности» ---------- */

.policy { padding: 64px 0 80px; }

.policy__inner { max-width: 820px; }

.policy__title {
    font-family: var(--font-serif);
    font-size: 40px;
    line-height: 1.15;
    color: var(--brown);
    margin-bottom: 10px;
}

.policy__subtitle {
    font-size: 17px;
    color: var(--muted);
    margin-bottom: 40px;
}

.policy h2 {
    font-family: var(--font-serif);
    font-size: 24px;
    line-height: 1.25;
    color: var(--brown);
    margin: 40px 0 18px;
}

.policy p { margin-bottom: 14px; }

.policy ul {
    list-style: none;
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
}

.policy ul li { padding-left: 22px; position: relative; }

.policy ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 2px;
    background: var(--gold);
}

.policy a { color: var(--brown); text-decoration-color: var(--gold); }

.policy a:hover { color: var(--gold); }

.policy__table-wrap { overflow-x: auto; margin-bottom: 18px; }

.policy__table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.policy__table th,
.policy__table td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
    font-size: 15.5px;
}

.policy__table tr:last-child th,
.policy__table tr:last-child td { border-bottom: none; }

.policy__table th {
    width: 260px;
    background: var(--cream);
    color: var(--brown);
    font-weight: 600;
}

.policy__table ul { margin-bottom: 0; gap: 6px; }

/* ---------- Появление при прокрутке ---------- */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal--visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Адаптивность ---------- */

/* Меню: пока пунктам тесно — прячем их в бургер, телефон остаётся видимым */
@media (max-width: 1140px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        padding: 8px 20px 16px;
        box-shadow: 0 12px 24px rgba(79, 33, 18, 0.12);
    }

    .nav--open { display: flex; }

    .nav__link { padding: 12px 0; font-size: 17px; border-bottom: 1px solid var(--border); }
    .nav__link:last-child { border-bottom: none; }
    .nav__link--phone { display: block; }

    .burger { display: flex; }
}

@media (max-width: 1000px) {
    .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 820px) {
    .hero__inner { padding-top: 64px; padding-bottom: 64px; }
    .grid--3 { grid-template-columns: 1fr; }
    .showroom { grid-template-columns: 1fr; }
    .gallery__thumbs { grid-template-columns: repeat(4, 1fr); gap: 10px; }
    .testimonials { grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .reviews { grid-template-columns: 1fr; }
    .reviews__qr { justify-self: center; }
    .section { padding: 56px 0; }
    .steps { grid-template-columns: repeat(2, 1fr); }

    .quiz { padding: 28px 22px 32px; }
    .quiz__options { grid-template-columns: 1fr; }
    .quiz__fields { grid-template-columns: 1fr; }

    .consult__form { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .grid--4 { grid-template-columns: 1fr; }
    .thanks { padding: 72px 0; }
    .thanks__title { font-size: 32px; }
    .policy { padding: 48px 0 64px; }
    .policy__title { font-size: 30px; }
    .policy h2 { font-size: 21px; }
    .policy__table th { width: 160px; }
    .thanks__steps { padding: 22px 20px; }
    .thanks__actions .btn { width: 100%; text-align: center; }
    .steps { grid-template-columns: 1fr; }
    .hero__actions .btn { width: 100%; text-align: center; }
    .header__tagline { display: none; }
    .header__phone { display: none; }
    .gallery__thumbs { grid-template-columns: repeat(3, 1fr); }
    .testimonials { grid-template-columns: repeat(2, 1fr); }
    .quiz__nav { flex-direction: column-reverse; }
    .quiz__nav .btn { width: 100%; text-align: center; }
    .quiz__actions { flex-direction: column; align-items: stretch; }
    .quiz__actions .btn { text-align: center; }
}
