/* ==========================================================================
   44 Taxi — stylesheet
   Design tokens: ink navy / cab amber / cream, Fraunces + Inter + IBM Plex Mono
   Mobile-first. Every layout uses fluid units and min(...,100%) guards so
   nothing can ever force horizontal scroll on a narrow viewport.
   ========================================================================== */

:root{
  --ink:        #12233d;
  --ink-soft:   #24405f;
  --amber:      #f2a900;
  --amber-dark: #c98700;
  --cream:      #f7f3ea;
  --paper:      #ffffff;
  --charcoal:   #23262b;
  --grey:       #6b7280;
  --green:      #2f7a4d;
  --line:       #e7e0d2;

  --font-display: "Fraunces", Georgia, serif;
  --font-body:    "Inter", system-ui, -apple-system, sans-serif;
  --font-mono:    "IBM Plex Mono", ui-monospace, monospace;

  --radius: 14px;
  --shadow: 0 12px 30px -14px rgba(18,35,61,0.35);
  --container-max: 1180px;
}

/* ---- Reset & base ---- */
*, *::before, *::after{ box-sizing: border-box; }
html{ -webkit-text-size-adjust: 100%; }
body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.55;
  overflow-x: hidden; /* safety net; real fixes are the guards below */
}
img, svg, video{ max-width: 100%; height: auto; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin: 0; padding: 0; }
button{ font: inherit; background: none; border: none; cursor: pointer; }
input, select, textarea{ font: inherit; width: 100%; max-width: 100%; }
h1,h2,h3,h4{ font-family: var(--font-display); color: var(--ink); line-height: 1.15; margin: 0 0 0.5em; }
p{ margin: 0 0 1em; }
:focus-visible{ outline: 3px solid var(--amber); outline-offset: 2px; }

.container{
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 32px);
}
.container--narrow{ max-width: 820px; }

.eyebrow{
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--amber-dark);
  margin-bottom: 0.6em;
}
h1{ font-size: clamp(1.9rem, 5vw, 3.1rem); font-weight: 600; }
h2{ font-size: clamp(1.5rem, 3.6vw, 2.2rem); font-weight: 600; }
.section-lede{ max-width: 60ch; color: var(--grey); font-size: 1.05rem; }

section{ padding-block: clamp(48px, 7vw, 88px); }

