/* ==========================================================================
   SmileTaxi.LV — общие стили + тема водителя (navy) + тема клиента (white/gold)
   Темы переключаются классом на <body>: .theme-driver | .theme-client | .theme-home
   ========================================================================== */

:root {
  --maxw: 1140px;
  --radius: 18px;
  --radius-sm: 12px;

  /* Бренд */
  --brand-navy: #0f1e3d;
  --brand-navy-2: #162a55;
  --brand-gold: #d4af37;
  --brand-gold-2: #c79a22;
  --brand-white: #ffffff;

  /* Поверхности (переопределяются темами) */
  --bg: #0f1e3d;
  --bg-2: #162a55;
  --panel: #112448;
  --panel-2: #17306a;
  --border: rgba(212, 175, 55, 0.22);
  --text: #f7f5ee;
  --muted: #c6cbda;
  --accent: var(--brand-gold);
  --accent-2: var(--brand-gold-2);
  --on-accent: #0f1e3d;
  --ok: #34d399;
  --warn: #fbbf24;
  --err: #f87171;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", "Inter", Tahoma, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

.container {
  width: min(100% - 2rem, var(--maxw));
  margin-inline: auto;
}

/* ========== Header ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(10px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-weight: 800;
  letter-spacing: .2px;
  color: var(--text);
  text-decoration: none;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--panel);
  border: 1px solid var(--border);
}

.brand-name { font-size: 1.05rem; }
.brand-name span { color: var(--accent); }

.brand-tag {
  font-weight: 500;
  color: var(--muted);
  font-size: .85rem;
  margin-left: .15rem;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  transition: color .2s;
}

.nav-links a:hover { color: var(--text); }

.lang-switch {
  display: inline-flex;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
}

.lang-switch button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  padding: .35rem .7rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: .82rem;
  letter-spacing: .5px;
}

.lang-switch button.is-active {
  background: var(--accent);
  color: var(--on-accent);
}

/* ========== Buttons ========== */
.btn {
  border: 0;
  border-radius: 999px;
  padding: .85rem 1.2rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  transition: transform .18s, background .18s, box-shadow .18s;
  font-size: .98rem;
}

.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 8px 24px -6px color-mix(in srgb, var(--accent) 45%, transparent);
}
.btn-primary:hover { background: var(--accent-2); transform: translateY(-1px); }
.btn-primary:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover { border-color: var(--accent); }

.btn-block { width: 100%; }

/* ========== Cards ========== */
.card {
  background: linear-gradient(180deg, color-mix(in srgb, var(--panel) 96%, transparent), color-mix(in srgb, var(--panel-2) 84%, transparent));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, .18);
}

.chip {
  background: color-mix(in srgb, var(--panel) 80%, transparent);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .45rem .85rem;
  font-size: .9rem;
  color: var(--muted);
}

/* ========== Hero ========== */
.hero { padding: 4.5rem 0 2.5rem; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.08;
  margin-bottom: 1rem;
  letter-spacing: -.5px;
}

.hero h1 .accent { color: var(--accent); }

.hero-lead {
  color: var(--muted);
  max-width: 60ch;
  margin-bottom: 1.4rem;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-bottom: 1rem;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1rem;
}

.hero-visual {
  display: grid;
  place-items: center;
  padding: 1rem;
}

.hero-visual img {
  max-width: 320px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .35);
}

/* ========== Sections ========== */
.section { padding: 2rem 0 2.5rem; }

.section-title {
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  margin-bottom: .5rem;
  letter-spacing: -.3px;
}

.section-sub {
  color: var(--muted);
  margin-bottom: 1.4rem;
  max-width: 70ch;
}

/* ========== Features grid ========== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .95rem;
}

.feature .icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--on-accent);
  background: var(--accent);
  font-weight: 800;
  font-size: 1.1rem;
}

.feature h4 { margin: .9rem 0 .3rem; font-size: 1.05rem; }
.feature p { color: var(--muted); font-size: .94rem; }

/* ========== Two columns ========== */
.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: stretch;
}

/* ========== Lists (требования / преимущества) ========== */
.list-check {
  list-style: none;
  display: grid;
  gap: .6rem;
  margin-top: .8rem;
}
.list-check li {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  color: var(--muted);
}
.list-check li strong { color: var(--text); }

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: .55rem;
}

/* ========== Forms ========== */
.form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .9rem;
}

.form-grid .full { grid-column: 1 / -1; }

.field { display: grid; gap: .35rem; }

label {
  color: var(--muted);
  font-size: .9rem;
  font-weight: 600;
}

