/* Khusela Ridez — site stylesheet
   Split out of index.html for the Git/Netlify repo.
   All design tokens live in :root below; edit those to re-skin.
   Author: M Herbst / Kouga Systems, 2026 */

/* ============================================================
   KHUSELA RIDEZ — one-page prototype
   Architecture carried over from the TVR Law build:
   token-driven :root palette, centred logo+wordmark header,
   tap-to-contact line, rhythmic sections, skip link.
   Re-skinned for a 24/7 consumer ride service.
   Author: M Herbst, 2026
   ============================================================ */

/* ---------- 1. DESIGN TOKENS ---------- */
:root {
  /* Brand palette (from the Khusela Ridez pamphlet) */
  --orange:        #e8731b;
  --orange-deep:   #c85f0f;
  --green:         #5ba82a;
  --green-deep:    #4a8c20;
  --ink:           #18140f;   /* near-black for text + wordmark */
  --ink-soft:      #4a443c;
  --cream:         #f8f4ec;   /* page background */
  --cream-deep:    #efe7d8;
  --card:          #ffffff;
  --border:        rgba(24, 20, 15, 0.10);
  --shadow:        0 18px 40px -22px rgba(24, 20, 15, 0.45);

  /* Typography */
  --font-display: 'Marcellus', Georgia, 'Times New Roman', serif;
  --font-body:    'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Spacing rhythm */
  --section-y: clamp(3rem, 8vw, 5.5rem);
  --gutter:    clamp(1.25rem, 5vw, 2.5rem);
}

/* ---------- 2. RESET & BASE ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.6;
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* Atmospheric background: soft warm wash + faint road-line texture */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(232,115,27,0.10), transparent 55%),
    radial-gradient(120% 80% at 0% 100%, rgba(91,168,42,0.10), transparent 55%),
    var(--cream);
}

/* ---------- 3. SKIP LINK (accessibility) ---------- */
.skip-link {
  position: absolute; left: -10000px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus {
  position: fixed; left: 1rem; top: 1rem; z-index: 999;
  width: auto; height: auto;
  padding: 0.6rem 1rem; border-radius: 8px;
  background: var(--ink); color: var(--cream); font-weight: 600;
}

/* ---------- 4. LAYOUT WRAP ---------- */
.wrap { width: min(1080px, 100%); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- 5. HEADER ---------- */
.site-header {
  text-align: center;
  padding: clamp(1.75rem, 6vw, 3rem) var(--gutter) clamp(1.25rem, 4vw, 2rem);
}
.logo-monogram {
  width: clamp(64px, 16vw, 92px);
  height: clamp(64px, 16vw, 92px);
  margin: 0 auto 0.85rem;
  display: grid; place-items: center;
}
.wordmark {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 9vw, 3.6rem);
  letter-spacing: 0.14em;
  line-height: 1;
  color: var(--ink);
  text-transform: uppercase;
}
.tagline {
  margin-top: 0.85rem;
  font-weight: 700;
  font-size: clamp(0.95rem, 3.4vw, 1.2rem);
  letter-spacing: 0.02em;
  color: var(--green-deep);
  text-transform: uppercase;
}
.tagline .accent { color: var(--orange); }

/* 24/7 badge */
.badge-247 {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-top: 1.1rem;
  padding: 0.5rem 1.15rem; border-radius: 999px;
  background: var(--green); color: #fff;
  font-weight: 800; letter-spacing: 0.06em; font-size: 0.92rem;
  box-shadow: 0 8px 20px -10px rgba(91,168,42,0.8);
}
.badge-247::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 0 rgba(255,255,255,0.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,255,255,0.7); }
  70%  { box-shadow: 0 0 0 7px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

/* ---------- 6. HERO / PRIMARY CALL-TO-ACTION ---------- */
.hero {
  text-align: center;
  padding-bottom: var(--section-y);
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 7.5vw, 3.1rem);
  line-height: 1.1;
  margin: 0 auto 0.6rem;
  max-width: 16ch;
}
.hero p.lede {
  color: var(--ink-soft);
  font-size: clamp(1rem, 3.6vw, 1.18rem);
  max-width: 34ch; margin: 0 auto 1.9rem;
}

/* Call buttons — large, thumb-friendly tap targets */
.cta-grid {
  display: grid; gap: 0.85rem;
  width: min(440px, 100%); margin: 0 auto;
}
.btn {
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 1.05rem 1.25rem; border-radius: 14px;
  font-weight: 800; font-size: 1.08rem; letter-spacing: 0.01em;
  border: 2px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-call {
  background: var(--orange); color: #fff;
  box-shadow: 0 14px 30px -14px rgba(232,115,27,0.9);
}
.btn-call:hover { background: var(--orange-deep); transform: translateY(-2px); }
.btn-call small { display: block; font-weight: 600; font-size: 0.74rem; opacity: 0.92; letter-spacing: 0.04em; }
.btn-call .label { line-height: 1.1; text-align: left; }
.btn-wa {
  background: var(--green); color: #fff;
  box-shadow: 0 14px 30px -14px rgba(91,168,42,0.9);
}
.btn-wa:hover { background: var(--green-deep); transform: translateY(-2px); }
.btn-ghost {
  background: transparent; color: var(--ink); border-color: var(--border);
}
.btn-ghost:hover { background: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }

.contact-names {
  margin-top: 1.1rem; font-size: 0.95rem; color: var(--ink-soft);
}
.contact-names strong { color: var(--ink); }

/* ---------- 7. SECTION HEADINGS ---------- */
.section { padding-block: var(--section-y); }
.section-alt { background: var(--card); border-block: 1px solid var(--border); }
.eyebrow {
  text-align: center; text-transform: uppercase;
  letter-spacing: 0.18em; font-size: 0.78rem; font-weight: 700;
  color: var(--orange); margin-bottom: 0.6rem;
}
.section h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.6rem, 5.5vw, 2.4rem); text-align: center;
  margin-bottom: 0.5rem;
}
.section .sub {
  text-align: center; color: var(--ink-soft);
  max-width: 46ch; margin: 0 auto clamp(1.75rem, 5vw, 2.5rem);
}

