/* ==========================================================
   Guefaifia Transit - Design System v2
   ========================================================== */

:root {
  --bg:          #060C18;
  --surface:     #0D192C;
  --surface-2:   #13223B;
  --surface-3:   #182D4D;
  --line:        rgba(255, 255, 255, 0.07);
  --line-strong: rgba(197, 160, 89, 0.30);
  --text:        #F0EBE1;
  --text-2:      #8E9BB5;
  --text-3:      #5A6880;
  --gold:        #C5A059;
  --gold-light:  #DFC58D;
  --gold-dim:    rgba(197, 160, 89, 0.12);
  --wa:          #16A34A;
  --wa-hover:    #15803D;
  --warn:        #E0A23A;
  --r-card:      20px;
  --r-ctl:       12px;
  --r-btn:       12px;
  --container:   1240px;
  --ease:        cubic-bezier(0.2, 0.8, 0.2, 1);
  --spring:      cubic-bezier(0.34, 1.56, 0.64, 1);
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.3), 0 1px 0 rgba(255,255,255,0.04) inset;
  --shadow-md:   0 4px 24px rgba(0,0,0,0.4), 0 1px 0 rgba(255,255,255,0.05) inset;
  --shadow-glow: 0 0 40px rgba(197, 160, 89, 0.08);
  --sans: "Inter", system-ui, sans-serif;
  --ar:   "Cairo", system-ui, sans-serif;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }
ul { margin: 0; padding: 0; list-style: none; }
ol { margin: 0; padding: 0; }
dl, dd, dt { margin: 0; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

/* ---- Utilities ---- */
.container { width: min(var(--container), 100% - 48px); margin-inline: auto; }
@media (max-width: 640px) { .container { width: calc(100% - 32px); } }
.num    { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }
.muted  { color: var(--text-2); }
.small  { font-size: 13px; line-height: 1.6; }
.accent { color: var(--gold-light); }
.eyebrow {
  display: block;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.lead   { color: var(--text-2); font-size: 1.05rem; line-height: 1.7; max-width: 52ch; }
.help   { font-size: 13px; line-height: 1.5; color: var(--warn); min-height: 20px; }
.rule   { font-size: 14px; line-height: 1.6; color: var(--text-2); }
.label  { display: block; font-size: 14px; font-weight: 500; color: var(--text); line-height: 1.4; }
.skip   { position: absolute; left: -999px; top: 8px; z-index: 200; }
.skip:focus { left: 16px; background: var(--gold); color: #060C18; padding: 10px 16px; border-radius: 8px; }

/* Arabic */
.ar {
  display: block;
  font-family: var(--ar);
  font-weight: 600;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-3);
  direction: rtl;
  text-align: start;
  margin-top: 2px;
}
[lang="ar"] { font-family: var(--ar); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: var(--r-btn);
  border: 1.5px solid transparent;
  font: 500 15px/1 var(--sans);
  white-space: nowrap;
  cursor: pointer;
  transition: background 180ms var(--ease), border-color 180ms, color 180ms, box-shadow 180ms, transform 120ms var(--spring);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover  { transform: translateY(-1px); }
  .btn-gold:hover {
    background: linear-gradient(135deg, var(--gold-light) 0%, #E5C07B 100%);
    box-shadow: 0 4px 20px rgba(197,160,89,0.45);
  }
  .btn-ghost:hover { background: var(--surface-2); border-color: var(--line-strong); }
  .btn-wa:hover { background: var(--wa-hover); box-shadow: 0 4px 20px rgba(22,163,74,0.45); }
}
.btn-sm     { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn svg    { width: 18px; height: 18px; flex-shrink: 0; }

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, #D4AE6A 100%);
  color: #060C18;
  font-weight: 600;
  box-shadow: 0 2px 12px rgba(197,160,89,0.3);
}
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-wa {
  background: var(--wa);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 2px 12px rgba(22,163,74,0.3);
}
.btn-wa svg { fill: currentColor; stroke: none; }
.btn-block  { width: 100%; }
.btn:disabled, .is-off { opacity: 0.4; pointer-events: none; cursor: not-allowed; transform: none; }

/* ---- Ticker ---- */
.ticker { background: #03070F; border-bottom: 1px solid var(--line); font-size: 12.5px; line-height: 1; color: var(--text-3); }
.ticker-inner { display: flex; align-items: center; gap: 18px; min-height: 38px; flex-wrap: wrap; padding-block: 8px; }
.pill-live { display: inline-flex; align-items: center; gap: 7px; color: var(--text-2); font-size: 12px; }
.beacon {
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.6);
  animation: beacon 2.4s var(--ease) infinite;
}
.rate-chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: 12px; color: var(--text-2);
}
.rate-chip b { color: var(--gold-light); font-weight: 600; font-size: 12.5px; }
.ticker-tel { margin-left: auto; color: var(--text); font-weight: 500; font-size: 13px; letter-spacing: 0.02em; transition: color 150ms; }
.ticker-tel:hover { color: var(--gold-light); }
.ticker-loc { color: var(--text-3); font-size: 12px; }

/* ---- Navbar ---- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(6, 12, 24, 0.90);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 200ms;
}
.nav.scrolled { box-shadow: 0 4px 32px rgba(0,0,0,0.5); border-bottom-color: rgba(197,160,89,0.12); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-logo { width: 38px; height: 38px; border-radius: 10px; object-fit: cover; border: 1px solid var(--line-strong); flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 15px; font-weight: 700; color: var(--text); }
.brand-text small  { font-family: var(--ar); font-size: 11px; color: var(--text-3); font-weight: 500; }

.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; color: var(--text-2); }
.nav-links a { position: relative; padding-block: 4px; transition: color 150ms; }
.nav-links a::after {
  content: ""; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 1.5px; background: var(--gold);
  transform: scaleX(0); transition: transform 200ms var(--ease); transform-origin: left;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }

/* Mobile toggle */
.nav-toggle {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; width: 40px; height: 40px;
  border: 1px solid var(--line); border-radius: 10px;
  background: transparent; padding: 0 10px; cursor: pointer;
  transition: background 150ms, border-color 150ms;
}
.nav-toggle:hover { background: var(--surface); border-color: var(--line-strong); }
.nav-toggle span { display: block; height: 1.5px; background: var(--text-2); border-radius: 2px; transition: transform 220ms var(--ease), opacity 220ms; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-drawer {
  max-height: 0;
  overflow: hidden;
  border-top: 1px solid transparent;
  background: rgba(6, 12, 24, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: max-height 300ms var(--ease), border-color 300ms;
}
.nav-drawer.is-open {
  max-height: 320px;
  border-top-color: var(--line);
}
.nav-drawer-link {
  display: flex;
  align-items: center;
  padding: 16px 24px;
  font-size: 16px;
  color: var(--text-2);
  border-bottom: 1px solid var(--line);
  min-height: 52px;
  transition: color 140ms, background 140ms;
}
.nav-drawer-link:last-child { border-bottom: 0; }
.nav-drawer-link:hover, .nav-drawer-link:active { color: var(--text); background: var(--surface); }

/* ---- Hero ---- */
.hero {
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; top: -120px; left: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(197,160,89,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  min-height: 520px;
}
.hero-copy { display: flex; flex-direction: column; gap: 0; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 20px;
}
.hero-eyebrow::before {
  content: ""; display: block; width: 24px; height: 1.5px;
  background: var(--gold); flex-shrink: 0;
}

.hero h1 { margin-bottom: 16px; color: var(--text); }
.hero h1 .accent {
  display: block;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-ar {
  font-family: var(--ar);
  font-weight: 700;
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  line-height: 1.4;
  color: var(--text-2);
  direction: rtl;
  text-align: start;
  margin-bottom: 20px;
}
.hero .lead { margin-bottom: 32px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.cta .btn { min-height: 52px; padding: 0 28px; font-size: 15.5px; }

/* Seal */
.seal { position: relative; width: min(380px, 100%); aspect-ratio: 1; justify-self: center; }
.seal svg { width: 100%; height: 100%; }
.seal .ring       { fill: none; stroke: var(--line); stroke-width: 1; }
.seal .ring-outer { stroke: var(--line-strong); }
.seal .ring-ticks { stroke: var(--gold); opacity: 0.45; stroke-width: 6; }
.spin-slow { transform-origin: 200px 200px; transform-box: view-box; animation: spin 80s linear infinite; }
.seal-core {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 8px; text-align: center;
}
.seal-badge {
  display: flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: 11px; letter-spacing: 0.12em;
  color: var(--text-3); text-transform: uppercase; font-weight: 500;
}
.seal-badge .beacon { width: 5px; height: 5px; }
.seal-rate {
  font-size: clamp(2.2rem, 6vw, 3rem);
  font-weight: 300; letter-spacing: -0.03em;
  color: var(--gold-light); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.seal-pair { font-size: 13px; color: var(--text-2); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; }
.seal-source { font-size: 11px; color: var(--text-3); letter-spacing: 0.06em; }

/* Trust bar */
.trust-bar { margin-top: 56px; border-top: 1px solid var(--line); padding-top: 28px; }
.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.trust li {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color 150ms, transform 150ms var(--spring), box-shadow 150ms;
}
@media (hover: hover) and (pointer: fine) {
  .trust li:hover {
    border-color: var(--line-strong);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  }
}
.trust strong {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.trust span {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.45;
}

/* ---- Sections ---- */
.section { padding: 100px 0; position: relative; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 52px; max-width: 680px; }
.section-head h2 { margin-top: 6px; }
.gold-rule {
  display: block; width: 80px; height: 2px;
  background: linear-gradient(90deg, var(--gold) 0%, transparent 100%);
  border-radius: 2px; transform-origin: left;
  transform: scaleX(0); transition: transform 800ms var(--ease);
}
.section-head.visible .gold-rule { transform: scaleX(1); }

/* ---- Simulator ---- */
.sim { overflow: hidden; container-type: inline-size; }
.sim::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 30%), rgba(197,160,89,0.05), transparent 65%);
}
/* Default: single column, mobile-first */
.sim-grid { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; position: relative; }
/* Two-column only when the .sim container is wide (desktop) */
@container (min-width: 860px) {
  .sim-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 28px; }
  .config   { position: sticky; top: 88px; }
}

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 28px; box-shadow: var(--shadow-md); overflow: hidden; min-width: 0; width: 100%; }
.config { display: flex; flex-direction: column; gap: 24px; }
.statement { display: flex; flex-direction: column; gap: 22px; }

.field { display: flex; flex-direction: column; gap: 10px; }
.field > .label { margin-bottom: 2px; }
/* FOB row: stacked by default, side-by-side on wider containers */
.fob-row { display: grid; grid-template-columns: 1fr; gap: 10px; align-items: center; }
@container (min-width: 400px) {
  .fob-row { grid-template-columns: 1fr auto; }
}

/* Input */
.input {
  width: 100%; min-height: 52px; padding: 0 16px;
  background: var(--surface-2); color: var(--text);
  border: 1.5px solid var(--line-strong); border-radius: var(--r-ctl);
  font: 600 19px/1 var(--sans); letter-spacing: -0.01em;
  transition: border-color 150ms, box-shadow 150ms;
  -webkit-appearance: none; appearance: none;
}
.input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(197,160,89,0.18); }
.input::placeholder { color: var(--text-3); font-weight: 400; }
.input-sm { min-height: 48px; width: 110px; font-size: 18px; font-weight: 700; text-align: center; border-radius: 12px; }
.input::-webkit-outer-spin-button, .input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.input[type="number"] { -moz-appearance: textfield; }

/* Segmented controls */
.seg {
  display: grid;
  grid-template-columns: repeat(var(--seg-cols, 1), 1fr);
  gap: 6px; padding: 6px;
  background: rgba(3, 7, 15, 0.7); border: 1.5px solid var(--line-strong); border-radius: 16px;
}
.seg button {
  min-height: 48px; padding: 8px 10px; border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--surface-2); color: var(--text-2);
  font: 600 13.5px/1.2 var(--sans); cursor: pointer; text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  transition: background 150ms, border-color 150ms, color 150ms, box-shadow 200ms, transform 120ms;
  -webkit-tap-highlight-color: transparent;
}
.seg button:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) {
  .seg button:hover { color: var(--text); background: var(--surface-3); border-color: var(--line-strong); }
}
.seg button[aria-pressed="true"] {
  background: linear-gradient(135deg, rgba(197, 160, 89, 0.16) 0%, rgba(20, 40, 75, 0.8) 100%);
  color: #fff;
  border-color: var(--gold);
  box-shadow: 0 0 16px rgba(197, 160, 89, 0.25), inset 0 0 0 1px var(--gold);
}
.seg button .ar { font-size: 11.5px; line-height: 1.1; color: var(--text-3); font-weight: 500; }
.seg button[aria-pressed="true"] .ar { color: var(--gold-light); font-weight: 600; }
.seg-3 { --seg-cols: 3; }
.seg-4 { --seg-cols: 4; }

/* Container query for narrow containers (e.g. mobile viewports) */
@container (max-width: 520px) {
  .seg-3 { --seg-cols: 1; gap: 8px; }
  .seg-3 button {
    min-height: 54px; padding: 12px 16px;
    flex-direction: row; justify-content: space-between; align-items: center;
    font-size: 14.5px; font-weight: 600;
    border-left: 3.5px solid transparent;
  }
  .seg-3 button[aria-pressed="true"] {
    border-left: 3.5px solid var(--gold-light);
  }
  .seg-3 button .ar { font-size: 13px; margin: 0; }
  
  /* Keep currency 4 columns so it is a sleek single-row bar */
  #cur-seg { --seg-cols: 4; gap: 4px; padding: 4px; }
  #cur-seg button {
    min-height: 48px; font-size: 14px; font-weight: 700;
    background: var(--surface-2); border: 1px solid var(--line);
  }
  #cur-seg button[aria-pressed="true"] {
    background: linear-gradient(180deg, var(--gold) 0%, #B89248 100%) !important;
    color: #060C18 !important;
    border-color: transparent !important;
    box-shadow: 0 2px 10px rgba(197, 160, 89, 0.35);
  }
  
  /* Fuel 2x2 grid for generous touch area and full label readability */
  #fuel-seg { --seg-cols: 2; gap: 8px; }
  #fuel-seg button { min-height: 56px; padding: 8px; }
  #fuel-seg button .ar { font-size: 12px; }
}