input, select, textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--panel) 70%, transparent);
  color: var(--text);
  padding: .7rem .78rem;
  font-size: .98rem;
  outline: none;
  font-family: inherit;
  transition: border-color .2s, box-shadow .2s;
}

textarea { min-height: 88px; resize: vertical; }

input:focus, select:focus, textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}

.form-status {
  margin-top: .9rem;
  padding: .75rem .9rem;
  border-radius: 10px;
  font-size: .95rem;
  display: none;
}
.form-status.is-ok   { display: block; background: color-mix(in srgb, var(--ok) 18%, transparent);   color: var(--text); border: 1px solid color-mix(in srgb, var(--ok) 50%, transparent); }
.form-status.is-warn { display: block; background: color-mix(in srgb, var(--warn) 18%, transparent); color: var(--text); border: 1px solid color-mix(in srgb, var(--warn) 50%, transparent); }
.form-status.is-err  { display: block; background: color-mix(in srgb, var(--err) 18%, transparent);  color: var(--text); border: 1px solid color-mix(in srgb, var(--err) 55%, transparent); }

.notice { color: var(--muted); font-size: .85rem; margin-top: .7rem; }
.notice a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.recaptcha-notice { opacity: .75; font-size: .78rem; }
/* Бейдж reCAPTCHA от Google — стандартный placement, прячем, если включим кастомный disclaimer */
.grecaptcha-badge { visibility: hidden !important; }

/* ========== Calculator ========== */
.calc .row { display: grid; gap: .35rem; margin-bottom: .9rem; }
.calc-result {
  margin-top: .6rem;
  border-radius: 12px;
  border: 1px dashed var(--border);
  padding: .95rem;
  color: var(--muted);
}
.calc-result strong {
  display: block;
  font-size: 1.45rem;
  color: var(--accent);
  margin-bottom: .3rem;
}

/* ========== Footer ========== */
.site-footer {
  padding: 2.2rem 0 2.4rem;
  color: var(--muted);
  font-size: .9rem;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}

.footer-legal {
  display: block;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 1rem 1.2rem 1.15rem;
  box-sizing: border-box;
  border-radius: 14px;
  background: color-mix(in srgb, var(--panel) 58%, transparent);
  border: 1px solid var(--border);
  box-shadow: 0 14px 36px rgba(0, 0, 0, .14);
}
.footer-link-row {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  box-sizing: border-box;
  margin-bottom: .75rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
}
.footer-external {
  font-weight: 650;
  font-size: .88rem;
  letter-spacing: .02em;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
}
.footer-external:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-copy-line {
  margin: 0 0 .45rem;
  font-size: .86rem;
  line-height: 1.45;
  color: var(--muted);
  text-align: center;
}
.footer-tm {
  margin: 0;
  font-size: .72rem;
  line-height: 1.55;
  color: var(--muted);
  opacity: .88;
  text-align: center;
  max-width: 52ch;
  margin-inline: auto;
}

.theme-client .footer-legal {
  background: linear-gradient(180deg, rgba(255, 255, 255, .96) 0%, rgba(255, 249, 232, .92) 100%);
  box-shadow: 0 14px 36px rgba(15, 30, 61, .08);
}
.theme-client .footer-tm { opacity: .92; }

/* ==========================================================================
   Тема HOME (нейтральная, разделённый экран)
   ========================================================================== */
.theme-home {
  --bg: #0b1226;
  --panel: #13204a;
  --panel-2: #1a2c66;
  --border: rgba(212, 175, 55, 0.25);
  --text: #f7f5ee;
  --muted: #c7cde0;
  --accent: #d4af37;
  --accent-2: #c79a22;
  --on-accent: #0f1e3d;
  background:
    radial-gradient(900px 560px at 90% -10%, #1b2d66 0%, transparent 60%),
    radial-gradient(700px 420px at -10% 20%, #0f1e3d 0%, transparent 60%),
    var(--bg);
}

.choose {
  padding: 3.2rem 0 4rem;
}

.choose-head {
  text-align: center;
  margin-bottom: 2.2rem;
}

.choose-head h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: .6rem;
}

.choose-head h1 .accent { color: var(--accent); }

.choose-head p { color: var(--muted); max-width: 60ch; margin-inline: auto; }

.choose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.choose-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 360px;
  border-radius: var(--radius);
  padding: 1.8rem;
  text-decoration: none;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform .25s, box-shadow .25s;
}

.choose-card:hover { transform: translateY(-3px); box-shadow: 0 24px 60px rgba(0,0,0,.35); }

