/* ============================================================
   F1 Performance LLC — style.css
   Cinematic scroll-driven single-page experience
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Barlow+Condensed:wght@600;700;800;900&display=swap');

/* ── Design Tokens ────────────────────────────────────────── */
:root {
  /* Colors — logo-true (F1P): red brand accent, gold reserved for selected/recommended.
     NOTE: --color-gold is the shared accent token every component routes through; it
     carries the brand RED. --color-select carries gold (the one "you picked this" cue). */
  --color-bg:            #0B0B0B;   /* logo field */
  --color-bg-alt:        #111111;
  --color-surface:       #161616;
  --color-surface-hover: #1E1E1E;
  --color-text:          #F6F6F6;   /* logo white */
  --color-text-muted:    #7A7A78;
  --color-text-dim:      #4A4A48;
  --color-text-legal:    #6E6E6C;   /* WCAG AA-passing tone for legal/footer copy */
  --color-bg-deep:       #060606;
  --color-bg-deep-rgb:   6, 6, 6;
  --color-bg-footer:     #080808;
  --color-bg-footer-rgb: 8, 8, 8;
  --color-gold:          #CC141C;   /* brand red (shared accent) */
  --color-gold-rgb:      204, 20, 28;
  --color-gold-bright:   #E63A3F;   /* brighter red for hover / AA */
  --color-select:        #C9A84C;   /* gold — selected / recommended only */
  --color-select-rgb:    201, 168, 76;
  --color-select-bright: #E8C870;
  --color-cyan:          #00D4E8;
  --color-cyan-rgb:      0, 212, 232;
  --color-glass:         rgba(255, 255, 255, 0.04);
  --color-glass-border:  rgba(255, 255, 255, 0.07);
  --color-divider:       rgba(255, 255, 255, 0.05);

  /* Typography */
  --font-heading: 'Barlow Condensed', system-ui, sans-serif;
  --font-display: 'Barlow Condensed', system-ui, sans-serif;
  --font-body:    'Barlow', system-ui, sans-serif;

  /* Type Scale */
  --text-hero:  clamp(3.5rem, 8vw + 1rem,   8.5rem);
  --text-h2:    clamp(2rem,   4vw + 0.5rem, 4.5rem);
  --text-h3:    clamp(1.25rem,2vw + 0.5rem, 2rem);
  --text-body:  clamp(1rem,   1vw + 0.5rem, 1.125rem);
  --text-small: clamp(0.75rem,0.8vw + 0.4rem, 0.875rem);
  --text-label: 0.6875rem;

  /* Spacing & Layout */
  --section-padding:   clamp(5rem, 10vw, 12rem);
  --container-max:     1280px;
  --container-padding: clamp(1.25rem, 4vw, 3rem);
  --radius:            12px;
  --radius-lg:         20px;
  --radius-pill:       100px;
  --transition:        0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast:   0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Nav height reference */
  --nav-height: 64px;
}

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

body, #scroll-track {
  max-width: 100vw;
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: none;
}

/* Focus styles */
:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================================================
   FIXED BACKGROUND LAYER  z-index: 0
   ============================================================ */
#bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

/* ── Canvas image sequence — scroll-driven background ─────── */
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  will-change: contents;
}

/* ── Frame preload progress bar — hidden; intro covers loading ── */
#frame-loader {
  display: none;
}

#frame-loader-bar {
  width: 0%;
  height: 2px;
  background: var(--color-gold);
  position: absolute;
  bottom: 0;
  left: 0;
  transition: width 0.1s linear;
}

/* ── Intro loader ─────────────────────────────────────────── */
#intro-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
}

#intro-loader.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.intro-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  user-select: none;
}

/* The full mark (spikes + F1, one vector) sweeps in on load */
.intro-mark {
  display: flex;
  align-items: center;
  justify-content: center;
}

