/* ==========================================================================
   SoundRide — light edition
   Motif: the five-bar equalizer of the logo. Warm white base, ink text,
   brand gradient as the single accent. Display type: Fira Sans Extra
   Condensed (covers Azerbaijani Ə/İ/Ş/Ğ and Cyrillic). Body: Fira Sans.
   ========================================================================== */

:root {
  --bg: #f7f4ef;
  --bg-2: #ffffff;
  --bg-3: #efeae2;
  --ink: #15111a;
  --ink-2: #4b4550;
  --ink-3: #8a838f;
  --line: rgba(21, 17, 26, 0.1);
  --line-2: rgba(21, 17, 26, 0.18);
  --on-ink: #ffffff;                       /* text placed on --ink surfaces */
  --hover-bg: rgba(21, 17, 26, 0.06);
  --chip-bg: rgba(255, 255, 255, 0.75);
  --stroke: rgba(21, 17, 26, 0.35);
  --map-land: #eceee7; --map-water: #cfe2f2; --map-road: #ffffff; --map-case: #d6d4cb; --map-dash: #c9c6bb; --map-park: #cfe3c2; --map-bld: #e2e1d9; --map-old: #ebe4d2; --map-wall: #b9ad92; --map-label: #7d7c74; --map-card: #ffffff; --map-text: #15111a;
  color-scheme: light;

  --c1: #b7207f;   /* purple-magenta (first bar) */
  --c2: #ef2b65;   /* magenta (center bar) */
  --c3: #f47130;   /* orange (last bar) */
  --grad: linear-gradient(90deg, var(--c1) 0%, var(--c2) 50%, var(--c3) 100%);
  --grad-v: linear-gradient(180deg, var(--c3) 0%, var(--c2) 55%, var(--c1) 100%);

  --font-display: "Fira Sans Extra Condensed", "Arial Narrow", Impact, sans-serif;
  --font-body: "Fira Sans", system-ui, sans-serif;

  --r-pill: 999px;
  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;

  --gutter: clamp(16px, 5vw, 72px);
  /* content never grows past --max: the side padding takes the rest of a wide screen */
  --max: 1280px;
  --pad: max(var(--gutter), calc((100% - var(--max)) / 2));
  --section: clamp(72px, 6rem + 2vw, 128px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --shadow: 0 1px 2px rgba(21,17,26,.04), 0 12px 32px -16px rgba(21,17,26,.18);
}

/* Dark theme follows the device setting. Same layout, inverted surfaces. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f0c14;
    --bg-2: #17131e;
    --bg-3: #221c2b;
    --ink: #f6f1ec;
    --ink-2: #c9c0c8;
    --ink-3: #8c8190;
    --line: rgba(246, 241, 236, 0.1);
    --line-2: rgba(246, 241, 236, 0.2);
    --on-ink: #15111a;
    --hover-bg: rgba(246, 241, 236, 0.07);
    --chip-bg: rgba(15, 12, 20, 0.6);
    --stroke: rgba(246, 241, 236, 0.35);
    --map-land: #1b1925; --map-water: #0f1420; --map-road: #2e2b3a; --map-case: #15131c; --map-dash: #4a4658; --map-park: #1f2c24; --map-bld: #24212f; --map-old: #272134; --map-wall: #5e5470; --map-label: #8a8390; --map-card: #221f2c; --map-text: #f6f1ec;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 16px 40px -18px rgba(0,0,0,.6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
    --bg: #0f0c14;
    --bg-2: #17131e;
    --bg-3: #221c2b;
    --ink: #f6f1ec;
    --ink-2: #c9c0c8;
    --ink-3: #8c8190;
    --line: rgba(246, 241, 236, 0.1);
    --line-2: rgba(246, 241, 236, 0.2);
    --on-ink: #15111a;
    --hover-bg: rgba(246, 241, 236, 0.07);
    --chip-bg: rgba(15, 12, 20, 0.6);
    --stroke: rgba(246, 241, 236, 0.35);
  --map-land: #1b1925; --map-water: #0f1420; --map-road: #2e2b3a; --map-case: #15131c; --map-dash: #4a4658; --map-park: #1f2c24; --map-bld: #24212f; --map-old: #272134; --map-wall: #5e5470; --map-label: #8a8390; --map-card: #221f2c; --map-text: #f6f1ec;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 16px 40px -18px rgba(0,0,0,.6);
    color-scheme: dark;
  }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); line-height: 1.04; letter-spacing: 0; text-transform: uppercase; }
h2 { font-size: clamp(40px, 1.5rem + 3.4vw, 72px); font-weight: 900; }
h3 { font-size: clamp(24px, 1.1rem + 1vw, 32px); font-weight: 800; }
p { margin: 0; }
button { font: inherit; color: inherit; }
::selection { background: var(--c2); color: #fff; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--c2); color: #fff; padding: 10px 16px; border-radius: var(--r-pill); z-index: 100; }
.skip:focus { left: 16px; }

/* ---------- utilities ---------- */
.label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 18px;
}
.label::before { content: ""; width: 18px; height: 4px; border-radius: 4px; background: var(--grad); }
.label--light { color: rgba(255,255,255,0.8); }
.label--light::before { background: #fff; }
.lead { color: var(--ink-2); font-size: clamp(17px, 1rem + 0.25vw, 20px); max-width: 60ch; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: var(--r-pill); font-weight: 700; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, border-color .3s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn--solid { background: var(--grad); color: #fff; box-shadow: 0 10px 28px -12px rgba(239, 43, 101, .7); }
.btn--solid:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -14px rgba(239, 43, 101, .8); }
.btn--ghost { background: var(--bg-2); border-color: var(--line-2); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn--dark { background: #15111a; color: #fff; }
.btn--dark:hover { background: #000; transform: translateY(-2px); }
.btn--lg { padding: 18px 30px; font-size: 16px; }
.btn--sm { padding: 10px 18px; font-size: 14px; }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 14px var(--pad);
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.top.is-scrolled { border-bottom-color: var(--line); }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.top__left { display: flex; align-items: center; gap: 8px; flex: 1 1 0; min-width: 0; }
.top__left .brand { margin-right: 16px; }
.brand img { width: 44px; height: auto; }
.brand__name { font-family: var(--font-display); font-weight: 900; font-size: 26px; letter-spacing: 0.04em; line-height: 1; }
/* header: brand and the theme / language switches on the left | Services, Contact and Top up as pills on the right. Every control is 40px tall. */
.nav { display: flex; gap: 8px; }
.top__right { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex: 1 1 0; }
.top__cta { height: 40px; padding: 0 20px; box-shadow: 0 8px 20px -12px rgba(239, 43, 101, .7); }
.top__cta:hover { box-shadow: 0 12px 26px -12px rgba(239, 43, 101, .8); }
.lang { display: inline-flex; align-items: center; box-sizing: border-box; height: 40px; padding: 3px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: var(--bg-2); }
.lang button { border: 0; background: transparent; height: 32px; padding: 0 12px; border-radius: var(--r-pill); font-size: 13px; font-weight: 700; color: var(--ink-3); cursor: pointer; transition: .2s; }
.lang button:not(.is-active):hover, .theme button:not(.is-active):hover { color: var(--ink); }
.lang button.is-active { background: var(--ink); color: var(--on-ink); }
.theme { display: inline-flex; align-items: center; box-sizing: border-box; height: 40px; padding: 3px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: var(--bg-2); }
.theme button { border: 0; background: transparent; width: 34px; height: 32px; border-radius: var(--r-pill); display: grid; place-items: center; color: var(--ink-3); cursor: pointer; transition: .2s; }
.theme button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.theme button.is-active { background: var(--ink); color: var(--on-ink); }
.mnav .theme { align-self: flex-start; margin-top: 8px; }
.burger { display: none; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 50%; background: var(--bg-2); flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer; }
.burger span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s var(--ease); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mnav {
  position: fixed; inset: 72px 0 auto 0; z-index: 49;
  display: none; flex-direction: column; gap: 6px;
  padding: 16px var(--gutter) 24px; background: var(--bg-2); border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.mnav.is-open { display: flex; }
.mnav a:not(.btn) { padding: 14px 4px; font-family: var(--font-display); font-weight: 800; font-size: 26px; text-transform: uppercase; border-bottom: 1px solid var(--line); }
.mnav .btn { margin-top: 12px; }

/* ---------- hero ---------- */
/* text on the left, the Baku map on the right as its own card: nothing overlaps the map */
.hero {
  position: relative; min-height: calc(100svh - 72px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(28px, 4vw, 64px); align-items: center;
  padding: clamp(40px, 6vw, 72px) var(--pad) clamp(48px, 6vw, 120px);
  isolation: isolate;
}
.hero__scene {
  grid-column: 2; grid-row: 1; width: 100%; display: block;
  /* as tall as the text beside it (the map is cropped to the centre), so the labels stay legible */
  height: 100%; min-height: 440px; max-height: 680px;
  border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.pulse { transform-origin: center; transform-box: fill-box; animation: pulse2 2.4s ease-out infinite; }
.pulse--2 { animation-delay: 1.2s; }
@keyframes pulse2 { from { transform: scale(.3); opacity: .7; } to { transform: scale(2.6); opacity: 0; } }
.route { stroke-dasharray: 10 8; animation: dash 1.1s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -18; } }
/* night rides: headlights, tail lights and street lamps appear on the dark map */
.hero__scene .nt, .hero__scene .vn { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hero__scene .nt, :root:not([data-theme="light"]) .hero__scene .vn { display: inline; }
  :root:not([data-theme="light"]) .hero__scene .vd { display: none; }
}
:root[data-theme="dark"] .hero__scene .nt, :root[data-theme="dark"] .hero__scene .vn { display: inline; }
:root[data-theme="dark"] .hero__scene .vd { display: none; }
.hero__grid { grid-column: 1; grid-row: 1; width: 100%; min-width: 0; }
.hero__inner { max-width: 820px; min-width: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 28px; padding: 8px 14px 8px 10px; border: 1px solid var(--line-2); border-radius: var(--r-pill); background: var(--bg-2); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c2); box-shadow: 0 0 0 0 rgba(239,43,101,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(239,43,101,.6) } 70% { box-shadow: 0 0 0 10px rgba(239,43,101,0) } 100% { box-shadow: 0 0 0 0 rgba(239,43,101,0) } }
.hero__title {
  font-size: clamp(52px, 1.9rem + 4vw, 96px); font-weight: 900; line-height: 1.02; padding-top: .06em;
  background: linear-gradient(90deg, var(--ink) 0%, var(--ink) 55%, var(--c2) 85%, var(--c3) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  max-width: 13.5ch; overflow-wrap: anywhere; padding-right: .05em;
}
.hero__sub { margin-top: 28px; max-width: 58ch; font-size: clamp(17px, 1rem + 0.3vw, 21px); color: var(--ink-2); }

@media (prefers-color-scheme: dark) {
}

/* ---------- sections ---------- */
.section { padding: var(--section) var(--pad); scroll-margin-top: 72px; }
.section--alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section__head .lead { margin-top: 16px; }

/* ---------- services = equalizer bars ---------- */
.bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.bar {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 360px;
  border-radius: var(--r-lg); padding: 56px 24px 24px; overflow: hidden;
  background: var(--bg-2); border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.bar::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .5s; pointer-events: none;
  background: linear-gradient(180deg, transparent 30%, rgba(239,43,101,.08));
}
.bar::after {
  content: ""; position: absolute; left: 28px; right: 28px; top: 0; height: 4px; border-radius: 0 0 4px 4px;
  background: var(--grad); transform: scaleX(.25); transform-origin: left; transition: transform .6s var(--ease);
}
.bar:hover { transform: translateY(-10px); border-color: var(--line-2); box-shadow: 0 30px 50px -28px rgba(239,43,101,.45); }
.bar:hover::before { opacity: 1; }
.bar:hover::after { transform: scaleX(1); }
.bar__num { position: absolute; top: 22px; left: 28px; font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--ink-3); letter-spacing: .1em; }
.bar__tag { display: inline-block; align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--c2); margin-bottom: 14px; }
.bar__body { position: relative; z-index: 1; display: flex; flex-direction: column; }
.bar__body h3 { margin-bottom: 10px; }
.bar__body p { color: var(--ink-2); font-size: 16px; }
.bar__link { margin-top: 22px; align-self: flex-start; }

/* ---------- our friends: app icons ---------- */
.friends__head { max-width: none; }
.friends__head h2 { white-space: nowrap; }
.friends__head .lead { margin-top: 16px; }
.friends { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.friend { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 8px 0; transition: transform .4s var(--ease); }
.friend:hover { transform: translateY(-6px); }
.friend img { width: 168px; height: 168px; border-radius: 22%; margin-bottom: 18px; box-shadow: 0 18px 40px -14px rgba(21,17,26,.55), 0 0 0 1px rgba(255,255,255,.06); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.friend:hover img { transform: scale(1.06); box-shadow: 0 28px 56px -18px rgba(239,43,101,.55), 0 0 0 1px rgba(255,255,255,.08); }
.friend b { font-family: var(--font-body); font-weight: 800; font-size: 24px; letter-spacing: -.01em; color: var(--ink); }
.friend span { font-size: 15px; font-weight: 600; color: var(--c2); }

/* ---------- fields (the invite modal) ---------- */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.field input, .field textarea {
  width: 100%; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--bg-2);
  color: var(--ink); padding: 14px 16px; font: inherit; font-size: 16px; outline: 0;
  transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:focus, .field textarea:focus { border-color: var(--c2); box-shadow: 0 0 0 4px rgba(239,43,101,.12); }
.field input.is-bad { border-color: var(--c3); }
.field textarea { resize: vertical; min-height: 88px; }
.form__err { font-size: 14px; color: var(--c3); font-weight: 600; }

/* ---------- faq: four groups, two columns ---------- */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 40px; align-items: start; }
.faq__group { display: grid; gap: 10px; align-content: start; }
.faq__h { margin: 0 0 6px 2px; font-family: var(--font-display); font-weight: 800; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--c2); }
.faq details { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg-2); padding: 0 22px; transition: border-color .3s; }
.faq details[open] { border-color: rgba(239,43,101,.5); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-family: var(--font-display); font-weight: 800; font-size: 19px; line-height: 1.15; text-transform: uppercase; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; color: var(--c2); transition: transform .3s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 0 20px; color: var(--ink-2); font-size: 15px; line-height: 1.55; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: stretch; }
.contact dl { margin: 32px 0 0; display: grid; gap: 18px; }
.contact dl div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.contact dt { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); padding-top: 3px; }
.contact dd { margin: 0; font-weight: 600; }
.contact dd a:hover { color: var(--c2); }
.socials { display: flex; gap: 8px; margin-top: 28px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--bg); display: grid; place-items: center; transition: .3s var(--ease); }
.socials svg { width: 18px; height: 18px; fill: var(--ink-2); transition: fill .3s; }
.socials a:hover { background: var(--grad); border-color: transparent; transform: translateY(-3px); }
.socials a:hover svg { fill: #fff; }
.contact__map { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); min-height: 380px; filter: grayscale(1) contrast(1.02); box-shadow: var(--shadow); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .contact__map { filter: grayscale(1) invert(.92) hue-rotate(180deg) contrast(.9); }
  :root:not([data-theme="light"]) .btn--solid { box-shadow: 0 10px 30px -10px rgba(239, 43, 101, .6); }
}
:root[data-theme="dark"] .contact__map { filter: grayscale(1) invert(.92) hue-rotate(180deg) contrast(.9); }
:root[data-theme="dark"] .btn--solid { box-shadow: 0 10px 30px -10px rgba(239, 43, 101, .6); }
.contact__map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* ---------- footer ---------- */
.foot { padding: 40px var(--pad); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; color: var(--ink-3); font-size: 14px; }
.foot__brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 900; font-size: 22px; color: var(--ink); letter-spacing: .04em; }
.foot__brand img { width: 36px; height: auto; }

/* ---------- floating WhatsApp ---------- */
.wa { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 12px; border-radius: var(--r-pill); background: #25d366; color: #052e16; font-weight: 800; font-size: 14px; box-shadow: 0 14px 30px -10px rgba(37,211,102,.7); transition: transform .3s var(--ease); }
.wa:hover { transform: translateY(-3px); }

/* ---------- Balansı artır (balans.html) ---------- */
.topup { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.topup__head h1 { font-size: clamp(40px, 1.5rem + 3.4vw, 72px); font-weight: 900; }
.topup__head .lead { margin-top: 16px; }
.tu-steps { grid-column: 1; list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.tu-steps li { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--ink-3); }
.tu-steps li span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line-2); font-size: 12px; }
.tu-steps li.is-on { color: var(--ink); }
.tu-steps li.is-on span { background: var(--grad); border-color: transparent; color: #fff; }
.tu-steps li.is-done span { background: var(--ink); border-color: transparent; color: var(--on-ink); }
.tu-panel { grid-column: 2; grid-row: 1 / span 2; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow); }
.tu-step { display: none; flex-direction: column; gap: 16px; }
.tu-step.is-active { display: flex; animation: modalIn .4s var(--ease); }
.tu-h { font-size: clamp(24px, 1.1rem + 1vw, 32px); font-weight: 800; }
.tu-text { color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.tu-text b { color: var(--ink); }
.tu-otp { font-size: 28px !important; letter-spacing: .35em; text-align: center; font-weight: 700; }
.tu-otp.is-bad { border-color: var(--c3) !important; }
.tu-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.tu-actions .btn { flex: 1; min-width: 140px; }
.tu-link { align-self: center; border: 0; background: none; color: var(--ink-2); font-weight: 600; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.tu-link:hover { color: var(--c2); }
.tu-link:disabled { opacity: .5; cursor: progress; }
.tu-accounts { display: grid; gap: 10px; }
.tu-account { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; gap: 2px 14px; align-items: center; text-align: left; padding: 16px 18px; border: 1px solid var(--line-2); border-radius: var(--r-md); background: var(--bg); cursor: pointer; transition: border-color .25s, transform .3s var(--ease), box-shadow .3s; }
.tu-account:hover { border-color: var(--c2); transform: translateY(-2px); box-shadow: var(--shadow); }
.tu-account__park { font-family: var(--font-display); font-weight: 800; font-size: 22px; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.tu-account__tag { font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); border: 1px solid var(--line-2); border-radius: var(--r-pill); padding: 2px 8px; }
.tu-account__who { grid-column: 1; color: var(--ink-3); font-size: 13px; }
.tu-account__bal { grid-column: 2; grid-row: 1; font-weight: 800; font-size: 22px; white-space: nowrap; }
.tu-account__bal small { font-size: 12px; color: var(--ink-3); }
.tu-account__bal.is-neg { color: var(--c3); }
.tu-account__bal--na { font-size: 13px; font-weight: 600; color: var(--ink-3); }
.tu-account__go { grid-column: 2; grid-row: 2; justify-self: end; font-size: 13px; font-weight: 700; color: var(--c2); }
.tu-quick { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.tu-quick button { border: 1px solid var(--line-2); background: var(--bg); border-radius: var(--r-pill); padding: 8px 16px; font-weight: 700; font-size: 14px; cursor: pointer; transition: border-color .2s, background .2s; }
.tu-quick button:hover { border-color: var(--ink); }
.tu-note { font-size: 13px; color: var(--ink-3); }
.tu-secure { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-3); line-height: 1.45; margin-top: 4px; }
.tu-secure svg { flex: none; margin-top: 2px; }
.tu-result { align-items: center; text-align: center; padding: 16px 0; }
.tu-result__icon { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; font-size: 34px; font-weight: 900; color: #fff; background: var(--ink); }
.tu-result__icon.is-success { background: #1e8a4c; }
.tu-result__icon.is-pending { background: #b97200; }
.tu-result__icon.is-failure { background: var(--c3); }
.tu-result .tu-actions { justify-content: center; width: 100%; }
@media (max-width: 1080px) { .topup { grid-template-columns: 1fr; } .tu-panel { grid-column: 1; grid-row: auto; } .tu-steps { grid-column: 1; } }

/* ---------- Become a driver: the invite modal ---------- */
.modal { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 16px; background: rgba(21, 17, 26, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal[hidden] { display: none; }
.modal__card { width: min(100%, 440px); background: var(--bg-2); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 28px 24px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .55); animation: modalIn .45s var(--ease); }
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.modal__tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--c2); margin-bottom: 12px; }
.modal__card h3 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(28px, 1.2rem + 1.5vw, 36px); line-height: .95; letter-spacing: .01em; margin: 0 0 10px; }
.modal__text { color: var(--ink-2); font-size: 15px; line-height: 1.5; margin: 0 0 20px; }
.modal__form { display: flex; flex-direction: column; gap: 14px; }
.tel { display: flex; align-items: stretch; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--bg-2); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.tel:focus-within { border-color: var(--c2); box-shadow: 0 0 0 4px rgba(239, 43, 101, .12); }
.tel.is-bad { border-color: var(--c3); }
.tel__cc { display: flex; align-items: center; padding: 0 14px; font-weight: 700; color: var(--ink-2); background: var(--bg-3); border-right: 1px solid var(--line); }
.tel input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 14px 16px; font: inherit; font-size: 17px; letter-spacing: .06em; color: var(--ink); outline: 0; }
.tel input::placeholder { color: var(--ink-3); letter-spacing: .06em; }
.tel input:disabled { color: var(--ink-2); }
.modal__ok { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.5; color: #1e8a4c; }
.modal__actions { display: flex; gap: 10px; margin-top: 6px; }
.modal__actions .btn { flex: 1; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none !important; box-shadow: none !important; }
body.has-modal { overflow: hidden; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .modal__ok { color: #5fd38d; } }
:root[data-theme="dark"] .modal__ok { color: #5fd38d; }
@media (max-width: 720px) { .modal { align-items: end; padding: 0; } .modal__card { width: 100%; border-radius: var(--r-lg) var(--r-lg) 0 0; padding: 24px 20px calc(20px + env(safe-area-inset-bottom)); } }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.bars .reveal:nth-child(2) { transition-delay: .08s; }
.bars .reveal:nth-child(3) { transition-delay: .16s; }
.bars .reveal:nth-child(4) { transition-delay: .24s; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; min-height: 0; gap: clamp(28px, 5vw, 48px); }
  .hero__grid { grid-column: 1; grid-row: 1; }
  .hero__scene { grid-column: 1; grid-row: 2; height: auto; min-height: 0; max-height: none; aspect-ratio: 1000 / 620; }
  .nav { display: none; }
  .burger { display: flex; }
  .top .btn { display: none; }
  .bars { grid-template-columns: repeat(2, 1fr); }
  .bar { min-height: 300px; }
  .contact { grid-template-columns: 1fr; }
  .friends { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .bars { gap: 12px; grid-template-columns: 1fr; }
  .friends { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .faq { grid-template-columns: 1fr; gap: 32px; }
  .faq summary { font-size: 17px; }
  .friend img { width: 120px; height: 120px; }
  .friend b { font-size: 20px; }
  .friends__head h2 { white-space: normal; }
  .bar { min-height: 0; }
  .row { grid-template-columns: 1fr; }
  .hero__scroll { display: none; }
  .top .theme { display: none; }
  .hero__scene { border-radius: var(--r-md); aspect-ratio: 4 / 3; }
  .wa span { display: none; }
  .wa { padding: 12px; }
  .contact dl div { grid-template-columns: 1fr; gap: 4px; }
  .foot { justify-content: center; text-align: center; }
  .top { padding: 12px 16px; gap: 12px; }
  .brand img { width: 34px; }
  .brand__name { font-size: 20px; }
  .top__left .brand { margin-right: 4px; }
  .lang button { padding: 0 9px; font-size: 12px; }
  .eyebrow { font-size: 11px; letter-spacing: .1em; }
  .hero__title { font-size: clamp(52px, 1rem + 13vw, 96px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dot, .hero__scroll span, .pulse, .route { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
