/* =========================================================
   Палитра «ремонт»: штукатурка, графит, сигнальный оранжевый,
   чертёжный синий
   ========================================================= */
:root {
  --bg: #F3F1EC;
  --bg-2: #EAE6DE;
  --card: #FFFFFF;
  --ink: #1E1F22;
  --ink-2: #3A3B40;
  --muted: #6E6C67;
  --line: rgba(30, 31, 34, .1);
  --line-2: rgba(30, 31, 34, .18);
  --ac: #FF6B1A;
  --ac-2: #E85A0C;
  --ac-soft: #FFE9DB;
  --blue: #2F6FED;
  --blue-soft: #E6EEFE;
  --ok: #1F9D55;
  --dark: #1E1F22;
  --dark-2: #2A2B30;
  --r: 22px;
  --r-sm: 14px;
  --shadow: 0 1px 2px rgba(30,31,34,.04), 0 12px 32px -8px rgba(30,31,34,.12);
  --shadow-lg: 0 30px 80px -20px rgba(30,31,34,.28);
  --wrap: 1280px;
  --g: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px; background-attachment: fixed;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; letter-spacing: -.03em; font-weight: 800; }
button { font: inherit; color: inherit; }
::selection { background: var(--ac); color: #fff; }
:focus-visible { outline: 3px solid var(--ac); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--g); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.note { font-size: 14px; color: var(--muted); margin-top: 18px; }
.link { color: var(--ac-2); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; border-bottom: 2px solid transparent; transition: border-color .3s; }
.link:hover { border-color: currentColor; }

/* ---------- типографика ---------- */
.h1 { font-size: clamp(40px, 5.8vw, 78px); letter-spacing: -.045em; line-height: 1; }
.h2 { font-size: clamp(32px, 4.6vw, 60px); letter-spacing: -.04em; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ac-2); }
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: repeating-linear-gradient(90deg, var(--ac) 0 6px, transparent 6px 9px); }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 640px; margin: 0; }
.head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); max-width: 860px; }
.ac { color: var(--ac); }
.section--dark .ac { color: var(--ac); }