.intro-logo-mark {
  height: clamp(4.6rem, 13vw, 8.4rem);
  width: auto;
  opacity: 0;
  transform: translateX(-44px);
  filter: drop-shadow(0 0 11px rgba(var(--color-gold-rgb), 0.38));
  animation: introSweep 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

.intro-performance {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2.8vw, 1.5rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  padding-left: 0.35em;          /* offset trailing letter-spacing → optically centred */
  margin-top: clamp(1rem, 3vw, 1.9rem);  /* controlled gap below the mark */
  color: var(--color-text);
  opacity: 0;
  transform: scale(0.96);
  animation: introTrack 1s cubic-bezier(0.16, 1, 0.3, 1) 0.55s forwards;
}

.intro-divider {
  width: clamp(48px, 8vw, 80px);
  height: 1px;
  background: var(--color-gold);
  margin: 1.25rem 0 1rem;
  transform-origin: left center;
  transform: scaleX(0);
  opacity: 0;
  animation: introLine 0.55s cubic-bezier(0.16, 1, 0.3, 1) 1.15s forwards;
}

.intro-detailing {
  font-family: var(--font-body);
  font-size: clamp(0.8rem, 1.8vw, 1rem);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  padding-left: 0.3em;          /* offset trailing letter-spacing → optically centred */
  color: var(--color-gold);
  opacity: 0;
  animation: introFade 0.5s ease 1.45s forwards;
}

@keyframes introScale {
  to { opacity: 1; transform: scale(1); }
}

@keyframes introTrack {
  to { opacity: 1; transform: scale(1); }
}

@keyframes introLine {
  to { opacity: 1; transform: scaleX(1); }
}

@keyframes introFade {
  to { opacity: 1; }
}

@keyframes introSweep {
  to { opacity: 1; transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .intro-logo-mark {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   SCROLL TRACK — all section content  z-index: 10
   ============================================================ */
#scroll-track {
  position: relative;
  z-index: 10;
}

/* ============================================================
   CONTAINER
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

/* ============================================================
   NAVIGATION  z-index: 100
   ============================================================ */
.nav {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: min(calc(100% - 2.5rem), 1280px);
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-pill);
  padding: 0.5rem 1.1rem;        /* slimmer top bar (client: header too large) */
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* ── Logo ─────────────────────────────────────────────────────
   One lockup: spikes lead into F1, PERFORMANCE rides the same
   baseline in the same condensed family. The hierarchy lives in
   weight + color + size — not in a different typeface. */
.nav-logo {
  display: flex;
  align-items: baseline;        /* F1 + PERFORMANCE share a baseline */
  gap: 0;
  text-decoration: none;
  flex-shrink: 0;
}

/* ── Logo mark (spikes + F1, one vector, same design language) ──
   The mark's viewBox is trimmed so its bottom edge = the F1 baseline
   and its top edge = the F1 cap-top; sitting it on the text baseline
   makes the F1 baseline line up with PERFORMANCE. */
.logo-mark {
  height: 1.4rem;
  width: auto;
  flex-shrink: 0;
  margin-right: 0.55rem;
  filter: drop-shadow(0 0 2px rgba(var(--color-gold-rgb), 0.35));
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              filter 0.35s ease;
}

.nav-logo:hover .logo-mark,
.nav-logo:focus-visible .logo-mark {
  transform: translateX(3px);
  filter: drop-shadow(0 0 5px rgba(var(--color-gold-rgb), 0.6));
}

@media (prefers-reduced-motion: reduce) {
  .logo-mark { transition: none; }
  .nav-logo:hover .logo-mark,
  .nav-logo:focus-visible .logo-mark { transform: none; }
}

.logo-text {
  font-family: var(--font-heading);   /* same family as F1 — unifies the mark */
  font-weight: 600;
  font-size: 1.1rem;                   /* smaller than F1: kept as the detail tier */
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.5);     /* muted grey: color distinction kept */
  text-transform: uppercase;
  line-height: 1;
  margin-left: 0.5rem;
}

/* ── Nav Links ────────────────────────────────────────────── */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex-wrap: nowrap;
  position: relative;
}

/* Scroll-spy indicator — slides under the active section's link, in gold */
.nav-indicator {
  position: absolute;
  bottom: 0.15rem;
  left: 0;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--color-select);
  box-shadow: 0 0 8px rgba(var(--color-select-rgb), 0.5);
  opacity: 0;
  transform: translateX(0);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              width 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.3s ease;
  pointer-events: none;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text-muted);
  padding: 0.45rem 0.5rem;
  border-radius: var(--radius-pill);
  transition: color var(--transition-fast), background var(--transition-fast);
  white-space: nowrap;
  min-height: 44px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
  color: var(--color-select);
}

/* ── Services dropdown (groups the service links) ─────────── */
.nav-dropdown { position: relative; display: flex; align-items: center; }
.nav-dd-toggle { gap: 0.28rem; background: none; border: none; cursor: pointer; }
.nav-dd-caret { transition: transform 0.25s ease; }
.nav-dropdown.open .nav-dd-caret { transform: rotate(180deg); }
.nav-dropdown.active .nav-dd-toggle { color: var(--color-select); }
.nav-dd-menu {
  position: absolute;
  top: calc(100% + 0.7rem);
  left: 0;
  min-width: 230px;
  display: flex;
  flex-direction: column;
  padding: 0.4rem;
  background: rgba(16, 16, 16, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-glass-border);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 200;
}
.nav-dropdown.open .nav-dd-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dd-link {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-muted);
  padding: 0.6rem 0.85rem;
  border-radius: 9px;
  white-space: nowrap;
  transition: color var(--transition-fast), background var(--transition-fast);
}
.nav-dd-link:hover, .nav-dd-link:focus-visible {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.06);
}
.nav-dd-link.nav-dd-ig { display: flex; align-items: center; gap: 0.55rem; }
.nav-dd-ig svg { flex-shrink: 0; }

