/* BraVagin — лендинг. Палитра и графика — с упаковки:
   белый → пыльная роза (градиент коробки), бронзовая лайн-графика, синий знак BRAVO. */
:root {
  --paper: #FCF8F7;
  --blush-50: #F9EEED;
  --blush: #F2D9D9;
  --rose: #DC9EA3;
  --rose-deep: #B86470;
  --bronze: #A7794A;
  --bronze-deep: #7A532E;
  --bronze-light: #D6B386;
  --bronze-grad: linear-gradient(120deg, #C29A66 0%, #93663A 45%, #D5B283 70%, #9E713F 100%);
  --navy: #1D3564;
  --ink: #3B272A;
  --muted: #7C6164;
  --line: rgba(167, 121, 74, .24);
  --card: rgba(255, 251, 250, .82);
  --shadow: 0 18px 50px -24px rgba(122, 58, 66, .38);
  --radius: 22px;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 16px/1.6 var(--sans);
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
/* фон сцены — как градиент коробки: сверху почти белый, снизу пыльная роза */
.backdrop {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 620px at 76% 34%, rgba(255,255,255,.95) 0%, rgba(255,255,255,0) 64%),
    radial-gradient(700px 520px at 8% 96%, rgba(220,158,163,.5) 0%, rgba(220,158,163,0) 70%),
    linear-gradient(180deg, #FCF8F8 0%, #F7E7E7 48%, #EECBCD 100%);
}
.backdrop::after {
  content: ""; position: absolute; right: -4vw; bottom: -6vh; width: min(46vw, 620px); aspect-ratio: 608 / 1219;
  background: url("../img/art-flower.webp") center / contain no-repeat; opacity: .16; transform: rotate(-14deg);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4, .sale-badge, .price b, .trio li::before, .tl-time { font-variant-numeric: lining-nums; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0 0 .4em; letter-spacing: -.01em; }
h1 { font-size: clamp(38px, 5vw, 68px); }
h2 { font-size: clamp(30px, 3.6vw, 50px); }
h3 { font-size: clamp(24px, 2.4vw, 34px); }
h1 em, h2 em, h3 em { font-style: italic; background: var(--bronze-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 820px; }
.center { text-align: center; }

.eyebrow { font: 700 12px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--rose-deep); margin-bottom: 14px; }
.eyebrow .num { font: 500 18px/1 var(--serif); letter-spacing: 0; margin-right: 6px; color: var(--bronze); }
.lead { font-size: clamp(16px, 1.3vw, 18px); color: var(--muted); max-width: 540px; }
.note { font-size: 14px; color: var(--muted); }

/* ---------- Кнопки ---------- */
.btn {
  --h: 56px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 30px; border: 0; border-radius: 999px; cursor: pointer;
  font: 700 16px/1.2 var(--sans); color: #fff; text-decoration: none; text-align: center;
  background: var(--bronze-grad); background-size: 200% 100%;
  box-shadow: 0 12px 30px -12px rgba(122, 83, 46, .8), inset 0 1px 0 rgba(255,255,255,.35);
  transition: background-position .6s ease, transform .2s ease, box-shadow .2s;
}
.btn:hover { background-position: 100% 0; transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn-sm { --h: 42px; padding: 0 20px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- Шапка ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px var(--gutter);
  background: rgba(252, 248, 247, .9);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.topbar.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -26px rgba(122,58,66,.6); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo { width: 46px; height: auto; }
.brand-word { width: 128px; height: auto; margin-top: 2px; }
.topbar-right { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: rgba(255,255,255,.6); }
.lang button { border: 0; background: none; font: 700 12px/1 var(--sans); letter-spacing: .08em; color: var(--muted); padding: 8px 11px; border-radius: 999px; cursor: pointer; }
.lang button.is-active { background: var(--ink); color: #fff; }

/* ---------- 3D-слой ---------- */
#scene { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100lvh; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .9s ease; }
#scene.is-ready { opacity: 1; }
.scene-fallback { display: none; }
.no-webgl .scene-fallback { display: block; position: fixed; z-index: 0; right: 5vw; top: 54%; transform: translateY(-50%); width: 40vw; max-width: 540px; }
.no-webgl .scene-fallback img { filter: drop-shadow(0 26px 30px rgba(122, 58, 66, .28)); }

main, .footer { position: relative; z-index: 1; }

/* Секции-этапы прозрачные: 3D видно справа (компьютер) / сверху (телефон) */
.stage { min-height: 125vh; display: flex; align-items: center; padding: 110px 0 80px; }
.stage.hero { min-height: 100vh; min-height: 100svh; position: relative; }
.stage .panel { max-width: 540px; }
.stage.offer { min-height: 100vh; }

/* Сплошные секции закрывают сцену */
.solid { position: relative; background: var(--paper); padding: clamp(64px, 9vw, 120px) 0; overflow: hidden; }
.solid::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(800px 420px at 92% 0%, var(--blush-50) 0, transparent 70%), radial-gradient(700px 420px at 0% 100%, rgba(242,217,217,.55) 0, transparent 70%); }
.solid > .wrap { position: relative; }
/* цветок с упаковки в углу секции */
.solid.floral::after {
  content: ""; position: absolute; width: 170px; aspect-ratio: 608 / 1219; right: -24px; top: 30px; pointer-events: none;
  background: url("../img/art-flower.webp") center / contain no-repeat; opacity: .5;
}
.solid.floral.left::after { right: auto; left: -30px; top: auto; bottom: 20px; transform: scaleX(-1) rotate(8deg); }

/* ---------- Hero ---------- */
.hero-pills { list-style: none; padding: 0; margin: 22px 0 30px; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-pills li { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.78); border: 1px solid var(--line); }
.hero-pills li.gift { background: var(--ink); color: #fff; border-color: var(--ink); }
.hero-pills svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hero-pills li:not(.gift) svg { color: var(--bronze); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.stock-note { margin: 0; font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.stock-note b, .stock-bar b { color: #B0473A; font-size: 1.1em; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #D0654F; box-shadow: 0 0 0 0 rgba(208,101,79,.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(208,101,79,0); } 100% { box-shadow: 0 0 0 0 rgba(208,101,79,0); } }
.scroll-hint { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid var(--bronze); border-radius: 14px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--bronze); animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Проблемы ---------- */
.problems { list-style: none; padding: 0; margin: 24px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.problems li { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); font-weight: 600; font-size: 15px; line-height: 1.35; }
.problems .ico { flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: var(--blush); display: grid; place-items: center; }
.problems .ico::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--rose-deep); }

/* ---------- Система (что в комплекте) ---------- */
.trio { list-style: none; counter-reset: t; padding: 0; margin: 24px 0; }
.trio li { counter-increment: t; position: relative; padding: 16px 0 16px 60px; border-bottom: 1px solid var(--line); }
.trio li::before { content: "0" counter(t); position: absolute; left: 0; top: 12px; font: 500 34px/1 var(--serif); color: var(--bronze); }
.trio b { display: block; font: 500 23px/1.2 var(--serif); }
.trio span { color: var(--muted); font-size: 15px; }
.trio li.bonus::before { content: "+"; color: var(--rose-deep); left: 6px; }
.trio li.bonus b { color: var(--rose-deep); }

/* ---------- Панели продуктов ---------- */
.facts { list-style: none; padding: 0; margin: 22px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.facts li { padding: 14px 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.facts b { display: block; font: 500 19px/1.2 var(--serif); color: var(--bronze-deep); margin-bottom: 4px; }
.facts span { font-size: 13.5px; line-height: 1.4; color: var(--muted); display: block; }
.howto { position: relative; padding: 16px 18px 4px; border-radius: 16px; background: rgba(255,255,255,.72); border-left: 3px solid var(--bronze); }
.howto-label { display: block; font: 800 11px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--bronze-deep); margin-bottom: 8px; }
.howto p { font-size: 15px; }

/* ---------- Состав ---------- */
.ing-head { display: grid; grid-template-columns: 1fr 260px; gap: 32px; align-items: end; margin-bottom: 36px; }
.ing-head h3 { max-width: 640px; margin: 0; }
.ing-head .note { margin: 10px 0 0; }
.ing-photo { margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.ing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ing { padding: 24px 22px 10px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 30px -22px rgba(122,58,66,.45); transition: transform .3s, box-shadow .3s; }
.ing:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.ing::before { content: ""; display: block; width: 40px; height: 40px; margin-bottom: 14px; border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M5 19c0-8 5-13 14-14-1 9-6 14-14 14z'/%3E%3Cpath d='M5 19l8-8'/%3E%3C/svg%3E") center/20px no-repeat, var(--bronze-grad); }
.ing.drop::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M12 3s6 6.6 6 11a6 6 0 0 1-12 0c0-4.4 6-11 6-11z'/%3E%3C/svg%3E"), var(--bronze-grad); background-size: 20px, auto; background-position: center; background-repeat: no-repeat; }
.ing h4 { font-size: 22px; margin-bottom: 2px; }
.ing .latin { font-style: italic; font-family: var(--serif); color: var(--bronze); margin-bottom: 10px; }
.ing p:last-child { font-size: 14px; color: var(--muted); }

/* ---------- Схема дня ---------- */
.timeline { list-style: none; padding: 0; margin: 24px 0 18px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; background: linear-gradient(180deg, var(--bronze-light), var(--rose)); }
.timeline li { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 8px 0; }
.tl-ic { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 20px -14px rgba(122,58,66,.6); }
.tl-ic svg { width: 22px; height: 22px; fill: none; stroke: var(--bronze); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.timeline li.night .tl-ic { background: var(--ink); border-color: var(--ink); }
.timeline li.night .tl-ic svg { stroke: #F2D9D9; }
.tl-card { padding: 12px 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.tl-time { display: block; font: 700 12px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--rose-deep); }
.tl-card b { font: 500 18px/1.3 var(--serif); }

/* ---------- Видео врача ---------- */
.reviews .rev-box { position: relative; margin-top: 34px; }
.rev-track {
  display: flex; gap: clamp(12px, 2vw, 22px);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 4px 0 10px; scrollbar-width: none; -ms-overflow-style: none;
}
.rev-track::-webkit-scrollbar { display: none; }
.rev-card {
  position: relative; flex: 0 0 clamp(230px, 74vw, 320px); scroll-snap-align: center;
  aspect-ratio: 9 / 16; border-radius: 24px; overflow: hidden;
  background: #3B272A; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.rev-card img, .rev-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.rev-card img { object-fit: cover; }
.rev-play {
  position: absolute; inset: 0; width: 100%; border: 0; cursor: pointer;
  background: linear-gradient(180deg, rgba(59,39,42,.06) 0%, rgba(59,39,42,.5) 100%);
  display: grid; place-items: center; transition: background .3s;
}
.rev-play:hover { background: linear-gradient(180deg, rgba(59,39,42,.02) 0%, rgba(59,39,42,.4) 100%); }
.rev-play span {
  width: 64px; height: 64px; border-radius: 50%; background: var(--bronze-grad);
  box-shadow: 0 12px 30px -10px rgba(0,0,0,.6);
  display: grid; place-items: center; transition: transform .3s;
}
.rev-play span::after { content: ""; border-left: 18px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent; margin-left: 5px; }
.rev-play:hover span { transform: scale(1.08); }
.rev-cap { position: absolute; left: 14px; right: 14px; bottom: 14px; margin: 0; color: #fff; font: 600 14px/1.35 var(--sans); text-shadow: 0 1px 8px rgba(0,0,0,.45); pointer-events: none; }
.rev-cap small { display: block; font-weight: 500; opacity: .85; font-size: 12px; }
.rev-card.is-playing .rev-cap { display: none; }
.rev-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--line); background: rgba(255,251,250,.94); color: var(--bronze-deep);
  font: 400 26px/1 var(--sans); box-shadow: var(--shadow);
}
.rev-arrow:hover { background: #fff; }
.rev-prev { left: -10px; }
.rev-next { right: -10px; }
.rev-dots { display: flex; justify-content: center; gap: 8px; margin: 14px 0 26px; }
.rev-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: var(--blush); cursor: pointer; transition: width .3s, background .3s; }
.rev-dots button.is-active { width: 22px; border-radius: 999px; background: var(--bronze); }
.reviews .note { max-width: 560px; margin: 0 auto 26px; }
@media (min-width: 768px) { .rev-track { justify-content: center; } }

/* ---------- Ваучер ---------- */
.voucher-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(26px, 5vw, 70px); align-items: center; }
.voucher-card {
  position: relative; padding: clamp(24px, 3.4vw, 40px); border-radius: 18px; text-align: center;
  background: linear-gradient(160deg, #FFFFFF 0%, #FBF3F0 100%);
  border: 1px solid rgba(167,121,74,.4); box-shadow: 0 30px 70px -40px rgba(122,58,66,.6);
  transform: rotate(-2deg);
}
.voucher-card::before { content: ""; position: absolute; inset: 10px; border: 1.5px solid rgba(167,121,74,.55); border-radius: 12px; pointer-events: none; }
.voucher-card::after { content: ""; position: absolute; width: 96px; aspect-ratio: 608 / 1219; right: -44px; top: -70px; background: url("../img/art-flower.webp") center/contain no-repeat; opacity: .55; }
.v-brand { font: 500 22px/1 var(--serif); color: var(--bronze-deep); margin: 4px 0 2px; }
.v-motto { font: 700 10px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.v-title { font: 600 clamp(34px, 4.4vw, 52px)/1 var(--serif); letter-spacing: .02em; background: var(--bronze-grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin: 0 0 12px; }
.v-pill { display: inline-block; padding: 7px 16px; border-radius: 999px; background: var(--blush); color: var(--ink); font: 700 12px/1.2 var(--sans); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.v-term { display: inline-flex; align-items: baseline; gap: 8px; margin-top: 6px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 12px; font-size: 13px; color: var(--muted); }
.v-term b { font: 600 26px/1 var(--serif); color: var(--ink); }
.v-list { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 12px; }
.v-list li { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: start; padding: 14px 16px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.v-list .n { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font: 500 22px/1 var(--serif); color: #fff; background: linear-gradient(140deg, #9A6B45, #6E4A2E); }
.v-list b { display: block; font: 500 20px/1.25 var(--serif); }
.v-list span { font-size: 14px; color: var(--muted); }

/* ---------- Документы ---------- */
.trust-grid { display: grid; grid-template-columns: minmax(240px, 360px) 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; margin-top: 34px; }
.cert { margin: 0; }
.cert a { display: block; position: relative; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 14px 40px -26px rgba(122, 58, 66, .55); }
.cert img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s ease; }
.cert a:hover img { transform: scale(1.02); }
.cert a::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; pointer-events: none; background: linear-gradient(180deg, rgba(59,39,42,0) 0%, rgba(59,39,42,.25) 100%); }
.cert-zoom {
  position: absolute; right: 10px; bottom: 10px; z-index: 1;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(59, 39, 42, .82) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4-4M11 8v6M8 11h6'/%3E%3C/svg%3E") center / 20px no-repeat;
  transition: transform .25s;
}
.cert a:hover .cert-zoom { transform: scale(1.1); }
.cert figcaption { padding: 14px 2px 0; }
.cert figcaption b { display: block; font: 500 19px/1.25 var(--serif); margin-bottom: 4px; }
.cert figcaption span { font-size: 14px; color: var(--muted); }
.badges { list-style: none; padding: 0; margin: 0 0 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.badges li { display: flex; gap: 12px; align-items: center; padding: 16px; border-radius: 18px; border: 1px solid var(--line); background: #fff; font: 500 18px/1.25 var(--serif); color: var(--ink); }
.badges svg { flex: none; width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: var(--blush-50); fill: none; stroke: var(--bronze-deep); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.maker { display: flex; gap: 16px; align-items: center; padding: 18px; border-radius: 18px; background: var(--blush-50); border: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.maker img { width: 64px; height: auto; flex: none; }
.maker b { color: var(--ink); }
.maker p { margin: 0; }

/* ---------- Оффер / форма ---------- */
.form-panel { padding: clamp(24px, 3vw, 38px); border-radius: 28px; background: rgba(255, 252, 251, .93); border: 1px solid var(--line); box-shadow: var(--shadow); }
.offer-top { display: flex; gap: 18px; align-items: center; margin-bottom: 14px; }
.offer-top h2 { font-size: clamp(28px, 3vw, 40px); margin: 0; }
.offer-top .eyebrow { margin-bottom: 6px; }
.sale-badge { flex: none; display: grid; place-items: center; width: 86px; height: 86px; border-radius: 50%; background: var(--bronze-grad); color: #fff; font: 600 28px/1 var(--serif); box-shadow: 0 10px 26px -10px rgba(122,83,46,.85); transform: rotate(-8deg); }
.offer-sub { color: var(--muted); font-size: 15px; }
.gift-line { display: flex; gap: 12px; align-items: center; margin: 0 0 14px; padding: 12px 14px; border-radius: 16px; background: var(--blush-50); border: 1px dashed rgba(184,100,112,.5); font-size: 14px; line-height: 1.4; }
.gift-line svg { flex: none; width: 28px; height: 28px; fill: none; stroke: var(--rose-deep); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.gift-line b { color: var(--rose-deep); }
.price { display: flex; align-items: baseline; gap: 14px; margin: 6px 0 12px; }
.price s { color: var(--muted); font-size: 18px; }
.price b { font: 600 34px/1 var(--serif); color: var(--bronze-deep); }
.stock-bar { margin: 6px 0 8px; font-size: 14px; color: var(--muted); }
.stock-meter { height: 6px; border-radius: 6px; background: var(--blush); overflow: hidden; margin-bottom: 22px; }
.stock-meter span { display: block; height: 100%; width: 60%; border-radius: inherit; background: linear-gradient(90deg, #C9505E, #E59AA0); transition: width 1.2s ease; }
.lead-form { display: grid; gap: 14px; }
.field span { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: var(--muted); }
.field input { width: 100%; height: 54px; padding: 0 18px; border-radius: 14px; border: 1px solid rgba(167,121,74,.34); background: #fff; font: 500 17px var(--sans); color: var(--ink); outline: none; transition: border-color .2s, box-shadow .2s; }
.field input:focus { border-color: var(--bronze); box-shadow: 0 0 0 4px rgba(167,121,74,.16); }
.field input.is-invalid { border-color: #C0533F; box-shadow: 0 0 0 4px rgba(192,83,63,.12); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-msg { margin: 0; font-size: 14px; color: #B0473A; }
.form-msg:empty { display: none; }
.form-hint { margin: 0; font-size: 13px; color: var(--muted); text-align: center; }
#order-form { scroll-margin-top: 84px; }

/* ---------- FAQ ---------- */
.faq h2 { margin-bottom: 30px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font: 500 21px/1.3 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 1.5px solid var(--bronze); border-bottom: 1.5px solid var(--bronze); transform: translateY(-70%) rotate(45deg); transition: transform .3s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--muted); padding-bottom: 12px; }
.faq-cta { margin-top: 36px; }

/* ---------- Подвал ---------- */
.footer { background: #3B272A; color: #EEDCDA; text-align: center; padding: 50px 0 110px; }
.footer-logos { display: flex; justify-content: center; align-items: center; gap: 16px; margin-bottom: 14px; }
.footer-logos img { height: auto; }
.footer-logos img:first-child { width: 64px; }
.footer-logos img:last-child { width: 150px; filter: brightness(1.55) saturate(.8); }
.footer-slogan { font-family: var(--serif); font-style: italic; font-size: 20px; }
.footer a { color: var(--bronze-light); text-decoration: none; }
.footer .phone { font: 500 24px/1.2 var(--serif); }
.footer .small { font-size: 12px; opacity: .72; max-width: 680px; margin: 18px auto 0; }

/* ---------- Липкая кнопка (телефон) ---------- */
.sticky-cta { position: fixed; z-index: 40; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); display: none; transform: translateY(140%); transition: transform .4s ease; }
.sticky-cta.is-visible { transform: none; }

/* ---------- Появление ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Просмотр документа ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: clamp(12px, 3vw, 36px); background: rgba(40, 26, 28, .92); animation: lbIn .25s ease; }
.lightbox[hidden] { display: none; }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox img { max-width: min(100%, 900px); max-height: 86vh; width: auto; height: auto; border-radius: 10px; background: #fff; box-shadow: 0 30px 80px -30px #000; object-fit: contain; }
.lb-close, .lb-nav { position: absolute; z-index: 2; display: grid; place-items: center; cursor: pointer; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.12); color: #fff; font: 400 30px/1 var(--sans); transition: background .2s; }
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,.26); }
.lb-close { top: 16px; right: 16px; font-size: 26px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-caption { position: absolute; left: 0; right: 0; bottom: 14px; margin: 0; text-align: center; color: #F3E3E1; font-size: 13px; padding: 0 70px; }
.lb-caption a { color: var(--bronze-light); text-decoration: underline; text-underline-offset: 3px; }

/* ================= Адаптив ================= */
@media (max-width: 1080px) {
  .ing-grid { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: 1fr; }
  .facts li { display: flex; gap: 12px; align-items: baseline; }
  .facts b { margin: 0; min-width: 118px; }
  .voucher-grid, .trust-grid { grid-template-columns: 1fr; }
  .voucher-card { max-width: 520px; margin: 0 auto; }
  .trust-grid .cert { max-width: 360px; margin: 0 auto; width: 100%; }
}

@media (max-width: 767px) {
  body { font-size: 15px; }
  .topbar { padding: 8px 14px; }
  .brand-logo { width: 38px; }
  .brand-word { width: 104px; }
  .topbar .btn-sm { display: none; }
  #order-form { scroll-margin-top: 66px; }

  /* Модель — в верхней части экрана, карточка текста въезжает снизу */
  .stage { min-height: 0; display: block; padding: 58vh 0 40px; padding: 58svh 0 40px; }
  .stage .panel { padding: 22px 18px 8px; border-radius: 24px; background: rgba(255, 251, 250, .93); border: 1px solid var(--line); box-shadow: var(--shadow); }
  .stage.offer { padding-top: 46svh; }
  .stage .form-panel { padding: 22px 18px; }
  h1 { font-size: 36px; }
  h2 { font-size: 31px; }
  .problems { grid-template-columns: 1fr; }
  .problems li { padding: 11px 14px; }
  .facts b { min-width: 104px; font-size: 17px; }
  .ing-head { grid-template-columns: 1fr; gap: 18px; }
  .ing-photo { aspect-ratio: 16 / 11; }
  .ing-grid { grid-template-columns: 1fr; gap: 12px; }
  .ing { padding: 18px 18px 6px; display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; }
  .ing::before { grid-row: span 3; margin: 0; }
  .badges { grid-template-columns: 1fr; }
  .badges li { font-size: 17px; padding: 12px 14px; }
  .sale-badge { width: 68px; height: 68px; font-size: 22px; }
  .faq summary { font-size: 18px; }
  .sticky-cta { display: flex; }
  .scroll-hint { display: none; }
  .rev-arrow { display: none; }
  .rev-track { padding-inline: 2vw; }
  .rev-play span { width: 54px; height: 54px; }
  .voucher-card { transform: none; }
  .solid.floral::after { width: 110px; opacity: .35; }
  .backdrop::after { width: 70vw; opacity: .12; }

  /* первый экран: модель сверху ~36%, CTA должен быть виден сразу */
  .stage.hero { padding-top: 36svh; padding-bottom: 20px; min-height: 100svh; display: flex; align-items: flex-start; }
  .stage.hero .panel { padding: 18px 16px 16px; }
  .stage.hero .eyebrow { margin-bottom: 8px; font-size: 11px; }
  .stage.hero h1 { font-size: clamp(29px, 8.4vw, 36px); margin-bottom: .3em; }
  .stage.hero .lead { font-size: 14px; line-height: 1.5; margin-bottom: 0; }
  .hero-pills { margin: 12px 0 14px; gap: 6px; }
  .hero-pills li { font-size: 12px; padding: 6px 10px; }
  .hero-cta { gap: 10px; }
  .hero-cta .btn { width: 100%; }
  .stock-note { font-size: 13px; }
  .no-webgl .scene-fallback { left: 50%; right: auto; top: 70px; transform: translateX(-50%); width: min(76vw, 320px); }
  .lightbox img { max-height: 78vh; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
  .lb-close { top: 10px; right: 10px; }
  .lb-caption { bottom: 8px; padding: 0 16px; font-size: 12px; }
}
@media (max-width: 767px) and (max-height: 700px) {
  .stage.hero .lead { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Фото товара без фона ---------- */
.cut-card {
  background: radial-gradient(60% 55% at 50% 42%, #FFFFFF 0%, rgba(255,255,255,0) 70%), linear-gradient(170deg, #FBF4F4 0%, #EFCFD1 100%);
  display: grid; place-items: center;
}
.cut-card { position: relative; }
.cut-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 7%; filter: drop-shadow(0 18px 22px rgba(122, 58, 66, .25)); }

/* ================= Правки 29.09 ================= */

/* Большие экраны: секции-этапы не растягиваются на 125vh — иначе между экранами пустота */
.stage { min-height: 0; padding: clamp(70px, 10vh, 120px) 0; }
.stage.hero { min-height: 100vh; min-height: 100svh; }
.stage.offer { min-height: 0; padding: clamp(90px, 12vh, 140px) 0; }
.solid { padding: clamp(56px, 7vw, 100px) 0; }

/* ---------- Карточки болей (фото-иконки как на umalife.uz) ---------- */
.pains .lead { margin: 0 auto 36px; max-width: 760px; }
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); }
.pain-card { padding: 26px 24px 22px; border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: 0 14px 40px -28px rgba(122,58,66,.5); transition: transform .3s, box-shadow .3s; }
.pain-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pain-ic { display: block; width: 88px; height: 88px; border-radius: 22px; overflow: hidden; margin-bottom: 18px; background: var(--blush-50); border: 1px solid var(--line); }
.pain-ic img { width: 100%; height: 100%; object-fit: cover; }
.pain-card h3 { font-size: 23px; margin-bottom: 8px; }
.pain-card p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--muted); }
.pains-note { max-width: 640px; margin: 30px auto 0; }

/* ---------- Письменные отзывы ---------- */
.rw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); margin-top: 34px; }
.rw-card { display: flex; flex-direction: column; padding: 24px 24px 20px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: 0 14px 40px -28px rgba(122,58,66,.5); }
.rw-stars { color: #D2A05A; letter-spacing: 2px; font-size: 17px; margin-bottom: 10px; }
.rw-stars i { font-style: normal; color: #E6D5C4; }
.rw-text { flex: 1; font-size: 15px; line-height: 1.65; color: var(--ink); margin-bottom: 18px; }
.rw-who { display: flex; gap: 12px; align-items: center; padding-top: 14px; border-top: 1px solid var(--line); }
.rw-av { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font: 500 19px/1 var(--serif); color: #fff; background: linear-gradient(140deg, var(--rose), var(--rose-deep)); }
.rw-who b { display: block; font-size: 15px; }
.rw-who div span { display: block; font-size: 13px; color: var(--muted); }
.rw-cta { margin-top: 34px; }

/* ---------- Доверие без сертификата ---------- */
.trust-grid { grid-template-columns: 1fr; max-width: 980px; margin-inline: auto; }
.trust-grid .badges { grid-template-columns: repeat(4, 1fr); }
.trust-grid .badges li { flex-direction: column; text-align: center; gap: 10px; }

@media (max-width: 1080px) {
  .pain-grid, .rw-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid .badges { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .stage { min-height: 0; padding: 58svh 0 40px; }
  .stage.hero { min-height: 100svh; padding-top: 36svh; padding-bottom: 20px; }
  .stage.offer { min-height: 0; padding-top: 46svh; }
  .pain-grid { grid-template-columns: 1fr; gap: 12px; }
  .pain-card { display: grid; grid-template-columns: 64px 1fr; column-gap: 14px; padding: 16px; border-radius: 20px; }
  .pain-ic { width: 64px; height: 64px; border-radius: 16px; margin: 0; grid-row: span 2; }
  .pain-card h3 { font-size: 19px; margin-bottom: 4px; }
  .pain-card p { font-size: 14px; }
  /* отзывы — горизонтальная лента */
  .rw-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 12px; scrollbar-width: none; }
  .rw-grid::-webkit-scrollbar { display: none; }
  .rw-card { flex: 0 0 84%; scroll-snap-align: center; }
  .trust-grid .badges li { flex-direction: row; text-align: left; }
}

/* ---------- Видео: метка «Врач / Отзыв»; центрирование ленты без обрезки слева при переполнении ---------- */
@media (min-width: 768px) { .rev-track { justify-content: flex-start; } }
.rev-track > .rev-card:first-child { margin-left: auto; }
.rev-track > .rev-card:last-child { margin-right: auto; }
.rev-tag { position: absolute; z-index: 1; top: 12px; left: 12px; padding: 6px 11px; border-radius: 999px; font: 700 11px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); background: rgba(255,251,250,.92); pointer-events: none; }
.rev-tag.doc { color: #fff; background: var(--navy); }
.rev-card.is-playing .rev-tag { display: none; }
/* этап сразу после сплошной секции: больше воздуха сверху, чтобы секция выше не закрывала 3D */
@media (min-width: 768px) { #system { padding-top: clamp(110px, 16vh, 190px); } }

/* ---------- Форма: выбор проблемы ---------- */
.field select {
  width: 100%; height: 54px; padding: 0 44px 0 18px; border-radius: 14px; border: 1px solid rgba(167,121,74,.34);
  font: 500 16px var(--sans); color: var(--ink); outline: none; cursor: pointer; appearance: none; -webkit-appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A7794A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 20px no-repeat;
  transition: border-color .2s, box-shadow .2s;
}
.field select { text-overflow: ellipsis; }
.field select:focus { border-color: var(--bronze); box-shadow: 0 0 0 4px rgba(167,121,74,.16); }
