/* «Плати потом»: стили страниц оффера bed-lift. Фирменный язык текущих страниц platipotom.by:
   заглавные заголовки Tektur, текст Onest, красные стикеры с ценой и подарком, белые карточки на светлом фоне,
   тёмные секции для акцентов. Дизайн сверен с холстом Claude Design (v4, 2026-10-17).
   Контраст текста проверяет tools/check_contrast.py (D-128): мелкий белый текст только на тёмно-красном, не на ярком. */
:root {
  --red: #ef1616; --red2: #d7110f; --red3: #ff3b2f; --ink: #24110b; --muted: #5b4d48; --soft: #6f625d;
  --bg: #f3f3f3; --white: #fff; --dark: #140806; --dark2: #3a120b; --cream: #fff6ef; --green: #2f7d12; --yellow: #ffd400;
  --line: rgba(36, 17, 11, .12);
  --sh: 0 1px 2px rgba(36, 17, 11, .06), 0 16px 40px rgba(36, 17, 11, .08);
  --sh-red: 0 14px 30px rgba(215, 17, 15, .3);
  --fd: 'Tektur', system-ui, sans-serif; --ft: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1200px; --gut: clamp(16px, 3vw, 24px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.5 var(--ft); }
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.d { font-family: var(--fd); text-transform: uppercase; letter-spacing: -.01em; line-height: 1.02; font-weight: 900; }
.red { color: var(--red2); }
.on-dark .red { color: var(--red3); }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.slash { display: block; width: 10px; height: 34px; background: var(--red); transform: skewX(-18deg); margin: 0 0 18px 6px; }
.eyebrow { display: flex; align-items: center; gap: 10px; font: 700 12px var(--ft); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.eyebrow::before { content: ''; width: 28px; height: 3px; background: var(--red); }
h1, h2, h3 { margin: 0; }
h2.d { font-size: clamp(28px, 4.4vw, 46px); }

/* кнопки и поля */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 58px; padding: 0 30px; border: 0; border-radius: 14px;
  background: linear-gradient(180deg, #e31515, #c50f0d); color: #fff; font: 800 17px/1 var(--fd); text-transform: uppercase; letter-spacing: .02em;
  box-shadow: var(--sh-red); cursor: pointer; text-decoration: none; transition: transform .15s, filter .15s; }
.btn:hover { filter: brightness(1.06); color: #fff; }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .75; cursor: default; }
.btn--block { width: 100%; }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 13px; }
.field { margin: 0; }
.field input { width: 100%; height: 58px; padding: 0 18px; border: 1.5px solid rgba(36, 17, 11, .18); border-radius: 14px; background: #fbfbfb;
  font: 600 19px var(--ft); color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.field input:focus { outline: none; border-color: var(--ink); background: #fff; }
.field__err { display: none; color: var(--red2); font-size: 13px; margin-top: 6px; }
.field.is-bad input { border-color: var(--red); }
.field.is-bad .field__err { display: block; }
.consent { font-size: 12px; color: var(--soft); text-align: center; }
.consent a { color: var(--soft); }
.note-caps { font: 400 14px/1.45 var(--ft); color: #3d302b; text-align: center; }
.form-err { font-size: 13px; color: var(--red2); text-align: center; }

/* карточки и плашки */
.card { background: var(--white); border-radius: 22px; box-shadow: var(--sh); }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font: 600 14px var(--ft); color: var(--ink); }
.chip--dot::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.on-dark .chip { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .18); }
.tag { display: inline-block; background: var(--red2); color: #fff; font: 700 11px var(--ft); letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; }
.badge { position: absolute; width: 168px; height: 168px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f03a2e, var(--red2) 62%, #b30d0b); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; transform: rotate(-8deg); box-shadow: 0 24px 40px rgba(215, 17, 15, .4); z-index: 2; }
.badge span { font-family: var(--fd); text-transform: uppercase; font-weight: 800; line-height: 1; }
.badge .b1 { font-size: 22px; } .badge .b2 { font-size: 64px; font-weight: 900; line-height: .9; } .badge .b3 { font-size: 19px; }
.giftbar { position: relative; display: flex; align-items: center; height: 92px; margin-top: 28px; }
.giftbar::before { content: ''; position: absolute; inset: 14px 0 0 0; background: linear-gradient(90deg, var(--red2), var(--red)); border-radius: 18px; transform: skewX(-6deg); box-shadow: var(--sh-red); }
.giftbar__t { position: relative; padding: 24px 0 0 26px; color: #fff; font-size: 24px; flex: 1 1 auto; }
.giftbar__img { position: relative; width: 124px; height: 104px; margin: -36px 18px 0 0; border-radius: 16px; overflow: hidden; border: 3px solid #fff; transform: rotate(4deg);
  box-shadow: 0 18px 30px rgba(36, 17, 11, .35); background: #fff; }
.giftbar__img img { width: 100%; height: 100%; object-fit: cover; }
.gift { display: grid; grid-template-columns: 92px 1fr; gap: 14px; align-items: center; padding: 12px; border-radius: 18px; background: #fff1f0; border: 1.5px solid #ffd1cd; }
.gift__img { width: 92px; height: 72px; border-radius: 14px; background: #fff; overflow: hidden; }
.gift__img img { width: 100%; height: 100%; object-fit: cover; }
.gift b { display: block; font: 900 17px/1.1 var(--fd); text-transform: uppercase; margin-top: 6px; }
.gift small { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.deadline { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: rgba(239, 22, 22, .1); border: 1px solid rgba(239, 22, 22, .35); font-weight: 600; font-size: 14px; }
.deadline::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.on-dark .deadline { background: rgba(239, 22, 22, .18); border-color: rgba(239, 22, 22, .5); color: #fff; }

/* у каждой формы: что входит (кровать, основание, матрас) и бонус за заявку в течение 5 минут (D-128) */
.bundle { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); align-items: start; gap: 8px; }
.bundle__i { display: grid; justify-items: center; gap: 3px; text-align: center; min-width: 0; }
.bundle__i img { width: 100%; max-width: 112px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; background: var(--bg); margin-bottom: 3px; }
.bundle__i--bed img { object-position: 50% 55%; }
.bundle__i--base img { object-position: 65% 90%; }
.bundle__i b { font: 800 13px/1.1 var(--fd); text-transform: uppercase; }
.bundle__i span { font-size: 12px; line-height: 1.25; color: var(--muted); }
.bundle__i--gift img { outline: 2px solid var(--red); outline-offset: 0; }
.bundle__i--gift span { color: var(--red2); font-weight: 700; }
.bundle__plus { font: 900 20px/1 var(--fd); color: var(--red); font-style: normal; align-self: center; margin-top: -18px; }
.on-dark .bundle__i span { color: #e4d6d1; }
.on-dark .bundle__i--gift span { color: #ff9b91; }
.on-dark .bundle__plus { color: var(--red3); }
.bonus { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 10px 10px 12px; border-radius: 14px;
  background: var(--yellow); color: var(--ink); box-shadow: 0 10px 24px rgba(255, 196, 0, .32); transition: opacity .4s, transform .4s; }
.bonus[hidden] { display: none; }
.bonus__ic { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); display: flex; align-items: center; justify-content: center; }
.bonus__img { width: 46px; height: 46px; border-radius: 10px; overflow: hidden; border: 2px solid var(--ink); background: #fff; }
.bonus__img img { width: 100%; height: 100%; object-fit: cover; }
.bonus__t b { display: block; font: 800 14px/1.2 var(--ft); }
.bonus__t span { display: block; font-size: 12px; line-height: 1.3; margin-top: 2px; }
.bonus__time { min-width: 78px; padding: 6px 10px 8px; border-radius: 10px; background: var(--ink); color: #fff; text-align: center; }
.bonus__time small { display: block; font: 700 10px/1 var(--ft); letter-spacing: .06em; text-transform: uppercase; color: var(--yellow); margin-bottom: 4px; }
.bonus__time b { display: block; font: 800 22px/1 var(--fd); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.bonus.is-urgent .bonus__time { background: var(--red2); }
.bonus.is-urgent .bonus__time small { color: #fff; }
.bonus.is-over { opacity: 0; transform: scale(.96); }
.bonus--big { grid-template-columns: 64px minmax(0, 1fr) auto auto; gap: 16px; padding: 16px 18px; border-radius: 20px; }
.bonus--big .bonus__ic, .bonus--big .bonus__img { width: 64px; height: 64px; }
.bonus--big .bonus__t b { font-size: 18px; }
.bonus--big .bonus__t span { font-size: 14px; }
.bonus--big .btn { min-height: 50px; background: var(--ink); box-shadow: none; }

/* шапка */
.top { background: #fff; border-bottom: 1px solid rgba(36, 17, 11, .08); position: relative; z-index: 5; }
.top .wrap { display: flex; align-items: center; gap: 18px; min-height: 64px; }
.top__logo img { height: 40px; width: auto; }
.top__sp { flex: 1 1 auto; }
.top__hours { font-size: 12px; line-height: 1.3; color: var(--muted); text-align: right; }
.top__phone { display: flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; }
.top__phone svg { flex: 0 0 18px; }
.top--dark { background: transparent; border-color: rgba(255, 255, 255, .08); color: #fff; }

/* первый экран */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 520px at 75% 30%, #fff 0%, var(--bg) 70%); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 40px; align-items: stretch; padding-top: 40px; padding-bottom: 64px; }
.hero__main { display: flex; flex-direction: column; min-width: 0; }
.hero h1 { font-size: clamp(32px, 3.9vw, 52px); }
.hero__sub { margin-top: 18px; font-size: clamp(16px, 1.6vw, 20px); line-height: 1.45; color: var(--muted); max-width: 520px; }
/* форма справа на десктопе: высокая, заметная, с красной полосой сверху (Егор, 17.10) */
.hero__form { padding: 28px 26px; display: flex; flex-direction: column; justify-content: center; gap: 14px; border-top: 6px solid var(--red2);
  box-shadow: 0 2px 4px rgba(36, 17, 11, .06), 0 30px 70px rgba(36, 17, 11, .16); }
.hero__form-t { font-size: 30px; }
.hero__form-s { font-size: 15px; line-height: 1.4; color: var(--ink); margin-top: -6px; }
.hero__form-s b { font-weight: 700; }
/* фото слева на десктопе растягивается на высоту формы, плашка подарка лежит на фото */
.hero__media { position: relative; margin-top: 26px; flex: 1 1 auto; display: flex; flex-direction: column; }
.hero__photo { position: relative; border-radius: 28px; overflow: hidden; flex: 1 1 auto; min-height: 380px; box-shadow: 0 30px 70px rgba(36, 17, 11, .2); }
/* картинка не задаёт высоту колонки: заполняет место рядом с формой при любой пропорции фото */
.hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 72%; }
.hero__media .badge { top: -22px; right: -12px; }
.hero__media .giftbar { position: absolute; left: 20px; bottom: 22px; width: min(560px, 84%); margin: 0; }
.hero__media .giftbar__t { font-size: 22px; padding-right: 8px; }

/* преимущества */
.perks { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; padding-bottom: 80px; }
.perk { padding: 22px; }
.perk__v { font-size: 28px; margin-top: 14px; }
.perk__t { font-size: 16px; line-height: 1.35; font-weight: 600; color: var(--ink); margin-top: 6px; }
.perk--red { background: linear-gradient(160deg, #d7110f, #a90c0a); color: #fff; box-shadow: var(--sh-red); }
.perk--red .perk__t { color: #fff; }

/* секции */
.sec { padding: 96px 0; }
.sec--white { background: #fff; }
.sec--dark { background: radial-gradient(900px 500px at 80% 40%, var(--dark2) 0%, var(--dark) 60%); color: #fff; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--flip > :first-child { order: 2; }
.lead { font-size: 18px; line-height: 1.55; color: var(--muted); margin: 18px 0 26px; }
.on-dark .lead { color: #e4d6d1; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; }

/* хранение: объём ниши и что в неё помещается */
.vol { display: flex; align-items: center; gap: 22px; margin: 0 0 24px; flex-wrap: wrap; }
.vol__n { font: 900 84px/.9 var(--fd); color: var(--red2); letter-spacing: -.03em; white-space: nowrap; }
.vol__n small { font-size: .4em; margin-left: 4px; letter-spacing: 0; }
.vol__cmp { display: grid; gap: 8px; flex: 1 1 220px; }
.vol__cmp div { padding: 10px 14px; border-radius: 12px; background: var(--bg); font-size: 15px; line-height: 1.35; }
.vol__cmp b { font-weight: 800; }
.fits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fits li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; line-height: 1.25; }
.fits svg { flex: 0 0 40px; width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: #fff1f0; }
.fnote { font-size: 13px; color: var(--soft); margin-top: 18px; }
.xray { position: relative; border-radius: 28px; overflow: hidden; box-shadow: 0 30px 60px rgba(36, 17, 11, .18); }
.xray img { width: 100%; height: auto; }
.xray__box { position: absolute; left: 14.5%; right: 13%; top: 74%; height: 15.2%; border: 2px dashed rgba(255, 255, 255, .95); border-radius: 6px;
  background: linear-gradient(180deg, rgba(215, 17, 15, .82), rgba(150, 10, 8, .9)); display: flex; align-items: center; justify-content: space-around; padding: 0 3%; }
.xray__box svg { width: 10%; max-width: 46px; height: auto; }
.xray__lbl { position: absolute; left: 50%; top: 74%; transform: translate(-50%, calc(-100% - 12px)); background: #fff; color: var(--ink); font: 800 15px/1 var(--fd); text-transform: uppercase;
  padding: 10px 14px; border-radius: 10px; box-shadow: 0 12px 28px rgba(36, 17, 11, .28); white-space: nowrap; }
.xray__lbl::after { content: ''; position: absolute; left: 50%; bottom: -7px; margin-left: -7px; border: 7px solid transparent; border-bottom: 0; border-top-color: #fff; }

/* ширина кровати: сколько места каждому (оффер bed-double) */
.sizes { display: grid; gap: 10px; margin-bottom: 8px; }
.size { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "bed bed" "b s"; gap: 8px 12px; padding: 14px 16px; border-radius: 16px; background: var(--bg); align-items: baseline; }
.size__bed { grid-area: bed; display: flex; gap: 4px; height: 26px; padding: 4px; border-radius: 8px; background: #d9d2ce; }
.size__bed i { flex: 1; border-radius: 5px; background: #fff; }
.size b { grid-area: b; font: 800 18px var(--fd); text-transform: uppercase; }
.size > span:last-child { grid-area: s; font-size: 14px; color: var(--muted); }
.size--on { background: #fff1f0; box-shadow: inset 0 0 0 1.5px #ffd1cd; }
.size--on .size__bed { background: var(--red2); }

/* «Прыгайте. Бокал устоит»: фото вместо иллюстрации */
.frame { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; max-height: 640px; box-shadow: 0 30px 70px rgba(0, 0, 0, .45); }
.frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 8, 6, 0) 50%, rgba(20, 8, 6, .9)); }
.frame__inset { position: absolute; z-index: 1; right: 18px; top: 18px; width: 128px; border-radius: 16px; overflow: hidden; border: 3px solid #fff; box-shadow: 0 16px 30px rgba(0, 0, 0, .4); background: #fff; }
.frame__inset img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.frame__inset span { display: block; padding: 6px 8px; font: 700 11px/1.2 var(--ft); color: var(--ink); text-align: center; }
.frame__cap { position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 1; display: flex; align-items: center; gap: 12px; font-size: 15px; line-height: 1.35; color: #fff; }
.frame__play { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 50%; background: var(--red2); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 8px rgba(215, 17, 15, .25); }

/* что входит: три карточки и бонус */
.kit { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.kit__i { padding: 14px; position: relative; }
.kit__img { aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; margin-bottom: 14px; background: var(--bg); }
.kit__img img { width: 100%; height: 100%; object-fit: cover; }
.kit__i--base .kit__img img { object-position: 65% 90%; }
.kit__i b { display: block; font: 900 20px/1.05 var(--fd); text-transform: uppercase; }
.kit__i p { margin-top: 6px; color: var(--muted); font-size: 15px; line-height: 1.4; }
.kit__i .tag { position: absolute; top: 24px; left: 24px; }
.kit__i--gift { box-shadow: 0 0 0 2px var(--red), var(--sh); }
.kit + .bonus { margin-top: 16px; }

/* квиз: отдельная страница, вопросы с картинками и выбором нескольких ответов */
.progress { height: 8px; border-radius: 99px; background: rgba(36, 17, 11, .1); margin: 12px 0 8px; overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--red); border-radius: 99px; transition: width .3s; width: 20%; }
.quiz__count { font-size: 13px; color: var(--muted); display: flex; justify-content: space-between; gap: 10px; }
.qcard { padding: 22px; }
.quiz__step { display: none; animation: rise .3s ease-out both; }
.quiz__step.is-on { display: block; }
.quiz__step h2 { font: 900 22px/1.1 var(--fd); text-transform: uppercase; }
.quiz__hint { font-size: 13px; color: var(--muted); margin-top: 6px; }
.qopts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.qopt { position: relative; display: grid; gap: 6px; align-content: start; justify-items: start; padding: 14px; min-height: 88px; border: 1.5px solid rgba(36, 17, 11, .14);
  border-radius: 16px; background: #fff; text-align: left; cursor: pointer; font: inherit; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.qopt:hover, .qopt:focus-visible { border-color: var(--ink); outline: none; }
.qopt svg { width: 34px; height: 34px; }
.qopt b { font: 700 15px/1.2 var(--ft); }
.qopt span { font-size: 13px; line-height: 1.3; color: var(--muted); }
.qopt .sw { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(36, 17, 11, .2); box-shadow: inset 0 -6px 10px rgba(0, 0, 0, .12); }
.qopt.is-on { border-color: var(--red); box-shadow: 0 0 0 3px rgba(239, 22, 22, .14); background: #fff8f7; }
.qopt.is-on::after { content: '✓'; position: absolute; top: 10px; right: 10px; width: 22px; height: 22px; border-radius: 50%; background: var(--red2); color: #fff; font: 800 13px/22px var(--ft); text-align: center; }
.qnav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; }
.qnav .btn { min-height: 50px; flex: 1 1 auto; }
.qback { background: none; border: 0; color: var(--muted); font: 600 14px var(--ft); cursor: pointer; min-height: 44px; padding: 0 6px; }
.qback[hidden] { display: none; }
/* квиз: короткий заголовок и плашки, первый вопрос на первом экране телефона (D-136) */
.quiz__h { font-size: clamp(22px, 5vw, 32px); }
.plates { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.plate { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 10px; background: var(--ink); color: #fff; font: 800 14px/1.1 var(--fd); text-transform: uppercase; }
.plate--red { background: var(--red2); }
.result__eyebrow { font: 700 12px var(--ft); letter-spacing: .1em; text-transform: uppercase; color: var(--red2); }
.qsum { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.qsum li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 15px; line-height: 1.35; }
.qsum li::before { content: '✓'; width: 22px; height: 22px; border-radius: 50%; background: var(--green); color: #fff; font: 800 12px/22px var(--ft); text-align: center; }
.qsum b { font-weight: 700; }
.reveal { display: none; }
.reveal.is-on { display: block; animation: rise .3s ease-out both; }
@keyframes rise { from { opacity: .4; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* шаги и вопросы */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.step { background: var(--bg); border-radius: 22px; padding: 24px; }
.step__n { font: 900 40px var(--fd); color: var(--red2); }
.step b { display: block; font: 800 17px/1.15 var(--fd); text-transform: uppercase; margin-top: 12px; }
.step span { display: block; font-size: 14px; color: var(--muted); margin-top: 8px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-weight: 700; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 16px; font: 900 28px var(--fd); color: var(--red2); }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 0 22px; color: var(--muted); line-height: 1.55; }

/* финал и подвал */
.final { background: radial-gradient(900px 420px at 20% 0%, var(--dark2) 0%, var(--dark) 65%); color: #fff; padding: 88px 0; }
.final__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.final__form { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 24px; padding: 24px; display: grid; gap: 12px; }
.final__form label { font-size: 13px; color: #e4d6d1; }
.final__form .field input { background: rgba(0, 0, 0, .25); border-color: rgba(255, 255, 255, .25); color: #fff; }
.final__form .consent, .final__form .consent a { color: #b9a9a3; }
.final__form .bundle__i img { background: rgba(255, 255, 255, .1); }
.foot { background: #0d0504; color: #a99a94; font-size: 13px; padding: 32px 0 100px; }
.foot .wrap { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.foot img { height: 34px; width: auto; }
.foot p { flex: 1 1 400px; }

/* липкая кнопка на телефоне */
.sticky { position: fixed; left: 0; right: 0; bottom: 0; padding: 10px var(--gut) calc(14px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .94);
  box-shadow: 0 -8px 24px rgba(36, 17, 11, .12); transform: translateY(110%); transition: transform .25s; z-index: 20; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.sticky.is-on { transform: none; }
.sticky .btn { width: 100%; }

/* подарок на выбор (формат wheel): светлая страница, сверху фото кровати с ценой плашкой, лента подарков в тёмном блоке,
   кнопка «Выбрать подарок» на первом экране телефона; после выбора сразу форма (Егор, 17.10, D-136) */
.page-dark { background: radial-gradient(520px 420px at 50% 10%, var(--dark2), var(--dark) 70%); color: #fff; min-height: 100vh; }
.wheel { max-width: 720px; padding-top: 14px; padding-bottom: 48px; }
.wheel__h { font-size: clamp(26px, 5.6vw, 42px); }
.wheel__photo { position: relative; margin-top: 12px; height: 150px; border-radius: 20px; overflow: hidden; box-shadow: 0 18px 40px rgba(36, 17, 11, .18); }
.wheel__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 74%; }
.wheel__photo .badge { top: 10px; right: 10px; width: 96px; height: 96px; }
.wheel__photo .badge .b1 { font-size: 13px; } .wheel__photo .badge .b2 { font-size: 38px; } .wheel__photo .badge .b3 { font-size: 12px; }
.case { margin-top: 12px; border-radius: 22px; background: radial-gradient(600px 300px at 50% 0%, var(--dark2), var(--dark) 72%); color: #fff; padding: 12px 0 14px; box-shadow: 0 20px 44px rgba(36, 17, 11, .22); }
.case__window { position: relative; height: 214px; overflow: hidden; }
.case__window::before, .case__window::after { content: ''; position: absolute; top: 0; bottom: 0; width: 22%; z-index: 2; pointer-events: none; }
.case__window::before { left: 0; background: linear-gradient(90deg, #170806 20%, rgba(23, 8, 6, 0)); }
.case__window::after { right: 0; background: linear-gradient(270deg, #170806 20%, rgba(23, 8, 6, 0)); }
.case__strip { display: flex; gap: 10px; position: absolute; left: 0; top: 18px; will-change: transform; }
.case__card { flex: 0 0 150px; height: 178px; border-radius: 14px; background: #2e1610; border-bottom: 6px solid #9aa3ad; padding: 9px;
  display: flex; flex-direction: column; gap: 8px; }
.case__card img { width: 100%; height: 96px; object-fit: cover; border-radius: 9px; background: #fff; }
.case__card i { font: 700 11px/1 var(--ft); font-style: normal; letter-spacing: .06em; text-transform: uppercase; color: var(--yellow); }
.case__card b { font: 700 14px/1.2 var(--ft); color: #fff; }
.case__card--grey { border-bottom-color: #9aa3ad; } .case__card--blue { border-bottom-color: #3b82f6; } .case__card--purple { border-bottom-color: #8b5cf6; }
.case__card--pink { border-bottom-color: #ec4899; } .case__card--gold { border-bottom-color: var(--yellow); background: #4a2b1f; }
.case__frame { position: absolute; left: 50%; top: 8px; width: 170px; height: 198px; margin-left: -85px; border: 3px solid var(--yellow); border-radius: 18px; z-index: 3; pointer-events: none;
  box-shadow: 0 0 0 5px rgba(255, 212, 0, .14), 0 0 34px rgba(255, 212, 0, .35), inset 0 0 26px rgba(255, 212, 0, .22); }
.case__frame::before, .case__frame::after { content: ''; position: absolute; left: 50%; margin-left: -10px; border: 10px solid transparent; }
.case__frame::before { top: -3px; border-top-color: var(--yellow); }
.case__frame::after { bottom: -3px; border-bottom-color: var(--yellow); }
.case.is-done .case__frame { border-color: #fff3a0; animation: glow 1.2s ease-in-out infinite; }
.case__foot { padding: 12px 16px 0; text-align: center; }
.case__foot p { font-size: 13px; color: #d6c8c3; margin-top: 8px; }
.case__foot [hidden] { display: none; }
@keyframes glow { 0%, 100% { box-shadow: 0 0 0 5px rgba(255, 212, 0, .14), 0 0 20px rgba(255, 212, 0, .3); } 50% { box-shadow: 0 0 0 8px rgba(255, 212, 0, .3), 0 0 60px rgba(255, 212, 0, .8); } }
[data-case-reveal] { margin-top: 14px; }
.light-card { background: #fff; color: var(--ink); border-radius: 22px; padding: 18px; box-shadow: 0 2px 4px rgba(36, 17, 11, .06), 0 24px 50px rgba(36, 17, 11, .16); display: grid; gap: 12px; border-top: 6px solid var(--red2); }

/* страница «спасибо» */
.ty-head { background: radial-gradient(520px 260px at 80% 0%, var(--dark2), var(--dark) 70%); color: #fff; padding: 0 0 40px; }
.ty-check { width: 56px; height: 56px; border-radius: 50%; background: var(--green); display: flex; align-items: center; justify-content: center; margin-top: 18px; box-shadow: 0 0 0 8px rgba(62, 155, 25, .18); }
.ty-head h1 { font-size: clamp(30px, 5vw, 44px); margin-top: 16px; }
.ty-head p { margin-top: 10px; color: #e4d6d1; font-size: 16px; line-height: 1.45; max-width: 560px; }
.ty-body { max-width: 720px; margin: -22px auto 0; padding: 0 var(--gut) 60px; display: grid; gap: 14px; position: relative; }
.ty-gift { background: #fff; border: 2px solid #ffe1df; box-shadow: 0 18px 40px rgba(36, 17, 11, .14); }
.ty-bonus { background: #fff8cc; border-color: #ffe680; }
.ty-bonus[hidden] { display: none; }
.tl { display: grid; gap: 14px; margin-top: 14px; }
.tl li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; list-style: none; }
.tl i { width: 34px; height: 34px; border-radius: 50%; background: var(--bg); display: flex; align-items: center; justify-content: center; font: 900 13px var(--fd); color: var(--red2); font-style: normal; }
.tl li.is-done i { background: var(--green); color: #fff; }
.tl ol, ol.tl { margin: 0; padding: 0; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pills button { min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1.5px solid rgba(36, 17, 11, .15); background: #fff; font: 600 14px var(--ft); color: var(--ink); cursor: pointer; }
.pills button.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.saved { display: none; color: var(--green); font-weight: 600; margin-top: 10px; }
.saved.is-on { display: block; }
.ghost { display: flex; align-items: center; justify-content: center; min-height: 50px; border-radius: 14px; border: 1.5px solid rgba(36, 17, 11, .15); background: #fff;
  font: 700 15px var(--ft); color: var(--ink); text-decoration: none; cursor: pointer; }
.photo-cta { position: relative; border-radius: 22px; overflow: hidden; min-height: 230px; color: #fff; }
.photo-cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-cta::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 8, 6, .1) 10%, rgba(20, 8, 6, .92) 62%); }
.photo-cta > div { position: relative; z-index: 1; padding: 110px 18px 18px; }

/* телефон */
@media (max-width: 899px) {
  .top__hours, .top .btn { display: none; }
  .hero__grid { grid-template-columns: 1fr; gap: 0; padding-top: 12px; padding-bottom: 32px; }
  .hero__main { display: contents; }
  .hero__media { order: -1; margin: 0; }
  .hero__photo { flex: none; min-height: 0; height: 180px; border-radius: 24px; box-shadow: 0 20px 40px rgba(36, 17, 11, .2); }
  .hero__photo img { object-position: 50% 78%; }
  .hero__media .badge { top: 10px; right: 10px; width: 92px; height: 92px; }
  .hero__media .badge .b1 { font-size: 13px; } .hero__media .badge .b2 { font-size: 36px; } .hero__media .badge .b3 { font-size: 12px; }
  .hero .eyebrow, .hero .giftbar, .hero__form-t, .hero__form-s { display: none; }
  .hero h1 { font-size: 28px; margin-top: 14px; }
  .hero__sub { margin-top: 8px; font-size: 15px; }
  .hero__form { margin-top: 12px; padding: 14px; gap: 10px; border-top-width: 4px; }
  /* mobile first (D-136): набор уходит под кнопку, кнопка заявки выше */
  .hero__form .bundle { order: 3; }
  .hero__form .note-caps { order: 4; }
  .hero__form .consent { order: 5; }
  .hero__form .form-err { order: 6; }
  .bundle__i img { max-width: 92px; }
  .bundle__i b { font-size: 12px; }
  .bundle__i span { font-size: 11px; }
  .bonus__t b { font-size: 13px; }
  .bonus { grid-template-columns: 40px minmax(0, 1fr) auto; }
  .bonus__img { width: 40px; height: 40px; }
  .bonus__time { min-width: 70px; }
  .bonus__time b { font-size: 20px; }
  .bonus--big { grid-template-columns: 48px minmax(0, 1fr) auto; gap: 10px; padding: 12px; }
  .bonus--big .bonus__ic, .bonus--big .bonus__img { width: 48px; height: 48px; }
  .bonus--big .bonus__t b { font-size: 14px; }
  .bonus--big .bonus__t span { font-size: 12px; }
  .bonus--big .btn { grid-column: 1 / -1; }
  .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding-bottom: 40px; }
  .perk { padding: 16px; }
  .perk__v { font-size: 22px; margin-top: 10px; }
  .perk__t { font-size: 15px; }
  .perk--red { grid-column: span 2; }
  .sec { padding: 56px 0; }
  .split, .final__grid { grid-template-columns: 1fr; gap: 28px; }
  .split--flip > :first-child { order: 0; }
  .vol__n { font-size: 64px; }
  .fits { grid-template-columns: 1fr 1fr; gap: 10px; }
  .fits li { font-size: 14px; }
  .xray { border-radius: 20px; }
  .xray__lbl { font-size: 12px; padding: 8px 10px; }
  .frame { aspect-ratio: 4 / 4.6; }
  .kit { grid-template-columns: 1fr; gap: 10px; }
  .kit__i { display: grid; grid-template-columns: 112px 1fr; gap: 12px; align-items: center; padding: 10px; }
  .kit__img { margin: 0; }
  .kit__i b { font-size: 16px; }
  .kit__i p { font-size: 13px; margin-top: 4px; }
  .kit__i .tag { top: 14px; left: 14px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qcard { padding: 16px; }
  .qopt { min-height: 80px; padding: 12px; }
  .final { padding: 56px 0; }
}
@media (min-width: 900px) { .sticky { display: none; } .foot { padding-bottom: 32px; } .wheel__photo { height: 300px; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
