/* ═══════════════════════════════════════════════════════════
   FIORAUTO · style.css
   Design System: Minimal Precision · Apple-inspired
   Multi-layer hero journey with immersive scroll
   ═══════════════════════════════════════════════════════════ */

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  --white:        #ffffff;
  --off-white:    #f7f7f5;
  --black:        #0a0a0a;
  --ink:          #111111;
  --gray-1:       #1c1c1e;
  --gray-2:       #2c2c2e;
  --gray-3:       #48484a;
  --gray-4:       #636366;
  --gray-5:       #aeaeb2;
  --gray-6:       #d1d1d6;
  --gray-7:       #e5e5ea;
  --gray-8:       #f2f2f7;

  /* Accent – a deep lake-blue recalling Lago Maggiore */
  --accent:       #1a3a5c;
  --accent-light: #2a5fa0;
  --accent-glow:  rgba(26, 58, 92, 0.15);

  /* AMG green echo */
  --amg-green:    #2d6a2d;

  /* Typography */
  --font-sans:    'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;

  /* Spacing */
  --section-pad:  clamp(80px, 10vw, 160px);
  --inner-max:    1320px;
  --gutter:       clamp(24px, 5vw, 80px);

  /* Transitions */
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:  cubic-bezier(0.45, 0, 0.55, 1);
  --dur-fast:     0.3s;
  --dur-med:      0.6s;
  --dur-slow:     1s;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background: var(--off-white);
  color: var(--ink);
  overflow-x: hidden;
  cursor: none;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font: inherit; }

/* ── Scrollbar ───────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--gray-5); border-radius: 4px; }

/* ══════════════════════════════════════════════════════════
   CURSOR
══════════════════════════════════════════════════════════ */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s var(--ease-out), height 0.2s var(--ease-out), background 0.2s;
  mix-blend-mode: multiply;
}
.cursor.cursor--expand {
  width: 48px; height: 48px;
  background: rgba(26,58,92,0.12);
}
.cursor.cursor--light {
  background: rgba(255,255,255,0.7);
  mix-blend-mode: normal;
}

/* ══════════════════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 24px var(--gutter);
  transition: background var(--dur-med) var(--ease-out),
              padding var(--dur-med) var(--ease-out),
              backdrop-filter var(--dur-med);
}

#navbar.scrolled {
  background: rgba(247, 247, 245, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  padding: 16px var(--gutter);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

#navbar.nav-dark {
  background: transparent;
}
#navbar.nav-dark.scrolled {
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
#navbar.nav-dark .nav-logo,
#navbar.nav-dark .nav-links a {
  color: var(--white);
}
#navbar.nav-dark .nav-burger span {
  background: var(--white);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--inner-max);
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.15em;
  color: var(--ink);
  transition: color var(--dur-fast);
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  background: var(--accent);
  color: var(--white);
  font-size: 14px;
  font-weight: 900;
  border-radius: 6px;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav-links a {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--gray-3);
  transition: color var(--dur-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 100%;
  height: 1px;
  background: var(--accent);
  transition: right var(--dur-fast) var(--ease-out);
}

.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { right: 0; }

.nav-cta {
  padding: 8px 20px;
  background: var(--accent) !important;
  color: var(--white) !important;
  border-radius: 4px;
  letter-spacing: 0.1em;
  font-size: 11px !important;
  transition: background var(--dur-fast) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--accent-light) !important; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav-burger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--ink);
  transition: transform var(--dur-fast) var(--ease-out),
              opacity var(--dur-fast);
}
.nav-burger.open span:first-child { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:last-child  { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-med) var(--ease-out);
}
.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
}
.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 32px;
  text-align: center;
}
.mobile-link {
  font-family: var(--font-display);
  font-size: clamp(28px, 6vw, 48px);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--white);
  opacity: 0.6;
  transition: opacity var(--dur-fast);
}
.mobile-link:hover { opacity: 1; }

/* ══════════════════════════════════════════════════════════
   HERO JOURNEY — Multi-layer Immersive Scroll
══════════════════════════════════════════════════════════ */
.hero-journey {
  position: relative;
  height: 500vh; /* Long scroll room for the journey */
  width: 100%;
}

.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
}

/* ── Journey Layers ──────────────────────────────────────── */
.journey-layer {
  position: absolute;
  inset: 0;
  will-change: transform, opacity;
}

.journey-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Each layer starts hidden except the first */
.layer-exterior {
  z-index: 1;
  opacity: 1;
  transform-origin: 50% 65%; /* Focus on garage doors (lower portion) */
}

.layer-side {
  z-index: 2;
  opacity: 0;
  transform-origin: center center;
}

