/* ЖК Скалецького, 21 · v2
   Чорний фон, помаранчевий акцент #FF9000, Unbounded (заголовки) + Onest (текст).
   Ліва колонка - контент, права - закріплена 3D-модель будинку. */
:root {
  --bg: #000;
  --s1: #0b0b0b;
  --s2: #141414;
  --line: #222;
  --line-2: #2e2e2e;
  --text: #fff;
  --muted: #8f8f8f;
  --acc: #ff9000;
  --acc-2: #ffa733;
  --teal: #8fe3da;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --col: 56vw;
  --pad: clamp(24px, 5vw, 96px);
  --head: "Unbounded", "Onest", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { max-width: 100%; touch-action: pan-y pinch-zoom; overscroll-behavior-x: none; overflow-x: hidden; overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; background: #000; }
body { margin: 0; background: #000; color: var(--text); font: 400 16px/24px "Onest", system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; overflow-x: clip; position: relative; max-width: 100vw; touch-action: pan-y pinch-zoom; overscroll-behavior-x: none; }
main, .ftr { max-width: 100vw; overflow-x: clip; }
h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; }
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3 { margin: 0; font-family: var(--head); font-weight: 500; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
dl, dd, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--acc); color: #000; padding: 8px 12px; font-weight: 600; }
.skip:focus { top: 16px; }
::selection { background: var(--acc); color: #000; }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 12px 28px;
  background: var(--acc); color: #000; font-weight: 600; font-size: 16px; line-height: 24px; border-radius: 4px; white-space: nowrap;
  transition: background-color .3s var(--ease), transform .5s var(--ease), box-shadow .3s var(--ease);
}
.btn:hover { background: var(--acc-2); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(255, 144, 0, .25); }
.btn:active { transform: scale(.98); }
.btn--line { background: transparent; color: var(--text); border: 1px solid var(--line-2); }
.btn--line:hover { background: #111; border-color: #444; box-shadow: none; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 14px; line-height: 20px; }
.btn--wide { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------- фонова анімація будинку ---------- */
.stage { position: fixed; inset: 0; z-index: 0; opacity: 0; transition: opacity .6s var(--ease); pointer-events: none; overflow: hidden; }
.stage.ready { opacity: 1; }
.stage canvas { width: 100%; height: 100%; }
.vignette { position: absolute; inset: 0; background:
  linear-gradient(90deg, #000 0%, rgba(0,0,0,.92) 30%, rgba(0,0,0,.55) 46%, rgba(0,0,0,0) 60%),
  linear-gradient(180deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,0) 16%, rgba(0,0,0,0) 78%, #000 100%); }
.ruler { position: absolute; right: 32px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: flex-end; gap: 12px; z-index: 2; }
.ruler__cap { font-size: 12px; line-height: 16px; color: var(--muted); text-transform: uppercase; letter-spacing: .14em; }
.ruler ol { list-style: none; display: grid; gap: 4px; }
.ruler li { display: flex; align-items: center; justify-content: flex-end; gap: 8px; font: 500 12px/16px var(--head); color: #555; transition: color .3s var(--ease); }
.ruler li::after { content: ""; width: 16px; height: 1px; background: #333; transition: width .5s var(--ease), background-color .3s var(--ease); }
.ruler li.on { color: var(--acc); }
.ruler li.on::after { width: 40px; background: var(--acc); }
.floorbig { position: absolute; right: 32px; bottom: 32px; display: flex; align-items: baseline; gap: 12px; z-index: 2; }
.floorbig b { font: 500 80px/1 var(--head); color: var(--acc); letter-spacing: -.04em; }
.floorbig span { font-size: 13px; line-height: 20px; color: var(--muted); text-transform: uppercase; letter-spacing: .14em; }

/* ---------- шапка ---------- */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: 72px; display: flex; align-items: center; gap: 32px; padding: 0 var(--pad);
  background: rgba(0, 0, 0, .72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 16px; flex: none; }
.brand img { height: 22px; width: auto; }
.brand span { font: 500 13px/16px var(--head); letter-spacing: .04em; text-transform: uppercase; padding-left: 16px; border-left: 1px solid var(--line-2); }
.brand b { color: var(--acc); font-weight: 500; }
.nav { display: flex; gap: 32px; margin-left: auto; }
.nav a { font-size: 14px; line-height: 20px; color: var(--muted); transition: color .3s var(--ease); position: relative; padding: 8px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--acc); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.nav a:hover, .nav a.on { color: var(--text); }
.nav a:hover::after, .nav a.on::after { transform: scaleX(1); }
.hdr__phone { font: 500 14px/20px var(--head); white-space: nowrap; }
.hdr__phone:hover { color: var(--acc); }
.burger { display: none; width: 40px; height: 40px; position: relative; }
.burger i { position: absolute; left: 8px; right: 8px; height: 2px; background: #fff; transition: transform .5s var(--ease); }
.burger i:first-child { top: 15px; } .burger i:last-child { top: 23px; }
.menu-open .burger i:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .burger i:last-child { transform: translateY(-4px) rotate(-45deg); }
.mnav { position: fixed; inset: 0; z-index: 45; background: rgba(0, 0, 0, .96); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); padding: 104px 24px 32px; display: flex; flex-direction: column; gap: 8px; visibility: hidden; opacity: 0; transition: opacity .4s var(--ease), visibility .4s; }
.menu-open .mnav { visibility: visible; opacity: 1; }
.mnav a { font: 500 24px/32px var(--head); padding: 8px 0; border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(24px); transition: transform .5s var(--ease), opacity .5s var(--ease); }
.menu-open .mnav a, .menu-open .mnav .btn { opacity: 1; transform: none; }
.mnav__phone { margin-top: auto; color: var(--acc); border: 0 !important; }
.mnav .btn { margin-top: 16px; opacity: 0; transform: translateY(24px); transition: transform .5s var(--ease), opacity .5s var(--ease); }

/* ---------- колонка контенту ---------- */
.col { position: relative; z-index: 2; width: var(--col); padding: 0 48px 0 var(--pad); }
.sec { padding: 120px 0; border-top: 1px solid var(--line); }
.sec__head { margin-bottom: 48px; }
.num { display: block; font: 500 14px/20px var(--head); color: var(--acc); letter-spacing: .1em; margin-bottom: 16px; }
.sec h2 { font-size: 48px; line-height: 1.05; }
.sec__lead { margin-top: 24px; font-size: 18px; line-height: 28px; color: var(--muted); max-width: 600px; }
.pnote { margin-top: 16px; font-size: 13px; line-height: 20px; color: #666; }

/* ---------- hero ---------- */
.hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 120px 0 64px; position: relative; }
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 14px; line-height: 20px; color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 0 rgba(255, 144, 0, .6); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255, 144, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 144, 0, 0); } }
.hero h1 { font-size: 64px; line-height: 1; margin-top: 32px; letter-spacing: -.035em; }
.acc { color: var(--acc); }
.hero__sub { margin-top: 32px; font-size: 18px; line-height: 28px; color: #bdbdbd; max-width: 520px; }
.hero__cta { display: flex; gap: 12px; margin-top: 40px; flex-wrap: wrap; }
.hero__kpi { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 48px; margin-top: 64px; }
.hero__kpi dt { font-size: 13px; line-height: 20px; color: var(--muted); }
.hero__kpi dd { font: 500 24px/32px var(--head); margin-top: 4px; }
.scrollhint { display: inline-flex; align-items: center; gap: 12px; margin-top: 64px; font-size: 13px; line-height: 20px; color: var(--muted); }
.scrollhint span { width: 1px; height: 32px; background: linear-gradient(var(--acc), transparent); animation: drop 2s var(--ease) infinite; transform-origin: top; }
@keyframes drop { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- етапи ---------- */
.build { display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: 32px; align-items: start; }
.vid { position: relative; aspect-ratio: 9 / 16; background: #111; overflow: hidden; border-radius: 4px; }
.vid video { width: 100%; height: 100%; object-fit: cover; }
.vid__play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0, 0, 0, .25); transition: opacity .3s var(--ease); }
.vid__play span { width: 72px; height: 72px; border-radius: 50%; background: var(--acc); display: grid; place-items: center; transition: transform .5s var(--ease); }
.vid__play svg { width: 28px; height: 28px; fill: #000; margin-left: 3px; }
.vid__play:hover span { transform: scale(1.08); }
.vid.playing .vid__play { opacity: 0; pointer-events: none; }
.stages { display: grid; gap: 16px; }
.stg { padding: 24px; background: var(--s1); border: 1px solid var(--line); border-radius: 4px; }
.stg__top { display: flex; justify-content: space-between; align-items: baseline; }
.stg__top b { font: 500 18px/28px var(--head); }
.stg__top span { font: 500 14px/20px var(--head); color: var(--acc); }
.bars { display: grid; grid-template-columns: repeat(9, 1fr); gap: 4px; margin-top: 16px; }
.bars i { height: 8px; background: #1f1f1f; }
.bars i.d { background: var(--acc); }
.bars i.w { background: repeating-linear-gradient(45deg, var(--acc) 0 4px, #4d2c00 4px 8px); }
.stg p { margin-top: 12px; font-size: 14px; line-height: 20px; color: var(--muted); }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.shots button { aspect-ratio: 3 / 4; overflow: hidden; border-radius: 4px; background: #0b0b0b; border: 1px solid var(--line); }
.shots img { width: 100%; height: 100%; object-fit: contain; transition: transform .8s var(--ease), opacity .3s; opacity: .85; }
.shots button:hover img { transform: scale(1.06); opacity: 1; }

/* ---------- зданий будинок ---------- */
.aerial { position: relative; margin: 0; border-radius: 4px; overflow: hidden; background: #111; }
.aerial svg { width: 100%; height: auto; }
.b29 { fill: rgba(143, 227, 218, .38); stroke: #c4f6f0; stroke-width: 3; stroke-linejoin: round; animation: glow 3s ease-in-out infinite alternate; }
.b21 { fill: rgba(255, 144, 0, .1); stroke: var(--acc); stroke-width: 3; stroke-dasharray: 14 10; stroke-linejoin: round; }
@keyframes glow { from { fill: rgba(143, 227, 218, .26); } to { fill: rgba(143, 227, 218, .46); } }
.tag { position: absolute; left: 50%; transform: translateX(-50%); padding: 8px 14px; border-radius: 4px; font: 500 13px/16px var(--head); white-space: nowrap; box-shadow: 0 8px 24px rgba(0, 0, 0, .4); }
.tag--done { top: 14%; background: var(--teal); color: #032b27; }
.tag--now { top: 66%; background: var(--acc); color: #000; }
.trust { display: grid; grid-template-columns: 1.5fr 1fr 1fr; border: 1px solid var(--line); margin-top: 16px; border-radius: 4px; }
.trust div { padding: 24px; border-left: 1px solid var(--line); }
.trust div:first-child { border-left: 0; }
.trust b { display: block; font: 500 24px/32px var(--head); }
.trust b.teal { color: var(--teal); font-size: 14px; line-height: 20px; }
.trust__done { display: flex; align-items: center; gap: 12px; }
.trust__done img { width: 56px; height: 56px; object-fit: cover; border-radius: 4px; border: 2px solid var(--teal); flex: none; }
.trust__done p { margin: 0; min-width: 0; }
.trust span { overflow-wrap: anywhere; }
.trust__done span { margin-top: 2px !important; }
.trust span { display: block; margin-top: 8px; font-size: 13px; line-height: 20px; color: var(--muted); }

/* ---------- характеристики ---------- */
.chars { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.chars div { padding: 20px 16px 20px 0; border-bottom: 1px solid var(--line); }
.chars dt { font-size: 13px; line-height: 20px; color: var(--muted); }
.chars dd { margin-top: 4px; font-size: 16px; line-height: 24px; font-weight: 600; }
.chars div:nth-child(-n+3) dd { color: var(--acc); }

/* ---------- ціни ---------- */
.ptop { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.ptop__due { padding: 8px 16px; border: 1px solid var(--line-2); border-radius: 4px; font-size: 14px; line-height: 20px; color: #ccc; }
.cur { display: inline-flex; padding: 4px; background: var(--s2); border-radius: 4px; }
.cur button { min-width: 56px; padding: 8px 12px; font-weight: 600; font-size: 14px; line-height: 20px; color: var(--muted); border-radius: 2px; transition: background-color .3s var(--ease), color .3s var(--ease); }
.cur button.on { background: var(--acc); color: #000; }
.ptable { display: grid; gap: 8px; }
.prow {
  display: grid; grid-template-columns: 1.3fr .9fr 1fr 1.1fr 1.2fr 24px; align-items: center; gap: 16px; padding: 20px 24px;
  background: var(--s1); border: 1px solid var(--line); border-radius: 4px; text-align: left; width: 100%;
  transition: border-color .3s var(--ease), background-color .3s var(--ease), transform .5s var(--ease);
}
.prow:hover { border-color: var(--acc); background: #120b00; transform: translateX(4px); }
.prow b { font-weight: 700; color: var(--acc); }
.prow span { font-size: 14px; line-height: 20px; color: #bbb; }
.prow .pr { font: 500 16px/24px var(--head); color: var(--text); white-space: nowrap; }
.prow svg { width: 20px; height: 20px; stroke: var(--acc); fill: none; stroke-width: 2; transition: transform .5s var(--ease); }
.prow:hover svg { transform: translateX(4px); }
.prow--head { background: none; border: 0; padding: 0 24px 4px; pointer-events: none; }
.prow--head span { font-size: 12px; line-height: 16px; color: #666; text-transform: uppercase; letter-spacing: .08em; }


/* ---------- жовті смуги (характеристики, поруч, карта) ---------- */
.sec.band { position: relative; z-index: 3; margin: 0 0 1px; padding: 64px 48px; background: var(--acc); color: #000; border-top: 0; border-radius: 4px; }
.band .num { color: #000; opacity: .55; }
.band h2 { color: #000; }
.band .sec__lead { color: #3d2300; }
.band .chars { grid-template-columns: repeat(3, 1fr); border-top-color: rgba(0,0,0,.2); }
.band .chars div { border-bottom-color: rgba(0,0,0,.2); }
.band .chars dt { color: rgba(0,0,0,.6); }
.band .chars dd { color: #000; font-size: 18px; line-height: 28px; }
.band .chars div:nth-child(-n+3) dd { color: #000; }
.band .near { grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
.band .ncat h3 { color: #000; }
.band .ncat h3 i { background: #000; border-color: #000; }
.band .ncat li { color: #1f1300; border-bottom-color: rgba(0,0,0,.15); }
.band .ncat li em { color: #000; }
.band .map { background: #000; border: 2px solid #000; height: 380px; }
.band .map iframe { filter: grayscale(1) contrast(1.05); }
.band .map__btn { color: var(--acc); }
.band .rv { opacity: 1; transform: none; }

/* ---------- умови ---------- */
.terms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.terms div { background: #000; padding: 32px; }
.terms b { display: block; font: 500 48px/1 var(--head); color: var(--acc); letter-spacing: -.03em; }
.terms h3 { margin-top: 24px; font-size: 18px; line-height: 28px; }
.terms p { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 20px; }
.callout { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 16px; padding: 24px 32px; background: var(--acc); color: #000; border-radius: 4px; flex-wrap: wrap; }
.callout p { font: 500 20px/28px var(--head); flex: 1; min-width: 240px; }
.callout .btn { background: #000; color: #fff; }
.callout .btn:hover { background: #1a1a1a; box-shadow: none; }

/* ---------- галерея ---------- */
.gal { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.gal button { overflow: hidden; border-radius: 4px; aspect-ratio: 16 / 10; background: #111; }
.gal__big { grid-column: span 2; aspect-ratio: 16 / 9 !important; }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gal button:hover img { transform: scale(1.04); }

/* ---------- слоган ---------- */
.tagline { padding: 160px 0; }
.tagline p { font: 500 48px/1.1 var(--head); letter-spacing: -.03em; max-width: 760px; }
.tagline .w { color: #262626; transition: color .6s var(--ease); }
.tagline .w.on { color: var(--text); }
.tagline .w.a.on { color: var(--acc); }

/* ---------- поруч ---------- */
.near { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px 40px; }
.ncat h3 { display: flex; align-items: center; gap: 12px; font-size: 16px; line-height: 24px; margin-bottom: 16px; }
.ncat h3 i { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #1a1000; border: 1px solid #3d2400; }
.ncat h3 svg { width: 20px; height: 20px; stroke: var(--acc); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ncat ul { list-style: none; margin: 0; padding: 0; }
.ncat li { display: grid; grid-template-columns: 72px 1fr; gap: 12px; padding: 8px 0; border-bottom: 1px solid #161616; font-size: 14px; line-height: 20px; color: #ccc; }
.ncat li em { font-style: normal; display: inline-flex; align-items: center; gap: 6px; color: var(--acc); font-weight: 600; white-space: nowrap; }
.ncat li em svg { width: 14px; height: 14px; fill: currentColor; flex: none; }
.map { position: relative; margin-top: 48px; height: 380px; background: var(--s1); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9); }
.map__btn { position: absolute; inset: 0; color: var(--acc); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-size: 18px; line-height: 28px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 28px/1 var(--head); color: var(--acc); transition: transform .5s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 48px 24px 0; color: var(--muted); }

/* ---------- форми ---------- */
.final__h { font-size: 48px; line-height: 1.05; }
.fwrap { margin-top: 40px; max-width: 520px; }
.form { display: grid; gap: 16px; }
.field label { display: block; font-size: 13px; line-height: 20px; color: var(--muted); margin-bottom: 4px; }
.field input, .field select {
  width: 100%; min-height: 52px; padding: 12px 16px; background: var(--s1); border: 1px solid var(--line-2); border-radius: 4px; color: var(--text);
  font: inherit; appearance: none; -webkit-appearance: none; transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23ff9000' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field select option { background: #111; }
.field input::placeholder { color: #555; }
.field input:focus, .field select:focus { outline: 0; border-color: var(--acc); box-shadow: 0 0 0 3px rgba(255, 144, 0, .2); }
.field small { display: none; margin-top: 4px; font-size: 12px; line-height: 16px; color: #ff6b4a; }
.field.bad input { border-color: #ff6b4a; }
.field.bad small { display: block; }
.form { position: relative; }
.hp { position: absolute !important; left: 0; top: 0; width: 1px !important; height: 1px !important; min-height: 0 !important; padding: 0 !important; border: 0 !important; opacity: 0; overflow: hidden; clip-path: inset(50%); pointer-events: none; }
.form__msg { display: none; padding: 12px 16px; border-radius: 4px; background: #2a0d06; color: #ffb4a3; font-size: 14px; line-height: 20px; }
.form__msg.err { display: block; }
.form__msg a { color: #fff; text-decoration: underline; }
.form__note { font-size: 12px; line-height: 16px; color: #666; }
.form__note a { text-decoration: underline; }
.form-done { display: none; padding: 32px; border: 1px solid var(--acc); border-radius: 4px; }
.form-done b { font: 500 24px/32px var(--head); color: var(--acc); }
.form-done p { margin-top: 8px; color: var(--muted); }
.form-done .back { margin-top: 24px; }
.modal .form-done { border: 0; padding: 4px 56px 0 0; }
.modal .form-done .back { margin-right: -56px; width: calc(100% + 56px); }
.is-done .form, .is-done .modal__head { display: none; }
.is-done .form-done { display: block; }
.final__phone { display: inline-block; margin-top: 40px; font: 500 30px/36px var(--head); }
.final__phone:hover { color: var(--acc); }

/* ---------- футер ---------- */
.ftr { position: relative; z-index: 3; background: #000; border-top: 1px solid var(--line); padding: 48px var(--pad); display: grid; gap: 12px; font-size: 14px; line-height: 20px; color: var(--muted); }
.ftr img { height: 22px; width: auto; margin-bottom: 8px; }
.ftr a:hover { color: var(--acc); }
.ftr__small { font-size: 12px; line-height: 16px; color: #555; }
.ftr__small a { text-decoration: underline; }

/* ---------- модалка, лайтбокс ---------- */
.modal, .lightbox { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; visibility: hidden; opacity: 0; transition: opacity .4s var(--ease), visibility .4s; }
.modal.open, .lightbox.open { visibility: visible; opacity: 1; }
.modal__bg { position: absolute; inset: 0; background: rgba(0, 0, 0, .8); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal__box { position: relative; width: 100%; max-width: 440px; max-height: calc(100svh - 32px); overflow: auto; padding: 32px; background: #0d0d0d; border: 1px solid var(--line-2); border-top: 3px solid var(--acc); border-radius: 4px; transform: translateY(24px); transition: transform .5s var(--ease); }
.modal.open .modal__box { transform: none; }
.modal__head h3 { font-size: 24px; line-height: 32px; padding-right: 56px; }
.modal__head p { margin: 8px 0 24px; color: var(--muted); font-size: 14px; line-height: 20px; }
.badge { display: inline-block; margin-bottom: 16px; padding: 4px 10px; background: var(--acc); color: #000; font-size: 12px; line-height: 16px; font-weight: 700; border-radius: 2px; }
.badge[hidden] { display: none; }
.x { position: absolute; top: 24px; right: 24px; width: 40px; height: 40px; z-index: 2; border-radius: 50%; border: 1.5px solid var(--acc); transition: background-color .3s var(--ease), transform .5s var(--ease); }
.x i { position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; margin: -1px 0 0 -8px; border-radius: 2px; background: var(--acc); transform: rotate(45deg); transition: background-color .3s var(--ease); }
.x i + i { transform: rotate(-45deg); }
.x:hover { background: var(--acc); transform: rotate(90deg); }
.x:hover i { background: #000; }
.lightbox { background: rgba(0, 0, 0, .95); }
.lightbox figure { margin: 0; text-align: center; }
.lightbox img { max-height: calc(100svh - 120px); width: auto; margin: 0 auto; }
.lightbox figcaption { margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 20px; }
.lightbox .x { position: fixed; top: 16px; right: 16px; }
.lb-nav { position: fixed; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; font-size: 32px; line-height: 1; color: #fff; background: #111; border-radius: 50%; }
.lb-nav:hover { background: var(--acc); color: #000; }
.lb-prev { left: 16px; } .lb-next { right: 16px; }

.mbar { display: none; }

/* поява */
.rv { opacity: 0; transform: translateY(32px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.in { opacity: 1; transform: none; }

@media (max-width: 1400px) {
  .hero h1 { font-size: 52px; }
  .sec h2, .final__h, .tagline p { font-size: 40px; }
  .prow { grid-template-columns: 1.2fr .8fr 1fr 1fr 1.2fr 20px; padding: 16px 20px; }
}
@media (max-width: 1080px) {
  :root { --col: 100vw; --pad: 20px; }
  .stage canvas { opacity: .55; }
  .vignette { background: linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,.35) 20%, rgba(0,0,0,.45) 70%, #000 100%); }
  .floorbig { right: 12px; bottom: 96px; }
  .floorbig b { font-size: 40px; }
  .floorbig span { display: none; }
  .ruler { right: 10px; }
  .ruler__cap { display: none; }
  .ruler li { font-size: 10px; line-height: 12px; }
  .ruler li::after { width: 8px; }
  .ruler li.on::after { width: 20px; }
  .col { padding: 0 52px 0 20px; }
  .nav, .hdr__phone, .hdr .btn { display: none; }
  .burger { display: block; margin-left: auto; }
  .hdr { padding: 0 20px; height: 64px; }
  .sec { padding: 80px 0; }
  .sec.band { padding: 48px 24px; }
  #etapy, #zdanyi { position: relative; z-index: 3; background: #000; box-shadow: 0 0 0 100vmax #000; clip-path: inset(-96px -100vmax 0); }
  #etapy { clip-path: inset(-360px -100vmax 0); }
  #etapy::before { content: ""; position: absolute; left: calc(-1 * var(--pad)); width: 100vw; top: -360px; height: 360px; background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.85) 55%, #000); pointer-events: none; }
  #etapy .sec__head { text-align: center; }
  #etapy .sec__lead { margin-left: auto; margin-right: auto; }
  #etapy .vid { margin: 0 auto; }
  #etapy, #zdanyi { margin-right: -32px; }
  #zdanyi { border-top-color: #000; }
  #harakterystyky { box-shadow: 0 0 0 100vmax #000; clip-path: inset(0 -100vmax); }
  .stg, .prow, .terms div, .faq, .trust, .fwrap { background-color: rgba(0, 0, 0, .86); }
}
@media (max-width: 680px) {
  :root { --pad: 16px; }
  .btn { max-width: 100%; white-space: normal; text-align: center; }
  .col { padding: 0 44px 0 16px; }
  #etapy, #zdanyi { margin-right: -28px; }
  .hero { padding-top: 96px; min-height: 92svh; }
  .hero h1 { font-size: 36px; line-height: 40px; margin-top: 24px; }
  .hero__sub { font-size: 16px; line-height: 24px; margin-top: 24px; }
  .hero__cta .btn { width: 100%; }
  .hero__kpi { gap: 20px; margin-top: 40px; }
  .hero__kpi dd { font-size: 16px; line-height: 24px; }
  .scrollhint { margin-top: 40px; }
  .sec { padding: 64px 0; }
  .sec h2, .final__h { font-size: 26px; line-height: 32px; }
  .sec__lead { font-size: 16px; line-height: 24px; margin-top: 16px; }
  .sec__head { margin-bottom: 32px; }
  .build { grid-template-columns: 1fr; }
  .vid { max-width: 280px; }
  .trust { grid-template-columns: 1fr; }
  .trust div { border-left: 0; border-top: 1px solid var(--line); padding: 16px; }
  .trust { grid-template-columns: 1.4fr .8fr; }
  .trust > div:last-child { grid-column: span 2; }
  .trust > div:nth-child(2) { border-top: 0; border-left: 1px solid var(--line); }
  .trust { grid-template-columns: 1fr 1fr; }
  .trust > div:first-child { grid-column: span 2; }
  .trust > div:nth-child(2) { border-top: 1px solid var(--line); border-left: 0; }
  .trust > div:last-child { grid-column: auto; border-left: 1px solid var(--line); }
  .trust b.teal { font-size: 16px; line-height: 24px; }
  .trust div:first-child { border-top: 0; }
  .chars, .band .chars { grid-template-columns: repeat(2, 1fr); }
  .chars div { padding: 16px 12px 16px 0; }
  .chars dd { font-size: 14px; line-height: 20px; }
  .prow { grid-template-columns: 1fr auto; grid-template-areas: "t p" "a m"; row-gap: 4px; padding: 16px; }
  .prow > :nth-child(1) { grid-area: t; }
  .prow > :nth-child(2) { display: none; }
  .prow > :nth-child(3) { grid-area: a; }
  .prow > :nth-child(4) { grid-area: m; text-align: right; }
  .prow > :nth-child(5) { grid-area: p; text-align: right; }
  .prow > :nth-child(6) { display: none; }
  .prow--head { display: none; }
  .terms { grid-template-columns: 1fr; }
  .terms div { padding: 24px; }
  .terms b { font-size: 36px; }
  .callout { padding: 24px; }
  .callout p { font-size: 18px; line-height: 28px; }
  .callout .btn { width: 100%; }
  .gal { grid-template-columns: 1fr; }
  .gal__big { grid-column: auto; }
  .tagline { padding: 96px 0; }
  .tagline p { font-size: 30px; line-height: 36px; }
  .near, .band .near { grid-template-columns: 1fr; gap: 32px; }
  .sec.band { padding: 40px 16px; }
  .map { height: 300px; }
  .final__phone { font-size: 22px; line-height: 28px; }
  .ftr { padding: 40px 16px 112px; }
  .mbar {
    display: grid; grid-template-columns: 52px 1fr; gap: 8px; position: fixed; left: 8px; right: 8px; bottom: 8px; z-index: 40; padding: 8px;
    background: rgba(0, 0, 0, .9); border: 1px solid var(--line-2); border-radius: 6px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    transform: translateY(130%); transition: transform .5s var(--ease);
  }
  .mbar.show { transform: none; }
  .mbar a { display: grid; place-items: center; height: 52px; border: 1px solid var(--line-2); border-radius: 4px; }
  .mbar svg { width: 22px; height: 22px; fill: var(--acc); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
}