/* слова: появление снизу */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; }
.js .split[data-reveal] .w > span { transform: translateY(110%); transition: transform .9s var(--ease); transition-delay: calc(var(--i) * 60ms); }
.js .split[data-reveal].is-in .w > span { transform: none; }
.js .split[data-reveal] { opacity: 1 !important; transform: none !important; }
.w.ac > span { color: var(--ac); }
/* зачёркивание */
.w.strike { position: relative; overflow: visible; }
.w.strike::after { content: ""; position: absolute; left: -4%; right: -4%; top: 52%; height: .12em; background: var(--ac); border-radius: 4px; transform: scaleX(0) rotate(-3deg); transform-origin: left; transition: transform .7s var(--ease) .9s; }
.w.strike > span { transition: color .4s .9s, transform .9s var(--ease) !important; }
.is-in .w.strike::after { transform: scaleX(1) rotate(-3deg); }
.is-in .w.strike > span { color: #b5b1a9; }
html:not(.js) .w.strike::after { transform: scaleX(1) rotate(-3deg); }

/* ---------- кнопки ---------- */
.btn { --h: 54px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: var(--h); padding: 0 26px; border: 0; border-radius: 999px; background: var(--ac); color: #fff; font-weight: 800; font-size: 16px; letter-spacing: -.01em; cursor: pointer; white-space: nowrap; transition: background .3s, color .3s, box-shadow .3s, transform .3s var(--ease); box-shadow: 0 10px 24px -10px rgba(255,107,26,.7); overflow: hidden; }
.btn::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, rgba(255,255,255,.18) 0 10px, transparent 10px 20px); transform: translateX(-100%); transition: transform .6s var(--ease); }
.btn:hover::before { transform: translateX(0); }
.btn:hover { background: var(--ac-2); box-shadow: 0 16px 30px -10px rgba(255,107,26,.8); }
.btn:active { transform: scale(.97); }
.btn > * { position: relative; }
.btn svg { transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--lg { --h: 62px; padding: 0 32px; font-size: 17px; }
.btn--sm { --h: 44px; padding: 0 20px; font-size: 14.5px; }
.btn--block { width: 100%; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line-2); }
.btn--ghost::before { display: none; }
.btn--ghost:hover { background: var(--ink); color: #fff; box-shadow: inset 0 0 0 2px var(--ink); }
.section--dark .btn--ghost { color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.25); }
.section--dark .btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--wa { background: #25D366; box-shadow: none; } .btn--wa:hover { background: #1fb457; box-shadow: none; }
.btn--tg { background: #229ED9; box-shadow: none; } .btn--tg:hover { background: #1b87bb; box-shadow: none; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--bg-2); font-size: 13px; font-weight: 700; color: var(--ink-2); }
.chip i { display: inline-grid; color: var(--ok); }
.chip--ac { background: var(--ac-soft); color: var(--ac-2); }
.chip--pay { background: var(--blue-soft); color: var(--blue); }

/* ---------- прогресс и рулетка ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 4px; z-index: 80; pointer-events: none; }
.progress i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: repeating-linear-gradient(-45deg, var(--ac) 0 10px, var(--ink) 10px 20px); }
.tape { position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 40; width: 46px; height: 62vh; pointer-events: none; display: flex; flex-direction: column; align-items: center; }
.tape__case { width: 46px; height: 46px; border-radius: 12px; background: var(--ac); box-shadow: inset 0 -4px 0 rgba(0,0,0,.18), 0 6px 16px -6px rgba(255,107,26,.8); display: grid; place-items: center; flex: none; position: relative; z-index: 2; }
.tape__case span { width: 22px; height: 22px; border-radius: 50%; border: 4px solid #fff; background: var(--ink); }
.tape__track { position: relative; width: 26px; flex: 1; margin-top: -4px; overflow: hidden; }
.tape__band { position: absolute; left: 0; top: 0; width: 26px; height: 100%; background: #F6D33C; border-radius: 0 0 3px 3px; transform-origin: top; transform: scaleY(var(--p, 0)); box-shadow: inset -2px 0 0 rgba(0,0,0,.08); }
.tape__band i { position: absolute; left: 0; height: 1.5px; background: var(--ink); transform: scaleY(calc(1 / max(var(--p, 0), .02))); }
.tape__band b { position: absolute; left: 13px; font-size: 8px; font-weight: 800; line-height: 1; margin-top: -4px; transform: scaleY(calc(1 / max(var(--p, 0), .02))); transform-origin: left center; color: var(--ink); }
.tape__hook { position: absolute; left: -2px; width: 30px; height: 5px; background: #8b8b8b; border-radius: 2px; top: calc(var(--p, 0) * 100% - 3px); }

/* ---------- шапка ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 60; padding: 12px 0; transition: padding .35s var(--ease); }
.header__in { display: flex; align-items: center; gap: 22px; height: 66px; padding: 0 12px 0 18px; border-radius: 999px; transition: background .35s, box-shadow .35s, backdrop-filter .35s; }
.header.is-scrolled { padding: 8px 0; }
.header.is-scrolled .header__in, .header.is-open .header__in { background: rgba(255,255,255,.82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--shadow); }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -.02em; white-space: nowrap; }
.logo__mark { display: grid; transition: transform .5s var(--ease); }
.logo:hover .logo__mark { transform: rotate(-8deg) scale(1.06); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--ink-2); transition: background .25s, color .25s; }
.nav a:hover { background: var(--bg-2); color: var(--ink); }
.header__phone { display: grid; line-height: 1.15; text-align: right; font-weight: 800; font-size: 15.5px; white-space: nowrap; }
.header__phone small { font-weight: 500; font-size: 12px; color: var(--muted); }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); border: 0; cursor: pointer; position: relative; flex: none; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, top .3s; }
.burger span:nth-child(1) { top: 19px; } .burger span:nth-child(2) { top: 26px; }
.header.is-open .burger span:nth-child(1) { top: 22.5px; transform: rotate(45deg); }
.header.is-open .burger span:nth-child(2) { top: 22.5px; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 130px 0 70px; overflow: hidden; }
.hero--page { padding-bottom: 30px; }
.hero__grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(30px, 4vw, 64px); align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow); font-size: 14px; font-weight: 700; margin-bottom: 26px; }
.badge i { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(31,157,85,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(31,157,85,0); } 100% { box-shadow: 0 0 0 0 rgba(31,157,85,0); } }
.hero .h1 { margin-bottom: 26px; }
.hero__sub { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 560px; margin-bottom: 34px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__trust { list-style: none; padding: 0; margin: 40px 0 0; display: flex; gap: 12px; flex-wrap: wrap; }
.hero__trust li { background: var(--card); border-radius: var(--r-sm); padding: 14px 20px; box-shadow: var(--shadow); display: grid; line-height: 1.2; }
.hero__trust b { font-size: 22px; letter-spacing: -.03em; }
.hero__trust span { font-size: 13px; color: var(--muted); font-weight: 600; }
.hero__visual { position: relative; }
.hero__blob { position: absolute; inset: 6% 4% 10%; border-radius: 50%; background: radial-gradient(circle at 50% 45%, #FFD9C2, rgba(255,217,194,0) 68%); filter: blur(10px); animation: breathe 7s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.08); } }
.hero__video { position: relative; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.4; }
.hero__video video { width: 100%; height: 100%; object-fit: cover; }
.hero__sound { position: absolute; left: 16px; bottom: 16px; display: inline-flex; gap: 8px; align-items: center; padding: 10px 16px; border-radius: 999px; border: 0; background: rgba(255,255,255,.92); font-weight: 800; cursor: pointer; }
.sticker { position: absolute; z-index: 3; background: var(--card); border-radius: 14px; padding: 10px 14px; font-size: 14px; font-weight: 800; box-shadow: var(--shadow); display: inline-flex; gap: 8px; align-items: center; animation: float 6s ease-in-out infinite; }
.sticker svg { color: var(--ok); }
.sticker--1 { bottom: 30%; left: -4%; transform: rotate(-4deg); }
.sticker--2 { bottom: 14%; right: -2%; animation-delay: -3s; transform: rotate(3deg); }
@keyframes float { 50% { translate: 0 -10px; } }
.hazard { height: 14px; margin-top: 70px; background: repeating-linear-gradient(-45deg, var(--ac) 0 18px, var(--ink) 18px 36px); opacity: .9; }

/* ---------- изометрия ---------- */
.iso { width: 100%; height: auto; display: block; overflow: visible; }
.iso-dim { font: 800 12px var(--font); fill: var(--ac-2); }
.iso-bp { font: 800 9px var(--font); fill: var(--blue); letter-spacing: .1em; }
.iso-laser { animation: laser 1.2s ease-in-out infinite; }
@keyframes laser { 50% { opacity: .35; } }
.iso-glow { animation: glow 3s ease-in-out infinite; }
@keyframes glow { 50% { opacity: .6; } }
.ly { opacity: 0; transition: opacity .7s var(--ease), transform .8s var(--ease); }
.ly.on { opacity: 1; }
.ly-pop { transform: translateY(-14px); } .ly-pop.on { transform: none; }
.ly-drop { transform: translateY(-40px); } .ly-drop.on { transform: none; }

/* ---------- до/после ---------- */
.ba { --pos: 50%; position: relative; border-radius: var(--r); background: linear-gradient(160deg, #fff, #F1ECE4); box-shadow: var(--shadow-lg); padding: clamp(14px, 3vw, 34px); user-select: none; touch-action: pan-y; overflow: hidden; }
.ba__layer { position: relative; }
.ba__layer img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-sm); }
.ba__after { position: absolute; inset: clamp(14px, 3vw, 34px); clip-path: inset(0 0 0 var(--pos)); }
.ba__line { position: absolute; top: 0; bottom: 0; left: calc(clamp(14px, 3vw, 34px) + (100% - 2 * clamp(14px, 3vw, 34px)) * var(--pos-n, .5)); width: 3px; margin-left: -1.5px; background: var(--ac); pointer-events: none; }
.ba__handle { position: absolute; top: 50%; left: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: var(--ac); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 6px rgba(255,107,26,.25), 0 10px 20px -6px rgba(255,107,26,.8); transition: transform .3s var(--ease); }
.ba:hover .ba__handle { transform: scale(1.1); }
.ba__tag { position: absolute; top: 18px; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 800; z-index: 2; pointer-events: none; }
.ba__tag--l { left: 18px; background: var(--ink); color: #fff; }
.ba__tag--r { right: 18px; background: var(--ac); color: #fff; }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; z-index: 3; }
.hint { text-align: center; font-size: 14px; font-weight: 700; color: var(--muted); margin: 14px 0 0; animation: nudge 2.4s ease-in-out infinite; }
@keyframes nudge { 50% { letter-spacing: .04em; } }

/* ---------- секции ---------- */
.section { padding: clamp(80px, 10vw, 140px) 0; position: relative; overflow-x: clip; }
.section--tight { padding: 40px 0 clamp(70px, 9vw, 120px); }
section[id] { scroll-margin-top: 90px; }
.section--dark { background: var(--dark); color: #fff; }
.section--dark .lead, .section--dark .muted { color: #A9A8A4; }
.section--dark .eyebrow { color: var(--ac); }
.section--blueprint { background: var(--blue); color: #fff; background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px; }
.section--blueprint .eyebrow { color: #fff; }
.section--blueprint .eyebrow::before { background: repeating-linear-gradient(90deg, #fff 0 6px, transparent 6px 9px); }
.section--blueprint .lead { color: rgba(255,255,255,.8); }
.section--blueprint .w.ac > span { color: #FFD05C; }

/* stats */
.stats { padding: 40px 0 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { background: var(--card); border-radius: var(--r); padding: 28px 26px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.stat::after { content: ""; position: absolute; right: -20px; top: -20px; width: 80px; height: 80px; border-radius: 50%; background: var(--ac-soft); transition: transform .6s var(--ease); }
.stat:hover::after { transform: scale(2.2); }
.stat b { display: block; font-size: clamp(40px, 4.6vw, 62px); line-height: 1; letter-spacing: -.05em; margin-bottom: 8px; position: relative; z-index: 1; }
.stat > span { color: var(--muted); font-weight: 600; position: relative; z-index: 1; }

/* fears */
.fears { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fear { background: var(--card); border-radius: var(--r); padding: 30px; box-shadow: var(--shadow); position: relative; transition: transform .4s var(--ease), box-shadow .4s; }
.fear:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.fear__n { font-size: 14px; font-weight: 800; color: var(--muted); }
.fear__q { font-size: 21px; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; margin: 14px 0 18px; position: relative; display: inline; background: linear-gradient(var(--ac), var(--ac)) left 55% / 0% 3px no-repeat; transition: background-size .7s var(--ease) .5s, color .5s .5s; }
.fear.is-in .fear__q, html:not(.js) .fear__q { background-size: 100% 3px; color: #a7a39b; }
.fear__a { display: flex; gap: 10px; align-items: flex-start; margin: 20px 0 0; padding-top: 18px; border-top: 1px dashed var(--line-2); font-weight: 700; color: var(--ink); opacity: 0; transform: translateY(12px); transition: opacity .6s 1.1s, transform .6s var(--ease) 1.1s; }
.fear.is-in .fear__a, html:not(.js) .fear__a { opacity: 1; transform: none; }
.fear__a i { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; }

/* reels */
.reels { display: flex; gap: 16px; overflow-x: auto; scroll-padding-left: max(var(--g), calc((100vw - var(--wrap)) / 2 + var(--g))); padding: 0 var(--g) 20px max(var(--g), calc((100vw - var(--wrap)) / 2 + var(--g))); scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; }
.reels::-webkit-scrollbar { display: none; }
.reels.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.reel { position: relative; flex: none; width: clamp(220px, 22vw, 290px); aspect-ratio: 9 / 16; border-radius: var(--r); overflow: hidden; border: 0; padding: 0; cursor: pointer; background: #2c2d33; scroll-snap-align: start; text-align: left; transition: transform .45s var(--ease); }
.reel:hover { transform: translateY(-8px) rotate(-1deg); }
.reel__media, .reel__media video, .reel__ph { position: absolute; inset: 0; width: 100%; height: 100%; }
.reel__media video { object-fit: cover; }
.reel__ph { display: grid; place-items: center; padding: 18px; background: radial-gradient(circle at 50% 40%, #3a3b42, #232429); }
.reel__soon { position: absolute; left: 50%; top: 18%; transform: translateX(-50%); white-space: nowrap; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35), transparent 30%, transparent 55%, rgba(0,0,0,.75)); pointer-events: none; }
.reel__top { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; align-items: center; z-index: 2; }
.reel__top .chip { background: rgba(255,255,255,.92); }
.reel__play { width: 42px; height: 42px; border-radius: 50%; background: var(--ac); color: #fff; display: grid; place-items: center; transition: transform .35s var(--ease); }
.reel:hover .reel__play { transform: scale(1.15); }
.reel__cap { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2; color: #fff; display: grid; gap: 4px; }
.reel__cap b { font-size: 18px; letter-spacing: -.02em; line-height: 1.2; }
.reel__cap span { font-size: 13px; opacity: .8; }

/* roadmap */
.road__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.road__sticky { position: sticky; top: 100px; }
.road__card { background: var(--card); border-radius: 28px; box-shadow: var(--shadow-lg); padding: 22px; }
.road__top { display: flex; justify-content: space-between; align-items: center; font-weight: 700; color: var(--muted); padding: 4px 6px 10px; }
.road__top b { color: var(--ink); font-size: 20px; }
.road__room { position: relative; background: linear-gradient(160deg, #FAF8F4, #EFEAE2); border-radius: 18px; padding: 18px; overflow: hidden; }
.road__bar { height: 10px; border-radius: 999px; background: var(--bg-2); margin: 18px 4px 14px; overflow: hidden; }
.road__bar i { display: block; height: 100%; width: 0; border-radius: 999px; background: repeating-linear-gradient(-45deg, var(--ac) 0 8px, var(--ac-2) 8px 16px); transition: width .8s var(--ease); background-size: 200% 100%; animation: stripes 1s linear infinite; }
@keyframes stripes { to { background-position: 22px 0; } }
.road__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 0 6px; font-size: 14px; color: var(--muted); font-weight: 600; }
.road__foot b { color: var(--blue); font-size: 16px; text-align: right; }
.pop { position: absolute; z-index: 3; background: var(--card); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 14px 18px; display: grid; gap: 2px; opacity: 0; transform: translateY(20px) scale(.9); transition: opacity .5s, transform .6s var(--ease); pointer-events: none; }
.pop.on { opacity: 1; transform: none; }
.pop b { font-size: 16px; }
.pop span { font-size: 13px; color: var(--muted); font-weight: 600; }
.pop--doc { right: 16px; top: 16px; padding-left: 82px; }
.pop__stamp { position: absolute !important; left: 12px; top: 50%; width: 60px; height: 60px; margin-top: -30px; border-radius: 50%; border: 3px solid var(--ac); color: var(--ac) !important; font-size: 8.5px !important; font-weight: 800 !important; line-height: 1.1; text-transform: uppercase; display: grid; place-items: center; text-align: center; transform: rotate(-14deg) scale(2); opacity: 0; transition: transform .45s cubic-bezier(.5,1.8,.5,1) .35s, opacity .2s .35s; }
.pop--doc.on .pop__stamp { transform: rotate(-14deg) scale(1); opacity: 1; }
.pop--done { left: 50%; top: 50%; transform: translate(-50%, -30%) scale(.8); text-align: center; justify-items: center; padding: 20px 26px; }
.pop--done.on { transform: translate(-50%, -50%); }
.pop--done i { width: 46px; height: 46px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; margin-bottom: 6px; }
.road__steps { list-style: none; margin: 0; padding: 0 0 0 64px; position: relative; }
.road__line { position: absolute; left: 22px; top: 10px; bottom: 10px; width: 4px; border-radius: 4px; background: repeating-linear-gradient(180deg, var(--line-2) 0 8px, transparent 8px 14px); }
.road__line i { position: absolute; left: 0; top: 0; width: 100%; height: 0; background: var(--ac); border-radius: 4px; }
.road__roller { position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%) rotate(90deg); filter: drop-shadow(0 6px 10px rgba(0,0,0,.2)); }
.rs { position: relative; min-height: 46vh; padding: 8px 0 60px; opacity: .35; transition: opacity .5s; }
.rs.is-active { opacity: 1; }
.rs__n { position: absolute; left: -64px; top: 0; width: 48px; height: 48px; border-radius: 50%; background: var(--card); box-shadow: var(--shadow); display: grid; place-items: center; font-weight: 800; font-size: 15px; transition: background .4s, color .4s, transform .4s var(--ease); z-index: 1; }
.rs.is-active .rs__n { background: var(--ac); color: #fff; transform: scale(1.12); }
.rs__time { font-size: 13px; font-weight: 800; color: var(--ac-2); text-transform: uppercase; letter-spacing: .08em; }
.rs h3 { font-size: clamp(26px, 2.6vw, 36px); margin: 8px 0 14px; }
.rs p { color: var(--muted); font-size: 17px; max-width: 480px; }
.rs__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rs__video { margin-top: 18px; display: inline-flex; gap: 8px; align-items: center; border: 0; background: var(--ink); color: #fff; padding: 10px 18px 10px 12px; border-radius: 999px; font-weight: 700; cursor: pointer; }
.rs__video svg { color: var(--ac); }
.road__cta { margin-top: 40px; background: var(--ink); color: #fff; border-radius: var(--r); padding: 26px 30px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.road__cta p { margin: 0; font-size: 20px; font-weight: 700; }
.road__cta b { color: var(--ac); }

/* quiz */
.quiz { display: grid; grid-template-columns: 1fr 380px; background: var(--card); color: var(--ink); border-radius: 28px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.45); }
.quiz__main { padding: clamp(24px, 4vw, 48px); min-height: 520px; display: flex; flex-direction: column; }
.quiz__head { display: flex; align-items: center; gap: 18px; font-weight: 800; font-size: 14px; color: var(--muted); margin-bottom: 30px; white-space: nowrap; }
.quiz__progress { flex: 1; height: 8px; background: var(--bg-2); border-radius: 999px; overflow: hidden; }
.quiz__bar { height: 100%; width: 0; background: var(--ac); border-radius: 999px; transition: width .6s var(--ease); }
.quiz__step { display: none; flex: 1; }
.quiz__step.is-active { display: block; animation: stepIn .5s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.quiz__q { font-size: clamp(26px, 2.8vw, 36px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin-bottom: 26px; }
.quiz__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { display: grid; gap: 2px; padding: 18px 20px; border-radius: 16px; border: 2px solid var(--line); cursor: pointer; transition: border-color .25s, background .25s, transform .25s var(--ease); min-height: 84px; align-content: center; position: relative; }
.opt span::after { content: ""; position: absolute; right: 16px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; border: 2px solid var(--line-2); transition: all .25s; }
.opt b { font-size: 17px; }
.opt small { color: var(--muted); font-size: 14px; }
.opt:hover span { border-color: var(--line-2); transform: translateY(-2px); }
.opt input:checked + span { border-color: var(--ac); background: var(--ac-soft); }
.opt input:checked + span::after { border-color: var(--ac); background: var(--ac) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat; }
.opt input:focus-visible + span { outline: 3px solid var(--ac); outline-offset: 2px; }
.range__val { font-size: clamp(64px, 8vw, 104px); font-weight: 800; letter-spacing: -.06em; line-height: 1; margin-bottom: 24px; }
.range__val small { font-size: .3em; color: var(--muted); margin-left: 6px; letter-spacing: 0; }
.range input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 12px; border-radius: 999px; background: repeating-linear-gradient(90deg, var(--line-2) 0 2px, transparent 2px 22px), var(--bg-2); outline: none; }
.range input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 34px; height: 34px; border-radius: 50%; background: var(--ac); border: 5px solid #fff; box-shadow: 0 4px 14px rgba(255,107,26,.6); cursor: pointer; }
.range input[type=range]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--ac); border: 5px solid #fff; box-shadow: 0 4px 14px rgba(255,107,26,.6); cursor: pointer; }
.range__scale { display: flex; justify-content: space-between; color: var(--muted); font-size: 13px; font-weight: 700; margin-top: 12px; }
.quiz__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 30px; }
.quiz__result { background: var(--ac-soft); border-radius: 16px; padding: 18px 22px; margin-bottom: 22px; }
.quiz__result span { display: block; font-size: 13px; font-weight: 800; color: var(--ac-2); text-transform: uppercase; letter-spacing: .06em; }
.quiz__result b { display: block; font-size: clamp(26px, 3vw, 36px); letter-spacing: -.04em; line-height: 1.15; margin: 4px 0; }
.quiz__result small { color: var(--muted); font-size: 13.5px; }
.quiz__side { background: var(--dark); color: #fff; padding: 34px 30px; display: flex; flex-direction: column; }
.quiz__live-l { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--ac); }
.quiz__live { font-size: clamp(32px, 3vw, 42px); letter-spacing: -.04em; line-height: 1.1; margin: 8px 0 4px; font-variant-numeric: tabular-nums; }
.quiz__live-s { font-size: 14px; color: #A9A8A4; }
.quiz__room { margin-top: auto; padding-top: 20px; }

/* prices */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.price { position: relative; display: flex; flex-direction: column; background: var(--card); border-radius: 26px; padding: 32px; box-shadow: var(--shadow); transition: transform .45s var(--ease), box-shadow .45s; }
.price:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.price--hl { background: var(--dark); color: #fff; }
.price__tag { position: absolute; top: 22px; right: 22px; background: var(--ac); color: #fff; font-size: 12px; font-weight: 800; padding: 6px 12px; border-radius: 999px; }
.price__n { font-size: 56px; font-weight: 800; line-height: 1; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px var(--line-2); margin-bottom: 8px; }
.price--hl .price__n { -webkit-text-stroke-color: rgba(255,255,255,.25); }
.price h3 { font-size: 28px; margin-bottom: 18px; }
.price__val { font-size: clamp(36px, 3.6vw, 48px); font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.price__val small { font-size: 16px; font-weight: 700; color: var(--muted); letter-spacing: 0; }
.price--hl .price__val small, .price--hl .price__term { color: #A9A8A4; }
.price__term { color: var(--muted); font-weight: 600; margin: 12px 0 22px; padding-bottom: 22px; border-bottom: 1px dashed var(--line-2); }
.price--hl .price__term { border-color: rgba(255,255,255,.18); }
.price ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; flex: 1; }
.price li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: 16px; }
.price li i { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--ac-soft); color: var(--ac-2); display: grid; place-items: center; margin-top: 1px; }
.price li i svg { width: 12px; }
.price--hl .price li i, .price--hl li i { background: var(--ac); color: #fff; }
.price--hl .btn--ghost { color: #fff; }

/* works */
.works__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.works__head .head { margin-bottom: 40px; }
.works__ctrl { display: flex; align-items: center; gap: 10px; margin-bottom: 44px; }
.works__ctrl .link { margin-right: 10px; }
.arrow { width: 54px; height: 54px; border-radius: 50%; border: 0; background: var(--card); box-shadow: var(--shadow); cursor: pointer; font-size: 20px; font-weight: 800; transition: background .3s, color .3s, transform .3s var(--ease); }
.arrow:hover { background: var(--ac); color: #fff; transform: scale(1.06); }
.works--track { display: flex; gap: 18px; overflow-x: auto; scroll-padding-left: max(var(--g), calc((100vw - var(--wrap)) / 2 + var(--g))); scroll-snap-type: x mandatory; scrollbar-width: none; padding: 10px var(--g) 30px max(var(--g), calc((100vw - var(--wrap)) / 2 + var(--g))); cursor: grab; }
.works--track::-webkit-scrollbar { display: none; }
.works--track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.works--track .work { flex: none; width: clamp(290px, 34vw, 440px); scroll-snap-align: start; }
.works--grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.work { display: flex; flex-direction: column; background: var(--card); border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); transition: transform .45s var(--ease), box-shadow .45s; }
.work:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.work.is-hidden { display: none; }
.work__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: linear-gradient(160deg, #FAF8F4, #ECE6DC); }
.work__media img, .work__media video { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.work__media video { position: absolute; inset: 0; opacity: 0; transition: opacity .4s; z-index: 1; }
.work.is-playing .work__media video { opacity: 1; }
.work:hover .work__media img, .work:hover .ph { transform: scale(1.05); }
.ph { width: 100%; height: 100%; display: grid; place-items: center; padding: 6% 10%; transition: transform 1s var(--ease); }
.work__tag { position: absolute; top: 14px; left: 14px; z-index: 2; background: rgba(255,255,255,.94); }
.work__vid { position: absolute; right: 14px; top: 14px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; background: var(--ac); color: #fff; display: grid; place-items: center; }
.work__body { padding: 22px 24px 24px; display: grid; gap: 12px; }
.work__body h3 { font-size: 21px; letter-spacing: -.02em; line-height: 1.2; }
.work__meta { display: flex; gap: 8px; flex-wrap: wrap; }
.work__meta span { background: var(--bg); border-radius: 10px; padding: 5px 10px; font-size: 13.5px; color: var(--muted); }
.work__meta b { color: var(--ink); }
.work__go { display: inline-flex; gap: 6px; align-items: center; font-weight: 800; color: var(--ac-2); font-size: 15px; }
.work__go svg { transition: transform .3s var(--ease); }
.work:hover .work__go svg { transform: translateX(5px); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.filter { border: 0; background: var(--card); box-shadow: var(--shadow); padding: 10px 18px; border-radius: 999px; font-weight: 700; cursor: pointer; transition: background .25s, color .25s; }
.filter sup { font-size: 11px; color: var(--muted); }
.filter.is-on { background: var(--ink); color: #fff; }
.filter.is-on sup { color: var(--ac); }

/* contract */
.contract { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.checks { list-style: none; padding: 0; margin: 0 0 34px; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: center; font-weight: 700; font-size: 18px; }
.checks i { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; }
.doc { perspective: 1200px; }
.doc__paper { position: relative; background: #fff; border-radius: 10px; padding: 36px 34px 40px; box-shadow: 0 1px 0 #e7e2d9, 0 14px 0 -6px #f4f1ec, 0 28px 0 -12px #ebe6dd, var(--shadow-lg); transform: rotate(2deg); transition: transform .8s var(--ease); }
.doc:hover .doc__paper { transform: rotate(0) translateY(-6px); }
.doc__head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 18px; margin-bottom: 8px; border-bottom: 2px solid var(--ink); }
.doc__head b { font-size: 22px; letter-spacing: -.02em; }
.doc__head span { font-size: 13px; color: var(--muted); }
.doc__row { display: grid; grid-template-columns: 1fr auto 28px; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px dashed var(--line-2); }
.doc__row span { color: var(--muted); font-weight: 600; }
.doc__row b { font-size: 17px; }
.doc__row i { width: 26px; height: 26px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; transform: scale(0); transition: transform .45s cubic-bezier(.5,1.8,.5,1); transition-delay: calc(.5s + var(--d) * .3s); }
.doc.is-in .doc__row i, html:not(.js) .doc__row i { transform: scale(1); }
.doc__lines { display: grid; gap: 9px; margin: 24px 0; }
.doc__lines i { height: 7px; border-radius: 4px; background: var(--bg-2); }
.doc__lines i:nth-child(2) { width: 85%; } .doc__lines i:nth-child(3) { width: 60%; }
.doc__sign { display: flex; justify-content: space-between; gap: 30px; }
.doc__sign span { flex: 1; border-top: 1.5px solid var(--ink); padding-top: 6px; font-size: 12px; color: var(--muted); }
.doc__stamp { position: absolute; right: 30px; bottom: 54px; width: 128px; height: 128px; border-radius: 50%; border: 4px double var(--ac); color: var(--ac); display: grid; place-items: center; text-align: center; font-weight: 800; font-size: 13px; line-height: 1.15; text-transform: uppercase; letter-spacing: .04em; transform: rotate(-16deg) scale(2.4); opacity: 0; transition: transform .5s cubic-bezier(.5,1.6,.5,1) 2s, opacity .2s 2s; mix-blend-mode: multiply; }
.doc.is-in .doc__stamp, html:not(.js) .doc__stamp { transform: rotate(-16deg) scale(1); opacity: .9; }

/* services */
.svcs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc { position: relative; display: grid; align-content: start; gap: 10px; background: var(--card); border-radius: var(--r); padding: 28px 28px 70px; box-shadow: var(--shadow); overflow: hidden; transition: transform .45s var(--ease), background .45s, color .45s; margin: 0; }
.svc:hover { transform: translateY(-6px); background: var(--ink); color: #fff; }
.svc__n { font-weight: 800; color: var(--ac-2); font-size: 14px; }
.svc h3 { font-size: 22px; letter-spacing: -.02em; }
.svc p { color: var(--muted); font-size: 15.5px; margin: 0; transition: color .45s; }
.svc:hover p { color: #A9A8A4; }
.svc__go { position: absolute; right: 22px; bottom: 22px; width: 44px; height: 44px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; transition: background .4s, transform .4s var(--ease); }
.svc:hover .svc__go { background: var(--ac); color: #fff; transform: rotate(45deg); }

/* faq */
.faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--card); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 70px 22px 26px; font-weight: 800; font-size: 18px; letter-spacing: -.01em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: absolute; right: 20px; top: 50%; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%; background: var(--bg); transition: background .3s, transform .4s var(--ease); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 10px; right: 10px; top: 16px; height: 2px; background: currentColor; border-radius: 2px; }
.faq summary i::after { transform: rotate(90deg); transition: transform .3s; }
.faq details[open] summary i { background: var(--ac); color: #fff; transform: rotate(180deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq__a { overflow: hidden; }
.faq__a p { padding: 0 26px 24px; margin: 0; color: var(--muted); }

/* final */
.final__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.final__phone { display: inline-block; font-size: clamp(34px, 4.4vw, 58px); font-weight: 800; letter-spacing: -.04em; transition: color .3s; }
.final__phone:hover { color: var(--ac); }
.final__hours { color: #A9A8A4; margin: 6px 0 24px; }
.final__msg { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.districts { display: flex; flex-wrap: wrap; gap: 8px; }
.districts span { padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.08); font-size: 13px; color: #cfcdc8; }
.final__form { background: var(--card); color: var(--ink); border-radius: 28px; padding: clamp(26px, 3vw, 40px); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }

/* forms */
.form { display: grid; gap: 14px; }
.form__title { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.03em; margin-bottom: 4px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 13px; font-weight: 700; color: var(--muted); padding-left: 4px; }
.input { width: 100%; height: 58px; padding: 0 20px; border-radius: 16px; border: 2px solid var(--line); background: var(--bg); font: 600 17px var(--font); color: var(--ink); transition: border-color .25s, background .25s, box-shadow .25s; }
.input::placeholder { color: #a5a29c; font-weight: 500; }
.input:focus { outline: none; border-color: var(--ac); background: #fff; box-shadow: 0 0 0 5px var(--ac-soft); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); line-height: 1.45; cursor: pointer; }
.consent a { text-decoration: underline; }
.consent input { accent-color: var(--ac); width: 18px; height: 18px; margin: 0; flex: none; }
.form__note { font-size: 13px; color: var(--muted); margin: 0; text-align: center; }
.form__error { color: #D93025; font-size: 14px; font-weight: 700; margin: 0; display: none; }
.form.has-error .form__error { display: block; animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.form__error a { text-decoration: underline; }
.form__success { display: none; text-align: center; padding: 20px 0; }
.form.is-sent > *:not(.form__success) { display: none; }
.form.is-sent .form__success { display: grid; justify-items: center; gap: 6px; animation: stepIn .5s var(--ease); }
.form__success i { width: 72px; height: 72px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; margin-bottom: 8px; animation: popIn .6s cubic-bezier(.5,1.8,.5,1); }
.form__success i svg { width: 34px; height: 34px; }
@keyframes popIn { from { transform: scale(0); } }
.form__success b { font-size: 26px; letter-spacing: -.03em; }
.form__success p { color: var(--muted); margin: 0; }

/* modal & player */
.modal { border: 0; padding: 0; border-radius: 28px; width: min(500px, calc(100% - 24px)); max-height: calc(100dvh - 24px); background: var(--card); color: var(--ink); box-shadow: var(--shadow-lg); }
.modal::backdrop, .player::backdrop { background: rgba(20, 20, 22, .6); backdrop-filter: blur(8px); }
.modal[open] { animation: modalIn .5s var(--ease); }
@keyframes modalIn { from { opacity: 0; transform: translateY(30px) scale(.96); } }
.modal__in { padding: 30px; position: relative; }
.modal__room { width: 190px; margin: -10px auto 4px; }
.modal__close, .player__close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--bg); font-size: 26px; line-height: 1; cursor: pointer; z-index: 2; transition: background .3s, transform .3s var(--ease); }
.modal__close:hover, .player__close:hover { background: var(--ac); color: #fff; transform: rotate(90deg); }
.modal .eyebrow { margin-bottom: 8px; }
.modal__title { font-size: 32px; letter-spacing: -.03em; margin-bottom: 8px; }
.modal__text { color: var(--muted); margin-bottom: 20px; }
.player { border: 0; padding: 0; background: transparent; width: 100vw; height: 100dvh; max-width: none; max-height: none; color: #fff; }
.player[open] { display: grid; place-items: center; animation: modalIn .4s var(--ease); }
.player__stage { width: min(92vw, 1100px); max-height: 82dvh; display: grid; place-items: center; }
.player__stage video, .player__stage img { max-width: 100%; max-height: 82dvh; border-radius: 18px; background: #000; }
.player__stage video.is-vertical { max-height: 82dvh; width: auto; }
.player__ph { width: min(380px, 80vw); aspect-ratio: 9/16; border-radius: 18px; background: radial-gradient(circle at 50% 40%, #3a3b42, #232429); display: grid; place-items: center; text-align: center; padding: 24px; gap: 16px; align-content: center; }
.player__ph p { margin: 0; font-weight: 700; color: #cfcdc8; }
.player__close { background: rgba(255,255,255,.12); color: #fff; top: 20px; right: 20px; }
.player__nav { position: absolute; top: 50%; width: 56px; height: 56px; margin-top: -28px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 22px; cursor: pointer; transition: background .3s; }
.player__nav:hover { background: var(--ac); }
.player__nav--prev { left: 20px; } .player__nav--next { right: 20px; }
.player__cap { position: absolute; left: 0; right: 0; bottom: 20px; text-align: center; display: grid; gap: 2px; }
.player__cap span { opacity: .7; font-size: 14px; }

/* fab, mbar, cookie */
.fab { position: fixed; right: 82px; bottom: 26px; z-index: 55; display: inline-flex; align-items: center; gap: 10px; height: 60px; padding: 0 24px 0 10px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 800; font-size: 16px; cursor: pointer; box-shadow: 0 16px 36px -10px rgba(30,31,34,.55); transform: translateY(140%); transition: transform .5s var(--ease), background .3s; }
.fab.is-shown { transform: none; }
.fab:hover { background: var(--ac); }
.fab__icon { width: 44px; height: 44px; border-radius: 50%; background: #fff; display: grid; place-items: center; animation: roll 3s ease-in-out infinite; }
.fab__icon svg { width: 32px; height: 32px; }
@keyframes roll { 0%, 70%, 100% { transform: rotate(0); } 80% { transform: rotate(-14deg); } 90% { transform: rotate(10deg); } }
.mbar { display: none; position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 60; grid-template-columns: 1fr 1.3fr; gap: 8px; padding: 8px; border-radius: 22px; background: rgba(255,255,255,.92); backdrop-filter: blur(14px); box-shadow: var(--shadow-lg); }
.mbar a, .mbar button { display: flex; align-items: center; justify-content: center; gap: 8px; height: 52px; border-radius: 16px; font-weight: 800; font-size: 15px; border: 0; cursor: pointer; }
.mbar a { background: var(--bg-2); }
.mbar button { background: var(--ac); color: #fff; }
.cookie { position: fixed; left: 16px; bottom: 16px; z-index: 70; max-width: 400px; display: none; gap: 12px; align-items: center; background: var(--card); padding: 16px 18px; border-radius: 18px; box-shadow: var(--shadow-lg); font-size: 13.5px; color: var(--muted); }
.cookie a { text-decoration: underline; color: var(--ink); }

/* footer */
.footer { background: var(--dark); color: #A9A8A4; padding: 70px 0 110px; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; }
.footer .logo { color: #fff; margin-bottom: 16px; }
.footer h4 { color: #fff; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer a:hover { color: var(--ac); }
.footer__legal { margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; }

/* pages */
.crumbs { font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 26px; }
.crumbs a:hover { color: var(--ac-2); }
.crumbs span { margin: 0 8px; opacity: .5; }
.intro { display: grid; gap: 22px; max-width: 960px; }
.intro__big { font-size: clamp(24px, 2.6vw, 34px); font-weight: 700; letter-spacing: -.025em; line-height: 1.3; margin: 0; }
.text-page { padding-top: 150px; }
.text-page .wrap { max-width: 860px; }
.text-page h2 { font-size: 26px; margin: 1.5em 0 .5em; }
.h1--project { font-size: clamp(34px, 5vw, 66px); margin-bottom: 30px; }
.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin: 0 0 30px; }
.specs div { background: var(--card); border-radius: 16px; padding: 16px 18px; box-shadow: var(--shadow); }
.specs dt { font-size: 12.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.specs dd { margin: 4px 0 0; font-weight: 800; font-size: 17px; letter-spacing: -.01em; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 12px; }
.gallery__item { border: 0; padding: 0; border-radius: 18px; overflow: hidden; cursor: zoom-in; background: var(--bg-2); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item--big { grid-column: span 2; grid-row: span 2; }
.gallery--ph { display: block; background: linear-gradient(160deg, #fff, #ECE6DC); border-radius: 26px; padding: 30px; text-align: center; box-shadow: var(--shadow); }
.ph--big { max-width: 560px; margin: 0 auto; height: auto; }
.story { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.story__item { background: var(--card); border-radius: var(--r); padding: 30px; box-shadow: var(--shadow); }
.story__n { font-size: 48px; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--ac); }
.story__item h2 { font-size: 26px; margin: 14px 0 12px; }
.story__item p { color: var(--muted); margin: 0; }
.ba-wrap { max-width: 760px; }
.worklist { list-style: none; padding: 0; margin: 0 0 40px; display: flex; flex-wrap: wrap; gap: 10px; }
.worklist li { display: inline-flex; gap: 8px; align-items: center; background: var(--card); box-shadow: var(--shadow); border-radius: 999px; padding: 10px 18px 10px 10px; font-weight: 700; }
.worklist i { width: 26px; height: 26px; border-radius: 50%; background: var(--ac-soft); color: var(--ac-2); display: grid; place-items: center; }
.pcta { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; background: var(--ac); color: #fff; border-radius: var(--r); padding: 28px 32px; }
.pcta b { display: block; font-size: 26px; letter-spacing: -.03em; }
.pcta span { opacity: .9; }
.pcta .btn { background: var(--ink); box-shadow: none; }
.pvideo video { width: 100%; border-radius: var(--r); max-height: 80vh; background: #000; }

/* reveal */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="2"] { transition-delay: .1s; } .js [data-reveal="3"] { transition-delay: .2s; } .js [data-reveal="4"] { transition-delay: .3s; }

/* ---------- адаптив ---------- */
@media (max-width: 1200px) {
  .nav { display: none; }
  .burger { display: block; }
  .header__phone { margin-left: auto; }
  .header.is-open .header__in { border-radius: 26px 26px 0 0; }
  .header.is-open .nav { display: flex; flex-direction: column; position: absolute; left: var(--g); right: var(--g); top: calc(100% - 12px); background: rgba(255,255,255,.97); padding: 10px 14px 18px; border-radius: 0 0 26px 26px; box-shadow: var(--shadow-lg); }
  .header.is-open .nav a { font-size: 22px; font-weight: 800; padding: 12px; }
  .tape { display: none; }
  .fab { right: 20px; }
}
@media (max-width: 980px) {
  .hero__grid, .road__grid, .contract, .faq-grid, .final__grid, .quiz { grid-template-columns: 1fr; }
  .hero { padding-top: 110px; }
  .hero__visual { max-width: 560px; margin: 10px auto 0; width: 100%; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .fears, .prices, .svcs, .works--grid, .story { grid-template-columns: 1fr 1fr; }
  .road__sticky { top: 82px; z-index: 5; }
  .road__card { padding: 12px; border-radius: 22px; }
  .road__room { padding: 8px; }
  .road__room .iso { max-height: 30vh; margin: 0 auto; width: auto; }
  .rs { scroll-margin-top: 50vh; }
  .road__steps { margin-top: 20px; }
  .rs { min-height: 0; padding-bottom: 50px; }
  .quiz__side { order: -1; padding: 22px 24px; display: grid; grid-template-columns: 1fr 120px; align-items: center; column-gap: 16px; }
  .quiz__side > span, .quiz__side > b { grid-column: 1; }
  .quiz__room { grid-column: 2; grid-row: 1 / 4; padding: 0; margin: 0; }
  .header__cta { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; background-size: 32px 32px; }
  .header { padding: 8px 0; }
  .header__in { height: 58px; padding: 0 6px 0 12px; }
  .header__phone { display: none; }
  .logo { font-size: 16px; margin-right: auto; }
  .hero__cta .btn { width: 100%; }
  .hero__trust li { flex: 1; padding: 12px 14px; }
  .hero__trust b { font-size: 18px; }
  .sticker { display: none; }
  .stats__grid { gap: 10px; }
  .stat { padding: 20px 18px; }
  .fears, .prices, .svcs, .works--grid, .story, .quiz__opts, .form__row { grid-template-columns: 1fr; }
  .specs { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; }
  .road__steps { padding-left: 54px; }
  .road__room .iso { max-height: 21vh; }
  .road__foot { display: none; }
  .road__bar { margin: 10px 4px 2px; height: 8px; }
  .road__top { padding: 0 4px 8px; font-size: 14px; }
  .footer__grid { grid-template-columns: 1fr; }
  .h1 { font-size: clamp(34px, 9.4vw, 44px); }
  .rs__n { left: -54px; width: 40px; height: 40px; font-size: 13px; }
  .road__line { left: 18px; }
  .road__cta { padding: 22px; }
  .road__cta .btn { width: 100%; }
  .works__ctrl .arrow { display: none; }
  .mbar { display: grid; }
  .fab { display: none; }
  .footer { padding-bottom: 120px; }
  .cookie { bottom: 86px; right: 16px; }
  .pcta { padding: 24px; }
  .pcta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js .split[data-reveal] .w > span { opacity: 1; transform: none; }
}

/* pricing: тариф + примеры */
.pricing { display: grid; grid-template-columns: .9fr 1.1fr; gap: 18px; align-items: stretch; }
.price__smeta { margin: 14px 0 0; text-align: center; font-size: 14px; color: #A9A8A4; }
.ptable { background: var(--card); border-radius: 26px; padding: 30px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.ptable__head { display: grid; gap: 2px; margin-bottom: 18px; }
.ptable__head b { font-size: 24px; letter-spacing: -.03em; }
.ptable__head span { color: var(--muted); }
.ptable__row { display: grid; grid-template-columns: 90px 1fr auto 86px; gap: 16px; align-items: center; padding: 18px 14px; margin: 0 -14px; border: 0; border-top: 1px dashed var(--line-2); background: none; text-align: left; cursor: pointer; border-radius: 14px; transition: background .25s; }
.ptable__row:hover { background: var(--ac-soft); }
.ptable__area { font-size: 24px; font-weight: 800; letter-spacing: -.03em; }
.ptable__bar { height: 10px; border-radius: 999px; background: var(--bg-2); overflow: hidden; }
.ptable__bar i { display: block; height: 100%; width: 0; border-radius: 999px; background: repeating-linear-gradient(-45deg, var(--ac) 0 8px, var(--ac-2) 8px 16px); transition: width 1.2s var(--ease); transition-delay: calc(.3s + var(--d) * .15s); }
.ptable.is-in .ptable__bar i, html:not(.js) .ptable__bar i { width: var(--w); }
.ptable__price { font-weight: 800; font-size: 18px; white-space: nowrap; }
.ptable__term { color: var(--muted); font-weight: 700; text-align: right; }
.ptable .note { margin-top: auto; padding-top: 16px; }
.quiz__live-s b { color: #fff; }
/* реальные фото */
.photos__track { display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; padding: 0 var(--g) 10px max(var(--g), calc((100vw - var(--wrap)) / 2 + var(--g))); scroll-padding-left: max(var(--g), calc((100vw - var(--wrap)) / 2 + var(--g))); scroll-snap-type: x mandatory; cursor: grab; }
.photos__track::-webkit-scrollbar { display: none; }
.photos__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.photo { display: block; position: relative; flex: none; width: clamp(200px, 21vw, 280px); aspect-ratio: 3 / 4; border: 0; padding: 0; border-radius: 22px; overflow: hidden; cursor: pointer; background: var(--bg-2); scroll-snap-align: start; box-shadow: var(--shadow); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.photo:hover img { transform: scale(1.07); }
.photo .photo__cap { position: absolute; left: 12px; bottom: 12px; right: 12px; width: fit-content; transition: opacity .3s; background: rgba(255,255,255,.94); border-radius: 999px; padding: 5px 12px; font-size: 12.5px; font-weight: 800; }
@media (max-width: 980px) { .pricing { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .ptable { padding: 22px; } .ptable__row { grid-template-columns: 70px 1fr auto; } .ptable__bar { display: none; } .ptable__term { grid-column: 3; font-size: 13px; } .ptable__area { font-size: 20px; } }

.reel--h { width: auto; height: clamp(391px, calc(22vw * 16 / 9), 516px); aspect-ratio: 16 / 10; }
@media (max-width: 640px) { .reel { width: 230px; } .reel--h { width: auto; height: 409px; aspect-ratio: 4 / 5; } }
.work__tags { position: absolute; top: 14px; left: 14px; z-index: 2; display: flex; gap: 6px; flex-wrap: wrap; }
.work__tags .chip { background: rgba(255,255,255,.94); }
.work__tags .chip--blue, .chip--blue { background: var(--blue); color: #fff; }
.gallery__item.is-more { display: none; }
.gallery__more { margin: 18px auto 0; display: flex; }
.render-note { display: inline-block; background: var(--blue-soft); color: var(--blue); font-weight: 700; font-size: 14px; padding: 8px 14px; border-radius: 12px; margin: -10px 0 20px; }
.pvideos { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-start; }
.pvideo { flex: 1 1 560px; }
.pvideo--v { flex: 0 1 320px; }
.pvideo video { width: 100%; border-radius: var(--r); background: #000; max-height: 80vh; }
.photos__more { margin-top: 18px; }

.gallery__item { position: relative; }
.gallery__3d { position: absolute; top: 10px; right: 10px; background: var(--blue); color: #fff; font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 999px; }

.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.55)); opacity: 0; transition: opacity .35s; }
.photo__go { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border-radius: 999px; background: var(--ac); color: #fff; font-weight: 800; font-size: 14.5px; opacity: 0; transform: translateY(12px); transition: opacity .35s, transform .35s var(--ease); }
.photo:hover::after, .photo:focus-visible::after { opacity: 1; }
.photo:hover .photo__go, .photo:focus-visible .photo__go { opacity: 1; transform: none; }
.photo:hover .photo__cap { opacity: 0; }
@media (hover: none) { .photo__go { display: none; } }

/* мессенджеры */
.btn--max { background: #6E3BFF; box-shadow: none; } .btn--max:hover { background: #5a2be0; box-shadow: none; }
.link-btn { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; text-align: left; }
.link-btn:hover { color: var(--ac); }
.toast { position: fixed; left: 50%; bottom: 96px; z-index: 120; transform: translate(-50%, 20px); opacity: 0; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 14px; font-weight: 700; font-size: 14.5px; box-shadow: var(--shadow-lg); transition: opacity .3s, transform .4s var(--ease); max-width: calc(100vw - 32px); text-align: center; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* hero: интерактив */
.hcalc { background: var(--card); border-radius: 24px; padding: 22px 24px; box-shadow: var(--shadow); margin-bottom: 18px; max-width: 580px; }
.hcalc__top { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; color: var(--muted); margin-bottom: 10px; }
.hcalc__top b { color: var(--ink); font-size: 28px; letter-spacing: -.04em; }
.hcalc__range { -webkit-appearance: none; appearance: none; width: 100%; height: 10px; border-radius: 999px; outline: none; background: linear-gradient(90deg, var(--ac) var(--fill, 22%), var(--bg-2) var(--fill, 22%)); }
.hcalc__range::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 7px solid var(--ac); box-shadow: 0 4px 14px rgba(255,107,26,.5); cursor: grab; }
.hcalc__range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 6px solid var(--ac); cursor: grab; }
.hcalc__res { display: grid; grid-template-columns: auto auto 1fr; gap: 22px; align-items: center; margin-top: 18px; }
.hcalc__res small { display: block; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.hcalc__res b { font-size: 21px; letter-spacing: -.03em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hcalc__res .btn { justify-self: end; }
.hcalc__note { margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.hero__cta .btn--ghost { --h: 48px; font-size: 15px; }
.hero__visual { perspective: 1400px; }
.hstage { position: relative; transition: transform .5s var(--ease); transform-style: preserve-3d; }
.hstage .ba__after { display: grid; }
.hstyle { grid-area: 1 / 1; opacity: 0; transition: opacity .6s var(--ease); }
.hstyle.is-on { opacity: 1; }
.hstage .sticker { transition: translate .3s ease-out; }
.sticker--3 { top: 4%; right: 6%; animation-delay: -1.5s; transform: rotate(4deg); }
.hctrl { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; }
.hctrl__seg { display: inline-flex; background: var(--card); border-radius: 999px; padding: 4px; box-shadow: var(--shadow); }
.hctrl__seg button { border: 0; background: none; padding: 9px 14px; border-radius: 999px; font-weight: 700; font-size: 14px; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; color: var(--ink-2); transition: background .25s, color .25s; }
.hctrl__seg button.is-on { background: var(--ink); color: #fff; }
.sw { width: 14px; height: 14px; border-radius: 50%; display: inline-block; box-shadow: inset 0 0 0 2px rgba(255,255,255,.6); }
.sw--0 { background: linear-gradient(135deg, #B7C3AE 50%, #C99A66 50%); }
.sw--1 { background: linear-gradient(135deg, #CDBBA8 50%, #3F3B37 50%); }
.sw--2 { background: linear-gradient(135deg, #9FB2C2 50%, #8C4A3B 50%); }
@media (max-width: 640px) {
  .hcalc { padding: 18px; }
  .hcalc__res { grid-template-columns: 1fr 1fr; gap: 12px; }
  .hcalc__res .btn { grid-column: 1 / -1; justify-self: stretch; }
  .hctrl__seg button { padding: 8px 10px; font-size: 13px; }
  .hero__cta .btn { width: auto; flex: 1; }
}

/* чат */
.fab { display: none !important; }
.chat { position: fixed; right: 22px; bottom: 22px; z-index: 90; }
.chat__btn { position: relative; width: 64px; height: 64px; border-radius: 50%; border: 0; background: var(--ac); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 14px 30px -8px rgba(255,107,26,.75); transition: transform .35s var(--ease); }
.chat__btn::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--ac); animation: ring 2.4s ease-out infinite; }
@keyframes ring { from { transform: scale(1); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }
.chat__btn:hover { transform: scale(1.07) rotate(-6deg); }
.chat.is-open .chat__btn { transform: scale(.85); }
.chat.is-open .chat__btn::before { display: none; }
.chat__badge { position: absolute; top: -2px; right: -2px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #E5262B; color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; border: 2px solid #fff; }
.chat__hello { position: absolute; right: 76px; top: 50%; transform: translate(10px, -50%); white-space: nowrap; background: var(--card); color: var(--ink); padding: 10px 14px; border-radius: 14px; font-weight: 700; font-size: 14px; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity .4s, transform .4s var(--ease); }
.chat.hello .chat__hello { opacity: 1; transform: translate(0, -50%); }
.chat__panel { position: absolute; right: 0; bottom: 78px; width: 370px; height: min(560px, calc(100dvh - 120px)); background: var(--card); border-radius: 24px; box-shadow: 0 30px 80px -20px rgba(30,31,34,.45); display: flex; flex-direction: column; overflow: hidden; transform-origin: bottom right; animation: chatIn .35s var(--ease); }
.chat__panel[hidden] { display: none; }
@keyframes chatIn { from { opacity: 0; transform: translateY(16px) scale(.95); } }
.chat__head { display: flex; gap: 12px; align-items: center; padding: 16px 16px 14px; background: var(--ink); color: #fff; }
.chat__head b { display: block; font-size: 16px; }
.chat__head span { font-size: 12.5px; color: #c9c7c2; display: inline-flex; align-items: center; gap: 6px; }
.chat__ava { width: 42px; height: 42px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex: none; }
.chat__ava svg { width: 30px; height: 30px; }
.chat__dot { width: 8px; height: 8px; border-radius: 50%; background: #3BD16F; display: inline-block; }
.chat__close { margin-left: auto; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 22px; cursor: pointer; }
.chat__msgs { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 8px; background: var(--bg); background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 24px 24px; }
.msg { max-width: 84%; display: grid; gap: 2px; animation: msgIn .3s var(--ease); }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } }
.msg p { margin: 0; padding: 10px 14px; border-radius: 18px; font-size: 15px; line-height: 1.4; white-space: pre-wrap; word-break: break-word; }
.msg time { font-size: 11px; color: var(--muted); padding: 0 6px; }
.msg--agent { align-self: flex-start; }
.msg--agent p { background: var(--card); border-bottom-left-radius: 6px; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.msg--client { align-self: flex-end; justify-items: end; }
.msg--client p { background: var(--ac); color: #fff; border-bottom-right-radius: 6px; }
.msg--typing p { display: flex; gap: 4px; padding: 14px; }
.msg--typing i { width: 7px; height: 7px; border-radius: 50%; background: #b5b1a9; animation: dots 1s infinite; }
.msg--typing i:nth-child(2) { animation-delay: .15s; } .msg--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 50% { transform: translateY(-4px); opacity: .5; } }
.msg__phone { display: flex; gap: 6px; margin-top: 6px; }
.msg__phone input { flex: 1; min-width: 0; height: 44px; border-radius: 12px; border: 2px solid var(--line); padding: 0 12px; font: 600 15px var(--font); background: #fff; }
.msg__phone input:focus { outline: none; border-color: var(--ac); }
.msg__phone button { border: 0; border-radius: 12px; padding: 0 16px; background: var(--ac); color: #fff; font-weight: 800; cursor: pointer; }
.msg__consent { font-size: 11px; color: var(--muted); padding: 2px 6px; }
.msg__consent a { text-decoration: underline; }
.chat__quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 12px 0; background: var(--card); }
.chat__quick[hidden] { display: none; }
.chat__quick button { border: 1.5px solid var(--line-2); background: #fff; border-radius: 999px; padding: 7px 12px; font-weight: 700; font-size: 13px; cursor: pointer; transition: border-color .2s, background .2s; }
.chat__quick button:hover { border-color: var(--ac); background: var(--ac-soft); }
.chat__form { display: flex; gap: 8px; align-items: flex-end; padding: 12px; background: var(--card); }
.chat__form textarea { flex: 1; resize: none; min-height: 46px; max-height: 120px; border-radius: 16px; border: 2px solid var(--line); background: var(--bg); padding: 11px 14px; font: 500 15px/1.4 var(--font); }
.chat__form textarea:focus { outline: none; border-color: var(--ac); background: #fff; }
.chat__form button { width: 46px; height: 46px; flex: none; border-radius: 50%; border: 0; background: var(--ac); color: #fff; display: grid; place-items: center; cursor: pointer; }
.chat__alt { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 0 12px 12px; background: var(--card); font-size: 12px; color: var(--muted); }
.chat__alt span { width: 100%; }
.mini { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 10px; border-radius: 999px; border: 0; color: #fff; font: 700 12.5px var(--font); cursor: pointer; }
.mini svg { width: 14px; height: 14px; }
.mini.btn--wa { background: #25D366; } .mini.btn--tg { background: #229ED9; } .mini.btn--max { background: #6E3BFF; }
@media (max-width: 1200px) { .chat { right: 16px; bottom: 16px; } }
@media (max-width: 640px) {
  .chat { right: 14px; bottom: 84px; }
  .chat__btn { width: 56px; height: 56px; }
  .chat.is-open { inset: 0; right: 0; bottom: 0; }
  .chat.is-open .chat__btn { display: none; }
  .chat__panel { position: fixed; inset: 0; width: auto; height: 100dvh; border-radius: 0; bottom: 0; }
  .chat__hello { display: none; }
  .mbar { grid-template-columns: 1fr 1fr 1.2fr; }
  .mbar svg { width: 16px; height: 16px; }
}
.chat__badge[hidden] { display: none; }
.sticker--3 { top: auto; right: auto; left: 8%; bottom: -14px; }
.sticker--2 { bottom: 22%; }
.hero .h1 { font-size: clamp(38px, 5.2vw, 70px); }
@media (max-width: 640px) {
  .chat__btn { display: none; }
  .mbar button[data-chat-open] { background: var(--ink); }
}
.chat__panel { height: min(560px, calc(100dvh - 130px)); }

.logo__text { display: grid; line-height: 1.05; }
.logo__text small { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ac-2); margin-top: 3px; }
.footer .logo__text small { color: var(--ac); }

/* hero: всё в один экран на ноутбуках и ПК */
@media (min-width: 981px) {
  .hero:not(.hero--page) { min-height: 100svh; padding: 92px 0 0; display: flex; flex-direction: column; }
  .hero:not(.hero--page) > .wrap { flex: 1; display: flex; flex-direction: column; justify-content: center; width: 100%; padding-top: 8px; padding-bottom: 18px; }
  .hero:not(.hero--page) .hazard { margin-top: 0; height: 12px; }
  .hero .h1 { font-size: clamp(34px, min(4.8vw, 7.6vh), 70px); margin-bottom: clamp(10px, 2vh, 22px); }
  .hero__sub { font-size: clamp(15.5px, min(1.35vw, 2.3vh), 19px); margin-bottom: clamp(12px, 2.4vh, 26px); max-width: 540px; }
  .hcalc { padding: clamp(14px, 2vh, 20px) 22px; margin-bottom: clamp(10px, 1.6vh, 16px); }
  .hcalc__top { margin-bottom: 6px; }
  .hcalc__top b { font-size: clamp(22px, 3.2vh, 28px); }
  .hcalc__res { margin-top: clamp(10px, 1.6vh, 18px); }
  .hcalc__note { margin-top: 8px; }
  .hero__cta .btn--ghost { --h: clamp(40px, 5.4vh, 48px); }
  .hstage .ba { padding: clamp(10px, 1.8vh, 26px); }
  .hstage .ba__after { inset: clamp(10px, 1.8vh, 26px); }
  .hstage .iso { max-height: calc(100svh - 300px); width: auto; max-width: 100%; margin: 0 auto; }
  .hctrl { margin-top: clamp(10px, 1.6vh, 18px); }
  .hctrl__seg button { padding: clamp(6px, 1vh, 9px) 14px; }
}
@media (min-width: 981px) and (max-height: 960px) { .hero .hint { display: none; } }

.prices--2 { grid-template-columns: 1fr 1fr; max-width: 980px; }
.ptable--wide { margin-top: 18px; max-width: 980px; }
.quiz__result b + b { margin-top: 2px; }
.hcalc__tier { display: flex; gap: 6px; background: var(--bg); border-radius: 999px; padding: 4px; margin-bottom: 12px; }
.hcalc__tier button { flex: 1; border: 0; background: none; border-radius: 999px; padding: 8px 10px; font: 700 13.5px var(--font); color: var(--ink-2); cursor: pointer; transition: background .25s, color .25s; }
.hcalc__tier button.is-on { background: var(--ac); color: #fff; }
@media (max-width: 980px) { .prices--2 { grid-template-columns: 1fr; } }
.price h3 { padding-right: 140px; }
