/* =================================================================
   Япартнер — сертифицированный партнёр Яндекс Go в Казахстане
   Design system: black + Yandex yellow, Manrope + Unbounded
   ================================================================= */

/* --- Reset / base ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { overflow-x: clip; }
body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: #0E0E0D;
  background: #FAF9F5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-family: 'Unbounded', 'Manrope', sans-serif; font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; overflow-wrap: anywhere; }
p { color: #23211C; }

/* --- Tokens ------------------------------------------------------- */
:root {
  --ink: #0E0E0D;
  --ink-2: #161512;
  --ink-3: #23211C;
  --muted: #6E695E;
  --muted-2: #9C968A;
  --line: #E3DCC8;
  --line-2: #CFC9BB;
  --paper: #FAF9F5;
  --paper-2: #F6F3EA;
  --paper-3: #EDE8D9;
  --paper-4: #D9D4C7;
  --yellow: #FFCF1A;
  --yellow-2: #FFE27A;
  --yellow-dark: #E9B500;
  --green: #1F8A5B;
  --whatsapp: #25D366;
  --whatsapp-dark: #1FAE54;
  --kaspi: #F14635;
  --red: #D14343;
  --shadow-sm: 0 1px 2px rgba(14,14,13,.06);
  --shadow: 0 6px 24px -8px rgba(14,14,13,.18);
  --shadow-lg: 0 20px 60px -20px rgba(14,14,13,.25);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --container: 1200px;
  --gap: 24px;
}