/* Mobile item — inline "flag" badge only, no description */
.nav-dd-link--badged { display: flex; align-items: center; gap: 0.6rem; }
.nav-dd-badge {
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #0A0A0A;
  background: var(--color-select);
  padding: 0.18rem 0.48rem;
  border-radius: var(--radius-pill, 999px);
  white-space: nowrap;
  line-height: 1.1;
}

/* ── Nav CTA ──────────────────────────────────────────────── */
.nav-ig {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  padding: 0 0.15rem;
  transition: color var(--transition-fast), transform var(--transition-fast);
}
.nav-ig:hover, .nav-ig:focus-visible { color: var(--color-gold-bright); transform: translateY(-1px); }

.nav-cta {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: #0A0A0A;
  background: var(--color-gold);
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-pill);
  transition: background var(--transition-fast), box-shadow var(--transition-fast);
  white-space: nowrap;
  min-height: 36px;
  display: flex;
  align-items: center;
  cursor: pointer;
  letter-spacing: 0.02em;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--color-gold-bright);
  box-shadow: 0 0 20px rgba(var(--color-gold-rgb), 0.4);
  color: #0A0A0A;
}

/* ── Hamburger ────────────────────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  transition: background var(--transition-fast);
  flex-shrink: 0;
}

.nav-hamburger:hover {
  background: rgba(255, 255, 255, 0.07);
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast),
              width var(--transition-fast);
  transform-origin: center;
}

.nav-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  width: 0;
}

.nav-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   MOBILE NAV — right-side slide-in drawer  z-index: 220
   (backdrop dims the page; panel slides in from the right)
   ============================================================ */
.nav-mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 220;
  background: rgba(4, 4, 4, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.nav-mobile-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.nav-drawer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(78vw, 340px);
  background: rgba(13, 13, 13, 0.98);
  border-left: 1px solid var(--color-glass-border);
  box-shadow: -24px 0 60px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  padding: 4.25rem 0 1.25rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateX(100%);
  transition: transform var(--transition);
}

.nav-mobile-overlay.is-open .nav-drawer {
  transform: translateX(0);
}

.nav-mobile-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  color: var(--color-text-muted);
  padding: 0.5rem;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  transition: color var(--transition-fast), background var(--transition-fast);
}

.nav-mobile-close:hover {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.07);
}

/* ── Drawer links — stacked rows with hairline separators ── */
.nav-drawer-links {
  display: flex;
  flex-direction: column;
}

.nav-drawer-links > .mobile-nav-link:first-child,
.nav-drawer-links > .drawer-group:first-child {
  border-top: 1px solid var(--color-glass-border);
}

.mobile-nav-link,
.drawer-acc-toggle {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text);
  padding: 0.9rem 1.5rem;
  min-height: 48px;
  display: flex;
  align-items: center;
  transition: color var(--transition-fast), background var(--transition-fast);
  text-align: left;
  cursor: pointer;
  border-bottom: 1px solid var(--color-glass-border);
}

.drawer-group {
  border-bottom: 1px solid var(--color-glass-border);
}

.drawer-group .drawer-acc-toggle {
  width: 100%;
  justify-content: space-between;
  border-bottom: none;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus-visible,
.drawer-acc-toggle:hover,
.drawer-acc-toggle:focus-visible {
  color: var(--color-gold-bright);
  background: rgba(255, 255, 255, 0.04);
}

.drawer-acc-caret {
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.drawer-group.open .drawer-acc-caret {
  transform: rotate(180deg);
}

.drawer-group.open .drawer-acc-toggle {
  color: var(--color-gold-bright);
}

/* ── Accordion sub-panel — darker inset, red service links ── */
.drawer-acc-panel {
  overflow: hidden;
  max-height: 0;
  background: var(--color-bg-deep);
  transition: max-height 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.drawer-group.open .drawer-acc-panel {
  max-height: 420px;
}

.drawer-sub-link {
  display: flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-gold-bright);
  padding: 0.75rem 1.5rem 0.75rem 2.1rem;
  min-height: 44px;
  transition: color var(--transition-fast), background var(--transition-fast);
}

.drawer-sub-link:hover,
.drawer-sub-link:focus-visible {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.05);
}

/* ── Quick actions — call / Instagram / book ── */
.drawer-actions {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
}

.drawer-action {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-gold);
  color: #0A0A0A;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition-fast), box-shadow var(--transition-fast);
}

