/* ============================================
   MOTOR MAALIK — Design tokens
   ============================================ */
:root {
  --amber: #F5A623;
  --amber-dark: #D68C0F;
  --charcoal: #1A1A1A;
  --green: #2E7D32;
  --green-dark: #235D27;
  --red: #D32F2F;
  --offwhite: #FAFAFA;
  --gray: #757575;
  --gray-light: #E5E5E5;
  --white: #FFFFFF;

  --font-display: 'Mukta', sans-serif;
  --font-body: 'Noto Sans', sans-serif;

  --max-width: 1140px;
  --radius: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--offwhite);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--amber-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

img, svg { max-width: 100%; display: block; }
button { font-family: inherit; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 72px 0; }
@media (max-width: 640px) {
  section { padding: 52px 0; }
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 44px;
}
.section-head .eyebrow-label {
  display: inline-block;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber-dark);
  margin-bottom: 10px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 4vw, 38px);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.section-head p {
  color: var(--gray);
  font-size: 16px;
  margin: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  border: none;
  font-weight: 700;
  font-size: 15.5px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s ease, background 0.15s ease, box-shadow 0.15s ease;
  font-family: var(--font-body);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--amber); color: var(--charcoal); box-shadow: 0 6px 18px rgba(245,166,35,0.35); }
.btn-primary:hover { background: var(--amber-dark); }
.btn-dark { background: var(--charcoal); color: var(--white); }
.btn-dark:hover { background: #2e2e2e; }
.btn-outline { background: transparent; color: var(--charcoal); border: 1.5px solid var(--gray-light); }
.btn-outline:hover { border-color: var(--charcoal); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none !important; }

/* ============================================
   HEADER / NAV
   ============================================ */
.site-header {
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250,250,250,0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--gray-light);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand-mark {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-mark .logo-badge {
  width: 36px; height: 36px;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 8px;
}
.brand-mark .wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  color: var(--charcoal);
  letter-spacing: -0.01em;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  color: var(--charcoal);
  font-weight: 600;
  font-size: 14.5px;
}
.main-nav a:hover { color: var(--amber-dark); text-decoration: none; }
.header-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  padding: 6px;
}
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 860px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-cta .btn-dark { display: none; }
}
.main-nav.open {
  display: flex;
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--white);
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 16px 24px 20px;
  border-bottom: 1px solid var(--gray-light);
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
}
.main-nav.open a { padding: 10px 0; width: 100%; }

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: 56px 0 44px;
  text-align: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber-dark);
  background: rgba(245, 166, 35, 0.12);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--amber);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 6.4vw, 60px);
  line-height: 1.08;
  margin: 0 0 18px;
  color: var(--charcoal);
  letter-spacing: -0.02em;
}
.hero .tagline {
  font-size: clamp(16px, 2.2vw, 19px);
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto 32px;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.hero-note {
  font-size: 13.5px;
  color: var(--gray);
}

.road-connector { margin: 48px auto 0; max-width: 620px; }
.road-connector svg { width: 100%; height: auto; }
.road-path {
  fill: none; stroke: var(--charcoal); stroke-width: 3;
  stroke-linecap: round; stroke-dasharray: 10 12; stroke-dashoffset: 500;
  animation: draw-road 1.8s ease-out 0.3s forwards;
}
@keyframes draw-road { to { stroke-dashoffset: 0; } }
.road-node { opacity: 0; animation: node-in 0.5s ease-out forwards; }
.road-node.owner { animation-delay: 0.2s; }
.road-node.driver { animation-delay: 1.9s; }
@keyframes node-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.road-label { font-weight: 600; font-size: 13px; fill: var(--charcoal); }
@media (prefers-reduced-motion: reduce) {
  .road-path { animation: none; stroke-dashoffset: 0; }
  .road-node { animation: none; opacity: 1; }
  .eyebrow .dot { animation: none; }
}

/* ============================================
   CITY CHECKER
   ============================================ */
.city-checker { background: var(--white); border-top: 1px solid var(--gray-light); border-bottom: 1px solid var(--gray-light); }
.city-search-box {
  max-width: 560px;
  margin: 0 auto;
  position: relative;
}
.city-search-box input[type="text"] {
  width: 100%;
  padding: 16px 20px;
  border-radius: 12px;
  border: 1.5px solid var(--gray-light);
  font-size: 16px;
  font-family: var(--font-body);
  background: var(--offwhite);
}
.city-suggestions {
  list-style: none;
  margin: 8px 0 0;
  padding: 6px;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 12px;
  position: absolute;
  top: 100%; left: 0; right: 0;
  z-index: 20;
  max-height: 260px;
  overflow-y: auto;
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
  display: none;
}
.city-suggestions.show { display: block; }
.city-suggestions li button {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
  color: var(--charcoal);
}
.city-suggestions li button:hover { background: var(--offwhite); }
.city-suggestions li .st { color: var(--gray); font-size: 13px; }

.city-result {
  max-width: 560px;
  margin: 22px auto 0;
  padding: 20px 22px;
  border-radius: var(--radius);
  display: none;
}
.city-result.show { display: block; }
.city-result.live { background: rgba(46,125,50,0.08); border: 1.5px solid rgba(46,125,50,0.3); }
.city-result.pending { background: rgba(245,166,35,0.08); border: 1.5px solid rgba(245,166,35,0.35); }
.city-result.unknown { background: rgba(117,117,117,0.08); border: 1.5px solid var(--gray-light); }
.city-result h4 { font-family: var(--font-display); font-size: 18px; margin: 0 0 6px; }
.city-result p { margin: 0 0 4px; color: var(--charcoal); font-size: 14.5px; }
.city-result .sub-note { color: var(--gray); font-size: 13.5px; }

.request-form-wrap { display: none; margin-top: 18px; max-width: 560px; margin-left: auto; margin-right: auto; }
.request-form-wrap.show { display: block; }

.city-list-toggle { text-align: center; margin-top: 28px; }
.city-list-toggle button { background: none; border: none; color: var(--amber-dark); font-weight: 700; cursor: pointer; font-size: 14.5px; }
.full-city-grid {
  display: none;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 6px 14px;
  max-width: 900px;
  margin: 24px auto 0;
  font-size: 13.5px;
  color: var(--gray);
}
.full-city-grid.show { display: grid; }
.full-city-grid span.live-city { color: var(--green-dark); font-weight: 700; }

/* ============================================
   FORMS (shared: contact + city request)
   ============================================ */
.mm-form { display: grid; gap: 14px; }
.mm-form .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .mm-form .two-col { grid-template-columns: 1fr; } }
.mm-form label { font-weight: 600; font-size: 13.5px; color: var(--charcoal); display: block; margin-bottom: 6px; }
.mm-form input, .mm-form select, .mm-form textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1.5px solid var(--gray-light);
  font-family: var(--font-body);
  font-size: 15px;
  background: var(--white);
  color: var(--charcoal);
}
.mm-form textarea { resize: vertical; min-height: 100px; }
.mm-form .radio-row { display: flex; gap: 20px; align-items: center; }
.mm-form .radio-row label { display: flex; align-items: center; gap: 6px; font-weight: 500; margin: 0; }
.mm-form .radio-row input { width: auto; }
.mm-form button[type="submit"] { justify-self: start; margin-top: 4px; }
.form-success-msg {
  display: none;
  background: rgba(46,125,50,0.1);
  border: 1.5px solid rgba(46,125,50,0.3);
  color: var(--green-dark);
  padding: 16px 18px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14.5px;
}
.form-success-msg.show { display: block; }

