/* Homepage (2026-10-03 redesign). Every rule is scoped to .kh so no other page is affected.
   Design source: claude.ai canvas "Kasbah Transfers Homepage Redesign". */

.kh {
  --kh-brand: #104B59;
  --kh-brand-dark: #0A3540;
  --kh-accent: #B84F18;          /* white text on it: 5.0:1 */
  --kh-accent-light: #FDB07E;    /* on brand: 5.3:1 */
  --kh-ink: #1F2A2D;
  --kh-muted: #4E5F64;
  --kh-line: #DCE5E7;
  --kh-soft: #F3F6F6;
  --kh-pad: clamp(16px, 4vw, 40px);
  font-family: 'Figtree', system-ui, sans-serif;
  color: var(--kh-ink);
  font-size: 17px;
  line-height: 1.6;
}
.kh h1, .kh h2, .kh h3, .kh .kh-display { font-family: 'Sora', sans-serif; letter-spacing: -0.01em; }
.kh h2 { margin: 0 0 12px; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.2; color: var(--kh-brand); font-weight: 700; }
.kh h3 { color: var(--kh-brand); font-weight: 700; }
.kh p { line-height: 1.6; }
.kh a { color: var(--kh-brand); }
.kh a:hover { color: var(--kh-brand-dark); }
.kh-wrap { max-width: 1200px; margin: 0 auto; padding: clamp(56px, 7vw, 96px) var(--kh-pad); }
/* One page background: sections after another white section get a hairline inside the content width */
.kh-sep { position: relative; }
.kh-sep::before { content: ""; position: absolute; top: 0; left: var(--kh-pad); right: var(--kh-pad); border-top: 1px solid var(--kh-line); }
.kh-lead { margin: 0 0 36px; color: var(--kh-muted); max-width: 640px; }
.kh-row { display: flex; flex-wrap: wrap; gap: 20px; }
.kh-head { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: flex-end; justify-content: space-between; margin-bottom: 32px; }
.kh-more { font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; }
.kh svg { flex-shrink: 0; }

/* Buttons */
.kh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px;
  border-radius: 12px; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: filter .2s, background .2s; }
