/* SHOREVA — сайт на основе шаблона trueearth: Plus Jakarta Sans, светлый фон, карточки 26px,
   кнопки-таблетки, easing expo-out. Один акцент — бирюза подсветки станции. */
:root {
  --ink: #111417;
  --muted: #5f666d;
  --bg: #ffffff;
  --soft: #f2f6f6;
  --line: #e2e8e8;
  --teal: #0f9a9e;
  --teal-ink: #0b7477;
  --teal-soft: #e3f5f5;
  --radius-card: 26px;
  --pad: clamp(20px, 2.2vw, 34px);
  --wrap: 1240px;
  --gut: clamp(20px, 4vw, 48px);
  --sec: clamp(88px, 10vw, 144px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in: cubic-bezier(.7, 0, .84, 0);
  --stagger: 72ms;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.nav-open { overflow: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
h1, h2, h3, p { margin: 0; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: max(var(--gut), env(safe-area-inset-left)) max(var(--gut), env(safe-area-inset-right)); }
.sec { padding-block: var(--sec); }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-ink); margin-bottom: 16px; }
.kicker::before { content: ""; width: 24px; height: 2px; background: currentColor; border-radius: 2px; }
.h2 { font-size: clamp(2rem, 4.2vw, 3.6rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.06; max-width: 20ch; text-wrap: balance; }
.lead { font-size: clamp(17px, 1.3vw, 20px); line-height: 1.6; color: var(--muted); max-width: 60ch; margin-top: 24px; }
.note { font-size: 14px; color: var(--muted); margin-top: 24px; max-width: 70ch; }

/* ---------- entrance (hero) ---------- */
@keyframes fade-up { from { opacity: 0; transform: translate3d(0, 18px, 0); } to { opacity: 1; transform: none; } }
@keyframes media-in { from { opacity: 0; transform: translate3d(28px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes video-in { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: scale(1); } }
@keyframes pop-in { from { opacity: 0; transform: scale(.72); } to { opacity: 1; transform: scale(1); } }
@keyframes draw-line { from { opacity: 0; transform: rotate(212deg) scaleX(0); } to { opacity: 1; transform: rotate(212deg) scaleX(1); } }
@keyframes draw-line-right { from { opacity: 0; transform: rotate(-32deg) scaleX(0); } to { opacity: 1; transform: rotate(-32deg) scaleX(1); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.75); } 100% { box-shadow: 0 0 0 16px rgba(255,255,255,0); } }
.anim { animation: fade-up .82s var(--ease-out) backwards; animation-delay: calc(var(--d, 0) * var(--stagger)); }
.hero__media.anim { animation-name: media-in; animation-duration: 1.05s; }
.hero__video.anim { animation-name: video-in; animation-duration: 1.35s; }
.marker__dot.anim { animation-name: pop-in; animation-duration: .62s; }
.marker__label.anim { animation-duration: .7s; }
.marker__line.anim { animation-name: draw-line; animation-duration: .55s; }
.marker--right .marker__line.anim { animation-name: draw-line-right; }

/* ---------- scroll reveal ---------- */
.rv { opacity: 0; transform: translate3d(0, 24px, 0); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--rd, 0) * 90ms); }
.rv.in { opacity: 1; transform: none; }
.no-js .rv { opacity: 1; transform: none; }

/* ---------- HERO ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; max-height: 1100px; width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: clamp(16px, 2.4vw, 40px); padding: var(--pad); padding-left: max(var(--pad), env(safe-area-inset-left)); padding-right: max(var(--pad), env(safe-area-inset-right)); overflow: hidden; }
.hero__left { position: relative; order: 1; display: flex; flex-direction: column; min-width: 0; padding-left: clamp(4px, 1.6vw, 28px); }
.nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 44px); padding-top: clamp(4px, .6vw, 10px); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--teal-ink); flex: 0 0 auto; }
.brand__mark { width: 30px; height: 30px; }
.brand__name { font-weight: 800; letter-spacing: .14em; font-size: clamp(15px, 1.15vw, 19px); color: var(--ink); }
.nav__links { display: flex; align-items: center; gap: clamp(16px, 2vw, 34px); margin: 0 auto 0 clamp(10px, 1.4vw, 28px); padding: 0; list-style: none; }
.nav__links a { text-decoration: none; font-size: clamp(14px, 1vw, 16px); font-weight: 500; opacity: .85; transition: opacity .2s; white-space: nowrap; }
.nav__links a:hover { opacity: 1; }
.lang { margin-left: auto; text-decoration: none; font-size: 14px; font-weight: 700; letter-spacing: .06em; border: 1.5px solid rgba(17,20,23,.25); border-radius: 999px; padding: 7px 14px; transition: background .25s, color .25s, border-color .25s; }
.nav__links + .lang { margin-left: 0; }
.lang:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.burger { appearance: none; border: 0; background: transparent; padding: 8px 0 8px 8px; cursor: pointer; display: flex; flex-direction: column; justify-content: center; gap: 6px; flex: 0 0 auto; position: relative; z-index: 70; height: 44px; min-width: 44px; align-items: flex-end; transition: color .35s; }
.burger span { display: block; width: 30px; height: 2.5px; border-radius: 2px; background: currentColor; transform-origin: center; transition: transform .55s var(--ease-out), opacity .25s, width .45s var(--ease-out); }
.burger:hover span:nth-child(2) { width: 22px; }
.burger.is-active span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.burger.is-active span:nth-child(2) { opacity: 0; transform: scaleX(.2); }
.burger.is-active span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }
.burger.is-active { color: #fff; }

.hero__content { margin-top: auto; padding: clamp(24px, 4vh, 56px) 0 clamp(8px, 2vh, 24px); max-width: 640px; }
.badge { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; background: var(--teal-soft); color: var(--teal-ink); padding: 8px 16px; border-radius: 999px; margin-bottom: 24px; }
.badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(15,154,158,.18); }
.hero__title { font-weight: 700; letter-spacing: -.03em; line-height: 1.02; font-size: clamp(2.8rem, 5.6vw, 5.6rem); }
.hero__title em { font-style: normal; color: #fff; background: linear-gradient(120deg, #0f9a9e, #34c4c6); padding: 0 .18em .06em; border-radius: 18px; display: inline-block; margin-top: .08em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero__text { margin-top: 24px; color: var(--muted); font-size: clamp(16px, 1.15vw, 19px); line-height: 1.65; max-width: 54ch; }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 32px; }
.cta { display: inline-flex; align-items: center; gap: 16px; text-decoration: none; font-weight: 600; font-size: clamp(16px, 1.15vw, 18px); }
.cta__icon { width: clamp(48px, 3.6vw, 58px); height: clamp(48px, 3.6vw, 58px); border-radius: 50%; border: 1.5px solid rgba(17,20,23,.55); display: grid; place-items: center; transition: background .25s, color .25s, transform .25s; }
.cta__icon svg { width: 44%; height: 44%; }
.cta:hover .cta__icon { background: var(--ink); color: #fff; transform: translateX(4px); }
.cta--ghost { padding: 13px 22px; border-radius: 999px; background: var(--soft); transition: background .25s; }
.cta--ghost:hover { background: var(--line); }
.hero__facts { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; color: var(--muted); }
.hero__facts li { display: flex; align-items: center; gap: 8px; }
.hero__facts svg { width: 18px; height: 18px; color: var(--teal); }

.hero__media { position: relative; order: 2; isolation: isolate; border-radius: var(--radius-card); overflow: hidden; background: #0b2a3a; min-width: 0; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,0) 38%); pointer-events: none; }
.marker { position: absolute; z-index: 3; --dot-r: 15px; }
.marker__dot { position: absolute; left: calc(var(--dot-r) * -1); top: calc(var(--dot-r) * -1); width: calc(var(--dot-r) * 2); height: calc(var(--dot-r) * 2); border: 4px solid #fff; border-radius: 50%; box-shadow: 0 2px 12px rgba(0,0,0,.28); }
.marker__dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; animation: pulse 2.4s 2s infinite; }
.marker__line { position: absolute; left: 0; top: -1.5px; width: 60px; height: 3px; background: #fff; border-radius: 2px; transform-origin: 0 50%; transform: rotate(212deg); clip-path: inset(0 0 0 var(--dot-r)); }
.marker__label { position: absolute; right: 50px; bottom: 28px; white-space: nowrap; background: #fff; color: var(--ink); font-size: clamp(13px, .95vw, 15px); font-weight: 600; padding: .6em 1.05em; border-radius: 999px; box-shadow: 0 6px 20px rgba(0,0,0,.16); }
.marker--right .marker__line { transform: rotate(-32deg); }
.marker--right .marker__label { right: auto; left: 50px; }
.m-solar { left: 66%; top: 21%; }
.m-screen { left: 61%; top: 47%; }
.m-cam { left: 6.5%; top: 28.6%; }
.m-cam .marker__label { bottom: auto; top: 24px; left: 46px; }
.m-cam .marker__line { transform: rotate(32deg); }
.m-cam .marker__line.anim { animation-name: none; }
.concept-pill { position: absolute; left: 16px; bottom: 16px; z-index: 3; font-size: 12px; font-weight: 600; letter-spacing: .04em; color: #fff; background: rgba(10,22,28,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 6px 12px; border-radius: 999px; }

/* ---------- nav sheet ---------- */
.navsheet { position: fixed; inset: 0; z-index: 60; visibility: hidden; transition: visibility 0s linear .46s; }
.navsheet.is-open { visibility: visible; transition: visibility 0s linear 0s; }
.navsheet__scrim { position: absolute; inset: 0; background: rgba(5,17,24,.45); opacity: 0; transition: opacity .32s ease, backdrop-filter .32s ease; }
.navsheet.is-open .navsheet__scrim { opacity: 1; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: opacity .5s ease, backdrop-filter .6s ease; }
.navsheet__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(100%, 460px); display: flex; flex-direction: column; padding: calc(var(--pad) + 78px) clamp(24px, 6vw, 52px) max(calc(var(--pad) + 12px), env(safe-area-inset-bottom)); background: rgba(6,22,31,.92); backdrop-filter: blur(26px) saturate(150%); -webkit-backdrop-filter: blur(26px) saturate(150%); color: #fff; overflow-y: auto; transform: translateX(100%); transition: transform .44s var(--ease-in); }
.navsheet.is-open .navsheet__panel { transform: none; transition: transform .68s var(--ease-out); }
.navsheet__list { list-style: none; margin: 0; padding: 0; }
.navsheet__list li { border-top: 1px solid rgba(255,255,255,.13); }
.navsheet__list li:last-child { border-bottom: 1px solid rgba(255,255,255,.13); }
.navsheet__link { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: clamp(14px, 2.2vh, 20px) 2px; text-decoration: none; color: #fff; font-size: clamp(1.5rem, 6.4vw, 2.1rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; opacity: 0; transform: translateY(22px); transition: opacity .16s, transform .16s, color .25s; }
.navsheet.is-open .navsheet__link { opacity: 1; transform: none; transition: opacity .6s var(--ease-out), transform .6s var(--ease-out), color .25s; transition-delay: calc(.16s + var(--i) * .062s), calc(.16s + var(--i) * .062s), 0s; }
.navsheet__list li { --i: 0; }
.navsheet__link svg { width: 22px; height: 22px; flex: 0 0 auto; opacity: 0; transform: translateX(-10px); transition: opacity .35s var(--ease-out), transform .35s var(--ease-out); }
.navsheet__link:hover, .navsheet__link:focus-visible { color: #7fd7f2; }
.navsheet__link:hover svg { opacity: 1; transform: none; }
.navsheet__foot { margin-top: auto; padding-top: clamp(26px, 5vh, 48px); display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; opacity: 0; transform: translateY(22px); transition: opacity .16s, transform .16s; }
.navsheet.is-open .navsheet__foot { opacity: 1; transform: none; transition: opacity .6s var(--ease-out) .42s, transform .6s var(--ease-out) .42s; }
.navsheet__cta { display: inline-flex; align-items: center; gap: 12px; padding: 14px 24px; border-radius: 999px; background: #fff; color: #0a1a24; font-weight: 600; text-decoration: none; }
.navsheet__cta svg, .navsheet__lang svg { width: 18px; height: 18px; }
.navsheet__lang { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.85); text-decoration: none; font-weight: 600; min-height: 44px; }

/* ---------- PROBLEM ---------- */
.problem { background: var(--soft); }
.problem .h2 { max-width: 22ch; }
.hides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 64px; }
.hide { position: relative; background: #fff; border-radius: var(--radius-card); padding: 32px; min-height: 280px; display: flex; flex-direction: column; }
.hide__ic { width: 56px; height: 56px; color: var(--muted); margin-bottom: auto; }
.hide h3 { font-size: 22px; font-weight: 700; letter-spacing: -.01em; margin-top: 32px; position: relative; display: inline-block; align-self: flex-start; }
.hide h3::after { content: ""; position: absolute; left: -2px; right: -2px; top: 55%; height: 3px; background: #d6453a; border-radius: 3px; transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-out) .5s; }
.hide.in h3::after { transform: scaleX(1); }
.hide p { color: var(--muted); margin-top: 8px; font-size: 16px; }
.hide__no { position: absolute; top: 24px; right: 24px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fdecea; color: #c2382d; font-weight: 700; transform: scale(0) rotate(-45deg); transition: transform .6s var(--ease-out) .7s; }
.hide.in .hide__no { transform: none; }
.answer { margin-top: 40px; display: flex; align-items: center; gap: 16px; font-size: clamp(18px, 1.6vw, 24px); font-weight: 700; letter-spacing: -.01em; background: var(--ink); color: #fff; border-radius: var(--radius-card); padding: 24px 32px; }
.answer__ok { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%; background: var(--teal); display: grid; place-items: center; }
.answer__ok svg { width: 24px; height: 24px; stroke-width: 2.6; }

/* ---------- HOW ---------- */
.tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--soft); border-radius: 999px; margin-top: 40px; }
.tab { border: 0; background: transparent; padding: 12px 28px; border-radius: 999px; font-weight: 600; cursor: pointer; min-height: 48px; transition: background .3s, color .3s; }
.tab.is-on { background: var(--ink); color: #fff; }
.flow { display: none; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); margin-top: 48px; align-items: start; }
.flow.is-on { display: grid; }
.flow__media { position: sticky; top: 24px; aspect-ratio: 1122 / 1402; max-height: calc(100vh - 48px); border-radius: var(--radius-card); overflow: hidden; background: var(--soft); }
.flow__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .7s var(--ease-out), transform 1.2s var(--ease-out); }
.flow__media img.is-on { opacity: 1; transform: none; }
.flow__count { position: absolute; right: 16px; top: 16px; background: rgba(255,255,255,.9); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 600; color: var(--muted); }
.flow__count b { color: var(--ink); }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.step { border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step button { width: 100%; display: grid; grid-template-columns: 48px 1fr; grid-template-rows: auto auto; align-items: center; gap: 0 8px; text-align: left; background: none; border: 0; padding: 24px 0 16px; cursor: pointer; min-height: 56px; }
.step__n { font-size: 14px; font-weight: 700; color: var(--muted); transition: color .3s; }
.step__t { font-size: clamp(19px, 1.7vw, 24px); font-weight: 700; letter-spacing: -.015em; line-height: 1.25; color: var(--muted); transition: color .3s; }
.step__bar { grid-column: 2; height: 2px; margin-top: 16px; background: var(--line); border-radius: 2px; overflow: hidden; opacity: 0; transition: opacity .3s; }
.step__bar i { display: block; height: 100%; width: 0; background: var(--teal); }
.step p { color: var(--muted); padding: 0 0 0 56px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .6s var(--ease-out), opacity .4s, padding .6s var(--ease-out); }
.step.is-on .step__n { color: var(--teal-ink); }
.step.is-on .step__t { color: var(--ink); }
.step.is-on .step__bar { opacity: 1; }
.step.is-on p { max-height: 260px; opacity: 1; padding-bottom: 24px; }
.step.is-on.run .step__bar i { width: 100%; transition: width var(--dur, 6s) linear; }
.help { display: flex; align-items: center; gap: 16px; margin-top: 48px; padding: 20px 24px; border-radius: 20px; background: var(--teal-soft); color: var(--ink); max-width: 760px; }
.help__btn { flex: 0 0 auto; font-weight: 800; font-size: 13px; letter-spacing: .08em; color: #fff; background: #d6453a; border-radius: 10px; padding: 8px 12px; box-shadow: 0 4px 0 #a8342b; }

/* ---------- VIDEO ---------- */
.video { background: var(--ink); color: #fff; }
.video .kicker { color: #7fd7d9; }
.video .lead, .video .note { color: rgba(255,255,255,.7); }
.video__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.player { position: relative; border-radius: var(--radius-card); overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
.player video { width: 100%; height: 100%; object-fit: cover; }
.player__play { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: flex-start; padding: 24px; gap: 16px; border: 0; background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.35)); color: #fff; font-weight: 600; cursor: pointer; }
.player__play svg { width: 64px; height: 64px; padding: 20px; border-radius: 50%; background: #fff; color: var(--ink); fill: var(--ink); stroke: none; transition: transform .3s var(--ease-out); }
.player__play:hover svg { transform: scale(1.08); }
.player.is-playing .player__play { display: none; }
.concept-pill--dark { left: auto; right: 16px; top: 16px; bottom: auto; }
.player.is-playing .concept-pill--dark { display: none; }

/* ---------- STATION ---------- */
.explorer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); margin-top: 56px; align-items: start; }
.explorer__stage { position: relative; border-radius: var(--radius-card); overflow: hidden; background: var(--soft); aspect-ratio: 1122 / 1402; }
.explorer__img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; }
.explorer__img.is-fading { opacity: 0; }
.hots { position: absolute; inset: 0; transition: opacity .3s; }
.hots.is-off { opacity: 0; pointer-events: none; }
.hot { position: absolute; left: var(--x); top: var(--y); width: 44px; height: 44px; margin: -22px 0 0 -22px; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.hot i { width: 20px; height: 20px; border-radius: 50%; background: var(--teal); border: 3px solid #fff; box-shadow: 0 2px 10px rgba(0,0,0,.3); animation: pulse 2.2s infinite; transition: transform .3s var(--ease-out), background .3s; }
.hot.is-on i { transform: scale(1.35); background: #fff; border-color: var(--teal); }
.feat { list-style: none; margin: 0; padding: 0; }
.feat li { display: grid; grid-template-columns: 40px 1fr; gap: 8px; padding: 16px 16px; border-radius: 16px; cursor: pointer; transition: background .3s; }
.feat li:hover { background: var(--soft); }
.feat li.is-on { background: var(--teal-soft); }
.feat__n { font-size: 14px; font-weight: 700; color: var(--muted); padding-top: 3px; }
.feat li.is-on .feat__n { color: var(--teal-ink); }
.feat h3 { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.feat p { color: var(--muted); font-size: 15px; margin-top: 4px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .5s var(--ease-out), opacity .3s; }
.feat li.is-on p { max-height: 160px; opacity: 1; }
.views { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 24px; }
.view { border: 2px solid transparent; background: none; padding: 0; border-radius: 14px; overflow: hidden; cursor: pointer; position: relative; aspect-ratio: 4 / 3; transition: border-color .25s; }
.view img { width: 100%; height: 100%; object-fit: cover; }
.view span { position: absolute; left: 6px; bottom: 6px; font-size: 13px; font-weight: 700; background: rgba(255,255,255,.92); border-radius: 999px; padding: 2px 10px; }
.view.is-on { border-color: var(--teal); }
.gear { list-style: none; margin: 72px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.gear li { padding: 24px; border-radius: 20px; background: var(--soft); }
.gear svg { width: 32px; height: 32px; color: var(--teal-ink); }
.gear h3 { font-size: 18px; font-weight: 700; margin-top: 16px; }
.gear p { color: var(--muted); font-size: 15px; margin-top: 8px; }

/* ---------- PRIVACY ---------- */
.privacy { background: var(--soft); }
.opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 56px; }
.opt { background: #fff; border-radius: var(--radius-card); padding: 32px; }
.opt h3 { font-size: 22px; font-weight: 700; margin-top: 24px; }
.opt p { color: var(--muted); margin-top: 8px; font-size: 16px; }
.opt__vis { height: 120px; border-radius: 18px; background: var(--ink); color: #7fd7d9; display: grid; place-items: center; position: relative; overflow: hidden; }
.opt__vis svg { width: 72px; height: 72px; stroke-width: 2.2; }
.opt__vis--pin { display: flex; justify-content: center; align-items: center; gap: 8px; }
.opt__vis--pin span { width: 32px; height: 44px; border-radius: 8px; background: rgba(255,255,255,.08); display: grid; place-items: center; font-weight: 700; font-size: 20px; color: #fff; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s var(--ease-out); }
.opt.in .opt__vis--pin span { opacity: 1; transform: none; }
.opt__vis--pin span:nth-child(2) { transition-delay: .15s; } .opt__vis--pin span:nth-child(3) { transition-delay: .3s; } .opt__vis--pin span:nth-child(4) { transition-delay: .45s; } .opt__vis--pin span:nth-child(5) { transition-delay: .6s; } .opt__vis--pin span:nth-child(6) { transition-delay: .75s; }
.scanline { position: absolute; left: 25%; right: 25%; height: 2px; background: #7fd7d9; box-shadow: 0 0 12px #7fd7d9; top: 20%; animation: scan 2.4s ease-in-out infinite alternate; }
@keyframes scan { to { top: 78%; } }
.life { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; }
.life::before, .life::after { content: ""; position: absolute; left: 10px; right: 12.5%; top: 9px; height: 3px; border-radius: 3px; background: var(--line); }
.life::after { background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform 2s var(--ease-out) .3s; }
.life.in::after { transform: scaleX(1); }
.life li { position: relative; z-index: 1; padding-right: 16px; }
.life__dot { display: block; width: 21px; height: 21px; border-radius: 50%; background: #fff; border: 3px solid var(--teal); }
.life__end .life__dot { background: var(--teal); }
.life b { display: block; margin-top: 16px; font-size: 16px; font-weight: 600; line-height: 1.4; }
.life__end b { color: var(--teal-ink); }
.rules { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 40px; }
.rules li { display: flex; gap: 12px; font-size: 17px; }
.rules svg { flex: 0 0 auto; width: 22px; height: 22px; color: var(--teal); stroke-width: 2.6; margin-top: 3px; }

/* ---------- PRICING ---------- */
.price { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; margin-top: 56px; align-items: stretch; }
.sizes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.size { display: flex; flex-direction: column; align-items: flex-start; text-align: left; border: 2px solid var(--line); background: #fff; border-radius: var(--radius-card); padding: 24px; cursor: pointer; transition: border-color .3s, transform .3s var(--ease-out), box-shadow .3s; }
.size:hover { transform: translateY(-4px); }
.size.is-on { border-color: var(--teal); box-shadow: 0 16px 40px rgba(15,154,158,.16); }
.door { display: block; height: 120px; width: 100%; position: relative; margin-bottom: 24px; }
.door i { position: absolute; left: 0; bottom: 0; background: linear-gradient(160deg, #fff, #eef3f3); border: 2px solid #cfd9da; border-radius: 6px; box-shadow: inset 0 0 0 3px #fff, 0 0 0 1px rgba(15,154,158,.25); transition: border-color .3s; }
.door i::after { content: ""; position: absolute; right: 8px; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 6px #3ddc84; }
.door--s i { width: 46%; height: 36%; }
.door--m i { width: 64%; height: 74%; }
.door--l i { width: 64%; height: 100%; }
.size.is-on .door i { border-color: var(--teal); }
.size__name { font-weight: 700; font-size: 20px; }
.size__p { margin-top: 4px; color: var(--muted); font-size: 15px; }
.size__p b { color: var(--ink); font-size: 28px; letter-spacing: -.02em; }
.size__d { margin-top: 12px; font-size: 14px; color: var(--muted); }
.calc { background: var(--ink); color: #fff; border-radius: var(--radius-card); padding: 32px; display: flex; flex-direction: column; }
.calc__title { font-weight: 700; font-size: 20px; }
.calc__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; color: rgba(255,255,255,.75); }
.stepper { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.08); border-radius: 999px; padding: 4px; }
.stepper button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 22px; font-weight: 600; cursor: pointer; }
.stepper button:disabled { opacity: .35; cursor: default; }
.stepper output { min-width: 84px; text-align: center; font-weight: 600; color: #fff; }
.calc__total { display: flex; align-items: baseline; gap: 12px; margin-top: auto; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.12); }
.calc__total span { color: rgba(255,255,255,.75); }
.calc__total b { font-size: clamp(48px, 5vw, 72px); letter-spacing: -.04em; line-height: 1; }
.calc__total em { font-style: normal; color: #7fd7d9; font-weight: 600; }
.calc__cap { margin-top: 12px; font-size: 14px; color: rgba(255,255,255,.7); }
.calc__cap.is-hit { color: #7fd7d9; font-weight: 600; }
.calc__ex { margin-top: 4px; font-size: 14px; color: rgba(255,255,255,.5); }
.pnotes { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pnotes li { padding: 10px 18px; border-radius: 999px; background: var(--soft); font-size: 15px; font-weight: 500; }

/* ---------- CITIES ---------- */
.cities { background: #0c2a33; color: #fff; }
.cities .kicker { color: #7fd7d9; }
.cities .lead { color: rgba(255,255,255,.75); }
.cities__head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 72px); align-items: end; }
.cities__img { margin: 0; border-radius: var(--radius-card); overflow: hidden; }
.cities__img img { width: 100%; height: auto; }
.cgrid { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: rgba(255,255,255,.12); border-radius: var(--radius-card); overflow: hidden; }
.cgrid li { background: #0c2a33; padding: 32px; }
.cgrid svg { width: 36px; height: 36px; color: #7fd7d9; }
.cgrid__big { display: block; font-size: 36px; line-height: 1; font-weight: 800; color: #7fd7d9; letter-spacing: -.03em; }
.cgrid h3 { font-size: 20px; font-weight: 700; margin-top: 20px; }
.cgrid p { color: rgba(255,255,255,.7); font-size: 15px; margin-top: 8px; }
.cities__cta { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cities__cta p { font-size: 20px; font-weight: 600; max-width: 40ch; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 14px 28px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; text-decoration: none; border: 0; cursor: pointer; transition: transform .25s var(--ease-out), background .25s; }
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #e8f6fc; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.qa details { border-top: 1px solid var(--line); }
.qa details:last-child { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 0; font-size: clamp(18px, 1.4vw, 21px); font-weight: 600; min-height: 56px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; font-size: 22px; font-weight: 500; transition: transform .35s var(--ease-out), background .3s; }
.qa details[open] summary::after { transform: rotate(45deg); background: var(--teal-soft); }
.qa p { color: var(--muted); padding-bottom: 24px; max-width: 64ch; }

/* ---------- CONTACT ---------- */
.contact { background: var(--soft); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.mail { display: inline-flex; align-items: center; gap: 12px; margin-top: 32px; font-weight: 600; font-size: 18px; text-decoration: none; border-bottom: 2px solid var(--teal); padding-bottom: 4px; }
.mail svg { width: 22px; height: 22px; color: var(--teal-ink); }
.form { background: #fff; border-radius: var(--radius-card); padding: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; }
.form__wide { grid-column: 1 / -1; }
.form input, .form textarea { font: inherit; font-size: 16px; font-weight: 400; border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 16px; background: #fff; color: var(--ink); min-height: 48px; transition: border-color .25s; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--teal); }
.form .btn { grid-column: 1 / -1; justify-self: start; }
.form__note { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }

/* ---------- FOOTER ---------- */
.foot { background: var(--ink); color: #fff; padding-block: 80px 40px; }
.foot__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.12); }
.brand--foot { color: #7fd7d9; }
.brand--foot .brand__name { color: #fff; }
.foot__tag { font-size: clamp(22px, 2.4vw, 32px); font-weight: 700; letter-spacing: -.02em; }
.foot__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding-block: 40px; }
.foot__cols div { display: flex; flex-direction: column; gap: 8px; }
.foot__cols a { color: rgba(255,255,255,.75); text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.foot__cols a:hover { color: #fff; }
.foot__h { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 4px; }
.foot__fine { font-size: 13px; color: rgba(255,255,255,.5); max-width: 90ch; margin-top: 8px; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav__links { gap: 18px; margin-left: 16px; }
  .gear { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price { grid-template-columns: 1fr; }
}
@media (max-width: 1024px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); }
  .nav__links { display: none; }
  .marker { --dot-r: 12px; }
  .marker__line { width: 44px; }
  .marker__dot { border-width: 3px; }
  .marker__label { font-size: 12px; right: 36px; bottom: 22px; }
  .marker--right .marker__label { right: auto; left: 36px; }
  .m-cam { display: none; }
  .hides, .opts { grid-template-columns: 1fr 1fr; }
  .hides .hide:last-child, .opts .opt:last-child { grid-column: 1 / -1; }
  .cgrid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1025px) { .burger { display: none; } }
@media (max-width: 860px) {
  .flow, .explorer, .video__grid, .faq__grid, .contact__grid, .cities__head { grid-template-columns: 1fr; }
  .flow__media { position: relative; top: 0; max-height: none; aspect-ratio: 4 / 4.4; }
  .explorer__stage { max-width: 560px; }
}
/* ---------- PHONE: видео становится фоном первого экрана ---------- */
@media (max-width: 768px) {
  :root { --pad: 20px; --radius-card: 22px; }
  body { font-size: 16px; }
  .hero { display: block; padding: 0; color: #fff; min-height: 620px; max-height: none; }
  .hero__media { position: absolute; inset: 0; border-radius: 0; }
  .hero__media::after { background: linear-gradient(180deg, rgba(4,16,22,.55) 0%, rgba(4,16,22,0) 26%, rgba(4,16,22,.35) 52%, rgba(4,16,22,.88) 100%); }
  .hero__video { object-position: 64% 50%; }
  .hero__left { height: 100%; padding: max(16px, env(safe-area-inset-top)) 20px max(24px, env(safe-area-inset-bottom)); }
  .brand, .brand__name { color: #fff; }
  .lang { color: #fff; border-color: rgba(255,255,255,.5); padding: 6px 12px; }
  .lang:hover { background: #fff; color: var(--ink); }
  .burger { color: #fff; }
  .marker { display: none; }
  .hero__media .concept-pill { left: 20px; right: auto; bottom: auto; top: calc(max(16px, env(safe-area-inset-top)) + 60px); }
  .badge { background: rgba(255,255,255,.16); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 13px; padding: 6px 12px; margin-bottom: 16px; }
  .badge__dot { background: #7fd7d9; }
  .hero__title { font-size: clamp(2.6rem, 12vw, 3.4rem); }
  .hero__text { color: rgba(255,255,255,.9); font-size: 16px; margin-top: 16px; }
  .hero__ctas { margin-top: 24px; gap: 12px; }
  .cta { color: #fff; }
  .cta__icon { border-color: rgba(255,255,255,.7); }
  .cta:hover .cta__icon { background: #fff; color: var(--ink); }
  .cta--ghost { background: rgba(255,255,255,.16); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 15px; padding: 12px 18px; }
  .hero__facts { display: none; }
  .hides, .opts { grid-template-columns: 1fr; gap: 16px; margin-top: 40px; }
  .hide { min-height: 0; padding: 24px; }
  .hide h3 { margin-top: 24px; font-size: 20px; }
  .answer { padding: 20px; font-size: 18px; align-items: flex-start; }
  .answer__ok { width: 40px; height: 40px; }
  .tabs { display: flex; width: 100%; }
  .tab { flex: 1; padding: 12px 8px; }
  .flow { margin-top: 32px; gap: 24px; }
  .step button { padding: 18px 0 12px; grid-template-columns: 40px 1fr; }
  .step p { padding-left: 48px; font-size: 16px; }
  .help { align-items: flex-start; padding: 16px; font-size: 16px; }
  .player { aspect-ratio: 16 / 10; }
  .player__play { padding: 16px; }
  .player__play svg { width: 56px; height: 56px; padding: 18px; }
  .player__play span { font-size: 15px; }
  .views { gap: 6px; }
  .view span { font-size: 12px; padding: 2px 8px; }
  .feat li { padding: 12px; }
  .gear { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 48px; }
  .gear li { padding: 18px; }
  .gear h3 { font-size: 16px; }
  .gear p { font-size: 14px; }
  .life { grid-template-columns: 1fr; gap: 24px; margin-top: 40px; }
  .life::before, .life::after { left: 9px; right: auto; top: 10px; bottom: 10px; width: 3px; height: auto; transform-origin: top; }
  .life::after { transform: scaleY(0); }
  .life.in::after { transform: scaleY(1); }
  .life li { display: grid; grid-template-columns: 21px 1fr; gap: 16px; align-items: center; }
  .life b { margin-top: 0; }
  .rules { grid-template-columns: 1fr; margin-top: 40px; }
  .rules li { font-size: 16px; }
  .sizes { grid-template-columns: 1fr; gap: 12px; }
  .size { display: grid; grid-template-columns: 64px 1fr auto; grid-template-rows: auto auto; gap: 0 16px; align-items: center; padding: 16px 20px; }
  .door { grid-row: 1 / span 2; height: 64px; margin: 0; }
  .size__name { grid-column: 2; font-size: 18px; }
  .size__d { grid-column: 2; margin-top: 0; font-size: 14px; }
  .size__p { grid-column: 3; grid-row: 1 / span 2; margin: 0; text-align: right; font-size: 13px; max-width: 90px; }
  .size__p b { font-size: 24px; display: block; }
  .calc { padding: 24px; }
  .calc__total { padding-top: 24px; margin-top: 24px; }
  .cgrid { grid-template-columns: 1fr; margin-top: 40px; }
  .cgrid li { padding: 24px; }
  .cities__cta p { font-size: 18px; }
  .cities__cta .btn { width: 100%; }
  .form { grid-template-columns: 1fr; padding: 20px; }
  .form .btn { width: 100%; }
  .foot__cols { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
}