.drawer-action:hover,
.drawer-action:focus-visible {
  background: var(--color-gold-bright);
  box-shadow: 0 0 20px rgba(var(--color-gold-rgb), 0.4);
}

/* ============================================================
   MOBILE UTILITY BAR + WELCOME SECTION
   Hidden by default (desktop) — enabled in the ≤1024px query.
   ============================================================ */
.mobile-topbar {
  display: none;
}

.section-welcome {
  display: none;
}

/* ============================================================
   MOBILE FLOATING CTA  z-index: 200
   ============================================================ */
.mobile-cta {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  z-index: 200;
  opacity: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: #0A0A0A;
  background: var(--color-gold);
  padding: 0.8rem 2rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  box-shadow: 0 4px 24px rgba(var(--color-gold-rgb), 0.45),
              0 2px 8px rgba(0, 0, 0, 0.5);
  transition: background var(--transition-fast), box-shadow var(--transition-fast),
              opacity var(--transition), transform var(--transition);
  pointer-events: none;
  letter-spacing: 0.03em;
  min-height: 48px;
  cursor: pointer;
}

.mobile-cta.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.mobile-cta:hover,
.mobile-cta:focus-visible {
  background: var(--color-gold-bright);
  box-shadow: 0 6px 32px rgba(var(--color-gold-rgb), 0.6),
              0 2px 8px rgba(0, 0, 0, 0.6);
}

/* Floating CTA is mobile/tablet only — the desktop nav already has Book Now,
   and on desktop it was overlapping the pricing cards. */
@media (min-width: 1025px) {
  .mobile-cta {
    display: none;
  }
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-block: var(--section-padding);
  padding-inline: var(--container-padding);
}

/* Interior section — trimmed from 200vh to one viewport so every section
   keeps the same height and there's no large empty stretch. The door-open
   clip still plays across the section's scroll. */
.section-tall {
  min-height: 100vh;
}

/* Process section — full dark backing (no global overlay) */
.section-process {
  background: rgba(var(--color-bg-deep-rgb), 0.92);
}

/* Pricing section — full dark backing */
.section-pricing {
  min-height: auto;
  padding-block: var(--section-padding);
  background: rgba(var(--color-bg-deep-rgb), 0.92);
}

/* ── Section Content — dark panel, sharp edges ────────────── */
.section-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 620px;
  background: rgba(var(--color-bg-deep-rgb), 0.90);
  padding: 3rem 2.75rem;
  border-radius: 0;         /* sharp edges */
}

/* Center variant (process, pricing) — no panel; section handles bg */
.section-content-center {
  max-width: 100%;
  text-align: center;
  margin-inline: auto;
  background: transparent;
  padding: 0;
}

/* ── Section Label ────────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--color-gold);
  margin-bottom: 1.5rem;
}

/* ── Section Title ────────────────────────────────────────── */
.section-title {
  font-family: var(--font-heading);
  font-size: var(--text-h2);
  font-weight: 800;
  line-height: 1.05;
  color: var(--color-text);
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* ── Section Description ──────────────────────────────────── */
.section-desc {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.80);
  margin-bottom: 2rem;
  max-width: 540px;
}

.section-content-center .section-desc {
  margin-inline: auto;
  max-width: 600px;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
#hero {
  min-height: 100vh;
  align-items: center;
}

.hero-content {
  /* Nav clearance; panel padding-top (3rem) handles the rest */
  padding-top: calc(var(--nav-height) + 1.5rem);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: var(--text-hero);
  font-weight: 900;
  line-height: 1.0;
  color: var(--color-text);
  margin-bottom: 1.5rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.hero-line-1,
.hero-line-2 {
  display: block;
}

.hero-line-2 {
  color: var(--color-gold);
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.5vw + 0.5rem, 1.25rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

/* ── Hero Trust Line ──────────────────────────────────────── */
.hero-trust {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  cursor: pointer;
  transition: color 0.2s ease;
}
.hero-trust:hover .hero-trust-text,
.hero-trust:focus-visible .hero-trust-text { color: var(--color-text); }

.hero-trust-stars {
  color: var(--color-gold);
  letter-spacing: 0.08em;
  font-size: 0.95rem;
}

.hero-trust-text {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-text-muted);
}

/* ── Location Badge ───────────────────────────────────────── */
.location-badge {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
  padding: 0;            /* grey bubble removed — dot + text only, no pill */
}

/* ── Pulsing dot ──────────────────────────────────────────── */
.dot-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--color-gold);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(var(--color-gold-rgb), 0.5);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(var(--color-gold-rgb), 0);
    transform: scale(1.1);
  }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  padding: 0.85rem 1.75rem;
  cursor: pointer;
  transition: background var(--transition-fast),
              color var(--transition-fast),
              box-shadow var(--transition-fast),
              border-color var(--transition-fast),
              transform var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
  min-height: 44px;
  letter-spacing: 0.02em;
  position: relative;
  border: 1.5px solid transparent;
}

