/* ═══════════════════════════════════════════════════════════════
   Світ каменю — памʼятники з граніту, Бердичів
   Палітра з логотипа: шоколадний оксамит · слонова кістка · золото
   Шрифти: Alice (заголовки) + Alegreya Sans (текст)
   ═══════════════════════════════════════════════════════════════ */
:root {
  --choc-950: #170f0c;
  --choc-900: #1f1511;
  --choc-800: #2a1c17;
  --choc-700: #3a2721;
  --choc-600: #4e362d;
  --choc-500: #6b4c40;
  --ivory: #f5eee3;
  --paper: #faf6ef;
  --cream: #ebdfcc;
  --sand: #d9c8ae;
  --gold: #c9a46b;
  --gold-2: #e3c992;
  --gold-d: #9c7744;
  --ink: #2a1c17;
  --muted: #76645a;
  --muted-l: #b9a796;
  --line: rgba(42, 28, 23, .14);
  --line-l: rgba(245, 238, 227, .16);
  --red: #b4432e;
  --ff-d: 'EB Garamond', 'Times New Roman', serif;
  --ff: 'Alegreya Sans', 'Segoe UI', system-ui, sans-serif;
  --r: 4px;
  --r-lg: 6px;
  --pad: clamp(16px, 4.6vw, 64px);
  --sec: clamp(56px, 8vw, 96px);
  --max: 1320px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --hdr: 118px;
  /* «оксамитова» текстура шоколадного тла, як на вивісці */
  --velvet: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.35 0 0 0 0 0.24 0 0 0 0 0.19 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; font-family: var(--ff); font-size: 18px; line-height: 1.55; color: var(--ink);
  background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: clip;
}
body.is-loading { overflow: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
svg use { pointer-events: none; }
[hidden] { display: none !important; }

/* ── Типографіка ── */
.h2 {
  font-family: var(--ff-d); font-weight: 400; font-size: clamp(34px, 4.6vw, 62px); line-height: 1.04; letter-spacing: -.015em; color: var(--ink);
  text-wrap: balance;
}
.h2 em { font-style: italic; color: var(--gold-d); }
.h2--light { color: var(--ivory); }
.h2--light em { color: var(--gold-2); }
.kicker {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
  font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-d);
}
.kicker::before { content: ''; width: 26px; height: 1px; background: currentColor; }
.kicker--light { color: var(--gold-2); }
.orn { width: 160px; height: 20px; color: var(--gold); margin: 0 auto 18px; }

/* ── Кнопки ── */
.btn {
  --bg: var(--choc-800); --fg: var(--ivory); --bd: transparent;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 2px; border: 1px solid var(--bd);
  background: var(--bg); color: var(--fg); font-weight: 700; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
  transition: transform .35s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .35s;
  isolation: isolate; overflow: hidden;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--gold { --bg: linear-gradient(180deg, #d9bb84, #c29a5e); --fg: #1a110d; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn--gold:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 14px 30px -14px rgba(201, 164, 107, .8); }
.btn--gold::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn--gold:hover::after { transform: translateX(120%); }
.btn--gold { background: var(--bg); }
.btn--line { --bg: transparent; --fg: var(--ivory); --bd: rgba(245, 238, 227, .38); }
.btn--line:hover { --bd: var(--gold-2); --fg: var(--gold-2); }
.btn--line-dark { --bg: transparent; --fg: var(--ink); --bd: var(--line); }
.btn--line-dark:hover { --bd: var(--ink); }
.btn--choc { --bg: var(--choc-800); --fg: var(--ivory); }
.btn--choc:hover { --bg: var(--choc-600); }
.btn--ivory { --bg: var(--ivory); --fg: var(--choc-900); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 12.5px; }
.btn--lg { min-height: 58px; padding: 0 32px; font-size: 14px; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .4; pointer-events: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--gold-d); font-weight: 700; border-bottom: 1px solid currentColor; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .3s; }
.link-arrow:hover svg { transform: translateX(4px); }
.round { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-l); color: var(--ivory); transition: .3s; }
.round svg { width: 20px; height: 20px; }
.round:hover { background: var(--gold); color: var(--choc-900); border-color: var(--gold); }
.glass { background: rgba(31, 21, 17, .55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(245, 238, 227, .12); color: var(--ivory); }

/* ═════════ ПРЕЛОАДЕР ═════════ */
.loader {
  --hole: 0%;
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: var(--velvet), radial-gradient(ellipse at 50% 45%, var(--choc-600), var(--choc-900) 70%);
  -webkit-mask: radial-gradient(ellipse var(--hole) calc(var(--hole) * .78) at 50% 50%, transparent 98%, #000 100%);
  mask: radial-gradient(ellipse var(--hole) calc(var(--hole) * .78) at 50% 50%, transparent 98%, #000 100%);
}
.loader.done { display: none; }
.loader__core { text-align: center; color: var(--ivory); }
.loader__mark { width: min(78vw, 420px); height: auto; color: var(--ivory); overflow: visible; }
.loader__mark ellipse { stroke: var(--ivory); }
.lm-o1 { stroke-width: 2.4; }
.lm-o2 { stroke-width: .9; opacity: .7; }
.lm-orn { color: var(--gold-2); opacity: 0; }
.lm-t1, .lm-t2 { fill: var(--ivory); font-family: var(--ff-d); font-size: 23px; opacity: 0; }
.loader__sub { margin-top: 10px; font-size: 14px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted-l); }
.loader__sub b { color: var(--gold-2); font-weight: 500; }

/* ═════════ КУРСОР: гранований камінець + картуш ═════════ */
.cur { display: none; }
.has-cursor body, .has-cursor a, .has-cursor button, .has-cursor summary, .has-cursor label, .has-cursor input[type=range] { cursor: none; }
.has-cursor .cur { display: block; position: fixed; inset: 0; z-index: 300; pointer-events: none; }
.cur__gem {
  position: absolute; left: 0; top: 0; width: 9px; height: 9px;
  background: linear-gradient(135deg, #fff3d6 0%, #e2c48c 38%, #9c7744 62%, #f0dcae 100%);
  box-shadow: 0 0 0 1px rgba(23, 15, 12, .35), 0 2px 6px rgba(0, 0, 0, .35);
  transition: width .3s var(--ease), height .3s var(--ease), opacity .3s;
}
.cur__ring {
  position: absolute; left: 0; top: 0; width: 34px; height: 22px; border-radius: 50%;
  border: 1px solid rgba(201, 164, 107, .55); display: grid; place-items: center;
  transition: width .45s var(--ease), height .45s var(--ease), background .35s, border-color .35s, opacity .3s;
}
.cur__lbl { font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--choc-900); opacity: 0; transition: opacity .25s; }
.cur.act .cur__ring { width: 58px; height: 36px; border-color: var(--gold); background: rgba(201, 164, 107, .12); }
.cur.act .cur__gem { width: 5px; height: 5px; }
.cur.lab .cur__ring { width: 92px; height: 52px; background: rgba(227, 201, 146, .92); border-color: transparent; backdrop-filter: blur(4px); }
.cur.lab .cur__lbl { opacity: 1; }
.cur.lab .cur__gem { opacity: 0; }
.cur.press .cur__ring { width: 26px; height: 16px; }
.cur.hide { opacity: 0; }

/* ═════════ ШАПКА: інфорядок + медальйон ═════════ */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 90; color: var(--ivory);
  transition: transform .5s var(--ease);
}
.hdr.hidden { transform: translateY(-110%); }
.hdr__top {
  display: flex; justify-content: center; gap: 28px; height: 34px; align-items: center;
  font-size: 14px; color: var(--muted-l); border-bottom: 1px solid var(--line-l);
  background: rgba(23, 15, 12, .7); transition: height .45s var(--ease), opacity .3s, border-color .3s;
  overflow: hidden;
}
.hdr__top > * { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.hdr__top svg { width: 15px; height: 15px; color: var(--gold); }
.hdr__top a:hover { color: var(--gold-2); }
.hdr__bar {
  position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  height: 64px; padding: 0 var(--pad);
  background: linear-gradient(rgba(31, 21, 17, .78), rgba(31, 21, 17, .55));
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line-l); transition: height .45s var(--ease), background .4s;
}
.hdr__nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); font-size: 16px; font-weight: 500; }
.hdr__nav--l { justify-content: flex-end; }
.hdr__nav--r { justify-content: flex-start; }
.hdr__nav a { position: relative; padding: 6px 0; color: rgba(245, 238, 227, .85); transition: color .3s; }
.hdr__nav a::after { content: ''; position: absolute; left: 50%; bottom: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); transform: translateX(-50%) scale(0); transition: transform .35s var(--ease); }
.hdr__nav a:hover, .hdr__nav a.on { color: var(--gold-2); }
.hdr__nav a:hover::after, .hdr__nav a.on::after { transform: translateX(-50%) scale(1); }
.hdr__phone { display: inline-flex !important; align-items: center; gap: 8px; margin-left: auto; padding: 8px 16px !important; border: 1px solid rgba(201, 164, 107, .45); border-radius: 2px; color: var(--gold-2) !important; font-weight: 700; }
.hdr__phone::after { display: none; }
.hdr__phone svg { width: 16px; height: 16px; }
.hdr__phone:hover { background: var(--gold); color: var(--choc-900) !important; }
.medal {
  position: relative; display: grid; place-items: center; width: 168px; height: 104px; margin-bottom: -46px; align-self: start; margin-top: 4px;
  border-radius: 50%; color: var(--ivory);
  background: var(--velvet), radial-gradient(ellipse at 50% 40%, var(--choc-600), var(--choc-800) 75%);
  box-shadow: 0 0 0 1px rgba(201, 164, 107, .5), 0 0 0 5px var(--choc-900), 0 0 0 6px rgba(201, 164, 107, .35), 0 18px 40px -12px rgba(0, 0, 0, .6);
  transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), box-shadow .3s;
}
.medal svg { width: 88%; height: auto; aspect-ratio: 240 / 140; }
.medal:hover { box-shadow: 0 0 0 1px var(--gold-2), 0 0 0 5px var(--choc-900), 0 0 0 6px var(--gold), 0 18px 40px -12px rgba(0, 0, 0, .6); }
.hdr.scrolled .hdr__top { height: 0; opacity: 0; border-color: transparent; }
.hdr.scrolled .hdr__bar { background: rgba(31, 21, 17, .9); }
.hdr.scrolled .medal { width: 120px; height: 72px; margin-bottom: -18px; }
.burger, .hdr__call { display: none; }
.burger { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-l); place-items: center; position: relative; z-index: 2; }
.burger i { position: absolute; left: 13px; right: 13px; height: 1.6px; background: var(--ivory); transition: transform .4s var(--ease), top .4s var(--ease); }
.burger i:nth-child(1) { top: 17px; }
.burger i:nth-child(2) { top: 25px; right: 18px; }
.menu-open .burger i:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .burger i:nth-child(2) { top: 21px; right: 13px; transform: rotate(-45deg); }
.hdr__call { width: 44px; height: 44px; border-radius: 50%; place-items: center; background: var(--gold); color: var(--choc-900); justify-self: end; }
.hdr__call svg { width: 20px; height: 20px; }