/* --- Layout primitives ------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--sm { padding: 56px 0; }
.section--lg { padding: 120px 0; }
.section--dark { background: var(--ink); color: #fff; }
.section--dark p, .section--dark .lead { color: #CFC9BB; }
.section--paper { background: var(--paper-2); }
.eyebrow {
  display: inline-block;
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.section--dark .eyebrow { color: var(--yellow); }
.h-hero { font-size: clamp(36px, 6vw, 64px); letter-spacing: -0.025em; }
.h-1 { font-size: clamp(32px, 4.5vw, 48px); }
.h-2 { font-size: clamp(26px, 3.2vw, 36px); }
.h-3 { font-size: clamp(20px, 2.2vw, 24px); }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); max-width: 720px; }
.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .section--lg { padding: 80px 0; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

/* --- Buttons ----------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
  text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--yellow); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--yellow-dark); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #2a2825; }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
.btn--ghost:hover { background: #fff; border-color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn--light:hover { border-color: var(--ink); }
.btn--whatsapp { background: var(--whatsapp); color: #fff; }
.btn--whatsapp:hover { background: var(--whatsapp-dark); }
.btn--call { background: #fff; color: var(--ink); border: 1px solid var(--line-2); }
.btn--call:hover { background: var(--paper-2); border-color: var(--ink); }
.btn--lg { padding: 18px 32px; font-size: 16px; }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* --- Header ------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 249, 245, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
  gap: 24px;
}
.logo {
  display: inline-flex; align-items: center;
  color: var(--ink);
}
.logo img { height: 28px; width: auto; display: block; }
.site-footer .logo img { height: 32px; }
@media (max-width: 400px) {
  .logo img { height: 24px; }
}
.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  font-size: 15px; font-weight: 500; color: var(--ink-3);
  position: relative; padding: 6px 0;
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px;
  height: 2px; background: var(--yellow); border-radius: 2px;
}
.header-cta { display: flex; align-items: center; gap: 12px; }
.burger { display: none; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line-2); align-items: center; justify-content: center; }
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
@media (max-width: 980px) {
  .nav { display: none; }
  .header-cta a[href^="tel:"] { display: none; }
  .burger { display: inline-flex; }
  .header-cta { gap: 8px; }
}
@media (max-width: 400px) {
  .header-cta .btn--primary { display: none; }
}
.mobile-nav {
  display: none;
  padding: 12px 0 20px;
  border-top: 1px solid var(--line);
}
.mobile-nav.open { display: block; }
.mobile-nav ul { display: flex; flex-direction: column; }
.mobile-nav a { display: block; padding: 12px 0; font-size: 17px; border-bottom: 1px solid var(--line); }

/* --- Hero -------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink); color: #fff;
  padding: 100px 0 120px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 80% 10%, rgba(255,207,26,.18), transparent 60%),
    radial-gradient(700px 400px at 10% 90%, rgba(255,207,26,.08), transparent 60%);
  pointer-events: none;
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
@media (max-width: 980px) { .hero__inner { grid-template-columns: 1fr; gap: 40px; } .hero { padding: 64px 0 80px; } }
.hero h1 { font-size: clamp(36px, 5.5vw, 64px); color: #fff; }
.hero h1 .accent { color: var(--yellow); }
.hero .lead { color: #CFC9BB; margin: 20px 0 32px; font-size: clamp(17px, 1.6vw, 19px); }
.hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.hero__stat { padding: 18px 20px; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); background: rgba(255,255,255,.03); }
.hero__stat strong { display: block; font-family: 'Unbounded', sans-serif; font-size: 26px; color: #fff; }
.hero__stat span { font-size: 13px; color: var(--muted-2); }
.hero__card {
  background: #fff; color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}
.hero__card .balance { font-family: 'Unbounded'; font-size: 36px; }
.hero__card .balance-row { display: flex; align-items: baseline; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.hero__card .balance-label { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.hero__card .row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); }
.hero__card .row:last-child { border-bottom: 0; }
.hero__card .row .k { color: var(--muted); font-size: 14px; }
.hero__card .row .v { font-weight: 700; }
.hero__card .withdraw { margin-top: 18px; width: 100%; }

/* --- Phone mockup + app screen (hero) ---------------------------- */
.hero__phone { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.phone {
  width: 300px; max-width: 100%;
  background: linear-gradient(180deg, #1f1f1f 0%, #0c0c0c 100%);
  border-radius: 44px;
  padding: 12px;
  box-shadow:
    0 30px 80px -20px rgba(0,0,0,.6),
    inset 0 0 0 1.5px rgba(255,255,255,.08),
    inset 0 0 0 6px rgba(0,0,0,.4);
  position: relative;
}
.phone__notch {
  position: absolute; left: 50%; top: 18px; transform: translateX(-50%);
  width: 90px; height: 24px;
  background: #000; border-radius: 14px; z-index: 2;
}
.phone__screen {
  background: #F7F8FA; color: #0E0E0D;
  border-radius: 34px;
  overflow: hidden;
  height: 600px;
  position: relative;
  font-family: 'Manrope', sans-serif;
}
.app {
  padding: 56px 14px 18px;
  display: flex; flex-direction: column; gap: 10px;
  height: 100%;
  font-size: 12px;
}
.app__topbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 2px;
}
.app__icon-btn {
  width: 30px; height: 30px; border-radius: 50%;
  background: #fff; color: #0E0E0D;
  display: inline-flex; align-items: center; justify-content: center;
}
.app__title { font-weight: 700; font-size: 14px; color: #0E0E0D; }
.app__balance { background: #fff; border-radius: 16px; padding: 16px; }
.app__cap {
  font-size: 10px; color: #6E695E;
  text-transform: uppercase; letter-spacing: .07em; font-weight: 700;
  display: block;
}
.app__cap--top { margin-top: 4px; }
.app__amount {
  font-family: 'Unbounded', sans-serif;
  font-size: 30px; line-height: 1; margin-top: 8px; color: #0E0E0D; font-weight: 600;
}
.app__amount span { font-size: 16px; color: #6E695E; }
.app__hint { color: #9C968A; font-size: 10px; margin-top: 8px; }
.app__status {
  color: #1F8A5B; font-size: 10px; margin-top: 6px;
  display: flex; align-items: center; gap: 6px; font-weight: 600;
}
.app__status .dot { width: 6px; height: 6px; border-radius: 50%; background: #1F8A5B; }
.app__method {
  background: #fff; border-radius: 14px; padding: 12px;
  display: flex; align-items: center; gap: 10px;
}
.app__method-icon {
  width: 34px; height: 34px; border-radius: 9px;
  background: #FFEFC4; color: #B7820A;
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 34px;
}
.app__method-main { flex: 1; min-width: 0; font-size: 12px; font-weight: 700; color: #0E0E0D; }
.app__method-main small {
  display: block; font-weight: 400; color: #9C968A;
  font-size: 10px; margin-top: 2px;
}
.app__badge {
  background: #FFCF1A; color: #0E0E0D;
  font-size: 8px; padding: 2px 6px; border-radius: 999px;
  font-weight: 700; margin-left: 4px;
  text-transform: uppercase; letter-spacing: .04em;
  vertical-align: middle;
}
.app__chev { color: #9C968A; font-size: 18px; line-height: 1; }
.app__add {
  background: #fff; border: 1.5px dashed #CFC9BB; border-radius: 14px;
  padding: 11px; font-size: 11px; color: #6E695E; text-align: center; font-weight: 600;
}
.app__input {
  background: #fff; border-radius: 14px; padding: 13px 14px;
  color: #9C968A; font-size: 13px; font-weight: 500;
  display: flex; justify-content: space-between; align-items: center;
}
.app__currency { color: #0E0E0D; font-weight: 700; }
.app__chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.app__chips button {
  background: #fff; border-radius: 999px;
  padding: 8px 0; font-size: 10px; color: #0E0E0D;
  font-weight: 600;
}
.app__minmax {
  display: flex; justify-content: space-between;
  font-size: 9px; color: #9C968A; padding: 0 4px;
}

/* App-store badges under the phone */
.app-stores { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: #0E0E0D; color: #fff;
  padding: 10px 16px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  transition: transform .15s, border-color .15s;
}
.store-badge:hover { transform: translateY(-1px); border-color: rgba(255,255,255,.3); }
.store-badge svg { flex: 0 0 22px; }
.store-badge span { display: flex; flex-direction: column; line-height: 1.1; }
.store-badge small {
  font-size: 9px; color: #CFC9BB;
  text-transform: uppercase; letter-spacing: .06em; font-weight: 600;
}
.store-badge strong { font-size: 14px; font-weight: 700; letter-spacing: -.01em; }

@media (max-width: 980px) {
  .phone { width: 280px; }
  .phone__screen { height: 560px; }
}
@media (max-width: 400px) {
  .phone { width: 260px; }
  .phone__screen { height: 520px; }
}

/* --- Cards ------------------------------------------------------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--line-2); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); }
.card__icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--paper-3); display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px; color: var(--ink);
}
.card__icon--accent { background: var(--yellow); }
.card--dark { background: var(--ink-2); color: #fff; border: 0; }
.card--dark p { color: var(--muted-2); }
.card--dark .card__icon { background: rgba(255,255,255,.08); color: var(--yellow); }
.card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 600; color: var(--ink); border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.card--dark .card__link { color: var(--yellow); }

/* --- City card --------------------------------------------------- */
.city-card {
  display: flex; flex-direction: column; gap: 12px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.city-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--ink); }
.city-card__tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; color: var(--ink);
  background: var(--yellow); padding: 4px 10px; border-radius: var(--radius-pill);
  width: fit-content; text-transform: uppercase; letter-spacing: .04em;
}
.city-card h3 { font-size: 22px; }
.city-card__meta { color: var(--muted); font-size: 14px; }
.city-card__meta strong { color: var(--ink); font-weight: 600; }
.city-card__cta { margin-top: auto; padding-top: 12px; font-weight: 600; color: var(--ink); display: inline-flex; gap: 6px; }
.city-card__cta::after { content: "→"; transition: transform .2s; }
.city-card:hover .city-card__cta::after { transform: translateX(4px); }

/* --- Compare table (мы vs обычный парк) -------------------------- */
.compare {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
}
.compare__row {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 0;
  align-items: stretch;
  border-bottom: 1px solid var(--line);
}
.compare__row:last-child { border-bottom: 0; }
.compare__row > div {
  padding: 22px 24px;
  display: flex; align-items: center;
  font-size: 15px;
}
.compare__row > div + div { border-left: 1px solid var(--line); }
.compare__head {
  background: var(--paper-2);
  font-weight: 600; color: var(--ink);
  text-transform: uppercase; font-size: 13px; letter-spacing: .04em;
}
.compare__head .us { background: var(--yellow); }
.compare__cell--us { background: rgba(255,207,26,.08); font-weight: 600; }
.compare__cell--label { color: var(--muted); font-weight: 600; }
@media (max-width: 700px) {
  .compare__row { grid-template-columns: 1fr; }
  .compare__row > div + div { border-left: 0; border-top: 1px solid var(--line); }
}

/* --- Steps ------------------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: 18px; }
.step {
  display: grid; grid-template-columns: 60px 1fr; gap: 20px; align-items: start;
  padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: 'Unbounded'; font-size: 28px; color: var(--yellow-dark);
  background: var(--paper-3); border-radius: 14px;
  width: 60px; height: 60px; display: inline-flex; align-items: center; justify-content: center;
}
.step h3 { font-size: 20px; margin-bottom: 6px; }
.step p { color: var(--muted); }
.step > div { min-width: 0; }
.step h3, .step p { overflow-wrap: anywhere; }
@media (max-width: 700px) {
  .step { grid-template-columns: 46px 1fr; gap: 14px; padding: 18px; }
  .step::before { width: 46px; height: 46px; font-size: 20px; border-radius: 12px; }
}

/* --- CTA --------------------------------------------------------- */
.cta-block {
  background: var(--ink); color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px;
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: center;
  position: relative; overflow: hidden;
}
.cta-block::after {
  content: ""; position: absolute; right: -40px; bottom: -40px; width: 280px; height: 280px;
  background: var(--yellow); border-radius: 50%; opacity: .12; filter: blur(40px);
}
.cta-block h2 { font-size: clamp(28px, 3.6vw, 40px); color: #fff; }
.cta-block p { color: var(--muted-2); margin: 14px 0 24px; max-width: 560px; }
.cta-block .btn-row { position: relative; z-index: 1; }
@media (max-width: 880px) { .cta-block { padding: 36px 28px; grid-template-columns: 1fr; } }

/* --- Calculator -------------------------------------------------- */
.calc {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 36px; box-shadow: var(--shadow);
}
.calc__row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.calc__row > * { min-width: 0; }
@media (max-width: 700px) {
  .calc { padding: 20px; }
  .calc__row { grid-template-columns: 1fr; gap: 18px; }
  .calc__result { padding: 22px; }
  .calc__result .total { font-size: 32px; line-height: 1.15; overflow-wrap: break-word; }
}
.calc__field { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.calc__field label { font-size: 14px; color: var(--muted); font-weight: 600; }
.calc__field input[type="range"] { width: 100%; accent-color: var(--ink); }
.calc__field .value { font-family: 'Unbounded'; font-size: 22px; }
.calc__result {
  background: var(--ink); color: #fff; border-radius: var(--radius);
  padding: 32px; display: flex; flex-direction: column; gap: 8px;
}
.calc__result .label { font-size: 13px; color: var(--muted-2); text-transform: uppercase; letter-spacing: .06em; }
.calc__result .total { font-family: 'Unbounded'; font-size: 48px; color: var(--yellow); }
.calc__result small { color: var(--muted-2); font-size: 13px; }

/* --- Path cards (хаб 4 путей на странице «Водителям») ----------- */
.path-card {
  display: flex; gap: 22px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  text-decoration: none;
}
.path-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--ink); }
.path-card__icon {
  flex: 0 0 56px; width: 56px; height: 56px; border-radius: 14px;
  background: var(--yellow); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
}
.path-card h3 { margin-bottom: 8px; color: var(--ink); }
.path-card p { color: var(--muted); }
.path-card .card__link { color: var(--ink); margin-top: 12px; display: inline-block; }
@media (max-width: 500px) {
  .path-card { flex-direction: column; gap: 14px; padding: 22px; }
  .path-card__icon { width: 48px; height: 48px; flex-basis: 48px; }
}

/* --- Iron Park dashboard mock (страница «Таксопаркам») ----------- */
.ip-mock {
  background: #161512;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 22px;
  display: flex; flex-direction: column; gap: 14px;
  color: #fff;
}
.ip-mock__head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.ip-mock__title {
  font-family: 'Unbounded', sans-serif; font-weight: 600; font-size: 16px;
}
.ip-mock__date { font-size: 12px; color: var(--muted-2); }
.ip-mock__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ip-stat {
  background: rgba(255,255,255,.04); border-radius: 12px; padding: 12px;
  display: flex; flex-direction: column; gap: 4px;
}
.ip-stat__label {
  font-size: 10px; color: var(--muted-2); text-transform: uppercase;
  letter-spacing: .06em; font-weight: 600;
}
.ip-stat strong {
  font-family: 'Unbounded', sans-serif; font-size: 17px; font-weight: 600; color: #fff;
}
.ip-stat--good strong { color: var(--whatsapp); }
.ip-stat--bad strong { color: var(--yellow); }
.ip-mock__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ip-chip {
  font-size: 11px; padding: 5px 10px; border-radius: 999px;
  background: rgba(255,255,255,.06); color: #CFC9BB;
}
.ip-chip--cash { background: rgba(255,207,26,.14); color: var(--yellow); }
.ip-chip--card { background: rgba(31,138,91,.18); color: var(--whatsapp); }
.ip-mock__row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 0; border-top: 1px solid rgba(255,255,255,.06);
}
.ip-mock__car {
  font-weight: 700; font-size: 13px; color: #fff;
}
.ip-mock__row small { display: block; color: var(--muted-2); font-size: 11px; margin-top: 2px; }
.ip-pill {
  font-size: 11px; padding: 6px 12px; border-radius: 999px; font-weight: 700;
  white-space: nowrap;
}
.ip-pill--ok { background: rgba(31,138,91,.2); color: var(--whatsapp); }
.ip-pill--warn { background: rgba(255,207,26,.18); color: var(--yellow); }
.ip-pill--new { background: rgba(255,255,255,.1); color: #fff; }

/* Car illustration (показывается в секции «Любой тариф Яндекс Go») */
.hero-car { display: flex; justify-content: center; align-items: center; }
.hero-car img {
  max-width: 100%; height: auto; display: block;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,.45));
}
@media (max-width: 900px) {
  .hero-car { margin-top: 8px; }
  .hero-car img { max-width: 460px; }
}

/* Tariff picker (radio cards) inside the calculator */
.tariff-picker { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
@media (max-width: 600px) {
  .tariff-picker { grid-template-columns: repeat(2, 1fr); }
}
.tariff-radio { display: block; cursor: pointer; position: relative; }
.tariff-radio input { position: absolute; opacity: 0; pointer-events: none; }
.tariff-radio > span {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px;
  padding: 18px 10px;
  border: 1.5px solid var(--line-2);
  border-radius: 14px;
  background: #fff;
  transition: background .15s, border-color .15s, color .15s;
  text-align: center;
  min-height: 56px;
}
.tariff-radio > span strong { font-family: 'Unbounded', sans-serif; font-size: 14px; color: var(--ink); font-weight: 600; }
.tariff-radio > span small { font-size: 11px; color: var(--muted); }
.tariff-radio:hover > span { border-color: var(--ink); }
.tariff-radio input:checked + span {
  background: var(--ink);
  border-color: var(--ink);
}
.tariff-radio input:checked + span strong { color: var(--yellow); }
.tariff-radio input:checked + span small { color: var(--muted-2); }
.tariff-radio input:focus-visible + span { box-shadow: 0 0 0 3px rgba(255,207,26,.4); }

/* --- FAQ accordion ----------------------------------------------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 4px 24px;
}
.faq details[open] { border-color: var(--ink); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-weight: 600; font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: 0 0 28px; width: 28px; height: 28px;
  border-radius: 50%; background: var(--paper-3);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Manrope'; font-weight: 400; font-size: 22px;
  transition: transform .2s;
}
.faq details[open] summary::after { content: "−"; background: var(--yellow); }
.faq details > div { padding: 0 0 22px; color: var(--muted); line-height: 1.6; max-width: 800px; }
.faq details > div p + p { margin-top: 10px; }

/* --- Breadcrumbs ------------------------------------------------- */
.breadcrumbs { padding: 18px 0 0; font-size: 14px; color: var(--muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-2); }
.breadcrumbs [aria-current="page"] { color: var(--ink); }

/* --- Tables ------------------------------------------------------ */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; min-width: 560px; }
th, td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); font-size: 15px; }
th { background: var(--paper-2); font-weight: 600; color: var(--ink); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
tr:last-child td { border-bottom: 0; }

/* --- Footer ------------------------------------------------------ */
.site-footer { background: var(--ink); color: #fff; padding: 72px 0 32px; }
.site-footer h4 { font-family: 'Unbounded'; font-size: 13px; color: var(--yellow); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 18px; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
@media (max-width: 980px) { .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer .logo { margin-bottom: 16px; }
.site-footer__about { color: var(--muted-2); font-size: 14px; max-width: 320px; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer a { color: #CFC9BB; font-size: 15px; }
.site-footer a:hover { color: var(--yellow); }
.site-footer__contact .item { color: #CFC9BB; font-size: 15px; margin-bottom: 12px; }
.site-footer__contact .item strong { display: block; color: #fff; margin-bottom: 2px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.site-footer__bottom { padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; color: var(--muted-2); font-size: 13px; }
.site-footer__social { display: flex; gap: 10px; margin-top: 18px; }
.site-footer__social a {
  width: 40px; height: 40px; border-radius: 11px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.14); color: #CFC9BB;
  transition: color .15s, border-color .15s, background .15s;
}
.site-footer__social a:hover { color: var(--ink); background: var(--yellow); border-color: var(--yellow); }

/* --- Floating contact buttons (звонок + WhatsApp) ---------------- */
.fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: flex; flex-direction: column; gap: 12px;
}
.fab__btn {
  width: 56px; height: 56px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px -4px rgba(0,0,0,.35);
  transition: transform .15s, box-shadow .15s;
  color: #fff;
}
.fab__btn:hover { transform: translateY(-2px); box-shadow: 0 10px 32px -6px rgba(0,0,0,.45); }
.fab__btn svg { width: 28px; height: 28px; fill: #fff; }
.fab__btn--wa { background: var(--whatsapp); }
.fab__btn--wa:hover { background: var(--whatsapp-dark); }
.fab__btn--call { background: var(--ink); }
.fab__btn--call:hover { background: #2a2825; }
@media (max-width: 480px) {
  .fab { right: 14px; bottom: 14px; }
  .fab__btn { width: 52px; height: 52px; }
  .fab__btn svg { width: 24px; height: 24px; }
}

/* --- Misc helpers ----------------------------------------------- */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; } .mt-5 { margin-top: 48px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 32px; } .mb-5 { margin-bottom: 48px; }
.flex { display: flex; } .flex-col { flex-direction: column; } .items-center { align-items: center; } .justify-between { justify-content: space-between; }
.gap-2 { gap: 16px; } .gap-3 { gap: 24px; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--radius-pill); background: var(--paper-3); font-size: 13px; font-weight: 600; color: var(--ink); }
.tag--yellow { background: var(--yellow); }
.tag--dark { background: var(--ink); color: #fff; }
.tag--kaspi { background: var(--kaspi); color: #fff; }
.divider { height: 1px; background: var(--line); margin: 32px 0; border: 0; }

/* --- Article body (blog) ----------------------------------------- */
.article { max-width: 760px; margin: 0 auto; }
.article-meta { display: flex; gap: 14px; flex-wrap: wrap; color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article h2 { font-size: clamp(23px, 3vw, 30px); margin: 42px 0 14px; }
.article h3 { font-size: 20px; margin: 28px 0 10px; }
.article p { font-size: 17px; line-height: 1.7; color: var(--ink-3); margin-bottom: 18px; }
.article ul, .article ol { margin: 0 0 22px 22px; }
.article li { font-size: 17px; line-height: 1.7; color: var(--ink-3); margin-bottom: 8px; }
.article ul li { list-style: disc; }
.article ol li { list-style: decimal; }
.article a:not(.btn) { color: var(--ink); border-bottom: 1px solid var(--yellow-dark); }
.article a:not(.btn):hover { background: var(--yellow-2); }
.article blockquote { margin: 28px 0; padding: 18px 24px; border-left: 4px solid var(--yellow); background: var(--paper-2); border-radius: 0 var(--radius) var(--radius) 0; font-size: 17px; color: var(--ink-2); }
.article .callout { margin: 28px 0; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-2); font-size: 16px; }
.article .callout strong { color: var(--ink); }
.article__cta { margin-top: 44px; padding: 32px; background: var(--ink); color: #fff; border-radius: var(--radius-lg); }
.article__cta h3 { color: #fff; margin: 0 0 10px; }
.article__cta p { color: var(--muted-2); margin-bottom: 20px; }

/* --- Blog post cards --------------------------------------------- */
.post-card { display: flex; flex-direction: column; gap: 12px; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.post-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--ink); }
.post-card__tag { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.post-card h3 { font-size: 19px; line-height: 1.3; color: var(--ink); }
.post-card p { color: var(--muted); font-size: 15px; flex: 1; }
.post-card__more { margin-top: auto; padding-top: 8px; font-weight: 600; color: var(--ink); display: inline-flex; gap: 6px; }
.post-card__more::after { content: "→"; transition: transform .2s; }
.post-card:hover .post-card__more::after { transform: translateX(4px); }

/* --- Reviews (2ГИС) ---------------------------------------------- */
.reviews-rating { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.reviews-rating__num { font-family: 'Unbounded', sans-serif; font-size: 40px; line-height: 1; color: var(--ink); }
.reviews-stars { color: var(--yellow-dark); font-size: 22px; letter-spacing: 2px; }
.reviews-rating__meta { color: var(--muted); font-size: 14px; }
.review-card {
  display: flex; flex-direction: column; gap: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; text-decoration: none;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
a.review-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--ink); }
.review-card__head { display: flex; align-items: center; justify-content: space-between; }
.review-card__stars { color: var(--yellow-dark); font-size: 16px; letter-spacing: 1px; }
.review-card__src { font-size: 12px; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.review-card__src::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #39c36e; }
.review-card__text { color: var(--ink-3); font-size: 15px; line-height: 1.6; flex: 1; }
.review-card__author { color: var(--ink); font-size: 14px; font-weight: 700; }
.review-card__author span { font-weight: 400; color: var(--muted-2); }
.section--dark .reviews-rating__num { color: #fff; }
.section--dark .reviews-rating__meta { color: var(--muted-2); }
.section--dark .review-card { background: #161512; border-color: rgba(255,255,255,.08); }
.section--dark a.review-card:hover { border-color: var(--yellow); box-shadow: none; }
.section--dark .review-card__text { color: #CFC9BB; }
.section--dark .review-card__author { color: #fff; }
.section--dark .review-card__src { color: var(--muted-2); }

/* --- Form -------------------------------------------------------- */
.form { display: grid; gap: 16px; max-width: 520px; }
.form .field { display: flex; flex-direction: column; gap: 6px; }
.form label { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.form input, .form select, .form textarea {
  padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 12px;
  background: #fff; transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(255,207,26,.35);
}
.form textarea { min-height: 120px; resize: vertical; }
.form .hint { font-size: 13px; color: var(--muted); }
.form .checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.form .checkbox input { width: 18px; height: 18px; accent-color: var(--ink); margin-top: 2px; }

/* --- Print ------------------------------------------------------- */
@media print {
  .site-header, .site-footer, .btn-row, .fab { display: none; }
}
