/* ==========================================================================
   Manzilo Landing — styles
   Design tokens from the Neo (Eskhata) design system.
   Font: Inter (self-hosted) as a stand-in for TT Norms Pro.
   ========================================================================== */

/* ── Fonts ──────────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/Inter-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/Inter-Medium.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/Inter-Bold.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../assets/fonts/Inter-ExtraBold.woff2') format('woff2');
}

/* ── Design tokens ──────────────────────────────────────────────────────── */
:root {
  /* Brand ramp */
  --brand: #0050C8;
  --brand-700: #003078;
  --brand-600: #0040A0;
  --brand-400: #3373D3;
  --brand-100: #CCDCF4;
  --brand-50: #E5EDF9;

  /* Semantic status */
  --success: #16A34A;
  --warning: #FF9F1C;
  --error: #DC2626;
  --secondary: #6FA9E4;

  /* Text */
  --text-primary: #111318;
  --text-secondary: #5B6472;
  --text-tertiary: #8A94A6;
  --text-on-brand: #FFFFFF;

  /* Surfaces & lines */
  --bg-screen: #F5F7FA;
  --surface-card: #FFFFFF;
  --line: #E7EBF0;
  --footer-bg: #0A1424;

  /* Radii */
  --r-xs: 8px;
  --r-s: 16px;
  --r-m: 20px;
  --r-l: 24px;
  --r-card: 26px;
  --r-round: 1000px;

  /* Spacing */
  --sp-4: 4px;
  --sp-8: 8px;
  --sp-12: 12px;
  --sp-16: 16px;
  --sp-20: 20px;
  --sp-24: 24px;
  --sp-32: 32px;
  --sp-40: 40px;
  --sp-56: 56px;

  /* Elevation */
  --shadow-card: 0 4px 16px rgba(9, 9, 9, .06);
  --shadow-pop: 0 8px 32px rgba(9, 9, 9, .12);
  --shadow-nav: 0 2px 16px rgba(9, 9, 9, .06);

  /* Type & motion */
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --dur: 200ms;

  /* Layout */
  --container: 1200px;
}

/* ── Reset & base ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--bg-screen);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

/* ── Layout helpers ─────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-24);
}

.section { padding-block: clamp(48px, 8vw, 96px); }

/* Offset anchor targets so the sticky header doesn't overlap them */
section[id], main[id] { scroll-margin-top: 88px; }

/* ── Scroll reveal ──────────────────────────────────────────────────────────
   Progressive enhancement: content is visible by default. The hidden initial
   state applies only once JS marks the document with .js-reveal, so if JS is
   disabled or fails, nothing is ever left invisible. */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  will-change: opacity, transform;
}
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
}

.section-head { max-width: 640px; margin-bottom: var(--sp-40); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: var(--sp-12);
}
.section-head p { color: var(--text-secondary); margin-top: var(--sp-12); }

/* ── Typography utilities (Neo scale) ───────────────────────────────────── */
.display {
  font-weight: 800;
  font-size: clamp(34px, 5.5vw, 52px);
  line-height: 1.08;
  letter-spacing: -.5px;
}
.h0 { font-weight: 700; font-size: clamp(28px, 4vw, 34px); line-height: 1.12; letter-spacing: -1px; }
.h1 { font-weight: 700; font-size: clamp(24px, 3vw, 30px); line-height: 1.15; letter-spacing: -.5px; }
.h2 { font-weight: 700; font-size: 18px; line-height: 1.25; letter-spacing: -.5px; }
.h3 { font-weight: 500; font-size: 18px; line-height: 1.25; letter-spacing: -.5px; }
.body-l { font-size: 16px; line-height: 1.5; }
.body-s { font-size: 14px; line-height: 1.45; }
.caption { font-size: 12px; line-height: 1.35; }
.text-secondary { color: var(--text-secondary); }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-8);
  padding: 12px 22px;
  border-radius: var(--r-round);
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-600); }
.btn-ghost { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-ghost:hover { background: var(--brand-50); }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-on-brand { background: #fff; color: var(--brand); }
.btn-on-brand:hover { background: rgba(255, 255, 255, .88); }

/* ── Header ─────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-24);
  min-height: 68px;
}
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand-logo { height: 30px; width: auto; }

.nav-panel {
  display: flex;
  align-items: center;
  gap: var(--sp-32);
  flex: 1;
  justify-content: flex-end;
}
.nav { display: flex; align-items: center; gap: var(--sp-24); }
.nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--dur) var(--ease);
}
.nav a:hover { color: var(--brand); }

.header-actions { display: flex; align-items: center; gap: var(--sp-16); }

.lang-switch {
  display: inline-flex;
  padding: 3px;
  background: var(--bg-screen);
  border: 1px solid var(--line);
  border-radius: var(--r-round);
}
.lang-switch button {
  padding: 6px 12px;
  border: none;
  background: transparent;
  border-radius: var(--r-round);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.lang-switch button.is-active { background: var(--brand); color: #fff; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  background: #fff;
}
.burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile header */
@media (max-width: 860px) {
  .burger { display: flex; }
  .nav-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: var(--sp-20);
    padding: var(--sp-24);
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-pop);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
  }
  .nav-panel.open { opacity: 1; visibility: visible; transform: none; }
  .nav { flex-direction: column; align-items: flex-start; gap: var(--sp-16); }
  .nav a { font-size: 17px; }
  .header-actions { flex-direction: column; align-items: stretch; gap: var(--sp-16); }
  .header-actions .btn { width: 100%; }
  .lang-switch { align-self: flex-start; }
}

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; }
.hero-blob {
  position: absolute;
  top: -180px;
  right: -160px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(0, 80, 200, .18), rgba(0, 80, 200, 0) 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: var(--sp-56);
  padding-block: clamp(48px, 7vw, 88px);
}
.hero-badge {
  display: inline-block;
  padding: 7px 14px;
  border-radius: var(--r-round);
  background: var(--brand-50);
  color: var(--brand);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: var(--sp-20);
}
.hero-copy .display { margin-bottom: var(--sp-20); }
.hero-sub { max-width: 520px; margin-bottom: var(--sp-32); }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--sp-16); }

