/* ============================================================================
   OUTFIT AUTO CARE — SITE STYLESHEET
   ----------------------------------------------------------------------------
   One stylesheet powers every page: index, fleet, events, agree.

   HOW TO CHANGE THINGS SAFELY
   - Colours, spacing, radius, fonts all live in :root below as CSS variables.
     Change the variable, and it updates everywhere. Do not hard-code a hex
     value in a page — add or use a variable here instead.
   - Every text colour in this file has been checked against the background it
     sits on for WCAG AA contrast (4.5:1 for body text, 3:1 for large text).
     If you introduce a new grey, check it before shipping.
   - Sections are labelled in ALL CAPS below. Search for the label.

   BRAND LOCK — do not change without JZ's sign-off:
     Obsidian #0A0A0A + Heritage Gold #C9A96E, Outfit typeface, dark-first.
   ========================================================================== */

/* ── DESIGN TOKENS ────────────────────────────────────────────────────────── */
:root {
  /* Surfaces — darkest to lightest */
  --bg: #0A0A0A;          /* page background */
  --bg-alt: #0F0F0F;      /* alternating section background */
  --bg-card: #141414;     /* cards, form wells */
  --bg-raised: #1A1A1A;   /* controls sitting on a card */

  /* Brand */
  --gold: #C9A96E;        /* 8.85:1 on --bg — safe for text and large type */
  --gold-hover: #D4BA87;
  --gold-dim: rgba(201, 169, 110, 0.15);
  --gold-glow: rgba(201, 169, 110, 0.08);

  /* Text — contrast ratios measured against --bg (#0A0A0A) */
  --text: #FFFFFF;        /* 19.6:1 */
  --text-muted: #A6A6A6;  /*  8.3:1 — body copy, labels */
  --text-dim: #8A8A8A;    /*  5.7:1 — captions, fine print, notes */
  --text-placeholder: #7A7A7A; /* 4.6:1 — input placeholders */

  /* Lines */
  --border: #232323;
  --border-hover: #3A3A3A;
  --border-strong: #2E2E2E;

  /* Status */
  --danger: #F08585;      /* 7.0:1 on --bg — error text */
  --danger-bg: rgba(220, 50, 50, 0.08);
  --danger-border: rgba(220, 50, 50, 0.3);

  /* Shape + motion */
  --radius: 12px;
  --radius-sm: 8px;
  --font: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --nav-h: 68px;          /* keep in sync with nav padding — drives scroll offset */

  /* Tells the browser to render native controls (date pickers, scrollbars,
     autofill) in dark mode. Without this the date picker renders light-on-light
     and is effectively unusable on this background. */
  color-scheme: dark;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; }

/* height:auto is NOT optional. Every <img> carries width/height attributes so
   the browser can reserve space before the file arrives (stops the page
   jumping around as photos load). Those attributes also act as a CSS height —
   so without height:auto here, an image constrained by max-width gets stretched
   to its full pixel height and any object-fit crop goes haywire. */
img { max-width: 100%; height: auto; display: block; }

/* Anchor targets must clear the fixed nav, or the heading you jumped to sits
   hidden underneath it. */
[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }


/* ── ACCESSIBILITY ────────────────────────────────────────────────────────── */

/* Keyboard users get a visible ring on everything focusable. Mouse users
   don't (that's what :focus-visible buys us). Never remove this. */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}

/* First tab stop on every page — lets keyboard and screen-reader users skip
   past the nav straight to content. */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  padding: 0.8rem 1.4rem;
  background: var(--gold);
  color: var(--bg);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* Visible to screen readers, invisible on screen. */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}


/* ── NAV ──────────────────────────────────────────────────────────────────── */
/* Scoped to the header nav specifically (a direct child of <body>). Do NOT
   loosen this back to a bare `nav` selector — the footer link list is also a
   <nav>, and a bare selector pins it to the top of the page. */
body > nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 1.15rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.logo span { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-left: auto;
  margin-right: 1.75rem;
}
.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--transition);
}
.nav-links a:hover,
.nav-links a:focus-visible { color: var(--gold); }
.nav-links a.active { color: var(--gold); }

.nav-cta {
  padding: 0.6rem 1.5rem;
  background: var(--gold);
  color: var(--bg);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 6px;
  white-space: nowrap;
  transition: background var(--transition), transform 0.2s;
}
.nav-cta:hover { background: var(--gold-hover); transform: translateY(-1px); }

