/* ── Jolduu landing ─────────────────────────────────────────────── */
/* Unbounded'да ү/ө/ң жок — кыргыз тамгалары кошулган версия (fonts/build-unbounded-kg.py, OFL). */
@font-face { font-family: "Unbounded KG"; src: url("/fonts/unbounded-kg-600.woff2") format("woff2"); font-weight: 500 600; font-display: swap; }
@font-face { font-family: "Unbounded KG"; src: url("/fonts/unbounded-kg-700.woff2") format("woff2"); font-weight: 700 900; font-display: swap; }

:root {
  /* Бренд: Ирис — Joldu_Client жана Joldu_Driver менен бир палитра (src/constants/colors.js). */
  --brand: #4f46e5;
  --brand-dark: #4338ca;
  --brand-deep: #2a2580;
  --brand-night: #15123f;
  --brand-tint: #eef0ff;
  --brand-tint-2: #e0e3ff;
  --brand-ink: #4338ca; /* бренд түстөгү текст (шилтемелер, белгилер) */
  /* Иконка жана сплэштин фону (docs/brand/j-logo/source/build_final.js). */
  --brand-gradient: linear-gradient(135deg, #6d66f0 0%, #4f46e5 50%, #2a2580 100%);
  --hero-gradient: radial-gradient(900px 520px at 85% 10%, #6d66f0 0%, transparent 60%),
                   radial-gradient(700px 500px at 0% 100%, #3b34c9 0%, transparent 65%),
                   linear-gradient(160deg, #2a2580 0%, #1b1760 55%, #15123f 100%);
  /* Jolduu Pro (айдоочу колдонмосу): кара фон, алтын шашечка. Алтын — жылдыздар, рейтинг. */
  --pro-bg: linear-gradient(135deg, #262a31, #0b0d10);
  --gold-light: #ffe45c;
  --gold: #ffb547;
  --bg: #ffffff;
  --bg-soft: #f6f6fb;
  --card: #ffffff;
  --fg: #14142b;
  --muted: #62657a;
  --line: #e4e5ee;
  --radius: 24px;
  --shadow: 0 1px 2px rgba(20, 20, 43, .04), 0 12px 32px rgba(42, 37, 128, .08);
  --shadow-lg: 0 30px 60px -20px rgba(21, 18, 63, .45);
  --max: 1180px;
  --font: "Manrope", -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Unbounded KG", "Manrope", -apple-system, sans-serif;
}

/* Караңгы тема — колдонмолордогудай нейтралдуу боз (көгүш эмес). */
@media (prefers-color-scheme: dark) {
  :root {
    --brand-tint: #1f1d4a;
    --brand-tint-2: #2a2763;
    --brand-ink: #a5b4fc; /* #4f46e5 караңгы фондо өтө күңүрт */
    --bg: #111114;
    --bg-soft: #18181d;
    --card: #1e1e24;
    --fg: #f2f2f5;
    --muted: #a0a1ad;
    --line: #2c2c34;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px rgba(0,0,0,.35);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand-ink); }
h1, h2 { font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; }
h3 { letter-spacing: -0.01em; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

/* ── Header ── */
.header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.header .container { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.logo img { width: 36px; height: 36px; border-radius: 10px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap; padding: 8px 12px; border-radius: 10px; transition: color .15s, background .15s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--fg); background: var(--bg-soft); }
.menu-toggle { display: none; background: none; border: 0; color: var(--fg); font-size: 26px; cursor: pointer; padding: 4px 8px; }

.lang { display: flex; gap: 2px; padding: 3px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; }
.lang button { background: none; border: 0; color: var(--muted); font: 700 12px/1 var(--font); padding: 7px 9px; border-radius: 9px; cursor: pointer; letter-spacing: .04em; }
.lang button:hover { color: var(--fg); }
.lang button[aria-pressed="true"] { background: var(--card); color: var(--brand-ink); box-shadow: 0 1px 3px rgba(20,20,43,.12); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 24px; border-radius: 16px; font: 700 16px/1.2 var(--font);
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .15s, background .15s, box-shadow .15s, border-color .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 45%, transparent); outline-offset: 2px; }
.btn-primary { background: var(--brand); color: #fff !important; box-shadow: 0 8px 20px -8px rgba(79,70,229,.7); }
.btn-primary:hover { background: var(--brand-dark); box-shadow: 0 12px 24px -8px rgba(79,70,229,.75); }
.btn-outline { border-color: var(--line); color: var(--fg) !important; background: var(--card); }
.btn-light { background: #fff; color: var(--brand-deep) !important; box-shadow: 0 10px 24px -10px rgba(0,0,0,.45); }
.btn-light:hover { background: #f4f4ff; }
.btn-glass { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); color: #fff !important; backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255,255,255,.14); }
/* App Store баскычтары — шилтеме коюлмайынча (i18n.js → APPSTORE) «Жакында» абалында. */
.btn-soon { opacity: .6; cursor: default; }
.btn-soon:hover { transform: none; }
.btn-sm { padding: 10px 18px; font-size: 14px; border-radius: 12px; box-shadow: none; }
.btn svg { width: 22px; height: 22px; flex: none; }

/* ── Hero ── */
.hero { padding: 20px 0 0; }
.hero-panel {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center;
  background: var(--hero-gradient); color: #fff;
  border-radius: 36px; padding: 72px 64px 0 64px; min-height: 600px;
}
/* Шашечка (логодогу такси белгиси) — фондо жеңил текстура. */
.hero-panel::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .08;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23fff'%3E%3Crect x='0.5' y='0.5' width='9' height='9' rx='1.6'/%3E%3Crect x='10.5' y='10.5' width='9' height='9' rx='1.6'/%3E%3C/svg%3E") 0 0 / 56px 56px;
  -webkit-mask: linear-gradient(115deg, transparent 35%, #000 100%);
          mask: linear-gradient(115deg, transparent 35%, #000 100%);
}
.hero-copy { padding-bottom: 72px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: #fff; font-weight: 700; font-size: 13px; padding: 7px 14px; border-radius: 999px; margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-light); box-shadow: 0 0 0 4px rgba(255,228,92,.2); }
.hero h1 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.08; margin: 0 0 20px; }
.hero h1 span { background: linear-gradient(90deg, #c7c4ff, #fff 60%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 19px; color: rgba(255,255,255,.8); margin: 0 0 32px; max-width: 520px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-apps { display: grid; gap: 22px; }
.hero-app-title { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.hero-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; color: rgba(255,255,255,.88); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3); padding-bottom: 2px; }
.hero-link:hover { color: #fff; border-color: #fff; }
.hero-link svg { width: 18px; height: 18px; }
.hero-note { margin: 18px 0 0; font-size: 14px; color: rgba(255,255,255,.6); max-width: 480px; }

/* Телефон: колдонмонун чыныгы скриншоту (photos/raw-ios/route.png). */
.hero-visual { position: relative; align-self: center; display: flex; justify-content: center; padding: 8px 0 72px; }
.phone {
  width: 290px; padding: 10px; border-radius: 48px; background: #0d0b26;
  box-shadow: 0 0 0 1.5px rgba(255,255,255,.16), 0 0 0 9px rgba(255,255,255,.04), var(--shadow-lg);
  transform: rotate(-3deg);
}
.phone-screen { border-radius: 38px; overflow: hidden; background: #111; }
.phone-screen img { width: 100%; height: auto; }

.hero-visual .badge {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.96); color: #14142b; border-radius: 16px; padding: 10px 16px 10px 10px;
  box-shadow: var(--shadow-lg); font-size: 14px; font-weight: 700; white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.badge-ico { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: #eef0ff; color: #4f46e5; font-size: 17px; }
.badge-ico svg { width: 18px; height: 18px; }
.badge-ico.gold { background: #fff5d6; color: #f59e0b; }
.badge-1 { top: 22%; left: -4%; }
.badge-2 { top: 50%; right: -4%; animation-delay: -3s !important; }
@keyframes float { 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) {
  .hero-visual .badge { animation: none; }
}

/* ── Sections ── */
section { padding: 104px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.kicker { display: inline-block; font: 600 13px/1 var(--display); color: var(--brand-ink); background: var(--brand-tint); padding: 7px 10px; border-radius: 8px; margin-bottom: 18px; letter-spacing: .04em; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.12; margin: 0 0 14px; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }
.section-head-row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section-head-row > div:first-child { max-width: 640px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h3 { margin: 0 0 8px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); }

/* Кызматтар */
.service { display: flex; flex-direction: column; padding: 0; overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service .media { position: relative; height: 210px; display: grid; place-items: center; padding: 24px; overflow: hidden;
  background: radial-gradient(circle at 50% 120%, var(--brand-tint-2), var(--brand-tint) 60%); }
.service .media::after { content: ""; position: absolute; left: 15%; right: 15%; bottom: 26px; height: 18px; border-radius: 50%; background: rgba(42,37,128,.18); filter: blur(10px); }
.service .media img { position: relative; z-index: 1; height: 160px; width: 100%; object-fit: contain; transition: transform .3s; }
.service:hover .media img { transform: scale(1.05) translateX(4px); }
.service .body { padding: 24px 28px 28px; }
.service h3 { margin: 0 0 8px; font-size: 23px; font-family: var(--display); font-weight: 600; }
.service p { margin: 0 0 18px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li { font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); }

/* Кантип иштейт */
.steps-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative; }
.steps-row::before { content: ""; position: absolute; top: 27px; left: 56px; right: calc(33.33% - 24px); border-top: 2px dashed var(--brand-tint-2); }
.steps-row li { position: relative; }
.steps-row h3 { margin: 0 0 8px; font-size: 21px; }
.steps-row p { margin: 0; color: var(--muted); max-width: 340px; }
.step-num { position: relative; width: 56px; height: 56px; border-radius: 18px; background: var(--brand-gradient); color: #fff; display: grid; place-items: center; font: 700 22px/1 var(--display); margin-bottom: 22px; box-shadow: 0 0 0 8px var(--bg), 0 12px 24px -10px rgba(79,70,229,.8); }

/* Эмне үчүн Jolduu — ирис фондо */
.section-iris { background: var(--hero-gradient); color: #fff; }
.section-iris .kicker { background: rgba(255,255,255,.12); color: #fff; }
.section-iris .section-head p { color: rgba(255,255,255,.72); }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); overflow: hidden; }
.feature { background: color-mix(in srgb, #1b1760 88%, transparent); padding: 28px; transition: background .2s; }
.feature:hover { background: #241f78; }
.feature h3 { margin: 0 0 8px; font-size: 18px; }
.feature p { margin: 0; color: rgba(255,255,255,.68); font-size: 15px; }
.feature-icon { width: 46px; height: 46px; border-radius: 14px; background: rgba(255,255,255,.1); color: #c7c4ff; display: grid; place-items: center; margin-bottom: 18px; }
.feature-icon svg { width: 22px; height: 22px; }

/* ── Drivers band (Jolduu Pro) ── */
.band { position: relative; overflow: hidden; background: var(--pro-bg); color: #fff; border: 1px solid rgba(255,255,255,.06); border-radius: 36px; padding: 64px; display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.band::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(255,181,71,.18), transparent 65%); pointer-events: none; }
.band > * { position: relative; }
.pro-tag { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; font-weight: 800; font-size: 17px; color: var(--gold); }
.pro-tag img { width: 28px; height: 28px; border-radius: 7px; box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
.band h2 { font-size: clamp(28px, 3.4vw, 42px); margin: 0 0 16px; line-height: 1.12; }
.band p { color: rgba(255,255,255,.75); font-size: 18px; margin: 0 0 28px; }
.band ul { margin: 0 0 32px; padding: 0; list-style: none; display: grid; gap: 14px; }
.band li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: rgba(255,255,255,.92); }
.band li::before { content: "✓"; flex: none; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,181,71,.16); color: var(--gold); display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.btn-gold { background: linear-gradient(180deg, var(--gold-light), var(--gold)); color: #0b0d10 !important; box-shadow: 0 10px 24px -10px rgba(255,181,71,.7); }
.band .btn-outline { background: transparent; border-color: rgba(255,255,255,.22); color: #fff !important; }
.band .btn-outline:hover { background: rgba(255,255,255,.08); }

/* «Стать водителем» формасы — колдонмодогу эле API (POST /api/driver-applications). */
.apply-form { display: grid; gap: 10px; padding: 32px; border-radius: 24px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(8px); scroll-margin-top: 90px; }
.apply-form h3 { margin: 0; font: 600 22px/1.2 var(--display); }
.band .apply-form p { margin: 0 0 6px; font-size: 15px; }
.apply-form label { font-size: 14px; font-weight: 700; color: rgba(255,255,255,.9); margin-top: 4px; }
.apply-form input { font: inherit; font-size: 16px; padding: 14px 16px; border-radius: 14px; border: 1.5px solid rgba(255,255,255,.16); background: rgba(0,0,0,.28); color: #fff; outline: none; width: 100%; transition: border-color .15s; }
.apply-form input::placeholder { color: rgba(255,255,255,.4); }
.apply-form input:focus { border-color: var(--gold); }
.apply-choice { border: 0; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.apply-choice-3 { grid-template-columns: repeat(3, 1fr); margin-top: 12px; }
.apply-choice-3 label { padding: 12px 6px; font-size: 14px; }
.apply-choice legend { font-size: 14px; font-weight: 700; color: rgba(255,255,255,.9); margin-bottom: 8px; padding: 0; }
.apply-choice label { margin: 0; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: 14px; border: 1.5px solid rgba(255,255,255,.16); background: rgba(0,0,0,.28); cursor: pointer; font-weight: 600; }
.apply-choice label:has(input:checked) { border-color: var(--gold); background: rgba(255,181,71,.08); }
.apply-form .apply-choice input { width: 18px; height: 18px; margin: 0; padding: 0; border: 0; background: none; accent-color: var(--gold); }
.apply-form .btn { margin-top: 8px; width: 100%; }
.apply-form .btn:disabled { opacity: .6; cursor: default; transform: none; }
.band .apply-form .apply-msg { margin: 4px 0 0; font-size: 15px; }
.apply-ok { color: #7ee2a8 !important; }
.apply-err, .apply-invalid { color: #ff9b9b !important; }

/* ── Эки мамычалуу бөлүмдөр (FAQ, колдоо) ── */
.split { display: grid; grid-template-columns: 1fr 1.5fr; gap: 56px; align-items: start; }
.split > .section-head, .split > div > .section-head { margin-bottom: 28px; }
@media (min-width: 961px) { #faq .split > .section-head { position: sticky; top: 100px; } }

/* ── FAQ ── */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 0 24px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--brand-tint-2); box-shadow: var(--shadow); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 17px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand-ink); font-size: 20px; font-weight: 600; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: -4px 0 0; padding-bottom: 22px; }

/* ── Колдоо ── */
.contacts { display: grid; gap: 12px; }
.contact { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); color: var(--fg); text-decoration: none; transition: transform .15s, box-shadow .15s; }
.contact:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.contact > span:nth-child(2) { display: grid; font-size: 15px; color: var(--muted); line-height: 1.35; }
.contact b { color: var(--fg); font-size: 16px; }
.contact-ico { width: 44px; height: 44px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand-ink); }
.contact-ico.wa { background: #e5f8ec; color: #16a34a; }
.contact-ico svg { width: 22px; height: 22px; }
.contact-go { width: 20px; height: 20px; margin-left: auto; color: var(--muted); }

.support-form { display: grid; gap: 10px; padding: 32px; box-shadow: var(--shadow); border: 0; scroll-margin-top: 90px; }
.support-form label { font-size: 14px; font-weight: 700; margin-top: 4px; }
.support-form input, .support-form textarea {
  font: inherit; font-size: 16px; padding: 14px 16px; border-radius: 14px;
  border: 1.5px solid var(--line); background: var(--bg-soft); color: var(--fg);
  width: 100%; outline: none; transition: border-color .15s, background .15s;
}
.support-form textarea { resize: vertical; min-height: 120px; }
.support-form input:focus, .support-form textarea:focus { border-color: var(--brand); background: var(--card); }
.support-form .btn { margin-top: 8px; }
.form-msg { margin: 4px 0 0; font-size: 15px; }
.form-err { color: #dc2626; }

/* ── Download CTA ── */
.download { padding-top: 0; }
#support + .download { padding-top: 104px; }
/* Кардар колдонмосунун сплэшиндей: ирис фон, ак шашечка. */
.download-panel { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding: 80px 24px; border-radius: 36px; background: var(--brand-gradient); color: #fff; }
.download-panel::before, .download-panel::after {
  content: ""; position: absolute; z-index: -1; width: 300px; height: 100px; opacity: .1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 20' fill='%23fff'%3E%3Crect x='0.5' y='0.5' width='9' height='9' rx='1.6'/%3E%3Crect x='20.5' y='0.5' width='9' height='9' rx='1.6'/%3E%3Crect x='40.5' y='0.5' width='9' height='9' rx='1.6'/%3E%3Crect x='10.5' y='10.5' width='9' height='9' rx='1.6'/%3E%3Crect x='30.5' y='10.5' width='9' height='9' rx='1.6'/%3E%3Crect x='50.5' y='10.5' width='9' height='9' rx='1.6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.download-panel::before { left: -40px; top: 30px; transform: rotate(-12deg); }
.download-panel::after { right: -40px; bottom: 30px; transform: rotate(-12deg); }
.download .checker { display: block; width: 84px; height: 28px; margin: 0 auto 28px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 20' fill='%23fff'%3E%3Crect x='0.5' y='0.5' width='9' height='9' rx='1.6'/%3E%3Crect x='20.5' y='0.5' width='9' height='9' rx='1.6'/%3E%3Crect x='40.5' y='0.5' width='9' height='9' rx='1.6'/%3E%3Crect x='10.5' y='10.5' width='9' height='9' rx='1.6'/%3E%3Crect x='30.5' y='10.5' width='9' height='9' rx='1.6'/%3E%3Crect x='50.5' y='10.5' width='9' height='9' rx='1.6'/%3E%3C/svg%3E") center / contain no-repeat; }
.download h2 { font-size: clamp(30px, 4vw, 48px); margin: 0 0 14px; }
.download p { color: rgba(255,255,255,.82); font-size: 18px; margin: 0 auto 32px; max-width: 560px; }
.download .cta-row { justify-content: center; }

/* ── Footer ── */
.footer { border-top: 1px solid var(--line); padding: 56px 0 32px; background: var(--bg-soft); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { margin: 0 0 14px; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { color: var(--fg); text-decoration: none; opacity: .85; }
.footer a:hover { opacity: 1; color: var(--brand-ink); }
.footer .logo { opacity: 1; }
.footer .about { color: var(--muted); margin: 14px 0 0; max-width: 320px; }
.footer-legal { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; line-height: 1.6; }
.footer-legal p { margin: 0 0 4px; overflow-wrap: anywhere; }
.footer-legal b { color: var(--fg); }
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px !important; }
.footer-legal + .copyright { margin-top: 20px; }
.doc .requisites { display: grid; grid-template-columns: max-content 1fr; gap: 10px 20px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px 24px; margin: 0; }
.doc .requisites dt { color: var(--muted); font-weight: 600; }
.doc .requisites dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 560px) { .doc .requisites { grid-template-columns: 1fr; gap: 2px; padding: 18px; } .doc .requisites dd { margin-bottom: 10px; } }
.copyright { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* ── Document pages (privacy, terms, ...) ── */
.doc { max-width: 780px; padding: 56px 16px 80px; margin: 0 auto; }
.doc h1 { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; margin: 0 0 8px; }
.doc .meta { color: var(--muted); margin: 0 0 36px; font-size: 15px; }
.doc h2 { font-family: var(--font); font-weight: 800; letter-spacing: -0.01em; font-size: 22px; margin: 40px 0 12px; }
.doc p, .doc li { color: var(--fg); }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc .callout { background: var(--brand-tint); border-radius: 16px; padding: 20px 24px; margin: 24px 0; }
.doc .steps { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 14px; }
.doc .steps li { counter-increment: s; display: flex; gap: 14px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; margin: 0; }
.doc .steps li::before { content: counter(s); flex: none; width: 30px; height: 30px; border-radius: 10px; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 14px; }

/* ---------- Тарифтер ---------- */
.tariffs-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tariffs-bar label { font-weight: 700; }
.tariffs-bar select {
  font: inherit; font-weight: 600; font-size: 16px; padding: 12px 40px 12px 16px; border-radius: 14px;
  border: 1.5px solid var(--line); background: var(--card); color: var(--fg); min-width: 220px; cursor: pointer;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f46e5' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.tariffs-bar select:focus { outline: none; border-color: var(--brand); }
.muted { color: var(--muted); }
.tariffs-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; min-height: 120px; }
.tariff-card { padding: 24px; border: 0; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.tariff-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--brand-gradient); }
.tariff-card h3 { margin: 0 0 14px; font: 600 18px/1.2 var(--display); }
.tariff-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 15px; }
.tariff-row span { color: var(--muted); }
.tariff-row b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.tariffs-note { color: var(--muted); font-size: 14px; margin: 20px 0 0; }

/* ── Responsive ── */
/* Менюда 6 пункт — 1200px'тен тар экранда бургерге өтөт (сапка бөлүнбөсүн). */
@media (max-width: 1200px) {
  .menu-toggle { display: block; }
  .lang { margin-left: auto; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 8px; font-size: 17px; }
}
.header .btn { white-space: nowrap; }

@media (max-width: 1080px) {
  .hero-panel { padding: 56px 40px 0; gap: 24px; }
  .features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  section { padding: 80px 0; }
  .hero-panel { grid-template-columns: 1fr; padding: 48px 28px 0; min-height: 0; border-radius: 28px; }
  .hero-copy { padding-bottom: 8px; }
  .hero-visual { max-width: 420px; width: 100%; margin: 0 auto; }
  .badge-1 { left: 0; }
  .badge-2 { right: 0; }
  .grid-3, .steps-row { grid-template-columns: 1fr; }
  .steps-row { gap: 28px; }
  .steps-row::before { top: 28px; bottom: 28px; left: 27px; right: auto; border-top: 0; border-left: 2px dashed var(--brand-tint-2); }
  .steps-row li { padding-left: 80px; }
  .steps-row .step-num { position: absolute; left: 0; top: 0; margin: 0; }
  .band { grid-template-columns: 1fr; padding: 40px 24px; gap: 32px; border-radius: 28px; }
  .apply-form { padding: 22px; }
  .split { grid-template-columns: 1fr; gap: 8px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  #support + .download { padding-top: 80px; }
}
@media (max-width: 760px) {
  .header .btn { display: none; }
  .hero { padding-top: 12px; }
  .hero-panel { padding: 36px 20px 0; border-radius: 24px; }
  .hero p.lead { font-size: 17px; }
  .phone { width: 250px; }
  .hero-visual .badge { font-size: 13px; padding: 8px 12px 8px 8px; }
  .badge-ico { width: 28px; height: 28px; }
  section { padding: 64px 0; }
  .section-head { margin-bottom: 32px; }
  .section-head p { font-size: 17px; }
  .features { grid-template-columns: 1fr; }
  .feature { padding: 22px; display: grid; grid-template-columns: 46px 1fr; column-gap: 16px; }
  .feature .feature-icon { grid-row: span 2; margin: 0; }
  .feature h3 { margin-bottom: 4px; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-row .btn { flex: 1 1 100%; }
  .tariffs-bar, .tariffs-bar select { width: 100%; }
  .tariffs-bar select { flex: 1; min-width: 0; }
  .support-form { padding: 22px; }
  .download-panel { padding: 56px 20px; border-radius: 24px; }
  #support + .download { padding-top: 64px; }
  .faq details { padding: 0 18px; }
  .faq summary { font-size: 16px; }
  /* Тарифтер — капталга сыдырылуучу карусель (10+ карточка бир мамычада өтө узун). */
  .tariffs-list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -16px; padding: 4px 16px 20px; scrollbar-width: none; }
  .tariffs-list::-webkit-scrollbar { display: none; }
  .tariffs-list > .tariff-card { flex: 0 0 78%; scroll-snap-align: center; }
}

/* Караңгы темада бренд түстөгү акценттер ачыгыраак тондо. */
@media (prefers-color-scheme: dark) {
  .step-num { box-shadow: 0 0 0 8px var(--bg), 0 12px 24px -10px rgba(0,0,0,.6); }
  .contact-ico.wa { background: #12321f; color: #4ade80; }
}
