/* ═══════════════════════════════════════════════════════════════
   Easy Sugurta — Main Page Styles v3.0
   Design: White bg · Navy #1a2b5e · Blue #2563eb CTA
   ═══════════════════════════════════════════════════════════════ */

:root {
  --navy:        #1a2b5e;
  --navy-dark:   #111e42;
  --navy-light:  #243470;
  --green:       #2563eb;
  --green-dark:  #1d4ed8;
  --green-glow:  rgba(37,99,235,0.22);
  --blue:        #2563eb;
  --blue-dark:   #1d4ed8;
  --blue-light:  #93c5fd;
  --blue-50:     #eef2ff;
  --white:       #ffffff;
  --gray-50:     #f8fafc;
  --gray-100:    #f1f5f9;
  --gray-200:    #e2e8f0;
  --gray-300:    #cbd5e1;
  --gray-400:    #94a3b8;
  --gray-500:    #64748b;
  --gray-600:    #475569;
  --gray-700:    #334155;
  --gray-800:    #1e293b;
  --gray-900:    #0f172a;
  --ink:         #0f172a; /* fixed dark — does NOT invert in dark mode, for CTAs that must stay dark-on-light */
  --red:         #ef4444;
  --radius:      14px;
  --radius-lg:   20px;
  --shadow:      0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg:   0 8px 40px rgba(0,0,0,0.13);
  --shadow-navy: 0 8px 32px rgba(26,43,94,0.2);
  --transition:  0.2s ease;
  --font:        'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', system-ui, sans-serif;
}

/* ── Dark mode vars ── */
body.dark {
  --white:     #0b1220;
  --gray-50:   #101828;
  --gray-100:  #1a2235;
  --gray-200:  #2a3450;
  --gray-300:  #3a4a6a;
  --gray-400:  #6b7ea0;
  --gray-500:  #8494b5;
  --gray-600:  #9dafc8;
  --gray-700:  #c0cfdf;
  --gray-800:  #dce6f0;
  --gray-900:  #f1f5f9;
  --shadow:    0 4px 20px rgba(0,0,0,0.3);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.4);
  --shadow-navy: 0 8px 32px rgba(0,0,0,0.5);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 16px;
  color: var(--gray-900);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.65;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}
input, textarea {
  -webkit-user-select: text;
  -moz-user-select: text;
  user-select: text;
}
a { color: inherit; text-decoration: none; }
button { font-family: var(--font); cursor: pointer; border: none; }
img { max-width: 100%; display: block; }

/* ── Container ── */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 768px) { .container { padding: 0 40px; } }

/* ════════════════════════════════════
   HEADER — floating pill nav
════════════════════════════════════ */
.header {
  position: sticky;
  top: 0;
  z-index: 800;
  background: var(--white);
  padding: 14px 16px 8px;
}
@media (min-width: 768px) { .header { padding: 20px 24px 10px; } }
.header-container {
  display: flex;
  align-items: center;
  height: 60px;
  gap: 12px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 8px 0 20px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.05);
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-mark {
  width: 34px;
  height: 34px;
  background: var(--blue);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}
.header-logo-text {
  font-size: 18px;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.02em;
}
.header-logo-text .hl-accent { color: var(--blue); }

.header-nav {
  display: none;
  gap: 2px;
  margin-left: 20px;
}
@media (min-width: 900px) { .header-nav { display: flex; } }
.header-nav a {
  color: var(--gray-600);
  font-size: 14px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  transition: all var(--transition);
}
.header-nav a:hover { background: var(--gray-200); color: var(--gray-900); }


.header-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* icon button (theme, admin) */
.hdr-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--shadow);
  color: var(--gray-600);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  font-size: 15px;
}
.hdr-icon-btn:hover { background: var(--ink); color: #fff; }

.hdr-outline-btn {
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  color: var(--gray-800);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hdr-outline-btn:hover { background: var(--gray-200); }

.hdr-green-btn {
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hdr-green-btn:hover { opacity: 0.85; }

/* Theme toggle (keep existing id reference) */
.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--shadow);
  color: var(--gray-600);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
}
.theme-toggle:hover { background: var(--ink); color: #fff; }

/* Lang dropdown - preserve function */
.lang-dropdown { position: relative; }
.lang-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  padding: 0 12px;
  height: 36px;
  color: var(--gray-700);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition);
}
.lang-dropdown-btn:hover { background: var(--gray-200); }
.lang-icon { flex-shrink: 0; }
.lang-arrow { flex-shrink: 0; opacity: 0.6; }
.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  min-width: 140px;
  z-index: 200;
  display: none;
}
.lang-dropdown-menu.open,
.lang-dropdown.open .lang-dropdown-menu { display: block; }
.lang-option {
  display: block;
  width: 100%;
  padding: 11px 18px;
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
  cursor: pointer;
  text-align: left;
  transition: background var(--transition);
}
.lang-option:hover { background: var(--gray-100); }
.lang-option.active { color: var(--navy); font-weight: 800; }

/* header search (hidden on small screens) */
.header-search {
  display: none;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  padding: 0 12px;
  height: 36px;
  color: var(--gray-500);
  font-size: 13px;
  cursor: pointer;
}
@media (min-width: 1100px) { .header-search { display: flex; } }

