/* ============================================================
   Fahrschule Sakai — design system
   Themes via :root[data-theme]; layout variants via data-* hooks.
   Type: Bricolage Grotesque (display) + Mulish (text);
         Cairo for Arabic, Mulish carries Cyrillic for Russian.
   ============================================================ */

:root {
  /* brand */
  --orange:      #E8632A;
  --orange-deep: #C24E1E;
  --orange-soft: #F6A969;
  --sun:         #E8632A;

  /* THEME: sunny (default) */
  --bg:        #FBF5EC;   /* warm cream */
  --bg-2:      #FFFFFF;   /* card / alt */
  --bg-band:   #FFF1E2;   /* warm tint band */
  --ink:       #1B2A44;   /* deep navy text */
  --ink-soft:  #4A576E;
  --line:      #ECE1D2;
  --on-accent: #FFFFFF;
  --hero-bg:   #16243F;   /* navy hero */
  --hero-ink:  #FBF5EC;
  --hero-soft: #B9C4DA;

  --radius:    20px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --shadow:    0 18px 50px -28px rgba(22,36,63,.45);
  --shadow-sm: 0 8px 24px -16px rgba(22,36,63,.4);
  --maxw:      1180px;
  --pad:       clamp(20px, 5vw, 64px);

  --font-display: "Bricolage Grotesque", "Mulish", system-ui, sans-serif;
  --font-text:    "Mulish", system-ui, sans-serif;
}

/* THEME: dusk (deeper, premium / trust) */
:root[data-theme="dusk"] {
  --bg:        #131F35;
  --bg-2:      #1B2A44;
  --bg-band:   #1B2A44;
  --ink:       #F4ECE0;
  --ink-soft:  #AEB9CF;
  --line:      #2A3A57;
  --hero-bg:   #0E182B;
  --hero-ink:  #F4ECE0;
  --hero-soft: #9FACC6;
  --shadow:    0 22px 60px -30px rgba(0,0,0,.7);
  --shadow-sm: 0 10px 30px -18px rgba(0,0,0,.6);
}