/* ═════════ МЕНЮ: овал розкривається ═════════ */
.menu {
  position: fixed; inset: 0; z-index: 85; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  padding: 90px 24px 32px; color: var(--ivory); text-align: center;
  background: var(--velvet), radial-gradient(ellipse at 50% 30%, var(--choc-600), var(--choc-900) 75%);
  clip-path: ellipse(0 0 at var(--ox, 30px) var(--oy, 50px)); visibility: hidden;
  transition: clip-path .8s cubic-bezier(.7, 0, .2, 1), visibility 0s .8s;
}
.menu.open { clip-path: ellipse(150vmax 120vmax at var(--ox, 30px) var(--oy, 50px)); visibility: visible; transition: clip-path .8s cubic-bezier(.7, 0, .2, 1); }
.menu__logo { width: 150px; height: 88px; color: var(--ivory); }
.menu__list { display: grid; gap: 2px; }
.menu__list a { display: flex; align-items: baseline; justify-content: center; gap: 12px; padding: 7px 10px; font-family: var(--ff-d); font-size: clamp(26px, 7vw, 36px); line-height: 1.15; }
.menu__list em { font-style: normal; font-family: var(--ff); font-size: 13px; color: var(--gold); letter-spacing: .1em; min-width: 26px; text-align: right; }
.menu__list a:active, .menu__list a:hover { color: var(--gold-2); }
.menu__div { width: 160px; height: 20px; color: var(--gold); }
.menu__foot { display: grid; gap: 4px; font-size: 15px; color: var(--muted-l); }
.menu__phone { font-family: var(--ff-d); font-size: 26px; color: var(--gold-2); }