/* User bar (shown when authenticated) */
.user-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  padding: 0 12px;
  height: 36px;
  color: var(--gray-900);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
}
.user-bar:hover { background: var(--gray-200); }
.user-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
}

/* mobile menu button */
.mobile-menu-btn {
  width: 36px;
  height: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: 999px;
  cursor: pointer;
}
.mobile-menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
}
@media (min-width: 900px) { .mobile-menu-btn { display: none; } }

/* mobile menu overlay */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 900;
  align-items: flex-start;
  justify-content: flex-end;
}
.mobile-menu-overlay.open { display: flex; }
.mobile-menu-panel {
  background: var(--navy);
  width: 280px;
  height: 100%;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  animation: slideLeft 0.25s ease;
}
@keyframes slideLeft { from { transform: translateX(100%); } to { transform: translateX(0); } }
.mobile-menu-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 8px 20px;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 12px;
}
.mobile-logo-icon {
  width: 34px;
  height: 34px;
  background: var(--blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.mobile-menu-panel a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  transition: background var(--transition);
}
.mobile-menu-panel a:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* ════════════════════════════════════
   HERO
════════════════════════════════════ */
.hero {
  background: linear-gradient(160deg, var(--white) 0%, var(--gray-50) 55%, var(--gray-100) 100%);
  padding: 80px 0 108px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -150px; right: -150px;
  width: 550px; height: 550px;
  background: radial-gradient(circle, rgba(37,99,235,0.08) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(37,99,235,0.05) 0%, transparent 65%);
  pointer-events: none;
}
.hero-no-plate {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-400);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  transition: color var(--transition);
}
.hero-no-plate:hover { color: var(--gray-900); }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-50);
  border: 1px solid #dbe4ff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero-title {
  font-size: clamp(32px, 5.5vw, 56px);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.hero-title .ht-accent { color: var(--blue); }
.hero-title .ht-line { display: block; }
.hero-subtitle {
  font-size: 17px;
  color: var(--gray-500);
  margin-bottom: 0;
  line-height: 1.6;
  max-width: 460px;
}

/* ── Hero canvas: no frame, no boxed panel — car and card float directly on
   the page background, like a clean product shot ── */
.hero-mega-panel {
  position: relative;
  min-height: 1000px;
}
@media (min-width: 1200px) { .hero-mega-panel { min-height: 560px; } }

.hero-mega-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Calculation card — full width above the car on narrow/medium screens
   (so nothing overlaps the car), top-right beside it once there's room */
.hero-calc-card {
  position: absolute;
  z-index: 3;
  top: 24px;
  left: 20px; right: 20px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-lg);
}
@media (min-width: 1200px) {
  .hero-calc-card { left: auto; width: 290px; right: 24px; top: 32px; padding: 22px; }
}

.hero-product-tabs { display: none; }
@media (min-width: 1200px) {
  .hero-product-tabs {
    display: flex;
    position: absolute;
    z-index: 3;
    right: 24px;
    top: -54px;
    gap: 4px;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 999px;
    padding: 5px;
    box-shadow: var(--shadow-lg);
  }
}
.hpt-tab {
  background: none;
  color: var(--gray-500);
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font);
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition);
}
.hpt-tab:hover { color: var(--gray-900); background: var(--gray-100); }
.hpt-tab.active { background: var(--blue); color: #fff; }
body.dark .hero-product-tabs { background: var(--gray-100); border-color: var(--gray-200); }
.plate-form-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.plate-form-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
}
.plate-input-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
}
.plate-uz-flag {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 12px;
  border-right: 1px solid var(--gray-200);
  flex-shrink: 0;
}
.plate-uz-flag svg { width: 28px; height: 20px; }
.plate-uz-text { font-size: 11px; font-weight: 800; color: var(--gray-500); }
#hero-plate {
  flex: 1;
  height: 62px;
  border: none;
  padding: 0 16px;
  font-size: 24px;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  outline: none;
  background: transparent;
  font-family: var(--font);
}
#hero-plate::placeholder { color: var(--gray-300); font-size: 18px; font-weight: 600; letter-spacing: 0.04em; }

.btn-calculate {
  height: 62px;
  padding: 0 28px;
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(15,23,42,0.22);
  font-family: var(--font);
  flex-shrink: 0;
}
.btn-calculate:hover { background: #29354a; transform: translateY(-2px); box-shadow: 0 10px 28px rgba(15,23,42,0.3); }
.btn-calculate:active { transform: none; }

/* Inside the floating calc card the form is narrow — stack everything, full width */
.hero-calc-card #hero-plate { height: 50px; font-size: 19px; }
.hero-calc-card .btn-calculate { width: 100%; height: 50px; justify-content: center; padding: 0 20px; }
.hero-calc-card .hero-no-plate { display: block; margin-top: 12px; text-align: center; width: 100%; font-size: 11.5px; }

/* Travel destination picker — searchable list with flags */
.tcp-wrap { position: relative; margin-bottom: 12px; }
.tcp-input {
  width: 100%;
  height: 50px;
  border: 1px solid var(--gray-200);
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 0 16px;
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-900);
  outline: none;
  font-family: var(--font);
}
.tcp-input:focus { border-color: var(--gray-400); }
.tcp-input::placeholder { color: var(--gray-400); font-weight: 600; }
.tcp-list {
  display: none;
  position: absolute;
  z-index: 10;
  left: 0; right: 0; top: calc(100% + 6px);
  max-height: 220px;
  overflow-y: auto;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 6px;
}
.tcp-list.open { display: block; }
.tcp-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-800);
}
.tcp-item:hover { background: var(--gray-100); }
.tcp-flag { font-size: 18px; line-height: 1; }
.tcp-empty { padding: 10px; font-size: 13px; color: var(--gray-400); text-align: center; }
body.dark .tcp-input { background: var(--gray-100); }
body.dark .tcp-list { background: var(--gray-100); border-color: var(--gray-200); }
body.dark .tcp-item:hover { background: var(--gray-200); }