/* accent variants (tweakable) */
:root[data-accent="sunset"] { --orange:#F0743A; --orange-deep:#D2541F; --orange-soft:#F8B27E; }
:root[data-accent="amber"]  { --orange:#F2A03D; --orange-deep:#D9821D; --orange-soft:#F8C887; }
:root[data-accent="yellow"] { --orange:#F5C21B; --orange-deep:#7A5C00; --orange-soft:#FAD75C; --sun:#F5C21B; --on-accent:#16243F; }
:root[data-accent="yellow"] :is(.card .tag, .step .num, .signup-aside .call .ico, .form-ok .ico, .lang button[aria-current="true"]) { color: #16243F; }
:root[data-accent="yellow"] .btn-primary { box-shadow: 0 10px 26px -12px rgba(245,194,27,.7); }
:root[data-accent="yellow"] .btn-primary:hover { background: #E0AE0A; }
:root[data-accent="yellow"] .hero-badge { background: rgba(245,194,27,.14); border-color: rgba(245,194,27,.45); }
:root[data-accent="yellow"] .hero-bigsun { filter: drop-shadow(0 0 28px rgba(245,194,27,.5)); }
:root[data-accent="yellow"] .hero-glow { background: radial-gradient(circle, rgba(245,194,27,.45), transparent 62%); }
:root[data-accent="yellow"] .step .num { box-shadow: 0 8px 20px -10px rgba(245,194,27,.8); }

/* corner style */
:root[data-corner="sharp"] { --radius:6px; --radius-sm:4px; }

/* language-specific fonts */
:root[lang="ru"] h1, :root[lang="ru"] h2, :root[lang="ru"] h3,
:root[lang="ru"] .display { font-family: "Mulish", system-ui, sans-serif; }
:root[dir="rtl"] body,
:root[dir="rtl"] h1, :root[dir="rtl"] h2, :root[dir="rtl"] h3,
:root[dir="rtl"] .display { font-family: "Cairo", system-ui, sans-serif; }

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

html { scroll-behavior: smooth; scroll-padding-top: 116px; }

body {
  font-family: var(--font-text);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, .display { font-family: var(--font-display); line-height: 1.05; font-weight: 700; letter-spacing: -0.01em; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
section { padding-block: clamp(56px, 8vw, 110px); }

/* ---------- eyebrow / headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-text); font-weight: 800;
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange-deep);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--orange); border-radius: 2px; }
:root[dir="rtl"] .eyebrow { letter-spacing: 0; }

.section-head { max-width: 640px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head h2 { font-size: clamp(28px, 4.4vw, 46px); margin-top: 14px; }
.section-head p { color: var(--ink-soft); font-size: clamp(16px, 1.6vw, 19px); margin-top: 14px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-text); font-weight: 800; font-size: 16px;
  padding: 14px 24px; border-radius: var(--radius-pill);
  border: 2px solid transparent; cursor: pointer; transition: .18s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--orange); color: var(--on-accent); box-shadow: 0 10px 26px -12px rgba(232,99,42,.7); }
.btn-primary:hover { background: var(--orange-deep); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange-deep); }
.btn-light { background: rgba(255,255,255,.12); color: var(--hero-ink); border-color: rgba(255,255,255,.28); }
.btn-light:hover { background: rgba(255,255,255,.2); }
.btn svg { width: 18px; height: 18px; }

/* ============================================================ SUN LOGO */
.sun { display: inline-block; flex: none; }
.sun .core { fill: var(--sun); }

/* ============================================================ TOP BAR */
.topbar {
  background: var(--hero-bg); color: var(--hero-soft);
  font-size: 13.5px; font-weight: 600;
}
.topbar .wrap { display: flex; align-items: center; gap: 22px; min-height: 42px; flex-wrap: wrap; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: #fff; }
.topbar .sep { flex: 1; }
.topbar svg { width: 14px; height: 14px; opacity: .85; }

/* language switcher */
.lang { display: inline-flex; align-items: center; gap: 2px; }
.lang button {
  font: inherit; font-weight: 700; background: none; border: none; cursor: pointer;
  color: var(--hero-soft); padding: 5px 9px; border-radius: 8px; line-height: 1;
}
.lang button:hover { color: #fff; background: rgba(255,255,255,.08); }
.lang button[aria-current="true"] { color: #fff; background: var(--orange); }

/* ============================================================ NAV */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--bg) 86%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 18px; min-height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand .mark { width: 52px; height: 52px; }
.brand b { font-family: var(--font-display); font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.brand b small { display: block; font-family: var(--font-text); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-deep); }
.nav-links { display: flex; align-items: center; gap: 6px; margin-inline-start: auto; }
.nav-links a {
  font-weight: 700; font-size: 15px; color: var(--ink-soft);
  padding: 9px 13px; border-radius: 10px; transition: .15s;
}
.nav-links a:hover { color: var(--ink); background: color-mix(in oklab, var(--orange) 12%, transparent); }
.nav-cta { margin-inline-start: 6px; }
.nav-cta .btn { padding: 11px 18px; font-size: 15px; }

.burger { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; align-items: center; justify-content: center; margin-inline-start: auto; }
.burger svg { width: 22px; height: 22px; stroke: var(--ink); }

.mobile-menu { display: none; }

/* ============================================================ HERO */
.hero { background: var(--hero-bg); color: var(--hero-ink); position: relative; overflow: clip; padding-block: clamp(48px, 7vw, 100px); }
.hero .wrap { position: relative; z-index: 2; }
.hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;pointer-events:none}
.hero-video-tint{position:absolute;inset:0;z-index:0;pointer-events:none;background:linear-gradient(100deg,rgba(22,36,70,.92) 0%,rgba(22,36,70,.78) 50%,rgba(22,36,70,.6) 100%)}
@media (prefers-reduced-motion: reduce){.hero-video{display:none}}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(232,99,42,.16); color: var(--orange-soft);
  border: 1px solid rgba(232,99,42,.4);
  font-weight: 800; font-size: 13.5px; letter-spacing: .04em;
  padding: 8px 15px; border-radius: var(--radius-pill); margin-bottom: 22px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.hero h1 { font-size: clamp(34px, 5.6vw, 64px); }
.hero h1 .rhyme2 { color: var(--orange-soft); display: block; }
.hero-sub { color: var(--hero-soft); font-size: clamp(16px, 1.9vw, 20px); margin: 22px 0 30px; max-width: 30ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-photo {
  position: relative; border-radius: var(--radius);
  aspect-ratio: 4 / 3.4; box-shadow: var(--shadow);
}
.hero-glow { position: absolute; inset: -20% -10% auto auto; width: 60%; aspect-ratio: 1; background: radial-gradient(circle, rgba(232,99,42,.5), transparent 62%); filter: blur(20px); z-index: 1; }
.hero-car { background: none; box-shadow: none; overflow: visible; display: grid; place-items: center; z-index: 2; }
.hero-car::before { content: ""; position: absolute; inset: 8% -6% 4%; background: radial-gradient(ellipse 60% 55% at 50% 55%, rgba(255,255,255,.28), rgba(255,255,255,.08) 55%, transparent 75%); filter: blur(6px); z-index: 0; }
.hero-car::after { content: ""; position: absolute; left: 10%; right: 8%; bottom: 17%; height: 9%; background: radial-gradient(ellipse at center, rgba(0,0,0,.55), transparent 70%); filter: blur(8px); z-index: 0; }
.hero-car img { position: relative; z-index: 1; width: 108%; max-width: none; height: auto; display: block; filter: drop-shadow(0 18px 24px rgba(0,0,0,.35)); animation: heroCarIn 1.1s cubic-bezier(.2,.7,.2,1) .15s both; }
@keyframes heroCarIn { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero-car img { animation: none; } }
.hero-bigsun { position: absolute; inset-block-start: 8px; inset-inline-end: 16px; width: clamp(120px, 16vw, 210px); height: auto; aspect-ratio: 264 / 265; opacity: .6; z-index: 1; pointer-events: none; filter: drop-shadow(0 0 28px rgba(232,99,42,.55)); }


/* photo placeholder */
.ph {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 14px, rgba(255,255,255,.02) 14px 28px),
    #223457;
  border: 1px solid rgba(255,255,255,.12);
  display: grid; place-items: center;
}
.ph.light { background:
    repeating-linear-gradient(135deg, rgba(22,36,63,.05) 0 14px, rgba(22,36,63,.015) 14px 28px),
    #F2E7D6;
  border-color: var(--line); }
.ph-label {
  font-family: "Mulish", monospace; font-weight: 700; font-size: 13px;
  letter-spacing: .03em; color: rgba(255,255,255,.7);
  background: rgba(0,0,0,.28); padding: 7px 14px; border-radius: var(--radius-pill);
}
.ph.light .ph-label { color: var(--ink-soft); background: rgba(255,255,255,.7); }

/* ============================================================ STATS */
.stats { background: var(--bg); border-bottom: 1px solid var(--line); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-block: 40px; }
.stat { text-align: center; }
.stat b { font-family: var(--font-display); font-size: clamp(28px, 3.6vw, 44px); color: var(--orange-deep); display: block; line-height: 1; }
.stat span { display: block; margin-top: 8px; color: var(--ink-soft); font-weight: 600; font-size: 14.5px; }
.stat + .stat { border-inline-start: 1px solid var(--line); }

/* ============================================================ CLASSES */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm); position: relative;
  display: flex; flex-direction: column; transition: .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in oklab, var(--orange) 40%, var(--line)); }
.card.feat { border-color: var(--orange); }
.card .tag { position: absolute; inset-block-start: -12px; inset-inline-start: 30px; background: var(--orange); color: #fff; font-weight: 800; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: var(--radius-pill); }
.card .cls-ico { width: 52px; height: 52px; border-radius: 14px; background: var(--bg-band); display: grid; place-items: center; margin-bottom: 18px; color: var(--orange-deep); }
.card .cls-ico svg { width: 28px; height: 28px; }
.card h3 { font-size: 26px; }
.card .cls-sub { color: var(--orange-deep); font-weight: 800; font-size: 14px; margin-top: 2px; }
.card .cls-desc { color: var(--ink-soft); margin-top: 14px; font-size: 15.5px; flex: 1; white-space: pre-line; }
.card .cls-price { display: flex; align-items: baseline; gap: 8px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.card .cls-price span { color: var(--ink-soft); font-weight: 600; font-size: 14px; }
.card .cls-price b { font-family: var(--font-display); font-size: 22px; }
.card .btn { margin-top: 18px; }

/* ============================================================ PROCESS */
.process { background: var(--bg-band); }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; }
.step { position: relative; padding-top: 18px; }
.step .num {
  width: 46px; height: 46px; border-radius: 50%; background: var(--orange); color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: 20px;
  display: grid; place-items: center; margin-bottom: 16px; box-shadow: 0 8px 20px -10px rgba(232,99,42,.8);
}
.step h3 { font-size: 18px; }
.step p { color: var(--ink-soft); font-size: 14.5px; margin-top: 7px; }
.step:not(:last-child)::after {
  content: ""; position: absolute; inset-block-start: 41px; inset-inline-start: 58px; inset-inline-end: -8px;
  height: 2px; background: repeating-linear-gradient(90deg, var(--orange-soft) 0 7px, transparent 7px 14px);
}
:root[dir="rtl"] .step:not(:last-child)::after { transform: scaleX(-1); }

/* ============================================================ ABOUT */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.about-photo { aspect-ratio: 4/4.4; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-points { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.pt { display: flex; gap: 13px; }
.pt .ico { flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--bg-band); color: var(--orange-deep); display: grid; place-items: center; }
.pt .ico svg { width: 22px; height: 22px; }
.pt h3 { font-size: 16.5px; }
.pt p { color: var(--ink-soft); font-size: 14px; margin-top: 3px; }

/* ============================================================ REVIEWS */
.reviews { background: var(--hero-bg); color: var(--hero-ink); }
.reviews .section-head h2 { color: var(--hero-ink); }
.reviews .eyebrow { color: var(--orange-soft); }
.rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rev {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column;
}
.rev .stars { color: var(--orange-soft); font-size: 18px; letter-spacing: 3px; margin-bottom: 14px; }
.rev p { font-size: 16.5px; flex: 1; }
.rev .who { margin-top: 18px; font-weight: 800; color: var(--hero-soft); font-size: 14.5px; }
.rev-note { display: inline-flex; align-items: center; gap: 7px; margin-top: 26px; font-weight: 800; font-size: 15px; color: var(--orange-soft); }
.rev-note:hover { color: #fff; }
.rev-note svg { width: 16px; height: 16px; }
.rev p { quotes: "„" "“"; }
.rev p::before { content: open-quote; }
.rev p::after { content: close-quote; }

/* ============================================================ LOCATIONS */
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.loc.single { display: grid; grid-template-columns: 1.1fr 1fr; align-items: stretch; max-width: 920px; }
.loc.single .loc-map { aspect-ratio: auto; min-height: 320px; background: var(--bg-band); }
.loc-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.loc.single .loc-body { padding: 34px 38px; display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 720px) { .loc.single { grid-template-columns: 1fr; } .loc.single .loc-map { min-height: 260px; } }
.loc {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.loc-map {
  aspect-ratio: 16/8; position: relative;
  background:
    radial-gradient(circle at 30% 40%, rgba(232,99,42,.18), transparent 40%),
    repeating-linear-gradient(0deg, var(--line) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 34px),
    var(--bg-band);
}
.loc-pin { position: absolute; inset-block-start: 38%; inset-inline-start: 30%; transform: translate(-50%,-100%); color: var(--orange); }
.loc-pin svg { width: 38px; height: 38px; filter: drop-shadow(0 6px 8px rgba(0,0,0,.3)); }
.loc-pin.b { inset-block-start: 60%; inset-inline-start: 64%; }
.loc-body { padding: 24px 26px 26px; }
.loc-body h3 { font-size: 21px; }
.loc-row { display: flex; align-items: flex-start; gap: 10px; color: var(--ink-soft); font-size: 15px; margin-top: 12px; }
.loc-row svg { width: 18px; height: 18px; flex: none; color: var(--orange-deep); margin-top: 2px; }
.loc-row b { color: var(--ink); font-weight: 800; }
.loc .maplink { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; font-weight: 800; color: var(--orange-deep); font-size: 15px; }
.loc .maplink:hover { color: var(--orange); }
.loc .maplink svg { width: 16px; height: 16px; }

/* ============================================================ FORM */
.signup { background: var(--bg-band); }
.signup-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 5vw, 60px); align-items: start; }
.signup-aside h2 { font-size: clamp(28px, 4vw, 44px); margin-top: 14px; }
.signup-aside p { color: var(--ink-soft); font-size: 18px; margin-top: 16px; }
.signup-aside .call {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 28px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 20px; box-shadow: var(--shadow-sm);
}
.signup-aside .call .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--orange); color: #fff; display: grid; place-items: center; }
.signup-aside .call b { font-family: var(--font-display); font-size: 21px; display: block; }
.signup-aside .call span { color: var(--ink-soft); font-size: 13px; font-weight: 700; }

.form-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 38px); box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 800; font-size: 14px; margin-bottom: 7px; }
.field .req { color: var(--orange); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 13px 15px; transition: .15s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(232,99,42,.14);
}
.field.err input, .field.err select { border-color: #D8442E; box-shadow: 0 0 0 4px rgba(216,68,46,.12); }
.field .msg { color: #D8442E; font-size: 13px; font-weight: 700; margin-top: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-card .btn { width: 100%; margin-top: 6px; }
.form-ok {
  background: color-mix(in oklab, var(--orange) 12%, var(--bg-2));
  border: 1.5px solid var(--orange); border-radius: var(--radius);
  padding: 40px 30px; text-align: center;
}
.form-ok .ico { width: 64px; height: 64px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; margin: 0 auto 18px; }
.form-ok .ico svg { width: 34px; height: 34px; }
.form-ok h3 { font-size: 24px; }

/* ============================================================ FOOTER */
.footer { background: var(--hero-bg); color: var(--hero-soft); padding-block: 56px 28px; }
.footer .wrap {}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer .brand b { color: #fff; }
.footer .brand b small { color: var(--orange-soft); }
.foot-about { margin-top: 16px; font-size: 14.5px; max-width: 32ch; }
.foot-col h4 { color: #fff; font-family: var(--font-display); font-size: 16px; margin-bottom: 14px; }
.foot-col a, .foot-col p { display: block; font-size: 14.5px; margin-bottom: 9px; }
.foot-col a:hover { color: #fff; }
.foot-bottom { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13.5px; }
.foot-bottom .sep { flex: 1; }
.foot-bottom button { background: none; border: none; color: var(--hero-soft); font: inherit; cursor: pointer; text-decoration: underline; }
.foot-bottom button:hover { color: #fff; }
.social { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.1); display: grid; place-items: center; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.social:hover { background: var(--orange); }
.social svg { width: 18px; height: 18px; }

/* ============================================================ MODAL */
.modal-bg { position: fixed; inset: 0; background: rgba(10,16,30,.6); backdrop-filter: blur(4px); z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal { background: var(--bg-2); color: var(--ink); border-radius: var(--radius); max-width: 560px; padding: 34px; box-shadow: var(--shadow); }
.modal h3 { font-size: 24px; margin-bottom: 14px; }
.modal p { color: var(--ink-soft); font-size: 15px; }
.modal .btn { margin-top: 22px; }
.modal{max-height:calc(100dvh - 40px);overflow-y:auto;max-width:680px}
.imp h4{font-family:var(--font-display);font-size:16px;margin:18px 0 4px}
.imp h4:first-child{margin-top:0}
.imp h5{font-size:14.5px;font-weight:800;margin:14px 0 4px}
.imp p{font-size:14.5px}
.imp a{color:var(--orange-deep);text-decoration:underline}

/* ============================================================ LAYOUT VARIANT: centered hero */
:root[data-herolayout="centered"] .hero-grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
:root[data-herolayout="centered"] .hero-sub { max-width: 46ch; }
:root[data-herolayout="centered"] .hero-actions { justify-content: center; }
:root[data-herolayout="centered"] .hero-photo { width: 100%; max-width: 760px; aspect-ratio: 16/7; margin-top: 14px; }
:root[data-herolayout="centered"] .hero-badge { margin-inline: auto; }

/* ============================================================ RESPONSIVE */
@media (max-width: 980px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .hero-sub { max-width: 48ch; }
  .hero-actions { justify-content: center; }
  .hero-photo { width: 100%; max-width: 620px; aspect-ratio: 16/8; }
  .hero-bigsun { opacity: .35; }
  .about-grid, .signup-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:not(:last-child)::after { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }

  .mobile-menu.open {
    display: block; position: fixed; inset: 0; z-index: 60;
    background: var(--bg); padding: 20px;
  }
  .mm-head { display: flex; align-items: center; justify-content: space-between; min-height: 54px; }
  .mm-head .x { background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; color: var(--ink); font-size: 22px; }
  .mm-links { display: flex; flex-direction: column; gap: 4px; margin-top: 18px; }
  .mm-links a { font-family: var(--font-display); font-size: 24px; font-weight: 700; padding: 12px 6px; border-bottom: 1px solid var(--line); }
  .mm-links .btn { margin-top: 22px; font-size: 18px; padding: 16px; }
}
@media (max-width: 720px) {
  .cards, .rev-grid, .loc-grid { grid-template-columns: 1fr; }
  .stats .wrap { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .stat:nth-child(3) { border-inline-start: 0; }
  .about-points { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
}


/* ============================================================ MOBILE (≤600px) */
@media (max-width: 600px) {
  html{scroll-padding-top:72px}
  .topbar .wrap{justify-content:center;gap:6px 14px;padding-block:8px}
  .topbar a[target="_blank"],.topbar .sep{display:none}
  .topbar .lang{width:100%;justify-content:center;gap:4px}
  .lang button{min-width:40px;min-height:36px;padding:8px 10px}
  .nav .wrap{min-height:64px}
  .brand .mark{width:42px;height:42px}
  .brand b{font-size:18px}
  .hero{padding-block:36px 44px}
  .hero-badge{font-size:12.5px;margin-bottom:18px}
  .hero-sub{margin:18px 0 24px}
  .hero-actions{flex-direction:column;align-items:stretch;width:100%}
  .hero-actions .btn{width:100%;padding-block:15px}
  .hero-photo{aspect-ratio:16/10}
  .hero-car img{width:100%}
  .hero-bigsun{width:92px;inset-block-start:0;inset-inline-end:0}
  .stats .wrap{padding-block:28px}
  .card{padding:26px 22px}
  .card .tag{inset-inline-start:22px}
  .rev{padding:22px}
  .rev p{font-size:15.5px}
  .loc.single .loc-body{padding:24px 22px}
  .signup-aside .call{display:flex;width:100%}
  .form-card{padding:22px 18px}
  .field input,.field select,.field textarea{padding:14px}
  .form-card .btn{padding-block:16px}
  .footer{padding-block:44px 24px}
  .foot-col a{padding-block:4px}
  .foot-bottom{flex-direction:column;align-items:flex-start;gap:8px}
  .foot-bottom .sep{display:none}
  .modal{padding:24px}
}

.mobile-bar{display:none}
@media (max-width: 600px){
  .mobile-bar{display:grid;grid-template-columns:1fr 1fr;gap:10px;position:fixed;inset-inline:0;bottom:0;z-index:55;padding:10px 14px calc(10px + env(safe-area-inset-bottom));background:color-mix(in oklab,var(--bg) 92%,transparent);backdrop-filter:blur(10px);border-top:1px solid var(--line);box-shadow:0 -10px 30px -18px rgba(22,36,63,.35)}
  .mobile-bar .btn{padding:13px 10px;min-height:48px;font-size:15.5px;width:100%;border-width:2px;box-sizing:border-box}
  .mobile-bar .btn-ghost{background:var(--bg-2)}
  body{padding-bottom:calc(72px + env(safe-area-inset-bottom))}
}

/* ============================================================ A11Y */
.skip-link{position:absolute;left:12px;top:-60px;z-index:200;background:var(--ink);color:var(--bg);font-weight:800;padding:12px 18px;border-radius:10px;transition:top .15s}
.skip-link:focus{top:12px}
main:focus{outline:none}
:focus-visible{outline:3px solid var(--orange);outline-offset:3px;border-radius:6px}
.hero :focus-visible,.footer :focus-visible,.topbar :focus-visible,.reviews :focus-visible{outline-color:#fff}
.vid-toggle{position:absolute;inset-block-end:14px;inset-inline-end:14px;z-index:3;width:36px;height:36px;border-radius:50%;border:1px solid rgba(255,255,255,.35);background:rgba(10,16,30,.45);color:#fff;display:grid;place-items:center;cursor:pointer;opacity:.75;transition:.15s}
.vid-toggle:hover{opacity:1;background:rgba(10,16,30,.7)}
.vid-toggle svg{width:16px;height:16px}
@media (prefers-reduced-motion: reduce){.vid-toggle{display:none}}
@media (max-width:600px){.vid-toggle{width:44px;height:44px;inset-block-end:10px;inset-inline-end:10px}}
.map-gate{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:24px;text-align:center;background:radial-gradient(circle at 50% 40%,color-mix(in oklab,var(--orange) 18%,transparent),transparent 55%),repeating-linear-gradient(0deg,var(--line) 0 1px,transparent 1px 34px),repeating-linear-gradient(90deg,var(--line) 0 1px,transparent 1px 34px),var(--bg-band)}
.map-gate-pin{color:var(--orange)}
.map-gate-pin svg{width:40px;height:40px;filter:drop-shadow(0 6px 8px rgba(0,0,0,.25))}
.map-gate p{font-size:13px;color:var(--ink-soft);max-width:34ch}
.linkbtn{background:none;border:0;padding:0;font:inherit;color:var(--orange-deep);text-decoration:underline;cursor:pointer}
.form-note{font-size:13px;color:var(--ink-soft);margin-top:12px;text-align:center}
.imp ul{padding-inline-start:20px;margin:4px 0}
.imp li{font-size:14.5px;margin-bottom:4px}

/* reduce motion */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
