/* v10 «Брендоване весілля» — общее для обеих вёрсток.
   Раскладка компьютера — v10-d.css, телефона — v10-m.css (по html[data-layout]). */

:root {
  --bg: #f5f0e7;
  --bg2: #ece5d8;
  --card: #fbf8f2;
  --ink: #1d1b17;
  --mute: #685f54;
  --line: rgba(29, 27, 23, .14);
  --gold: #8c6a35;
  --btn: #1d1b17;
  --btn-ink: #f8f3ea;
  /* коробочка: плотный кремовый картон с золотым тиснением — одинакова в обеих темах */
  --lid: #f3ece0;
  --lid-edge: #e3d8c5;
  --foil: #8f6c36;
  /* «стол» под светлым изделием — тёмный, под тёмным — светлый (в любой теме) */
  --stage-dark: #1e2420;
  --stage-dark2: #2a312c;
  --stage-light: #ece5d8;
  --stage-light2: #f7f2e9;
  --wed: #efe6d2;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --rad: 14px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12110f;
    --bg2: #1a1916;
    --card: #1d1b18;
    --ink: #f1ebe0;
    --mute: #a99f92;
    --line: rgba(241, 235, 224, .15);
    --gold: #d0ad72;
    --btn: #f1ebe0;
    --btn-ink: #15130f;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.still { scroll-behavior: auto; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--sans); overflow-x: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.fatal { padding: 24px; }
.boot { min-height: 100vh; display: grid; place-items: center; }
.boot span { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--gold); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.skip { position: absolute; left: 8px; top: -60px; background: var(--btn); color: var(--btn-ink); padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { top: 8px; }

/* шапка */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 14px; padding: 12px 32px;
  background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.logo { display: flex; align-items: baseline; gap: 10px; text-decoration: none; margin-right: auto; min-width: 0; }
.logo b { font: 600 20px/1 var(--serif); letter-spacing: .01em; }
.logo span { font-size: 12px; color: var(--mute); letter-spacing: .08em; text-transform: uppercase; }
.lang { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-decoration: none; padding: 8px 10px; border: 1px solid var(--line); border-radius: 999px; min-height: 36px; display: inline-flex; align-items: center; }

/* кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 20px; border-radius: 999px;
  border: 1px solid transparent; text-decoration: none; font-weight: 600; cursor: pointer; text-align: center; line-height: 1.25;
  transition: transform .25s var(--ease), background .25s, box-shadow .25s; }
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--btn); color: var(--btn-ink); }
.btn.primary:hover { box-shadow: 0 8px 24px -10px rgba(0, 0, 0, .45); }
.btn.ghost { border-color: var(--line); background: transparent; }
.btn.ghost:hover { border-color: var(--gold); }
.btn.link { background: none; padding-inline: 4px; text-decoration: underline; text-underline-offset: 4px; font-weight: 500; }
.btn.small { min-height: 38px; padding: 6px 16px; font-size: 14px; }
.btn.big { min-height: 54px; padding: 12px 28px; font-size: 17px; }
.acts { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* типографика */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -.01em; margin: 0; }
h2 { font-size: clamp(30px, 3.6vw, 50px); line-height: 1.08; max-width: 22ch; }
h3.sub { font: 600 12px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin: 22px 0 10px; }
.eyebrow { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; font-weight: 600; }
.lead { font-size: 18px; color: var(--mute); max-width: 56ch; margin: 14px 0 0; }
.demo-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--gold); color: var(--gold); vertical-align: middle; }

/* кинетика: слова выезжают из масок (маска с запасом под выносы глифов) */
.kin .w { display: inline-block; clip-path: inset(-0.15em -0.2em -0.25em -0.2em); vertical-align: top; }
.kin .wi { display: inline-block; transform: translateY(110%); transition: transform .9s var(--ease) var(--d, 0ms); }
.kin.in .wi { transform: none; }
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease) var(--d, 0ms), transform .7s var(--ease) var(--d, 0ms); }
.rv.in { opacity: 1; transform: none; }