.layer-interior {
  z-index: 3;
  opacity: 0;
  transform: scale(0.8);
  transform-origin: center center;
}

.layer-depth {
  z-index: 4;
  opacity: 0;
  transform-origin: center center;
}

/* ── Journey Overlays ────────────────────────────────────── */
.journey-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.15) 0%,
    rgba(0,0,0,0.08) 40%,
    rgba(0,0,0,0.55) 75%,
    rgba(0,0,0,0.85) 100%
  );
  pointer-events: none;
}

.journey-overlay--mid {
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.25) 0%,
    rgba(0,0,0,0.15) 50%,
    rgba(0,0,0,0.6) 100%
  );
}

.journey-overlay--interior {
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.1) 0%,
    rgba(0,0,0,0.05) 50%,
    rgba(0,0,0,0.4) 100%
  );
}

.journey-overlay--depth {
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.15) 0%,
    rgba(0,0,0,0.05) 40%,
    rgba(0,0,0,0.55) 80%,
    rgba(0,0,0,0.8) 100%
  );
}

/* ── Dark Flash (door transition) ───────────────────── */
.journey-flash {
  position: absolute;
  inset: 0;
  z-index: 10;
  background: #0a0a0a;
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
}

/* ── Hero Title Overlay ──────────────────────────────────── */
.hero-title-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 5;
  padding: var(--gutter);
  padding-bottom: 120px;
  max-width: var(--inner-max);
  margin: 0 auto;
  width: 100%;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
  opacity: 0;
}

.dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-light);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(64px, 12vw, 180px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.9;
  color: var(--white);
  overflow: hidden;
  margin-bottom: 20px;
}

.title-line {
  display: block;
  transform: translateY(120%);
}

.hero-subtitle {
  font-size: clamp(10px, 1.5vw, 13px);
  font-weight: 500;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  margin-bottom: 32px;
  opacity: 0;
}

.hero-divider {
  width: 0;
  height: 1px;
  background: rgba(255,255,255,0.25);
  margin-bottom: 32px;
}

.hero-scroll-hint {
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 1;
}

.scroll-text {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.4);
}

.scroll-line {
  flex: 1;
  max-width: 60px;
  height: 1px;
  background: rgba(255,255,255,0.25);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.8);
  animation: scan 2s ease-in-out infinite 1.5s;
}
@keyframes scan {
  0%   { left: -100%; }
  100% { left: 200%; }
}

/* ── Hero Stats Bar ──────────────────────────────────────── */
.hero-stats {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 6;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  opacity: 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 48px;
  gap: 4px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.12);
}

/* ── Interior Title (end of journey) ─────────────────────── */
.interior-title {
  position: absolute;
  bottom: 15%;
  left: 0; right: 0;
  z-index: 6;
  text-align: center;
  color: var(--white);
  opacity: 0;
  transform: translateY(40px);
  will-change: transform, opacity;
}

.interior-title h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 7vw, 90px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 16px;
}

.interior-subtitle {
  font-size: clamp(9px, 1.2vw, 12px);
  font-weight: 600;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.45);
}


/* ══════════════════════════════════════════════════════════
   SECTIONS – SHARED
══════════════════════════════════════════════════════════ */
.section {
  padding: var(--section-pad) 0;
}

.section-inner {
  max-width: var(--inner-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Reveal animation base */
.reveal-item {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Tech tags ───────────────────────────────────────────── */
.tech-tag {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid rgba(26,58,92,0.2);
  padding: 4px 10px;
  border-radius: 2px;
}

.tech-tag.light {
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
}

.tech-desc {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gray-4);
}

.tech-desc.light { color: rgba(255,255,255,0.4); }

/* ── Split headings ──────────────────────────────────────── */
.split-heading {
  font-family: var(--font-display);
  font-size: clamp(42px, 7vw, 100px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 24px;
}

.heading-line {
  display: block;
}

.italic-word {
  font-style: italic;
  color: var(--gray-3);
}

/* ══════════════════════════════════════════════════════════
   WORKSHOP SECTION
══════════════════════════════════════════════════════════ */
.workshop-section {
  background: var(--off-white);
}

.workshop-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}

.workshop-headline {
  margin-bottom: 64px;
}

.workshop-tagline {
  font-size: clamp(14px, 2vw, 18px);
  color: var(--gray-4);
  font-style: italic;
  letter-spacing: 0.02em;
  margin-top: 16px;
}

.workshop-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.workshop-img-wrap {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 4px;
  background: var(--gray-8);
}

.workshop-img {
  transition: transform 0.8s var(--ease-out);
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.workshop-img-wrap:hover .workshop-img {
  transform: scale(1.04);
}

.img-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.7);
}

.caption-tag {
  color: rgba(255,255,255,0.35);
}

.workshop-text-col {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.workshop-body {
  font-size: clamp(14px, 1.5vw, 17px);
  line-height: 1.75;
  color: var(--gray-3);
  font-weight: 300;
}

.tech-specs {
  border-top: 1px solid var(--gray-7);
}

.spec-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-7);
  transition: background var(--dur-fast), padding-left var(--dur-fast);
}
.spec-row:hover { padding-left: 8px; }