/* ═════════ HERO: памʼятник у промені світла ═════════ */
.hero {
  position: relative; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(20px, 4vw, 60px); align-items: center;
  min-height: 100svh; padding: calc(var(--hdr) + 36px) var(--pad) 40px; color: var(--ivory); overflow: hidden;
  background: radial-gradient(ellipse 55% 75% at 72% 45%, #3b2a22 0%, #1d1410 60%, #120c0a 100%);
}
.hero::before { content: ''; position: absolute; inset: 0; background: var(--velvet); opacity: .6; pointer-events: none; }
.hero > * { position: relative; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; font-size: 12.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-2); }
.eyebrow i { width: 34px; height: 1px; background: rgba(201, 164, 107, .6); }
.hero__title { font-family: var(--ff-d); font-weight: 400; font-size: clamp(54px, 7.4vw, 124px); line-height: .9; letter-spacing: -.03em; }
.hero__title .ln { display: block; overflow: hidden; padding-bottom: .08em; }
.hero__title .w { display: inline-block; }
.hero__title em { font-style: italic; color: var(--gold-2); padding-left: .55em; }
.hero__lead { max-width: 460px; margin: 26px 0 32px; color: rgba(245, 238, 227, .7); font-size: 18px; line-height: 1.6; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.dress-wrap { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line-l); max-width: 520px; }
.dress__t { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-l); margin-bottom: 14px; }
.dress { display: flex; gap: 10px; flex-wrap: wrap; }
.dress__i {
  display: inline-flex; align-items: center; gap: 10px; padding: 5px 16px 5px 5px; border: 1px solid var(--line-l); border-radius: 2px;
  font-size: 15px; font-weight: 500; color: rgba(245, 238, 227, .6); transition: border-color .3s, color .3s, background .3s;
}
.dress__i img { width: 40px; height: 40px; object-fit: cover; border-radius: 1px; filter: grayscale(1) brightness(.55); transition: filter .4s; }
.dress__i::after { content: '+'; margin-left: 4px; font-size: 18px; line-height: 1; color: var(--muted-l); transition: transform .35s var(--ease), color .3s; }
.dress__i.on { color: var(--ivory); border-color: rgba(201, 164, 107, .6); background: rgba(201, 164, 107, .08); }
.dress__i.on img { filter: none; }
.dress__i.on::after { content: '✓'; color: var(--gold-2); font-size: 14px; }
.dress__i:hover { border-color: var(--gold); }
.hero__stage { position: relative; align-self: stretch; min-height: min(78svh, 760px); }
.hero__light {
  position: absolute; left: 50%; top: 4%; width: 92%; height: 92%; transform: translateX(-50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(ellipse 50% 48% at 50% 46%, rgba(255, 226, 180, .26), rgba(201, 164, 107, .08) 55%, transparent 72%);
}
.hero__stage::after {
  content: ''; position: absolute; left: 12%; right: 12%; bottom: 13%; height: 8%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(ellipse at 50% 50%, rgba(201, 164, 107, .18), transparent 70%);
}
#heroCanvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; touch-action: pan-y; z-index: 1; }
.hotspot { position: absolute; left: 0; top: 0; z-index: 3; opacity: 0; transition: opacity .5s; pointer-events: none; }
.hotspot.on { opacity: 1; pointer-events: auto; }
.hotspot.gone { opacity: 0 !important; pointer-events: none; }
.hotspot button { position: absolute; left: -14px; top: -14px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(227, 201, 146, .7); background: rgba(23, 15, 12, .35); backdrop-filter: blur(4px); }
.hotspot button i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 0 0 rgba(201, 164, 107, .7); animation: ping 2.4s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(201, 164, 107, 0); } 100% { box-shadow: 0 0 0 0 rgba(201, 164, 107, 0); } }
.hotspot span {
  position: absolute; left: 22px; top: -16px; width: max-content; max-width: 220px; padding: 9px 13px; border-radius: 2px;
  background: rgba(245, 238, 227, .96); color: var(--ink); font-size: 14px; line-height: 1.35; box-shadow: 0 16px 34px rgba(0, 0, 0, .4);
  opacity: 0; transform: translateX(-6px); transition: .35s var(--ease); pointer-events: none;
}
.hotspot.left span { left: auto; right: 22px; transform: translateX(6px); }
.hotspot:hover span, .hotspot.show span { opacity: 1; transform: none; }
.hero__facts { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: clamp(20px, 4vw, 56px); }
.hero__facts li { text-align: center; }
.hero__facts b { display: block; font-family: var(--ff-d); font-size: 30px; font-weight: 400; color: var(--gold-2); line-height: 1; }
.hero__facts span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-l); }
.hero__drag { position: absolute; top: 2%; right: 0; z-index: 2; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(245, 238, 227, .38); writing-mode: vertical-rl; }
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; padding-top: calc(var(--hdr) + 40px); min-height: 0; gap: 0; }
  .hero__stage { order: 2; min-height: 0; height: min(118vw, 640px); margin: 0 calc(var(--pad) * -1); }
  .dress-wrap { order: 3; }
  .hero__left { display: contents; }
  .hero__left > .eyebrow, .hero__left > .hero__title, .hero__left > .hero__lead { order: 0; }
  .hero__cta { order: 4; margin-top: 22px; }
  .hero__drag { display: none; }
}
@media (max-width: 760px) {
  .hero { padding-top: calc(var(--hdr) + 34px); padding-bottom: 32px; }
  .eyebrow { font-size: 11px; letter-spacing: .18em; gap: 10px; margin-bottom: 18px; }
  .eyebrow i { width: 20px; }
  .hero__title { font-size: clamp(50px, 15.5vw, 76px); }
  .hero__title em { padding-left: .9em; }
  .hero__lead { font-size: 16px; margin: 18px 0 0; }
  .hero__stage { height: 112vw; margin-top: 6px; }
  .hero__facts { gap: 18px; }
  .hero__facts b { font-size: 24px; }
  .hero__facts span { font-size: 10.5px; }
  .dress-wrap { margin-top: 18px; padding-top: 16px; }
  .dress { flex-wrap: nowrap; gap: 6px; }
  .dress__i { flex: 1; flex-direction: column; gap: 6px; padding: 6px 4px 8px; font-size: 13px; }
  .dress__i img { width: 100%; height: 64px; }
  .dress__i::after { position: absolute; top: 9px; right: 9px; width: 20px; height: 20px; display: grid; place-items: center; margin: 0; border-radius: 50%; background: rgba(23, 15, 12, .7); font-size: 13px; }
  .dress__i { position: relative; }
  .hero__cta { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .hero__cta .btn { width: 100%; }
  .hotspot span { max-width: 170px; font-size: 13px; }
}

/* ═════════ СТРІЧКА ═════════ */
.ribbon { overflow: hidden; background: var(--ivory); border-bottom: 1px solid var(--line); padding: 18px 0; }
.ribbon__track { display: flex; align-items: center; gap: 26px; width: max-content; animation: marquee 46s linear infinite; }
.ribbon span { font-family: var(--ff-d); font-style: italic; font-size: clamp(22px, 2.4vw, 30px); color: var(--choc-700); white-space: nowrap; }
.ribbon svg { width: 64px; height: 10px; color: var(--gold); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ═════════ ВІТРИНА ═════════ */
.vit { padding: var(--sec) var(--pad); background: var(--paper); max-width: none; }
.vit__head { max-width: 900px; margin: 0 auto; text-align: center; }
.vit__tabs { display: flex; justify-content: center; gap: clamp(6px, 2vw, 18px); margin: 30px auto 36px; flex-wrap: wrap; }
.vit__tabs button {
  position: relative; padding: 10px 24px; border-radius: 2px; font-family: var(--ff-d); font-size: clamp(20px, 2.2vw, 26px); color: var(--muted);
  border: 1px solid var(--line); transition: .35s var(--ease);
}
.vit__tabs sup { font-family: var(--ff); font-size: 12px; font-weight: 700; margin-left: 4px; color: var(--gold-d); }
.vit__tabs button[aria-selected="true"] { background: var(--choc-800); border-color: var(--choc-800); color: var(--ivory); }
.vit__tabs button[aria-selected="true"] sup { color: var(--gold-2); }
.vit__tabs button:hover { border-color: var(--choc-700); }
.vit__body { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); max-width: var(--max); margin: 0 auto; align-items: start; }
.vit__stage { position: sticky; top: 100px; }
.vit__arch {
  position: relative; aspect-ratio: 1 / 1; border-radius: 999px 999px var(--r-lg) var(--r-lg); overflow: hidden;
  background: radial-gradient(ellipse at 50% 32%, #f3eadc 0%, #d9c7ab 52%, #9c8466 100%);
  box-shadow: 0 0 0 1px rgba(201, 164, 107, .4), 0 0 0 8px var(--paper), 0 0 0 9px rgba(201, 164, 107, .45), 0 40px 70px -30px rgba(42, 28, 23, .55);
}
.vit__arch canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; touch-action: pan-y; transition: opacity .5s; }
.vit__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .5s, transform .8s var(--ease); pointer-events: none; }
.vit__stage.is-photo .vit__photo { opacity: 1; transform: none; }
.vit__stage.is-photo canvas { opacity: 0; }
.vit__stage:not(.ready) .vit__photo { opacity: 1; }
.vit__mode { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; padding: 4px; border-radius: 2px; }
.vit__mode button { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 2px; font-size: 15px; font-weight: 700; transition: .3s; }
.vit__mode svg { width: 17px; height: 17px; }
.vit__mode button.on { background: var(--gold); color: var(--choc-900); }
.vit__hint { position: absolute; top: 22%; left: 0; right: 0; text-align: center; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: rgba(42, 28, 23, .45); pointer-events: none; transition: opacity .4s; }
.vit__stage.is-photo .vit__hint, .vit__stage:not(.ready) .vit__hint { opacity: 0; }
.vit__info { padding: 26px 6px 0; }
.vit__kind { font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-d); }
.vit__info h3 { font-family: var(--ff-d); font-size: clamp(28px, 3vw, 38px); line-height: 1.1; margin: 6px 0 8px; }
.vit__note { color: var(--muted); max-width: 520px; }
.vit__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: 20px; }
.vit__price { font-family: var(--ff-d); font-size: 32px; font-weight: 400; margin-right: 8px; }
.vit__list { display: grid; gap: 14px; }
.vcard {
  position: relative; display: grid; grid-template-columns: 132px 1fr; gap: 20px; align-items: center; padding: 10px; padding-right: 22px; text-align: left;
  border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .45s, border-color .3s;
}
.vcard img { width: 132px; height: 132px; border-radius: 999px 999px 14px 14px; object-fit: cover; }
.vcard__b b { display: block; font-family: var(--ff-d); font-size: 22px; font-weight: 400; line-height: 1.15; }
.vcard__b small { display: block; color: var(--muted); font-size: 15px; margin: 4px 0 8px; }
.vcard__b em { font-style: normal; font-weight: 800; color: var(--gold-d); }
.vcard__3d { position: absolute; right: 16px; top: 14px; font-style: normal; font-size: 12px; font-weight: 800; letter-spacing: .08em; padding: 3px 9px; border-radius: 2px; border: 1px solid var(--line); color: var(--muted); transition: .3s; }
.vcard:hover { transform: translateX(-4px); box-shadow: 0 20px 40px -24px rgba(42, 28, 23, .4); }
.vcard.on { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 164, 107, .2), 0 20px 40px -24px rgba(42, 28, 23, .4); }
.vcard.on .vcard__3d { background: var(--choc-800); color: var(--gold-2); border-color: var(--choc-800); }