/* Hamburger — hidden on desktop, the only nav on mobile. */
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition);
}
.nav-toggle:hover { border-color: var(--gold); color: var(--gold); }
.nav-toggle svg { pointer-events: none; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Mobile drawer. Closed = not rendered for assistive tech (hidden attribute
   is applied by site.js), so nothing here can be reached while collapsed. */
.nav-drawer {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  z-index: 99;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding: 0.5rem 1.25rem 1.25rem;
  max-height: calc(100dvh - var(--nav-h));
  overflow-y: auto;
}
.nav-drawer[hidden] { display: none; }
.nav-drawer a {
  display: block;
  padding: 0.95rem 0.25rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.nav-drawer a:last-of-type { border-bottom: none; }
.nav-drawer a.active { color: var(--gold); }
.nav-drawer .drawer-cta {
  margin-top: 1rem;
  padding: 0.95rem;
  background: var(--gold);
  color: var(--bg);
  text-align: center;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--radius-sm);
  border-bottom: none;
}
.nav-drawer .drawer-call {
  margin-top: 0.6rem;
  padding: 0.95rem;
  text-align: center;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--gold);
  font-weight: 600;
  border-bottom: 1px solid var(--border-strong);
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  /* The hamburger becomes the right-hand control; the gold CTA lives in the
     drawer and in the sticky bottom bar, so it isn't lost. */
  .nav-cta { display: none; }
}
@media (min-width: 901px) {
  .nav-drawer { display: none !important; }
}


/* ── HERO ─────────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 3rem) 2rem 4rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero.hero-compact { min-height: 58svh; padding: calc(var(--nav-h) + 3rem) 2rem 3rem; }

/* Photographic backdrop. Kept far back behind a heavy scrim so the type stays
   the loudest thing on screen — the brand is stark, not busy. */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  opacity: 0.42;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201, 169, 110, 0.10) 0%, transparent 55%),
    linear-gradient(180deg, rgba(10,10,10,0.82) 0%, rgba(10,10,10,0.72) 45%, rgba(10,10,10,0.96) 100%);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; max-width: 720px; }

.hero-tag {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  border: 1px solid rgba(201, 169, 110, 0.35);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.75rem;
  background: rgba(10, 10, 10, 0.4);
}

.hero h1 {
  font-size: clamp(2.75rem, 8vw, 5.5rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}
.hero-compact h1 { font-size: clamp(2.25rem, 6vw, 3.75rem); }

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: #D0D0D0;
  font-weight: 300;
  max-width: 500px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

/* Price anchored above the fold — the first question every visitor has. */
.hero-price {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 auto 2rem;
  padding: 0.7rem 1.4rem;
  border: 1px solid var(--border-strong);
  border-radius: 50px;
  background: rgba(20, 20, 20, 0.65);
  font-size: 0.9rem;
  color: var(--text-muted);
}
.hero-price strong { color: var(--gold); font-size: 1.1rem; font-weight: 700; }

.hero-actions { display: flex; gap: 0.85rem; justify-content: center; flex-wrap: wrap; }

.hero-cta {
  display: inline-block;
  padding: 1.1rem 2.5rem;
  background: var(--gold);
  color: var(--bg);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: background var(--transition), transform 0.2s, box-shadow var(--transition);
  box-shadow: 0 4px 30px rgba(201, 169, 110, 0.2);
}
.hero-cta:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(201, 169, 110, 0.3);
}

.hero-cta.hero-cta-outline {
  background: rgba(10, 10, 10, 0.5);
  color: var(--gold);
  border: 1px solid rgba(201, 169, 110, 0.45);
  box-shadow: none;
}
.hero-cta.hero-cta-outline:hover {
  background: var(--gold-dim);
  transform: translateY(-2px);
  box-shadow: none;
}


/* ── SECTIONS ─────────────────────────────────────────────────────────────── */
section { padding: 5.5rem 2rem; }
.container { max-width: 1080px; margin: 0 auto; }
.container-wide { max-width: 1240px; margin: 0 auto; }
.center { text-align: center; }

.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 0.75rem;
  line-height: 1.15;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 540px;
  font-weight: 300;
  line-height: 1.7;
}
.center .section-sub { margin-left: auto; margin-right: auto; }