.hero-trust-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}
.htr-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--gray-700);
  font-weight: 600;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  padding: 7px 12px 7px 8px;
  border-radius: 999px;
  width: 100%;
}
.htr-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 2px 6px rgba(15,23,42,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Car image: large, clean product shot, fully visible — placed below the
   calc card on narrow/medium screens so nothing covers it */
.hero-car-img {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 400px;
  transform: translateX(-50%);
  width: 100%;
  max-width: 950px;
  pointer-events: none;
  filter: drop-shadow(0 34px 26px rgba(15,23,42,0.22)) drop-shadow(0 8px 10px rgba(15,23,42,0.15));
}
@media (min-width: 1200px) {
  .hero-car-img { left: -17%; top: 50%; transform: translateY(-50%); width: 88%; max-width: 1320px; }
  /* Tab switch: current car slides out left, next car slides in from the right */
  .hero-car-img { transition: opacity 0.32s ease, transform 0.32s ease; }
  .hero-car-img.hero-car-img--out { opacity: 0; transform: translateY(-50%) translateX(-70px) scale(0.94); }
  .hero-car-img.hero-car-img--in { opacity: 0; transform: translateY(-50%) translateX(70px) scale(0.94); }
  /* Travel tab: a square promo graphic, not a wide car silhouette — much narrower
     so it doesn't tower over the panel at car-sized width */
  .hero-car-img.hero-car-img--square { left: 4%; width: 50%; max-width: 640px; filter: drop-shadow(0 20px 30px rgba(15,23,42,0.25)); border-radius: 24px; }
}

/* Bottom stat row — bleeds slightly over the panel's bottom edge */
.hero-float-row {
  position: absolute;
  z-index: 3;
  left: 20px; right: 20px; bottom: -18px;
  display: flex;
  gap: 10px;
}
@media (min-width: 560px) { .hero-float-row { left: 32px; right: 32px; bottom: -22px; gap: 14px; } }

.hero-float-card {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 16px;
  padding: 10px 12px;
  box-shadow: var(--shadow-lg);
}
.hfc-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 3px 8px rgba(15,23,42,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.hfc-num { font-size: 14px; font-weight: 800; color: var(--gray-900); line-height: 1.15; }
.hfc-label { font-size: 10.5px; color: var(--gray-500); font-weight: 600; margin-top: 1px; line-height: 1.3; }

@media (min-width: 480px) {
  .hero-float-card { padding: 12px 16px; gap: 10px; }
  .hfc-icon { width: 36px; height: 36px; font-size: 16px; }
  .hfc-num { font-size: 16px; }
  .hfc-label { font-size: 11px; }
}

/* ════════════════════════════════════
   SHARED SECTION STYLES
════════════════════════════════════ */
.section { padding: 88px 0; }
.section-alt { background: var(--gray-50); }
.section-navy { background: var(--navy); }
.section-dark { background: var(--gray-900); }

.section-header { text-align: center; margin-bottom: 52px; }
.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-bottom: 10px;
}
.section-eyebrow.light { color: #93c5fd; }
.section-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin-bottom: 14px;
}
.section-title.light { color: #fff; }
.section-sub {
  font-size: 16px;
  color: var(--gray-500);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}
.section-sub.light { color: rgba(255,255,255,0.6); }

/* ════════════════════════════════════
   COMPANIES SECTION
════════════════════════════════════ */
.companies-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 600px) { .companies-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .companies-grid { grid-template-columns: repeat(3, 1fr); } }

.company-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 26px;
  position: relative;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.company-card:hover { border-color: var(--navy); box-shadow: var(--shadow-navy); transform: translateY(-4px); }
.company-card.featured { border-color: var(--blue); }
.company-card.featured:hover { border-color: var(--blue-dark); box-shadow: 0 8px 32px rgba(37,99,235,0.15); }

.cc-top-badge {
  position: absolute;
  top: -12px;
  right: 22px;
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: 0.04em;
}

.cc-head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cc-logo {
  width: 52px;
  height: 52px;
  background: var(--gray-100);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}
.cc-name { font-size: 17px; font-weight: 800; color: var(--gray-900); }
.cc-founded { font-size: 12px; color: var(--gray-400); margin-top: 2px; font-weight: 600; }

.cc-stars { display: flex; align-items: center; gap: 6px; }
.cc-stars-icons { color: #f59e0b; font-size: 15px; letter-spacing: -2px; }
.cc-rating-val { font-size: 15px; font-weight: 700; color: var(--gray-800); }
.cc-reviews { font-size: 12px; color: var(--gray-400); }

.cc-price-band {
  background: var(--gray-50);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.ccpb-left { flex: 1; }
.ccpb-tag { font-size: 11px; font-weight: 700; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.06em; }
.ccpb-uzs { font-size: 22px; font-weight: 800; color: var(--gray-900); margin-top: 2px; }
.ccpb-usd { font-size: 12px; color: var(--gray-400); font-weight: 600; }
.ccpb-right { text-align: right; }
.ccpb-per { font-size: 12px; color: var(--gray-400); font-weight: 600; }

.cc-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1; /* растягивает блок, толкая кнопку вниз */
  align-content: flex-start;
}
.cc-feat {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-600);
  background: var(--gray-100);
  border-radius: 6px;
  padding: 4px 10px;
}

.cc-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--gray-400);
}
.cc-license-num { font-family: monospace; font-size: 11px; }