/* ═════════ КОНСТРУКТОР ═════════ */
.builder {
  padding: var(--sec) var(--pad); color: var(--ivory);
  background: var(--velvet), linear-gradient(180deg, var(--choc-800), var(--choc-900));
}
.builder__head { max-width: 860px; margin: 0 auto 40px; text-align: center; }
.builder__sub { margin-top: 16px; color: rgba(245, 238, 227, .72); }
.builder__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(360px, .9fr); gap: 22px; max-width: var(--max); margin: 0 auto; align-items: stretch; }
.stage {
  position: relative; min-height: 640px; border-radius: var(--r-lg); overflow: hidden;
  background: radial-gradient(ellipse at 50% 30%, #f7f1e7 0%, #e5d7c1 55%, #bda98c 100%);
}
.stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; touch-action: pan-y; }
.stage__views { position: absolute; left: 16px; top: 16px; display: flex; gap: 2px; padding: 4px; border-radius: 2px; z-index: 2; }
.stage__views button { padding: 7px 13px; border-radius: 2px; font-size: 14px; font-weight: 700; color: rgba(245, 238, 227, .75); }
.stage__views button.on { background: var(--ivory); color: var(--choc-900); }
.stage__dims { position: absolute; right: 16px; top: 16px; padding: 8px 14px; border-radius: 2px; font-size: 14px; z-index: 2; }
.stage__hint { position: absolute; left: 50%; top: 74px; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--choc-600); transition: opacity .5s; pointer-events: none; }
.stage__hint svg { width: 18px; height: 18px; }
.stage.touched .stage__hint { opacity: 0; }
.stage__acc { position: absolute; left: 16px; bottom: 16px; max-width: calc(100% - 290px); padding: 10px 14px; border-radius: 16px; z-index: 2; }
.stage__acc small { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 6px; }
.stage__acc #accChosen { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 14px; }
.stage__acc #accChosen span { display: inline-flex; align-items: center; gap: 6px; }
.stage__acc #accChosen img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.stage__acc em { font-style: normal; color: var(--muted-l); }
.spec { position: absolute; right: 16px; bottom: 16px; margin: 0; width: 250px; padding: 14px 16px; border-radius: 18px; display: grid; gap: 6px; z-index: 2; }
.spec div { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.spec dt { color: var(--muted-l); }
.spec dd { margin: 0; display: flex; align-items: center; gap: 6px; text-align: right; }
.spec dd i { width: 14px; height: 14px; border-radius: 50%; }
.spec__price { padding-top: 6px; margin-top: 2px; border-top: 1px solid var(--line-l); }
.spec__price dd { font-family: var(--ff-d); font-size: 22px; color: var(--gold-2); }
.stage__loading { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; color: var(--choc-700); background: inherit; z-index: 3; transition: opacity .5s; }
.stage__loading span { width: 34px; height: 34px; border-radius: 50%; border: 2px solid rgba(42, 28, 23, .2); border-top-color: var(--choc-700); animation: spin 1s linear infinite; }
.stage.ready .stage__loading { opacity: 0; pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.panel { display: flex; flex-direction: column; border-radius: var(--r-lg); background: rgba(245, 238, 227, .05); border: 1px solid var(--line-l); overflow: hidden; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); border-bottom: 1px solid var(--line-l); }
.steps button { display: grid; justify-items: center; gap: 2px; padding: 14px 4px 12px; font-size: 13px; color: var(--muted-l); position: relative; transition: color .3s; }
.steps b { font-family: var(--ff-d); font-weight: 400; font-size: 20px; color: var(--ivory); opacity: .55; }
.steps button::after { content: ''; position: absolute; left: 20%; right: 20%; bottom: -1px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .4s var(--ease); }
.steps button[aria-selected="true"] { color: var(--ivory); }
.steps button[aria-selected="true"] b { opacity: 1; color: var(--gold-2); }
.steps button[aria-selected="true"]::after { transform: scaleX(1); }
.pane { flex: 1; padding: 22px; overflow: auto; max-height: 520px; scrollbar-width: thin; scrollbar-color: var(--choc-500) transparent; }
.pane__q { font-family: var(--ff-d); font-size: 22px; margin-bottom: 14px; }
.pane__q--sm { font-size: 17px; margin: 20px 0 10px; color: var(--sand); }
.pane__note { margin-top: 14px; font-size: 15px; color: var(--muted-l); }
.persons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.persons button, .shapes button, .stones button, .fonts button, .extras button, .chips button {
  border: 1px solid var(--line-l); border-radius: 16px; transition: border-color .3s, background .3s, color .3s;
}
.persons button { display: grid; justify-items: center; gap: 4px; padding: 16px 8px; }
.persons small { color: var(--muted-l); font-size: 13px; }
.pp { display: flex; gap: 4px; height: 34px; align-items: flex-end; }
.pp i { width: 14px; height: 30px; border-radius: 7px 7px 2px 2px; background: currentColor; opacity: .5; }
.persons button.on .pp i { opacity: 1; color: var(--gold); }
.on:is(.persons button, .shapes button, .stones button, .fonts button, .extras button, .chips button) { border-color: var(--gold); background: rgba(201, 164, 107, .14); }
.shapes { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.shapes button { display: grid; justify-items: center; gap: 6px; padding: 12px 6px; font-size: 14px; }
.shapes svg { width: 48px; height: 48px; fill: rgba(245, 238, 227, .3); }
.shapes button.on svg { fill: var(--gold); }
.shapes button:disabled { opacity: .3; cursor: not-allowed; }
.stones { display: grid; gap: 8px; }
.stones button { display: flex; align-items: center; gap: 12px; padding: 10px 12px; text-align: left; }
.stones i { width: 38px; height: 38px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15); }
.stones b { display: block; font-weight: 700; font-size: 16px; }
.stones small { color: var(--muted-l); font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { padding: 8px 14px; font-size: 15px; }
.chips--sm button { font-size: 14px; padding: 6px 12px; border-style: dashed; }
.fonts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.fonts button { display: grid; justify-items: center; padding: 10px 4px; }
.fonts span { font-size: 26px; line-height: 1.2; }
.fonts small { font-size: 12px; color: var(--muted-l); }
.extras { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.extras button { display: grid; text-align: left; padding: 10px 14px; }
.extras b { font-weight: 700; font-size: 15px; }
.extras small { color: var(--gold-2); font-size: 13px; }
.accrow { margin-bottom: 18px; }
.accrow__t { font-weight: 700; margin-bottom: 8px; }
.accrow__t small { font-weight: 400; color: var(--muted-l); margin-left: 6px; }
.accrow__list { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.acc { flex: none; width: 102px; display: grid; justify-items: center; gap: 4px; padding: 8px 6px 10px; border-radius: 18px; border: 1px solid var(--line-l); font-size: 13px; line-height: 1.2; text-align: center; transition: .3s; }
.acc img { width: 64px; height: 64px; border-radius: 999px 999px 10px 10px; object-fit: cover; }
.acc small { color: var(--gold-2); font-size: 12px; }
.acc--none { width: 70px; align-content: center; color: var(--muted-l); }
.acc.on { border-color: var(--gold); background: rgba(201, 164, 107, .16); }
.acc:hover { border-color: rgba(201, 164, 107, .6); }
.person { padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px dashed var(--line-l); display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.person__h { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; font-family: var(--ff-d); font-size: 19px; }
.person .field:nth-child(2), .person .field:nth-child(3) { grid-column: 1 / -1; }
.upload { font-family: var(--ff); font-size: 13px; padding: 6px 12px; border-radius: 2px; border: 1px dashed var(--gold); color: var(--gold-2); cursor: pointer; }
.upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload.has { border-style: solid; background: rgba(201, 164, 107, .16); }
.field { display: grid; gap: 5px; }
.field > span { font-size: 13px; color: var(--muted-l); }
.field input, .field textarea, .field select { width: 100%; padding: 11px 13px; border-radius: 12px; border: 1px solid var(--line-l); background: rgba(23, 15, 12, .35); color: var(--ivory); outline: none; transition: border-color .3s; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold); }
.field textarea { resize: vertical; }
.pane .field { margin-top: 14px; }
.pane .chips--sm { margin-top: 8px; }
.panel__foot { padding: 18px 22px 20px; border-top: 1px solid var(--line-l); display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: end; background: rgba(23, 15, 12, .3); }
.price small { display: block; font-size: 13px; color: var(--muted-l); }
.price b { display: block; font-family: var(--ff-d); font-size: 34px; font-weight: 400; color: var(--gold-2); line-height: 1.1; }
.price span { font-size: 13px; color: var(--muted-l); }
.panel__nav { display: flex; gap: 8px; }
.panel__foot > .btn { grid-column: 1 / -1; }
.panel__tools { grid-column: 1 / -1; display: flex; justify-content: center; gap: 22px; }
.panel__tools button { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted-l); }
.panel__tools svg { width: 16px; height: 16px; }
.panel__tools button:hover { color: var(--gold-2); }

/* ═════════ БЮДЖЕТ ═════════ */
.budget { padding: var(--sec) var(--pad); background: var(--ivory); }
.budget__top { display: grid; grid-template-columns: 1fr minmax(320px, .9fr); gap: clamp(24px, 5vw, 80px); align-items: end; max-width: var(--max); margin: 0 auto 40px; }
.budget__lead { margin-top: 14px; color: var(--muted); max-width: 520px; }
.budget__ctrl { padding: 26px 28px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); }
.range__val { display: block; font-family: var(--ff-d); font-size: clamp(40px, 5vw, 60px); line-height: 1; color: var(--choc-800); margin-bottom: 16px; }
.range input { --p: 30%; width: 100%; height: 28px; -webkit-appearance: none; appearance: none; background: transparent; cursor: pointer; }
.range input::-webkit-slider-runnable-track { height: 6px; border-radius: 9px; background: linear-gradient(90deg, var(--gold-d), var(--gold) var(--p), var(--cream) var(--p)); }
.range input::-moz-range-track { height: 6px; border-radius: 9px; background: linear-gradient(90deg, var(--gold-d), var(--gold) var(--p), var(--cream) var(--p)); }
.range input::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -11px; border-radius: 50%; background: var(--choc-800); border: 4px solid var(--gold-2); box-shadow: 0 4px 12px rgba(42, 28, 23, .35); }
.range input::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--choc-800); border: 4px solid var(--gold-2); }
.range__scale { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-top: 4px; }
.budget__count { margin-top: 16px; color: var(--muted); }
.budget__count b { color: var(--ink); font-size: 20px; }
.budget__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; max-width: var(--max); margin: 0 auto; min-height: 200px; }
.mcard { display: flex; flex-direction: column; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s; }
.mcard:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(42, 28, 23, .45); }
.mcard__img { position: relative; aspect-ratio: 440 / 480; background: radial-gradient(ellipse at 50% 35%, #f7f1e7, #e2d3bc 70%, #cdb99a); overflow: hidden; }
.mcard__img::before { content: ''; position: absolute; inset: 30% 35%; border-radius: 50%; border: 2px solid rgba(42, 28, 23, .12); border-top-color: var(--choc-600); animation: spin 1s linear infinite; }
.mcard__img.loaded::before { display: none; }
.mcard__img > img { width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .5s; }
.mcard__img > img.ok { opacity: 1; }
.mcard__tag { position: absolute; left: 12px; top: 12px; z-index: 1; padding: 4px 11px; border-radius: 2px; background: var(--choc-800); color: var(--gold-2); font-size: 12px; font-weight: 800; letter-spacing: .06em; }
.mcard__acc { position: absolute; right: 10px; bottom: 10px; display: flex; }
.mcard__acc img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; margin-left: -8px; }
.mcard__body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.mcard h3 { font-family: var(--ff-d); font-size: 21px; line-height: 1.2; }
.mcard p { font-size: 14px; color: var(--muted); margin: 4px 0 14px; }
.mcard__row { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.mcard__price { font-weight: 800; font-size: 17px; }
.mcard__go { display: inline-flex; align-items: center; gap: 4px; padding: 7px 13px; border-radius: 2px; background: var(--choc-800); color: var(--ivory); font-size: 14px; font-weight: 700; transition: background .3s; }
.mcard__go svg { width: 15px; height: 15px; }
.mcard__go:hover { background: var(--gold-d); }
.cat__empty { grid-column: 1 / -1; padding: 30px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--r-lg); }

/* ═════════ РОБОТИ ═════════ */
.works { padding: var(--sec) var(--pad); background: var(--paper); }
.works__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; max-width: var(--max); margin: 0 auto 24px; flex-wrap: wrap; }
.works__head p { max-width: 440px; color: var(--muted); }
.filters { display: flex; gap: 6px; max-width: var(--max); margin: 0 auto 28px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.filters button { flex: none; padding: 9px 18px; border-radius: 2px; border: 1px solid var(--line); font-size: 15px; font-weight: 700; color: var(--muted); transition: .3s; }
.filters button.on { background: var(--choc-800); color: var(--ivory); border-color: var(--choc-800); }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 210px; grid-auto-flow: dense; gap: 14px; max-width: var(--max); margin: 0 auto; }
.work { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; cursor: zoom-in; background: var(--cream); }
.work--tall { grid-row: span 2; }
.work--wide { grid-column: span 2; }
.work img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.work figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; font-size: 15px; line-height: 1.3; color: var(--ivory); background: linear-gradient(transparent, rgba(23, 15, 12, .85)); transform: translateY(30%); opacity: 0; transition: .5s var(--ease); }
.work:hover img { transform: scale(1.05); }
.work:hover figcaption, .work:focus-visible figcaption { transform: none; opacity: 1; }
.work.is-off { display: none; }
.gallery__empty { text-align: center; margin-top: 20px; color: var(--muted); }
.gallery__empty a { color: var(--gold-d); font-weight: 700; }