/* Phone mockup */
.hero-visual { display: flex; justify-content: center; }
.phone {
  position: relative;
  width: 300px;
  aspect-ratio: 300 / 610;
  background: #0F1B34;
  border-radius: 44px;
  padding: 12px;
  box-shadow: var(--shadow-pop);
}
.phone-notch {
  position: absolute;
  top: 12px; left: 50%;
  transform: translateX(-50%);
  width: 120px; height: 26px;
  background: #0F1B34;
  border-radius: 0 0 16px 16px;
  z-index: 2;
}
.phone-screen {
  height: 100%;
  border-radius: 34px;
  background: linear-gradient(180deg, #EAF1FB 0%, #F5F7FA 40%);
  padding: 42px 16px 20px;
  overflow: hidden;
}
.ph-searchbar {
  display: flex; align-items: center; gap: 10px;
  background: #fff;
  border-radius: var(--r-round);
  padding: 12px 16px;
  box-shadow: var(--shadow-card);
  margin-bottom: var(--sp-16);
  font-size: 13px; color: var(--text-secondary);
}
.ph-search-ico {
  width: 14px; height: 14px; flex: none;
  border: 2px solid var(--brand); border-radius: 50%;
  position: relative;
}
.ph-search-ico::after {
  content: ""; position: absolute; right: -4px; bottom: -3px;
  width: 6px; height: 2px; background: var(--brand); transform: rotate(45deg); border-radius: 2px;
}
.ph-card {
  background: #fff;
  border-radius: var(--r-m);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  margin-bottom: var(--sp-16);
}
.ph-photo { height: 92px; background: linear-gradient(135deg, #0050C8, #3373D3); }
.ph-photo-2 { background: linear-gradient(135deg, #16A34A, #45B56E); }
.ph-card-body { padding: 12px 14px; }
.ph-price { font-weight: 700; font-size: 15px; }
.ph-meta { font-size: 12px; color: var(--text-tertiary); margin-top: 2px; }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: var(--sp-40); text-align: center; }
  .hero-badge, .hero-sub { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .hero-blob { top: -120px; right: -120px; width: 380px; height: 380px; }
}
@media (max-width: 420px) {
  .phone { width: 260px; }
}

/* ── Stats ──────────────────────────────────────────────────────────────── */
.stats {
  background: var(--brand);
  color: #fff;
  border-radius: var(--r-card);
  margin-inline: var(--sp-16);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-24);
  text-align: center;
}
.stat { display: flex; flex-direction: column; gap: var(--sp-8); }
.stat-num { font-weight: 800; font-size: clamp(28px, 4vw, 44px); line-height: 1; letter-spacing: -1px; }
.stat-label { font-size: 15px; color: rgba(255, 255, 255, .82); }
.stats .stat + .stat { position: relative; }
@media (max-width: 700px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-32) var(--sp-24); }
}

/* Claims variant: verifiable statements instead of numbers. Text is longer than
   a figure, so the "number" slot drops to a headline size and the grid to 3 up. */
.stats-claims .stats-grid { grid-template-columns: repeat(3, 1fr); gap: var(--sp-32); }
.stats-claims .stat-num {
  font-size: clamp(19px, 2.2vw, 23px);
  line-height: 1.2;
  letter-spacing: -.4px;
  text-wrap: balance;
}
.stats-claims .stat-label { font-size: 14px; line-height: 1.5; }
@media (max-width: 700px) {
  .stats-claims .stats-grid { grid-template-columns: 1fr; gap: var(--sp-24); }
}

/* ── Cards & icon badge (shared) ────────────────────────────────────────── */
.section-alt { background: #fff; }
.card {
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  padding: var(--sp-32);
}
.section-alt .card { border-color: var(--line); }
.icon-badge {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: var(--r-m);
  background: var(--brand-50);
  color: var(--brand);
  margin-bottom: var(--sp-20);
}

/* ── How it works ───────────────────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-24);
}
.step { position: relative; }
.step-num {
  position: absolute;
  top: var(--sp-24);
  right: var(--sp-24);
  font-weight: 800;
  font-size: 40px;
  line-height: 1;
  color: var(--brand-50);
}
.step h3, .feature h3 { margin-bottom: var(--sp-8); }

/* ── Features grid ──────────────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-24);
}
.feature {
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-pop); }

@media (max-width: 900px) {
  .steps, .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .steps, .features-grid { grid-template-columns: 1fr; }
  .card { padding: var(--sp-24); }
}

/* ── Audience ───────────────────────────────────────────────────────────── */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-24);
}
.audience-card h3 { margin-bottom: var(--sp-20); }
.checklist { display: grid; gap: var(--sp-12); margin-bottom: var(--sp-24); }
.checklist li {
  position: relative;
  padding-left: 32px;
  color: var(--text-secondary);
  font-size: 15px;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 1px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--success);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat, linear-gradient(#000, #000);
  -webkit-mask-composite: destination-out;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
@media (max-width: 700px) {
  .audience-grid { grid-template-columns: 1fr; }
}

/* ── Cities ─────────────────────────────────────────────────────────────── */
.cities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-20);
}
.city-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-card);
  overflow: hidden;
  padding: var(--sp-20);
  color: #fff;
  isolation: isolate;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.city-card::before {
  content: "";
  position: absolute; inset: 0; z-index: -2;
  background-size: cover;
  background-position: center;
  transition: transform 400ms var(--ease);
}
/* Scrim for the caption. Tuned against the brightest photo (Dushanbe) so the
   13px caption clears 4.5:1 against white, not just the 20px city name. */