.spec-id {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent);
  min-width: 48px;
}

.spec-name {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gray-2);
}

.workshop-img-sm-wrap {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: 4px;
  background: var(--gray-8);
}

.workshop-img-sm {
  object-position: center 40%;
  transition: transform 0.8s var(--ease-out);
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}
.workshop-img-sm-wrap:hover .workshop-img-sm {
  transform: scale(1.04);
}

/* ══════════════════════════════════════════════════════════
   SERVICES SECTION
══════════════════════════════════════════════════════════ */
.services-section {
  background: var(--black);
  position: relative;
  overflow: hidden;
}

.services-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.services-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 64px;
  gap: 32px;
}

.services-label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.services-label .tech-tag {
  color: var(--accent-light);
  border-color: rgba(42, 95, 160, 0.25);
  background: rgba(42,95,160,0.08);
}

.services-label .tech-desc {
  color: var(--gray-4);
}

.services-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--white);
  text-align: right;
}

.services-list {
  display: flex;
  flex-direction: column;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  cursor: pointer;
  transition: padding-left var(--dur-fast) var(--ease-out);
  position: relative;
}

.service-item::before {
  content: '';
  position: absolute;
  left: 0; bottom: 0; top: 0;
  width: 0;
  background: linear-gradient(90deg, rgba(42,95,160,0.1), transparent);
  transition: width var(--dur-med) var(--ease-out);
}
.service-item:hover::before { width: 100%; }
.service-item:hover { padding-left: 16px; }

.service-num {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-light);
  min-width: 32px;
}

.service-content { flex: 1; }

.service-name {
  font-size: clamp(14px, 2vw, 20px);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 4px;
}

.service-desc {
  font-size: 15px;
  color: var(--gray-4);
  font-weight: 300;
  line-height: 1.5;
}

.service-arrow {
  font-size: 18px;
  color: var(--gray-3);
  transition: transform var(--dur-fast) var(--ease-out),
              color var(--dur-fast);
}
.service-item:hover .service-arrow {
  transform: translateX(8px);
  color: var(--accent-light);
}

/* ── Marquee ─────────────────────────────────────────────── */
.marquee-strip {
  margin-top: 80px;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 24px 0;
}

.marquee-track {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: marquee 30s linear infinite;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.6);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

.marquee-track span { white-space: nowrap; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marquee-strip:hover .marquee-track {
  animation-play-state: paused;
}

/* ══════════════════════════════════════════════════════════
   CARS SECTION
══════════════════════════════════════════════════════════ */
.cars-section {
  background: var(--off-white);
  overflow: hidden;
}

.cars-header {
  margin-bottom: 64px;
}

.cars-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

.cars-headline {
  font-family: var(--font-display);
  font-size: clamp(42px, 7vw, 100px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}

.cars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 40px);
}

.car-card {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 30px rgba(0,0,0,0.04);
  transition: transform var(--dur-med) var(--ease-out),
              box-shadow var(--dur-med) var(--ease-out);
}

.car-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.12);
}

.car-img-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--gray-1);
}

.car-img {
  object-position: center;
  transition: transform 0.8s var(--ease-out);
}

.car-img--modern {
  object-position: center 30%;
}

.car-card:hover .car-img {
  transform: scale(1.06);
}

.car-info {
  padding: 24px;
}

.car-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.car-id {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent);
}

.car-type {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gray-5);
  background: var(--gray-8);
  padding: 3px 8px;
  border-radius: 2px;
}

.car-name {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 6px;
}

.car-detail {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--gray-4);
}

/* ══════════════════════════════════════════════════════════
   CONTACT SECTION
══════════════════════════════════════════════════════════ */
.contact-section {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 0;
  overflow: hidden;
}

.contact-bg {
  position: absolute;
  inset: 0;
}

.contact-bg-img {
  object-position: center;
}

.contact-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.2) 0%,
    rgba(0,0,0,0.5) 50%,
    rgba(0,0,0,0.88) 100%
  );
}

.contact-inner {
  position: relative;
  z-index: 2;
  padding-top: 200px;
  padding-bottom: 80px;
}