/* ═════════ ГЕРОЯМ ═════════ */
.heroes {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 90px); align-items: center;
  padding: var(--sec) var(--pad); color: var(--ivory);
  background: var(--velvet), radial-gradient(ellipse at 20% 50%, var(--choc-600), var(--choc-900) 70%);
}
.heroes { overflow: hidden; }
.heroes__fan { position: relative; height: clamp(380px, 46vw, 560px); max-width: 560px; width: 100%; justify-self: center; }
.heroes__fan img { position: absolute; top: 50%; left: 50%; width: 56%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 999px 999px 18px 18px; border: 6px solid var(--ivory); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); }
.heroes__fan img:nth-child(1) { transform: translate(-100%, -48%) rotate(-9deg); }
.heroes__fan img:nth-child(2) { transform: translate(-2%, -52%) rotate(8deg); }
.heroes__fan img:nth-child(3) { transform: translate(-50%, -50%); z-index: 2; }
.heroes__lead { margin: 18px 0 22px; color: rgba(245, 238, 227, .78); max-width: 560px; }
.heroes__list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 12px; counter-reset: h; }
.heroes__list li { position: relative; padding: 14px 16px 14px 58px; border-radius: 16px; background: rgba(245, 238, 227, .05); border: 1px solid var(--line-l); color: rgba(245, 238, 227, .78); font-size: 16px; counter-increment: h; }
.heroes__list li::before { content: counter(h); position: absolute; left: 16px; top: 14px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--gold); color: var(--gold-2); font-family: var(--ff-d); }
.heroes__list b { display: block; color: var(--ivory); font-size: 17px; }