/* ============================================
   HOW IT WORKS (tabs)
   ============================================ */
.role-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.role-tab-btn {
  padding: 11px 26px;
  border-radius: 999px;
  border: 1.5px solid var(--gray-light);
  background: var(--white);
  font-weight: 700;
  font-size: 14.5px;
  cursor: pointer;
  color: var(--charcoal);
}
.role-tab-btn.active.owner-tab { background: var(--amber); border-color: var(--amber); color: var(--charcoal); }
.role-tab-btn.active.driver-tab { background: var(--green); border-color: var(--green); color: var(--white); }

.role-panel { display: none; }
.role-panel.active { display: block; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps-grid { grid-template-columns: 1fr; } }
.step-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 24px 20px;
  position: relative;
}
.step-card .step-num {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 14px;
}
.role-panel.owner .step-num { background: rgba(245,166,35,0.15); color: var(--amber-dark); }
.role-panel.driver .step-num { background: rgba(46,125,50,0.12); color: var(--green); }
.step-card h4 { font-family: var(--font-display); font-size: 17px; margin: 0 0 8px; }
.step-card p { font-size: 14px; color: var(--gray); margin: 0; }

/* ============================================
   VALUE CARDS (used on hero support + trust)
   ============================================ */
.value-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .value-grid { grid-template-columns: 1fr; } }
.value-card { background: var(--white); border: 1px solid var(--gray-light); border-radius: var(--radius); padding: 28px 26px; }
.value-card .role-tag {
  display: inline-block; font-weight: 700; font-size: 12px; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}
.value-card.owner .role-tag { background: rgba(245,166,35,0.15); color: var(--amber-dark); }
.value-card.driver .role-tag { background: rgba(46,125,50,0.12); color: var(--green); }
.value-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 22px; margin: 0 0 10px; }
.value-card p { color: var(--gray); margin: 0; font-size: 15px; }