.btn:active {
  transform: scale(0.97);
}

/* Primary — gold fill, dark text */
.btn-primary {
  background: var(--color-gold);
  color: #0A0A0A;
  border-color: var(--color-gold);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--color-gold-bright);
  border-color: var(--color-gold-bright);
  box-shadow: 0 0 24px rgba(var(--color-gold-rgb), 0.45);
  color: #0A0A0A;
}

/* Secondary — transparent, gold border */
.btn-secondary {
  background: transparent;
  color: var(--color-gold);
  border-color: var(--color-gold);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(var(--color-gold-rgb), 0.1);
  box-shadow: 0 0 16px rgba(var(--color-gold-rgb), 0.2);
  color: var(--color-gold-bright);
  border-color: var(--color-gold-bright);
}

/* Gold alias — matches primary */
.btn-gold {
  background: var(--color-gold);
  color: #0A0A0A;
  border-color: var(--color-gold);
}

.btn-gold:hover,
.btn-gold:focus-visible {
  background: var(--color-gold-bright);
  border-color: var(--color-gold-bright);
  box-shadow: 0 0 24px rgba(var(--color-gold-rgb), 0.45);
  color: #0A0A0A;
}

/* Red-fill CTAs use white text (dark-on-red fails contrast). Wins via source order. */
.btn-primary, .btn-gold, .nav-cta, .mobile-cta,
.btn-primary:hover, .btn-gold:hover, .nav-cta:hover, .mobile-cta:hover,
.btn-primary:focus-visible, .btn-gold:focus-visible, .nav-cta:focus-visible {
  color: #F6F6F6;
}

/* ============================================================
   FEATURE LIST  (service sections)
   ============================================================ */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.25rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

/* SVG icon in gold circle */
.feature-check {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  padding: 8px;
  background: rgba(var(--color-gold-rgb), 0.12);
  border: 1px solid rgba(var(--color-gold-rgb), 0.25);
  border-radius: 50%;
  color: var(--color-gold);
  stroke: var(--color-gold);
}

.feature-text h4 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.2rem;
  line-height: 1.3;
}

.feature-text p {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* ============================================================
   BEFORE / AFTER SECTION
   ============================================================ */
.before-after-wrap {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin-inline: auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-glass-border);
}

.before-after-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ============================================================
   PRICING SECTION
   ============================================================ */
.pricing-content .section-title {
  margin-bottom: 0.75rem;
}

.pricing-content .section-desc {
  margin-bottom: 3rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
  align-items: stretch;   /* equal-height cards so CTAs line up */
}

/* ── Pricing Card ─────────────────────────────────────────── */
.price-card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  transition: border-color var(--transition), box-shadow var(--transition),
              transform var(--transition);
}

.price-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
}

/* Featured card: GOLD border + glow (gold = recommended) */
.price-card-featured {
  border-color: var(--color-select);
  background: linear-gradient(
    160deg,
    rgba(var(--color-select-rgb), 0.06) 0%,
    var(--color-surface) 60%
  );
  box-shadow: 0 0 40px rgba(var(--color-select-rgb), 0.15),
              0 8px 32px rgba(0, 0, 0, 0.5);
}

.price-card-featured:hover {
  border-color: var(--color-select-bright);
  box-shadow: 0 0 56px rgba(var(--color-select-rgb), 0.25),
              0 12px 40px rgba(0, 0, 0, 0.5);
  transform: translateY(-4px);
}

/* Badge — gold */
.price-card-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-select);
  color: #0A0A0A;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.price-card-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.price-card-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.2;
}

.price-card-price {
  font-family: var(--font-body);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.1em;
}

.price-currency {
  font-size: 0.55em;
  font-weight: 500;
  color: var(--color-text-muted);
  align-self: flex-start;
  margin-top: 0.3em;
}

.price-plus {
  font-size: 0.55em;
  font-weight: 500;
  color: var(--color-text-muted);
}

/* Feature list within pricing cards */
.price-card-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
  width: 100%;
  text-align: left;   /* checklist reads as a left-aligned column */
}

.price-card-features li {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.65rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.80);
  line-height: 1.4;
}

.price-card-features .price-check {
  margin-top: 0.15rem;   /* align tick with first text line on wrap */
}

/* The "+" marks items added on top of the inherited tier (still included) */
.price-card-features .price-add {
  opacity: 0.85;
}