/* ═════════ ПРОЦЕС ═════════ */
.process { padding: var(--sec) var(--pad); background: var(--ivory); }
.process__head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.process__track { position: relative; max-width: var(--max); margin: 0 auto; }
.process__line { position: absolute; left: 6%; right: 6%; top: 32px; height: 2px; background: var(--cream); }
.process__fill { position: absolute; inset: 0; background: linear-gradient(90deg, var(--gold-d), var(--gold)); transform: scaleX(0); transform-origin: left; }
.process__flame { --t: 0; position: absolute; top: -26px; left: calc(var(--t) * 100%); width: 18px; height: 28px; margin-left: -9px; filter: drop-shadow(0 0 6px rgba(255, 180, 80, .9)); animation: flick 1.3s ease-in-out infinite; transform-origin: 50% 100%; }
.process__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; }
.process__steps li { text-align: center; }
.process__steps .n { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: var(--paper); border: 1px solid var(--gold); font-family: var(--ff-d); font-size: 24px; color: var(--gold-d); box-shadow: 0 0 0 6px var(--ivory); }
.process__steps h3 { font-family: var(--ff-d); font-size: 23px; margin-bottom: 6px; }
.process__steps p { font-size: 16px; color: var(--muted); }

/* ═════════ ЦИФРИ ═════════ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 56px var(--pad); background: var(--velvet), var(--choc-800); color: var(--ivory); }
.stat { display: grid; justify-items: center; align-content: center; text-align: center; aspect-ratio: 1.55; max-width: 290px; width: 100%; justify-self: center; padding: 16px 26px; border-radius: 50%; border: 1px solid rgba(201, 164, 107, .5); box-shadow: inset 0 0 0 6px var(--choc-800), inset 0 0 0 7px rgba(201, 164, 107, .25); }
.stat b { font-family: var(--ff-d); font-size: clamp(42px, 5vw, 64px); font-weight: 400; line-height: 1; color: var(--gold-2); }
.stat span { margin-top: 6px; font-size: 15px; color: var(--muted-l); max-width: 180px; line-height: 1.3; }

/* ═════════ ОНЛАЙН ═════════ */
.remote { display: grid; grid-template-columns: 1fr minmax(300px, 420px); gap: clamp(30px, 6vw, 100px); align-items: center; padding: var(--sec) var(--pad); max-width: calc(var(--max) + var(--pad) * 2); margin: 0 auto; }
.ticks { list-style: none; margin: 24px 0 30px; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 36px; font-size: 18px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--choc-800) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 12.5 3.2 3.2L17 9' fill='none' stroke='%23e3c992' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.phone-mock { justify-self: center; width: 100%; max-width: 380px; }
.chat { border-radius: 40px; padding: 12px; background: var(--choc-900); box-shadow: 0 40px 80px -30px rgba(42, 28, 23, .6); }
.chat__top { display: flex; align-items: center; gap: 12px; padding: 14px 16px; color: var(--ivory); }
.chat__top svg { width: 64px; height: 38px; color: var(--gold-2); }
.chat__top b { display: block; font-size: 16px; }
.chat__top small { color: #8fd18a; font-size: 13px; }
.chat__body { display: grid; gap: 8px; padding: 16px 12px 20px; border-radius: 30px; background: var(--ivory); }
.msg { max-width: 82%; padding: 10px 14px; border-radius: 18px; font-size: 15px; line-height: 1.4; }
.msg--in { background: #fff; border-bottom-left-radius: 4px; justify-self: start; }
.msg--out { background: var(--choc-700); color: var(--ivory); border-bottom-right-radius: 4px; justify-self: end; }
.msg--img { padding: 4px; }
.msg--img img { border-radius: 14px; width: 170px; height: auto; }
.phone-mock__cap { text-align: center; font-size: 13px; color: var(--muted); margin-top: 12px; }

/* ═════════ ВІДГУКИ ═════════ */
.reviews {
  display: grid; grid-template-columns: minmax(280px, .8fr) minmax(0, 1.4fr); gap: clamp(30px, 5vw, 80px); align-items: start;
  padding: var(--sec) var(--pad); color: var(--ivory); background: var(--velvet), linear-gradient(160deg, var(--choc-700), var(--choc-950));
}
.rating { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 14px; margin: 22px 0 26px; }
.rating b { font-family: var(--ff-d); font-size: 56px; font-weight: 400; color: var(--gold-2); line-height: 1; }
.stars { display: flex; gap: 2px; color: var(--gold); }
.stars svg { width: 20px; height: 20px; }
.rating small { width: 100%; color: var(--muted-l); }
.who { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.who button { display: flex; align-items: center; gap: 10px; padding: 7px 10px 7px 7px; border-radius: 2px; border: 1px solid transparent; font-size: 14px; text-align: left; color: var(--muted-l); transition: .3s; min-width: 0; }
.who button span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.who i { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; background: var(--choc-600); color: var(--ivory); }
.who button[aria-selected="true"] { border-color: rgba(201, 164, 107, .5); color: var(--ivory); background: rgba(201, 164, 107, .1); }
.who button[aria-selected="true"] i { background: var(--gold); color: var(--choc-900); }
.quote { position: relative; padding: clamp(28px, 4vw, 56px); border-radius: var(--r-lg); background: var(--ivory); color: var(--ink); min-height: 420px; display: flex; flex-direction: column; touch-action: pan-y; }
.quote__mark { position: absolute; right: 28px; top: -10px; font-family: var(--ff-d); font-size: 200px; line-height: 1; color: var(--gold); opacity: .35; pointer-events: none; }
.quote__stars { display: flex; gap: 3px; color: var(--sand); margin-bottom: 18px; }
.quote__stars svg { width: 22px; height: 22px; }
.quote__stars .f { color: var(--gold); }
.quote blockquote { margin: 0; font-family: var(--ff-d); font-size: clamp(21px, 2.1vw, 28px); line-height: 1.4; }
.quote footer { margin-top: 22px; }
.quote footer b { display: block; font-size: 18px; }
.quote footer span { font-size: 14px; color: var(--muted); }
.quote__nav { margin-top: auto; padding-top: 28px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.quote__nav .round { border-color: var(--line); color: var(--ink); }
.quote__nav .round:hover { color: var(--choc-900); }
.quote__count { font-size: 15px; color: var(--muted); }
.quote__count b { color: var(--ink); }
.quote__bar { flex: 1; min-width: 80px; height: 2px; background: var(--cream); overflow: hidden; }
.quote__bar i { display: block; height: 100%; width: 0; background: var(--gold); }

/* ═════════ FAQ ═════════ */
.faq { padding: var(--sec) var(--pad); background: var(--paper); }
.faq__head { text-align: center; max-width: 820px; margin: 0 auto 40px; }
.faq__list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; max-width: var(--max); margin: 0 auto; align-items: start; }
.qa { border-radius: 4px; background: #fff; border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s; }
.qa summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-family: var(--ff-d); font-size: 20px; line-height: 1.3; cursor: pointer; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--gold); transition: background .3s, transform .45s var(--ease); }
.qa summary i::before, .qa summary i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; background: var(--gold-d); transform: translate(-50%, -50%); transition: transform .45s var(--ease); }
.qa summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa.is-open { border-color: var(--gold); box-shadow: 0 16px 40px -28px rgba(42, 28, 23, .45); }
.qa.is-open summary i { background: var(--choc-800); transform: rotate(180deg); }
.qa.is-open summary i::before, .qa.is-open summary i::after { background: var(--gold-2); }
.qa.is-open summary i::after { transform: translate(-50%, -50%) rotate(0); }
.qa__a { overflow: hidden; }
.qa__a p { padding: 0 22px 22px; color: var(--muted); }
.ask { display: grid; grid-template-columns: 300px 1fr; max-width: 900px; margin: 40px auto 0; border-radius: var(--r-lg); overflow: hidden; background: var(--ivory); border: 1px solid var(--line); }
.ask img { width: 100%; height: 100%; object-fit: cover; min-height: 200px; }
.ask__body { padding: 28px 30px; align-self: center; }
.ask__t { font-family: var(--ff-d); font-size: 28px; }
.ask__p { color: var(--muted); margin: 6px 0 18px; }
.ask__btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* ═════════ КОНТАКТИ ═════════ */
.contacts { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); padding: var(--sec) var(--pad); color: var(--ivory); background: var(--velvet), var(--choc-900); }
.shop { margin: 0 0 28px; position: relative; border-radius: 999px 999px var(--r) var(--r); overflow: hidden; aspect-ratio: 16 / 10; }
.shop img { width: 100%; height: 100%; object-fit: cover; }
.shop figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 18px 12px; font-size: 14px; background: linear-gradient(transparent, rgba(23, 15, 12, .8)); text-align: center; }
.clist { list-style: none; margin: 22px 0; padding: 0; display: grid; gap: 12px; }
.clist li { display: flex; align-items: flex-start; gap: 12px; }
.clist svg { width: 22px; height: 22px; color: var(--gold); flex: none; margin-top: 1px; }
.clist a { border-bottom: 1px solid var(--line-l); }
.clist a:hover { color: var(--gold-2); }
.hours { width: 100%; border-collapse: collapse; font-size: 16px; margin-bottom: 26px; }
.hours th, .hours td { padding: 7px 0; border-bottom: 1px dashed var(--line-l); text-align: left; font-weight: 400; }
.hours th { color: var(--muted-l); }
.hours td { text-align: right; }
.hours tr.today th, .hours tr.today td { color: var(--gold-2); font-weight: 700; }
.hours tr.off td { color: var(--muted-l); }
.hours em { font-style: normal; font-size: 12px; margin-left: 6px; padding: 2px 8px; border-radius: 2px; background: var(--gold); color: var(--choc-900); vertical-align: 2px; }
.contacts__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.map { position: relative; min-height: 560px; border-radius: 300px 300px var(--r-lg) var(--r-lg); overflow: hidden; border: 1px solid rgba(201, 164, 107, .4); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: sepia(.35) saturate(.85) contrast(.95); }
.map__card { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 12px; border-radius: 20px; background: var(--choc-800); box-shadow: 0 20px 40px rgba(0, 0, 0, .4); }
.map__card > svg { width: 70px; height: 41px; color: var(--gold-2); flex: none; }
.map__card div { flex: 1; min-width: 0; }
.map__card b { display: block; }
.map__card span { font-size: 14px; color: var(--muted-l); }
.map__card a { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 2px; background: var(--gold); color: var(--choc-900); font-weight: 700; font-size: 15px; }
.map__card a svg { width: 16px; height: 16px; }