/* Config Panel Documents Dropdown / Tabs */
.rule { font-size: 13px; color: var(--text-2); line-height: 1.5; }
.cfg-docs-drop {
  margin-top: 4px;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 150ms, background 150ms;
}
.cfg-docs-drop[open] {
  border-color: rgba(197, 160, 89, 0.4);
  background: rgba(3, 7, 15, 0.6);
}
.cfg-docs-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-light);
  cursor: pointer;
  user-select: none;
  list-style: none;
}
.cfg-docs-summary::-webkit-details-marker { display: none; }
.cfg-docs-summary svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.cfg-docs-summary .ar {
  margin-left: auto;
  font-size: 11.5px;
  color: var(--text-3);
  font-weight: 500;
}
.cfg-docs-list {
  padding: 8px 14px 14px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 7px;
  list-style: none;
  margin: 0;
}
.cfg-docs-list li {
  position: relative;
  padding-left: 18px;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--text-2);
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.cfg-docs-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
}
.cfg-docs-list li strong {
  color: var(--text);
  font-weight: 600;
}
.cfg-docs-list li .ar {
  font-size: 11px;
  color: var(--text-3);
  direction: rtl;
}

/* Rail */
.rail {
  display: flex; gap: 12px; overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 4px 16px;
  scrollbar-width: thin; scrollbar-color: var(--surface-3) transparent;
  -webkit-overflow-scrolling: touch;
}
.rail::-webkit-scrollbar { height: 5px; }
.rail::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 4px; }
.card-preset {
  flex: 0 0 165px; scroll-snap-align: start;
  display: grid; gap: 6px; text-align: start; padding: 14px 12px;
  background: var(--surface-2); color: var(--text);
  border: 1.5px solid var(--line); border-radius: 16px; cursor: pointer;
  transition: border-color 150ms, transform 150ms var(--spring), box-shadow 150ms;
}
.card-preset:hover { border-color: var(--line-strong); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.3); }
.card-preset[aria-pressed="true"] {
  border-color: var(--gold);
  background: var(--surface-3);
  box-shadow: 0 0 0 1px var(--gold) inset, 0 4px 18px rgba(197, 160, 89, 0.22);
}
.cp-make   { font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); font-weight: 600; }
.cp-model  { font-size: 15.5px; font-weight: 700; line-height: 1.3; }
.cp-engine { font-size: 12px; color: var(--text-2); line-height: 1.4; min-height: 34px; }
.cp-price  { font-size: 13.5px; color: var(--gold-light); margin-top: 4px; font-weight: 600; }

/* Displacement */
.cc-head  { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.cc-input { display: flex; align-items: center; gap: 7px; color: var(--text-2); font-size: 13.5px; }
.slider-wrap { position: relative; padding-top: 24px; padding-bottom: 8px; }
.slider-wrap input[type="range"] {
  width: 100%; height: 32px; background: transparent; outline: none; margin: 0; cursor: pointer;
  -webkit-appearance: none; appearance: none;
}
.slider-wrap input[type="range"]::-webkit-slider-runnable-track {
  width: 100%; height: 8px; border-radius: 4px; background: var(--surface-3); border: none;
}
.slider-wrap input[type="range"]::-moz-range-track {
  width: 100%; height: 8px; border-radius: 4px; background: var(--surface-3); border: none;
}
.slider-wrap input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  border: 3px solid #060C18;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5), 0 0 10px rgba(197,160,89,0.3);
  cursor: pointer; transition: transform 120ms var(--spring);
  margin-top: -10px;
}
.slider-wrap input[type="range"]::-webkit-slider-thumb:active { transform: scale(1.15); }
.slider-wrap input[type="range"]::-moz-range-thumb {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  border: 3px solid #060C18;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
  cursor: pointer;
}
.slider-mark { position: absolute; top: 0; width: 1px; height: 32px; background: var(--gold); transform: translateX(-0.5px); }
.slider-mark span { position: absolute; top: -2px; left: 7px; font-size: 11px; color: var(--gold-light); white-space: nowrap; font-weight: 500; }