.btn-get-policy {
  width: 100%;
  height: 48px;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font);
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  letter-spacing: 0.01em;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 12px rgba(37,99,235,0.18);
  margin-top: auto; /* всегда прибита к низу карточки */
  flex-shrink: 0;
}
.btn-get-policy:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,99,235,0.3);
}
.btn-get-policy:active { transform: none; box-shadow: none; }
/* Убираем разные цвета у featured — все одинаково синие */
.company-card.featured .btn-get-policy { background: var(--blue); }
.company-card.featured .btn-get-policy:hover { background: var(--blue-dark); }

/* ════════════════════════════════════
   HOW IT WORKS
════════════════════════════════════ */
.how-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  position: relative;
}
@media (min-width: 640px) { .how-grid { grid-template-columns: repeat(3, 1fr); } }

.how-step { text-align: center; position: relative; }
@media (min-width: 640px) {
  .how-step:not(:last-child)::after {
    content: '→';
    position: absolute;
    top: 36px;
    right: -24px;
    font-size: 22px;
    color: var(--gray-300);
  }
}
.how-circle {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), #2d4699);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin: 0 auto 22px;
  box-shadow: 0 8px 28px rgba(26,43,94,0.28);
}
.how-title { font-size: 18px; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; }
.how-desc { font-size: 14px; color: var(--gray-500); line-height: 1.65; }

/* ════════════════════════════════════
   COMPARISON TABLE
════════════════════════════════════ */
.compare-outer {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1.5px solid var(--gray-200);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  font-size: 14px;
  background: var(--white);
}
.compare-table thead th {
  background: var(--navy);
  color: rgba(255,255,255,0.9);
  padding: 14px 18px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.compare-table tbody td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--gray-100);
  vertical-align: middle;
  color: var(--gray-700);
}
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:nth-child(even) td { background: var(--gray-50); }
.compare-table tbody tr:hover td { background: #f0f5ff; }
.ct-co { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--gray-900); }
.ct-em { font-size: 22px; }
.ct-rating { color: #d97706; font-weight: 700; }
.ct-best { color: var(--blue); font-weight: 800; }
.ct-price { font-weight: 700; }
.ct-license { font-size: 11px; font-family: monospace; color: var(--gray-400); }
.ct-tag {
  display: inline-block;
  background: #dbeafe;
  color: var(--blue-dark);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 100px;
}

/* ════════════════════════════════════
   TRUST / STATISTICS SECTION
════════════════════════════════════ */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (min-width: 640px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }

.trust-card {
  text-align: center;
  padding: 30px 16px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  transition: all var(--transition);
}
.trust-card:hover { background: rgba(255,255,255,0.11); transform: translateY(-2px); }
.tc-icon { font-size: 36px; margin-bottom: 12px; }
.tc-num { font-size: 30px; font-weight: 800; color: #fff; line-height: 1; }
.tc-label { font-size: 13px; color: rgba(255,255,255,0.55); margin-top: 6px; font-weight: 500; line-height: 1.4; }

/* ════════════════════════════════════
   FAQ
════════════════════════════════════ */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  transition: border-color 0.2s;
}
.faq-item.open { border-color: var(--navy); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  gap: 16px;
  user-select: none;
}
.faq-q-text {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.4;
  flex: 1;
}
.faq-arrow {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 13px;
  color: var(--gray-500);
  transition: all 0.25s;
}
.faq-item.open .faq-arrow { background: var(--ink); color: #fff; box-shadow: 0 3px 8px rgba(15,23,42,0.3); transform: rotate(180deg); }
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 24px;
}
.faq-item.open .faq-body { max-height: 500px; padding: 0 24px 20px; }
.faq-body p { font-size: 15px; color: var(--gray-600); line-height: 1.75; }

/* ════════════════════════════════════
   FOOTER
════════════════════════════════════ */
.footer { background: var(--gray-900); padding: 64px 0 36px; }
.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  margin-bottom: 52px;
}
@media (min-width: 640px) { .footer-top { grid-template-columns: 2fr 1fr 1fr; } }
.footer-brand .footer-logo-text {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}
.footer-brand .footer-logo-text span { color: #93c5fd; }
.footer-desc { font-size: 14px; color: rgba(255,255,255,0.45); line-height: 1.7; max-width: 260px; }
.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  transition: color var(--transition);
}
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.3); }
.footer-legal-links { display: flex; gap: 20px; }
.footer-legal-links a { font-size: 13px; color: rgba(255,255,255,0.3); transition: color var(--transition); }
.footer-legal-links a:hover { color: rgba(255,255,255,0.6); }

