/* ============ TOKENS ============ */
:root{
  --blue: #0455BF;
  --blue-dark: #033F8F;
  --blue-ink: #05224D;
  --lime: #C6E24E;
  --lime-ink: #233B00;
  --paper: #F4F6FA;
  --white: #FFFFFF;
  --ink: #10151F;
  --muted: #5B6472;
  --border: #E2E6ED;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'IBM Plex Sans', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow: 0 12px 32px rgba(5, 34, 77, 0.08);
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
ul,ol{ margin:0; padding:0; list-style:none; }
button{ font-family: inherit; cursor:pointer; }
input,select{ font-family: inherit; }

.wrap{
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link{
  position:absolute; left:-999px; top:0;
  background:var(--ink); color:var(--white); padding:10px 16px; z-index:200;
}
.skip-link:focus{ left: 12px; top: 12px; }

:focus-visible{
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

.eyebrow{
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 10px;
  font-weight: 600;
}
.eyebrow--light{ color: var(--lime); }

.section-title{
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.1;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.hero-lead{
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
  max-width: 46ch;
}
.hero-lead--light{ color: #C9D8FA; }

/* ============ BUTTONS ============ */
.btn{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  border: none;
  border-radius: 999px;
  padding: 14px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover{ transform: translateY(-1px); }
.btn-primary{ background: var(--blue); color: var(--white); }
.btn-primary:hover{ background: var(--blue-dark); }
.btn-accent{ background: var(--lime); color: var(--lime-ink); }
.btn-accent:hover{ box-shadow: 0 8px 20px rgba(198,226,78,0.5); }
.btn-outline{
  background: var(--white); color: var(--ink);
  border: 1.5px solid var(--border);
}
.btn-outline:hover{ border-color: var(--blue); color: var(--blue); }
.btn-sm{ padding: 10px 18px; font-size: 14px; }
.btn-block{ width:100%; }
.btn[disabled]{ opacity:.45; pointer-events:none; }

/* ============ HEADER ============ */
.site-header{
  position: sticky; top:0; z-index: 100;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  height: 76px;
}
.logo{ display:flex; flex-direction:column; line-height:1; }
.logo-word{
  font-family: var(--font-display);
  font-size: 22px; font-weight:700; letter-spacing: 0.02em;
  color: var(--blue-ink);
}
.logo-sub{
  font-family: var(--font-mono);
  font-size: 9px; letter-spacing: 0.2em; text-transform:uppercase; color: var(--muted);
}
.main-nav{ display:flex; gap: 32px; }
.main-nav a{
  font-size: 14.5px; font-weight: 500; color: var(--ink);
  padding: 8px 0; position:relative;
}
.main-nav a:hover{ color: var(--blue); }
.header-actions{ display:flex; align-items:center; gap: 16px; }

.nav-toggle{
  display:none; flex-direction:column; justify-content:center; gap:5px;
  width: 40px; height: 40px; background:none; border:none; border-radius: 10px;
}
.nav-toggle span{ height:2px; background: var(--ink); border-radius:2px; }

/* ============ HERO ============ */
.hero{
  background: linear-gradient(180deg, #EFF4FF 0%, #FFFFFF 65%);
  padding-top: 64px;
  overflow: hidden;
}
.hero-inner{
  display:grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 48px; align-items:center;
  padding-bottom: 56px;
}
.hero h1{
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0 0 18px;
  color: var(--blue-ink);
}
.search-card{
  margin-top: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: var(--radius-lg);
  padding: 16px;
  display:grid;
  grid-template-columns: 1.6fr 1fr auto;
  gap: 12px;
  align-items: end;
}
.search-field label{
  display:block; font-size: 12px; font-weight:600; margin-bottom: 6px; color: var(--ink);
}
.search-field select{
  width:100%; height: 48px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); padding: 0 12px; font-size:14px; background: var(--white);
}
.input-icon{
  display:flex; align-items:center; gap:10px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  height: 48px; padding: 0 12px;
}
.input-icon svg{ color: var(--muted); flex:none; }
.input-icon input{
  border:none; outline:none; width:100%; font-size:14px; background:transparent;
}
.search-submit{ height:48px; white-space:nowrap; }

.hero-visual{ position:relative; height: 420px; }
.hero-grid{
  position:absolute; inset:0;
  background-image:
    linear-gradient(#DDE6F7 1px, transparent 1px),
    linear-gradient(90deg, #DDE6F7 1px, transparent 1px);
  background-size: 34px 34px;
  border-radius: var(--radius-lg);
  mask-image: radial-gradient(circle at 50% 40%, black 55%, transparent 90%);
}
.pin-card{
  position:absolute;
  display:flex; align-items:center; gap:10px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 12px 16px;
  font-family: var(--font-display);
}
.pin-card strong{ display:block; font-size: 14px; }
.pin-card small{ color: var(--muted); font-family: var(--font-body); font-size: 12px; }
.pin-dot{
  width: 10px; height:10px; border-radius:50%;
  background: var(--blue);
  box-shadow: 0 0 0 6px rgba(4,85,191,0.14);
}
.pin-card--a{ top: 18%; left: 6%; animation: float 5s ease-in-out infinite; }
.pin-card--b{ bottom: 16%; right: 2%; animation: float 5.5s ease-in-out infinite 1s; }
@keyframes float{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(-8px); }
}

/* ============ TICKER (signature element) ============ */
.ticker{
  background: var(--blue-ink);
  color: var(--white);
}
.ticker-inner{
  display:flex; align-items:center; gap: 28px;
  padding: 14px 24px;
  overflow-x:auto;
}
.ticker-label{
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing:0.12em; text-transform:uppercase;
  color: #8FB0E8; flex: none;
  display:flex; align-items:center; gap:8px;
}
.ticker-label::before{
  content:''; width:7px; height:7px; border-radius:50%;
  background: var(--lime); display:inline-block;
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse{
  0%,100%{ opacity:1; } 50%{ opacity:.35; }
}
.ticker-items{ display:flex; gap: 28px; flex:1; }
.ticker-item{
  display:flex; align-items:center; gap:10px; flex:none;
  font-size: 13px;
}
.ticker-item .t-name{ font-weight:600; }
.ticker-item .t-bar{
  width: 70px; height: 5px; border-radius:3px; background: rgba(255,255,255,0.18);
  overflow:hidden;
}
.ticker-item .t-fill{
  height:100%; background: var(--lime); border-radius:3px; width:0%;
  transition: width 1.1s cubic-bezier(.22,.9,.3,1);
}
.ticker-item .t-pct{ font-family: var(--font-mono); color:#C9D8FA; }

/* ============ SECTIONS ============ */
.section{ padding: 88px 0; }
.section--alt{ background: var(--paper); }
.section-head{
  display:flex; justify-content:space-between; align-items:end; gap: 24px;
  margin-bottom: 40px; flex-wrap:wrap;
}
.section-note{ color: var(--muted); font-size:14px; }

/* steps */
.steps{
  display:grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  margin-top: 40px;
}
.step{
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.step-num{
  font-family: var(--font-mono);
  font-size: 13px; color: var(--blue);
  display:inline-block;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 18px;
}
.step h3{
  font-family: var(--font-display);
  font-size: 20px; margin: 0 0 8px;
}
.step p{ color: var(--muted); font-size: 14.5px; line-height:1.6; margin:0; }

/* garage cards */
.garage-grid{
  display:grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.garage-card{
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow:hidden;
  display:flex; flex-direction:column;
}
.garage-media{
  height: 96px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  position:relative;
}
.garage-status{
  position:absolute; top:12px; left:12px;
  background: rgba(255,255,255,0.92);
  color: var(--blue-ink);
  font-size: 11px; font-weight:600;
  padding: 5px 10px; border-radius: 999px;
}
.garage-body{ padding: 20px; display:flex; flex-direction:column; gap:12px; flex:1; }
.garage-body h3{ font-family: var(--font-display); font-size:18px; margin:0; }
.garage-address{ color: var(--muted); font-size: 13px; margin: -8px 0 0; }
.garage-meta{ display:flex; justify-content:space-between; align-items:center; font-size:13px; }
.garage-price{ font-family: var(--font-mono); font-weight:600; color: var(--blue-ink); }
.garage-occ-bar{ height:6px; border-radius:3px; background: var(--paper); overflow:hidden; }
.garage-occ-fill{ height:100%; background: var(--blue); border-radius:3px; }
.garage-footer{ margin-top:auto; display:flex; gap:10px; }

/* app cta */
.app-cta{
  background: var(--blue-ink);
  color: var(--white);
  padding: 88px 0;
}
.app-cta h2{
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 38px);
  margin: 0 0 16px;
}
.app-cta-inner{
  display:grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items:center;
}
.store-buttons{ display:flex; gap:12px; margin-top: 28px; flex-wrap:wrap; }
.store-btn{
  display:flex; align-items:center; gap:10px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-md);
  padding: 10px 18px;
  font-size: 14px; font-weight:600;
  opacity: .6;
}
.store-btn small{ display:block; font-weight:400; font-size:10px; opacity:.8; }

.phone-mock{ display:flex; justify-content:center; }
.phone-mock-screen{
  width: 200px; height: 400px;
  background: var(--blue);
  border-radius: 32px;
  border: 6px solid #06306e;
  display:flex; flex-direction:column; align-items:center; justify-content:space-between;
  padding: 36px 18px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.35);
}
.phone-logo{
  font-family: var(--font-display);
  font-size: 22px; color: var(--white); letter-spacing: 0.04em;
}
.phone-btn{
  background: var(--lime); color: var(--lime-ink);
  font-weight:600; font-size:13px;
  border-radius: 999px; padding: 12px 26px; width:100%; text-align:center;
}

/* faq */
.faq-list{ margin-top: 32px; border-top: 1px solid var(--border); }
.faq-item{ border-bottom: 1px solid var(--border); }
.faq-q{
  width:100%; background:none; border:none; text-align:left;
  padding: 20px 0; display:flex; justify-content:space-between; align-items:center;
  font-family: var(--font-display); font-size: 16px; font-weight:600; color: var(--ink);
}
.faq-q .plus{ transition: transform .2s ease; color: var(--blue); font-size:20px; }
.faq-item.open .faq-q .plus{ transform: rotate(45deg); }
.faq-a{
  max-height:0; overflow:hidden; transition: max-height .25s ease;
  color: var(--muted); font-size: 14.5px; line-height:1.6;
}
.faq-a p{ padding-bottom: 20px; margin:0; max-width: 65ch; }

/* footer */
.site-footer{ background: var(--paper); padding-top: 64px; border-top: 1px solid var(--border); }
.footer-inner{ display:flex; justify-content:space-between; gap: 48px; flex-wrap:wrap; padding-bottom: 40px; }
.footer-brand p{ color: var(--muted); font-size:13.5px; max-width: 30ch; margin-top:10px; }
.footer-cols{ display:flex; gap: 56px; }
.footer-cols h4{ font-size: 12px; text-transform:uppercase; letter-spacing:.08em; color: var(--muted); margin: 0 0 14px; }
.footer-cols a{ display:block; font-size: 14px; margin-bottom: 10px; }
.footer-cols a:hover{ color: var(--blue); }
.footer-bottom{
  border-top: 1px solid var(--border);
  padding: 18px 24px;
  display:flex; justify-content:space-between;
  font-size: 12.5px; color: var(--muted);
}

/* ============ BOOKING PANEL ============ */
.booking-overlay{
  position:fixed; inset:0; background: rgba(5,20,45,0.55);
  display:none; align-items:center; justify-content:center;
  padding: 24px; z-index: 300;
}
.booking-overlay.open{ display:flex; }
.booking-panel{
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%; max-width: 520px;
  max-height: 88vh; overflow-y:auto;
  padding: 32px;
  position:relative;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
}
.booking-close{
  position:absolute; top:18px; right:18px;
  width:34px; height:34px; border-radius:50%;
  background: var(--paper); border:none; font-size:15px; color: var(--muted);
}
.booking-close:hover{ background:var(--border); }

.bk-title{ font-family: var(--font-display); font-size: 22px; margin: 0 0 4px; }
.bk-sub{ color: var(--muted); font-size:13.5px; margin: 0 0 24px; }

.bk-progress{ display:flex; gap:6px; margin-bottom: 24px; }
.bk-progress span{ flex:1; height:4px; border-radius:2px; background: var(--border); }
.bk-progress span.done{ background: var(--blue); }

.field{ margin-bottom: 16px; }
.field label{ display:block; font-size:13px; font-weight:600; margin-bottom:6px; }
.field input, .field select{
  width:100%; height: 46px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); padding: 0 12px; font-size:14px;
  background: var(--white);
}
.field-row{ display:flex; gap:12px; }
.field-row .field{ flex:1; }

.option-list{ display:flex; flex-direction:column; gap:10px; margin-bottom: 8px; }
.option-row{
  display:flex; align-items:center; justify-content:space-between;
  border: 1.5px solid var(--border); border-radius: var(--radius-md);
  padding: 14px 16px; font-size: 14px; font-weight:500;
  background: var(--white);
}
.option-row.selected{ border-color: var(--blue); background: #F2F6FF; }
.option-row input{ margin: 0; }

.bk-summary-row{
  display:flex; justify-content:space-between; padding: 8px 0;
  font-size: 14px; border-bottom: 1px dashed var(--border);
}
.bk-summary-row:last-of-type{ border-bottom:none; }
.bk-total{ font-family: var(--font-display); font-weight:700; font-size:18px; }

.bk-actions{ display:flex; gap:10px; margin-top: 22px; }
.bk-actions .btn{ flex:1; }

.bk-success{ text-align:center; padding: 12px 0 4px; }
.bk-success .check{
  width:64px; height:64px; border-radius:50%;
  background: #E7F6EC; color:#1F8A4C;
  display:flex; align-items:center; justify-content:center;
  margin: 0 auto 18px; font-size: 30px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px){
  .hero-inner{ grid-template-columns: 1fr; }
  .hero-visual{ display:none; }
  .search-card{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: 1fr; }
  .garage-grid{ grid-template-columns: 1fr 1fr; }
  .app-cta-inner{ grid-template-columns: 1fr; }
  .phone-mock{ order:-1; }
}

@media (max-width: 680px){
  .main-nav{ display:none; }
  .main-nav.open{
    display:flex; flex-direction:column; gap:0;
    position:absolute; top:76px; left:0; right:0;
    background: var(--white); border-bottom:1px solid var(--border);
    padding: 8px 24px 20px;
  }
  .main-nav.open a{ padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav-toggle{ display:flex; }
  .header-actions .btn-sm{ display:none; }
  .garage-grid{ grid-template-columns: 1fr; }
  .footer-inner{ flex-direction:column; }
  .footer-cols{ gap: 32px; flex-wrap:wrap; }
  .field-row{ flex-direction:column; gap:0; }
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