/* ═════════ ФУТЕР ═════════ */
.foot { padding: 50px var(--pad) 40px; text-align: center; background: var(--choc-950); color: var(--muted-l); }
.foot__logo { width: 200px; height: 117px; margin: 0 auto 22px; color: var(--ivory); }
.foot__nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 26px; color: var(--ivory); margin-bottom: 20px; }
.foot__nav a:hover { color: var(--gold-2); }
.foot__goods { font-size: 15px; margin-bottom: 8px; color: var(--sand); }
.foot__copy { font-size: 13px; }

/* ═════════ ДОК ═════════ */
.dock { position: fixed; right: 18px; top: 50%; z-index: 80; display: grid; gap: 6px; padding: 6px; border-radius: 2px; background: rgba(31, 21, 17, .85); backdrop-filter: blur(10px); border: 1px solid rgba(201, 164, 107, .35); transform: translateY(-50%); transition: transform .5s var(--ease), opacity .4s; }
.dock a, .dock button { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--gold-2); transition: background .3s, color .3s; }
.dock svg { width: 20px; height: 20px; }
.dock a:hover, .dock button:hover { background: var(--gold); color: var(--choc-900); }
.dock.away { transform: translate(140%, -50%); opacity: 0; pointer-events: none; }

/* ═════════ ЛАЙТБОКС / МОДАЛКА / ТОСТ ═════════ */
.lightbox { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; background: rgba(23, 15, 12, .94); padding: 24px; }
.lightbox figure { margin: 0; max-width: min(92vw, 1000px); text-align: center; color: var(--ivory); }
.lightbox img { max-height: 80svh; width: auto; margin: 0 auto; border-radius: 16px; }
.lightbox figcaption { margin-top: 12px; font-size: 16px; }
.lightbox__x { position: absolute; right: 18px; top: 14px; width: 48px; height: 48px; font-size: 34px; color: var(--ivory); }
.lightbox__nav { position: absolute; top: 50%; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: var(--ivory); border: 1px solid var(--line-l); transform: translateY(-50%); }
.lightbox__nav svg { width: 22px; height: 22px; }
.lightbox__nav.prev { left: 18px; }
.lightbox__nav.next { right: 18px; }
.modal { position: fixed; inset: 0; z-index: 160; display: grid; place-items: center; padding: 16px; }
.modal__veil { position: absolute; inset: 0; background: rgba(23, 15, 12, .75); backdrop-filter: blur(4px); }
.modal__box { position: relative; width: min(560px, 100%); max-height: calc(100svh - 32px); overflow: auto; padding: 32px; border-radius: var(--r-lg); background: var(--paper); }
.modal__x { position: absolute; right: 14px; top: 10px; width: 42px; height: 42px; font-size: 30px; color: var(--muted); }
.modal__step { display: none; }
.modal__step.on { display: block; }
.modal__h { font-family: var(--ff-d); font-size: 30px; line-height: 1.15; }
.modal__p { color: var(--muted); margin: 8px 0 20px; font-size: 16px; }
.mrow { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
#mForm { display: grid; gap: 12px; }
.field--light > span { color: var(--muted); }
.field--light input, .field--light textarea, .field--light select { background: #fff; border-color: var(--line); color: var(--ink); }
.field--light input.bad { border-color: var(--red); }
.err { color: var(--red); font-size: 14px; min-height: 1em; }
.engraved-check { width: 64px; height: 64px; margin-bottom: 14px; fill: none; stroke: var(--gold-d); stroke-width: 2; }
.msgbox { white-space: pre-wrap; font-family: var(--ff); font-size: 15px; padding: 16px; border-radius: 14px; background: var(--ivory); border: 1px dashed var(--sand); margin: 0 0 14px; max-height: 220px; overflow: auto; }
.sendvia { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.sendvia a { display: grid; justify-items: center; gap: 4px; padding: 12px 4px; border-radius: 14px; border: 1px solid var(--line); font-size: 13px; font-weight: 700; }
.sendvia svg { width: 22px; height: 22px; color: var(--gold-d); }
.sendvia a:hover { border-color: var(--gold); }
.modal__back { display: block; margin: 16px auto 0; font-size: 14px; color: var(--muted); }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 170; transform: translate(-50%, 200%); visibility: hidden; padding: 12px 20px; border-radius: 2px; background: var(--choc-800); color: var(--ivory); border: 1px solid rgba(201, 164, 107, .4); font-size: 15px; transition: transform .5s var(--ease); box-shadow: 0 16px 40px rgba(0, 0, 0, .3); max-width: calc(100vw - 32px); text-align: center; }
.toast.on { transform: translate(-50%, 0); visibility: visible; }

/* ═════════ КАТАЛОГ ═════════ */
.cat-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: end; padding: calc(var(--hdr) + 60px) var(--pad) 48px; color: var(--ivory); background: var(--velvet), radial-gradient(ellipse at 30% 40%, var(--choc-600), var(--choc-900) 75%); }
.cat-hero h1 { font-family: var(--ff-d); font-size: clamp(42px, 6vw, 80px); line-height: 1; }
.cat-hero p { color: rgba(245, 238, 227, .78); max-width: 520px; }
.crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--muted-l); margin-bottom: 14px; }
.crumbs a:hover { color: var(--gold-2); }
.cat { display: grid; grid-template-columns: 290px 1fr; gap: 28px; padding: 40px var(--pad) var(--sec); max-width: calc(var(--max) + var(--pad) * 2); margin: 0 auto; }
.cat__side { position: sticky; top: 100px; align-self: start; display: grid; gap: 22px; padding: 24px; border-radius: var(--r-lg); background: var(--ivory); border: 1px solid var(--line); }
.cat__side h3 { font-family: var(--ff-d); font-size: 19px; margin-bottom: 10px; }
.cat__side .range__val { font-size: 34px; margin-bottom: 8px; }
.lchips { display: flex; flex-wrap: wrap; gap: 6px; }
.lchips button { padding: 6px 12px; border-radius: 2px; border: 1px solid var(--line); font-size: 14px; transition: .3s; }
.lchips button.on { background: var(--choc-800); color: var(--ivory); border-color: var(--choc-800); }
.cat__reset { font-size: 14px; color: var(--gold-d); text-decoration: underline; justify-self: start; }
.cat__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.cat__top select { padding: 9px 14px; border-radius: 2px; border: 1px solid var(--line); background: #fff; }
.cat__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.filters-toggle { display: none !important; }
.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 56px var(--pad); color: var(--ivory); background: var(--velvet), var(--choc-800); }
.cta-band h2 { font-family: var(--ff-d); font-size: clamp(24px, 2.6vw, 34px); max-width: 720px; line-height: 1.25; }
.cta-band div { display: flex; flex-wrap: wrap; gap: 10px; }