.price-check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--color-gold);
  stroke: var(--color-gold);
}

.price-cta {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

/* 4 packages + 1 add-ons card */
.pricing-grid.pricing-grid--5 {
  grid-template-columns: repeat(5, 1fr);
  max-width: 1300px;
}

@media (max-width: 1280px) {
  /* 5-across needs real width; below that, 3 + 2 reads cleaner than cramped */
  .pricing-grid.pricing-grid--5 {
    grid-template-columns: repeat(3, 1fr);
    max-width: 820px;
  }
}

@media (max-width: 720px) {
  .pricing-grid.pricing-grid--5 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 520px;
  }
}

@media (max-width: 480px) {
  .pricing-grid.pricing-grid--5 {
    grid-template-columns: 1fr;
    max-width: 380px;
  }
}

/* ── Add-ons card (5th tile) — distinct from the package cards ─────────── */
.price-card-addons {
  background: transparent;
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.14);
}

.price-card-addons:hover {
  border-color: rgba(var(--color-select-rgb), 0.5);
  box-shadow: none;
  transform: translateY(-2px);
}

.addon-price-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  width: 100%;
  flex: 1;
  text-align: left;
}

.addon-price-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.35;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--color-divider);
}

.addon-price-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.addon-price-list .addon-amt {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-gold);   /* brand red, consistent with package prices */
  white-space: nowrap;
}

/* ============================================================
   GALLERY SECTION
   ============================================================ */
.section-gallery {
  min-height: auto;
  display: block;
  background: rgba(var(--color-bg-deep-rgb), 0.92);
  padding-block: var(--section-padding);
  padding-inline: 0;   /* inner .container owns the horizontal padding */
}

.gallery-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.gallery-header .section-desc {
  margin-inline: auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 1rem;
  max-width: 1100px;
  margin-inline: auto;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--color-glass-border);
  cursor: pointer;
  padding: 0;
  background: var(--color-surface);
}

.gallery-item--wide {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.15rem;
  padding: 1rem 1.1rem;
  text-align: left;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0) 55%);
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover .gallery-overlay,
.gallery-item:focus-visible .gallery-overlay {
  opacity: 1;
}

.gallery-service {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #FFFFFF;   /* reads cleanly over the photo gradient (AA) */
}

.gallery-label {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
}

/* Lightbox */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lb-figure {
  margin: 0;
  max-width: min(1000px, 90vw);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

.gallery-lb-figure img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: var(--radius);
  cursor: zoom-in;
  touch-action: none;
  will-change: transform;
  /* Only the scale transitions; transform-origin updates instantly so panning
     tracks the cursor with no lag. */
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-lb-figure img.is-zoomed {
  cursor: grab;
}

@media (prefers-reduced-motion: reduce) {
  .gallery-lb-figure img { transition: none; }
}

.gallery-lb-caption {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-text-muted);
  text-align: center;
}

.gallery-lb-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  font-size: 1.4rem;
  color: var(--color-text);
  background: var(--color-glass);
  border: 1px solid var(--color-glass-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.gallery-lb-nav {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  font-size: 1.8rem;
  color: var(--color-text);
  background: var(--color-glass);
  border: 1px solid var(--color-glass-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.gallery-lb-nav:hover,
.gallery-lb-nav:focus-visible,
.gallery-lb-close:hover,
.gallery-lb-close:focus-visible {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

/* ============================================================
   REVIEWS SECTION
   ============================================================ */
.section-reviews {
  min-height: auto;
  display: block;
  background: var(--color-bg);
  padding-block: var(--section-padding);
  padding-inline: 0;   /* inner .container owns the horizontal padding */
}

.reviews-header {
  text-align: center;
  margin-bottom: 3rem;
}

.reviews-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.reviews-stars {
  color: var(--color-gold);
  letter-spacing: 0.1em;
  font-size: 1.1rem;
}

.reviews-rated {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 0.02em;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 1100px;
  margin-inline: auto;
}

.review-card {
  background: var(--color-surface);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.review-stars {
  color: var(--color-gold);
  letter-spacing: 0.1em;
  font-size: 0.95rem;
}

.review-quote {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  flex: 1;
}

.review-footer {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  border-top: 1px solid var(--color-divider);
  padding-top: 1rem;
}

.review-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-text);
}

.review-service {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--color-text-muted);   /* metadata tone; passes AA on the card */
}

.reviews-cta {
  display: flex;
  width: fit-content;
  margin: 2.5rem auto 0;
}

@media (max-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item--wide {
    grid-column: span 1;
  }
}

/* ============================================================
   REVEAL ANIMATION CLASSES
   (JS / IntersectionObserver adds .visible)
   ============================================================ */
/* (Scroll-reveal fade-ins were removed — they made the page feel hectic.
   Section content is always visible; the cinematic background carries the motion.) */

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  position: relative;
  background: var(--color-bg-footer);
  border-top: 1px solid var(--color-divider);
  padding-top: 5rem;
  padding-bottom: 3rem;
  overflow: hidden;
}

/* Tail lights image with gradient fade overlay */
.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('images/tail_lights.png');
  background-size: cover;
  background-position: center top;
  opacity: 0.08;
  pointer-events: none;
}