.choose-card .bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: .9;
  transition: transform .5s;
}
.choose-card:hover .bg { transform: scale(1.04); }

.choose-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.65) 100%);
}

.choose-card > * { position: relative; z-index: 1; }

.choose-card.is-driver {
  background: var(--brand-navy);
  color: #fff;
}
.choose-card.is-driver .bg {
  background-image: url("../img/driver.jpeg");
}

.choose-card.is-client {
  background: #fff;
  color: var(--brand-navy);
}
.choose-card.is-client .bg {
  background-image: url("../img/client.png");
  background-color: #fff;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 1;
}
.choose-card.is-client::after {
  background: linear-gradient(180deg, rgba(255,255,255,0) 45%, rgba(255,255,255,.95) 100%);
}

.choose-card h2 {
  font-size: 1.8rem;
  margin-bottom: .4rem;
}

.choose-card p {
  font-size: 1rem;
  margin-bottom: 1rem;
  opacity: .92;
}

.choose-card.is-client h2,
.choose-card.is-client p { color: var(--brand-navy); }

.choose-card .btn { align-self: flex-start; }

.choose-card.is-driver .btn { background: var(--brand-gold); color: var(--brand-navy); }
.choose-card.is-client .btn { background: var(--brand-navy); color: #fff; }

.choose-note {
  text-align: center;
  color: var(--muted);
  margin-top: 1.6rem;
  font-size: .95rem;
}

/* ========== Thanks page ========== */
.thanks-check {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  margin: 0 auto 1.2rem;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 2.6rem;
  font-weight: 800;
  box-shadow: 0 16px 40px -8px color-mix(in srgb, var(--accent) 55%, transparent);
}

/* ==========================================================================
   Тема WATER — водители (тёмно-синяя + золото)
   ========================================================================== */
.theme-driver {
  --bg: #0c1a38;
  --panel: #13274f;
  --panel-2: #1b3570;
  --border: rgba(212, 175, 55, 0.24);
  --text: #f7f5ee;
  --muted: #c5cde0;
  --accent: #e5c464;
  --accent-2: #d4af37;
  --on-accent: #0c1a38;
  background:
    radial-gradient(1100px 650px at 85% -10%, #1f3b7a 0%, transparent 60%),
    radial-gradient(800px 520px at -10% 15%, #142c5e 0%, transparent 60%),
    var(--bg);
}

.theme-driver .brand-logo { background: transparent; border-color: rgba(255,255,255,.12); }

/* ==========================================================================
   Тема CLIENT — пассажиры (светлая, бело-золотая, тёмно-синий акцент)
   ========================================================================== */
.theme-client {
  --bg: #fbf8ee;
  --panel: #ffffff;
  --panel-2: #fff8e1;
  --border: rgba(15, 30, 61, 0.14);
  --text: #0f1e3d;
  --muted: #4b5676;
  --accent: #c79a22;
  --accent-2: #a9831c;
  --on-accent: #ffffff;
  background:
    radial-gradient(900px 560px at 90% -10%, #fff1c9 0%, transparent 60%),
    radial-gradient(800px 520px at -10% 15%, #ffffff 0%, transparent 60%),
    var(--bg);
}

.theme-client .site-header {
  background: color-mix(in srgb, #ffffff 85%, transparent);
  border-bottom-color: rgba(15, 30, 61, 0.1);
}

.theme-client .card {
  background: linear-gradient(180deg, #ffffff, #fff9e8);
  box-shadow: 0 20px 45px rgba(15, 30, 61, .08);
}

.theme-client .chip {
  background: #fff;
  color: #6a4e00;
  border-color: rgba(199, 154, 34, 0.3);
}

.theme-client .lang-switch { background: #fff; border-color: rgba(15, 30, 61, 0.12); }
.theme-client .lang-switch button { color: var(--muted); }
.theme-client .lang-switch button.is-active { background: var(--accent); color: #fff; }

.theme-client .btn-primary { color: #fff; }
.theme-client .btn-secondary { border-color: rgba(15, 30, 61, 0.18); }

.theme-client input,
.theme-client select,
.theme-client textarea {
  background: #fff;
  border-color: rgba(15, 30, 61, 0.15);
  color: var(--text);
}

/* ==========================================================================
   Split-screen landing (index.html)
   ========================================================================== */

.split-page {
  --split-navy: #0b1a3a;
  --split-navy-2: #132a5e;
  --split-gold: #d4af37;
  --split-gold-2: #e5c464;
  --split-cream: #fbf8ee;
  --split-cream-2: #fff1c9;
  --split-text-light: #f7f5ee;
  --split-text-dark: #0b1a3a;

  background: var(--split-navy);
  color: var(--split-text-light);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ---- Header (прозрачный, поверх) ---- */
.split-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  padding: 1rem 1.5rem;
  pointer-events: none; /* не блокируем клики по половинам, только внутренние элементы активны */
}
.split-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
}
.split-header .brand,
.split-header .nav-right { pointer-events: auto; }

.split-header .brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--split-text-light);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: .3px;
  mix-blend-mode: difference; /* видно и на синем, и на белом */
}
.split-header .brand-name span { color: var(--split-gold); }

.split-header .lang-switch {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(11, 26, 58, 0.35);
  box-shadow: 0 0 0 2px rgba(255,255,255,.45), 0 8px 22px -10px rgba(11,26,58,.45);
  backdrop-filter: blur(6px);
}
.split-header .lang-switch button {
  color: #fff;
  border: 1px solid transparent;
}
.split-header .lang-switch button:hover {
  border-color: rgba(255,255,255,.55);
}
.split-header .lang-switch button.is-active {
  background: var(--split-gold);
  color: var(--split-navy);
  border-color: rgba(11,26,58,.35);
}

/* ---- Split-контейнер ---- */
.split {
  position: relative;
  display: flex;
  min-height: 100vh;
  width: 100%;
}

/* ---- Половинки ---- */
.split-half {
  flex: 1 1 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-decoration: none;
  transition: flex-basis .55s cubic-bezier(.65,.05,.36,1), filter .4s;
  min-height: 100vh;
  isolation: isolate;
}

.split-driver {
  background:
    linear-gradient(135deg, rgba(90,110,170,.45), rgba(35,55,110,.25)),
    url('../img/driver.jpeg') center center / cover no-repeat;
  background-blend-mode: screen, normal;
  background-color: var(--split-navy);
  color: var(--split-text-light);
}
.split-client {
  background:
    url('../img/client.png') center center / cover no-repeat,
    linear-gradient(180deg, var(--split-cream-2) 0%, var(--split-cream) 100%);
  color: var(--split-text-dark);
}

/* Оверлей-градиент для читаемости текста над фоном */
.split-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  transition: opacity .4s ease;
}
.split-driver .split-overlay {
  background: linear-gradient(
    180deg,
    rgba(11,26,58,0) 0%,
    rgba(11,26,58,0) 55%,
    rgba(11,26,58,.45) 100%
  );
}
.split-client .split-overlay {
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0) 0%,
    rgba(255,241,201,.35) 55%,
    rgba(251,248,238,.95) 100%
  );
}

/* Текстовая колонка — снизу, поверх оверлея */
.split-half-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 6rem 3rem 3.5rem;
}
/* Тени для текста, чтобы читалось на фотофоне */
.split-driver .split-title,
.split-driver .split-desc,
.split-driver .split-kicker {
  text-shadow: 0 2px 18px rgba(0,0,0,.55);
}
.split-client .split-title,
.split-client .split-desc {
  text-shadow: 0 2px 12px rgba(255,255,255,.75);
}
.split-copy {
  max-width: 440px;
}

.split-kicker {
  display: inline-block;
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: .7rem;
  padding: .3rem .65rem;
  border-radius: 999px;
  border: 1px solid currentColor;
  opacity: .75;
}

.split-title {
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -.5px;
  margin-bottom: .7rem;
  font-weight: 800;
}
.split-driver .split-title { color: var(--split-gold-2); }
.split-client .split-title { color: var(--split-navy); }

.split-desc {
  font-size: 1.05rem;
  line-height: 1.5;
  margin-bottom: 1.4rem;
  opacity: .92;
}

.split-cta {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .85rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .98rem;
  transition: transform .25s, box-shadow .25s, background .25s;
}
.split-driver .split-cta {
  background: var(--split-gold);
  color: var(--split-navy);
  box-shadow: 0 12px 28px -10px rgba(212,175,55,.6);
}
.split-client .split-cta {
  background: var(--split-navy);
  color: #fff;
  box-shadow: 0 12px 28px -10px rgba(11,26,58,.5);
}

/* ---- Диагональный разделитель ---- */
.split-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(to bottom, transparent 0%, rgba(212,175,55,.55) 20%, rgba(212,175,55,.55) 80%, transparent 100%);
  transform: translateX(-50%) rotate(4deg) scaleY(1.15);
  transform-origin: center;
  z-index: 5;
  pointer-events: none;
  transition: left .55s cubic-bezier(.65,.05,.36,1);
}

/* ---- Ховер-эффект (desktop) ---- */
@media (hover: hover) and (min-width: 900px) {
  .split-half:hover {
    flex-basis: 58%;
  }
  .split-half {
    background-size: cover;
    transition: flex-basis .55s cubic-bezier(.65,.05,.36,1), filter .4s, background-size .8s ease;
  }
  .split-half:hover {
    background-size: 110% auto;
  }
  .split-half:hover .split-overlay {
    opacity: .75;
  }
  .split-half:hover .split-cta {
    transform: translateY(-2px);
  }
  .split:hover .split-half:not(:hover) {
    filter: brightness(.7) saturate(.8);
    flex-basis: 42%;
  }
  .split:hover .split-divider { left: 58%; }
  .split-half:nth-child(3):hover ~ .split-divider,
  .split-client:hover ~ .split-divider { left: 42%; }
  /* ↑ Для точного сдвига диагонали в обе стороны — используем :has() с fallback выше */
}
@supports (selector(:has(*))) {
  .split:has(.split-driver:hover) .split-divider { left: 58%; }
  .split:has(.split-client:hover) .split-divider { left: 42%; }
}

/* ---- Footer ---- */
.split-footer {
  position: fixed;
  bottom: 1rem;
  left: 0;
  right: 0;
  text-align: center;
  font-size: .8rem;
  letter-spacing: .06em;
  z-index: 10;
  color: rgba(247,245,238,.55);
  pointer-events: none;
  mix-blend-mode: difference;
}
.split-footer .footer-legal { pointer-events: auto; }
.split-footer .footer-legal {
  background: rgba(11, 26, 58, 0.62);
  border-color: rgba(212, 175, 55, 0.28);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .35);
  color: rgba(247, 245, 238, 0.92);
}
.split-footer .footer-link-row { border-bottom-color: rgba(212, 175, 55, 0.22); }
.split-footer .footer-external { color: var(--split-gold); }
.split-footer .footer-copy-line,
.split-footer .footer-tm {
  color: rgba(247, 245, 238, 0.78);
}
.split-footer .footer-tm { opacity: .9; }

/* ---- Mobile: стэк ---- */
@media (max-width: 900px) {
  .split { flex-direction: column; }
  .split-half {
    flex: 0 0 auto;
    min-height: 60vh;
  }
  .split-half-inner {
    padding: 5rem 1.5rem 2rem;
    justify-content: flex-end;
  }
  .split-half {
    min-height: 65vh;
    background-size: cover;
    background-position: center top;
  }
  .split-client {
    background-position: center center;
  }
  .split-divider {
    top: 50%;
    bottom: auto;
    left: 0;
    right: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent 0%, rgba(212,175,55,.55) 20%, rgba(212,175,55,.55) 80%, transparent 100%);
    transform: translateY(-50%) rotate(-3deg);
  }
  .split-footer { position: static; padding: 1rem 0; mix-blend-mode: normal; color: var(--split-text-light); background: var(--split-navy); }
}