/* ---------- 8. TRUST / FEATURE CARDS ---------- */
.features {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 620px) { .features { grid-template-columns: 1fr 1fr; } }
.feature {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--cream); border: 1px solid var(--border);
  border-radius: 16px; padding: 1.25rem 1.35rem;
}
.section-alt .feature { background: var(--cream); }
.feature-icon {
  flex: none; width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center; color: #fff;
}
.feature-icon.o { background: var(--orange); }
.feature-icon.g { background: var(--green); }
.feature-icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 0.15rem; }
.feature p { font-size: 0.94rem; color: var(--ink-soft); margin: 0; }

/* ---------- 9. SERVICE AREAS ---------- */
.areas { text-align: center; }
.area-chips {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem;
  margin-top: 0.5rem;
}
.chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 1.25rem; border-radius: 999px;
  background: var(--cream); border: 1.5px solid var(--green);
  font-weight: 700; color: var(--ink);
}
.chip svg { width: 18px; height: 18px; color: var(--green); }

/* ---------- 10. SAFETY / WHY BLOCK ---------- */
.why-card {
  max-width: 640px; margin: 0 auto; text-align: center;
  background: var(--ink); color: var(--cream);
  border-radius: 22px; padding: clamp(2rem, 7vw, 3rem);
  box-shadow: var(--shadow);
}
.why-card .eyebrow { color: var(--orange); }
.why-card h2 { color: var(--cream); }
.why-card p { color: rgba(248,244,236,0.82); max-width: 42ch; margin: 0.4rem auto 0; }

/* ---------- 11. FINAL CTA ---------- */
.final-cta { text-align: center; }

/* ---------- 12. FOOTER ---------- */
.site-footer {
  background: var(--ink); color: rgba(248,244,236,0.78);
  padding: clamp(2.25rem, 6vw, 3rem) var(--gutter) 2rem;
  text-align: center; font-size: 0.9rem;
}
.site-footer .fwordmark {
  font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--cream); font-size: 1.4rem; margin-bottom: 0.4rem;
}
.site-footer a { color: var(--cream); font-weight: 600; }
.site-footer .foot-areas { color: var(--green); font-weight: 700; margin: 0.4rem 0 1rem; }
.site-footer .legal { font-size: 0.78rem; color: rgba(248,244,236,0.5); margin-top: 1.25rem; }

/* ---------- 13. PAGE-LOAD REVEAL (CSS only) ---------- */
.reveal { opacity: 0; transform: translateY(14px); animation: rise 0.7s ease forwards; }
.d1 { animation-delay: 0.05s; } .d2 { animation-delay: 0.15s; }
.d3 { animation-delay: 0.25s; } .d4 { animation-delay: 0.35s; } .d5 { animation-delay: 0.45s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; opacity: 1; transform: none; }
  .badge-247::before { animation: none; }
}

/* ---------- 14. VALUE STRIP (hero) — from the "Big Value" pamphlet ---------- */
.value-strip {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--orange);
  margin: 0.1rem 0 1.5rem;
}

/* ---------- 15. AIRPORT TRANSFERS (featured service) ---------- */
.airport-card {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  background: linear-gradient(160deg, #ffffff, var(--cream));
  border: 1px solid var(--border);
  border-top: 4px solid var(--orange);
  border-radius: 22px;
  padding: clamp(1.75rem, 6vw, 2.75rem);
  box-shadow: var(--shadow);
}
.airport-icon {
  width: 58px; height: 58px;
  margin: 0 auto 0.6rem;
  border-radius: 50%;
  background: var(--orange); color: #fff;
  display: grid; place-items: center;
}
.airport-icon svg { width: 30px; height: 30px; }
.airport-route {
  font-weight: 800;
  color: var(--green-deep);
  font-size: clamp(1rem, 3.6vw, 1.2rem);
  margin-top: 0.2rem;
}
.airport-card .sub { margin-bottom: 1rem; }
.promo-badge {
  display: inline-block;
  margin: 0.2rem 0 1.5rem;
  padding: 0.5rem 1.15rem;
  border-radius: 999px;
  background: var(--green); color: #fff;
  font-weight: 800; letter-spacing: 0.04em; font-size: 0.95rem;
  box-shadow: 0 8px 20px -10px rgba(91,168,42,0.8);
}
.airport-card .cta-grid { width: min(440px, 100%); }

/* ---------- 16. SERVICE-AREAS NOTE ---------- */
.areas-note {
  margin-top: 1rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