main > section { padding: 96px 32px; max-width: 1240px; margin: 0 auto; }

/* ---------------------------------------------------------- герой */
.hero-t { font-size: clamp(44px, 6.4vw, 92px); line-height: .98; letter-spacing: -.02em; }
.hero-t .ln { display: block; clip-path: inset(-0.15em -0.2em -0.28em -0.2em); }
.hero-t .ln:nth-child(2) { font-style: italic; color: var(--gold); }
.hero-t .lni { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease) var(--d, 0ms); }
.ready .hero-t .lni { transform: none; }

.hero-stage { position: relative; display: grid; place-items: center; border-radius: 22px; overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none;
  background: radial-gradient(120% 90% at 50% 30%, var(--stage-dark2), var(--stage-dark) 70%); color: #efe7da; }
.hero-drag { position: absolute; left: 0; right: 0; bottom: 12px; margin: 0; text-align: center; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; opacity: .6; pointer-events: none; }
.tilt { perspective: 900px; width: 100%; display: grid; place-items: center; }
.tilt-in { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease); transform-style: preserve-3d; }
.tilt.held .tilt-in { transition: transform .08s linear; }

.mono-form { display: grid; grid-template-columns: 104px auto 104px 1fr; align-items: end; gap: 10px; margin-top: 4px; }
.f { display: grid; gap: 6px; font-size: 12px; color: var(--mute); letter-spacing: .04em; }
.f input { border: 1px solid var(--line); background: var(--card); border-radius: 12px; min-height: 52px; padding: 8px 12px; width: 100%; min-width: 0; }
.f input:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 25%, transparent); }
.in-l { font: 500 30px/1 var(--serif) !important; text-align: center; text-transform: uppercase; }
.amp { font: italic 30px/52px var(--serif); color: var(--gold); text-align: center; }
.field-err { min-height: 1.4em; margin: 6px 0 0; color: #b0412c; font-size: 14px; }
.couple { margin: 2px 0 18px; font-family: var(--serif); font-size: 18px; }
.couple small { font-family: var(--sans); font-size: 13px; color: var(--mute); }
.hero-status { min-height: 1.5em; margin: 14px 0 0; font-family: var(--serif); font-size: 18px; }

/* ---------------------------------------------------------- коробочка */
.bx { position: relative; display: block; aspect-ratio: 1; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.bx-nest { position: absolute; inset: 0; border-radius: 8px; display: grid; place-items: center; overflow: hidden;
  box-shadow: inset 0 0 0 5px var(--lid-edge), inset 0 0 0 6px rgba(0, 0, 0, .12), 0 10px 22px -12px rgba(0, 0, 0, .55); z-index: 1; }
.bx-nest[data-tone="dark"] { background: radial-gradient(circle at 50% 45%, #3a352e, #1f1c18 75%); }
.bx-nest[data-tone="light"] { background: radial-gradient(circle at 50% 45%, #fbf7ef, #e3dacb 75%); }
.bx-nest .cdl { width: 74%; height: auto; }
.bx-lid { position: absolute; inset: -2%; z-index: 2; border-radius: 6px; background: linear-gradient(145deg, #f8f2e7, var(--lid) 55%, #e9e0d0);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 14px 30px -14px rgba(0, 0, 0, .6), 0 0 0 1px rgba(0, 0, 0, .06);
  transition: transform .8s var(--ease), opacity .6s ease .15s, box-shadow .6s; color: var(--foil); }
.bx:hover .bx-lid { transform: translateY(-2%); }
.bx.open .bx-lid { transform: translate(30%, -34%) rotate(14deg); opacity: 0; pointer-events: none; }
.bx-hero { width: min(64vw, 340px); }
.bx-hero.open .bx-lid { transform: translate(46%, -40%) rotate(12deg) scale(.86); opacity: .9; z-index: 0; box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .7); }
.bx-hero.open .bx-nest .cdl { animation: rise .9s var(--ease) both; }
@keyframes rise { from { transform: scale(.7) translateY(10%); opacity: 0; } to { transform: none; opacity: 1; } }
.bx.secret.open .bx-nest { box-shadow: inset 0 0 0 5px #d8b878, inset 0 0 0 6px rgba(0, 0, 0, .12), 0 0 0 2px #d8b878, 0 0 26px 2px rgba(216, 184, 120, .55); }
.bx.secret.open .bx-nest::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 246, 220, .55) 48%, transparent 62%);
  transform: translateX(-120%); animation: glint 2.6s ease .3s infinite; pointer-events: none; }
@keyframes glint { 0% { transform: translateX(-120%); } 45%, 100% { transform: translateX(120%); } }

/* крышка: монограмма «тушью» */
.lid { width: 100%; height: 100%; }
.lid-frame { fill: none; stroke: currentColor; stroke-width: 1.4; }
.lid-frame2 { fill: none; stroke: currentColor; stroke-width: .6; opacity: .7; }
.lid-l { font-family: var(--serif); font-size: 76px; fill: currentColor; }
.lid-amp { font-family: var(--serif); font-style: italic; font-size: 30px; fill: currentColor; opacity: .85; }
.lid-d { font-family: var(--sans); font-size: 11px; letter-spacing: 3px; fill: currentColor; }
.lid-sprig { fill: none; stroke: currentColor; stroke-width: .9; opacity: .8; }
.lid-s .lid-frame2 { display: none; }
.lid-s .lid-d { font-size: 13px; letter-spacing: 2px; }
.lid.draw .lid-frame, .lid.draw .lid-frame2, .lid.draw .lid-sprig { stroke-dasharray: 1; stroke-dashoffset: 1; animation: dash 1.8s var(--ease) forwards; }
.lid.draw .lid-frame2 { animation-delay: .25s; }
.lid.draw .lid-sprig { animation-delay: 1.3s; }
.lid.draw .lid-l, .lid.draw .lid-amp { stroke: currentColor; stroke-width: .9; fill-opacity: 0; stroke-dasharray: 320; stroke-dashoffset: 320; animation: ink 2s ease .45s forwards; }
.lid.draw .lid-b { animation-delay: .8s; }
.lid.draw .lid-amp { animation-delay: .65s; }
.lid.draw .lid-d { opacity: 0; animation: fade .8s ease 1.6s forwards; }
.lid .ink { transform-box: fill-box; transform-origin: 50% 80%; animation: swap .75s var(--ease); }
@keyframes dash { to { stroke-dashoffset: 0; } }
@keyframes ink { 65% { stroke-dashoffset: 0; fill-opacity: 0; } 100% { stroke-dashoffset: 0; fill-opacity: 1; stroke-width: 0; } }
@keyframes fade { to { opacity: 1; } }
@keyframes swap { from { opacity: 0; transform: translateY(18%) scale(.92); filter: blur(3px); } to { opacity: 1; transform: none; filter: none; } }

/* ---------------------------------------------------------- палитра */
.pal-ready { display: flex; flex-wrap: wrap; gap: 10px; }
.pr { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 14px 6px 6px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); cursor: pointer; }
.pr[aria-checked="true"] { border-color: var(--gold); box-shadow: 0 0 0 2px color-mix(in srgb, var(--gold) 40%, transparent); }
.pr-sw { display: flex; }
.pr-sw i { width: 24px; height: 36px; display: block; border: 1px solid rgba(0, 0, 0, .08); }
.pr-sw i:first-child { border-radius: 999px 0 0 999px; }
.pr-sw i:last-child { border-radius: 0 999px 999px 0; }
.pr-n { font-family: var(--serif); font-size: 17px; }
.pal-own { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 14px 6px 6px; border-radius: 999px; border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 14px; }
.chip i { width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .12); position: relative; }
.chip[aria-pressed="true"] { border-color: var(--ink); background: var(--card); }
.chip[aria-pressed="true"] i::after { content: ""; position: absolute; left: 10px; top: 6px; width: 7px; height: 13px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.chip[aria-pressed="true"][data-tone="dark"] i::after { border-color: #1d1b17; }
.pal-count { margin: 12px 0 0; color: var(--mute); font-size: 14px; }
.shake { animation: shake .4s; color: #b0412c !important; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

/* ---------------------------------------------------------- стол гостей */
.tbl-wrap { border-radius: 26px; padding: 4%; transition: background .6s; overflow: clip; }
main { overflow-x: clip; }
.tbl { position: relative; width: 100%; max-width: 500px; aspect-ratio: 1; margin: 0 auto; }
.tbl-top { position: absolute; inset: 13%; border-radius: 50%; transition: background .6s, box-shadow .6s; }
.tbl[data-tone="dark"] .tbl-top { background: radial-gradient(circle at 45% 40%, #34403a, var(--stage-dark) 72%); box-shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 30px 60px -30px rgba(0, 0, 0, .7); }
.tbl[data-tone="light"] .tbl-top { background: radial-gradient(circle at 45% 40%, var(--stage-light2), var(--stage-light) 75%); box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 30px 60px -30px rgba(0, 0, 0, .35); }
.tbl-c { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 40%; text-align: center; display: grid; gap: 4px; pointer-events: none; }
.tbl[data-tone="dark"] .tbl-c { color: #e8d7b4; }
.tbl[data-tone="light"] .tbl-c { color: #6e5428; }
.tc-m { font: 500 clamp(24px, 6vw, 44px)/1 var(--serif); }
.tc-s { font-size: clamp(10px, 2.6vw, 13px); letter-spacing: .08em; text-transform: uppercase; opacity: .85; line-height: 1.3; }
.seat { position: absolute; left: var(--x); top: var(--y); width: var(--seat); transform: translate(-50%, -50%); }
.seat.deal { animation: deal .6s var(--ease) both; animation-delay: calc(var(--i) * 45ms); }
@keyframes deal { from { opacity: 0; transform: translate(-50%, -50%) scale(.6) rotate(-12deg); } }
.seat.sel .bx-nest { outline: 3px solid var(--gold); outline-offset: 3px; }
.seat .cdl { width: 82%; }
.tbl-status { margin: 18px 0 4px; font-size: 16px; }
.tbl-status .found { color: var(--gold); font-weight: 600; }
.tbl-last { min-height: 3em; margin: 0; font-family: var(--serif); font-size: 17px; }
.range { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; margin-top: 18px; font-size: 14px; color: var(--mute); }
.range input { grid-column: 1 / -1; width: 100%; accent-color: var(--gold); min-height: 32px; touch-action: pan-y; }
.out { font: 600 18px/1 var(--serif); color: var(--ink); grid-row: 1; grid-column: 2; }
.out.big { font-size: 34px; }
.chance { margin: 14px 0 0; font: 500 20px/1.3 var(--serif); }
.secret-is { margin: 6px 0 0; color: var(--mute); }
.hint { color: var(--mute); font-size: 14px; margin: 14px 0 0; }
.tbl-note { font-size: 13px; color: var(--mute); }

/* ---------------------------------------------------------- 3D монограммы */
.relief-fig { margin: 0; }
.r3-stage { position: relative; aspect-ratio: 1; border-radius: 22px; overflow: hidden; transition: background .5s; }
.r3-stage[data-tone="dark"] { background: radial-gradient(120% 90% at 50% 25%, var(--stage-dark2), var(--stage-dark) 70%); color: #f1ebe0; }
.r3-stage[data-tone="light"] { background: radial-gradient(120% 90% at 50% 25%, var(--stage-light2), var(--stage-light) 70%); color: #1d1b17; }
.r3-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.r3-stage.busy .r3-canvas { opacity: .55; transition: opacity .3s; }
/* нарушение: модель видна (не гасим в черноту), проблему показывает красная рамка сцены */
.r3-stage.stale .r3-canvas, .r3-stage.stale .r3-flat { opacity: .8; filter: saturate(.55); }
.r3-stage::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 0 transparent; transition: box-shadow .3s; }
.r3-stage.stale::after { box-shadow: inset 0 0 0 2px #e0785c, inset 0 0 48px -8px rgba(224, 120, 92, .45); }
/* макет вместо модели: холст прячем, чтобы не просвечивала старая сцена */
.r3-stage.flat-on .r3-canvas, .r3-stage.flat-on .r3-hint { visibility: hidden; }
.r3-flat { position: absolute; inset: 14%; display: grid; place-items: center; transition: opacity .3s; }
.r3-stage.busy .r3-flat { opacity: .55; animation: r3-breathe 1.6s ease-in-out infinite; }
@keyframes r3-breathe { 50% { opacity: .8; } }
.r3-flat .cdl { width: 100%; height: auto; }
.r3-pill { position: absolute; left: 12px; top: 12px; margin: 0; padding: 6px 12px; border-radius: 999px; font-size: 13px; max-width: calc(100% - 24px);
  background: color-mix(in srgb, currentColor 14%, transparent); backdrop-filter: blur(6px); }
.r3-pill[data-state="ok"]::before { content: "● "; color: #6cbf8c; }
.r3-pill[data-state="bad"]::before { content: "● "; color: #e0785c; }
.r3-pill[data-state="wait"]::before { content: "● "; color: #d8b878; }
.r3-pill[data-state="off"]::before { content: "○ "; opacity: .7; }
.r3-pill:empty { display: none; }
.r3-hint { position: absolute; bottom: 10px; left: 0; right: 0; text-align: center; margin: 0; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; opacity: .55; pointer-events: none; }
.touched .r3-hint { display: none; }
.r3-proto { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; margin: 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.r3-proto dt { color: var(--mute); font-size: 14px; }
.r3-proto dd { margin: 0; font-family: var(--serif); font-size: 17px; overflow-wrap: anywhere; }
.r3-proto dd[data-ok="true"] { color: #2f7a52; }
.r3-proto dd[data-ok="false"] { color: #b0412c; }
@media (prefers-color-scheme: dark) { .r3-proto dd[data-ok="true"] { color: #7fd0a2; } .r3-proto dd[data-ok="false"] { color: #f09479; } }
.r3-problems { margin: 12px 0 0; padding-left: 18px; color: #b0412c; }
@media (prefers-color-scheme: dark) { .r3-problems { color: #f09479; } }
.r3-tip, .r3-tips { color: var(--mute); font-size: 15px; }
.r3-tips h4 { margin: 14px 0 4px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.r3-tips ul { margin: 0; padding-left: 18px; }
.truths { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.truths li { display: grid; gap: 4px; padding: 16px 18px; border-radius: var(--rad); background: var(--card); border: 1px solid var(--line); }
.truths b { font-family: var(--serif); font-weight: 500; font-size: 20px; }
.truths span { color: var(--mute); }

/* ---------------------------------------------------------- «Наш вечір» */
.eve-box { display: grid; place-items: center; gap: 14px; }
.eve-lid { position: relative; width: min(100%, 360px); aspect-ratio: 4 / 3; border-radius: 10px; display: grid; place-items: center; align-content: center; gap: 16px;
  background: linear-gradient(150deg, #3b3a3c, #252427 60%, #1c1b1e); box-shadow: 0 30px 50px -28px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(255, 255, 255, .06); color: #e6d3ad; }
.eve-lid::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 14px; transform: translateY(-50%); background: linear-gradient(#a8844a, #d8b878, #a8844a); opacity: .85; }
.seal { position: relative; z-index: 1; width: 92px; height: 92px; border-radius: 50%; border: 0; cursor: pointer;
  background: radial-gradient(circle at 38% 34%, #d77a5a, #a3442b 60%, #7e301d); box-shadow: 0 6px 14px rgba(0, 0, 0, .45), inset 0 -4px 8px rgba(0, 0, 0, .3);
  color: #f6d9c5; font: 500 30px/1 var(--serif); letter-spacing: .02em; }
.seal span { display: block; text-shadow: 0 -1px 0 rgba(0, 0, 0, .35), 0 1px 0 rgba(255, 255, 255, .25); }
.wobble { animation: wobble .6s; }
@keyframes wobble { 20% { transform: rotate(-9deg); } 45% { transform: rotate(7deg); } 70% { transform: rotate(-4deg); } }
.eve-date { position: relative; z-index: 1; margin: 0; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; background: #252427; padding: 4px 12px; border-radius: 4px; }
.eve-msg { min-height: 1.5em; margin: 0; font-family: var(--serif); font-size: 18px; text-align: center; }

/* ---------------------------------------------------------- путь набора */
.plan-list { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 12px; }
.step { display: grid; gap: 6px; align-content: start; padding: 20px; border-radius: var(--rad); background: var(--card); border: 1px solid var(--line); }
.step-n { font: italic 500 30px/1 var(--serif); color: var(--gold); }
.step b { font-family: var(--serif); font-weight: 500; font-size: 20px; }
.step span:last-child { color: var(--mute); font-size: 15px; }
.plan-nav { display: none; }

/* ---------------------------------------------------------- сколько */
.count-dl { display: grid; grid-template-columns: 1fr auto; gap: 12px 18px; margin: 26px 0 0; padding: 0; }
.count-dl dt { color: var(--mute); }
.count-dl dd { margin: 0; font: 500 22px/1.2 var(--serif); text-align: right; }
.price { margin: 22px 0 0; font: italic 500 20px/1.35 var(--serif); }
.soap { color: var(--mute); }

/* ---------------------------------------------------------- заявка */
.cta { display: grid; gap: 28px; }
.cta-art { width: min(52vw, 260px); aspect-ratio: 1; padding: 0; border-radius: 6px; color: var(--foil);
  background: linear-gradient(145deg, #f8f2e7, var(--lid) 55%, #e9e0d0); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); transform: rotate(-4deg); }
.cta .acts { margin-top: 24px; }
.share-msg { min-height: 1.4em; margin: 10px 0 0; color: var(--gold); }
.note { color: var(--mute); font-size: 14px; }
.foot { padding: 36px 32px 110px; text-align: center; color: var(--mute); font-size: 13px; border-top: 1px solid var(--line); }

.dock { display: none; }

/* ---------------------------------------------------------- без движения */
.still .kin .wi, .still .hero-t .lni, .still .rv { transform: none !important; opacity: 1 !important; transition: none !important; }
.still *, .still *::before, .still *::after { animation: none !important; transition-duration: .01ms !important; }
.still .lid .lid-l, .still .lid .lid-amp, .still .lid .lid-d { fill-opacity: 1 !important; opacity: 1 !important; stroke-width: 0 !important; }
.still .lid-frame, .still .lid-frame2, .still .lid-sprig { stroke-dashoffset: 0 !important; }
@media (prefers-reduced-motion: reduce) {
  .kin .wi, .hero-t .lni, .rv { transform: none !important; opacity: 1 !important; transition: none !important; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .lid .lid-l, .lid .lid-amp, .lid .lid-d { fill-opacity: 1 !important; opacity: 1 !important; stroke-width: 0 !important; }
  .lid-frame, .lid-frame2, .lid-sprig { stroke-dashoffset: 0 !important; }
}

/* пак: цена из API (мелко — «Демонстраційні ціни»), живой итог у ползунка гостей */
.pk-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 18px 0 0; }
.pk-price[hidden] { display: none; }
.pk-price .pk-v { font: 500 22px/1.3 var(--serif); }
.pk-price .pk-demo, .demo-mark { font: 400 12px/1.3 var(--sans, inherit); color: var(--mute); letter-spacing: .02em; }
.cta .pk-price { margin-top: 14px; }