/* ── TRUST BAR ────────────────────────────────────────────────────────────── */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  text-transform: uppercase;
  white-space: nowrap;
}
.trust-item svg { flex-shrink: 0; color: var(--gold); }
.trust-item a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--border-hover); }
.trust-item a:hover { color: var(--gold); border-color: var(--gold); }


/* ── PRICING ──────────────────────────────────────────────────────────────── */
.offer { background: var(--bg-alt); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1080px;
  margin: 2.5rem auto 0;
  align-items: stretch;
}
/* Launch-phase / single-card fallback. */
.pricing-grid.single { grid-template-columns: 1fr; max-width: 580px; }

@media (max-width: 940px) { .pricing-grid { grid-template-columns: 1fr; max-width: 580px; } }

.offer-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.25rem 1.75rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}
.offer-card:hover { border-color: var(--border-hover); transform: translateY(-3px); }

.offer-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 5%, var(--gold) 50%, transparent 95%);
}

/* The headline package gets the emphasis. */
.offer-card.featured { border-color: rgba(201, 169, 110, 0.4); background: #161310; }

.offer-badge {
  display: inline-block;
  align-self: center;
  padding: 0.4rem 1rem;
  background: var(--gold-dim);
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 4px;
  margin-bottom: 1.25rem;
}

.offer-service { font-size: 1.35rem; font-weight: 600; margin-bottom: 0.75rem; }
.offer-from {
  font-size: 0.72rem;
  color: var(--text-dim);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.offer-price {
  font-size: 2.9rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.pricing-grid.single .offer-price { font-size: 3.6rem; }

.offer-subline { color: var(--text-dim); font-size: 0.85rem; margin-bottom: 0.4rem; line-height: 1.6; }
.offer-time { color: var(--text-dim); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 1.5rem; }

.offer-original {
  font-size: 1.05rem;
  color: var(--text-dim);
  text-decoration: line-through;
  margin-bottom: 1.25rem;
}

.offer-includes { text-align: left; margin: 0 auto 1.5rem; width: 100%; max-width: 380px; }

.offer-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.45rem 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.offer-check { flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; }

.offer-note { color: var(--text-dim); font-size: 0.8rem; font-style: italic; margin-top: auto; }

.offer-card .offer-cta {
  display: block;
  margin-top: 1.25rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(201, 169, 110, 0.4);
  border-radius: var(--radius-sm);
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background var(--transition), border-color var(--transition);
}
.offer-card .offer-cta:hover { background: var(--gold-dim); border-color: var(--gold); }
.offer-card.featured .offer-cta { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.offer-card.featured .offer-cta:hover { background: var(--gold-hover); }

/* Add-on strip below the pricing cards. */
.addon-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2rem;
}
.addon-chip {
  padding: 0.5rem 1.1rem;
  border: 1px dashed var(--border-hover);
  border-radius: 50px;
  font-size: 0.83rem;
  color: var(--text-muted);
}
.addon-chip strong { color: var(--gold); font-weight: 600; }


/* ── STEPS ────────────────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.steps.steps-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .steps.steps-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .steps { grid-template-columns: 1fr; } }

.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  transition: border-color var(--transition);
}
.step:hover { border-color: var(--border-hover); }
.step-num { font-size: 2.5rem; font-weight: 800; color: rgba(201, 169, 110, 0.18); line-height: 1; margin-bottom: 1rem; }
.step h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.5rem; }
.step p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.6; }


/* ── BEFORE / AFTER ───────────────────────────────────────────────────────── */
/* Only ever holds pairs shot at the same angle, same zone, same job. If a job
   didn't get a true matching pair, it does not go in here. */
.ba-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; margin-top: 2.75rem; }
@media (max-width: 800px) { .ba-grid { grid-template-columns: 1fr; } }

.ba-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--border); }
.ba-half { position: relative; }
.ba-half img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.ba-tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(10, 10, 10, 0.85);
  color: var(--text-muted);
  backdrop-filter: blur(6px);
}
.ba-tag.after { background: var(--gold); color: var(--bg); }
.ba-caption { padding: 1.1rem 1.25rem; }
.ba-caption h3 { font-size: 0.98rem; font-weight: 600; margin-bottom: 0.25rem; }
.ba-caption p { color: var(--text-dim); font-size: 0.82rem; line-height: 1.55; }


