/* ============ ПоВолнам · кинематографичный лендинг ============ */

:root {
  --bg: #030910;
  --bg-2: #071522;
  --panel: #0a1826;
  --ink: #eaf2f7;
  --muted: #8fa3b8;
  --accent: #ff6b1a;
  --accent-2: #ffb056;
  --display: 'Unbounded', system-ui, sans-serif;
  --grotesk: 'Manrope', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: initial; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--grotesk);
  font-size: 17px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: #06111c; }

img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2 { font-family: var(--display); font-weight: 900; line-height: 1.02; letter-spacing: -0.01em; text-transform: uppercase; }

/* ---------- лоадер ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 18px;
}
.loader__brand { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.loader__pct { font-family: var(--display); font-weight: 900; font-size: clamp(64px, 12vw, 140px); color: var(--accent); line-height: 1; font-variant-numeric: tabular-nums; }
.loader__bar { width: min(320px, 60vw); height: 2px; background: #12283c; overflow: hidden; border-radius: 2px; }
.loader__bar span { display: block; width: 0%; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.loader__hint { color: var(--muted); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; text-align: center; min-height: 1.2em; transition: opacity .24s ease; }

.loader__foot { position: absolute; left: 0; right: 0; bottom: 30px; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 0 20px; }
.loader__vpn {
  max-width: 340px; text-align: center;
  font-size: 12px; line-height: 1.5; letter-spacing: .01em; color: var(--muted);
  background: rgba(255,176,86,.07); border: 1px solid rgba(255,176,86,.22);
  border-radius: 12px; padding: 9px 15px;
  opacity: 0; transform: translateY(10px); pointer-events: none;
  transition: opacity .55s ease, transform .55s ease;
}
.loader__vpn.is-visible { opacity: 1; transform: none; }
.loader__phone {
  display: inline-flex; flex-direction: column; align-items: center; gap: 2px;
  border: 1px solid rgba(234,242,247,.18); border-radius: 16px; padding: 10px 24px;
  background: rgba(3,9,16,.3); backdrop-filter: blur(8px);
  transition: border-color .3s, background .3s;
}
.loader__phone:hover { border-color: var(--accent); background: rgba(255,107,26,.08); }
.loader__phone-label { font-size: 10px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.loader__phone-num { font-family: var(--display); font-weight: 700; font-size: 16px; letter-spacing: .02em; color: var(--accent-2); transition: color .3s; }
.loader__phone:hover .loader__phone-num { color: var(--accent); }

/* ---------- прогресс скролла ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; background: transparent; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--accent), var(--accent-2)); }

/* ---------- навигация ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px clamp(20px, 4vw, 56px);
  opacity: 0;
}
.nav__logo { font-family: var(--display); font-weight: 900; font-size: 17px; text-transform: uppercase; letter-spacing: .06em; }
.nav__logo span { color: var(--accent); }
.nav__phone {
  font-weight: 600; font-size: 15px; letter-spacing: .04em;
  padding: 10px 18px; border: 1px solid rgba(234,242,247,.22); border-radius: 100px;
  backdrop-filter: blur(8px); background: rgba(3,9,16,.25);
  transition: border-color .3s, background .3s, color .3s;
}
.nav__phone:hover { border-color: var(--accent); color: var(--accent-2); background: rgba(255,107,26,.08); }

/* ---------- HERO ---------- */
.hero { height: 500vh; position: relative; }
.hero__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(3,9,16,.55) 100%),
    linear-gradient(180deg, rgba(3,9,16,.45) 0%, transparent 22%, transparent 72%, rgba(3,9,16,.8) 100%);
}

.hero__title-wrap {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(10px, 2vh, 22px);
  pointer-events: none;
}
.hero__title {
  font-size: clamp(40px, 10.2vw, 170px);
  letter-spacing: .01em;
  text-align: center;
  white-space: nowrap;
  color: var(--ink);
  text-shadow: 0 8px 60px rgba(3,9,16,.6);
}
.hero__title .ch { display: inline-block; will-change: transform; }
.hero__tagline { color: var(--muted); font-size: clamp(13px, 1.4vw, 17px); letter-spacing: .28em; text-transform: uppercase; text-align: center; }

.reveal-line { overflow: hidden; }
.reveal-line > span { display: inline-block; }