/* ==========================================================================
   Driver Page V2: Новая структура
   ========================================================================== */

/* Hero V2: Достоинство */
.hero-driver-v2 {
  position: relative;
  padding: 5rem 0 4rem;
  background: linear-gradient(165deg, var(--navy-2) 0%, var(--navy) 100%);
  color: var(--text-light);
}
.hero-content {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.hero-title-v2 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -.8px;
  margin-bottom: 1.2rem;
  color: var(--gold);
}
.hero-subtitle-v2 {
  font-size: clamp(1.12rem, 2.2vw, 1.45rem);
  line-height: 1.45;
  margin-bottom: 2.5rem;
  opacity: .95;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.hero-pillars {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}
.pillar {
  background: rgba(212,175,55,.12);
  border: 1px solid rgba(212,175,55,.35);
  border-radius: 8px;
  padding: .85rem 1.5rem;
  font-size: .95rem;
  color: var(--gold-2);
}
.btn-large {
  padding: 1.05rem 2.2rem;
  font-size: 1.08rem;
}

/* Contrast Section: Мы vs Они */
.contrast-section {
  background: var(--bg);
  color: var(--text);
}
.contrast-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}
.contrast-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.contrast-col {
  background: var(--panel);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  border: 2px solid;
  transition: transform .25s, box-shadow .25s;
}
.contrast-col:hover {
  transform: translateY(-3px);
}
.contrast-them {
  border-color: rgba(220,38,38,.3);
  background: linear-gradient(145deg, rgba(220,38,38,.04) 0%, var(--panel) 100%);
}
.contrast-us {
  border-color: rgba(34,197,94,.35);
  background: linear-gradient(145deg, rgba(34,197,94,.06) 0%, var(--panel) 100%);
}
.contrast-them:hover {
  box-shadow: 0 12px 32px -8px rgba(220,38,38,.25);
}
.contrast-us:hover {
  box-shadow: 0 12px 32px -8px rgba(34,197,94,.25);
}
.contrast-heading {
  display: flex;
  align-items: center;
  gap: .8rem;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.8rem;
}
.contrast-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}
.contrast-icon.cross {
  background: rgba(220,38,38,.15);
  color: #dc2626;
}
.contrast-icon.check {
  background: rgba(34,197,94,.15);
  color: #22c55e;
}
.contrast-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.contrast-list li {
  padding-left: 1.8rem;
  position: relative;
  line-height: 1.55;
  font-size: 1.02rem;
}
.contrast-them .contrast-list li::before {
  content: "✕";
  position: absolute;
  left: 0;
  color: #dc2626;
  font-weight: 700;
}
.contrast-us .contrast-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #22c55e;
  font-weight: 700;
}

