/* ============================================================
   Tele Taxi — landing page styles
   Monochrome brand system (graphite #1d1d1b). Typeface: Poppins.
   Tokens mirror the Tele Taxi design system.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* graphite scale */
  --graphite-100: #1d1d1b;
  --graphite-80: #4a4a49;
  --graphite-60: #777776;
  --graphite-40: #a5a5a4;
  --graphite-20: #d2d2d1;
  --graphite-10: #e8e8e8;
  --graphite-5: #f4f4f3;
  --white: #ffffff;

  /* type */
  --font-sans: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --text-h2: 700 clamp(28px, 4vw, 34px)/1.15 var(--font-sans);
  --text-h3: 600 24px/1.25 var(--font-sans);
  --text-body-lg: 400 clamp(17px, 2vw, 19px)/1.6 var(--font-sans);
  --text-body: 400 16px/1.6 var(--font-sans);
  --text-body-sm: 400 14px/1.5 var(--font-sans);
  --text-caption: 500 12px/1.4 var(--font-sans);
  --heading-tracking: 0.02em;

  /* radii */
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-capsule: 32px;
  --radius-pill: 999px;

  /* motion */
  --ease-out: cubic-bezier(0.2, 0.6, 0.2, 1);
  --ease-spring: cubic-bezier(0.2, 0.7, 0.3, 1);

  --header-h: 71px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font-sans);
  color: var(--graphite-100);
  background: var(--white);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font-family: inherit; }