.hero__phase {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  text-align: center; pointer-events: none;
  opacity: 0; visibility: hidden;
}
.hero__phase-kicker { color: var(--accent-2); font-size: 14px; letter-spacing: .32em; text-transform: uppercase; font-weight: 600; }
.hero__phase-line { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 4.5vw, 64px); text-transform: uppercase; text-shadow: 0 8px 50px rgba(3,9,16,.7); }

.hero__scrollhint {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--muted); font-size: 12px; letter-spacing: .3em; text-transform: uppercase;
}
.hero__scrollhint i { width: 1px; height: 44px; background: linear-gradient(180deg, var(--accent), transparent); animation: drop 1.6s ease-in-out infinite; }
@keyframes drop { 0% { transform: scaleY(0); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: top; } 56% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- СТОРИТЕЛЛИНГ ---------- */
.story {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 22vh clamp(20px, 7vw, 120px);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 55%, var(--bg) 100%);
}
.story__kicker, .specs__kicker, .pricing__kicker, .location__kicker, .cta__kicker {
  color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: .34em; text-transform: uppercase; margin-bottom: 28px;
}
.story__line { font-size: clamp(34px, 6.6vw, 96px); margin: .07em 0; }
.story__line--accent { color: var(--accent); }
.story__line .w { display: inline-block; overflow: hidden; vertical-align: top; }
.story__line .wi { display: inline-block; will-change: transform; }
.story__sub { color: var(--muted); font-size: clamp(16px, 1.6vw, 22px); margin-top: 34px; max-width: 480px; }

/* ---------- MACRO ---------- */
.macro { height: 350vh; position: relative; }
.macro__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.macro__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.macro__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3,9,16,.5), transparent 30%, transparent 70%, rgba(3,9,16,.65)); pointer-events: none; }
.macro__cap {
  position: absolute; left: clamp(20px, 7vw, 120px); bottom: 14vh;
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(22px, 3.4vw, 48px); line-height: 1.15; max-width: 14em;
  opacity: 0; visibility: hidden;
  text-shadow: 0 6px 40px rgba(3,9,16,.8);
}
.macro__cap em { display: block; font-style: normal; font-family: var(--grotesk); font-weight: 700; font-size: 13px; letter-spacing: .34em; color: var(--accent); margin-bottom: 14px; }

/* ---------- ХАРАКТЕРИСТИКИ ---------- */
.specs { padding: 20vh clamp(20px, 6vw, 100px) 14vh; background: var(--bg); }
.specs__title, .pricing__title, .location__title, .cta__title { font-size: clamp(32px, 5.6vw, 84px); margin-bottom: 8vh; }
.specs__stage { position: relative; border-radius: 20px; overflow: hidden; box-shadow: 0 40px 120px rgba(0,0,0,.5); }
.specs__img { width: 100%; }

.callout { position: absolute; left: var(--x); top: var(--y); }
.callout__dot {
  position: absolute; left: 0; top: 0; width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 6px rgba(255,107,26,.25);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse { 0% { box-shadow: 0 0 0 4px rgba(255,107,26,.3); } 70% { box-shadow: 0 0 0 16px rgba(255,107,26,0); } 100% { box-shadow: 0 0 0 4px rgba(255,107,26,0); } }
.callout__card {
  position: absolute; left: 22px; top: -12px; width: max-content; max-width: 250px;
  background: rgba(5,14,24,.78); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,176,86,.25); border-radius: 12px;
  padding: 12px 16px;
}
.callout__card b { display: block; font-family: var(--display); font-weight: 700; font-size: 15px; text-transform: uppercase; color: var(--accent-2); margin-bottom: 3px; }
.callout__card span { font-size: 13px; color: var(--muted); line-height: 1.4; display: block; }