.kh-btn:hover { filter: brightness(0.93); text-decoration: none; }
.kh-btn-accent { background: var(--kh-accent); color: #fff !important; }
.kh-btn-white { background: #fff; color: var(--kh-brand) !important; }
.kh-btn-ghost { border-color: rgba(255,255,255,0.55); color: #fff !important; }
.kh-btn-line { border-color: var(--kh-brand); color: var(--kh-brand) !important; min-height: 44px; padding: 0 16px; border-radius: 10px; }
.kh-btn-brand { background: var(--kh-brand); color: #fff !important; min-height: 44px; padding: 0 18px; border-radius: 10px; }

/* Hero */
.kh-hero { background: var(--kh-brand); color: #fff; }
.kh-hero .kh-wrap { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(40px, 6vw, 80px); display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.kh-hero-text { flex: 1 1 480px; min-width: 0; padding-top: 12px; }
.kh-kicker { margin: 0 0 16px; font-weight: 600; color: var(--kh-accent-light); letter-spacing: 0.02em; }
.kh-hero h1 { margin: 0 0 20px; color: #fff; font-weight: 700; font-size: clamp(30px, 3.3vw, 42px); line-height: 1.14; letter-spacing: -0.02em; max-width: 640px; }
.kh-hero-p { margin: 0 0 28px; font-size: 19px; color: #DCE8EB; max-width: 560px; }
.kh-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
/* Real photo (owner's van, Marrakech) fills the column beside the form. Text (480) + gap (48) + form (460) sit side by
   side only from ~1085px (with the scrollbar); below that the form stacks under the text, so the photo is hidden (the form comes sooner)
   and a "Get a price" button that jumps down to the form leads the buttons. */
.kh-hero-photo { display: block; width: 100%; height: auto; aspect-ratio: 960 / 580; object-fit: cover; margin-top: 36px; border-radius: 16px; }
.kh-phone-only { display: none !important; }
@media (max-width: 1099px) {
  .kh-hero-photo { display: none; }
  .kh-phone-only { display: inline-flex !important; }
}
@media (max-width: 767px) {
  .kh-no-phone { display: none !important; }   /* the number is already a tap-to-call link in the top bar */
}

/* Quote card */
.kh-quote { flex: 0 1 460px; min-width: 0; max-width: 520px; background: #fff; color: var(--kh-ink); border-radius: 20px;
  padding: clamp(20px, 3vw, 32px); box-shadow: 0 24px 60px rgba(4, 28, 34, 0.35); scroll-margin-top: 140px; }
.kh-quote h2 { font-size: 24px; margin: 0 0 6px; }
.kh-quote-sub { margin: 0 0 18px; font-size: 15px; color: var(--kh-muted); }
.kh-tabs { border: 0; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.kh-tabs legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.kh-tab { flex: 1 1 110px; position: relative; }
.kh-tab input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.kh-tab span { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 12px; border-radius: 10px;
  border: 2px solid #C9D5D8; background: #fff; color: var(--kh-brand); font-weight: 700; font-size: 15px; text-align: center; }
.kh-tab input:checked + span { background: var(--kh-brand); border-color: var(--kh-brand); color: #fff; }
.kh-tab input:focus-visible + span { outline: 3px solid var(--kh-accent); outline-offset: 2px; }
.kh-fields { display: flex; flex-direction: column; gap: 14px; }
.kh-pair { display: flex; flex-wrap: wrap; gap: 14px; }
.kh-field { flex: 0 0 auto; display: flex; flex-direction: column; gap: 6px; }
.kh-pair .kh-field { flex: 1 1 150px; }   /* basis = width only inside the two-column rows */
.kh-field label { font-weight: 600; font-size: 15px; margin: 0; color: var(--kh-ink); }
.kh-field input { min-height: 48px; padding: 0 14px; border: 1.5px solid #C9D5D8; border-radius: 10px; background: #fff; color: var(--kh-ink); font: inherit; width: 100%; }
.kh-field input:focus { outline: none; border-color: var(--kh-brand); box-shadow: 0 0 0 3px rgba(16, 75, 89, 0.15); }
.kh-submit { min-height: 54px; margin-top: 4px; border: 0; border-radius: 12px; background: var(--kh-accent); color: #fff; font-weight: 700; font-size: 18px; cursor: pointer; width: 100%; }
.kh-submit:hover { filter: brightness(0.93); }
.kh-quote-note { margin: 0; font-size: 14px; color: var(--kh-muted); text-align: center; }

/* Facts */
.kh-facts { background: #fff; border-bottom: 1px solid var(--kh-line); }
.kh-facts .kh-wrap { padding-top: 28px; padding-bottom: 28px; display: flex; flex-wrap: wrap; gap: 20px 40px; }
.kh-fact { flex: 1 1 220px; }
.kh-fact strong { display: block; font-family: 'Sora', sans-serif; font-size: 20px; color: var(--kh-brand); }
.kh-fact span { font-size: 15px; color: var(--kh-muted); }
/* The four former hero points, same wording, as a quiet second row */
.kh-points { flex: 1 1 100%; list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--kh-line);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 40px; font-size: 15px; color: var(--kh-ink); }
.kh-points li { padding-left: 14px; position: relative; }
.kh-points li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--kh-accent); }
@media (max-width: 991px) { .kh-points { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) { .kh-points { grid-template-columns: minmax(0, 1fr); } }

/* Service cards */
.kh-card { display: flex; flex-direction: column; gap: 10px; padding: 28px; border: 1px solid var(--kh-line);
  border-radius: 18px; background: #fff; color: var(--kh-ink) !important; text-decoration: none !important; transition: box-shadow .2s, border-color .2s; }
a.kh-card:hover { border-color: #B9CBCF; box-shadow: 0 10px 30px rgba(16, 75, 89, 0.08); }
.kh-card h3 { margin: 0; font-size: 22px; }
.kh-card p { margin: 0; color: var(--kh-muted); }
.kh-card:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.kh-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.kh-services > .kh-card:first-child { grid-column: span 2; }
@media (max-width: 991px) { .kh-services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .kh-services { grid-template-columns: minmax(0, 1fr); } .kh-services > .kh-card:first-child { grid-column: auto; } }

/* Vehicle photos: 4 columns on desktop (first photo spans 2×2), 2 on phones */
.kh-fleet { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 220px; gap: 14px; }
.kh-fleet-item { margin: 0; border-radius: 16px; overflow: hidden; background: var(--kh-soft); }
.kh-fleet-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kh-fleet-lead { grid-column: span 2; grid-row: span 2; }
@media (max-width: 767px) {
  .kh-fleet { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 170px; gap: 10px; }
}

/* Routes */
.kh-routes { background: #fff; border-radius: 18px; border: 1px solid var(--kh-line); overflow: hidden; }
.kh-route { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; padding: 18px 24px; border-bottom: 1px solid #E8EEEF; }
.kh-route:last-child { border-bottom: 0; }
.kh-route-name { flex: 2 1 260px; font-weight: 700; font-size: 18px; }
.kh-route-name span { color: #6B7C80; font-weight: 500; }
.kh-route-time { flex: 1 1 140px; color: var(--kh-muted); }
.kh-route-note { flex: 1 1 200px; color: var(--kh-muted); font-size: 15px; }

/* Airport block */
.kh-airport { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.kh-airport-text { flex: 1 1 420px; min-width: 0; }
.kh-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.kh-steps li { display: flex; gap: 16px; }
.kh-num { flex: 0 0 40px; height: 40px; border-radius: 50%; background: var(--kh-brand); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.kh-steps span.kh-sub { color: var(--kh-muted); }
.kh-airports { flex: 1 1 380px; border-radius: 22px; background: var(--kh-brand); color: #fff; padding: 36px; }
.kh-airports h3 { color: #fff; margin: 0 0 18px; font-size: 22px; }
.kh-airports ul { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.kh-airports li { display: flex; gap: 12px; align-items: center; font-weight: 600; font-size: 18px; }
.kh-airports p { margin: 0; color: #DCE8EB; }

/* Day trips */
.kh-trips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
.kh-trips li { border-top: 1px solid #D5E0E2; }
.kh-trip { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; row-gap: 2px; align-items: baseline;
  padding: 18px 0; color: var(--kh-ink) !important; text-decoration: none !important; }
.kh-trip h3 { margin: 0; font-size: 19px; }
.kh-trip:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.kh-trip-time { font-weight: 600; color: var(--kh-accent); font-size: 15px; white-space: nowrap; }
.kh-trip p { grid-column: 1 / -1; margin: 0; color: var(--kh-muted); font-size: 15px; }
@media (max-width: 767px) { .kh-trips { grid-template-columns: minmax(0, 1fr); } }

/* How it works */
.kh-howrow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.kh-step { padding: 4px 32px 4px 0; }
.kh-step + .kh-step { padding-left: 32px; border-left: 1px solid var(--kh-line); }
@media (max-width: 767px) {
  .kh-howrow { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .kh-step, .kh-step + .kh-step { padding: 0; border-left: 0; }
}
.kh-step-n { color: var(--kh-accent); font-variant-numeric: tabular-nums; }
.kh-step h3 { margin: 0 0 8px; font-size: 21px; display: flex; gap: 0.45em; }   /* wrapped heading lines hang beside the number */
.kh-step p { margin: 0; color: var(--kh-muted); }
.kh-policy { margin-top: 24px; padding: 20px 24px; border-radius: 14px; background: var(--kh-soft); display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; font-size: 15px; }
.kh-policy strong { color: var(--kh-brand); }

/* Why */
.kh-why { background: var(--kh-brand); color: #fff; }
.kh-why h2 { color: #fff; margin-bottom: 40px; }
.kh-why-grid { display: flex; flex-wrap: wrap; gap: 32px 40px; }
.kh-why-item { flex: 1 1 300px; }
.kh-why-item h3 { margin: 0 0 6px; font-size: 19px; color: var(--kh-accent-light); }
.kh-why-item p { margin: 0; color: #DCE8EB; }

/* FAQ */
.kh-faq { max-width: 900px; }
.kh-faq details { background: #fff; border: 1px solid var(--kh-line); border-radius: 14px; padding: 0 22px; margin-bottom: 12px; }
.kh-faq summary { min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 700; font-size: 18px; cursor: pointer; list-style: none; }
.kh-faq summary::-webkit-details-marker { display: none; }
.kh-faq summary::after { content: '+'; font-size: 26px; font-weight: 400; color: var(--kh-brand); }
.kh-faq details[open] summary::after { content: '–'; }
.kh-faq details p { margin: 0 0 20px; color: var(--kh-muted); }

/* Guides */
.kh-guide { flex: 1 1 320px; padding: 26px; border-radius: 18px; border: 1px solid var(--kh-line); color: var(--kh-ink) !important;
  text-decoration: none !important; display: flex; flex-direction: column; gap: 10px; }
a.kh-guide:hover { border-color: #B9CBCF; box-shadow: 0 10px 30px rgba(16, 75, 89, 0.08); }
.kh-guide-cat { font-size: 14px; font-weight: 700; color: var(--kh-accent); }
.kh-guide h3 { margin: 0; font-size: 20px; line-height: 1.3; }

/* Final CTA */
.kh-cta { background: var(--kh-brand-dark); color: #fff; }
.kh-cta .kh-wrap { padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; justify-content: space-between; }
.kh-cta h2 { color: #fff; margin: 0 0 8px; }
.kh-cta p { margin: 0; color: #DCE8EB; }
.kh-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.kh-cta-btns .kh-btn-white { color: var(--kh-brand-dark) !important; }
.kh-policy a { display: inline-flex; align-items: center; min-height: 44px; }   /* tap target on phones */