/* ── GALLERY ──────────────────────────────────────────────────────────────── */
.gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.85rem;
  margin-top: 2.75rem;
}
@media (max-width: 1000px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  /* With an odd number of photos the last one would sit alone in a half-width
     column, which reads as unfinished. Let it span the full row instead.
     :last-child:nth-child(odd) is true only when the total count is odd, so
     this switches itself off automatically when a photo is added or removed. */
  .gallery figure:last-child:nth-child(odd) { grid-column: span 2; }
  .gallery figure:last-child:nth-child(odd) img { aspect-ratio: 16 / 10; }
}

.gallery figure {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
}
.gallery img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity var(--transition);
}
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.5rem 0.8rem 0.65rem;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #E0E0E0;
  background: linear-gradient(180deg, transparent, rgba(10, 10, 10, 0.9));
}

.gallery-note { text-align: center; margin-top: 1.5rem; color: var(--text-dim); font-size: 0.82rem; }


/* ── TESTIMONIALS ─────────────────────────────────────────────────────────── */
.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 2.75rem; }
@media (max-width: 800px) { .reviews { grid-template-columns: 1fr; } }

.review {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.85rem 1.75rem;
  text-align: left;
}
.review-stars { color: var(--gold); letter-spacing: 0.2em; font-size: 0.95rem; margin-bottom: 0.85rem; }
.review blockquote { color: var(--text); font-size: 1rem; line-height: 1.7; font-weight: 300; margin-bottom: 1rem; }
.review figcaption { color: var(--text-dim); font-size: 0.82rem; }
.review figcaption strong { color: var(--text-muted); font-weight: 600; }

.review-cta { text-align: center; margin-top: 1.75rem; }
.review-cta a { color: var(--gold); font-size: 0.88rem; text-decoration: none; border-bottom: 1px solid rgba(201,169,110,0.4); }
.review-cta a:hover { border-color: var(--gold); }


/* ── INSTANT QUOTE WIDGET ─────────────────────────────────────────────────── */
.qw {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  margin-bottom: 2rem;
}
.qw-title { font-weight: 700; font-size: 1.05rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.qw-sub { color: var(--text-muted); font-size: 0.9rem; margin-top: 0.3rem; }
.qw-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 1.2rem 0 0.55rem;
  font-weight: 600;
}
.qw-seg { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.qw-seg button {
  font-family: var(--font);
  background: var(--bg-raised);
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0.65rem 1.05rem;
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}
.qw-seg button:hover { border-color: var(--border-hover); }
.qw-seg button[aria-pressed="true"],
.qw-seg button[aria-checked="true"] {
  border-color: var(--gold);
  background: var(--gold-dim);
  color: var(--gold);
  font-weight: 600;
}
/* Selected state is also marked with a tick so it doesn't rely on colour
   alone — required for colour-blind users. */
.qw-seg button[aria-pressed="true"]::before,
.qw-seg button[aria-checked="true"]::before { content: '✓ '; }

.qw-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.qw-price { font-size: 2.2rem; font-weight: 700; color: var(--gold); line-height: 1; }
.qw-note { color: var(--text-muted); font-size: 0.82rem; margin-top: 0.4rem; max-width: 36ch; }
.qw-use {
  font-family: var(--font);
  background: var(--gold);
  color: var(--bg);
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.4rem;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background var(--transition);
}
.qw-use:hover { background: var(--gold-hover); }

.qw-selected {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.95rem;
}
/* Padded out to a comfortable tap target — this is a real control, not an
   inline link in a sentence. */
.qw-selected a { color: var(--gold); font-size: 0.8rem; text-decoration: none; letter-spacing: 0.06em; text-transform: uppercase; flex-shrink: 0; padding: 0.5rem 0.25rem; margin: -0.5rem -0.25rem; }
.qw-selected a:hover { color: var(--gold-hover); }


/* ── MONTHLY PLAN ─────────────────────────────────────────────────────────── */
.monthly-lede { color: var(--text-muted); max-width: 62ch; margin: 0 0 2rem; font-size: 1.02rem; line-height: 1.7; }
.monthly-lede strong { color: var(--gold); font-weight: 600; }
.monthly-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.85rem; max-width: 760px; }
.monthly-price-row { display: flex; align-items: baseline; gap: 1.25rem; flex-wrap: wrap; margin: 1.4rem 0 1.6rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--border); }
.monthly-price { font-size: 2.4rem; font-weight: 700; color: var(--gold); line-height: 1; }
.monthly-per { color: var(--text-muted); font-size: 1rem; margin-left: 0.25rem; }
.monthly-note { color: var(--text-muted); font-size: 0.85rem; max-width: 44ch; line-height: 1.55; }