.contact-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

.contact-headline {
  font-family: var(--font-display);
  font-size: clamp(48px, 9vw, 130px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.9;
  color: var(--white);
  margin-bottom: 20px;
}

.contact-location {
  color: rgba(255,255,255,0.45);
  font-size: 0.55em;
  display: block;
  margin-top: 12px;
  letter-spacing: -0.01em;
}

.contact-coords {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.3);
  margin-bottom: 48px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  border-radius: 4px;
  transition: all var(--dur-fast) var(--ease-out);
  cursor: pointer;
  white-space: nowrap;
}

.btn-light {
  background: var(--white);
  color: var(--ink);
}
.btn-light:hover {
  background: var(--gray-7);
}

.btn-outline-light {
  border: 1.5px solid rgba(255,255,255,0.35);
  color: var(--white);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
}

.btn-ghost-light {
  color: rgba(255,255,255,0.55);
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-left: 0;
  padding-right: 0;
  border-radius: 0;
}
.btn-ghost-light:hover {
  color: var(--white);
  border-bottom-color: var(--white);
}

.contact-address {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.08em;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-hours {
  font-size: 11px;
  color: rgba(255,255,255,0.22);
}

.contact-timetable {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 16px 0;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  width: max-content;
}

.timetable-row {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  font-size: 11px;
  letter-spacing: 0.15em;
}

.timetable-row .day {
  color: rgba(255,255,255,0.5);
  font-weight: 600;
}

.timetable-row .hours {
  color: rgba(255,255,255,0.8);
  font-family: var(--font-mono);
}

/* ══════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════ */
.footer {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 32px var(--gutter);
}

.footer-inner {
  max-width: var(--inner-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--white);
}

.footer-tagline {
  font-size: 10px;
  color: var(--gray-4);
  letter-spacing: 0.08em;
}

.footer-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  font-size: 10px;
  color: var(--gray-3);
  letter-spacing: 0.05em;
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }

  .workshop-grid { grid-template-columns: 1fr; }
  .cars-grid { grid-template-columns: 1fr; }

  .services-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .services-title { text-align: left; }

  .stat-item { padding: 16px 24px; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-info { align-items: flex-start; }

  .hero-title-overlay {
    padding-bottom: 100px;
  }

  .interior-title h2 {
    font-size: clamp(28px, 8vw, 60px);
  }
}

@media (max-width: 600px) {
  .hero-stats {
    display: none;
  }

  .hero-title-overlay {
    padding-bottom: 60px;
  }

  .contact-actions { flex-direction: column; }
  .btn { text-align: center; }

  .interior-title {
    bottom: 10%;
  }
}

/* ══════════════════════════════════════════════════════════
   REDUCE MOTION
══════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal-item {
    opacity: 1 !important;
    transform: none !important;
  }
  .hero-journey {
    height: auto !important;
  }
  .layer-exterior,
  .layer-side,
  .layer-interior,
  .layer-depth {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ══════════════════════════════════════════════════════════
   SCROLL-DRIVEN ANIMATIONS (Progressive Enhancement)
══════════════════════════════════════════════════════════ */
@supports ((animation-timeline: view()) and (animation-range: entry)) {
  .service-item {
    animation: service-reveal auto linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 30%;
  }

  @keyframes service-reveal {
    from {
      opacity: 0.4;
      transform: translateX(-24px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
}

/* ══════════════════════════════════════════════════════════
   WORKSHOP QUOTE
══════════════════════════════════════════════════════════ */
.workshop-quote {
  font-size: clamp(15px, 1.8vw, 20px);
  line-height: 1.7;
  color: var(--ink);
  font-weight: 400;
  font-style: italic;
  border-left: 3px solid var(--accent);
  padding-left: 24px;
  margin: 0;
  position: relative;
}
.workshop-quote::before {
  content: '';
  position: absolute;
  left: -3px; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--accent-light), var(--accent));
  border-radius: 2px;
}

/* ══════════════════════════════════════════════════════════
   SERVICE ACCORDION
══════════════════════════════════════════════════════════ */
.service-toggle {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  text-align: left;
  padding: 28px 0;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  font: inherit;
  position: relative;
  transition: padding-left var(--dur-fast) var(--ease-out);
}

.service-toggle::before {
  content: '';
  position: absolute;
  left: 0; bottom: 0; top: 0;
  width: 0;
  background: linear-gradient(90deg, rgba(42,95,160,0.1), transparent);
  transition: width var(--dur-med) var(--ease-out);
  z-index: 0;
}
.service-item:hover .service-toggle::before { width: 100%; }
.service-item:hover .service-toggle { padding-left: 16px; }

.service-arrow {
  font-size: 22px;
  font-weight: 300;
  color: var(--accent-light);
  transition: transform var(--dur-fast) var(--ease-out),
              color var(--dur-fast);
  line-height: 1;
  min-width: 24px;
  text-align: center;
}
.service-toggle[aria-expanded="true"] .service-arrow {
  transform: rotate(45deg);
  color: var(--white);
}

/* Remove old hover from service-item div since toggle is the interactive el */
.service-item {
  display: block;
  padding: 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  cursor: default;
  position: relative;
  overflow: hidden;
}
.service-item::before { display: none; }
.service-item:hover { padding-left: 0; }

.service-detail {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s var(--ease-out);
}
.service-detail:not([hidden]) {
  max-height: 400px;
}
.service-detail[hidden] {
  display: block !important; /* override hidden so transitions work */
  max-height: 0;
  visibility: hidden;
}
.service-detail.is-open {
  max-height: 400px;
  visibility: visible;
}

.service-detail-inner {
  padding: 0 0 28px 56px;
  color: var(--gray-5);
  font-size: 16px;
  line-height: 1.8;
  font-weight: 300;
}
.service-detail-inner p { margin-bottom: 20px; }
.service-detail-inner strong { color: var(--white); font-weight: 600; }

/* Brand badge inside service detail */
.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 10px 20px;
  margin-top: 4px;
}
.brand-badge span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
}
.brand-logo {
  height: 32px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  display: block;
}
.brand-logo--dark {
  filter: brightness(0) invert(1);
}