.city-card::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(9, 15, 30, 0) 25%, rgba(9, 15, 30, .85) 100%);
}
.city-card:hover { box-shadow: var(--shadow-pop); }
.city-card:hover::before { transform: scale(1.06); }
/* City photos. The gradient is listed second so it sits *under* the photo and
   shows through only if the image fails to load — the tile is never blank. */
.city-khujand::before {
  background-image: url("../assets/img/cities/khujand.jpg"),
                    linear-gradient(135deg, #0050C8, #3373D3);
}
.city-guliston::before {
  background-image: url("../assets/img/cities/guliston.jpg"),
                    linear-gradient(135deg, #16A34A, #45B56E);
}
.city-dushanbe::before {
  background-image: url("../assets/img/cities/dushanbe.jpg"),
                    linear-gradient(135deg, #6D5DE7, #9B8CFF);
}
.city-name { font-weight: 800; font-size: 20px; }
.city-count { font-size: 13px; opacity: .9; }

/* The rest of the country, as text. A city we have no photograph of still
   belongs on the list, and a tile with someone else's picture in it would be
   the more expensive kind of shortcut. */
.city-chips {
  margin-top: var(--sp-20);
  text-align: center;
  color: var(--text-secondary);
}
.city-chips-label { color: var(--text-tertiary); }
.cities-note { margin-top: var(--sp-24); text-align: center; }

@media (max-width: 800px) { .cities-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .cities-grid { grid-template-columns: 1fr; } }

/* ── Payment, refund & service nature ───────────────────────────────────── */
.pay-card { display: flex; flex-direction: column; }
.pay-amount {
  font-weight: 800;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -1.5px;
  color: var(--brand);
  margin-bottom: var(--sp-16);
}
.pay-card h3 { margin-bottom: var(--sp-8); }

.pay-note {
  margin-top: var(--sp-24);
  padding: var(--sp-24) var(--sp-32);
  background: var(--brand-50);
  border-radius: var(--r-card);
}
.pay-note p { color: var(--text-secondary); max-width: 780px; }
.pay-note strong { color: var(--text-primary); }
.pay-links { display: flex; flex-wrap: wrap; gap: var(--sp-12); margin-top: var(--sp-20); }

.pay-methods { margin-top: var(--sp-40); text-align: center; }
.pay-methods-title { margin-bottom: var(--sp-20); }
/* Equal tiles so logos of very different proportions read as one row. Each logo
   is bounded by both max-height and max-width with auto sizing, so it scales
   down proportionally and is never stretched or cropped. */
/* Explicit column counts rather than auto-fit: six tiles must break 6 → 3 → 2,
   never leaving a single orphan on the last row. */
.pay-logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--sp-16);
  max-width: 1100px;
  margin-inline: auto;
}
.pay-logo {
  display: grid;
  place-items: center;
  height: 72px;
  padding: 0 var(--sp-20);
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  box-shadow: var(--shadow-card);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.pay-logo:hover { transform: translateY(-2px); box-shadow: var(--shadow-pop); }
.pay-logo img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 30px;
}
/* Mastercard ships a stacked lockup (symbol over wordmark). Capped at the same
   height as the wordmarks its symbol would shrink below legibility, so this
   variant gets more vertical room — the optical weight then matches. */
.pay-logo-stacked img { max-height: 44px; }

.pay-methods-note { margin-top: var(--sp-20); }

@media (max-width: 1040px) {
  .pay-logos { grid-template-columns: repeat(3, 1fr); max-width: 620px; }
}
@media (max-width: 600px) {
  .pay-note { padding: var(--sp-20); }
  .pay-logos { grid-template-columns: repeat(2, 1fr); gap: var(--sp-12); max-width: none; }
  .pay-logo { height: 64px; padding: 0 var(--sp-12); }
  .pay-logo img { max-height: 26px; }
  .pay-logo-stacked img { max-height: 38px; }
}

/* ── Download ───────────────────────────────────────────────────────────── */
.eyebrow.on-brand { color: rgba(255, 255, 255, .85); }
.download-band {
  display: grid;
  align-items: center;
  gap: var(--sp-40);
  text-align: center;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-700) 100%);
  color: #fff;
  border-radius: var(--r-card);
  padding: clamp(28px, 5vw, 56px);
  overflow: hidden;
}
.download-copy .h0 { margin-bottom: var(--sp-16); }
.download-sub { color: rgba(255, 255, 255, .88); max-width: 560px; margin: 0 auto var(--sp-32); }
.store-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-16); }
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-12);
  padding: 10px 20px;
  background: #fff;
  color: #0F1B34;
  border-radius: var(--r-s);
  transition: transform var(--dur) var(--ease);
}
.store-badge:hover { transform: translateY(-2px); }
.store-badge span { display: flex; flex-direction: column; line-height: 1.15; }
.store-badge small { font-size: 11px; color: var(--text-secondary); }
.store-badge b { font-size: 16px; font-weight: 700; }