/* ---- Buttons ---- */
.btn{
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.4em;
  padding: 0.85em 1.4em;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn--primary{ background: var(--amber); color: var(--ink); }
.btn--primary:hover{ background: var(--amber-dark); transform: translateY(-1px); }
.btn--ghost{ background: transparent; color: var(--paper); border: 1.5px solid rgba(255,255,255,0.55); }
.btn--ghost:hover{ background: rgba(255,255,255,0.1); }
.btn--text{ color: var(--ink); text-decoration: underline; text-underline-offset: 3px; padding-inline: 0.2em; }
.btn--lg{ padding: 1em 1.7em; font-size: 1.02rem; }
.btn--block{ width: 100%; }
/* On light sections, ghost buttons need dark styling */
.reviews .btn--ghost{ border-color: var(--ink); color: var(--ink); }

/* ---- Top offer bar ---- */
.topbar{ background: var(--ink); color: rgba(255,255,255,0.9); font-size: 0.82rem; }
.topbar__text{
  margin: 0;
  padding: 8px clamp(16px,4vw,32px);
  display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center;
  justify-content: center; text-align: center;
}
.topbar a{ text-decoration: underline; text-underline-offset: 2px; }
.topbar__sep{ opacity: 0.4; }

/* ---- Header / nav ---- */
.site-header{ background: var(--ink); position: sticky; top: 0; z-index: 50; box-shadow: var(--shadow); }
.site-header__inner{ display: flex; align-items: center; justify-content: space-between; padding-block: 14px; gap: 12px; }

.logo{ display: inline-flex; align-items: baseline; gap: 6px; font-family: var(--font-display); color: var(--paper); flex: 0 0 auto; }
.logo__mark{ background: var(--amber); color: var(--ink); font-weight: 700; padding: 2px 8px; border-radius: 8px; font-size: 1.1rem; }
.logo__word{ font-weight: 600; letter-spacing: 0.04em; font-size: 1.05rem; }

.nav-toggle{ display: flex; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span{ width: 22px; height: 2px; background: var(--paper); border-radius: 2px; }

.primary-nav{
  position: fixed; inset: 0 0 0 auto; width: min(320px, 88vw);
  background: var(--ink-soft); padding: 24px; overflow-y: auto;
  transform: translateX(100%); transition: transform .25s ease;
  display: flex; flex-direction: column; gap: 20px;
}
.primary-nav.is-open{ transform: translateX(0); }
.primary-nav ul{ display: flex; flex-direction: column; gap: 4px; }
.primary-nav > ul > li > a,
.dropdown-toggle{
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  color: var(--paper); padding: 10px 4px; font-weight: 500; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.dropdown{ display: none; padding-left: 14px; }
.dropdown.is-open{ display: flex; }
.dropdown a{ color: rgba(255,255,255,0.75); padding: 8px 4px; display: block; font-size: 0.92rem; }
.primary-nav__cta{ display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.primary-nav__cta .btn--primary{ color: var(--ink); }

@media (min-width: 960px){
  .nav-toggle{ display: none; }
  .primary-nav{
    position: static; width: auto; background: transparent; padding: 0; transform: none;
    flex-direction: row; align-items: center; gap: 28px; overflow: visible;
  }
  .primary-nav ul{ flex-direction: row; align-items: center; gap: 22px; }
  .primary-nav > ul > li > a, .dropdown-toggle{
    border-bottom: none; padding: 6px 0; width: auto; color: rgba(255,255,255,0.88); font-size: 0.94rem;
  }
  .has-dropdown{ position: relative; }
  .dropdown{
    position: absolute; top: 100%; left: 0; background: var(--paper); color: var(--charcoal);
    min-width: 220px; border-radius: 10px; box-shadow: var(--shadow); padding: 8px; margin-top: 10px;
    display: none;
  }
  .has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown{ display: block; }
  .dropdown a{ color: var(--charcoal); border-radius: 6px; }
  .dropdown a:hover{ background: var(--cream); }
  .primary-nav__cta{ flex-direction: row; margin-top: 0; }
}

/* ---- Hero ---- */
.hero{ position: relative; background: linear-gradient(180deg, var(--ink) 0%, var(--ink-soft) 100%); padding-top: clamp(40px,6vw,72px); padding-bottom: 0; overflow: hidden; }
.hero__grid{ display: grid; gap: 40px; padding-bottom: clamp(40px,6vw,72px); }
.hero__copy{ color: var(--paper); }
.hero .eyebrow{ color: var(--amber); }
.hero h1{ color: var(--paper); }
.hero__lede{ color: rgba(255,255,255,0.82); font-size: 1.08rem; max-width: 52ch; }
.hero__actions{ display: flex; flex-wrap: wrap; gap: 12px; margin-block: 20px 22px; }
.hero__actions .btn--text{ color: var(--paper); }
.hero__badges{ display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: 0.88rem; color: rgba(255,255,255,0.85); }

.meter-card{ background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(18px,3vw,28px); }
.meter-card__head{ display: flex; flex-direction: column; gap: 2px; margin-bottom: 16px; }
.meter-card__label{ font-family: var(--font-mono); font-weight: 600; font-size: 1.02rem; color: var(--ink); }
.meter-card__sub{ font-size: 0.85rem; color: var(--grey); }

.field{ margin-bottom: 12px; }
.field-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field label{ display: block; font-size: 0.82rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 4px; }
.field input, .field select, .field textarea{
  padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 8px; background: var(--paper);
}
.field input:focus, .field select:focus, .field textarea:focus{ border-color: var(--amber); }
.form-note{ font-size: 0.78rem; color: var(--grey); text-align: center; margin: 10px 0 0; }
.form-note--top{ text-align: left; margin-top: -6px; }
.form-success{ font-size: 0.85rem; color: var(--green); text-align: center; margin-top: 10px; font-weight: 600; }

@media (min-width: 960px){
  .hero__grid{ grid-template-columns: 1.1fr 0.9fr; align-items: start; }
}

.checker-strip{
  height: 10px;
  background: repeating-linear-gradient(90deg, var(--amber) 0 22px, var(--ink) 22px 44px);
}

/* ---- Trust strip ---- */
.trust-strip{ background: var(--paper); border-bottom: 1px solid var(--line); padding-block: 20px; }
.trust-strip__grid{
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 18px;
}
.trust-item{ display: flex; align-items: center; gap: 8px; font-size: 0.86rem; font-weight: 600; color: var(--ink-soft); }
@media (min-width: 720px){ .trust-strip__grid{ grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1080px){ .trust-strip__grid{ grid-template-columns: repeat(6, 1fr); } }

/* ---- About ---- */
.about__grid{ display: grid; gap: 32px; }
.stat-grid{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; align-content: start; }
.stat-card{ background: var(--paper); border-radius: var(--radius); padding: 20px; text-align: center; box-shadow: var(--shadow); }
.stat-card__num{ display: block; font-family: var(--font-mono); font-size: 1.7rem; font-weight: 600; color: var(--ink); }
.stat-card__label{ font-size: 0.8rem; color: var(--grey); }
@media (min-width: 900px){ .about__grid{ grid-template-columns: 1.3fr 0.9fr; align-items: center; } }

/* ---- Card grids (services / why / reviews) ---- */
.card-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 20px;
  margin-top: 28px;
}
.service-card, .why-card, .review-card{
  background: var(--paper); border-radius: var(--radius); padding: 22px;
  box-shadow: var(--shadow); min-width: 0;
}
.service-card__icon, .why-card > span{ font-size: 1.6rem; display: inline-block; margin-bottom: 10px; }
.service-card h3, .why-card h3{ font-size: 1.05rem; margin-bottom: 8px; }
.service-card p, .why-card p{ color: var(--grey); font-size: 0.92rem; }
.service-card a{ font-weight: 600; color: var(--amber-dark); font-size: 0.9rem; }

.review-card__stars{ color: var(--amber-dark); letter-spacing: 2px; margin-bottom: 10px; }
.review-card blockquote{ margin: 0 0 14px; font-style: italic; color: var(--ink-soft); }
.review-card figcaption{ display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.9rem; }
.review-card small{ display: block; font-weight: 400; color: var(--grey); }
.avatar{ background: var(--ink); color: var(--paper); border-radius: 50%; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; flex: 0 0 auto; }

.card-grid--reviews{ margin-bottom: 24px; }

/* ---- Airports ---- */
.airports{ background: var(--ink); color: var(--paper); }
.airports .eyebrow{ color: var(--amber); }
.airports h2{ color: var(--paper); }
.airports .section-lede{ color: rgba(255,255,255,0.78); }
.card-grid--airports{ grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.airport-card{
  background: var(--ink-soft); border-radius: var(--radius); padding: 20px;
  display: flex; flex-direction: column; gap: 6px; min-width: 0;
  border: 1px solid rgba(255,255,255,0.08); transition: transform .15s ease, background .15s ease;
}
.airport-card:hover{ background: #2c4e73; transform: translateY(-2px); }
.airport-card__icon{ font-size: 1.4rem; }
.airport-card h3{ color: var(--paper); font-size: 1.05rem; margin: 4px 0; }
.airport-card h3 span{ color: rgba(255,255,255,0.55); font-weight: 400; font-size: 0.85rem; }
.airport-card p{ color: rgba(255,255,255,0.72); font-size: 0.86rem; margin-bottom: 10px; }
.fare-tag{ font-family: var(--font-mono); font-size: 0.85rem; font-weight: 600; color: var(--amber); }
.airports__footnote{ margin-top: 24px; color: rgba(255,255,255,0.75); }
.airports__footnote a{ color: var(--amber); font-weight: 600; }

/* ---- Areas ---- */
.chip-grid{ display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.area-chip{
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 999px;
  padding: 10px 18px; font-weight: 600; font-size: 0.9rem; color: var(--ink-soft);
  transition: border-color .15s ease, color .15s ease;
}
.area-chip:hover{ border-color: var(--amber-dark); color: var(--amber-dark); }
.areas__footnote{ margin-top: 22px; color: var(--grey); }
.areas__footnote a{ color: var(--amber-dark); font-weight: 600; }

/* ---- Why us section wrapper ---- */
.why-us{ background: var(--paper); }
.card-grid--why{ grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }

/* ---- FAQ ---- */
.faq-list{ margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.faq-item{ background: var(--paper); border-radius: var(--radius); padding: 4px 20px; box-shadow: var(--shadow); }
.faq-item summary{ padding: 16px 0; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq-item summary::after{ content: "+"; font-family: var(--font-mono); color: var(--amber-dark); font-size: 1.2rem; flex: 0 0 auto; }
.faq-item[open] summary::after{ content: "–"; }
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-item p{ color: var(--grey); padding-bottom: 16px; margin: 0; }

/* ---- Contact ---- */
.contact{ background: var(--ink); color: var(--paper); }
.contact .eyebrow{ color: var(--amber); }
.contact h2{ color: var(--paper); }
.contact .section-lede{ color: rgba(255,255,255,0.78); }
.contact__grid{ display: grid; gap: 32px; }
.contact-list{ display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.contact-list li{ display: flex; gap: 12px; align-items: flex-start; }
.contact-list li > span{ font-size: 1.3rem; }
.contact-list a{ color: var(--paper); font-weight: 600; }
.contact-list small{ display: block; color: rgba(255,255,255,0.65); font-size: 0.8rem; }

.enquiry-form{ background: var(--paper); border-radius: var(--radius); padding: clamp(18px,3vw,28px); color: var(--charcoal); }
.enquiry-form h3{ margin-bottom: 4px; }

@media (min-width: 960px){ .contact__grid{ grid-template-columns: 1fr 1fr; } }

/* ---- Footer ---- */
.site-footer{ background: #0d1b30; color: rgba(255,255,255,0.75); padding-top: clamp(40px,6vw,64px); }
.footer__grid{ display: grid; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer__brand p{ font-size: 0.9rem; }
.logo--footer{ margin-bottom: 14px; }
.footer__col h4{ color: var(--paper); font-size: 0.92rem; margin-bottom: 12px; }
.footer__col ul{ display: flex; flex-direction: column; gap: 8px; }
.footer__col a{ font-size: 0.88rem; }
.footer__col a:hover{ color: var(--amber); }
@media (min-width: 720px){ .footer__grid{ grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

.footer__bottom{
  display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between;
  padding-block: 20px; font-size: 0.8rem;
}
.footer__legal{ display: flex; flex-wrap: wrap; gap: 14px; }
.footer__legal a:hover{ color: var(--amber); }

/* ---- Mobile sticky CTA bar ---- */
.mobile-cta-bar{
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 40;
  display: flex; background: var(--ink); box-shadow: 0 -6px 20px rgba(0,0,0,0.25);
}
.mobile-cta{
  flex: 1; text-align: center; padding: 12px 8px; color: var(--paper); font-size: 0.82rem; font-weight: 600;
}
.mobile-cta--primary{ background: var(--amber); color: var(--ink); }
body{ padding-bottom: 58px; } /* keep content clear of the fixed bar */
@media (min-width: 720px){
  .mobile-cta-bar{ display: none; }
  body{ padding-bottom: 0; }
}

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