/* ════════════════════════════════════
   AUTH MODALS (compatible with existing script.js)
════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(5px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.active { display: flex; }
.modal-box {
  background: var(--white);
  border-radius: 24px;
  padding: 36px 32px;
  width: 100%;
  max-width: 420px;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: modalPop 0.25s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes modalPop { from { opacity:0; transform: scale(0.92) translateY(10px); } to { opacity:1; transform: scale(1) translateY(0); } }
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--gray-500);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all var(--transition);
}
.modal-close:hover { background: var(--gray-200); color: var(--gray-800); }
.modal-title { font-size: 22px; font-weight: 800; color: var(--gray-900); margin-bottom: 6px; }
.modal-subtitle { font-size: 14px; color: var(--gray-500); margin-bottom: 24px; }
.modal-form-group { margin-bottom: 16px; }
.modal-label { display: block; font-size: 13px; font-weight: 700; color: var(--gray-700); margin-bottom: 6px; }
.modal-input {
  width: 100%;
  height: 50px;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  padding: 0 14px;
  font-size: 15px;
  font-family: var(--font);
  font-weight: 600;
  color: var(--gray-900);
  background: var(--white);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.modal-input:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(26,43,94,0.08); }
.modal-btn-primary {
  width: 100%;
  height: 52px;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font);
  transition: background var(--transition);
  margin-top: 8px;
}
.modal-btn-primary:hover { background: var(--navy-dark); }
.modal-switch { text-align: center; font-size: 14px; color: var(--gray-500); margin-top: 16px; }
.modal-switch a { color: var(--blue); text-decoration: underline; cursor: pointer; }
.modal-error { font-size: 13px; color: var(--red); margin-top: 6px; display: none; }
.modal-error.show { display: block; }

/* OTP fields */
.otp-row { display: flex; gap: 10px; justify-content: center; margin: 16px 0; }
.otp-cell {
  width: 52px; height: 62px;
  border: 2px solid var(--gray-200);
  border-radius: 10px;
  text-align: center;
  font-size: 26px;
  font-weight: 800;
  font-family: var(--font);
  outline: none;
  color: var(--gray-900);
  background: var(--white);
  transition: border-color var(--transition);
}
.otp-cell:focus { border-color: var(--navy); }

/* phone-wrap for auth */
.auth-phone-wrap {
  display: flex;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  overflow: hidden;
  background: var(--white);
  transition: border-color var(--transition);
}
.auth-phone-wrap:focus-within { border-color: var(--navy); }
.auth-phone-prefix {
  padding: 0 14px;
  background: var(--gray-50);
  border-right: 1.5px solid var(--gray-200);
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.auth-phone-input {
  flex: 1;
  height: 50px;
  border: none;
  padding: 0 14px;
  font-size: 15px;
  font-family: var(--font);
  font-weight: 600;
  color: var(--gray-900);
  background: transparent;
  outline: none;
}

/* ════════════════════════════════════
   CAR PROGRESS BAR
════════════════════════════════════ */
.wz-car-progress {
  position: relative;
  height: 40px;
  margin: 16px 24px 0;
}
.wz-road {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 4px;
  background: #e2e8f0;
  border-radius: 2px;
  transform: translateY(-50%);
}
.wz-road-fill {
  height: 100%;
  background: #1a3a6b;
  border-radius: 2px;
  transition: width 0.5s ease;
}
.wz-car {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%) scaleX(-1);
  font-size: 24px;
  transition: left 0.5s ease;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
  line-height: 1;
}
.wz-progress-text {
  text-align: center;
  font-size: 12px;
  color: #6b7280;
  margin: 6px 0 16px;
}