/* ═════════ АДАПТИВ ═════════ */
@media (max-width: 1240px) {
  .hdr__nav { gap: 16px; font-size: 15px; }
  .hdr__phone span { display: none; }
  .hdr__phone { padding: 8px !important; }
  .budget__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .budget__list > :nth-child(n+7) { display: none; }
}
@media (max-width: 1024px) {
  :root { --hdr: 64px; }
  .hdr__top, .hdr__nav { display: none; }
  .hdr__bar { grid-template-columns: 44px 1fr 44px; height: 64px; gap: 10px; }
  .burger, .hdr__call { display: grid; }
  .medal { justify-self: center; width: 128px; height: 78px; margin-bottom: -22px; }
  .hdr.scrolled .medal { width: 104px; height: 62px; margin-bottom: -8px; }
  .builder__grid { grid-template-columns: 1fr; }
  .stage { min-height: 520px; }
  .pane { max-height: none; }
  .vit__body { grid-template-columns: 1fr; }
  .vit__stage { position: relative; top: 0; max-width: 620px; width: 100%; margin: 0 auto; }
  .vit__list { grid-template-columns: repeat(3, minmax(0, 1fr)); order: -1; }
  .vcard { grid-template-columns: 1fr; padding: 8px; padding-right: 8px; gap: 10px; }
  .vcard img { width: 100%; height: auto; aspect-ratio: 1; }
  .vcard__b { padding: 0 6px 8px; }
  .vcard__b b { font-size: 18px; }
  .vcard:hover { transform: translateY(-4px); }
  .process__line { left: 31px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .process__fill { transform: scaleY(0); transform-origin: top; }
  .process__flame { left: -8px; top: calc(var(--t) * 100% - 28px); margin-left: 0; }
  .process__steps { grid-template-columns: 1fr; gap: 26px; }
  .process__steps li { display: grid; grid-template-columns: 64px 1fr; gap: 0 20px; text-align: left; }
  .process__steps .n { grid-row: span 2; margin: 0; }
  .process__steps h3 { align-self: end; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .faq__list { grid-template-columns: 1fr; max-width: 820px; }
  .map { min-height: 440px; }
  .cat { grid-template-columns: 1fr; }
  .cat__side { position: fixed; inset: auto 0 0; z-index: 95; max-height: 82svh; overflow: auto; border-radius: 26px 26px 0 0; transform: translateY(105%); transition: transform .5s var(--ease); box-shadow: 0 -20px 60px rgba(0, 0, 0, .3); }
  .cat__side.open { transform: none; }
  .filters-toggle { display: inline-flex !important; }
  .cat__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-hero { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .hotspot span { max-width: 160px; font-size: 13px; }
  .ribbon { padding: 12px 0; }
  .vit__tabs button { padding: 8px 16px; }
  .vit__list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--pad) * -1); padding: 4px var(--pad) 10px; scrollbar-width: none; }
  .vcard { flex: 0 0 62%; scroll-snap-align: start; }
  .vit__row { gap: 10px; }
  .vit__row .btn--gold { order: 3; flex: 1 1 100%; }
  .vit__row .btn--line-dark { margin-left: auto; }
  .stage { min-height: 500px; border-radius: 22px; }
  .stage__dims { display: none; }
  /* на телефоні — лише круглі мініатюри у правому куті, щоб не перекривати памʼятник */
  .stage__acc { left: auto; right: 10px; bottom: auto; top: 10px; max-width: none; padding: 4px; border-radius: 2px; }
  .stage__acc small { display: none; }
  .stage__acc #accChosen { flex-wrap: nowrap; gap: 4px; font-size: 0; }
  .stage__acc #accChosen span { gap: 0; }
  .stage__acc #accChosen img { width: 30px; height: 30px; }
  .stage__acc em { font-size: 12px; padding: 0 8px; }
  .stage__hint { display: none; }
  .price b { font-size: 28px; }
  .spec { left: 10px; right: 10px; bottom: 10px; width: auto; grid-template-columns: 1fr 1fr; gap: 2px 14px; padding: 8px 14px; }
  .spec div:nth-child(3) { display: none; }
  .spec div { display: grid; gap: 0; }
  .spec__price { border: 0; padding: 0; margin: 0; }
  .stage__views { left: 10px; top: 10px; }
  .steps button { font-size: 0; padding: 12px 2px; }
  .steps b { font-size: 20px; }
  .pane { padding: 18px 16px; }
  .fonts { grid-template-columns: repeat(2, 1fr); }
  .panel__foot { padding: 16px; }
  .budget__top { grid-template-columns: 1fr; }
  .budget__ctrl { padding: 20px; }
  .budget__list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--pad) * -1); padding: 4px var(--pad) 12px; scrollbar-width: none; }
  .budget__list .mcard { flex: 0 0 72%; scroll-snap-align: start; }
  .budget__list > :nth-child(n+7) { display: flex; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; gap: 10px; }
  .work--wide { grid-column: span 2; }
  .work figcaption { opacity: 1; transform: none; font-size: 13px; padding: 30px 10px 10px; }
  .stats { gap: 12px; padding: 40px var(--pad); }
  .stat { aspect-ratio: 1.25; padding: 10px; }
  .stat span { font-size: 13px; }
  .remote { grid-template-columns: 1fr; }
  .reviews .who { grid-template-columns: 1fr 1fr; }
  .quote { min-height: 0; }
  .quote__mark { font-size: 140px; right: 16px; }
  .qa summary { font-size: 18px; padding: 16px 18px; }
  .qa__a p { padding: 0 18px 18px; }
  .ask { grid-template-columns: 1fr; }
  .ask img { height: 200px; }
  .ask__body { padding: 22px; }
  .map { min-height: 420px; border-radius: 200px 200px 22px 22px; }
  .map__card { flex-wrap: wrap; }
  .map__card a { width: 100%; justify-content: center; }
  .contacts__btns .btn { flex: 1; padding: 0 14px; }
  .dock { top: auto; bottom: 12px; left: 50%; right: auto; transform: translateX(-50%); display: flex; }
  .dock.away { transform: translate(-50%, 150%); }
  .mrow { grid-template-columns: 1fr; }
  .modal__box { padding: 24px 20px; }
  .sendvia { grid-template-columns: repeat(2, 1fr); }
  .cat__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cat__grid .mcard__body { padding: 12px; }
  .cat__grid .mcard h3 { font-size: 17px; }
  .cat__grid .mcard__row { flex-direction: column; align-items: stretch; }
  .cat__grid .mcard__go { justify-content: center; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .lightbox__nav { top: auto; bottom: 18px; transform: none; }
}
@media (max-width: 420px) {
  .who { grid-template-columns: 1fr; }
  .who button:nth-child(n+5) { display: none; }
  .vcard { flex-basis: 74%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .ribbon__track { animation: none; }
}

/* повернуті правила адаптиву */
@keyframes flick { 0%, 100% { transform: scale(1, 1) rotate(-2deg); } 30% { transform: scale(.94, 1.08) rotate(2deg); } 60% { transform: scale(1.05, .95) rotate(-1deg); } }
@media (max-width: 1024px) {
  .heroes, .reviews, .contacts { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .heroes__fan { height: 360px; }
  .heroes__fan img { width: 54%; border-width: 4px; }
}
