/* ==========================================================================
   SkyRoute Airport Taxis — main stylesheet
   Loaded AFTER Bootstrap 5, so rules here override Bootstrap defaults.

   TABLE OF CONTENTS
   1.  Design tokens (colours, type, spacing)
   2.  Base / typography
   3.  Layout helpers (sections, runway divider)
   4.  Buttons
   5.  Header, top bar, navigation, hamburger
   6.  Hero + quote calculator
   7.  Cards (airport, route, vehicle, service, feature, guide)
   8.  Content blocks (steps, comparison table, stats, badges)
   9.  FAQ accordion
   10. Page header + breadcrumbs (inner pages)
   11. Footer
   12. Floating actions + cookie banner
   13. Utilities + reduced motion
   ========================================================================== */

/* 1. DESIGN TOKENS -------------------------------------------------------- */
:root {
  /* Brand palette — change these to re-theme the whole site */
  --c-ink: #0e2a47;          /* deep navy: headers, hero, footer */
  --c-ink-soft: #17395e;
  --c-signal: #ffb703;       /* taxi-light amber: primary action colour */
  --c-signal-dark: #e09f00;
  --c-sky: #eaf2f9;          /* pale tint for alternate sections */
  --c-paper: #ffffff;
  --c-text: #1a2633;
  --c-muted: #556574;
  --c-line: #d9e2ea;
  --c-ok: #17794f;

  /* Typography */
  --font-head: "Bricolage Grotesque", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Public Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Shape + depth */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(14, 42, 71, .08), 0 2px 8px rgba(14, 42, 71, .06);
  --shadow-md: 0 10px 30px rgba(14, 42, 71, .14);

  /* Header height is used for anchor offsets */
  --header-h: 72px;

  /* Bootstrap overrides */
  --bs-body-font-family: var(--font-body);
  --bs-body-color: var(--c-text);
  --bs-link-color: var(--c-ink-soft);
  --bs-link-hover-color: var(--c-ink);
  --bs-border-color: var(--c-line);
}

/* 2. BASE / TYPOGRAPHY ---------------------------------------------------- */
html { scroll-padding-top: calc(var(--header-h) + 12px); }
body { font-size: 1rem; line-height: 1.65; color: var(--c-text); background: var(--c-paper); overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--c-ink); line-height: 1.18; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 1.2rem + 3vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 1.1rem + 1.8vw, 2.3rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 1rem + .5vw, 1.3rem); font-weight: 700; }
p { max-width: 70ch; }
.text-center p, .section-head p { margin-inline: auto; }
a { text-underline-offset: 3px; }

/* Visible keyboard focus everywhere */
:focus-visible { outline: 3px solid var(--c-signal); outline-offset: 2px; border-radius: 4px; }