/* ── FAQ ────────────────────────────────────────────────────────────────── */
.faq-wrap { max-width: 820px; }
.faq-list { display: flex; flex-direction: column; gap: var(--sp-12); }
.faq-item {
  background: var(--bg-screen);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  overflow: hidden;
}
.faq-item.open { background: #fff; border-color: var(--brand-100); box-shadow: var(--shadow-card); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-16);
  width: 100%;
  padding: var(--sp-20) var(--sp-24);
  background: transparent;
  border: none;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}
.faq-q::after {
  content: "";
  flex: none;
  width: 12px; height: 12px;
  border-right: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(45deg);
  transition: transform var(--dur) var(--ease);
}
.faq-q[aria-expanded="true"]::after { transform: rotate(-135deg); }
.faq-a {
  padding: 0 var(--sp-24) var(--sp-24);
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.55;
}

/* ── Footer ─────────────────────────────────────────────────────────────── */
.site-footer { background: var(--footer-bg); color: rgba(255, 255, 255, .72); }
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--sp-40);
  padding-block: var(--sp-56);
}
.footer-logo { height: 30px; width: auto; margin-bottom: var(--sp-20); }
.footer-desc { max-width: 320px; font-size: 14px; line-height: 1.6; margin-bottom: var(--sp-24); }
.socials { display: flex; gap: var(--sp-12); }
.social {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  transition: background var(--dur) var(--ease);
}
.social:hover { background: var(--brand); }
.footer-col { display: flex; flex-direction: column; gap: var(--sp-12); }
.footer-title { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: var(--sp-8); }
.footer-col a { font-size: 14px; color: rgba(255, 255, 255, .72); transition: color var(--dur) var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-16);
  padding-block: var(--sp-24);
  font-size: 13px;
}
.footer-note { font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, .58); }