/* Humanity Section */
.humanity-section {
  background: linear-gradient(165deg, var(--navy-2) 0%, var(--navy) 100%);
  color: var(--text-light);
}
.humanity-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 3rem;
}
.humanity-header .section-title {
  color: var(--gold);
}
.humanity-header .section-sub {
  font-size: 1.08rem;
  line-height: 1.6;
  opacity: .95;
}
.humanity-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}
.humanity-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(212,175,55,.2);
  padding: 2.2rem;
  text-align: center;
  transition: background .25s, border-color .25s, transform .25s;
}
.humanity-card:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(212,175,55,.4);
  transform: translateY(-3px);
}
.humanity-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  filter: grayscale(.3);
}
.humanity-card h4 {
  color: var(--gold-2);
  font-size: 1.3rem;
  margin-bottom: .8rem;
  font-weight: 700;
}
.humanity-card p {
  line-height: 1.6;
  opacity: .92;
}

/* Human visual section */
.human-visual-section {
  background: linear-gradient(180deg, #07142e 0%, #0b1a3a 100%);
  color: var(--text-light);
}
.human-visual-head {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 2.3rem;
}
.human-visual-head .section-title {
  color: var(--gold);
}
.human-visual-head .section-sub {
  color: rgba(247,245,238,.88);
}
.human-visual-grid {
  max-width: 900px;
  margin: 0 auto;
}
.human-visual-card-lv,
.human-visual-card-ru {
  display: none;
}
.human-visual-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(212,175,55,.28);
  background: rgba(255,255,255,.03);
  margin: 0;
  min-height: 260px;
  box-shadow: 0 18px 44px -22px rgba(0,0,0,.65);
}
.human-visual-card-lv,
.human-visual-card-ru {
  width: 100%;
  height: 430px;
}
html[lang="lv"] .human-visual-card-lv { display: block; }
html[lang="ru"] .human-visual-card-ru { display: block; }
.human-visual-card img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  display: block;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.02);
  transform: scale(1.01);
  transition: transform .45s ease;
}
.human-visual-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4,12,30,.08) 0%, rgba(4,12,30,.68) 85%, rgba(4,12,30,.85) 100%);
  pointer-events: none;
}
.human-visual-card figcaption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: .9rem;
  z-index: 2;
  color: #fff;
  font-weight: 600;
  line-height: 1.4;
  text-shadow: 0 4px 14px rgba(0,0,0,.5);
}
.human-visual-card:hover img {
  transform: scale(1.045);
}