/* Launch inline text logo */
.brand-logo-text {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--white);
  opacity: 0.9;
}

/* Service CTA link */
.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--accent-light);
  text-transform: uppercase;
  border-bottom: 1px solid rgba(42,95,160,0.4);
  padding-bottom: 2px;
  transition: color var(--dur-fast), border-color var(--dur-fast);
  text-decoration: none;
}
.service-cta:hover {
  color: var(--white);
  border-color: var(--white);
}

/* ══════════════════════════════════════════════════════════
   BRANDS MARQUEE SECTION
══════════════════════════════════════════════════════════ */
.brands-section {
  background: var(--black);
  padding: var(--section-pad) 0;
  overflow: hidden;
}

.brands-header {
  max-width: var(--inner-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  margin-bottom: 72px;
}

.brands-title {
  font-family: var(--font-display);
  font-size: clamp(42px, 7vw, 100px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--white);
  margin-bottom: 20px;
}
.brands-title em {
  font-style: italic;
  color: var(--gray-4);
}

.brands-subtitle {
  font-size: clamp(13px, 1.5vw, 16px);
  color: var(--gray-4);
  font-weight: 300;
  letter-spacing: 0.02em;
}

/* Three scrolling rows */
.brands-row {
  overflow: hidden;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.brands-row:last-child { border-bottom: 1px solid rgba(255,255,255,0.04); }

.brands-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  white-space: nowrap;
}

/* Row 1: left → right */
.brands-track--fwd {
  animation: brands-fwd 40s linear infinite;
}
/* Row 2: right → left */
.brands-track--rev {
  animation: brands-rev 35s linear infinite;
}
/* Row 3: left → right slower */
.brands-track--slow {
  animation: brands-fwd 55s linear infinite;
}

@keyframes brands-fwd {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes brands-rev {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

.brands-row:hover .brands-track { animation-play-state: paused; }

.brand-name {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.5);
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
  padding: 0 28px;
  transition: all 0.3s ease;
}
.brand-name:hover { 
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 1);
  text-shadow: 0 0 24px rgba(255, 255, 255, 0.8);
}

.brand-dot {
  font-size: clamp(18px, 2.5vw, 30px);
  color: rgba(255,255,255,0.04);
  padding: 0 8px;
}

/* Alternate row intensity */
.brands-row:nth-child(2) .brand-name  { 
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.4);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.25);
  font-size: clamp(18px, 2.8vw, 36px); 
}
.brands-row:nth-child(2) .brand-name:hover { 
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.9);
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
}
.brands-row:nth-child(3) .brand-name  { 
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
  font-size: clamp(16px, 2.2vw, 28px); 
}
.brands-row:nth-child(3) .brand-name:hover { 
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.8);
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.5);
}

/* Fade edges */
.brands-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    var(--black) 0%,
    transparent 8%,
    transparent 92%,
    var(--black) 100%
  );
  pointer-events: none;
  z-index: 1;
}
.brands-section { position: relative; }
.brands-header { position: relative; z-index: 2; }
.brands-row { position: relative; z-index: 2; }