/* Rate lock */
.rate-lock { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 14px; background: var(--bg); border: 1px dashed var(--line-strong); }
.rate-lock svg { fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }
.rate-lines { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; font-size: 12.5px; color: var(--text-2); }
.rate-lines span {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 8px; border-radius: 6px;
  background: var(--surface-2); border: 1px solid var(--line);
  font-size: 11.5px;
}
.rate-lines b { color: var(--gold-light); font-weight: 600; }

/* Statement */
.st-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.ngp { padding: 6px 12px; border-radius: 8px; font-size: 12px; letter-spacing: 0.06em; color: var(--gold-light); border: 1px solid var(--line-strong); background: rgba(197,160,89,0.06); white-space: nowrap; font-weight: 500; align-self: flex-start; flex-shrink: 0; }

.alert { display: flex; gap: 14px; padding: 18px; border-radius: 14px; background: rgba(224,162,58,0.05); border: 1px solid rgba(224,162,58,0.35); }
.alert[hidden] { display: none !important; }
.alert svg { width: 22px; height: 22px; flex-shrink: 0; fill: none; stroke: var(--warn); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.alert-title { font-weight: 600; color: var(--warn); margin-bottom: 6px; font-size: 15px; }
.alert p { font-size: 14px; line-height: 1.65; color: var(--text); }
.alert .ar { margin-top: 8px; color: var(--text-2); font-size: 14px; }

.total-block { display: flex; flex-direction: column; gap: 10px; }
.total { display: flex; align-items: baseline; gap: 10px; font-size: clamp(2.4rem, 6vw, 3.6rem); line-height: 1; letter-spacing: -0.03em; color: var(--gold-light); font-weight: 400; }
.total small { font-size: 1.1rem; color: var(--text-2); letter-spacing: 0; font-weight: 400; }
.pill { align-self: flex-start; padding: 6px 14px; border-radius: 999px; font-size: 13px; color: var(--text-2); background: var(--surface-2); border: 1px solid var(--line); font-weight: 500; }
.ledger { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.row dt { font-size: 14px; line-height: 1.5; color: var(--text); flex: 1; }
.row dt .ar { font-size: 11.5px; line-height: 1.4; margin-top: 3px; color: var(--text-3); }
.row dd { font-size: 16px; line-height: 1.4; color: var(--text); text-align: right; white-space: nowrap; font-weight: 500; }
.savings { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line-strong); font-size: 14px; color: var(--text-2); }
.savings strong { color: var(--gold-light); font-size: 1.1rem; font-weight: 600; }
.resale-block { display: flex; flex-direction: column; gap: 12px; }
.resale-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.resale-track li { display: flex; flex-direction: column; gap: 5px; padding: 14px 12px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); font-size: 13px; color: var(--text-2); }
.resale-track strong { font-size: 1.15rem; font-weight: 600; color: var(--text); }
.resale-track li:first-child { border-color: var(--line-strong); background: rgba(197,160,89,0.04); }
.st-actions { display: flex; flex-direction: column; gap: 10px; }
.st-actions .btn-wa { font-size: 15px; min-height: 54px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.disclaimer { font-size: 12px; line-height: 1.6; color: var(--text-3); border-top: 1px solid var(--line); padding-top: 16px; }

/* ---- Statement Docs Checklist ---- */
.st-docs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border-radius: 14px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
}
.st-docs-head {
  display: flex;
  align-items: center;
  gap: 8px;
}
.st-docs-head svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.st-docs-head .label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gold-light);
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.st-docs-head .label .ar {
  font-size: 11.5px;
  color: var(--text-3);
  font-weight: 500;
}
.st-docs-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.st-docs-list li {
  position: relative;
  padding-left: 20px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.st-docs-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
}
.st-docs-list li .ar {
  font-size: 11px;
  color: var(--text-3);
  direction: rtl;
}

/* ---- Regimes ---- */
.regime-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.reg-card {
  display: flex; flex-direction: column; gap: 16px; padding: 26px 22px;
  background: var(--surface); border: 1.5px solid var(--line);
  border-top: 3px solid var(--line-strong); border-radius: var(--r-card);
  transition: border-color 200ms, background 200ms, transform 200ms var(--spring), box-shadow 200ms;
}
.reg-card:hover { border-color: var(--gold); border-top-color: var(--gold); background: var(--surface-2); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.4), var(--shadow-glow); }
.reg-head { display: flex; flex-direction: column; gap: 4px; }
.reg-card h3    { font-size: 1.25rem; line-height: 1.3; }
.reg-card .ar   { font-size: 13.5px; color: var(--text-2); }
.reg-fiscal     { display: flex; flex-direction: column; gap: 8px; }
.reg-subhead    { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.reg-fiscal ul  { display: flex; flex-direction: column; gap: 8px; list-style: none; padding: 0; margin: 0; font-size: 13.5px; color: var(--text-2); }
.reg-fiscal li  { position: relative; padding-left: 18px; line-height: 1.45; }
.reg-fiscal li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 1.5px; background: var(--gold); border-radius: 2px; }