/* Client Page V2 */
.client-hero-v2 {
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(212,175,55,.18), transparent 60%),
    linear-gradient(180deg, #fffdf8 0%, #f7f1df 100%);
}
.client-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 3rem;
  align-items: center;
}
.client-kicker {
  display: inline-block;
  margin-bottom: .9rem;
  padding: .38rem .8rem;
  border-radius: 999px;
  border: 1px solid rgba(15,30,61,.18);
  background: rgba(255,255,255,.8);
  color: var(--muted);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.client-hero-title {
  font-size: clamp(2.3rem, 5vw, 4.1rem);
  line-height: 1.06;
  letter-spacing: -.04em;
  color: var(--navy);
  margin-bottom: .9rem;
}
.client-hero-lead {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 700;
  color: #8f6e1f;
  margin-bottom: .9rem;
}
.client-hero-sub,
.client-body-copy {
  font-size: 1.04rem;
  line-height: 1.7;
  color: var(--text);
}
.client-hero-sub { margin-bottom: 1.5rem; }
.client-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.5rem;
}
.client-proof-chip {
  display: inline-flex;
  align-items: center;
  padding: .55rem .9rem;
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(15,30,61,.12);
  color: var(--text);
  box-shadow: 0 10px 24px -18px rgba(15,30,61,.28);
  font-size: .92rem;
  font-weight: 600;
}
.client-hero-visual-wrap {
  display: flex;
  justify-content: center;
}
.client-hero-visual {
  position: relative;
  padding: 2rem;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(255,248,230,.96) 100%);
  box-shadow: 0 30px 60px -30px rgba(15,30,61,.3);
  border: 1px solid rgba(212,175,55,.22);
}
.client-hero-visual img {
  display: block;
  width: min(100%, 410px);
  margin: 0 auto;
}
.client-sms-card {
  position: absolute;
  left: -1.4rem;
  bottom: 2rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(11,26,58,.92);
  color: #fff;
  box-shadow: 0 20px 36px -20px rgba(11,26,58,.8);
  max-width: 250px;
}
.client-sms-title {
  font-weight: 700;
  margin-bottom: .45rem;
}
.client-sms-line {
  font-size: .92rem;
  line-height: 1.45;
  opacity: .92;
}
.client-human-section,
.client-care-section,
.client-apply-section {
  background: #fffdf8;
}
.client-clarity-section {
  background: linear-gradient(180deg, #fff7e8 0%, #fffdf8 100%);
}
.client-trust-section {
  background: linear-gradient(165deg, var(--navy-2) 0%, var(--navy) 100%);
  color: var(--text-light);
}
.client-human-grid,
.client-trust-grid,
.client-apply-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 2rem;
  align-items: start;
}
.client-section-head {
  max-width: 760px;
  margin: 0 auto 2.2rem;
  text-align: center;
}
.client-section-lead {
  font-size: 1.08rem;
  line-height: 1.65;
}
.client-highlight-card {
  background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(255,248,232,.98) 100%);
  border: 1px solid rgba(212,175,55,.25);
  box-shadow: 0 24px 48px -30px rgba(15,30,61,.2);
}
.client-side-image {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 1rem;
  border: 1px solid rgba(15,30,61,.12);
  box-shadow: 0 16px 28px -20px rgba(15,30,61,.35);
}
.client-highlight-card h3,
.client-trust-note h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  color: var(--navy);
}
.client-highlight-list,
.client-apply-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .95rem;
}
.client-highlight-list li,
.client-apply-list li {
  position: relative;
  padding-left: 1.5rem;
  line-height: 1.55;
}
.client-highlight-list li::before,
.client-apply-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 800;
}
.client-clarity-grid,
.client-care-grid {
  display: grid;
  gap: 1.4rem;
}
.client-clarity-grid {
  grid-template-columns: repeat(2, 1fr);
}
.client-care-grid {
  grid-template-columns: repeat(4, 1fr);
}
.client-clarity-card,
.client-service-card,
.client-trust-note,
.client-apply-card {
  border: 1px solid rgba(15,30,61,.1);
  box-shadow: 0 18px 40px -30px rgba(15,30,61,.22);
}
.client-clarity-card,
.client-service-card {
  height: 100%;
}
.client-service-image {
  width: 100%;
  border-radius: 10px;
  margin-bottom: .95rem;
  border: 1px solid rgba(15,30,61,.1);
  object-fit: cover;
  aspect-ratio: 16/9;
}
.client-card-icon,
.client-service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: rgba(212,175,55,.16);
  color: #8f6e1f;
  font-weight: 800;
  margin-bottom: 1rem;
}
.client-card-icon { padding: 0 1rem; }
.client-clarity-card h3,
.client-service-card h3 {
  color: var(--navy);
  font-size: 1.24rem;
  margin-bottom: .65rem;
}
.client-clarity-card p,
.client-service-card p,
.client-trust-note p,
.client-apply-card .section-sub {
  line-height: 1.65;
}
.client-trust-grid .section-title,
.client-trust-grid .client-body-copy {
  color: var(--text-light);
}
.client-trust-note {
  background: rgba(255,255,255,.08);
  border-color: rgba(212,175,55,.22);
  color: #fff;
}
.client-trust-note .client-side-image {
  border-color: rgba(255,255,255,.18);
  box-shadow: 0 20px 32px -22px rgba(0,0,0,.65);
}
.client-trust-note h3 { color: var(--gold-2); }
.client-apply-copy .section-title {
  margin-bottom: .8rem;
}
.client-apply-card {
  background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(255,248,232,.98) 100%);
}

