/* ============================================================================
   St Andrews Taxicab — futuristic dark theme
   Distinct type, layout, colour and UX from the Links Transfer origin theme.
   Functional hooks (nav, forms, floating buttons, fx-reveal) are preserved.
   ========================================================================== */

:root {
  /* Brand — Deep teal / Gold / White */
  --brand-teal: #0F4C5C;
  --brand-teal-dark: #0A3641;
  --brand-teal-light: #1B6B7E;
  --brand-gold: #C9A227;
  --brand-gold-dark: #A8861E;

  /* Legacy token names (kept so component rules keep working) */
  --brand-green: var(--brand-teal);
  --brand-green-dark: var(--brand-teal-dark);
  --brand-purple: var(--brand-gold);
  --brand-purple-deep: var(--brand-teal);
  --brand-indigo: var(--brand-teal);
  --brand-magenta: var(--brand-teal);
  --brand-magenta-dark: var(--brand-teal-dark);

  /* Light surfaces */
  --bg: #FFFFFF;
  --bg-2: #F2F5F6;
  --surface: #FFFFFF;
  --surface-2: #F2F5F6;
  --line: rgba(15, 76, 92, .14);
  --line-strong: rgba(15, 76, 92, .26);
  --ink: #11333B;
  --ink-soft: #4F6166;
  --paper: #FFFFFF;
  --mist: #F2F5F6;
  --gold: #C9A227;

  --brand-gradient: linear-gradient(120deg, #0F4C5C 0%, #C9A227 100%);
  --brand-gradient-btn: linear-gradient(120deg, #0F4C5C 0%, #1B6B7E 100%);
  --glow: 0 0 26px rgba(201, 162, 39, .30), 0 0 54px rgba(15, 76, 92, .16);
  --glow-green: 0 0 22px rgba(201, 162, 39, .40);
  --shadow-sm: 0 1px 3px rgba(15, 76, 92, .10);
  --shadow-md: 0 14px 34px rgba(15, 76, 92, .12);
  --shadow-lg: 0 30px 70px rgba(15, 76, 92, .18);

  --radius: 22px;
  --radius-sm: 13px;
  --maxw: 1180px;
  --font-display: "Space Grotesk", "Manrope", system-ui, sans-serif;
  --font: "DM Sans", "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
/* WordPress admin bar (logged-in) — reserve its height so the fixed
   navbar sits below it and is never hidden underneath. */
body.admin-bar { --wp-adminbar: 32px; }
@media (max-width: 782px) { body.admin-bar { --wp-adminbar: 46px; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-purple); text-decoration: none; transition: color .15s ease; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.12; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
:focus-visible { outline: 3px solid var(--brand-green); outline-offset: 2px; border-radius: 4px; }

.container { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--mist { background: var(--mist); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 2.8rem; }
.section__head p { color: var(--ink-soft); font-size: 1.08rem; }
.eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: .18em;
  font-size: .78rem; font-weight: 700; font-family: var(--font-display);
  color: var(--brand-teal); margin-bottom: .8rem;
  padding: .35rem .8rem; border: 1px solid var(--line-strong); border-radius: 999px;
  background: rgba(15, 76, 92, .06);
}

/* ---------- Buttons ---------- */
.text-light { 
  color: #fff !important; 
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-display); font-weight: 600; font-size: .98rem; line-height: 1;
  padding: .95rem 1.6rem; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .25s ease, background .25s ease, border-color .2s ease;
  text-decoration: none; color: #fff; text-align: center;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--primary { background: var(--brand-gradient-btn); background-size: 160% 160%; color: #fff; box-shadow: var(--shadow-md); }
.btn--primary:hover { background-position: 100% 100%; color: #fff; box-shadow: var(--shadow-lg), var(--glow); transform: translateY(-2px); }
.btn--indigo { background: var(--brand-indigo); color: #fff; }
.btn--indigo:hover { background: var(--brand-teal-dark); color: #fff; }
.btn--ghost { background: rgba(255, 255, 255, .04); color: #C9A227; border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--brand-gold); color: #0F4C5C; }
.btn--secondary { background: var(--surface-2); color: #0F4C5C; border-color: var(--line); }
.btn--secondary:hover { border-color: var(--brand-gold); color: #fff; }
.btn--gold { background: var(--brand-gold); color: #fff; border-color: transparent; }
.btn--gold:hover { background: var(--brand-gold-dark); color: #fff; }
.btn--lg { padding: 1.05rem 1.9rem; font-size: 1.02rem; }
.btn--block { width: 100%; justify-content: center; }
.btn__stack { display: inline-flex; flex-direction: column; align-items: center; text-align: center; gap: .12rem; line-height: 1.1; }
.btn__sub { font-size: .72rem; font-weight: 500; letter-spacing: .01em; opacity: .85; }
.btn__main { font-weight: 600; }

/* ---------- Header (curved-bottom navbar, scrolls to bottom) ---------- */
/* Reserve the navbar height AND the WP admin-bar height so nothing dark
   shows between the header and the page content. */
body { padding-top: calc(var(--header-h, 96px) + var(--wp-adminbar, 0px)); }
body.home.wp-singular { --header-h: 68px !important; }
.site-header {
  position: fixed; top: var(--wp-adminbar, 0px); left: 0; right: 0; z-index: 100;
  padding: .7rem 0 1.5rem;
  border-bottom: 1px solid var(--line);
  transition: top .45s cubic-bezier(.4, 0, .2, 1), background .3s ease;
}
/* Blurred background lives on a pseudo-element so the header itself has no
   transform/filter — otherwise position:fixed descendants (the mobile drawer)
   would be contained by the header box instead of the viewport. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--header-bg, #FFFFFF);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  backdrop-filter: saturate(150%) blur(14px);
}
.site-header.is-bottom { top: calc(100vh - var(--header-h, 80px)); }
/* Symmetrical downward bulge on the bottom edge, centred and smooth. */
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%;
  height: clamp(30px, 4vw, 0px);
  background: var(--header-bg, #FFFFFF);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  backdrop-filter: saturate(150%) blur(14px);
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
  /* border: 0 solid var(--brand-gold, #C9A227); */
  border-top-width: 2px;
  box-shadow: 0 8px 24px -8px rgba(201, 162, 39, .5);
  pointer-events: none;
}
.site-header__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .45rem .55rem .45rem 1.1rem;
}
.site-brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.site-brand img { height: 84px; width: auto; border-radius: 12px; }
.site-brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.site-brand__name { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: clamp(.95rem, .5rem + .9vw, 1.15rem); white-space: nowrap; }
.site-brand__tag { font-size: .72rem; color: var(--ink-soft); letter-spacing: .02em; }
.main-nav { display: flex; align-items: center; }
.main-nav ul { list-style: none; display: flex; gap: 1.4rem; margin: 0; padding: 0; align-items: center; }
.main-nav a { color: var(--ink); font-weight: 600; font-size: .96rem; font-family: var(--font-display); }
.main-nav a:hover { color: var(--brand-green); text-decoration: none; }
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a,
.main-nav .current-menu-ancestor > a {
  background: var(--brand-gradient); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--brand-green);
}
.header-actions { display: flex; align-items: center; gap: .6rem; }
.header-actions .btn { text-align: center; }
.header-phone { font-family: var(--font-display); font-weight: 700; color: var(--ink); white-space: nowrap; }
.header-phone:hover { color: var(--brand-green); text-decoration: none; }
.nav-cta { display: none; }
.nav-toggle { display: none; position: relative; width: 32px; height: 26px; background: none; border: 0; cursor: pointer; padding: 0; }
.nav-toggle span { position: absolute; left: 3px; right: 3px; height: 3px; background: var(--ink); border-radius: 3px; transition: transform .3s ease, opacity .25s ease, top .3s ease; }
.nav-toggle span:nth-child(1) { top: 3px; }
.nav-toggle span:nth-child(2) { top: 11px; }
.nav-toggle span:nth-child(3) { top: 19px; }
/* Animated cross (X) when the mobile sidebar is open. */
.nav-toggle.is-active span:nth-child(1) { top: 11px; transform: rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { top: 11px; transform: rotate(-45deg); }

/* Close (cross) button living inside the mobile sidebar. */
.nav-close {
  display: none; position: absolute; top: 1.1rem; right: 1.1rem;
  width: 34px; height: 34px; padding: 0; background: none; border: 0; cursor: pointer; z-index: 2;
}
.nav-close span {
  position: absolute; left: 4px; right: 4px; top: 50%; height: 3px; margin-top: -1.5px;
  background: var(--brand-gold, #C9A227); border-radius: 3px; transition: transform .3s ease;
}
.nav-close span:nth-child(1) { transform: rotate(45deg); }
.nav-close span:nth-child(2) { transform: rotate(-45deg); }
.nav-close:hover span, .nav-close:focus-visible span { transform: rotate(135deg); }
.nav-close:hover span:nth-child(2), .nav-close:focus-visible span:nth-child(2) { transform: rotate(45deg); }

/* ---------- Hero (split + glass quote panel) ---------- */
.hero { position: relative; background: var(--bg); overflow: hidden; padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(3.5rem, 8vw, 7rem); }
.hero__bg { position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(circle at 16% 22%, rgba(15, 76, 92, .18), transparent 45%),
    radial-gradient(circle at 84% 26%, rgba(201, 162, 39, .16), transparent 46%),
    radial-gradient(circle at 62% 92%, rgba(15, 76, 92, .22), transparent 52%);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(15, 76, 92, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 76, 92, .05) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(circle at 50% 38%, #000 0%, transparent 78%);
  mask-image: radial-gradient(circle at 50% 38%, #000 0%, transparent 78%);
}
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.hero__copy { max-width: 620px; }
.hero h1 {
  color: var(--ink);
  background: linear-gradient(120deg, #0F4C5C 10%, #1B6B7E 45%, #C9A227 90%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 1.1rem;
}
.hero p.hero__lead { font-size: 1.18rem; color: var(--ink-soft); margin-bottom: 1.8rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.4rem; }
.hero__cta .btn { text-align: center; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 2.2rem; font-size: .9rem; color: var(--ink-soft); }
.hero__badges span { display: inline-flex; align-items: center; gap: .45rem; }
.hero__panel { position: relative; }
.hero__panel .form-card { box-shadow: var(--shadow-lg), var(--glow); }

/* ---------- Cards / services grid ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg), var(--glow); border-color: var(--line-strong); }
.card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card__media img { transform: scale(1.06); }
.card__body { padding: 1.4rem 1.5rem 1.6rem; }
.card__body h3 { font-size: 1.18rem; margin-bottom: .5rem; }
.card__body p { color: var(--ink-soft); font-size: .96rem; margin-bottom: 1rem; }
.card__link { font-family: var(--font-display); font-weight: 600; color: var(--brand-green); }
.card__link:hover { color: var(--brand-purple); }

/* ---------- Trust row ---------- */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.trust__item {
  background: var(--surface); border: 1px solid rgba(201, 162, 39, .35); border-radius: var(--radius-sm);
  padding: 1.4rem 1.2rem; text-align: center;
  box-shadow: 0 10px 30px rgba(201, 162, 39, .14);
}
.trust__item .num { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.7rem;
  background: var(--brand-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.trust__item .lbl { color: var(--ink-soft); font-size: .92rem; }

/* ---------- Reviews ---------- */
.review-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); transition: transform .2s ease, border-color .2s ease; }
.review-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.review-card__head { display: flex; align-items: center; gap: .8rem; margin-bottom: .8rem; }
.review-card__avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: #fff; background: var(--brand-gradient-btn); flex: 0 0 auto; }
.review-card__name { font-family: var(--font-display); font-weight: 600; }
.review-card__text { color: var(--ink-soft); font-size: .96rem; }
.review-card__meta { color: var(--ink-soft); font-size: .8rem; opacity: .7; margin: 0; }
.pagination { margin-top: 2rem; text-align: center; }
.pagination a, .pagination span { color: var(--ink); margin: 0 .25rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden; text-align: center;
  background: radial-gradient(circle at 50% 0%, rgba(15, 76, 92, .16), transparent 55%), var(--bg-2);
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.5rem, 5vw, 3.5rem); border-bottom: 1px solid var(--line);
}
.page-hero h1 { background: linear-gradient(120deg, #0F4C5C, #C9A227); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.page-hero p { color: var(--ink-soft); max-width: 640px; margin: 0 auto; }
.breadcrumbs { font-size: .85rem; color: var(--ink-soft); margin-bottom: 1rem; }
.breadcrumbs a { color: var(--ink-soft); }
.breadcrumbs a:hover { color: var(--brand-green); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; text-align: center;
  background: linear-gradient(120deg, rgba(15, 76, 92, .10), rgba(201, 162, 39, .12)), var(--bg-2);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.cta-band h2 { margin-bottom: .8rem; }
.cta-band p { color: var(--ink-soft); max-width: 600px; margin: 0 auto 1.6rem; }
.cta-band > .container > div { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Prose / about ---------- */
.prose { color: var(--ink); }
.prose p { color: var(--ink-soft); }
.about-intro { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2.5rem; align-items: center; }
.about-intro__media img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-md); }

/* ---------- Contact ---------- */
.location-overlay, .textbox-overlay { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.col-12 { grid-column: 1 / -1; }

/* ---------- Instant Quote form ---------- */
.fare-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2rem; align-items: start; }
.fare-layout__form { min-width: 0; }
.fare-layout__media img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); }
.form-card {
  background: #FFFFFF; border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow-lg);
}
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 1.1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .9rem; color: var(--ink); }
.field input:not([type="radio"]):not([type="checkbox"]), .field select, .field textarea, .form-card input:not([type="radio"]):not([type="checkbox"]), .form-card select, .form-card textarea {
  width: 100%; padding: .8rem .9rem; font-family: var(--font); font-size: 1rem; color: var(--ink);
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:not([type="radio"]):not([type="checkbox"]):focus, .field select:focus, .field textarea:focus, .form-card input:not([type="radio"]):not([type="checkbox"]):focus, .form-card select:focus, .form-card textarea:focus {
  outline: none; border-color: var(--brand-gold); box-shadow: 0 0 0 3px rgba(201, 162, 39, .22);
}
.field-error { color: #C0392B; font-size: .8rem; min-height: 1em; }
.hint { font-size: .82rem; color: var(--ink-soft); margin: .15rem 0 0; }
.form-notice { padding: .8rem 1rem; border-radius: var(--radius-sm); font-size: .92rem; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink); }
.form-notice--err { border-color: rgba(192, 57, 43, .4); background: rgba(192, 57, 43, .08); color: #C0392B; }
.form-notice--warn { border-color: rgba(201, 162, 39, .45); background: rgba(201, 162, 39, .12); color: #8A6D12; }
.quote-step { }
.step-title { display: flex; align-items: center; gap: .5rem; color: var(--ink); }
.step-number { background: var(--brand-gradient-btn); color: #fff; border-radius: 50%; width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; font-size: .95rem; font-family: var(--font-display); flex: 0 0 auto; }
.ltt-options { }
.ltt-check { display: flex; gap: .7rem; align-items: flex-start; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-2); cursor: pointer; transition: border-color .15s ease; }
.ltt-check:hover { border-color: var(--brand-purple); }
.ltt-check input { width: auto; margin-top: .15rem; accent-color: var(--brand-green); }
input[type="radio"], input[type="checkbox"] { width: 1.1rem; height: 1.1rem; flex: 0 0 auto; margin: 0; padding: 0; accent-color: var(--brand-green); }
.ltt-check__text { display: flex; flex-direction: column; }
.ltt-check__title { font-weight: 700; color: var(--ink); }
.ltt-check__desc { font-size: .85rem; color: var(--ink-soft); }
.booking-radio-group { display: flex; flex-wrap: wrap; gap: .65rem 1.25rem; width: 100%; margin: 0; padding: .85rem 1rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.booking-radio-group legend { width: 100%; margin: 0 0 .1rem; padding: 0; color: var(--brand-indigo); font-size: .92rem; font-weight: 700; }
.booking-radio-group label { display: inline-flex; align-items: center; gap: .5rem; margin: 0; color: var(--ink); font-size: .95rem; font-weight: 400; cursor: pointer; }
.booking-radio-group label span { line-height: 1.3; }
.ltt-select-search select { width: 100%; }
.ltt-ss { position: relative; }
.ltt-ss select { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.ltt-ss__trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); text-align: left; cursor: pointer; font-size: .95rem; }
.ltt-ss__trigger:hover { border-color: var(--brand-purple); }
.ltt-ss__value.is-empty { color: var(--ink-soft); }
.ltt-ss__caret { display: inline-flex; flex-shrink: 0; }
.ltt-ss__panel { display: none; position: absolute; z-index: 1000; top: calc(100% + .35rem); left: 0; right: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); max-height: 260px; overflow: auto; }
.ltt-ss.is-open .ltt-ss__panel { display: block; }
.ltt-ss__search { width: 100%; box-sizing: border-box; padding: .65rem .9rem; border: none; border-bottom: 1px solid var(--line); background: var(--surface-2); font-size: .95rem; outline: none; }
.ltt-ss__options { list-style: none; margin: 0; padding: .35rem 0; }
.ltt-ss__option { padding: .6rem .9rem; cursor: pointer; font-size: .95rem; }
.ltt-ss__option:hover, .ltt-ss__option.is-active { background: var(--surface-2); color: var(--brand-green); }
.ltt-ss__option[aria-selected="true"] { font-weight: 600; color: var(--brand-green); }
.ltt-ss__empty { padding: .8rem .9rem; color: var(--ink-soft); font-size: .9rem; }
.fare-result { background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 1.4rem; }
.fare-result__disclaimer { font-size: .8rem; color: var(--ink-soft); }
.honeypot { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--bg-2); border-top: 1px solid var(--line); padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--brand-gradient); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem; }
.footer-brand { display: flex; gap: .9rem; align-items: flex-start; }
.footer-brand img { border-radius: 12px; }
.footer-brand__text .site-brand__name { display: block; }
.footer-brand__text p { color: var(--ink-soft); font-size: .92rem; margin: 0 0 .75rem; line-height: 1.2; }
.footer-social { display: flex; gap: .6rem; }
.footer-social a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: var(--ink); background: var(--surface); }
.footer-social a:hover { border-color: var(--brand-green); color: var(--brand-green); }
.footer-social svg { width: 18px; height: 18px; fill: currentColor; }
.site-footer h4 { font-family: var(--font-display); color: var(--ink); margin-bottom: 1rem; font-size: 1.05rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer ul a { color: var(--ink-soft); }
.site-footer ul a:hover { color: var(--brand-green); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .85rem; color: var(--ink-soft); }

/* ---------- Floating buttons ---------- */
.wa-float, .to-top-float {
  position: fixed; right: 18px; left: auto; z-index: 110; width: 54px; height: 54px; border: 0; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-lg); color: #fff;
  transition: transform .2s ease, box-shadow .25s ease, bottom .45s cubic-bezier(.4, 0, .2, 1);
}
.wa-float { bottom: 84px; background: #25D366; }
.wa-float:hover { transform: scale(1.08); box-shadow: var(--glow-green); }
.share-float-wrapper { position: fixed; right: 18px; bottom: 18px; z-index: 110; display: flex; transition: transform .2s ease, box-shadow .25s ease, bottom .45s cubic-bezier(.4, 0, .2, 1); }
.share-float-stack { position: relative; display: flex; align-items: flex-end; }
.share-float { width: 54px; height: 54px; border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer; background: var(--brand-gradient-btn); box-shadow: var(--shadow-lg); color: #fff; transition: transform .2s ease, box-shadow .25s ease; }
.share-float:hover { transform: scale(1.08); box-shadow: var(--glow); }
.to-top-float { bottom: 150px; background: var(--brand-indigo); }
.to-top-float:hover { transform: scale(1.08); box-shadow: var(--glow); }
.wa-float svg, .share-float svg, .to-top-float svg { width: 24px; height: 24px; fill: #fff; }
.share-popover {
  position: absolute; bottom: calc(100% + 12px); right: 0;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg); padding: .6rem; min-width: 190px; display: none;
}
.share-popover.is-open { display: block; }

/* Keep floating buttons above the navbar when it is docked at the bottom. */
/* Buttons stay fixed to avoid disappearing behind the docked header */
body.nav-bottom .wa-float { bottom: 84px; }
body.nav-bottom .share-float-wrapper { bottom: 18px; }
body.nav-bottom .to-top-float { bottom: 150px; }
.share-popover__header { display: flex; align-items: center; justify-content: space-between; font-weight: 600; font-size: .9rem; padding: .2rem .4rem .6rem; }
.share-popover__close { background: none; border: 0; color: var(--ink-soft); font-size: 1.2rem; cursor: pointer; line-height: 1; }
.share-popover__options { display: grid; gap: .3rem; }
.share-option { display: flex; align-items: center; gap: .6rem; padding: .55rem .6rem; border-radius: 10px; color: var(--ink); font-size: .92rem; text-decoration: none; }
.share-option:hover { background: var(--surface-2); color: var(--brand-green); text-decoration: none; }
.share-option svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- Reveal (gated by html.js-fx from effects.js) ---------- */
html.js-fx .fx-reveal { opacity: 0; transform: translateY(var(--fx-reveal-distance, 28px)); transition: opacity .7s var(--fx-ease, ease), transform .7s var(--fx-ease, ease); }
html.js-fx .fx-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js-fx .fx-reveal { opacity: 1 !important; transform: none !important; }
  .hero__bg { animation: none; }
  .site-header { transition: none; }
  body.nav-bottom .wa-float,
  body.nav-bottom .share-float-wrapper,
  body.nav-bottom .to-top-float { transition: none; }
}

/* ---------- Mobile nav (drawer) ---------- */
.nav-backdrop { position: fixed; inset: 0; background: rgba(4, 4, 10, .6); backdrop-filter: blur(2px); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease; z-index: 95; }
.nav-backdrop.is-open { opacity: 1; visibility: visible; }
body.nav-open { overflow: hidden; }

@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; margin-top: 1rem; }
  .hero__panel { order: 2; }
  .fare-layout { grid-template-columns: 1fr; }
  .about-intro { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .trust { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .nav-toggle { display: block; }
  .nav-close { display: block; }
  .main-nav {
    position: fixed; top: 0; right: 0; height: 100vh; width: min(82vw, 340px);
    background: var(--bg-2); border-left: 1px solid var(--line); z-index: 101;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 1rem;
    padding: 5.5rem 1.4rem 2rem; transform: translateX(100%); transition: transform .3s ease; box-shadow: var(--shadow-lg);
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: .2rem; }
  .main-nav a { display: block; padding: .7rem .2rem; font-size: 1.05rem; }
  .nav-cta { display: flex; flex-direction: column; gap: .6rem; margin-top: .5rem; }
  .nav-cta .btn { justify-content: center; }
  .header-actions { display: none; }
}
@media (max-width: 620px) {
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .site-header__bar { padding: .4rem .5rem .4rem .9rem; }
  .site-brand__tag { display: none; }
}

/* ---------- Sleek scrollbar ---------- */
* { scrollbar-width: thin; scrollbar-color: var(--brand-purple) rgba(255, 255, 255, .06); }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: rgba(255, 255, 255, .04); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--brand-purple), var(--brand-green)); border-radius: 999px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(var(--brand-green), var(--brand-purple)); }

/* ---------- Skip link ---------- */
/* ---------- FAQ accordion ---------- */
.faq__head { text-align: center; margin-bottom: 2.5rem; }
.faq__sub { color: var(--brand-gold); font-weight: 600; margin-top: .4rem; }
.faq__list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: .9rem; }
.faq-item {
  background: var(--surface, #fff); border: 1px solid var(--line); border-radius: 16px;
  overflow: hidden; transition: border-color .25s ease, box-shadow .25s ease;
}
.faq-item.is-open { border-color: var(--brand-gold); box-shadow: var(--shadow-md); }
.faq-item__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.4rem; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; line-height: 1.35; color: var(--ink);
}
.faq-item__q:hover { color: var(--brand-teal); }
.faq-item__q:hover .faq-item__icon { background: var(--brand-gold-dark, #A8861E); }
.faq-item__icon {
  position: relative; flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%;
  background: var(--brand-gold); transition: transform .35s ease, background .25s ease;
}
.faq-item__icon::before, .faq-item__icon::after {
  content: ""; position: absolute; top: 50%; left: 50%; background: #fff; border-radius: 2px; transform: translate(-50%, -50%);
}
.faq-item__icon::before { width: 13px; height: 2.5px; }
.faq-item__icon::after { width: 2.5px; height: 13px; }
.faq-item.is-open .faq-item__icon { transform: rotate(135deg); }
.faq-item__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.faq-item.is-open .faq-item__panel { grid-template-rows: 1fr; }
.faq-item__panel > div { overflow: hidden; }
.faq-item__a { padding: 0 1.4rem 1.25rem; color: var(--ink-soft); line-height: 1.65; margin: 0; }

@media (max-width: 620px) {
  .faq-item__q { font-size: .98rem; padding: 1rem 1.1rem; }
  .faq-item__a { padding: 0 1.1rem 1.1rem; }
}

.skip-link { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--brand-teal); color: #ffffff; padding: .6rem 1rem; border-radius: 0 0 10px 0; font-weight: 700; }
.skip-link:focus { left: 0; }