/* ── FORMS ────────────────────────────────────────────────────────────────── */
.book { background: var(--bg-alt); }

.form-wrap {
  max-width: 620px;
  margin: 3rem auto 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
}

.form-row { margin-bottom: 1.25rem; }

.form-row > label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.label-hint { color: var(--text-dim); text-transform: none; font-weight: 400; letter-spacing: 0; }

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem; /* 16px minimum — anything smaller makes iOS zoom on focus */
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.15);
}

/* Fields the browser has flagged invalid, or that we've flagged on submit. */
.form-row input[aria-invalid="true"],
.form-row select[aria-invalid="true"],
.form-row textarea[aria-invalid="true"] {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(220, 50, 50, 0.12);
}

.form-row input::placeholder,
.form-row textarea::placeholder { color: var(--text-placeholder); }

.form-row select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23A6A6A6' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-row select option { background: var(--bg-card); color: var(--text); }
.form-row textarea { resize: vertical; min-height: 90px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* Checkbox rows — the label wraps the input, so the whole line is a hit target. */
.check-row { display: flex; align-items: flex-start; gap: 0.65rem; cursor: pointer; font-size: 0.88rem; line-height: 1.55; text-transform: none; letter-spacing: 0; color: var(--text); }
.check-row input[type="checkbox"] { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: var(--gold); cursor: pointer; }
.check-row a { color: var(--gold); }

.submit-btn {
  width: 100%;
  padding: 1.05rem;
  background: var(--gold);
  color: var(--bg);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition), transform 0.2s, box-shadow var(--transition);
  box-shadow: 0 4px 20px rgba(201, 169, 110, 0.15);
  margin-top: 0.5rem;
}
.submit-btn:hover:not(:disabled) {
  background: var(--gold-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 30px rgba(201, 169, 110, 0.25);
}
.submit-btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

.form-success, .form-error {
  text-align: center;
  padding: 2.25rem 1.75rem;
  border-radius: var(--radius);
  display: none;
}
.form-success[data-open], .form-error[data-open] { display: block; }

.form-success { background: rgba(201, 169, 110, 0.07); border: 1px solid rgba(201, 169, 110, 0.25); }
.form-success h3 { color: var(--gold); font-size: 1.3rem; margin-bottom: 0.5rem; }
.form-success p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.7; }

.form-error {
  background: var(--danger-bg);
  border: 1px solid var(--danger-border);
  color: var(--danger);
  font-size: 0.92rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
  text-align: left;
}
.form-error a { color: var(--gold); }

/* Key-terms disclosure under the agreement checkbox. */
.terms-summary {
  margin-top: 0.85rem;
  padding: 1rem 1.2rem;
  background: rgba(201, 169, 110, 0.07);
  border: 1px solid rgba(201, 169, 110, 0.25);
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  line-height: 1.65;
  color: var(--text-muted);
}
.terms-summary h3 { color: var(--gold); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.6rem; font-weight: 600; }
.terms-summary p { margin-bottom: 0.45rem; }
.terms-summary strong { color: var(--text); font-weight: 600; }
.terms-summary a { color: var(--gold); font-size: 0.8rem; }


/* ── SERVICE AREA ─────────────────────────────────────────────────────────── */
.area-list { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; justify-content: center; }
.area-item {
  padding: 0.55rem 1.4rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: border-color var(--transition), color var(--transition);
}
.area-item:hover { border-color: var(--border-hover); color: var(--text); }
.area-note { text-align: center; margin-top: 1.5rem; color: var(--text-dim); font-size: 0.85rem; }


/* ── ABOUT ────────────────────────────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: auto 1fr; gap: 3.5rem; align-items: center; }
@media (max-width: 760px) { .about-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; } }
.about-mark { display: flex; justify-content: center; }
.about-text p { color: var(--text-muted); font-size: 1rem; font-weight: 300; line-height: 1.85; margin-bottom: 1.25rem; max-width: 560px; }
@media (max-width: 760px) { .about-text p { margin-left: auto; margin-right: auto; } }
.about-text p:last-child { margin-bottom: 0; color: var(--gold); font-weight: 400; }


/* ── FAQ ──────────────────────────────────────────────────────────────────── */
.faq-list { max-width: 760px; margin: 2.5rem auto 0; text-align: left; }
.faq-item { border-bottom: 1px solid var(--border); padding: 1.25rem 0; }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--text-muted); font-size: 0.92rem; font-weight: 300; line-height: 1.7; margin-top: 0.85rem; max-width: 640px; }