/* Quotes Section */
.quotes-section {
  background: var(--bg);
  color: var(--text);
}
.quotes-title {
  text-align: center;
  margin-bottom: 3rem;
}
.quotes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.quote-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem 1.8rem;
  margin: 0;
  position: relative;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.quote-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px -8px rgba(11,26,58,.2);
  border-color: var(--gold);
}
.quote-card::before {
  content: """;
  position: absolute;
  top: -0.5rem;
  left: 1.2rem;
  font-size: 5rem;
  font-family: Georgia, serif;
  color: var(--gold);
  opacity: .2;
  line-height: 1;
}
.quote-text {
  font-size: 1.05rem;
  line-height: 1.65;
  font-style: italic;
  position: relative;
  z-index: 1;
  margin: 0;
}

/* Gratitude Section */
.gratitude-section {
  background: linear-gradient(165deg, var(--navy-2) 0%, var(--navy) 100%);
  color: var(--text-light);
}
.gratitude-content {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.gratitude-content .section-title {
  color: var(--gold);
}
.gratitude-lead {
  font-size: 1.12rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  opacity: .95;
}
.gratitude-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}
.gratitude-item {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(212,175,55,.25);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  transition: background .25s, border-color .25s, transform .25s;
}
.gratitude-item:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(212,175,55,.45);
  transform: translateY(-3px);
}
.gratitude-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.gratitude-item p {
  line-height: 1.6;
  font-size: 1.05rem;
  margin: 0;
}
.gratitude-footer {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--gold-2);
  margin-top: 2rem;
}

/* Apply Section (форма на выделенном месте) */
.apply-section {
  background: var(--bg);
}
.apply-wrapper {
  max-width: 820px;
  margin: 0 auto;
}

/* Footer V2 */
.footer-v2 {
  background: linear-gradient(165deg, var(--navy-2) 0%, var(--navy) 100%);
  color: var(--text-light);
  padding: 4rem 0 2rem;
}
.footer-v2-content {
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center;
}
.footer-v2-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}
.footer-v2-text {
  font-size: 1.08rem;
  line-height: 1.65;
  margin-bottom: 1.2rem;
  opacity: .95;
}
.footer-v2-text em {
  font-style: italic;
  opacity: .85;
}
.footer-v2-text strong {
  font-weight: 700;
  color: var(--gold-2);
}
.footer-v2-content .btn {
  margin-top: 2rem;
}
.footer-v2-meta {
  font-size: .9rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(212,175,55,.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-v2-meta .footer-legal {
  width: 100%;
  max-width: min(100%, 720px);
  background: rgba(7, 20, 46, 0.45);
  border-color: rgba(212, 175, 55, 0.28);
  box-shadow: 0 14px 36px rgba(0, 0, 0, .25);
}
.footer-v2-meta .footer-copy-line,
.footer-v2-meta .footer-tm {
  text-align: center;
  color: rgba(247, 245, 238, 0.82);
}
.footer-v2-meta .footer-tm { opacity: .9; }
.footer-v2-meta .footer-external { color: var(--accent); }

/* Responsive для V2 */
@media (max-width: 900px) {
  .contrast-grid,
  .humanity-grid,
  .client-hero-grid,
  .client-human-grid,
  .client-trust-grid,
  .client-apply-grid,
  .client-clarity-grid,
  .client-care-grid,
  .quotes-grid,
  .gratitude-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .client-hero-visual {
    padding: 1.2rem;
  }
  .client-sms-card {
    position: relative;
    left: auto;
    bottom: auto;
    margin: 1rem auto 0;
    max-width: none;
  }
  .client-hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  .human-visual-grid {
    display: block;
  }
  .human-visual-card-lv,
  .human-visual-card-ru {
    height: auto;
  }
  .human-visual-card img {
    min-height: 220px;
    aspect-ratio: 16/9;
  }
  .hero-driver-v2 {
    padding: 3.5rem 0 3rem;
  }
  .hero-pillars {
    flex-direction: column;
    align-items: stretch;
  }
  .pillar {
    text-align: center;
  }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1000px) {
  .hero-grid,
  .features-grid,
  .two-cols,
  .choose-grid { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .hero-grid,
  .features-grid,
  .two-cols,
  .form-grid,
  .choose-grid { grid-template-columns: 1fr; }

  .hero { padding-top: 2.5rem; }
  .nav-links { display: none; }
  .nav { min-height: 64px; }
  .choose-card { min-height: 300px; }
  .footer-link-row {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: .5rem;
  }
  .footer-external { white-space: normal; }
}