:focus-visible {
  outline: 3px solid var(--graphite-100);
  outline-offset: 2px;
  border-radius: 4px;
}
.on-dark :focus-visible, .hero :focus-visible, .video-modal :focus-visible {
  outline-color: #ffffff;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Keyframes ---------- */
@keyframes tt-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes tt-pulse-dark {
  0% { box-shadow: 0 0 0 0 rgba(29,29,27,0.35); }
  70% { box-shadow: 0 0 0 14px rgba(29,29,27,0); }
  100% { box-shadow: 0 0 0 0 rgba(29,29,27,0); }
}
@keyframes tt-pulse-light {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.45); }
  70% { box-shadow: 0 0 0 14px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
@keyframes tt-drift { from { background-position: 0 0; } to { background-position: 340px 340px; } }
@keyframes tt-herozoom { from { transform: scale(1); } to { transform: scale(1.12); } }
@keyframes tt-loader-out {
  0%, 60% { opacity: 1; }
  100% { opacity: 0; visibility: hidden; }
}
@keyframes tt-logopulse {
  0%, 100% { transform: scale(1); opacity: 0.82; }
  50% { transform: scale(1.09); opacity: 1; }
}

/* ---------- Layout primitives ---------- */
.container { max-width: 1200px; margin: 0 auto; }
.container--narrow { max-width: 1100px; }

.section { padding: clamp(64px, 9vw, 120px) clamp(20px, 4vw, 48px); }
.section--dark { background: var(--graphite-100); color: #ffffff; }
.section--pattern { position: relative; overflow: hidden; }

.section-head {
  display: flex; flex-direction: column; gap: 12px;
  align-items: center; text-align: center;
}
.kicker {
  color: var(--graphite-40);
  font-weight: 700; font-size: 13px;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.section--dark .kicker { color: var(--graphite-40); }
.h2 {
  margin: 0; font: var(--text-h2);
  text-transform: uppercase; letter-spacing: var(--heading-tracking);
  color: var(--graphite-100); text-wrap: balance;
}
.section--dark .h2 { color: #ffffff; }
.section-sub {
  margin: 0; max-width: 560px;
  font: var(--text-body); color: var(--graphite-60);
}

/* pattern overlays */
.pattern-layer {
  position: absolute; inset: 0; pointer-events: none;
  background-size: 340px;
}
.pattern-layer--light { background-image: url("../assets/pattern2.png"); }
.pattern-layer--white { background-image: url("../assets/pattern2-white.png"); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
  border-radius: var(--radius-lg);
  transition: background-color 0.2s var(--ease-out), transform 0.25s var(--ease-spring), opacity 0.2s var(--ease-out);
}
.btn:active { transform: scale(0.98); }
.btn--light {
  background: #ffffff; color: var(--graphite-100);
}
.btn--light:hover { background: #f2f2f1; transform: translateY(-2px); }
.btn--dark {
  background: var(--graphite-100); color: #ffffff; border-color: var(--graphite-100);
}
.btn--dark:hover { background: #333331; transform: translateY(-2px); }
.btn--lg { font-size: clamp(17px, 2vw, 22px); padding: clamp(16px, 2vw, 20px) clamp(30px, 4vw, 46px); }
.btn--md { font-size: 17px; padding: 17px 38px; }
.pulse-light { animation: tt-pulse-light 2.6s infinite; }
.pulse-dark { animation: tt-pulse-dark 2.6s infinite; }

/* ---------- Store badges ---------- */
.store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px 10px 14px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background 0.15s var(--ease-out), transform 0.2s var(--ease-spring);
}
.store-badge:hover { transform: translateY(-2px); }
.store-badge__labels { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-badge__top { font-size: 10px; font-weight: 500; opacity: 0.75; }
.store-badge__name { font-size: 16px; font-weight: 700; }
.store-badge--solid {
  background: var(--graphite-100); color: #ffffff; border: 1px solid var(--graphite-100);
}
.store-badge--solid:hover { background: #333331; }
.store-badge--outline {
  background: #ffffff; color: var(--graphite-100); border: 1px solid var(--graphite-100);
}
.store-badge--outline:hover { background: #f2f2f1; }
.store-badges { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============================================================
   Loading screen
   ============================================================ */
.loader {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 50% 44%, #ffffff 0%, #f4f4f3 58%, #e9e9e8 122%);
  pointer-events: none;
  /* Self-dismissing so the page is never blocked, even without JS. */
  animation: tt-loader-out 2.2s ease forwards;
}
.loader img {
  width: min(220px, 46vw); height: auto;
  animation: tt-logopulse 1.1s ease-in-out infinite;
}
.loader.is-hidden { display: none; }

/* ============================================================
   Header
   ============================================================ */
.header {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px clamp(20px, 4vw, 48px);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--graphite-10);
}
.header__logo { display: flex; align-items: center; flex-shrink: 0; }
.header__logo img { height: 42px; width: auto; }

.nav { display: flex; align-items: center; gap: clamp(14px, 2.5vw, 28px); }
.nav a {
  color: var(--graphite-60); text-decoration: none;
  font-weight: 700; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
  transition: color 0.2s var(--ease-out); white-space: nowrap;
}
.nav a:hover { color: var(--graphite-100); }

.header__actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }

/* language switch */
.lang {
  display: flex; gap: 4px; padding: 3px;
  border: 1px solid var(--graphite-100); border-radius: var(--radius-capsule);
}
.lang button, .lang a {
  cursor: pointer; border: none; border-radius: var(--radius-capsule);
  font-weight: 700; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 7px 12px; background: transparent; color: var(--graphite-60);
  text-decoration: none; display: inline-flex; align-items: center;
  transition: color 0.2s var(--ease-out), background 0.2s var(--ease-out);
}
.lang button:hover, .lang a:hover { color: var(--graphite-100); }
.lang button.is-active, .lang a.is-active { background: var(--graphite-100); color: #ffffff; }

/* call chip (header) */
.call-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--graphite-100); color: #ffffff; text-decoration: none;
  font-weight: 700; font-size: 14px; letter-spacing: 0.04em;
  padding: 11px 22px; border-radius: var(--radius-md);
  transition: background-color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.call-chip:hover { background: #333331; transform: translateY(-1px); }

/* hamburger */
.nav-toggle {
  display: none; width: 44px; height: 44px; flex-shrink: 0;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--graphite-100);
  border-radius: var(--radius-md); cursor: pointer; padding: 0;
}
.nav-toggle span {
  position: relative; width: 20px; height: 2px; background: var(--graphite-100);
  transition: background 0.15s var(--ease-out);
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--graphite-100);
  transition: transform 0.25s var(--ease-out), top 0.25s var(--ease-out);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
body.menu-open .nav-toggle span { background: transparent; }
body.menu-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.menu-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* mobile menu panel */
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0; z-index: 39;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  display: flex; flex-direction: column; gap: 6px;
  padding: 24px clamp(20px, 4vw, 48px) 40px;
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out), visibility 0.25s;
  overflow-y: auto;
}
body.menu-open .mobile-menu { opacity: 1; transform: translateY(0); visibility: visible; }
.mobile-menu a {
  text-decoration: none; color: var(--graphite-100);
  font-weight: 700; font-size: 18px; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 16px 4px; border-bottom: 1px solid var(--graphite-10);
}
.mobile-menu .call-chip {
  color: #ffffff; margin-top: 20px; justify-content: center;
  font-size: 17px; padding: 16px; border-bottom: none;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative; background: var(--graphite-100); overflow: hidden;
}
.hero__bg {
  position: absolute; inset: -3%; overflow: hidden;
  animation: tt-herozoom 24s ease-in-out infinite alternate;
}
/* Branded graphite hero treatment (no photo supplied): layered gradients + car silhouette */
.hero__bg-fill {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 78% 12%, rgba(74,74,73,0.55) 0%, rgba(29,29,27,0) 55%),
    radial-gradient(90% 70% at 12% 88%, rgba(74,74,73,0.4) 0%, rgba(29,29,27,0) 60%),
    var(--graphite-100);
}
.hero__car {
  position: absolute; right: -6%; bottom: -8%;
  width: min(70%, 760px); opacity: 0.06;
  filter: brightness(0) invert(1);
}
.hero__overlay {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(rgba(29,29,27,0.6), rgba(29,29,27,0.8));
}
.hero__pattern {
  position: absolute; inset: 0; pointer-events: none;
  background-image: url("../assets/pattern2-white.png"); background-size: 340px;
  opacity: 0.06; animation: tt-drift 50s linear infinite;
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 70%);
  mask-image: linear-gradient(to bottom, black, transparent 70%);
}
.hero__inner {
  position: relative; z-index: 2;
  max-width: 1100px; margin: 0 auto;
  padding: clamp(72px, 10vw, 140px) clamp(20px, 4vw, 48px) clamp(64px, 8vw, 110px);
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: clamp(20px, 3vw, 34px);
}
.hero__kicker {
  border: 1px solid var(--graphite-60); color: var(--graphite-20);
  border-radius: var(--radius-capsule); padding: 8px 20px;
  font-weight: 700; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
}
.hero__title {
  margin: 0; color: #ffffff; font-weight: 800;
  font-size: clamp(44px, 8vw, 104px); line-height: 0.98;
  text-transform: uppercase; letter-spacing: var(--heading-tracking); text-wrap: balance;
}
.hero__sub {
  margin: 0; max-width: 580px; color: var(--graphite-20); font: var(--text-body-lg);
}
.hero__actions { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.hero__or {
  color: var(--graphite-40); font: var(--text-caption);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.hero__stats {
  display: flex; gap: clamp(24px, 5vw, 64px); flex-wrap: wrap; justify-content: center;
  margin-top: clamp(8px, 2vw, 24px);
}
.hero__stat { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.hero__stat b { color: #ffffff; font-weight: 800; font-size: clamp(24px, 3vw, 34px); line-height: 1; }
.hero__stat span { color: var(--graphite-40); font: var(--text-caption); text-transform: uppercase; letter-spacing: 0.08em; }

/* ============================================================
   Why / benefits
   ============================================================ */
.benefits {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px;
}
.benefit {
  background: #ffffff; color: var(--graphite-100);
  border: 1px solid var(--graphite-100); border-radius: var(--radius-capsule);
  padding: clamp(28px, 3vw, 38px) clamp(22px, 2.5vw, 30px);
  display: flex; flex-direction: column; gap: 14px;
  transition: transform 0.3s var(--ease-spring);
}
.benefit:hover { transform: translateY(-4px); }
.benefit--dark { background: var(--graphite-100); color: #ffffff; }
.benefit__icon {
  width: 52px; height: 52px; border: 1px solid currentColor; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; opacity: 0.9;
}
.benefit h3 {
  margin: 0; font: var(--text-h3);
  text-transform: uppercase; letter-spacing: var(--heading-tracking);
}
.benefit p { margin: 0; font: var(--text-body-sm); opacity: 0.75; }

.stack-gap { display: flex; flex-direction: column; gap: clamp(36px, 5vw, 56px); }

/* ============================================================
   Marquee
   ============================================================ */
.marquee {
  background: var(--graphite-100); overflow: hidden; padding: 18px 0;
  border-top: 1px solid var(--graphite-100); border-bottom: 1px solid var(--graphite-100);
}
.marquee__track {
  display: flex; width: max-content; white-space: nowrap;
  animation: tt-marquee 30s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  color: #ffffff; font-weight: 800; font-size: 22px;
  letter-spacing: 0.08em; text-transform: uppercase;
}

/* ============================================================
   Tariffs
   ============================================================ */
.tariffs {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px; align-items: stretch;
}
.tariff {
  background: #ffffff; color: var(--graphite-100);
  border: 1px solid var(--graphite-100); border-radius: var(--radius-capsule);
  padding: clamp(28px, 3vw, 40px) clamp(22px, 2.5vw, 32px);
  display: flex; flex-direction: column; gap: 22px;
}
.tariff--featured { background: var(--graphite-100); color: #ffffff; }
.tariff__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tariff__name { margin: 0; font-weight: 800; font-size: 26px; text-transform: uppercase; letter-spacing: var(--heading-tracking); }
.tariff__icon {
  border: 1px solid currentColor; border-radius: 50%;
  width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center;
  opacity: 0.9; flex-shrink: 0;
}
.tariff__price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.tariff__price b { font-weight: 800; font-size: clamp(38px, 4vw, 48px); line-height: 1; white-space: nowrap; }
.tariff__price span { font: var(--text-body-sm); opacity: 0.6; }
.tariff__rows { display: flex; flex-direction: column; }
.tariff__row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 11px 0; border-top: 1px solid var(--graphite-10);
}
.tariff--featured .tariff__row { border-top-color: rgba(255,255,255,0.16); }
.tariff__row .label { font: var(--text-body-sm); opacity: 0.65; }
.tariff__row .value { font-weight: 700; font-size: 15px; text-align: right; white-space: nowrap; }
.tariff__cars { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.tariff__cars .cars-label { font: var(--text-caption); text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.55; }
.tariff__cars .cars-value { font-weight: 700; font-size: 15px; }
.tariff__cta {
  display: inline-flex; justify-content: center; align-items: center; gap: 10px;
  text-decoration: none; font-weight: 800; font-size: 15px; letter-spacing: 0.05em;
  text-transform: uppercase; padding: 15px 24px; border-radius: var(--radius-lg);
  background: var(--graphite-100); color: #ffffff; border: 1px solid var(--graphite-100);
  transition: opacity 0.2s var(--ease-out), transform 0.25s var(--ease-spring);
}
.tariff__cta:hover { opacity: 0.85; transform: translateY(-2px); }
.tariff--featured .tariff__cta { background: #ffffff; color: var(--graphite-100); border-color: #ffffff; }
.tariffs-note { margin: 0; text-align: center; font: var(--text-caption); color: var(--graphite-40); }

/* ============================================================
   How it works
   ============================================================ */
.steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(28px, 4vw, 48px);
}
.step {
  display: flex; flex-direction: column; gap: 16px; text-align: center; align-items: center;
  border: 1px solid var(--graphite-80); border-radius: var(--radius-capsule);
  padding: clamp(28px, 3vw, 40px) 24px;
}
.step__num { font-weight: 800; font-size: 64px; line-height: 1; color: #ffffff; opacity: 0.2; }
.step__icon { color: #ffffff; opacity: 0.9; }
.step h3 { margin: 0; color: #ffffff; font: var(--text-h3); text-transform: uppercase; letter-spacing: var(--heading-tracking); }
.step p { margin: 0; max-width: 300px; color: var(--graphite-40); font: var(--text-body-sm); }
.how-cta { align-self: center; }

/* ============================================================
   App download
   ============================================================ */
.app-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(36px, 6vw, 64px); align-items: center;
}
#app .pattern-layer {
  opacity: 0.05;
  -webkit-mask-image: linear-gradient(to right, transparent 45%, black);
  mask-image: linear-gradient(to right, transparent 45%, black);
}
.app-copy { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.app-icon { width: 96px; height: 96px; border-radius: 24px; border: 1px solid var(--graphite-10); }
.app-copy p { margin: 0; max-width: 440px; font: var(--text-body); color: var(--graphite-60); }
.checklist { display: flex; flex-direction: column; gap: 10px; }
.checklist.checklist--grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; width: 100%; }
.check { display: flex; align-items: center; gap: 12px; }
.check__mark {
  width: 22px; height: 22px; border: 1px solid var(--graphite-100); border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--graphite-100);
}
.check span { font: var(--text-body-sm); color: var(--graphite-80); }

.qr-card {
  background: var(--graphite-100); color: #ffffff; border-radius: var(--radius-capsule);
  padding: clamp(32px, 4vw, 44px) clamp(36px, 5vw, 52px);
  display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.qr-card__img {
  width: 180px; height: 180px; background: #ffffff; border-radius: 12px;
  padding: 10px; overflow: hidden;
}
.qr-card__img img { width: 100%; height: 100%; }
.qr-card b { font-weight: 800; font-size: 20px; letter-spacing: 0.06em; text-transform: uppercase; }
.qr-card span { font: var(--text-caption); color: var(--graphite-40); }
.app-center { display: flex; justify-content: center; }

/* ============================================================
   Be a driver
   ============================================================ */
.driver-wrap { padding: 0 clamp(20px, 4vw, 48px) clamp(64px, 9vw, 120px); background: #ffffff; }
.driver {
  position: relative; max-width: 1160px; margin: 0 auto;
  background: var(--graphite-100); color: #ffffff; border-radius: var(--radius-capsule);
  padding: clamp(36px, 5vw, 64px); overflow: hidden;
}
.driver__pattern {
  position: absolute; inset: 0; pointer-events: none;
  background-image: url("../assets/pattern2-white.png"); background-size: 300px; opacity: 0.07;
  -webkit-mask-image: linear-gradient(115deg, transparent 55%, black);
  mask-image: linear-gradient(115deg, transparent 55%, black);
}
.driver__grid {
  position: relative;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(32px, 5vw, 56px); align-items: center;
}
.driver__copy { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.driver__copy .h2 { color: #ffffff; }
.driver__copy p { margin: 0; max-width: 480px; font: var(--text-body); color: var(--graphite-20); }
.driver__copy .check span { color: var(--graphite-20); }
.driver__copy .check__mark { border-color: #ffffff; color: #ffffff; }
.driver__aside { display: flex; flex-direction: column; gap: 18px; align-items: center; }
.driver__wordmark {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  color: #ffffff; text-align: center; text-transform: uppercase; line-height: 0.95;
}
.driver__wordmark b { font-weight: 800; font-size: clamp(30px, 4.4vw, 44px); letter-spacing: 0.02em; }
.driver__wordmark span { font-weight: 700; font-size: clamp(15px, 2.4vw, 22px); letter-spacing: 0.3em; color: rgba(255, 255, 255, 0.72); }
.driver__note { font: var(--text-caption); color: var(--graphite-40); }
.video-btn {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  background: #ffffff; color: var(--graphite-100); border: none;
  font-weight: 800; font-size: 15px; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 15px 28px; border-radius: var(--radius-lg);
  transition: transform 0.25s var(--ease-spring);
}
.video-btn:hover { transform: translateY(-2px); }

/* ============================================================
   Video modal
   ============================================================ */
.video-modal {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(29,29,27,0.85);
  display: flex; align-items: center; justify-content: center;
  padding: clamp(16px, 4vw, 48px);
  opacity: 0; visibility: hidden; transition: opacity 0.25s var(--ease-out), visibility 0.25s;
}
.video-modal.is-open { opacity: 1; visibility: visible; }
.video-modal__dialog {
  position: relative; width: min(380px, 92vw);
  display: flex; flex-direction: column; gap: 14px;
  transform: translateY(12px) scale(0.98); transition: transform 0.3s var(--ease-spring);
}
.video-modal.is-open .video-modal__dialog { transform: translateY(0) scale(1); }
.video-modal__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.video-modal__bar b { color: #ffffff; font-weight: 800; font-size: 16px; letter-spacing: 0.05em; text-transform: uppercase; }
.video-modal__close {
  background: #ffffff; color: var(--graphite-100); border: none; cursor: pointer;
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: background 0.15s var(--ease-out);
}
.video-modal__close:hover { background: #f2f2f1; }
.video-modal__frame {
  position: relative; width: 100%; aspect-ratio: 9 / 16;
  background: #000; border-radius: var(--radius-capsule); overflow: hidden;
}
.video-modal__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ============================================================
   Contacts + footer
   ============================================================ */
.contacts { background: var(--graphite-100); color: #ffffff; padding: clamp(64px, 9vw, 120px) clamp(20px, 4vw, 48px) 0; }
.contacts__inner { max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; gap: clamp(48px, 6vw, 72px); }
.contacts__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 48px; align-items: center; }
.contacts__phone { display: flex; flex-direction: column; gap: 12px; }
.contacts__phone a.big {
  color: #ffffff; text-decoration: none; font-weight: 800;
  font-size: clamp(64px, 9vw, 120px); line-height: 1; transition: color 0.2s var(--ease-out);
}
.contacts__phone a.big:hover { color: var(--graphite-20); }
.contacts__phone .note { font: var(--text-body-sm); color: var(--graphite-40); }
.contacts__links { display: flex; flex-direction: column; gap: 14px; font: var(--text-body); }
.contacts__links a { color: #ffffff; text-decoration: none; transition: color 0.2s var(--ease-out); width: fit-content; }
.contacts__links a:hover { text-decoration: underline; }
.contacts__links .addr { color: var(--graphite-40); }

.footer { display: flex; flex-direction: column; gap: 24px; border-top: 1px solid var(--graphite-80); padding: 28px 0 36px; }
.footer__top { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer__logo { height: 34px; width: auto; filter: invert(1) brightness(1.6); }
.footer__legal { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__legal a {
  text-decoration: none; color: var(--graphite-40); font: var(--text-caption);
  text-transform: uppercase; letter-spacing: 0.06em; transition: color 0.2s var(--ease-out);
}
.footer__legal a:hover { color: #ffffff; }
.footer__copy { font: var(--text-caption); color: var(--graphite-60); }
.footer__tag { font: var(--text-caption); color: var(--graphite-60); }

/* social logos */
.socials { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.social {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--graphite-80); color: var(--graphite-20);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out),
              border-color 0.2s var(--ease-out), transform 0.2s var(--ease-spring);
}
.social:hover { background: #ffffff; color: var(--graphite-100); border-color: #ffffff; transform: translateY(-2px); }
.social svg { width: 20px; height: 20px; }

/* ============================================================
   Legal page
   ============================================================ */
.legal-band { padding: clamp(48px, 6vw, 80px) clamp(20px, 4vw, 48px); }
.legal-band .pattern-layer {
  opacity: 0.07;
  -webkit-mask-image: linear-gradient(to right, transparent 50%, black);
  mask-image: linear-gradient(to right, transparent 50%, black);
}
.legal-band__inner { position: relative; max-width: 840px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.legal-band h1 {
  margin: 0; font-weight: 700; font-size: clamp(32px, 5vw, 48px); line-height: 1.1;
  text-transform: uppercase; letter-spacing: var(--heading-tracking); color: #ffffff;
}
.legal-band .updated { font: var(--text-caption); color: var(--graphite-40); }

.legal-main { padding: clamp(40px, 6vw, 72px) clamp(20px, 4vw, 48px); }
.legal-main__inner { max-width: 840px; margin: 0 auto; display: flex; flex-direction: column; gap: clamp(32px, 4vw, 44px); }

.doc-tabs { display: flex; gap: 10px; flex-wrap: wrap; }
.doc-tab {
  cursor: pointer; font-weight: 700; font-size: 14px; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 13px 26px; border-radius: var(--radius-lg);
  background: #ffffff; color: var(--graphite-100); border: 1px solid var(--graphite-100);
  transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out);
}
.doc-tab:hover { background: #f2f2f1; }
.doc-tab.is-active { background: var(--graphite-100); color: #ffffff; }

.doc-sections { display: flex; flex-direction: column; gap: 26px; }
.doc-section { display: flex; flex-direction: column; gap: 8px; }
.doc-section h2 { margin: 0; font-weight: 800; font-size: 17px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--graphite-100); }
.doc-section p { margin: 0; font: var(--text-body); color: var(--graphite-60); text-wrap: pretty; }

.company-card {
  background: var(--graphite-100); color: #ffffff; border-radius: var(--radius-capsule);
  padding: clamp(28px, 4vw, 40px); display: flex; flex-direction: column; gap: 12px;
}
.company-card h2 { margin: 0; font-weight: 800; font-size: 17px; text-transform: uppercase; letter-spacing: 0.04em; }
.company-card__lines { display: flex; flex-direction: column; gap: 6px; }
.company-card__lines span { font: var(--text-body-sm); color: var(--graphite-20); }

.back-link {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 10px;
  background: var(--graphite-100); color: #ffffff; text-decoration: none;
  font-weight: 700; font-size: 14px; letter-spacing: 0.05em; text-transform: uppercase;
  border: 1px solid var(--graphite-100); padding: 13px 26px; border-radius: var(--radius-lg);
  transition: background-color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.back-link:hover { background: #333331; transform: translateY(-1px); }

/* ============================================================
   Scroll reveal
   ============================================================ */
[data-reveal] {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  :root { --header-h: 69px; }
  .nav { display: none; }
  .header .call-chip { display: none; }
  .nav-toggle { display: inline-flex; }
}

@media (min-width: 961px) {
  .mobile-menu { display: none; }
}

@media (max-width: 620px) {
  .header__logo img { height: 34px; }
  .lang button, .lang a { padding: 7px 10px; }
  .contacts__grid { gap: 28px; }
  .footer__top { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (max-width: 380px) {
  .store-badge { padding: 9px 14px 9px 12px; }
  .lang button, .lang a { padding: 6px 8px; font-size: 11px; }
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .loader { display: none !important; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  display: flex; flex-direction: column; gap: 12px;
  max-width: 840px; margin: 0 auto; width: 100%;
}
.faq-item {
  border: 1px solid var(--graphite-100); border-radius: var(--radius-lg);
  background: #ffffff; overflow: hidden;
}
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  cursor: pointer; list-style: none;
  padding: clamp(18px, 2.4vw, 22px) clamp(20px, 3vw, 28px);
  font-weight: 700; font-size: clamp(15px, 1.7vw, 18px);
  letter-spacing: 0.01em; color: var(--graphite-100);
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: ""; flex-shrink: 0; width: 16px; height: 16px;
  background:
    linear-gradient(currentColor, currentColor) center/16px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center/2px 16px no-repeat;
  transition: transform 0.25s var(--ease-out); opacity: 0.7;
}
.faq-item[open] .faq-q::after { transform: rotate(45deg); }
.faq-q:hover { color: var(--graphite-80); }
.faq-a {
  padding: 0 clamp(20px, 3vw, 28px) clamp(20px, 2.4vw, 24px);
  margin: 0; font: var(--text-body); color: var(--graphite-60); text-wrap: pretty;
}