/* ── FLEET / BUSINESS ─────────────────────────────────────────────────────── */
.fleet-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 3rem; }
@media (max-width: 760px) { .fleet-grid { grid-template-columns: 1fr; } }
.fleet-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem 1.75rem; transition: border-color var(--transition); }
.fleet-card:hover { border-color: var(--border-hover); }
.fleet-card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--gold); }
.fleet-card p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.65; }

.fleet-includes { max-width: 640px; margin: 2.5rem auto 0; text-align: left; }
.fleet-includes .offer-item { font-size: 0.95rem; }


/* ── INSTAGRAM CTA ────────────────────────────────────────────────────────── */
.ig-section { text-align: center; }
.ig-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
  padding: 0.75rem 1.75rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: border-color var(--transition), color var(--transition);
}
.ig-link:hover { border-color: var(--gold); color: var(--gold); }


/* ── FOOTER ───────────────────────────────────────────────────────────────── */
footer { padding: 3rem 2rem 2.5rem; border-top: 1px solid var(--border); text-align: center; }

.footer-brand { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 1.5rem; }

.footer-newsletter { max-width: 440px; margin: 0 auto 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border); }
.footer-newsletter-label { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 0.9rem; }
.footer-newsletter form { display: flex; gap: 0.6rem; }
.footer-newsletter input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 0.75rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
}
.footer-newsletter input[type="email"]::placeholder { color: var(--text-placeholder); }
.footer-newsletter input[type="email"]:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,169,110,0.15); }
.footer-newsletter button {
  padding: 0.75rem 1.3rem;
  background: var(--gold);
  color: var(--bg);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition);
  white-space: nowrap;
}
.footer-newsletter button:hover:not(:disabled) { background: var(--gold-hover); }
.footer-newsletter button:disabled { opacity: 0.55; cursor: not-allowed; }
.footer-newsletter-msg { font-size: 0.85rem; margin-top: 0.75rem; min-height: 1.2rem; }
.footer-newsletter-msg.success { color: var(--gold); }
.footer-newsletter-msg.error { color: var(--danger); }
.footer-newsletter-fine { font-size: 0.72rem; color: var(--text-dim); margin-top: 0.6rem; line-height: 1.55; }
.footer-newsletter-fine a { color: var(--text-dim); text-decoration: underline; }
@media (max-width: 480px) { .footer-newsletter form { flex-direction: column; } }

.footer-links { display: flex; flex-wrap: wrap; gap: 1.25rem 1.75rem; justify-content: center; margin-bottom: 1.25rem; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.85rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--gold); }
.footer-copy { color: var(--text-dim); font-size: 0.75rem; line-height: 1.7; }


/* ── STICKY MOBILE CTA ────────────────────────────────────────────────────── */
.sticky-book {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  background: rgba(10, 10, 10, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  gap: 0.6rem;
  transition: transform 0.3s ease;
}
.sticky-book a.sticky-primary {
  flex: 1;
  text-align: center;
  padding: 0.9rem;
  background: var(--gold);
  color: var(--bg);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
}
.sticky-book a.sticky-call {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  flex-shrink: 0;
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-sm);
  color: var(--gold);
  text-decoration: none;
}
/* Slides away once the booking form is on screen — it would just cover it. */
.sticky-book.is-hidden { transform: translateY(120%); }

@media (max-width: 760px) {
  .sticky-book { display: flex; }
  body { padding-bottom: 5rem; }
}


/* ── SERVICE AGREEMENT PAGE ───────────────────────────────────────────────── */
.page-wrap { max-width: 800px; margin: 0 auto; padding: calc(var(--nav-h) + 3rem) 2rem 4rem; }
.page-tag { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.6rem; }
.page-title { font-size: clamp(1.9rem, 5vw, 2.6rem); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 0.6rem; }
.page-sub { color: var(--text-muted); font-size: 1rem; font-weight: 300; margin-bottom: 2.5rem; max-width: 560px; }