/* Documents box in each regime card */
.reg-docs {
  background: rgba(3, 7, 15, 0.65);
  border: 1px solid rgba(197, 160, 89, 0.22);
  border-radius: 14px;
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.reg-docs-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-light);
  border-bottom: 1px solid rgba(197, 160, 89, 0.14);
  padding-bottom: 8px;
}
.reg-docs-head svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.reg-docs-head span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.reg-docs-head .ar {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--gold-light);
}
.reg-docs-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.reg-docs-list li {
  position: relative;
  padding-left: 18px;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--text-2);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.reg-docs-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
}
.reg-docs-list li strong {
  color: var(--text);
  font-weight: 600;
}
.reg-docs-list li .ar {
  font-size: 11px;
  color: var(--text-3);
  direction: rtl;
}
.reg-card .btn { margin-top: auto; }

/* ---- Argus ---- */
#argus-filters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 6px;
  background: rgba(3, 7, 15, 0.7);
  border: 1.5px solid var(--line-strong);
  border-radius: 16px;
  margin-bottom: 28px;
}
#argus-filters button {
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.025);
  color: var(--text-2);
  font: 600 13.5px/1 var(--sans);
  cursor: pointer;
  text-align: center;
  transition: all 150ms;
}
#argus-filters button:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}
#argus-filters button[aria-pressed="true"] {
  background: var(--surface-2);
  color: #fff;
  border-color: var(--gold);
  box-shadow: 0 0 16px rgba(197, 160, 89, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
@media (max-width: 520px) {
  #argus-filters {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  #argus-filters button {
    min-height: 48px;
    font-size: 14px;
  }
}
.argus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.argus-card {
  display: flex; flex-direction: column; gap: 12px; padding: 24px;
  background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-card);
  transition: border-color 200ms, transform 200ms var(--spring), box-shadow 200ms;
}
.argus-card:hover { border-color: var(--line-strong); transform: translateY(-3px); box-shadow: 0 8px 32px rgba(0,0,0,0.35); }
.argus-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.argus-head .cp-make { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.argus-card h3  { font-size: 1.15rem; line-height: 1.3; }
.argus-card > p { font-size: 13px; color: var(--text-2); line-height: 1.5; }
.cle { font-size: 11px; color: var(--gold-light); border: 1px solid var(--line-strong); border-radius: 6px; padding: 3px 8px; font-weight: 600; letter-spacing: 0.1em; flex-shrink: 0; background: rgba(197,160,89,0.06); }
.argus-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); }
.argus-meta dt { font-size: 11.5px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500; }
.argus-meta dd { font-size: 15px; color: var(--text); margin-top: 4px; font-weight: 500; }
.argus-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.argus-foot code { font-size: 12px; color: var(--text-2); font-family: var(--sans); }

/* ---- FAQ ---- */
.faq-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 72px; align-items: start; }
.faq-header { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 96px; }
.faq-header h2 { margin-top: 4px; }
.faq-contact { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.faq-contact-card {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line);
  transition: border-color 150ms, transform 120ms; color: inherit;
}
.faq-contact-card:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.faq-contact-icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; }
.faq-contact-icon.wa { background: rgba(22,163,74,0.15); }
.faq-contact-icon svg { width: 20px; height: 20px; flex-shrink: 0; }
.faq-contact-icon.wa svg { fill: var(--wa); stroke: none; }
.faq-contact-label { display: block; font-size: 12px; color: var(--text-2); }
.faq-contact-value { display: block; font-size: 15px; font-weight: 600; color: var(--text); }
.faq { display: flex; flex-direction: column; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-size: 16px; font-weight: 500; color: var(--text);
  display: flex; flex-direction: column; gap: 4px; user-select: none; transition: color 150ms;
}
.faq summary:hover { color: var(--gold-light); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 2px; top: 18px; font-size: 24px; line-height: 1; color: var(--gold); transition: transform 250ms var(--spring); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--text-2); font-size: 15px; line-height: 1.7; max-width: 64ch; }
.faq-docs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 12px 0 16px;
}
.faq-doc-col {
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-doc-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-light);
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
}
.faq-doc-col h4 small {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-3);
}
.faq-doc-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.faq-doc-col li {
  position: relative;
  padding-left: 14px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--text-2);
}
.faq-doc-col li::before {
  content: "•";
  position: absolute;
  left: 2px;
  top: 0;
  color: var(--gold);
  font-weight: 700;
}
.faq-doc-col li strong {
  color: var(--text);
  font-weight: 600;
}
.faq-docs-note {
  font-size: 13px !important;
  color: var(--text-2) !important;
  padding-bottom: 16px !important;
  line-height: 1.5 !important;
}