.footer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    var(--color-bg-footer) 0%,
    rgba(var(--color-bg-footer-rgb), 0.15) 25%,
    rgba(var(--color-bg-footer-rgb), 0.15) 75%,
    var(--color-bg-footer) 100%
  );
  pointer-events: none;
}

.footer .container {
  position: relative;
  z-index: 1;
}

/* ── Footer Grid ──────────────────────────────────────────── */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem 2rem;
  margin-bottom: 3rem;
}

/* ── Footer Brand ─────────────────────────────────────────── */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.footer-brand-desc {
  font-family: var(--font-body);
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  max-width: 300px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.25rem;
}

.footer-contact a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  cursor: pointer;
}

.footer-contact a:hover,
.footer-contact a:focus-visible {
  color: var(--color-gold);
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--color-text-muted);
  transition: color var(--transition-fast), background var(--transition-fast),
              border-color var(--transition-fast);
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  color: var(--color-gold);
  background: rgba(var(--color-gold-rgb), 0.1);
  border-color: rgba(var(--color-gold-rgb), 0.3);
}

/* ── Footer Nav Columns ───────────────────────────────────── */
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: var(--text-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.footer-col a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
  min-height: 44px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: var(--color-gold);
}

/* ── Footer Service Area Bar ──────────────────────────────── */
.footer-service-area {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--color-text-legal);
  text-align: center;
  padding: 1.5rem 0;
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
  margin-bottom: 2rem;
  letter-spacing: 0.06em;
}

.footer-service-area span {
  color: var(--color-text-muted);
  font-weight: 500;
}

/* ── Footer Bottom ────────────────────────────────────────── */
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
}

.footer-bottom p {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--color-text-legal);
  line-height: 1.6;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: center;
  margin-top: 0.5rem;
}

.footer-legal-links a {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: var(--color-text-legal);
  transition: color var(--transition-fast);
  cursor: pointer;
}

.footer-legal-links a:hover,
.footer-legal-links a:focus-visible {
  color: var(--color-text-muted);
}

/* ============================================================
   COOKIE CONSENT BANNER  z-index: 300
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(calc(100% + 2rem));
  z-index: 300;
  width: min(calc(100% - 2rem), 680px);
  background: rgba(22, 22, 22, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
  transition: transform var(--transition), opacity var(--transition);
  opacity: 0;
  pointer-events: none;
  flex-wrap: wrap;
}

.cookie-banner.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-banner p {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  flex: 1;
  min-width: 200px;
}

.cookie-banner p a {
  color: var(--color-gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner p a:hover {
  color: var(--color-gold-bright);
}

.cookie-banner-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-shrink: 0;
}

/* ============================================================
   RESPONSIVE — 1440px+ (wide screens)
   ============================================================ */
@media (min-width: 1440px) {
  /* Wider reading panel for the left-aligned service sections only —
     not the centered Process / Pricing blocks, which must stay full-width
     so their grids can center. */
  .section-content:not(.section-content-center) {
    max-width: 680px;
  }
}

/* ============================================================
   RESPONSIVE — Below 1100px (nav link compression)
   ============================================================ */
@media (max-width: 1100px) {
  .nav-link {
    font-size: 0.74rem;
    padding: 0.35rem 0.5rem;
  }

  .nav-links {
    gap: 0;
  }
}

/* ============================================================
   RESPONSIVE — 1024px  (tablet and below — hamburger nav)
   ============================================================ */