.nav-back { color: var(--text-muted); text-decoration: none; font-size: 0.85rem; font-weight: 500; }
.nav-back:hover { color: var(--gold); }

.agreement {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.25rem 2rem;
  margin-bottom: 2rem;
  max-height: 62vh;
  overflow-y: auto;
}
.agreement h2 { font-size: 0.95rem; font-weight: 600; color: var(--gold); margin: 1.75rem 0 0.6rem; letter-spacing: 0.02em; }
.agreement h2:first-child { margin-top: 0; }
.agreement p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.75; margin-bottom: 0.7rem; }
.agreement strong { color: var(--text); font-weight: 600; }

.sign-section { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; }
.sign-title { font-size: 1.15rem; font-weight: 600; margin-bottom: 1.5rem; }
.sig-wrap { position: relative; background: #F5F2ED; border-radius: var(--radius-sm); overflow: hidden; }
.sig-canvas { display: block; width: 100%; height: 140px; cursor: crosshair; touch-action: none; }
.sig-clear {
  position: absolute;
  top: 0.5rem; right: 0.5rem;
  padding: 0.35rem 0.75rem;
  background: rgba(10, 10, 10, 0.08);
  border: 1px solid rgba(10, 10, 10, 0.18);
  border-radius: 5px;
  color: #4A4A4A;
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
}
.sig-clear:hover { background: rgba(10, 10, 10, 0.14); }
.sig-line { position: absolute; left: 2.5rem; right: 1.5rem; bottom: 2.2rem; border-bottom: 1px solid rgba(10,10,10,0.25); pointer-events: none; }
.sig-x { position: absolute; left: 1.25rem; bottom: 1.9rem; color: rgba(10,10,10,0.4); font-size: 0.9rem; pointer-events: none; }

.success-screen { display: none; text-align: center; padding: 3rem 2rem; background: rgba(201,169,110,0.07); border: 1px solid rgba(201,169,110,0.25); border-radius: var(--radius); }
.success-screen[data-open] { display: block; }
.success-screen .check { width: 56px; height: 56px; margin: 0 auto 1.25rem; border-radius: 50%; background: var(--gold-dim); display: flex; align-items: center; justify-content: center; }
.success-screen h3 { color: var(--gold); font-size: 1.4rem; margin-bottom: 0.6rem; }
.success-screen p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; max-width: 420px; margin: 0 auto; }


/* ── ANIMATIONS ───────────────────────────────────────────────────────────── */
/* Content is visible by default. Only when site.js has confirmed it's running
   (html.js) do we hide it to animate in — so a JS failure can never leave the
   page blank. site.js also force-reveals everything after 2s as a backstop. */
.js .fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js .fade-in.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .fade-in { opacity: 1 !important; transform: none !important; transition: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .gallery figure:hover img { transform: none; }
}


/* ── RESPONSIVE ───────────────────────────────────────────────────────────── */
@media (max-width: 820px) {
  section { padding: 4rem 1.25rem; }
  nav { padding: 1rem 1.25rem; }
  .offer-card { padding: 2rem 1.5rem; }
  .form-wrap { padding: 1.85rem 1.25rem; }
  .monthly-card { padding: 1.5rem 1.25rem; }
  .qw { padding: 1.25rem; }
  .page-wrap { padding-left: 1.25rem; padding-right: 1.25rem; }
  .agreement { padding: 1.75rem 1.35rem; max-height: none; }
  .sign-section { padding: 1.6rem 1.25rem; }
  .hero { min-height: 88svh; }
  .qw-result { flex-direction: column; align-items: stretch; }
  .qw-use { width: 100%; }
}

@media (max-width: 380px) {
  .logo { font-size: 0.82rem; letter-spacing: 0.1em; }
  .hero-actions { flex-direction: column; }
  .hero-cta { width: 100%; }
}


/* ── PRINT ────────────────────────────────────────────────────────────────── */
/* Mostly for the service agreement — a client may want a paper copy. */
@media print {
  nav, .sticky-book, .nav-drawer, .skip-link, .sig-clear { display: none !important; }
  body { background: #fff; color: #000; padding: 0; }
  .agreement { max-height: none; overflow: visible; border: none; background: #fff; padding: 0; }
  .agreement h2 { color: #000; }
  .agreement p, .page-sub { color: #222; }
  .page-wrap { padding-top: 0; }
}