/* ---- CTA Section ---- */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(197,160,89,0.04) 50%, transparent 100%);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  text-align: center;
}
.cta-section h2 { margin-bottom: 16px; }
.cta-section .lead { margin: 0 auto 40px; }
.cta-section-ar { font-family: var(--ar); font-size: 1.1rem; font-weight: 600; color: var(--text-2); direction: rtl; margin-bottom: 14px; }
.cta-buttons { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.cta-buttons .btn { min-height: 56px; padding: 0 32px; font-size: 16px; }

/* ---- Footer ---- */
.footer { background: #03070F; border-top: 1px solid var(--line); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-brand .brand { margin-bottom: 4px; }
.footer-brand p { font-size: 13.5px; color: var(--text-2); line-height: 1.6; max-width: 26ch; }
.footer-col h4 { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col li { font-size: 14px; }
.footer-col a  { color: var(--text-2); transition: color 150ms; }
.footer-col a:hover { color: var(--gold-light); }
.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-2); transition: color 150ms; }
.footer-contact a svg { width: 18px; height: 18px; flex-shrink: 0; }
.footer-contact a:hover { color: var(--text); }
.footer-wa-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 10px;
  background: rgba(22,163,74,0.12); border: 1px solid rgba(22,163,74,0.3);
  color: #4ADE80; font-size: 14px; font-weight: 500; margin-top: 8px; transition: all 150ms;
}
.footer-wa-btn:hover { background: rgba(22,163,74,0.22); border-color: rgba(22,163,74,0.6); }
.footer-wa-btn svg { fill: currentColor; stroke: none; width: 16px; height: 16px; }
.footer-bottom {
  margin-top: 64px; border-top: 1px solid var(--line);
  padding: 20px 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.footer-bottom p { font-size: 12.5px; color: var(--text-3); line-height: 1.5; }

/* ---- Sticky bar ---- */
.sticky {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
  align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 20px; padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  background: rgba(6,12,24,0.97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--line-strong); box-shadow: 0 -8px 32px rgba(0,0,0,0.5);
}
.sticky strong { display: block; font-size: 1.1rem; font-weight: 600; color: var(--gold-light); }
.sticky .label { font-size: 12px; color: var(--text-2); font-weight: 400; }
.sticky .btn   { min-height: 46px; flex-shrink: 0; }

/* ---- Animations ---- */
@keyframes spin    { to { transform: rotate(360deg); } }
@keyframes beacon  { 0% { box-shadow: 0 0 0 0 rgba(197,160,89,0.55); } 70% { box-shadow: 0 0 0 8px rgba(197,160,89,0); } 100% { box-shadow: 0 0 0 0 rgba(197,160,89,0); } }
@keyframes fadeUp  { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fadeUp 600ms var(--ease) both; }
.fade-up:nth-child(2) { animation-delay: 80ms; }
.fade-up:nth-child(3) { animation-delay: 160ms; }
.fade-up:nth-child(4) { animation-delay: 240ms; }

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .argus-grid  { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1023px) {
  .sim-grid     { grid-template-columns: 1fr; }
  .config       { position: static; }
  .faq-grid     { grid-template-columns: 1fr; gap: 36px; }
  .faq-header   { position: static; }
  .regime-cards { grid-template-columns: 1fr; gap: 16px; }
  .trust { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .trust-bar { margin-top: 40px; padding-top: 24px; }
  .sticky.is-on { display: flex; }
  .section    { padding: 72px 0; }
  .hero-grid  { grid-template-columns: 1fr; gap: 40px; }
  .seal       { order: -1; width: 260px; }
  .nav-links  { display: none; }
  .nav-toggle { display: flex; }
  .ticker-loc { display: none; }
  .hero       { padding-top: 60px; }
  .trust-bar  { margin-top: 48px; }
  /* Push content above sticky bar */
  body.sticky-on { padding-bottom: 80px; }
}
@media (max-width: 768px) {
  /* Layout & Containers */
  .container    { width: calc(100% - 24px); }
  .section      { padding: 56px 0; }
  .section-head { gap: 10px; margin-bottom: 28px; }
  .section-head h2 { font-size: clamp(1.6rem, 6vw, 2.05rem); line-height: 1.2; }
  .section-head .ar { font-size: 13.5px; }
  
  /* Navbar */
  .nav-inner    { height: 60px; gap: 12px; }
  .nav .btn-sm  { display: none !important; } /* Hide redundant text WA button in header on mobile; drawer & sticky footer provide instant access */
  .brand        { min-width: 0; flex-shrink: 1; }
  .brand-text strong { font-size: 14px; }
  .brand-text small  { font-size: 10.5px; }
  .nav-toggle   { width: 44px; height: 44px; min-width: 44px; min-height: 44px; border-radius: 12px; flex-shrink: 0; margin-left: auto; }
  .nav-drawer-link { min-height: 52px; padding: 14px 20px; font-size: 15.5px; -webkit-tap-highlight-color: transparent; }
  
  /* Ticker */
  .ticker-inner { gap: 8px; padding-block: 6px; justify-content: space-between; }
  .ticker-tel   { margin-left: 0; font-size: 12px; }
  .rate-chip    { padding: 3px 8px; font-size: 11.5px; }
  .pill-live    { font-size: 11.5px; }
  
  /* Hero */
  .hero         { padding-top: 24px; }
  .hero-grid    { gap: 18px; }
  .seal         { order: -1; width: 140px; height: 140px; margin: 0 auto 4px; }
  .seal-rate    { font-size: 1.7rem; }
  .seal-badge   { font-size: 9.5px; padding: 2px 7px; }
  .seal-pair    { font-size: 11.5px; }
  .hero-eyebrow { font-size: 10.5px; margin-bottom: 10px; }
  .hero h1      { font-size: clamp(1.85rem, 7.5vw, 2.35rem); line-height: 1.15; margin-bottom: 10px; }
  .hero-ar      { font-size: 1.15rem; margin-bottom: 12px; }
  .hero .lead   { font-size: 0.95rem; line-height: 1.55; margin-bottom: 20px; }
  .hero .cta    { flex-direction: column; width: 100%; gap: 10px; }
  .hero .cta .btn { width: 100%; min-height: 52px; font-size: 15.5px; border-radius: 14px; font-weight: 600; }
  
  /* Trust Bar (2x2 grid) */
  .trust-bar    { margin-top: 32px; padding-top: 20px; }
  .trust        { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .trust li     { padding: 14px 12px; border-radius: 13px; gap: 4px; }
  .trust strong { font-size: 1.4rem; }
  .trust span   { font-size: 12px; line-height: 1.35; }
  
  /* Panels */
  .panel        { padding: 20px 16px; border-radius: 18px; }
  .config       { gap: 20px; }
  .statement    { gap: 18px; }
  .field        { gap: 8px; }
  .field > .label { font-size: 13.5px; font-weight: 600; margin-bottom: 2px; }
  .field > .label .ar { font-size: 12px; }
  .rule         { font-size: 12.5px; line-height: 1.5; }
  .help         { font-size: 12.5px; min-height: 18px; }
  
  /* Presets Rail */
  .rail         { margin-inline: -16px; padding-inline: 16px; padding-bottom: 10px; gap: 10px; scrollbar-width: none; -ms-overflow-style: none; }
  .rail::-webkit-scrollbar { display: none; }
  .card-preset  { flex-basis: 158px; min-height: 128px; padding: 13px 12px; border-radius: 14px; gap: 5px; -webkit-tap-highlight-color: transparent; }
  .card-preset:active { transform: scale(0.97); }
  .cp-make      { font-size: 10px; letter-spacing: 0.12em; }
  .cp-model     { font-size: 15px; line-height: 1.25; font-weight: 700; }
  .cp-engine    { font-size: 11.5px; min-height: 30px; line-height: 1.35; }
  .cp-price     { font-size: 13.5px; margin-top: 2px; font-weight: 700; }
  
  /* Inputs */
  .input        { min-height: 54px; font-size: 20px; font-weight: 700; padding: 0 16px; border-radius: 14px; }
  .input-sm     { min-height: 48px; width: 110px; font-size: 18px; font-weight: 700; border-radius: 12px; }
  .cc-head      { gap: 8px; }
  .cc-input     { gap: 6px; font-size: 13px; }
  .slider-wrap  { padding-top: 24px; padding-bottom: 6px; }
  
  /* Segments */
  .seg          { padding: 5px; border-radius: 14px; }
  .seg button   { -webkit-tap-highlight-color: transparent; }
  .seg button:active { transform: scale(0.98); }
  
  .seg-3        { --seg-cols: 1; gap: 8px; }
  .seg-3 button {
    min-height: 54px; padding: 12px 16px;
    flex-direction: row; justify-content: space-between; align-items: center;
    font-size: 14.5px; font-weight: 600; border-radius: 12px;
  }
  .seg-3 button .ar { font-size: 13px; margin: 0; }
  
  #cur-seg      { --seg-cols: 4; gap: 4px; padding: 4px; border-radius: 12px; }
  #cur-seg button { min-height: 48px; font-size: 14px; font-weight: 700; border-radius: 9px; }
  #cur-seg button[aria-pressed="true"] {
    background: linear-gradient(180deg, var(--gold) 0%, #B89248 100%);
    color: #060C18;
    box-shadow: 0 2px 10px rgba(197, 160, 89, 0.35);
    border: none;
  }
  
  #fuel-seg     { --seg-cols: 2; gap: 8px; padding: 5px; border-radius: 14px; }
  #fuel-seg button { min-height: 56px; padding: 8px 10px; font-size: 14px; border-radius: 12px; }
  #fuel-seg button .ar { font-size: 12px; margin: 0; }
  
  .fob-row      { grid-template-columns: 1fr; gap: 8px; }
  
  /* Rate lock */
  .rate-lock    { padding: 12px 14px; border-radius: 12px; gap: 10px; }
  .rate-lock svg { width: 16px; height: 16px; }
  .rate-lock .label { font-size: 12.5px; }
  .rate-lines   { font-size: 12px; gap: 4px; margin-top: 4px; }
  
  /* Statement */
  .st-head      { gap: 12px; }
  #vehicle-label { font-size: 1.35rem; line-height: 1.25; margin-top: 2px; }
  #preset-status { font-size: 12.5px; }
  #ngp          { font-size: 11.5px; padding: 5px 10px; }
  
  .total-block  { gap: 8px; }
  .total        { font-size: clamp(2.2rem, 7.5vw, 2.9rem); line-height: 1; }
  .total small  { font-size: 1.05rem; }
  #eff          { padding: 5px 12px; font-size: 12.5px; }
  
  .row          { padding: 11px 0; gap: 10px; }
  .row dt       { font-size: 13.5px; line-height: 1.35; }
  .row dt .ar   { font-size: 11.5px; margin-top: 1px; }
  .row dd       { font-size: 15.5px; font-weight: 600; }
  
  .savings      { padding: 14px 16px; border-radius: 14px; gap: 12px; font-size: 13px; }
  .savings strong { font-size: 1.25rem; }
  
  .resale-block { gap: 10px; }
  .resale-block .label { font-size: 13px; }
  .resale-track { gap: 6px; }
  .resale-track li { padding: 10px 4px; border-radius: 12px; gap: 3px; min-height: 60px; }
  .resale-track li span { font-size: 11.5px; }
  .resale-track strong { font-size: 1.2rem; }
  
  .st-actions   { gap: 10px; }
  .st-actions .btn-wa { min-height: 54px; font-size: 15.5px; border-radius: 14px; }
  .row2         { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .row2 .btn    { min-height: 48px; font-size: 14px; font-weight: 600; border-radius: 12px; background: var(--surface-2); border: 1.5px solid var(--line-strong); }
  .disclaimer   { font-size: 11.5px; line-height: 1.5; padding-top: 12px; }
  
  /* Regimes */
  .regime-cards { grid-template-columns: 1fr; gap: 16px; }
  .reg-card     { padding: 20px 16px; border-radius: 18px; gap: 14px; }
  .reg-card h3  { font-size: 1.25rem; }
  .reg-card .ar { font-size: 13px; }
  .reg-fiscal ul { gap: 8px; font-size: 13.5px; line-height: 1.45; }
  .reg-fiscal li { padding-left: 18px; }
  .reg-docs     { padding: 12px 14px 14px; border-radius: 13px; gap: 8px; }
  .reg-docs-head { font-size: 11.5px; }
  .reg-docs-head .ar { font-size: 11.5px; }
  .reg-docs-list { gap: 7px; }
  .reg-docs-list li { font-size: 12px; line-height: 1.35; padding-left: 16px; }
  .reg-docs-list li .ar { font-size: 10.5px; }
  .reg-card .btn { min-height: 50px; font-size: 15px; font-weight: 600; border-radius: 13px; margin-top: 6px; background: var(--surface-2); border: 1.5px solid var(--line-strong); color: var(--gold-light); }

  /* Statement Docs */
  .st-docs      { padding: 12px 14px; border-radius: 13px; gap: 8px; }
  .st-docs-head .label { font-size: 12px; }
  .st-docs-head .label .ar { font-size: 11px; }
  .st-docs-list { gap: 6px; }
  .st-docs-list li { font-size: 12px; line-height: 1.35; padding-left: 16px; }
  .st-docs-list li .ar { font-size: 10.5px; }
  
  /* Argus */
  #argus-filters { margin-bottom: 22px; grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 6px; border-radius: 14px; }
  #argus-filters button { min-height: 48px; font-size: 14px; font-weight: 600; border-radius: 11px; }
  .argus-grid   { grid-template-columns: 1fr; gap: 14px; }
  .argus-card   { padding: 20px 16px; border-radius: 18px; gap: 12px; }
  .argus-card h3 { font-size: 1.2rem; }
  .argus-card > p { font-size: 12.5px; }
  .argus-meta   { padding: 10px 12px; border-radius: 12px; gap: 10px; margin-top: 2px; }
  .argus-meta dt { font-size: 11px; }
  .argus-meta dd { font-size: 14.5px; }
  .argus-foot   { padding-top: 10px; margin-top: 2px; }
  .argus-foot .btn { min-height: 44px; padding: 0 20px; font-size: 14px; font-weight: 600; border-radius: 11px; background: var(--surface-2); border: 1.5px solid var(--line-strong); color: var(--gold-light); }
  
  /* FAQ */
  .faq-grid     { grid-template-columns: 1fr; gap: 28px; }
  .faq-header   { gap: 12px; }
  .faq-contact  { gap: 10px; margin-top: 14px; }
  .faq-contact-card { padding: 12px 14px; min-height: 54px; border-radius: 12px; gap: 12px; }
  .faq-contact-icon { width: 36px; height: 36px; border-radius: 9px; }
  .faq-contact-icon svg { width: 18px; height: 18px; }
  .faq-contact-label { font-size: 11.5px; }
  .faq-contact-value { font-size: 14.5px; }
  .faq summary  { padding: 16px 36px 16px 0; font-size: 15px; }
  .faq summary::after { top: 14px; font-size: 20px; }
  .faq summary .ar { font-size: 12.5px; }
  .faq details p { padding: 0 0 16px; font-size: 14px; line-height: 1.6; }
  .faq-docs-grid { grid-template-columns: 1fr; gap: 10px; margin: 8px 0 14px; }
  .faq-doc-col  { padding: 12px; border-radius: 11px; }
  .faq-doc-col h4 { font-size: 12.5px; }
  .faq-doc-col li { font-size: 11.5px; }
  
  /* CTA Section */
  .cta-section  { padding: 52px 0; }
  .cta-section h2 { font-size: clamp(1.5rem, 6.5vw, 1.95rem); margin-bottom: 10px; }
  .cta-section .lead { margin: 0 auto 24px; font-size: 0.95rem; line-height: 1.6; }
  .cta-section-ar { font-size: 1.05rem; margin-bottom: 10px; }
  .cta-buttons  { flex-direction: column; width: 100%; gap: 10px; }
  .cta-buttons .btn { width: 100%; max-width: 100%; min-height: 52px; font-size: 15.5px; border-radius: 14px; }
  
  /* Footer */
  .footer       { padding: 48px 0 0; }
  .footer-grid  { grid-template-columns: 1fr; gap: 28px; }
  .footer-col h4 { font-size: 11.5px; margin-bottom: 12px; }
  .footer-col ul { gap: 10px; }
  .footer-col li { font-size: 13.5px; }
  .footer-wa-btn { min-height: 44px; padding: 0 16px; font-size: 13.5px; border-radius: 10px; }
  .footer-bottom { margin-top: 36px; padding: 16px 0 20px; flex-direction: column; text-align: center; font-size: 12px; }
}

@media (max-width: 480px) {
  .container    { width: calc(100% - 24px); }
  .panel        { padding: 18px 14px; border-radius: 18px; }
  .config       { gap: 18px; }
  .statement    { gap: 18px; }
  .hero h1      { font-size: clamp(1.8rem, 8vw, 2.3rem); }
  .hero-eyebrow { font-size: 10px; }
  .seal         { width: 135px; height: 135px; }
  .seal-rate    { font-size: 1.65rem; }
  
  /* Segments: keep generous touch targets */
  .seg-3 button { min-height: 52px; padding: 10px 14px; font-size: 14px; }
  .seg-3 button .ar { font-size: 12.5px; }
  #fuel-seg button { min-height: 54px; font-size: 13.5px; }
  #cur-seg button  { min-height: 46px; font-size: 13.5px; }
  
  /* Resale cases */
  .resale-track { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .resale-track li { padding: 10px 4px; border-radius: 11px; }
  .resale-track strong { font-size: 1.15rem; }
  
  .trust        { gap: 8px; }
  .trust strong { font-size: 1.3rem; }
  .trust li     { padding: 12px 10px; border-radius: 12px; }
  .trust span   { font-size: 11.5px; }
  
  /* Sticky bottom bar */
  .sticky       { padding: 11px 16px; padding-bottom: calc(11px + env(safe-area-inset-bottom, 0px)); }
  .sticky strong { font-size: 1.15rem; }
  .sticky .btn   { padding: 0 18px; min-height: 46px; font-size: 14px; border-radius: 12px; }
}

@media (max-width: 360px) {
  .container    { width: calc(100% - 16px); }
  .panel        { padding: 15px 11px; }
  .trust        { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .trust li     { padding: 10px 8px; }
  .trust strong { font-size: 1.2rem; }
  .trust span   { font-size: 11px; }
  .row2         { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .row2 .btn    { min-height: 46px; font-size: 13px; padding: 0 8px; }
  .seg-3 button { min-height: 52px; padding: 10px 12px; font-size: 13.5px; }
  .seg-3 button .ar { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .gold-rule  { transform: scaleX(1); }
  .btn:hover, .card-preset:hover, .reg-card:hover, .argus-card:hover { transform: none; }
}
@media print {
  body { background: #fff; color: #000; }
  .ticker, .nav, .hero, .trust-bar, #regimes, #argus, #faq, .cta-section, .footer, .sticky, .config, .st-actions, .sim::before, .skip { display: none !important; }
  .sim        { padding: 0; }
  .sim-grid   { display: block; }
  .statement  { border: 0; box-shadow: none; background: #fff; color: #000; padding: 0; }
  .total, .savings strong { color: #000; }
  .muted, .ar, .disclaimer { color: #333; }
  .savings    { background: #fff; border-color: #999; }
  .row, .ledger, .resale-track li { border-color: #ccc; }
  .alert      { border-color: #999; background: #fff; }
}
