/* =========================================================
   VOLGABRICK НН — «тёплая тёмная керамика»
   Фирменные цвета завода (винный #a93156, сливовый #241a30)
   + медь и глина обожжённого кирпича
   ========================================================= */
:root {
  --ink: #140f14;
  --plum: #241a30;
  --plum-2: #2f2238;
  --wine: #a93156;
  --wine-hi: #c43d68;
  --copper: #d98552;
  --copper-2: #f0b088;
  --clay: #8b4a2f;
  --cream: #f4ede5;
  --sand: #e9dfd3;
  --paper: #fbf8f4;
  --text: #1f181b;
  --text-2: #5a4f52;
  --muted: #8d8285;
  --line: rgba(31, 24, 27, .12);
  --line-light: rgba(255, 255, 255, .14);
  --ok: #2e7d32;
  --err: #d64545;
  --r: 18px;
  --r-lg: 28px;
  --shadow: 0 20px 60px rgba(20, 15, 20, .18);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --display: "Montserrat", system-ui, sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.65 var(--display); color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; height: auto; }
a { color: var(--wine); text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 800; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
button { font-family: inherit; }
.container { width: min(1280px, 100% - 40px); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 40px); }
.serif { font-family: var(--serif); font-style: italic; font-weight: 600; letter-spacing: 0; text-transform: none; }
.accent { color: var(--copper); }
.wine { color: var(--wine-hi); }
.muted { color: var(--muted); }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Кнопки ---------- */
.btn { --bg: var(--wine); --fg: #fff; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 26px; border-radius: 999px; border: 0; background: var(--bg); color: var(--fg); font: 700 15px/1.1 var(--display); letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), background .25s, box-shadow .25s; white-space: nowrap; isolation: isolate; overflow: hidden; }
.btn:hover { background: var(--wine-hi); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(169, 49, 86, .35); }
.btn:active { transform: translateY(0); }
.btn--glow::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); animation: shine 3.6s 1.5s infinite; z-index: -1; }
@keyframes shine { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.btn--light { --bg: #fff; --fg: var(--ink); }
.btn--light:hover { background: var(--cream); box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.btn--ghost { --bg: transparent; --fg: currentColor; box-shadow: inset 0 0 0 2px currentColor; }
.btn--ghost:hover { background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 2px currentColor; }
.btn--dark { --bg: var(--ink); }
.btn--dark:hover { background: var(--plum); box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.btn--sm { padding: 11px 18px; font-size: 14px; }
.btn--lg { padding: 20px 34px; font-size: 16px; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.link-arrow { font-weight: 700; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Шапка ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 60; color: #fff; transition: background .35s, box-shadow .35s, color .35s, transform .35s; }
.header__row { display: flex; align-items: center; gap: 28px; height: 78px; }
.header.is-solid, .header--solid { background: rgba(20, 15, 20, .92); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line-light); }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; flex-shrink: 0; }
.logo__mark { width: 40px; height: 40px; flex-shrink: 0; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__text b { font-size: 17px; font-weight: 900; letter-spacing: .08em; }
.logo__text small { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; opacity: .65; margin-top: 5px; }
.nav { display: flex; gap: 22px; margin-left: 6px; white-space: nowrap; }
.nav a { color: inherit; text-decoration: none; font-weight: 600; font-size: 14px; opacity: .85; position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--copper); transition: right .3s var(--ease); }
.nav a:hover, .nav a.is-active { opacity: 1; }
.nav a:hover::after, .nav a.is-active::after { right: 0; }
.header__phone { margin-left: auto; text-align: right; line-height: 1.15; }
.header__phone a { color: inherit; text-decoration: none; font-weight: 800; font-size: 17px; white-space: nowrap; }
.header__phone small { display: block; font-size: 11.5px; opacity: .6; white-space: nowrap; }
.header__cta, .header__phone, .logo { flex-shrink: 0; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: rgba(255,255,255,.1); border-radius: 50%; cursor: pointer; color: inherit; }
.burger span { display: block; width: 18px; height: 2px; background: currentColor; margin: 4px auto; transition: .3s; }
.nav-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; overflow: hidden; background: var(--ink); }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 24s ease-out forwards; transform-origin: 60% 40%; }
@keyframes kenburns { from { transform: scale(1.14); } to { transform: scale(1); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(20,15,20,.55) 0%, rgba(20,15,20,.1) 30%, rgba(20,15,20,.35) 55%, rgba(20,15,20,.92) 100%), linear-gradient(90deg, rgba(20,15,20,.75) 0%, rgba(20,15,20,0) 65%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--grain); pointer-events: none; }
.hero__inner { position: relative; z-index: 2; padding: 140px 0 40px; display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: end; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--copper-2); margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; }
.hero h1 { font-size: clamp(40px, 6.4vw, 92px); line-height: .98; letter-spacing: -.035em; margin-bottom: 26px; text-wrap: balance; }
.hero h1 .serif { font-size: 1.08em; color: var(--copper-2); display: inline-block; }
.hero__sub { font-size: clamp(16px, 1.4vw, 19px); max-width: 620px; color: rgba(255,255,255,.82); margin-bottom: 34px; }
.hero__btns { display: flex; gap: 14px; flex-wrap: wrap; }
.offer-card { justify-self: end; width: min(380px, 100%); padding: 26px 28px; border-radius: var(--r-lg); background: rgba(255,255,255,.1); backdrop-filter: blur(18px) saturate(1.2); border: 1px solid rgba(255,255,255,.18); }
.offer-card small { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.offer-card__price { white-space: nowrap; font-size: 44px; font-weight: 900; letter-spacing: -.03em; line-height: 1.1; margin: 6px 0 4px; }
.offer-card__price span { font-size: 22px; font-weight: 700; opacity: .7; }
.offer-card p { font-size: 13.5px; opacity: .75; margin-bottom: 14px; }
.offer-card a { color: var(--copper-2); }
.hero__ticker { position: relative; z-index: 2; width: 100%; border-top: 1px solid var(--line-light); }

/* ---------- Бегущая строка ---------- */
.marquee { overflow: hidden; white-space: nowrap; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: inline-flex; gap: 48px; padding: 20px 0; animation: marquee 38s linear infinite; }
.marquee__track span { display: inline-flex; align-items: center; gap: 48px; font-weight: 600; font-size: 14.5px; color: rgba(255,255,255,.75); }
.marquee__track span::after { content: "✦"; color: var(--copper); }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee--big .marquee__track { padding: 34px 0; gap: 60px; animation-duration: 50s; }
.marquee--big .marquee__track span { font-size: clamp(40px, 7vw, 96px); font-weight: 900; letter-spacing: -.03em; color: rgba(31,24,27,.1); gap: 60px; }
.marquee--big .marquee__track span:nth-child(3n+2) { color: var(--clay); -webkit-text-stroke: 0; font-family: var(--serif); font-style: italic; font-weight: 600; }
.marquee--big .marquee__track span::after { color: var(--wine); font-size: .5em; }

/* ---------- Секции ---------- */
.section { padding: clamp(70px, 9vw, 130px) 0; position: relative; }
.section--tight { padding: 40px 0 70px; }
.section--dark { background: var(--ink); color: #fff; }
.section--plum { background: radial-gradient(120% 80% at 80% 0%, #3a2747 0%, var(--plum) 45%, var(--ink) 100%); color: #fff; }
.section--cream { background: var(--cream); }
.section--dark::after, .section--plum::after { content: ""; position: absolute; inset: 0; background: var(--grain); pointer-events: none; }
.section > .container { position: relative; z-index: 1; }
.kicker { font-size: 12.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--wine); margin-bottom: 18px; display: inline-flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.section--dark .kicker, .section--plum .kicker { color: var(--copper); }
.h-xl { font-size: clamp(34px, 5vw, 68px); letter-spacing: -.03em; text-wrap: balance; }
.h-lg { font-size: clamp(28px, 3.6vw, 48px); text-wrap: balance; }
.h-xl .serif, .h-lg .serif { font-size: 1.1em; color: var(--clay); }
.section--dark .h-xl .serif, .section--plum .h-xl .serif, .section--dark .h-lg .serif, .section--plum .h-lg .serif { color: var(--copper-2); }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--text-2); max-width: 720px; }
.section--dark .lead, .section--plum .lead { color: rgba(255,255,255,.72); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 48px; flex-wrap: wrap; }
.section-head > div { max-width: 760px; }

/* появление при прокрутке */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; } .reveal-d2 { transition-delay: .2s; } .reveal-d3 { transition-delay: .3s; }

/* ---------- Живая стена ---------- */
.wall-studio { display: grid; grid-template-columns: 1.55fr 1fr; gap: 36px; align-items: stretch; }
.wall-stage { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 520px; background: #2a2224; box-shadow: 0 40px 80px rgba(0,0,0,.45); }
.wall-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.wall-stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 30% 10%, rgba(255,230,200,.18), transparent 55%), linear-gradient(180deg, transparent 60%, rgba(0,0,0,.35)); }
.wall-stage__tag { position: absolute; left: 20px; bottom: 20px; z-index: 2; padding: 10px 16px; border-radius: 999px; background: rgba(20,15,20,.7); backdrop-filter: blur(8px); font-size: 13px; font-weight: 600; }
.wall-stage__shuffle { position: absolute; right: 18px; top: 18px; z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); cursor: pointer; font-size: 20px; transition: transform .4s var(--ease); }
.wall-stage__shuffle:hover { transform: rotate(180deg); }
.wall-panel { display: flex; flex-direction: column; gap: 22px; }
.wall-panel h3 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); margin: 0 0 12px; font-weight: 700; }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; max-height: 300px; overflow: auto; padding-right: 4px; scrollbar-width: thin; }
.swatch { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 8px; border-radius: 14px; border: 1.5px solid transparent; background: rgba(255,255,255,.05); color: #fff; cursor: pointer; text-align: left; font: 600 12.5px/1.2 var(--display); transition: border-color .2s, background .2s, transform .2s; }
.swatch:hover { background: rgba(255,255,255,.1); transform: translateY(-2px); }
.swatch.is-on { border-color: var(--copper); background: rgba(217,133,82,.14); }
.swatch.is-on::after { content: attr(data-n); position: absolute; top: 6px; right: 6px; width: 20px; height: 20px; border-radius: 50%; background: var(--copper); color: var(--ink); font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.swatch__chip { height: 34px; border-radius: 8px; }
.mortars { display: flex; gap: 10px; flex-wrap: wrap; }
.mortar { display: flex; align-items: center; gap: 8px; padding: 9px 14px 9px 9px; border-radius: 999px; border: 1.5px solid var(--line-light); background: transparent; color: #fff; cursor: pointer; font: 600 13px var(--display); }
.mortar i { width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.mortar.is-on { border-color: var(--copper); }
.wall-result { margin-top: auto; padding: 22px; border-radius: var(--r); background: rgba(255,255,255,.06); border: 1px solid var(--line-light); }
.wall-result__name { font-weight: 800; font-size: 18px; margin-bottom: 4px; }
.wall-result__meta { font-size: 14px; color: rgba(255,255,255,.65); margin-bottom: 16px; }
.wall-hint { font-size: 13px; color: rgba(255,255,255,.5); margin: -8px 0 0; }

/* ---------- Карточки-факты ---------- */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 50px; }
.fact { padding: 32px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.fact:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.fact__num { font-size: 15px; font-weight: 800; color: var(--wine); margin-bottom: 26px; display: block; }
.fact h3 { font-size: 22px; }
.fact p { color: var(--text-2); margin: 0; font-size: 15.5px; }

/* ---------- Редакционный блок ---------- */
.editorial { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.editorial__media { position: relative; }
.editorial__media img { border-radius: var(--r-lg); width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.editorial__badge { position: absolute; right: -18px; bottom: 40px; padding: 20px 24px; background: var(--wine); color: #fff; border-radius: var(--r); box-shadow: var(--shadow); max-width: 230px; font-size: 14px; line-height: 1.35; }
.editorial__badge b { display: block; font-size: 30px; line-height: 1; margin-bottom: 6px; }
.quote { font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.25; color: var(--clay); border-left: 3px solid var(--wine); padding-left: 24px; margin: 30px 0; }

/* ---------- Галерея домов ---------- */
.strip { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 20px 24px; margin: 0 -20px; cursor: grab; scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.strip.is-drag { cursor: grabbing; scroll-snap-type: none; }
.strip__item { flex: 0 0 auto; height: clamp(320px, 46vw, 560px); scroll-snap-align: start; border-radius: var(--r-lg); overflow: hidden; position: relative; background: #2a2224; }
.strip__item img { height: 100%; width: auto; max-width: none; object-fit: cover; transition: transform 1.2s var(--ease); user-select: none; -webkit-user-drag: none; }
.strip__item:hover img { transform: scale(1.05); }
.strip__item figcaption { position: absolute; left: 16px; bottom: 16px; padding: 8px 14px; border-radius: 999px; background: rgba(20,15,20,.7); backdrop-filter: blur(6px); color: #fff; font-size: 13px; font-weight: 600; }
.strip-nav { display: flex; gap: 10px; }
.strip-nav button { width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid var(--line-light); background: transparent; color: #fff; font-size: 20px; cursor: pointer; transition: .25s; }
.strip-nav button:hover { background: #fff; color: var(--ink); }
.masonry { columns: 3 320px; column-gap: 18px; }
.masonry figure { break-inside: avoid; margin: 0 0 18px; border-radius: var(--r); overflow: hidden; position: relative; cursor: zoom-in; background: var(--sand); }
.masonry img { width: 100%; transition: transform .8s var(--ease); }
.masonry figure:hover img { transform: scale(1.04); }
.masonry figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(20,15,20,.7); color: #fff; font-size: 12.5px; font-weight: 600; }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(10,7,10,.94); display: grid; place-items: center; padding: 30px; }
.lightbox img { max-height: 86vh; max-width: 92vw; width: auto; border-radius: 12px; }
.lightbox button { position: absolute; border: 0; background: rgba(255,255,255,.12); color: #fff; width: 54px; height: 54px; border-radius: 50%; font-size: 24px; cursor: pointer; }
.lightbox .lb-close { top: 20px; right: 20px; }
.lightbox .lb-prev { left: 20px; top: 50%; } .lightbox .lb-next { right: 20px; top: 50%; }
.lightbox p { position: absolute; bottom: 20px; color: rgba(255,255,255,.7); font-size: 14px; }

/* ---------- Сравнение ---------- */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 1px 0 var(--line); font-size: 15px; }
.compare th, .compare td { padding: 20px 22px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; background: var(--paper); }
.compare tbody th { font-weight: 700; width: 24%; }
.compare .is-best { background: linear-gradient(180deg, rgba(169,49,86,.07), rgba(169,49,86,.03)); }
.compare thead .is-best { color: var(--wine); background: rgba(169,49,86,.1); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.mark { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; }
.mark--good { background: #3aa65b; } .mark--mid { background: #e0a339; } .mark--bad { background: #d65b5b; }
.compare-wrap { overflow-x: auto; border-radius: var(--r-lg); }

/* ---------- Калькулятор-якорь ---------- */
.price-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: center; }
.big-price { white-space: nowrap; font-size: clamp(44px, 6.4vw, 96px); font-weight: 900; letter-spacing: -.05em; line-height: .9; margin: 18px 0; background: linear-gradient(100deg, #fff 20%, var(--copper-2) 60%, var(--copper)); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.big-price small { font-size: .32em; letter-spacing: 0; -webkit-text-fill-color: rgba(255,255,255,.6); }
.calc-card { padding: 34px; border-radius: var(--r-lg); background: rgba(255,255,255,.06); border: 1px solid var(--line-light); backdrop-filter: blur(10px); }
.range-row { margin-bottom: 26px; }
.range-row label { display: flex; justify-content: space-between; font-weight: 600; font-size: 14px; color: rgba(255,255,255,.7); margin-bottom: 14px; }
.range-row label b { color: #fff; font-size: 22px; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--copper) var(--p, 30%), rgba(255,255,255,.18) var(--p, 30%)); outline: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(217,133,82,.35); cursor: pointer; }
input[type="range"]::-moz-range-thumb { width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 6px rgba(217,133,82,.35); cursor: pointer; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 26px; }
.seg button { padding: 12px 8px; border-radius: 12px; border: 1.5px solid var(--line-light); background: transparent; color: #fff; font: 600 13px/1.25 var(--display); cursor: pointer; }
.seg button small { display: block; opacity: .6; font-weight: 500; font-size: 11.5px; margin-top: 2px; }
.seg button.is-on { border-color: var(--copper); background: rgba(217,133,82,.14); }
.calc-out { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.calc-out div { padding: 16px; border-radius: 14px; background: rgba(0,0,0,.2); }
.calc-out small { display: block; font-size: 12px; color: rgba(255,255,255,.55); }
.calc-out b { font-size: 22px; font-variant-numeric: tabular-nums; }

/* ---------- Каталог-карточки ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px; }
.card { position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); background: #fff; overflow: hidden; border: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .45s; }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.card__media { position: relative; aspect-ratio: 1/1; overflow: hidden; background: #fff; display: block; border-bottom: 1px solid var(--line); }
.card__media img, .card__media canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s, transform .8s var(--ease); }
.card__media img { object-fit: contain; padding: 8%; }
.card__media canvas { opacity: 0; }
.card:hover .card__media canvas { opacity: 1; }
.card:hover .card__media img { transform: scale(1.06); }
.card__hint { position: absolute; right: 12px; bottom: 12px; z-index: 2; padding: 6px 11px; border-radius: 999px; background: rgba(20,15,20,.7); color: #fff; font-size: 11.5px; font-weight: 600; opacity: 0; transform: translateY(6px); transition: .35s var(--ease); }
.card:hover .card__hint { opacity: 1; transform: none; }
.card__badges { position: absolute; left: 12px; top: 12px; z-index: 2; display: flex; gap: 6px; flex-wrap: wrap; }
.badge { display: inline-block; padding: 5px 10px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 11.5px; font-weight: 700; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.badge--wine { background: var(--wine); color: #fff; }
.badge--copper { background: var(--copper); color: var(--ink); }
.card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.card__title { font-weight: 800; font-size: 17px; line-height: 1.25; color: var(--text); text-decoration: none; letter-spacing: -.01em; }
.card__title::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__meta { font-size: 13px; color: var(--muted); margin: 8px 0 18px; }
.card__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.card__foot .btn { position: relative; z-index: 2; }
.price b { font-size: 24px; font-weight: 900; letter-spacing: -.02em; }
.price small { color: var(--muted); font-size: 13px; }
.price s { display: block; font-size: 13px; color: var(--muted); }
.price__m2 { display: block; font-size: 12px; color: var(--muted); }

/* ---------- Шаги ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 31px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, var(--wine), var(--copper)); opacity: .5; }
.step { position: relative; padding: 0 14px; text-align: center; }
.step__n { position: relative; width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 2px solid var(--wine); font-weight: 900; font-size: 20px; color: var(--wine); }
.section--cream .step__n { background: var(--cream); }
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text-2); margin: 0; }
.step__gift { display: inline-block; margin-top: 10px; font-size: 12px; font-weight: 700; color: var(--wine); background: rgba(169,49,86,.08); padding: 4px 10px; border-radius: 999px; }

/* ---------- До / после ---------- */
.ba { position: relative; aspect-ratio: 4/3; border-radius: var(--r-lg); overflow: hidden; user-select: none; touch-action: pan-y; background: #333; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__before { clip-path: inset(0 calc(100% - var(--x, 50%)) 0 0); filter: grayscale(1) contrast(.45) brightness(1.45) blur(2.5px); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--x, 50%); width: 3px; background: #fff; transform: translateX(-50%); }
.ba__handle::after { content: "⟷"; position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; font-size: 20px; box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.ba__label { position: absolute; top: 16px; padding: 6px 12px; border-radius: 999px; background: rgba(20,15,20,.7); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ba__label--l { left: 16px; } .ba__label--r { right: 16px; }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }

/* ---------- Квиз ---------- */
.quiz { display: grid; grid-template-columns: 1fr 1.35fr; border-radius: var(--r-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow); min-height: 560px; }
.quiz__side { position: relative; padding: 44px; color: #fff; background: linear-gradient(180deg, rgba(20,15,20,.2), rgba(20,15,20,.85)), var(--quiz-bg) center/cover; display: flex; flex-direction: column; justify-content: flex-end; }
.quiz__side h2 { font-size: clamp(26px, 2.6vw, 36px); }
.quiz__gifts { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.quiz__gifts li { display: flex; gap: 12px; align-items: center; font-size: 14.5px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.1); backdrop-filter: blur(8px); }
.quiz__gifts li b { font-size: 20px; }
.quiz__main { padding: 44px; display: flex; flex-direction: column; }
.quiz__progress { display: flex; align-items: center; gap: 14px; margin-bottom: 30px; font-size: 13px; font-weight: 700; color: var(--muted); }
.quiz__bar { flex: 1; height: 6px; border-radius: 6px; background: var(--sand); overflow: hidden; }
.quiz__bar i { display: block; height: 100%; width: 20%; background: linear-gradient(90deg, var(--wine), var(--copper)); transition: width .5s var(--ease); }
.quiz__step { display: none; animation: stepIn .5s var(--ease); }
.quiz__step.is-on { display: block; }
@keyframes stepIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.quiz__q { font-size: clamp(22px, 2vw, 28px); margin-bottom: 22px; }
.options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.option { position: relative; display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 16px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; font: 600 15px/1.3 var(--display); text-align: left; color: var(--text); transition: border-color .2s, transform .2s, background .2s; }
.option:hover { border-color: var(--wine); transform: translateY(-2px); }
.option.is-on { border-color: var(--wine); background: rgba(169,49,86,.05); box-shadow: inset 0 0 0 1px var(--wine); }
.option__ico { font-size: 26px; flex-shrink: 0; }
.option__wall { width: 54px; height: 54px; border-radius: 12px; flex-shrink: 0; }
.option small { display: block; font-weight: 500; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.quiz__area { text-align: center; padding: 20px 0; }
.quiz__area output { display: block; font-size: 64px; font-weight: 900; letter-spacing: -.04em; color: var(--wine); line-height: 1; margin-bottom: 20px; }
.quiz__area input[type="range"] { background: linear-gradient(90deg, var(--wine) var(--p, 30%), var(--sand) var(--p, 30%)); }
.quiz__area input[type="range"]::-webkit-slider-thumb { background: var(--wine); box-shadow: 0 0 0 6px rgba(169,49,86,.2); }
.quiz__area input[type="range"]::-moz-range-thumb { background: var(--wine); box-shadow: 0 0 0 6px rgba(169,49,86,.2); }
.check-inline { display: inline-flex; gap: 8px; align-items: center; margin-top: 18px; font-size: 14px; color: var(--text-2); cursor: pointer; }
.quiz__nav { margin-top: auto; padding-top: 28px; display: flex; justify-content: space-between; gap: 12px; }
.quiz__back { background: none; border: 0; color: var(--muted); font: 600 14px var(--display); cursor: pointer; }
.quiz__done { text-align: center; padding: 40px 0; }
.quiz__done b { display: block; font-size: 28px; margin-bottom: 10px; }

/* ---------- Формы ---------- */
.field { display: flex; flex-direction: column; gap: 7px; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--text-2); }
.on-dark .field, .section--dark .field, .section--plum .field { color: rgba(255,255,255,.6); }
.field input, .field select, .field textarea { font: 500 16px var(--display); letter-spacing: 0; text-transform: none; padding: 15px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; color: var(--text); width: 100%; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--wine); box-shadow: 0 0 0 4px rgba(169,49,86,.12); }
.on-dark .field input, .on-dark .field textarea, .on-dark .field select { background: rgba(255,255,255,.07); border-color: var(--line-light); color: #fff; }
.on-dark .field input::placeholder, .on-dark .field textarea::placeholder { color: rgba(255,255,255,.4); }
.field--file input { padding: 12px; background: var(--paper); border-style: dashed; cursor: pointer; font-size: 14px; }
.on-dark .field--file input { background: rgba(255,255,255,.04); }
.lead-form__fields { display: grid; gap: 12px; margin-bottom: 16px; }
.lead-form--row .lead-form__fields { grid-template-columns: 1fr 1fr; }
.field--wide { grid-column: 1 / -1; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 12.5px; line-height: 1.45; color: var(--muted); margin-bottom: 16px; cursor: pointer; }
.consent input { margin-top: 1px; width: 19px; height: 19px; flex-shrink: 0; accent-color: var(--wine); }
.on-dark .consent { color: rgba(255,255,255,.6); }
.on-dark .consent a { color: #fff; }
.consent.is-invalid { color: var(--err) !important; }
.is-invalid { border-color: var(--err) !important; box-shadow: 0 0 0 4px rgba(214,69,69,.12) !important; }
.lead-form__error { color: var(--err); font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.on-dark .lead-form__error { color: #ff9d9d; }
.lead-form__ok { padding: 30px 24px; border-radius: var(--r); background: rgba(46,125,50,.1); color: var(--ok); text-align: center; font-weight: 600; }
.lead-form__ok b { display: block; font-size: 20px; margin-bottom: 6px; }
.on-dark .lead-form__ok { background: rgba(110,220,130,.12); color: #a7f0b4; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.messengers { display: flex; gap: 10px; flex-wrap: wrap; }
.messengers a { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; border: 1.5px solid currentColor; text-decoration: none; font-weight: 700; font-size: 14px; color: inherit; opacity: .85; }
.messengers a:hover { opacity: 1; }

/* ---------- Лид-магнит ---------- */
.magnet { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: center; }
.magnet__form { padding: 36px; border-radius: var(--r-lg); background: rgba(255,255,255,.06); border: 1px solid var(--line-light); }
.checks { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 34px; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--wine); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 800; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 50px 24px 0; font-weight: 700; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line); font-size: 20px; font-weight: 400; transition: .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--wine); color: #fff; border-color: var(--wine); }
.faq details > div { padding: 0 50px 24px 0; color: var(--text-2); }

/* ---------- Журнал ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); text-decoration: none; color: inherit; transition: transform .45s var(--ease), box-shadow .45s; position: relative; }
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post__img { aspect-ratio: 16/10; overflow: hidden; background: var(--plum); }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.post:hover .post__img img { transform: scale(1.05); }
.post__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post__cat { font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--wine); }
.post__title { font-size: 19px; line-height: 1.25; font-weight: 800; margin: 0; letter-spacing: -.01em; }
.post__meta { margin-top: auto; font-size: 13px; color: var(--muted); }
.post--featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.3fr 1fr; }
.post--featured .post__img { aspect-ratio: auto; min-height: 380px; }
.post--featured .post__body { padding: 44px; justify-content: center; }
.post--featured .post__title { font-size: clamp(24px, 2.6vw, 36px); }
.cats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px; }
.cats a { padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); text-decoration: none; color: var(--text); font-weight: 600; font-size: 14px; }
.cats a.is-on, .cats a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.article { display: grid; grid-template-columns: 260px minmax(0, 1fr) 300px; gap: 50px; align-items: start; }
.toc { position: sticky; top: 100px; font-size: 14px; }
.toc b { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.toc a { display: block; padding: 7px 0 7px 14px; border-left: 2px solid var(--line); color: var(--text-2); text-decoration: none; line-height: 1.35; }
.toc a:hover, .toc a.is-active { border-color: var(--wine); color: var(--wine); }
.aside-cta { position: sticky; top: 100px; padding: 26px; border-radius: var(--r-lg); background: var(--ink); color: #fff; }
.aside-cta h3 { font-size: 20px; }
.aside-cta p { font-size: 14px; color: rgba(255,255,255,.7); }

/* ---------- Типографика статей и страниц ---------- */
.prose { font-size: 17.5px; line-height: 1.75; color: #2b2326; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: clamp(24px, 2.4vw, 32px); margin: 2em 0 .6em; scroll-margin-top: 100px; }
.prose h3 { font-size: 21px; margin: 1.6em 0 .5em; scroll-margin-top: 100px; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.2em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--wine); font-weight: 700; }
.prose a { color: var(--wine); font-weight: 600; }
.prose img { border-radius: var(--r); margin: 1.6em 0; }
.prose figure { margin: 2em 0; }
.prose figure img { margin: 0; }
.prose figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; }
.prose blockquote { margin: 2em 0; padding: 4px 0 4px 26px; border-left: 3px solid var(--wine); font-family: var(--serif); font-style: italic; font-size: 1.4em; line-height: 1.4; color: var(--clay); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: 15.5px; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--cream); font-weight: 700; }
.prose .note, .prose .tip, .prose .warning { padding: 20px 24px; border-radius: var(--r); margin: 1.6em 0; font-size: 16px; }
.prose .note { background: var(--cream); }
.prose .tip { background: rgba(46,125,50,.08); border-left: 4px solid #3aa65b; }
.prose .warning { background: rgba(214,69,69,.07); border-left: 4px solid var(--err); }
.prose .lead { font-size: 1.2em; color: var(--text-2); }
.cta-inline-box { margin: 2.4em 0; padding: 32px; border-radius: var(--r-lg); background: var(--ink); color: #fff; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; font-size: 16px; line-height: 1.5; }
.cta-inline-box h3 { margin: 0 0 6px; font-size: 22px; color: #fff; }
.cta-inline-box p { margin: 0; color: rgba(255,255,255,.7); }

/* ---------- Шапки страниц ---------- */
.page-hero { position: relative; padding: 150px 0 70px; background: radial-gradient(100% 120% at 85% 0%, #3a2747, var(--plum) 45%, var(--ink)); color: #fff; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: var(--grain); pointer-events: none; }
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(34px, 5vw, 66px); letter-spacing: -.03em; max-width: 980px; text-wrap: balance; }
.page-hero h1 .serif { color: var(--copper-2); font-size: 1.08em; }
.page-hero p { font-size: 18px; color: rgba(255,255,255,.75); max-width: 720px; }
.page-hero--img { padding-top: 190px; min-height: 78svh; display: flex; align-items: flex-end; }
.page-hero--img .page-hero__bg { position: absolute; inset: 0; }
.page-hero--img .page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--img::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(20,15,20,.5), rgba(20,15,20,.2) 35%, rgba(20,15,20,.92)); }
.page-hero--img > .container { z-index: 2; }
.crumbs { font-size: 13.5px; color: rgba(255,255,255,.55); margin-bottom: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { color: rgba(255,255,255,.75); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs span::before, .crumbs a + a::before { content: "/"; margin-right: 8px; opacity: .5; }
.crumbs--dark { color: var(--muted); } .crumbs--dark a { color: var(--text-2); }
.hero-pills { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.hero-pills span { padding: 9px 16px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid var(--line-light); font-size: 13.5px; font-weight: 600; }

/* ---------- Фильтры каталога ---------- */
.filters { display: flex; gap: 14px 30px; flex-wrap: wrap; align-items: center; margin-bottom: 36px; padding: 18px 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); position: sticky; top: 90px; z-index: 5; }
.filters__group { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.filters__group > span { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.chip { display: inline-block; padding: 8px 15px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 14px; font-weight: 600; color: var(--text); text-decoration: none; cursor: pointer; transition: .2s; }
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.filters select { font: 600 14px var(--display); padding: 9px 12px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; }
.seo-text { max-width: 900px; margin-top: 60px; }

/* ---------- Товар ---------- */
.product { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: start; }
.gallery-main { position: relative; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); aspect-ratio: 1/1; }
.gallery-main img, .gallery-main canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.gallery-main img { object-fit: contain; padding: 6%; }
.gallery-tabs { position: absolute; top: 16px; left: 16px; z-index: 3; display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.9); backdrop-filter: blur(8px); }
.gallery-tabs button { border: 0; background: transparent; padding: 8px 14px; border-radius: 999px; font: 700 13px var(--display); cursor: pointer; color: var(--text-2); }
.gallery-tabs button.is-on { background: var(--ink); color: #fff; }
.thumbs { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.thumbs button { width: 84px; height: 84px; border-radius: 14px; overflow: hidden; border: 2px solid transparent; padding: 0; background: #f3eeea; cursor: pointer; }
.thumbs button.is-on { border-color: var(--wine); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product__info h1 { font-size: clamp(28px, 3.2vw, 44px); letter-spacing: -.025em; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.tags .badge { box-shadow: none; border: 1.5px solid var(--line); }
.stock { font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.stock--in_stock { color: var(--ok); } .stock--order { color: #c77800; } .stock--none { color: var(--muted); }
.buybox { padding: 28px; border-radius: var(--r-lg); background: var(--ink); color: #fff; margin: 24px 0; }
.buybox__price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.buybox__price b { font-size: 44px; font-weight: 900; letter-spacing: -.03em; }
.buybox__price s { color: rgba(255,255,255,.5); }
.buybox__m2 { color: var(--copper-2); font-weight: 600; font-size: 15px; margin-bottom: 22px; }
.mini-calc { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin: 18px 0 20px; }
.mini-calc div { padding: 14px; border-radius: 14px; background: rgba(255,255,255,.07); }
.mini-calc small { display: block; font-size: 11.5px; color: rgba(255,255,255,.55); }
.mini-calc b { font-size: 18px; font-variant-numeric: tabular-nums; }
.perks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.perks li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-2); line-height: 1.4; }
.perks li b { font-size: 20px; line-height: 1; }
.specs { width: 100%; border-collapse: collapse; }
.specs th, .specs td { padding: 13px 0; border-bottom: 1px dashed var(--line); text-align: left; font-size: 15px; }
.specs th { font-weight: 500; color: var(--muted); width: 50%; }
.specs td { font-weight: 700; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }

/* ---------- Контакты ---------- */
.contacts { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; }
.contacts dl { display: grid; grid-template-columns: 150px 1fr; gap: 16px; margin: 0 0 30px; }
.contacts dt { color: var(--muted); font-size: 14px; }
.contacts dd { margin: 0; font-weight: 600; }
.contacts .big { font-size: 26px; font-weight: 900; color: var(--text); text-decoration: none; }
.card-box { padding: 36px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.map { border-radius: var(--r-lg); overflow: hidden; height: 440px; background: var(--sand); margin-top: 40px; }
.map iframe { width: 100%; height: 100%; border: 0; }
.map__stub { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 20px; }
.map__stub small { color: var(--muted); font-size: 12.5px; }

/* ---------- Финальный CTA ---------- */
.final { position: relative; overflow: hidden; }
.final__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.final__phone { display: inline-block; white-space: nowrap; font-size: clamp(26px, 3.4vw, 50px); font-weight: 900; letter-spacing: -.03em; color: #fff; text-decoration: none; margin: 10px 0 6px; }
.final__phone:hover { color: var(--copper-2); }

/* ---------- Подвал ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 80px 0 30px; font-size: 14.5px; position: relative; }
.footer::after { content: ""; position: absolute; inset: 0; background: var(--grain); pointer-events: none; }
.footer > .container { position: relative; z-index: 1; }
.footer__top { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 40px; padding-bottom: 50px; border-bottom: 1px solid var(--line-light); }
.footer h4 { color: #fff; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.footer a { display: block; color: rgba(255,255,255,.7); text-decoration: none; margin-bottom: 10px; }
.footer a:hover { color: #fff; }
.footer .logo { display: flex; margin: 0; }
.footer__brand p { margin: 20px 0; max-width: 320px; }
.footer__big { font-size: 26px; font-weight: 900; color: #fff !important; letter-spacing: -.02em; }
.footer__legal { padding-top: 26px; font-size: 12px; color: rgba(255,255,255,.4); display: grid; gap: 6px; }

/* ---------- Плавающие элементы ---------- */
.mobile-bar { display: none; }
.modal { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 16px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(10,7,10,.7); backdrop-filter: blur(6px); animation: fadeIn .3s; }
.modal__box { position: relative; width: 100%; max-width: 480px; max-height: 94vh; overflow: auto; background: #fff; border-radius: var(--r-lg); padding: 38px; animation: popIn .45s var(--ease); }
.modal__box--wide { max-width: 1000px; padding: 0; }
.modal__box--wide .quiz { box-shadow: none; }
.modal__close { position: absolute; right: 14px; top: 12px; z-index: 5; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--cream); font-size: 24px; cursor: pointer; }
.modal__box h3 { font-size: 26px; padding-right: 30px; }
.modal__sub { color: var(--text-2); font-size: 15px; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes popIn { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.toast { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 210; padding: 16px 24px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; box-shadow: var(--shadow); }
.cookie { position: fixed; left: 20px; bottom: 20px; z-index: 120; max-width: 520px; padding: 22px 24px; border-radius: var(--r); background: #fff; box-shadow: 0 20px 60px rgba(0,0,0,.25); font-size: 13px; line-height: 1.5; color: var(--text-2); }
.cookie__btns { display: flex; gap: 10px; margin-top: 14px; }
.cookie .btn { padding: 11px 18px; font-size: 13.5px; }
.cookie .btn--ghost { color: var(--text); }
.float-cta { position: fixed; right: 24px; bottom: 24px; z-index: 90; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; opacity: 0; transform: translateY(20px); pointer-events: none; transition: .4s var(--ease); }
.float-cta.is-on { opacity: 1; transform: none; pointer-events: auto; }
.float-cta .btn { box-shadow: 0 14px 34px rgba(169,49,86,.45); }

/* ---------- Адаптив ---------- */
.hero__inner > *, .wall-studio > *, .editorial > *, .price-hero > *, .magnet > *, .faq-grid > *, .final__grid > *,
.product > *, .two-col > *, .contacts > *, .quiz > *, .article > *, .section-head > * { min-width: 0; }
@media (max-width: 1480px) {
  .header__phone small { display: none; }
  .nav { gap: 18px; }
}
@media (max-width: 1180px) {
  .nav { position: fixed; inset: 78px 0 auto; flex-direction: column; gap: 0; margin: 0; padding: 10px 20px 26px; background: rgba(20,15,20,.98); transform: translateY(-120%); transition: transform .4s var(--ease); max-height: calc(100svh - 78px); overflow: auto; }
  .nav a { padding: 16px 0; font-size: 18px; border-bottom: 1px solid var(--line-light); opacity: 1; }
  .nav a::after { display: none; }
  .nav-open .nav { transform: none; }
  .nav-open .header { background: rgba(20,15,20,.98); }
  .burger { display: block; }
  .header__cta { display: none; }
  .article { grid-template-columns: minmax(0, 1fr) 280px; }
  .toc { display: none; }
}
@media (max-width: 960px) {
  .hero__inner, .wall-studio, .editorial, .price-hero, .magnet, .faq-grid, .final__grid, .product, .two-col, .contacts, .quiz, .article { grid-template-columns: 1fr; }
  .offer-card { justify-self: start; }
  .facts { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .steps::before { top: 0; bottom: 0; left: 31px; right: auto; width: 2px; height: auto; }
  .step { display: grid; grid-template-columns: 64px 1fr; gap: 0 20px; text-align: left; padding: 0; }
  .step__n { margin: 0; grid-row: span 3; }
  .posts { grid-template-columns: 1fr 1fr; }
  .post--featured { grid-template-columns: 1fr; }
  .post--featured .post__img { min-height: 240px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .quiz__side { min-height: 260px; padding: 30px; }
  .quiz__main { padding: 30px; }
  .wall-stage { min-height: 380px; }
  .editorial__badge { right: 12px; }
  .aside-cta { position: static; }
  .filters { position: static; }
  .cta-inline-box { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; padding-bottom: 64px; }
  .header__row { height: 66px; gap: 12px; }
  .nav { inset: 66px 0 auto; }
  .header__phone small { display: none; }
  .header__phone a { font-size: 15px; }
  .logo__text small { display: none; }
  .logo__text b { font-size: 15px; }
  .logo__mark { width: 34px; height: 34px; }
  .hero__inner { padding-top: 110px; gap: 24px; }
  .hero__btns .btn { width: 100%; }
  .offer-card { padding: 20px; }
  .offer-card__price { font-size: 34px; }
  .options { grid-template-columns: 1fr; }
  .posts { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card__body { padding: 14px; }
  .card__title { font-size: 14.5px; }
  .card__foot { flex-direction: column; align-items: stretch; }
  .price b { font-size: 19px; }
  .lead-form--row .lead-form__fields { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .perks, .mini-calc { grid-template-columns: 1fr 1fr; }
  .contacts dl { grid-template-columns: 1fr; gap: 2px; }
  .contacts dd { margin-bottom: 12px; }
  .page-hero { padding: 120px 0 50px; }
  .cookie { left: 10px; right: 10px; bottom: 74px; max-width: none; }
  .float-cta { display: none; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1.3fr; position: fixed; inset: auto 0 0; z-index: 95; background: var(--ink); padding: 8px; gap: 8px; box-shadow: 0 -10px 30px rgba(0,0,0,.25); }
  .mobile-bar a, .mobile-bar button { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 13px; border-radius: 999px; font: 700 14.5px var(--display); text-decoration: none; border: 0; }
  .mobile-bar a { color: #fff; background: rgba(255,255,255,.1); }
  .mobile-bar button { background: var(--wine); color: #fff; }
  .modal__box { padding: 28px 22px; }
  .quiz__side { display: none; }
  .strip__item { height: 300px; }
  .ba { aspect-ratio: 1/1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