/* ════════════════════════════════════
   UTILITIES
════════════════════════════════════ */
.hidden, [hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes fadeUp { from { opacity:0; transform: translateY(18px); } to { opacity:1; transform: translateY(0); } }
.fade-up { animation: fadeUp 0.5s ease both; }

/* ════════════════════════════════════
   PRODUCTS SECTION
════════════════════════════════════ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 960px) { .products-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px)  { .products-grid { grid-template-columns: 1fr; gap: 14px; } }

.prod-group { margin-bottom: 40px; }
.prod-group:last-child { margin-bottom: 0; }
.prod-group-title {
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

.products-grid--photo {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1180px;
  gap: 20px;
  margin: 0 auto;
}
.products-grid--photo .prod-card--photo { flex: 0 1 190px; }
@media (max-width: 560px) { .products-grid--photo .prod-card--photo { flex: 1 1 42%; max-width: 200px; } }

.prod-card--photo { padding: 16px 16px 22px; }
.prod-photo-wrap {
  width: 100%;
  aspect-ratio: 8 / 5;
  border-radius: 14px;
  overflow: visible;
  margin-bottom: 4px;
  background: var(--gray-100);
  position: relative;
}
.prod-photo { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 14px; }
.prod-card--photo .prod-name { font-size: 17px; }

.prod-badge {
  position: absolute;
  left: 10px;
  bottom: -14px;
  width: 36px;
  height: 36px;
  z-index: 2;
}
.prod-badge img { width: 100%; height: 100%; display: block; }

.prod-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  position: relative;
  transition: all 0.25s ease;
  font-family: var(--font);
  cursor: pointer;
}
.prod-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gray-300); }

.prod-name { font-size: 20px; font-weight: 800; color: var(--gray-900); }

.prod-status {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.prod-status--live { color: var(--blue); }
.prod-status--soon { color: var(--gray-400); }

/* dark mode for products */
body.dark .prod-card { background: var(--gray-100); border-color: var(--gray-200); }
body.dark .prod-name { color: var(--gray-900); }
body.dark .prod-photo-wrap { background: var(--gray-200); }

/* ════════════════════════════════════
   WHY EASY SUGURTA
════════════════════════════════════ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 8px;
}
@media (max-width: 860px) { .why-grid { grid-template-columns: 1fr; gap: 16px; } }
.why-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  text-align: center;
  transition: all 0.25s ease;
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gray-300); }
.why-icon { width: 96px; height: 96px; object-fit: contain; margin: 0 auto 18px; display: block; }
.why-title { font-size: 18px; font-weight: 800; color: var(--gray-900); margin-bottom: 10px; line-height: 1.3; }
.why-desc { font-size: 14px; color: var(--gray-500); line-height: 1.65; }
.why-outro { text-align: center; font-size: 17px; font-weight: 700; color: var(--gray-900); margin-top: 44px; }
body.dark .why-card { background: var(--gray-100); border-color: var(--gray-200); }

/* ════════════════════════════════════
   RESPONSIVE — MOBILE FIRST
════════════════════════════════════ */

/* Tablet */
@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .hero { padding: 48px 0 56px; }
  .section { padding: 56px 0; }
  .hero-inner { gap: 32px; }
  .hero-title { font-size: clamp(28px, 6vw, 42px); }
  .hero-subtitle { font-size: 15px; margin-bottom: 28px; }
  .hero-badge { font-size: 11px; padding: 5px 12px; }
  .section-title { font-size: clamp(20px, 4vw, 32px); }
  .section-header { margin-bottom: 36px; }
  .how-grid { gap: 32px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-desc { max-width: 100%; }
}

/* Mobile */
@media (max-width: 600px) {
  /* Header */
  .header-container { height: 56px; gap: 8px; }
  .logo-mark { width: 30px; height: 30px; font-size: 15px; border-radius: 7px; }
  .header-logo-text { font-size: 16px; }
  .header-nav { display: none; }
  .lang-dropdown-btn { padding: 0 10px; height: 32px; font-size: 12px; }
  .lang-name { display: none; }
  .theme-toggle { width: 32px; height: 32px; }
  .hdr-icon-btn { width: 32px; height: 32px; }
  .mobile-menu-btn { width: 32px; height: 32px; }
  .header-right { gap: 6px; }

  /* Hero */
  .hero { padding: 40px 0 48px; }
  .hero-badge { font-size: 10px; padding: 4px 10px; margin-bottom: 14px; }
  .hero-title { font-size: clamp(26px, 7vw, 36px); margin-bottom: 12px; }
  .hero-subtitle { font-size: 14px; margin-bottom: 24px; line-height: 1.6; }
  .hero-calc-card { padding: 16px; border-radius: var(--radius); }
  .hero-trust-row { gap: 8px; margin-top: 12px; }
  .htr-item { font-size: 11px; }

  /* Stats 2x2 on mobile */
  .hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 0; }
  .hero-stat-card { padding: 12px 14px; gap: 10px; border-radius: var(--radius); }
  .hsc-icon { font-size: 22px; }
  .hsc-num { font-size: 18px; }
  .hsc-label { font-size: 10px; }

  /* Sections */
  .section { padding: 48px 0; }
  .section-title { font-size: 20px; }
  .section-sub { font-size: 14px; }
  .section-header { margin-bottom: 28px; }

  /* Companies grid */
  .companies-grid { grid-template-columns: 1fr; gap: 14px; }
  .company-card { padding: 20px; }
  .cc-price-band { padding: 12px 14px; }
  .ccpb-uzs { font-size: 18px; }
  .btn-get-policy { height: 42px; font-size: 13px; }

  /* How it works — vertical on mobile */
  .how-grid { grid-template-columns: 1fr; gap: 24px; }
  .how-step::after { display: none !important; }
  .how-step { display: flex; align-items: flex-start; gap: 16px; text-align: left; }
  .how-circle { width: 56px; height: 56px; font-size: 22px; margin: 0; flex-shrink: 0; }
  .how-title { font-size: 16px; margin-bottom: 6px; }
  .how-desc { font-size: 13px; }

  /* Compare */
  .compare-outer { border-radius: var(--radius); }
  .compare-table { font-size: 13px; }
  .compare-table thead th { padding: 10px 12px; font-size: 11px; }
  .compare-table tbody td { padding: 10px 12px; }

  /* Trust */
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .trust-card { padding: 20px 12px; }
  .tc-icon { font-size: 28px; margin-bottom: 8px; }
  .tc-num { font-size: 22px; }
  .tc-label { font-size: 11px; }

  /* FAQ */
  .faq-q { padding: 16px 18px; }
  .faq-q-text { font-size: 14px; }
  .faq-item.open .faq-body { padding: 0 18px 16px; }
  .faq-body p { font-size: 13px; }

  /* Footer */
  .footer { padding: 44px 0 28px; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-brand .footer-logo-text { font-size: 18px; }

  /* Products */
  .prod-card { padding: 22px 18px 18px; }
  .prod-icon { font-size: 32px; }
  .prod-name { font-size: 18px; }
  .prod-btn { height: 42px; }
}

/* Extra small */
@media (max-width: 380px) {
  .container { padding: 0 12px; }
  .hero-title { font-size: 24px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hsc-num { font-size: 16px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
}

/* ════════════════════════════════════
   DARK MODE OVERRIDES
════════════════════════════════════ */
body.dark .company-card { background: var(--gray-100); border-color: var(--gray-200); }
body.dark .company-card:hover { border-color: var(--blue); }
body.dark .cc-price-band { background: var(--gray-50); }
body.dark .cc-name { color: var(--gray-900); }
body.dark .ccpb-uzs { color: var(--gray-900); }
body.dark .faq-item { background: var(--gray-100); border-color: var(--gray-200); }
body.dark .faq-q-text { color: var(--gray-900); }
body.dark .faq-body p { color: var(--gray-700); }
body.dark .faq-arrow { background: var(--gray-200); }
body.dark .compare-table { background: var(--gray-100); }
body.dark .compare-table thead th { background: var(--navy-dark); }
body.dark .compare-table tbody td { color: var(--gray-700); border-color: var(--gray-200); }
body.dark .compare-table tbody tr:nth-child(even) td { background: var(--gray-50); }
body.dark .compare-table tbody tr:hover td { background: rgba(37,99,235,0.08); }
body.dark .compare-outer { border-color: var(--gray-200); }
body.dark .modal-box { background: var(--gray-100); }
body.dark .modal-title { color: var(--gray-900); }
body.dark .modal-input { background: var(--gray-50); border-color: var(--gray-200); color: var(--gray-900); }
body.dark .auth-phone-wrap { background: var(--gray-50); border-color: var(--gray-200); }
body.dark .auth-phone-prefix { background: var(--gray-100); color: var(--gray-700); }
body.dark .auth-phone-input { color: var(--gray-900); }
body.dark .plate-input-wrap { background: var(--gray-100); }
body.dark #hero-plate { background: transparent; color: var(--gray-900); }
body.dark .lang-dropdown-menu { background: var(--gray-100); border-color: var(--gray-200); }
body.dark .lang-option { color: var(--gray-700); }
body.dark .lang-option:hover { background: var(--gray-200); }
body.dark .mobile-menu-panel { background: var(--navy-dark); }
body.dark .section-alt { background: var(--gray-50); }
body.dark .how-title { color: var(--gray-900); }
body.dark .how-desc { color: var(--gray-600); }

/* ── Footer в тёмном режиме (--gray-900 становится светлым, явно перебиваем) ── */
body.dark .footer { background: #07101e !important; }
body.dark .footer-copy { color: rgba(255,255,255,0.35) !important; }
body.dark .footer-legal-links a { color: rgba(255,255,255,0.35) !important; }
body.dark .footer-legal-links a:hover { color: rgba(255,255,255,0.65) !important; }
body.dark .footer-col-title { color: rgba(255,255,255,0.4) !important; }
body.dark .footer-desc { color: rgba(255,255,255,0.5) !important; }
body.dark .footer-links a { color: rgba(255,255,255,0.6) !important; }
body.dark .footer-links a:hover { color: #fff !important; }
body.dark .footer-bottom { border-color: rgba(255,255,255,0.08) !important; }

/* ── Секции с тёмным фоном (section-dark тоже не ломаем) ── */
body.dark .section-navy { background: var(--navy-dark); }

/* ── Текст заголовков секций ── */
body.dark .section-title { color: var(--gray-900); }
body.dark .section-sub { color: var(--gray-600); }

/* ── Hero: fixed-color chip that doesn't invert on its own ── */
body.dark .hero-badge { background: rgba(37,99,235,0.15); border-color: rgba(37,99,235,0.35); }

/* ════════════════════════════════════
   SVG ICON BOXES — color variants
════════════════════════════════════ */
.icon-blue   { background: linear-gradient(135deg, #2563eb, #1d4ed8); color: #fff; }
.icon-navy   { background: linear-gradient(135deg, #1a2b5e, #111e42); color: #fff; }
.icon-teal   { background: linear-gradient(135deg, #0ea5e9, #0284c7); color: #fff; }
.icon-gold   { background: linear-gradient(135deg, #f59e0b, #d97706); color: #fff; }
.icon-amber  { background: linear-gradient(135deg, #f97316, #ea580c); color: #fff; }
.icon-purple { background: linear-gradient(135deg, #8b5cf6, #7c3aed); color: #fff; }
.icon-red    { background: linear-gradient(135deg, #ef4444, #dc2626); color: #fff; }
.icon-green  { background: linear-gradient(135deg, #22c55e, #16a34a); color: #fff; }

/* ════════════════════════════════════
   HERO STAT CARD — SVG icon box
════════════════════════════════════ */
.hsc-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}
.hsc-icon-box svg {
  width: 24px;
  height: 24px;
}

/* Improved hero-stat-card with better hierarchy */
.hero-stat-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
  backdrop-filter: blur(8px);
}
.hero-stat-card:hover {
  background: rgba(255,255,255,0.11);
  border-color: rgba(255,255,255,0.18);
  transform: translateX(5px);
}

/* ════════════════════════════════════
   HERO — Uzbek decorative elements
════════════════════════════════════ */
.hero-deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.hero-deco--star {
  top: -60px;
  right: -80px;
  opacity: 0.9;
  animation: heroDecoRotate 60s linear infinite;
}
.hero-deco--circle {
  bottom: -40px;
  left: -40px;
  opacity: 0.7;
  animation: heroDecoRotate 45s linear infinite reverse;
}
@keyframes heroDecoRotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Hero badge pulse animation */
.hero-badge {
  animation: heroBadgePulse 3s ease-in-out infinite;
}
@keyframes heroBadgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(147,197,253,0); }
  50% { box-shadow: 0 0 0 6px rgba(147,197,253,0.08); }
}

/* ════════════════════════════════════
   PARTNER STRIP
════════════════════════════════════ */
.partner-strip {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 14px 0;
}
.partner-strip-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.ps-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-400);
  white-space: nowrap;
  flex-shrink: 0;
}
.ps-items {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.ps-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-600);
}
.ps-item--badge {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 100px;
  padding: 4px 10px;
  font-size: 12px;
  color: var(--gray-500);
}
.ps-item--badge svg { color: var(--blue); }
.ps-divider {
  width: 1px;
  height: 20px;
  background: var(--gray-200);
  flex-shrink: 0;
}
body.dark .partner-strip {
  background: var(--gray-50);
  border-color: var(--gray-200);
}
body.dark .ps-item { color: var(--gray-600); }
body.dark .ps-item--badge { background: var(--gray-100); border-color: var(--gray-200); }

/* ════════════════════════════════════
   PRODUCT ICON BOX
════════════════════════════════════ */
.prod-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.prod-icon-box svg {
  width: 32px;
  height: 32px;
}
.prod-card:hover .prod-icon-box {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.22);
}

/* Remove old emoji prod-icon sizing — keep class for backward compat */
.prod-icon { font-size: 38px; line-height: 1; }

/* ════════════════════════════════════
   HOW IT WORKS — step circle with number
════════════════════════════════════ */
.how-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), #2d4699);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 8px 28px rgba(26,43,94,0.3);
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.how-circle svg {
  width: 30px;
  height: 30px;
  color: rgba(255,255,255,0.9);
}
.how-step:hover .how-circle {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 14px 36px rgba(26,43,94,0.38);
}
.how-step-num {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(37,99,235,0.4);
  z-index: 1;
}

/* Mobile how-step layout fix for numbered circles */
@media (max-width: 600px) {
  .how-circle {
    width: 60px;
    height: 60px;
    margin: 0;
    flex-shrink: 0;
  }
  .how-circle svg { width: 22px; height: 22px; }
  .how-step-num { width: 20px; height: 20px; font-size: 10px; top: -6px; right: -6px; }
}

/* ════════════════════════════════════
   TRUST SECTION — SVG icon boxes
════════════════════════════════════ */
.tc-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tc-icon-box svg {
  width: 28px;
  height: 28px;
}
.trust-card:hover .tc-icon-box {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.3);
}

/* Section background improvements */
.section {
  position: relative;
}
.section::before {
  display: none; /* reset any inherited pseudo */
}

/* Products section subtle gradient background */
#products {
  background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
}
body.dark #products {
  background: linear-gradient(180deg, var(--white) 0%, var(--gray-100) 100%);
}

/* How-it-works section */
#how {
  background: linear-gradient(180deg, var(--white) 0%, #f0f5ff 100%);
}
body.dark #how {
  background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
}

/* Mobile stat icon box sizing */
@media (max-width: 600px) {
  .hsc-icon-box {
    width: 42px;
    height: 42px;
    border-radius: 11px;
  }
  .hsc-icon-box svg { width: 20px; height: 20px; }
  .hero-stat-card { padding: 12px 14px; gap: 10px; }

  .prod-icon-box { width: 52px; height: 52px; border-radius: 14px; }
  .prod-icon-box svg { width: 26px; height: 26px; }

  .tc-icon-box { width: 48px; height: 48px; border-radius: 14px; }
  .tc-icon-box svg { width: 22px; height: 22px; margin-bottom: 0; }

  .partner-strip-inner { gap: 12px; }
  .ps-items { gap: 10px; }
  .ps-label { font-size: 10px; }
}