.specs__counter { display: flex; align-items: baseline; gap: 22px; margin-top: 10vh; }
.specs__fleet { color: var(--muted); font-size: 14px; letter-spacing: .2em; text-transform: uppercase; margin-top: 3vh; }
.specs__num { font-family: var(--display); font-weight: 900; font-size: clamp(90px, 18vw, 260px); line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.specs__unit { font-size: clamp(14px, 1.6vw, 20px); color: var(--muted); text-transform: uppercase; letter-spacing: .18em; line-height: 1.5; }

/* ---------- ACTION ---------- */
.action { position: relative; height: 130vh; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.action__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.action__shade { position: absolute; inset: 0; background: rgba(3,9,16,.34); }
.action__big {
  position: relative; z-index: 2;
  font-size: clamp(48px, 11vw, 180px);
  color: var(--ink);
  text-shadow: 0 10px 80px rgba(3,9,16,.8);
  will-change: transform;
}
.action__sub { position: absolute; z-index: 2; bottom: 10vh; left: 50%; transform: translateX(-50%); width: max-content; max-width: 90vw; text-align: center; color: var(--ink); font-size: clamp(15px, 1.6vw, 20px); letter-spacing: .12em; text-transform: uppercase; opacity: .9; line-height: 1.7; }

/* ---------- ТАРИФЫ ---------- */
.pricing { padding: 20vh clamp(20px, 6vw, 100px); background: linear-gradient(180deg, var(--bg), var(--bg-2) 60%, var(--bg)); }
.pricing__inner { max-width: 1240px; margin-inline: auto; }
.pricing__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px; }
.price-card {
  position: relative;
  border: 1px solid rgba(143,163,184,.18); border-radius: 22px;
  padding: clamp(28px, 4vw, 48px);
  background: rgba(10,24,38,.55); backdrop-filter: blur(8px);
  transition: transform .45s cubic-bezier(.2,.7,.2,1), border-color .45s, box-shadow .45s;
}
.price-card:hover { transform: translateY(-8px); border-color: rgba(255,107,26,.55); box-shadow: 0 30px 80px rgba(255,107,26,.12); }
.price-card--hot { border-color: rgba(255,107,26,.5); background: linear-gradient(160deg, rgba(255,107,26,.12), rgba(10,24,38,.6) 55%); }
.price-card__tag {
  position: absolute; top: 22px; right: 22px;
  font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: #06111c; background: var(--accent); border-radius: 100px; padding: 6px 12px;
}
.price-card__time { font-size: 14px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.price-card__price { font-family: var(--display); font-weight: 900; font-size: clamp(34px, 3.4vw, 50px); line-height: 1.05; }
.price-card__from { font-family: var(--grotesk); font-weight: 700; font-size: .34em; letter-spacing: .04em; color: var(--muted); margin-right: .12em; }
.price-card__rub { color: var(--accent); font-size: .6em; }
.price-card__note { color: var(--muted); margin-top: 14px; }
.pricing__included { display: flex; flex-wrap: wrap; gap: 12px 28px; list-style: none; margin-top: 7vh; color: var(--muted); }
.pricing__included li { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.pricing__included li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.pricing__terms { color: var(--muted); font-size: 14px; line-height: 1.8; margin-top: 4vh; max-width: 640px; }

/* ---------- ЛОКАЦИЯ ---------- */
.location {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 5vw, 80px);
  align-items: center;
  padding: 18vh clamp(20px, 6vw, 100px);
  background: var(--bg);
}
.location__sub { color: var(--muted); font-size: clamp(16px, 1.6vw, 20px); margin-bottom: 3vh; }
.location__hours { color: var(--accent-2); font-size: 14px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 5vh; }
.location__map { border-radius: 22px; overflow: hidden; border: 1px solid rgba(143,163,184,.16); box-shadow: 0 40px 100px rgba(0,0,0,.45); }
.location__map svg { width: 100%; height: auto; }
.map-pulse { animation: mapPulse 2.6s ease-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes mapPulse { 0% { transform: scale(.4); opacity: .5; } 100% { transform: scale(1.6); opacity: 0; } }

.btn {
  display: inline-block;
  font-family: var(--display); font-weight: 700; font-size: 14px;
  letter-spacing: .12em; text-transform: uppercase;
  color: #06111c; background: linear-gradient(120deg, var(--accent), var(--accent-2));
  border-radius: 100px; padding: 18px 34px;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s;
  box-shadow: 0 12px 40px rgba(255,107,26,.25);
}
.btn:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 18px 60px rgba(255,107,26,.45); }
.btn--big { font-size: 17px; padding: 22px 48px; }

/* ---------- CTA ---------- */
.cta { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cta__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3,9,16,.75), rgba(3,9,16,.35) 45%, rgba(3,9,16,.88)); }
.cta__inner { position: relative; z-index: 2; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 26px; padding: 16vh 20px; }
.cta__inner .cta__kicker { margin-bottom: 0; }
.cta__title { margin-bottom: 0; }
.cta__phone { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 5vw, 64px); color: var(--accent-2); letter-spacing: .02em; transition: color .3s; }
.cta__rating { color: var(--muted); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.cta__phone:hover { color: var(--accent); }
.footer {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 22px clamp(20px, 4vw, 56px);
  color: var(--muted); font-size: 13px; letter-spacing: .06em;
}

/* ---------- зерно ---------- */
.grain { position: fixed; inset: -100%; z-index: 90; pointer-events: none; opacity: .055; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 8s steps(10) infinite; }
@keyframes grain {
  0%, 100% { transform: translate(0,0); } 10% { transform: translate(-5%,-8%); } 20% { transform: translate(-12%,3%); }
  30% { transform: translate(6%,-10%); } 40% { transform: translate(-4%,12%); } 50% { transform: translate(-10%,4%); }
  60% { transform: translate(10%,0); } 70% { transform: translate(0,10%); } 80% { transform: translate(-12%,0); } 90% { transform: translate(9%,4%); }
}

/* ---------- анимационные заготовки ---------- */
.fade-up { opacity: 0; transform: translateY(46px); }
html.reduced .fade-up, html.no-js .fade-up { opacity: 1; transform: none; }

/* ---------- адаптив: планшеты ---------- */
@media (max-width: 900px) {
  .location { grid-template-columns: 1fr; }
  .action { height: 100vh; }
  .callout__card { max-width: 180px; padding: 9px 12px; }
  .callout__card b { font-size: 12px; }
  .callout__card span { font-size: 11px; }
  .footer { justify-content: center; text-align: center; }
}

/* ---------- адаптив: телефоны ---------- */
@media (max-width: 600px) {
  body { font-size: 16px; }

  .nav { padding: 15px 18px; }
  .nav__logo { font-size: 16px; }
  .nav__phone { padding: 8px 14px; font-size: 13px; }

  .hero__tagline { letter-spacing: .18em; }

  .story { padding: 16vh 20px; }
  .specs { padding: 14vh 20px 10vh; }
  .pricing { padding: 14vh 18px; }
  .location { padding: 12vh 20px; }
  .specs__title, .pricing__title, .location__title, .cta__title { margin-bottom: 6vh; }

  /* тарифы: карточки полностью в кадре */
  .pricing__grid { gap: 16px; }
  .price-card { padding: 26px 22px; border-radius: 18px; }
  .price-card__time { margin-bottom: 14px; }
  .price-card__tag { top: 18px; right: 18px; }
  .pricing__included { gap: 10px 20px; margin-top: 5vh; }
  .pricing__included li { font-size: 14px; }
  .pricing__terms { font-size: 13px; margin-top: 5vh; }

  .specs__counter { gap: 14px; margin-top: 8vh; }
  .specs__fleet { font-size: 12px; }

  /* выноски: на телефоне — аккуратный список под фото, без наложений */
  .specs__stage { overflow: visible; }
  .specs__img { border-radius: 20px; }
  .callout { position: static; }
  .callout__dot { display: none; }
  .callout__card {
    position: static; left: auto; right: auto; top: auto; bottom: auto;
    max-width: none; width: 100%; margin-top: 12px;
    padding: 14px 16px;
  }
  .callout__card b { font-size: 14px; }
  .callout__card span { font-size: 13px; }

  /* CTA: контенту хватает места над футером */
  .cta__inner { padding: 14vh 20px 22vh; gap: 20px; }
  .footer { font-size: 12px; gap: 6px; padding: 18px 20px; }
}

/* ---------- адаптив: очень узкие экраны ---------- */
@media (max-width: 380px) {
  .hero__title { font-size: clamp(34px, 12vw, 56px); }
  .pricing { padding: 14vh 14px; }
  .price-card { padding: 24px 18px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero { height: 100vh; }
  .macro { height: 100vh; }
  .hero__scrollhint i, .callout__dot, .map-pulse, .grain { animation: none; }
}