@media (max-width: 1024px) {
  /* Collapse nav links */
  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  /* Utility bar — tap-to-call + socials, above the nav */
  .mobile-topbar {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 110;
    align-items: center;
    justify-content: space-between;
    height: 40px;
    padding: 0 1.1rem;
    background: rgba(8, 8, 8, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-glass-border);
  }

  .mobile-topbar-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 40px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--color-text);
  }

  .mobile-topbar-phone svg {
    color: var(--color-gold-bright);
    flex-shrink: 0;
  }

  .mobile-topbar-social {
    display: flex;
    align-items: center;
  }

  .mobile-topbar-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
  }

  .mobile-topbar-social a:hover,
  .mobile-topbar-social a:focus-visible {
    color: var(--color-gold-bright);
  }

  /* Nav pill sits below the utility bar */
  .nav {
    top: calc(40px + 0.6rem);
  }

  /* Welcome intro under the hero (reference layout) */
  .section-welcome {
    display: flex;
    justify-content: center;
    padding: clamp(4rem, 12vw, 6.5rem) 1.5rem;
    text-align: center;
  }

  .welcome-inner {
    max-width: 560px;
  }

  .section-welcome .section-desc {
    margin-inline: auto;
  }

  /* Center section content */
  .section {
    justify-content: center;
  }

  /* Interior section: canvas door-open clip is disabled below 1024px,
     so the 200vh scroll space is no longer needed */
  .section-tall {
    min-height: 100vh;
  }

  .section-content {
    max-width: 680px;
    text-align: center;
  }

  .section-desc {
    margin-inline: auto;
  }

  .hero-subtitle {
    margin-inline: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-trust,
  .location-badge {
    margin-inline: auto;
  }

  .feature-list {
    max-width: 480px;
    margin-inline: auto;
  }

  .feature-item {
    text-align: left;
  }

  /* Pricing: 2 columns */
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 720px;
  }

  #price-concours {
    grid-column: 1 / -1;
    max-width: 340px;
    margin-inline: auto;
  }

  /* Footer: 2-col */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 2rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand-desc {
    max-width: 100%;
  }
}

/* ============================================================
   RESPONSIVE — 768px (tablet portrait)
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --section-padding: clamp(4rem, 8vw, 6rem);
  }

  .section {
    padding-inline: 1.25rem;
  }

  /* Pricing: 1 column */
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  #price-concours {
    grid-column: auto;
    max-width: none;
  }

  .price-card-featured {
    order: -1;
  }

  /* Footer: 2-col */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-col:last-child {
    grid-column: 1 / -1;
  }
}

/* ============================================================
   RESPONSIVE — 480px / 375px  (mobile)
   ============================================================ */
@media (max-width: 480px) {
  :root {
    --section-padding: clamp(3.5rem, 8vw, 5rem);
    --container-padding: 1.25rem;
  }

  .nav {
    padding: 0.6rem 1rem;
  }

  .logo-mark {
    height: 1.3rem;
    margin-right: 0.45rem;
  }

  .logo-text {
    font-size: 0.92rem;
    letter-spacing: 0.13em;
    margin-left: 0.4rem;
  }

  /* Stack hero CTAs */
  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .hero-cta-group .btn {
    text-align: center;
    justify-content: center;
    width: 100%;
  }

  .section-content {
    max-width: 100%;
  }

  /* Footer: 1 column */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .footer-brand {
    grid-column: auto;
  }

  /* Cookie banner stacks vertically */
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    bottom: 1rem;
  }

  .cookie-banner-actions {
    width: 100%;
    justify-content: flex-end;
  }

  /* Pricing full width */
  .pricing-grid {
    max-width: 100%;
  }

  .price-card {
    padding: 1.5rem 1.25rem;
  }

  /* Mobile floating CTA */
  .mobile-cta {
    padding: 0.75rem 1.5rem;
    font-size: 0.85rem;
  }

  /* Enforce 48px touch targets on mobile */
  .btn {
    min-height: 48px;
  }

  .nav-hamburger {
    min-width: 48px;
    min-height: 48px;
  }

  .mobile-nav-link {
    min-height: 48px;
  }

  /* Feature list full-width on mobile */
  .feature-list {
    max-width: 100%;
  }
}

/* ============================================================
   PREFERS REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  /* Disable all CSS transitions and animations */
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  /* Nav active indicator: no slide under reduced motion */
  .nav-indicator {
    transition: none;
  }

  /* Stop dot pulse */
  .dot-pulse {
    animation: none;
  }

  /* Mobile CTA — no animation */
  .mobile-cta {
    transition: none;
  }

  /* Nav overlay — instant */
  .nav-mobile-overlay {
    transition: none;
  }

  /* Hero image is static and visible */
  #bg-hero {
    opacity: 1;
  }

  /* All other BG images remain hidden (GSAP won't run) */
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.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;
}

.text-gold {
  color: var(--color-gold);
}

.text-muted {
  color: var(--color-text-muted);
}

.text-center {
  text-align: center;
}

.italic {
  font-style: italic;
}

/* ============================================================
   SCROLLBAR  (Webkit)
   ============================================================ */
::-webkit-scrollbar {
  width: 6px;
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background: rgba(var(--color-gold-rgb), 0.3);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(var(--color-gold-rgb), 0.5);
}

/* ============================================================
   TEXT SELECTION
   ============================================================ */
::selection {
  background: rgba(var(--color-gold-rgb), 0.3);
  color: var(--color-text);
}