/* Legal-entity details. Rendered as static markup on every page — a bank's
   compliance officer must be able to identify the merchant without JS. */
.footer-requisites {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-block: var(--sp-20);
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .58);
}
.footer-requisites p { max-width: 980px; }

.footer-legal { display: flex; flex-wrap: wrap; gap: var(--sp-24); }
.footer-legal a:hover { color: #fff; }
@media (max-width: 820px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: var(--sp-32); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
}

/* ── Legal & content pages ──────────────────────────────────────────────────
   /oferta, /privacy, /refund, /terms, /about. Long-form reading: one column,
   generous line-height, headings that survive being skimmed by a reviewer. */
.page-head { padding-block: clamp(40px, 6vw, 64px) var(--sp-24); }
.page-head .container { max-width: 820px; }
.page-head .eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: var(--sp-12);
}
.page-meta { margin-top: var(--sp-16); font-size: 14px; color: var(--text-tertiary); }

.legal { padding-bottom: clamp(48px, 8vw, 96px); }
.legal .container { max-width: 820px; }
.legal h2 {
  font-weight: 700;
  font-size: clamp(20px, 2.6vw, 24px);
  line-height: 1.25;
  letter-spacing: -.5px;
  margin-top: var(--sp-40);
  margin-bottom: var(--sp-16);
}
.legal h3 {
  font-weight: 700;
  font-size: 17px;
  line-height: 1.3;
  margin-top: var(--sp-24);
  margin-bottom: var(--sp-8);
}
.legal p, .legal li { font-size: 15px; line-height: 1.65; color: var(--text-secondary); }
.legal p { margin-bottom: var(--sp-12); }
.legal strong { color: var(--text-primary); }
.legal ol, .legal ul { margin: 0 0 var(--sp-16); padding-left: var(--sp-24); }
.legal ol { list-style: decimal; }
.legal ul { list-style: disc; }
.legal li { margin-bottom: var(--sp-8); }
.legal a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { color: var(--brand-600); }
.legal > .container > :first-child { margin-top: 0; }

.legal-notice {
  padding: var(--sp-16) var(--sp-20);
  background: var(--brand-50);
  border-radius: var(--r-s);
  font-size: 14px;
  margin-bottom: var(--sp-24);
}
.legal-notice p { margin-bottom: 0; }

/* Scenario tables (refund policy). Scrolls inside its own box on narrow screens. */
.table-wrap { overflow-x: auto; margin-bottom: var(--sp-24); }
.legal table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  overflow: hidden;
  font-size: 14px;
}
.legal th, .legal td {
  padding: var(--sp-12) var(--sp-16);
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.legal th { background: var(--bg-screen); font-weight: 700; color: var(--text-primary); }
.legal td { color: var(--text-secondary); }
.legal tr:last-child td { border-bottom: none; }

/* Card on the page background, which is already --bg-screen — must be lighter
   than the page, not the same colour, or it reads as an empty outline. */
.requisites-box {
  margin-top: var(--sp-24);
  padding: var(--sp-24);
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: var(--r-s);
}
.requisites-box dl { display: grid; grid-template-columns: minmax(180px, auto) 1fr; gap: var(--sp-8) var(--sp-24); }
.requisites-box dt { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.requisites-box dd { margin: 0; font-size: 14px; color: var(--text-secondary); }
@media (max-width: 560px) {
  .requisites-box dl { grid-template-columns: 1fr; gap: var(--sp-4); }
  .requisites-box dd { margin-bottom: var(--sp-12); }
}

/* ── Уведомление об аналитике ───────────────────────────────────────────── */
/* Не модальное окно: фокус не перехватывается, страница остаётся доступной.
   z-index ниже шапки (50), чтобы выпадающее мобильное меню оставалось сверху;
   баннер прижат к низу экрана, так что они не пересекаются. */
.cookie-notice {
  position: fixed;
  left: var(--sp-16);
  right: var(--sp-16);
  bottom: var(--sp-16);
  z-index: 40;
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--sp-20);
  padding: var(--sp-16) var(--sp-20);
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  box-shadow: var(--shadow-pop);
}
/* display: flex перебивает штатное поведение атрибута hidden — без этой
   строки скрытый баннер остаётся видимым. */
.cookie-notice[hidden] { display: none; }

.cookie-notice p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
}
.cookie-notice a { color: var(--brand); }
.cookie-notice .btn { flex: 0 0 auto; }

@media (max-width: 560px) {
  .cookie-notice {
    flex-direction: column;
    align-items: stretch;
    gap: var(--sp-12);
  }
  .cookie-notice .btn { width: 100%; }
}