/* Skip link — first focusable element on every page */
.skip-link {
  position: absolute; left: .75rem; top: -4rem; z-index: 2000;
  background: var(--c-ink); color: #fff; padding: .6rem 1rem; border-radius: var(--r-sm);
}
.skip-link:focus { top: .75rem; color: #fff; }

/* 3. LAYOUT HELPERS ------------------------------------------------------- */
.section { padding-block: clamp(3rem, 6vw, 5rem); }
.section--tint { background: var(--c-sky); }
.section--tint { background: var(--c-sky); }
.section--ink { background: var(--c-ink); color: #dbe7f3; }
.section--ink h2, .section--ink h3 { color: #fff; }
.section-head { max-width: 760px; margin: 0 auto clamp(1.75rem, 4vw, 2.75rem); text-align: center; }
.section-head p { color: var(--c-muted); margin-bottom: 0; }
.section--ink .section-head p { color: #b9cbdd; }

/* Runway centre-line: the one decorative motif used across the site */
.runway-line {
  height: 6px; border: 0; margin: 0; opacity: 1;
  background: repeating-linear-gradient(90deg, var(--c-signal) 0 36px, transparent 36px 64px);
}

/* 4. BUTTONS -------------------------------------------------------------- */
.btn { font-weight: 700; border-radius: 999px; padding: .7rem 1.4rem; min-height: 44px; /* touch target */
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; }
.btn-lg { padding: .85rem 1.7rem; min-height: 52px; }
.btn-signal { background: var(--c-signal); border-color: var(--c-signal); color: var(--c-ink); }
.btn-signal:hover, .btn-signal:focus { background: var(--c-signal-dark); border-color: var(--c-signal-dark); color: var(--c-ink); }
.btn-outline-ink { border: 2px solid var(--c-ink); color: var(--c-ink); background: transparent; }
.btn-outline-ink:hover { background: var(--c-ink); color: #fff; }
.btn-outline-light-2 { border: 2px solid rgba(255,255,255,.7); color: #fff; }
.btn-outline-light-2:hover { background: #fff; color: var(--c-ink); }
.btn-whatsapp { background: #1fa855; border-color: #1fa855; color: #fff; }
.btn-whatsapp:hover { background: #178a45; border-color: #178a45; color: #fff; }

/* 5. HEADER / NAV --------------------------------------------------------- */
.topbar { background: var(--c-ink); color: #cfe0f0; font-size: .875rem; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar .container { min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: .25rem; }

.site-header { position: sticky; top: 0; z-index: 1030; background: var(--c-paper); box-shadow: 0 1px 0 var(--c-line); }
.site-header .navbar { min-height: var(--header-h); padding-block: .35rem; }
.navbar-brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; color: var(--c-ink); }
.brand-mark { width: 40px; height: 40px; flex: 0 0 auto; }
.navbar-nav .nav-link { color: var(--c-ink); font-weight: 600; padding: .75rem .85rem; min-height: 44px; display: flex; align-items: center; }
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color: var(--c-ink-soft); box-shadow: inset 0 -3px 0 var(--c-signal); }
.dropdown-menu { border: 1px solid var(--c-line); border-radius: var(--r-md); box-shadow: var(--shadow-md); padding: .5rem; }
.dropdown-item { border-radius: var(--r-sm); padding: .55rem .85rem; min-height: 40px; display: flex; align-items: center; white-space: normal; }
.dropdown-item:hover, .dropdown-item:focus { background: var(--c-sky); color: var(--c-ink); }

/* Custom hamburger — three bars morph to an "X" when aria-expanded="true" */
.nav-toggle { width: 48px; height: 48px; border: 2px solid var(--c-ink); border-radius: var(--r-md); background: transparent;
  display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; padding: 0; }
.nav-toggle .bar { display: block; width: 22px; height: 2.5px; border-radius: 2px; background: var(--c-ink); transition: transform .25s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] { background: var(--c-ink); }
.nav-toggle[aria-expanded="true"] .bar { background: #fff; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile / tablet menu panel (below the xl breakpoint) */
@media (max-width: 1199.98px) {
  .navbar-collapse { max-height: calc(100vh - var(--header-h) - 10px); overflow-y: auto; padding-bottom: 1rem; }
  .navbar-nav .nav-link { border-bottom: 1px solid var(--c-line); border-radius: 0; }
  .navbar-nav .nav-link.active, .navbar-nav .nav-link:hover { box-shadow: none; background: var(--c-sky); }
  .dropdown-menu { box-shadow: none; border: 0; background: var(--c-sky); margin: 0 0 .5rem; }
  .navbar-collapse .btn { width: 100%; margin-top: .75rem; }
}

/* 6. HERO + QUOTE CALCULATOR --------------------------------------------- */
.hero { background: var(--c-ink); color: #dbe7f3; position: relative; overflow: hidden;
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(5rem, 8vw, 7rem); }
.hero::before { /* faint grid, evokes an airfield chart */
  content: ""; position: absolute; inset: 0; opacity: .08; pointer-events: none;
  background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px);
  background-size: 48px 48px; }
.hero > .container { position: relative; }
.hero h1 { color: #fff; }
.hero .lead { color: #c3d4e5; font-size: clamp(1rem, .95rem + .3vw, 1.15rem); }
.hero-pill { display: inline-flex; align-items: center; gap: .5rem; background: rgba(255,183,3,.14); color: var(--c-signal);
  border: 1px solid rgba(255,183,3,.4); border-radius: 999px; padding: .3rem .9rem; font-weight: 600; font-size: .9rem; }
.trust-row { display: flex; flex-wrap: wrap; gap: .6rem; padding: 0; margin: 1.25rem 0 0; list-style: none; }
.trust-row li { display: inline-flex; align-items: center; gap: .45rem; background: rgba(255,255,255,.08); border-radius: 999px; padding: .4rem .85rem; font-size: .9rem; color: #fff; }
.trust-row i { color: var(--c-signal); }

.quote-card { background: var(--c-paper); color: var(--c-text); border-radius: var(--r-lg); padding: clamp(1.1rem, 3vw, 1.75rem); box-shadow: var(--shadow-md); }
.quote-card h2 { font-size: 1.4rem; margin-bottom: .25rem; }
.quote-card .form-label { font-weight: 600; font-size: .9rem; margin-bottom: .25rem; color: var(--c-ink); }
.form-control, .form-select { border-radius: var(--r-sm); border-color: #b9c7d4; min-height: 46px; }
.form-control:focus, .form-select:focus { border-color: var(--c-ink-soft); box-shadow: 0 0 0 .2rem rgba(255,183,3,.35); }
.trip-toggle { display: inline-flex; background: var(--c-sky); border-radius: 999px; padding: 4px; }
.trip-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.trip-toggle label { padding: .45rem 1.1rem; border-radius: 999px; font-weight: 600; cursor: pointer; min-height: 40px; display: inline-flex; align-items: center; }
.trip-toggle input:checked + label { background: var(--c-ink); color: #fff; }
.trip-toggle input:focus-visible + label { outline: 3px solid var(--c-signal); outline-offset: 2px; }

.stepper { display: flex; align-items: center; border: 1px solid #b9c7d4; border-radius: var(--r-sm); overflow: hidden; background: #fff; }
.stepper button { width: 46px; min-height: 46px; border: 0; background: var(--c-sky); font-size: 1.25rem; font-weight: 700; color: var(--c-ink); }
.stepper button:hover { background: #d7e6f3; }
.stepper output { flex: 1; text-align: center; font-weight: 700; min-width: 2ch; }

/* 7. CARDS ---------------------------------------------------------------- */
.card-x { background: var(--c-paper); border: 1px solid var(--c-line); border-radius: var(--r-md); height: 100%; overflow: hidden;
  display: flex; flex-direction: column; transition: box-shadow .2s ease, border-color .2s ease; }
.card-x:hover { box-shadow: var(--shadow-md); border-color: #b8c9d9; }
.card-x__img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; background: var(--c-sky); }
.card-x__body { padding: 1.15rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.card-x__body p { color: var(--c-muted); margin: 0; font-size: .96rem; }
.card-x__foot { margin-top: auto; padding-top: .75rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.card-x h3 a { color: inherit; text-decoration: none; }
.card-x h3 a::after { content: ""; position: absolute; inset: 0; } /* whole-card click target */
.card-x.is-link { position: relative; }
.price-tag { font-family: var(--font-head); font-weight: 800; color: var(--c-ink); font-size: 1.15rem; }
.price-tag small { font-family: var(--font-body); font-weight: 500; color: var(--c-muted); font-size: .8rem; }
.chip { display: inline-block; background: var(--c-signal); color: var(--c-ink); font-weight: 700; font-size: .78rem; padding: .15rem .6rem; border-radius: 999px; }
.chip--ink { background: var(--c-ink); color: #fff; }
.meta-row { display: flex; flex-wrap: wrap; gap: .4rem 1rem; color: var(--c-muted); font-size: .9rem; }
.meta-row i { color: var(--c-ink-soft); margin-right: .25rem; }

.icon-bubble { width: 48px; height: 48px; border-radius: 14px; background: var(--c-sky); color: var(--c-ink); display: inline-flex; align-items: center; justify-content: center; font-size: 1.4rem; flex: 0 0 auto; }
.feature { display: flex; gap: 1rem; align-items: flex-start; height: 100%; padding: 1.25rem; border: 1px solid var(--c-line); border-radius: var(--r-md); background: #fff; }
.feature h3 { margin-bottom: .25rem; font-size: 1.05rem; }
.feature p { margin: 0; color: var(--c-muted); font-size: .95rem; }
.service-card { display: block; text-decoration: none; color: inherit; height: 100%; padding: 1.35rem; border: 1px solid var(--c-line); border-radius: var(--r-md); background: #fff; transition: border-color .2s, box-shadow .2s; }
.service-card:hover { border-color: var(--c-ink-soft); box-shadow: var(--shadow-md); color: inherit; }
.service-card h3 { margin: .85rem 0 .35rem; }
.service-card p { margin: 0; color: var(--c-muted); font-size: .95rem; }
.route-card { display: flex; flex-direction: column; gap: .35rem; text-decoration: none; color: inherit; padding: 1.1rem 1.2rem; border: 1px solid var(--c-line); border-radius: var(--r-md); background: #fff; height: 100%; }
.route-card:hover { border-color: var(--c-ink-soft); box-shadow: var(--shadow-sm); color: inherit; }
.route-card .route-name { font-family: var(--font-head); font-weight: 700; color: var(--c-ink); font-size: 1.1rem; }

/* 8. CONTENT BLOCKS ------------------------------------------------------- */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.steps li { counter-increment: step; position: relative; padding: .25rem 0 .25rem 3.25rem; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: var(--c-ink); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; }
.steps strong { display: block; color: var(--c-ink); }
.steps span { color: var(--c-muted); font-size: .95rem; }

.compare-wrap { border: 1px solid var(--c-line); border-radius: var(--r-md); overflow: hidden; background: #fff; }
.table-compare { margin: 0; min-width: 640px; }
.table-compare th { background: var(--c-ink); color: #fff; font-weight: 600; white-space: nowrap; }
.table-compare tbody th { background: var(--c-sky); color: var(--c-ink); }
.table-compare td:nth-child(2) { background: #fff8e1; font-weight: 600; }

.stat-row { display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin-top: 1.25rem; }
.stat strong { display: block; font-family: var(--font-head); font-size: 2rem; line-height: 1; color: var(--c-ink); }
.stat span { color: var(--c-muted); font-size: .9rem; }
.badge-card { display: flex; gap: .85rem; align-items: center; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md); padding: .85rem 1rem; box-shadow: var(--shadow-sm); }
.badge-card strong { display: block; color: var(--c-ink); line-height: 1.2; }
.badge-card span { font-size: .85rem; color: var(--c-muted); }
.figure-img { border-radius: var(--r-lg); width: 100%; box-shadow: var(--shadow-sm); }
.check-list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .5rem; }
.check-list li { padding-left: 1.75rem; position: relative; }
.check-list li::before { content: "\F26A"; font-family: "bootstrap-icons"; position: absolute; left: 0; color: var(--c-ok); }
.area-list h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.area-list p { color: var(--c-muted); font-size: .95rem; }
.cta-band { background: var(--c-ink); color: #dbe7f3; border-radius: var(--r-lg); padding: clamp(1.5rem, 4vw, 3rem); }
.cta-band h2 { color: #fff; }
.prose h2 { margin-top: 2rem; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.8rem); }
.prose h3 { margin-top: 1.5rem; }
.prose ul { padding-left: 1.2rem; }
.legal-note { background: #fff8e1; border-left: 4px solid var(--c-signal); padding: .85rem 1rem; border-radius: var(--r-sm); font-size: .92rem; }

/* 9. FAQ ACCORDION -------------------------------------------------------- */
.accordion { --bs-accordion-border-color: var(--c-line); --bs-accordion-btn-focus-box-shadow: 0 0 0 .2rem rgba(255,183,3,.45);
  --bs-accordion-active-bg: var(--c-sky); --bs-accordion-active-color: var(--c-ink); }
.accordion-item { border-radius: var(--r-md) !important; overflow: hidden; margin-bottom: .75rem; border: 1px solid var(--c-line) !important; }
.accordion-button { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; min-height: 56px; }
.accordion-body { color: var(--c-text); }

/* 10. PAGE HEADER + BREADCRUMBS ------------------------------------------ */
.page-header { background: var(--c-ink); color: #c9d9e9; padding-block: clamp(2rem, 5vw, 3.25rem); }
.page-header h1 { color: #fff; font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.7rem); }
.page-header p { color: #c9d9e9; margin-bottom: 0; }
.breadcrumb { --bs-breadcrumb-divider-color: #8fa8c0; --bs-breadcrumb-item-active-color: #fff; margin-bottom: .75rem; font-size: .9rem; flex-wrap: wrap; }
.breadcrumb a { color: #cfe0f0; }
.breadcrumb-item + .breadcrumb-item::before { color: #8fa8c0; }

/* 11. FOOTER -------------------------------------------------------------- */
.site-footer { background: #0a1f35; color: #b7c9db; padding-top: clamp(2.5rem, 5vw, 4rem); }
.site-footer h2 { color: #fff; font-size: 1.05rem; margin-bottom: .85rem; }
.site-footer a { color: #d8e6f3; text-decoration: none; }
.site-footer a:hover { color: var(--c-signal); text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .1rem; }
.site-footer li a { display: inline-block; padding: .3rem 0; min-height: 32px; }
.footer-brand { color: #fff; font-family: var(--font-head); font-size: 1.3rem; font-weight: 800; display: inline-flex; align-items: center; gap: .6rem; }
.social-links { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 1rem 0 0; }
.social-links a { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; font-size: 1.15rem; padding: 0; }
.social-links a:hover { background: var(--c-signal); color: var(--c-ink); text-decoration: none; }
.pay-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.pay-row span { background: rgba(255,255,255,.1); border-radius: 6px; padding: .25rem .6rem; font-size: .8rem; color: #fff; font-weight: 600; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-block: 1.25rem; font-size: .88rem; }

/* 12. FLOATING ACTIONS + COOKIE BANNER ----------------------------------- */
.float-actions { position: fixed; right: 1rem; bottom: 1rem; z-index: 1040; display: flex; flex-direction: column; gap: .6rem; align-items: flex-end; transition: bottom .2s ease; }
.float-btn { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 1.6rem; border: 0; box-shadow: var(--shadow-md); }
.float-btn--wa { background: #1fa855; color: #fff; }
.float-btn--wa:hover { background: #178a45; color: #fff; }
.float-btn--top { background: var(--c-ink); color: #fff; width: 44px; height: 44px; font-size: 1.1rem; opacity: 0; visibility: hidden; transition: opacity .2s; }
.float-btn--top.is-visible { opacity: 1; visibility: visible; }
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1050; background: #fff; border-top: 4px solid var(--c-signal); box-shadow: 0 -8px 30px rgba(14,42,71,.18); padding: 1rem 0; }
.cookie-banner[hidden] { display: none; }
body.has-cookie-banner .float-actions { bottom: 9.5rem; }
@media (min-width: 768px) { body.has-cookie-banner .float-actions { bottom: 6rem; } }

/* 12b. Small component fixes */
.navbar-nav button.nav-link { background: none; border: 0; text-align: left; width: 100%; }
@media (min-width: 1200px) { .navbar-nav button.nav-link { width: auto; } }
.card-x__foot a { position: relative; z-index: 1; }   /* sit above the stretched card link */
.trip-toggle { position: relative; }
.btn-sm { min-height: 40px; }
.btn-link { color: var(--c-ink-soft); font-weight: 600; }
.site-footer .btn-link { text-decoration: underline; }
.feature.d-block { padding: 1.5rem; }
.table-compare td, .table-compare th { padding: .8rem 1rem; }
.hero-pill i { font-size: 1rem; }

/* 13. UTILITIES + REDUCED MOTION ----------------------------------------- */
.mw-720 { max-width: 720px; }
.fw-head { font-family: var(--font-head); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print { .site-header, .topbar, .float-actions, .cookie-banner, .site-footer { display: none !important; } }