/* ============================================
   TRUST & SAFETY
   ============================================ */
.trust-section { background: var(--charcoal); color: var(--white); }
.trust-section .section-head h2 { color: var(--white); }
.trust-section .section-head p { color: #BDBDBD; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 900px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .trust-grid { grid-template-columns: 1fr; } }
.trust-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 24px 22px;
}
.trust-card .icon-badge {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--amber);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.trust-card .icon-badge svg { width: 22px; height: 22px; stroke: var(--charcoal); }
.trust-card h4 { font-family: var(--font-display); font-size: 16.5px; margin: 0 0 8px; color: var(--white); }
.trust-card p { font-size: 13.5px; color: #C8C8C8; margin: 0; }

/* ============================================
   VEHICLE TYPES
   ============================================ */
.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 900px) { .vehicle-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .vehicle-grid { grid-template-columns: 1fr; } }
.vehicle-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
}
.vehicle-card .emoji-badge { font-size: 34px; margin-bottom: 10px; }
.vehicle-card h4 { font-family: var(--font-display); font-size: 16px; margin: 0 0 6px; }
.vehicle-card p { font-size: 13.5px; color: var(--gray); margin: 0; }
.vehicle-card .ev-tag {
  display: inline-block;
  margin-top: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green-dark);
  background: rgba(46,125,50,0.1);
  padding: 3px 10px;
  border-radius: 999px;
}

/* ============================================
   DOWNLOAD CTA BAND
   ============================================ */
.download-band {
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-dark) 100%);
  text-align: center;
}
.download-band h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 4vw, 36px); color: var(--charcoal); margin: 0 0 12px; }
.download-band p { color: rgba(26,26,26,0.75); margin: 0 0 30px; font-size: 16px; }
.store-badges { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--charcoal); color: var(--white);
  padding: 12px 22px; border-radius: 10px;
  font-weight: 600; font-size: 14px;
}
.store-badge svg { width: 22px; height: 22px; }
.store-badge small { display: block; font-size: 10.5px; font-weight: 400; opacity: 0.75; }
.store-badge strong { font-size: 14.5px; }

/* ============================================
   CONTACT
   ============================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: start; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 28px;
}
.contact-info-card h3 { font-family: var(--font-display); font-size: 19px; margin: 0 0 18px; }
.contact-row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.contact-row .icon-dot {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(245,166,35,0.12);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-row .icon-dot svg { width: 18px; height: 18px; stroke: var(--amber-dark); }
.contact-row a, .contact-row span.label-text { font-weight: 600; color: var(--charcoal); font-size: 15px; }
.contact-card-box {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 28px;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer { border-top: 1px solid var(--gray-light); padding: 40px 0 28px; background: var(--white); }
.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; margin-bottom: 24px; }
.footer-brand .brand-mark { margin-bottom: 10px; }
.footer-brand p { color: var(--gray); font-size: 13.5px; max-width: 280px; margin: 0; }
.footer-col h5 { font-family: var(--font-display); font-size: 14px; margin: 0 0 12px; }
.footer-col a { display: block; color: var(--gray); font-size: 14px; margin-bottom: 8px; }
.footer-col a:hover { color: var(--amber-dark); }
.site-footer .bottom-bar {
  border-top: 1px solid var(--gray-light);
  padding-top: 20px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 13px; color: var(--gray);
}

/* ============================================
   POLICY PAGES (Privacy / Terms)
   ============================================ */
.policy-page main { padding: 44px 0 72px; }
.policy-page .policy-header { margin-bottom: 8px; }
.policy-page h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 5vw, 42px); margin: 0 0 6px; color: var(--charcoal); }
.policy-page .updated { color: var(--gray); font-size: 14px; margin-bottom: 40px; }
.policy-page .policy-body { max-width: 760px; background: var(--white); border: 1px solid var(--gray-light); border-radius: var(--radius); padding: 40px clamp(24px, 5vw, 52px); }
.policy-body h2 { font-family: var(--font-display); font-weight: 700; font-size: 21px; margin: 36px 0 12px; color: var(--charcoal); border-top: 1px solid var(--gray-light); padding-top: 28px; }
.policy-body h2:first-child { margin-top: 0; border-top: none; padding-top: 0; }
.policy-body p, .policy-body li { font-size: 15.5px; color: #333; }
.policy-body ul { padding-left: 20px; }
.policy-body li { margin-bottom: 6px; }
.policy-body strong { color: var(--charcoal); }
.policy-body .note { font-style: italic; color: var(--gray); font-size: 14px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--gray-light); }
.back-link { display: inline-block; margin-bottom: 28px; font-weight: 600; font-size: 14px; }
