/* ═══════════════════════════════════════════════════════════════
   HAP AUTOS — hapautos.com
   Design System & Global Styles
   Built by Mice Helium Design Studio / The Delphi Creative
   Brand colors: HAP Visual Mockups Guide v1.0
   ═══════════════════════════════════════════════════════════════ */

/* ── Design Tokens ─────────────────────────────────────────────── */
:root {
  /* Surfaces — HAP Dark #1A1A1A, never pure black */
  --hap-base:       #1A1A1A;   /* HAP Dark — primary background */
  --hap-elevated:   #242424;   /* elevated cards, sections */
  --hap-light:      #F5F5F5;   /* HAP Light Grey — forms, sections */
  
  /* Ink on dark */
  --hap-ink:        #FFFFFF;   /* HAP White — primary text on dark */
  --hap-ink-sec:    #B0BEC5;   /* secondary text on dark */
  
  /* Ink on light */
  --hap-ink-dark:   #1A1A1A;   /* HAP Dark — primary text on light */
  --hap-ink-mid:    #4A4A4A;   /* HAP Grey — secondary text on light */
  
  /* Accent — HAP Teal #00B4D8 */
  --hap-accent:     #00B4D8;   /* HAP Teal — CTAs, highlights */
  --hap-accent-hov: #00A0C7;   /* hover state */
  --hap-accent-dim: rgba(0, 180, 216, 0.15);    /* backgrounds */
  --hap-accent-glow: rgba(0, 180, 216, 0.08);   /* subtle glows */
  
  /* Secondary accent — HAP Deep Blue #0077B6 */
  --hap-blue:       #0077B6;   /* HAP Deep Blue — technology, trust */
  --hap-blue-dim:   rgba(0, 119, 182, 0.12);
  
  /* Semantic */
  --hap-success:    #4CAF72;
  --hap-error:      #E5544B;
  --hap-warning:    #E8A547;
  
  /* Typography — Montserrat primary (per HAP Visual Mockups Guide) */
  --hap-font: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --hap-font-display: 'Montserrat', -apple-system, sans-serif;
  --hap-font-body: 'Inter', -apple-system, system-ui, sans-serif;
  
  /* Type scale — mobile baseline (360px) */
  --hap-text-display: 36px;
  --hap-text-display-lh: 42px;
  --hap-text-h1: 30px;
  --hap-text-h1-lh: 36px;
  --hap-text-h2: 26px;
  --hap-text-h2-lh: 32px;
  --hap-text-h3: 22px;
  --hap-text-h3-lh: 28px;
  --hap-text-body-lg: 18px;
  --hap-text-body-lg-lh: 27px;
  --hap-text-body: 17px;
  --hap-text-body-lh: 26px;
  --hap-text-small: 16px;
  --hap-text-small-lh: 24px;
  --hap-text-caption: 14px;
  --hap-text-caption-lh: 20px;
  
  /* Spacing — 4px base, 8px rhythm */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;
  
  /* Radius */
  --r-control: 4px;
  --r-card: 8px;
  --r-full: 0px;  /* full-bleed media = 0 */
  
  /* Motion */
  --hap-ease: cubic-bezier(0.22, 1, 0.36, 1);  /* ease-out */
  --hap-dur: 250ms;
  --hap-dur-fast: 200ms;
  
  /* Layout */
  --hap-max-width: 1280px;
  --hap-margin-mobile: 20px;
  --hap-margin-tablet: 40px;
  --hap-margin-desktop: 64px;
  
  /* Header height */
  --hap-header-h: 72px;
  --hap-header-h-mobile: 56px;
  
  /* Sticky bar */
  --hap-sticky-h: 64px;
  
  /* WhatsApp launcher */
  --hap-wa-size: 56px;
  --hap-wa-bottom: calc(var(--hap-sticky-h) + 16px);
  
  /* Shadows */
  --hap-shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --hap-shadow-md: 0 8px 24px rgba(0,0,0,0.4);
  --hap-shadow-lg: 0 16px 48px rgba(0,0,0,0.5);
}

/* ── Type Scale — Tablet (768px+) ──────────────────────────────── */
@media (min-width: 768px) {
  :root {
    --hap-text-display: 48px;
    --hap-text-display-lh: 56px;
    --hap-text-h1: 40px;
    --hap-text-h1-lh: 48px;
    --hap-text-h2: 30px;
    --hap-text-h2-lh: 38px;
    --hap-text-h3: 24px;
    --hap-text-h3-lh: 32px;
    --hap-text-body-lg: 19px;
    --hap-text-body-lg-lh: 28px;
    --hap-text-body: 17px;
    --hap-text-body-lh: 26px;
  }
}

/* ── Type Scale — Desktop (1440px+) ────────────────────────────── */
@media (min-width: 1440px) {
  :root {
    --hap-text-display: 64px;
    --hap-text-display-lh: 72px;
    --hap-text-h1: 48px;
    --hap-text-h1-lh: 56px;
    --hap-text-h2: 36px;
    --hap-text-h2-lh: 44px;
    --hap-text-h3: 28px;
    --hap-text-h3-lh: 36px;
    --hap-text-body-lg: 20px;
    --hap-text-body-lg-lh: 30px;
    --hap-text-body: 18px;
    --hap-text-body-lh: 28px;
  }
}

/* ── Reset ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--hap-font);
  font-size: var(--hap-text-body);
  line-height: var(--hap-text-body-lh);
  background: var(--hap-base);
  color: var(--hap-ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }
ul, ol { list-style: none; }

/* Focus visible — accessibility */
:focus-visible {
  outline: 2px solid var(--hap-accent);
  outline-offset: 2px;
}

/* Skip link */
.skip-link {
  position: absolute; top: -40px; left: 0;
  background: var(--hap-accent); color: var(--hap-base);
  padding: 8px 16px; border-radius: 0 0 var(--r-control) 0;
  z-index: 1000; font-size: var(--hap-text-small);
}
.skip-link:focus { top: 0; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── Layout Helpers ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--hap-max-width);
  margin: 0 auto;
  padding: 0 var(--hap-margin-mobile);
}
@media (min-width: 768px) { .container { padding: 0 var(--hap-margin-tablet); } }
@media (min-width: 1024px) { .container { padding: 0 var(--hap-margin-desktop); } }

.section { padding: var(--sp-20) 0; }
@media (min-width: 768px) { .section { padding: var(--sp-24) 0; } }
@media (min-width: 1440px) { .section { padding: var(--sp-24) 0; } }

.section-tight { padding: var(--sp-10) 0; }

/* Premium section with elevated background */
.section--elevated { background: var(--hap-elevated); }

/* Subtle top border for section separation */
.section--bordered { border-top: 1px solid rgba(255,255,255,0.04); }

/* ── C02 · Primary Button ──────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 44px;
  min-width: 44px;
  padding: 12px 24px;
  font-size: var(--hap-text-small);
  font-weight: 600;
  line-height: 1;
  border-radius: var(--r-control);
  transition: all var(--hap-dur) var(--hap-ease);
  position: relative;
  text-align: center;
  white-space: nowrap;
}

/* Filled accent */
.btn--accent {
  background: var(--hap-accent);
  color: var(--hap-base);
}
.btn--accent:hover { background: var(--hap-accent-hov); }
.btn--accent:active { transform: scale(0.97); }
.btn--accent:disabled, .btn--accent.is-loading {
  opacity: 0.5; pointer-events: none;
}

/* Filled light */
.btn--light {
  background: var(--hap-ink);
  color: var(--hap-base);
}
.btn--light:hover { background: rgba(255,255,255,0.9); }

/* Outline */
.btn--outline {
  background: transparent;
  color: var(--hap-ink);
  border: 1px solid rgba(255,255,255,0.3);
}
.btn--outline:hover {
  border-color: var(--hap-accent);
  color: var(--hap-accent);
}

/* Text link button */
.btn--text {
  background: transparent;
  color: var(--hap-ink);
  padding: 8px 0;
  min-height: auto;
}
.btn--text:hover { color: var(--hap-accent); }

/* Loading state */
.btn.is-loading::after {
  content: '';
  width: 16px; height: 16px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 600ms linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Full width */
.btn--block { display: flex; width: 100%; }

/* Large */
.btn--lg { padding: 16px 32px; font-size: var(--hap-text-body); }

/* ── C01 · Header ──────────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--hap-header-h-mobile);
  z-index: 100;
  transition: background var(--hap-dur) var(--hap-ease), box-shadow var(--hap-dur) var(--hap-ease);
  display: flex;
  align-items: center;
}
@media (min-width: 1024px) { .header { height: var(--hap-header-h); } }

/* Transparent over hero (home only) */
.header--transparent { background: transparent; }

/* Solid state */
.header--solid {
  background: var(--hap-base);
  box-shadow: var(--hap-shadow-sm);
}

.header__inner {
  width: 100%;
  max-width: var(--hap-max-width);
  margin: 0 auto;
  padding: 0 var(--hap-margin-mobile);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
}
@media (min-width: 768px) { .header__inner { padding: 0 var(--hap-margin-tablet); } }
@media (min-width: 1024px) { .header__inner { padding: 0 var(--hap-margin-desktop); } }

/* HAP mark */
.header__mark {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--hap-ink);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-shrink: 0;
}
@media (min-width: 1024px) { .header__mark { font-size: 28px; } }

.header__mark span { color: var(--hap-accent); }

/* Desktop nav */
.header__nav {
  display: none;
  align-items: center;
  gap: var(--sp-6);
}
@media (min-width: 1024px) { .header__nav { display: flex; } }

.nav__link {
  font-size: var(--hap-text-small);
  font-weight: 500;
  color: var(--hap-ink);
  transition: color var(--hap-dur-fast) var(--hap-ease);
  position: relative;
  padding: 8px 0;
}
.nav__link:hover { color: var(--hap-accent); }
.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--hap-accent);
  transition: width var(--hap-dur) var(--hap-ease);
}
.nav__link:hover::after { width: 100%; }

/* Mega menu trigger */
.nav__link--menu::after { display: none; }
.nav__link--menu .chevron {
  display: inline-block;
  width: 8px; height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: 6px;
  margin-bottom: 2px;
  transition: transform var(--hap-dur) var(--hap-ease);
}

/* Header actions */
.header__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-shrink: 0;
}

.header__owner-link {
  display: none;
  font-size: var(--hap-text-small);
  color: var(--hap-ink-sec);
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(168, 180, 189, 0.3);
  transition: color var(--hap-dur-fast), border-color var(--hap-dur-fast);
}
.header__owner-link:hover {
  color: var(--hap-accent);
  border-color: var(--hap-accent);
}
@media (min-width: 1024px) { .header__owner-link { display: inline-flex; } }

/* Mobile: WhatsApp + burger */
.header__wa {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  transition: background var(--hap-dur-fast);
}
.header__wa:hover { background: rgba(255,255,255,0.2); }
.header__wa svg { width: 22px; height: 22px; fill: var(--hap-ink); }
@media (min-width: 1024px) { .header__wa { display: none; } }

.header__burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.header__burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--hap-ink);
  border-radius: 1px;
  transition: all var(--hap-dur) var(--hap-ease);
}
.header__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__burger.is-open span:nth-child(2) { opacity: 0; }
.header__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 1024px) { .header__burger { display: none; } }

/* ── C06 · Mobile Menu Overlay ─────────────────────────────────── */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--hap-base);
  z-index: 99;
  padding: calc(var(--hap-header-h-mobile) + var(--sp-6)) var(--hap-margin-mobile) var(--sp-10);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--hap-dur) var(--hap-ease);
}
.mobile-menu.is-open { transform: translateX(0); }

.mobile-menu__roadside {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-4) var(--sp-5);
  background: var(--hap-accent-dim);
  border-radius: var(--r-card);
  margin-bottom: var(--sp-4);
  border: 1px solid rgba(232, 165, 71, 0.3);
}
.mobile-menu__roadside-label {
  font-size: var(--hap-text-small);
  font-weight: 600;
  color: var(--hap-accent);
}
.mobile-menu__roadside-number {
  font-size: var(--hap-text-body-lg);
  font-weight: 700;
  color: var(--hap-ink);
}

.mobile-menu__section { margin-bottom: var(--sp-6); }
.mobile-menu__divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: var(--sp-4) 0;
}
.mobile-menu__title {
  font-size: var(--hap-text-caption);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--hap-ink-sec);
  margin-bottom: var(--sp-3);
}
.mobile-menu__link {
  display: block;
  padding: var(--sp-3) 0;
  font-size: var(--hap-text-body-lg);
  color: var(--hap-ink);
  transition: color var(--hap-dur-fast);
}
.mobile-menu__link:hover { color: var(--hap-accent); }

.mobile-menu__footer {
  margin-top: var(--sp-8);
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(255,255,255,0.1);
}
.mobile-menu__oj-link {
  font-size: var(--hap-text-small);
  color: var(--hap-ink-sec);
  margin-top: var(--sp-4);
  display: block;
}
.mobile-menu__oj-link:hover { color: var(--hap-accent); }

/* ── C03 · WhatsApp Launcher ───────────────────────────────────── */
.wa-launcher {
  position: fixed;
  bottom: var(--hap-wa-bottom);
  right: var(--sp-5);
  width: var(--hap-wa-size);
  height: var(--hap-wa-size);
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: transform var(--hap-dur) var(--hap-ease), box-shadow var(--hap-dur);
}
.wa-launcher:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}
.wa-launcher svg { width: 30px; height: 30px; fill: #FFFFFF; }

/* Hide on form pages */
body.no-sticky .wa-launcher,
body.no-sticky .sticky-bar { display: none; }

/* On roadside page — no WhatsApp */
body.roadside-page .wa-launcher { display: none; }

/* ── C05 · Mobile Sticky Bar ───────────────────────────────────── */
.sticky-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--hap-sticky-h);
  background: var(--hap-base);
  border-top: 1px solid rgba(255,255,255,0.1);
  display: none;
  align-items: center;
  padding: 0 var(--sp-3);
  z-index: 95;
  padding-bottom: env(safe-area-inset-bottom);
}
@media (max-width: 1023px) {
  body:not(.no-sticky) .sticky-bar { display: flex; }
}

.sticky-bar__btn {
  flex: 1;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-size: var(--hap-text-small);
  font-weight: 600;
  border-radius: var(--r-control);
  transition: all var(--hap-dur-fast);
}

.sticky-bar__btn--accent {
  background: var(--hap-accent);
  color: var(--hap-base);
}

.sticky-bar__btn--wa {
  width: 25%;
  margin-left: var(--sp-2);
  background: #25D366;
  color: #FFFFFF;
  border-radius: var(--r-control);
}

.sticky-bar__btn--call {
  flex: 1;
  background: var(--hap-accent);
  color: var(--hap-base);
}

/* ── C04 · Footer ──────────────────────────────────────────────── */
.footer {
  background: var(--hap-base);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: var(--sp-12) 0 var(--sp-10);
}
@media (min-width: 768px) { .footer { padding: var(--sp-16) 0 var(--sp-10); } }

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
}
@media (min-width: 768px) {
  .footer__grid { grid-template-columns: repeat(3, 1fr); gap: var(--sp-10); }
}
@media (min-width: 1024px) {
  .footer__grid { grid-template-columns: repeat(5, 1fr); }
}

.footer__col-title {
  font-size: var(--hap-text-caption);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--hap-ink-sec);
  margin-bottom: var(--sp-4);
}

.footer__col ul { display: flex; flex-direction: column; gap: var(--sp-3); }

.footer__link {
  font-size: var(--hap-text-small);
  color: var(--hap-ink);
  transition: color var(--hap-dur-fast);
}
.footer__link:hover { color: var(--hap-accent); }
.footer__link--outbound::after {
  content: ' ↗';
  font-size: 0.85em;
  color: var(--hap-ink-sec);
}

.footer__base {
  margin-top: var(--sp-10);
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  font-size: var(--hap-text-caption);
  color: var(--hap-ink-sec);
}
@media (min-width: 768px) {
  .footer__base {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }
}

.footer__oj-return {
  color: var(--hap-accent);
  font-weight: 500;
}
.footer__oj-return:hover { text-decoration: underline; }

.footer__social { display: flex; gap: var(--sp-4); }
.footer__social a {
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  transition: background var(--hap-dur-fast);
}
.footer__social a:hover { background: var(--hap-accent-dim); }
.footer__social svg { width: 16px; height: 16px; fill: var(--hap-ink); }

/* ── C07 · Linked Product Image ────────────────────────────────── */
.product-img {
  position: relative;
  display: block;
  border-radius: var(--r-card) var(--r-card) 0 0;
  overflow: hidden;
  transition: transform var(--hap-dur) var(--hap-ease);
}
.product-img img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform 600ms var(--hap-ease);
}
.product-img:hover img { transform: scale(1.05); }

.product-img__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(26, 26, 26, 0.9));
  display: flex;
  align-items: flex-end;
  padding: var(--sp-5);
  opacity: 0;
  transition: opacity var(--hap-dur) var(--hap-ease);
}
.product-img:hover .product-img__overlay { opacity: 1; }

.product-img__label {
  font-size: var(--hap-text-small);
  font-weight: 600;
  color: var(--hap-accent);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Suppressed state (src=oj) */
.product-img--suppressed { cursor: default; pointer-events: none; }
.product-img--suppressed .product-img__overlay { display: none; }

/* ── C08 · Range Card — Premium Automotive ─────────────────────── */
.showroom-map {
  min-height: 280px;
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--hap-elevated);
  border: 1px solid rgba(255,255,255,0.08);
}
.showroom-map iframe {
  display: block;
  width: 100%;
  min-height: 280px;
  height: 100%;
  border: 0;
}

.range-card {
  background: linear-gradient(180deg, var(--hap-elevated) 0%, #1e1e1e 100%);
  border-radius: 12px;
  overflow: hidden;
  transition: transform var(--hap-dur) var(--hap-ease), box-shadow var(--hap-dur), border-color var(--hap-dur);
  border: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.range-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(0, 180, 216, 0.2);
  border-color: rgba(0, 180, 216, 0.3);
}

.range-card__img { margin-bottom: 0; flex-shrink: 0; }

.range-card__body {
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.range-card__name {
  font-size: var(--hap-text-h3);
  font-weight: 800;
  margin-bottom: var(--sp-1);
  letter-spacing: -0.01em;
}

.range-card__line {
  font-size: var(--hap-text-small);
  color: var(--hap-ink-sec);
  margin-bottom: var(--sp-4);
  font-weight: 400;
}

.range-card__actions {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-top: auto;
}

.range-card__action {
  font-size: var(--hap-text-small);
  font-weight: 600;
  padding: 12px 16px;
  border-radius: var(--r-control);
  transition: all var(--hap-dur-fast);
  text-align: center;
}
.range-card__action--primary {
  background: var(--hap-accent);
  color: #1A1A1A;
  font-weight: 700;
}
.range-card__action--primary:hover { background: #00A0C7; transform: translateY(-1px); }
.range-card__action--secondary {
  background: rgba(255,255,255,0.06);
  color: var(--hap-ink);
  border: 1px solid rgba(255,255,255,0.08);
}
.range-card__action--secondary:hover { background: rgba(255,255,255,0.1); border-color: rgba(0,180,216,0.3); }
.range-card__action--outbound {
  color: var(--hap-ink-sec);
  font-size: var(--hap-text-caption);
  padding: 8px 16px;
}
.range-card__action--outbound:hover { color: var(--hap-accent); }

/* ── C09 · Availability Chip ───────────────────────────────────── */
.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: 4px 12px;
  font-size: var(--hap-text-caption);
  font-weight: 600;
  border-radius: 100px;
}
.chip--success { background: rgba(76, 175, 114, 0.15); color: var(--hap-success); }
.chip--neutral { background: rgba(255,255,255,0.08); color: var(--hap-ink-sec); }
.chip--muted { background: transparent; color: var(--hap-ink-sec); border: 1px solid rgba(255,255,255,0.1); }

/* ── C10 · Person Card ─────────────────────────────────────────── */
.person-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-3);
}
.person-card__photo {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--hap-elevated), #2a2a2a);
  overflow: hidden;
  border: 2px solid rgba(0, 180, 216, 0.15);
  transition: border-color var(--hap-dur);
}
.person-card:hover .person-card__photo { border-color: rgba(0, 180, 216, 0.4); }
.person-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.person-card__name {
  font-size: var(--hap-text-body);
  font-weight: 700;
}
.person-card__role {
  font-size: var(--hap-text-small);
  color: var(--hap-accent);
  font-weight: 500;
}
.person-card__qual {
  font-size: var(--hap-text-caption);
  color: var(--hap-ink-sec);
}
.person-card__wa {
  font-size: var(--hap-text-caption);
  color: #25D366;
  margin-top: var(--sp-2);
  font-weight: 600;
}

@media (min-width: 768px) {
  .person-card--inline {
    flex-direction: row;
    text-align: left;
    gap: var(--sp-4);
  }
  .person-card--inline .person-card__photo { width: 64px; height: 64px; flex-shrink: 0; }
}

/* ── C11 · Commitment Card ─────────────────────────────────────── */
.commitment {
  background: linear-gradient(180deg, var(--hap-elevated) 0%, #1e1e1e 100%);
  border-radius: 12px;
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  border: 1px solid rgba(255,255,255,0.04);
  transition: border-color var(--hap-dur), transform var(--hap-dur);
}
.commitment:hover {
  border-color: rgba(0,180,216,0.2);
  transform: translateY(-2px);
}
.commitment__icon {
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(0, 180, 216, 0.1);
  margin-bottom: var(--sp-3);
}
.commitment__icon svg { width: 24px; height: 24px; fill: var(--hap-accent); }
.commitment__label {
  font-size: var(--hap-text-small);
  font-weight: 600;
  color: var(--hap-ink-sec);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.commitment__value {
  font-size: var(--hap-text-h3);
  font-weight: 800;
  color: var(--hap-accent);
  margin: 4px 0;
}
.commitment__qual {
  font-size: var(--hap-text-caption);
  color: var(--hap-ink-sec);
  line-height: 1.5;
}

/* ── C12 · Step Sequence ───────────────────────────────────────── */
.steps { display: flex; flex-direction: column; gap: var(--sp-5); }
@media (min-width: 1024px) {
 .steps--horizontal { flex-direction: row; gap: var(--sp-6); }
  .steps--horizontal .step { flex: 1; }
}

.step {
  display: flex;
  gap: var(--sp-4);
}
.step__num {
  flex-shrink: 0;
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--hap-accent);
  color: var(--hap-base);
  font-size: var(--hap-text-small);
  font-weight: 700;
}
.step__content { flex: 1; }
.step__title {
  font-size: var(--hap-text-body);
  font-weight: 600;
  margin-bottom: var(--sp-1);
}
.step__desc {
  font-size: var(--hap-text-small);
  color: var(--hap-ink-sec);
}
.step__time {
  font-size: var(--hap-text-caption);
  color: var(--hap-accent);
  font-weight: 600;
  margin-top: var(--sp-1);
}

/* ── C13 · Comparison Table ────────────────────────────────────── */
.compare {
  width: 100%;
  border-collapse: collapse;
}
.compare th, .compare td {
  padding: var(--sp-4);
  font-size: var(--hap-text-small);
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.compare th {
  font-weight: 700;
  color: var(--hap-ink);
  background: var(--hap-elevated);
}
.compare td { color: var(--hap-ink-sec); }
.compare__row-label { font-weight: 600; color: var(--hap-ink); }

@media (max-width: 767px) {
  .compare { display: block; }
  .compare thead, .compare tbody, .compare tr, .compare th, .compare td { display: block; }
  .compare tr { margin-bottom: var(--sp-6); padding-bottom: var(--sp-4); border-bottom: 1px solid rgba(255,255,255,0.08); }
  .compare th { font-size: var(--hap-text-h3); }
  .compare td { display: flex; justify-content: space-between; }
  .compare__row-label::before { content: attr(data-label); color: var(--hap-ink-sec); font-weight: 400; }
}

/* ── C14 · Cross-link Module (→ OJ) ────────────────────────────── */
.crosslink {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-6);
  background: var(--hap-elevated);
  border: 1px solid rgba(232, 165, 71, 0.15);
  border-radius: var(--r-card);
}
.crosslink__context {
  font-size: var(--hap-text-small);
  color: var(--hap-ink-sec);
}
.crosslink__dest {
  font-size: var(--hap-text-body-lg);
  font-weight: 600;
  color: var(--hap-accent);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  transition: gap var(--hap-dur) var(--hap-ease);
}
.crosslink__dest:hover { gap: var(--sp-4); }
.crosslink__dest::after { content: '↗'; font-size: 1.2em; }

/* ── C15 · Accordion ───────────────────────────────────────────── */
.accordion { display: flex; flex-direction: column; gap: var(--sp-2); }
.accordion__item {
  background: var(--hap-elevated);
  border-radius: var(--r-card);
  overflow: hidden;
}
.accordion__header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-4) var(--sp-5);
  font-size: var(--hap-text-body);
  font-weight: 600;
  color: var(--hap-ink);
  transition: background var(--hap-dur-fast);
}
.accordion__header:hover { background: rgba(255,255,255,0.04); }
.accordion__icon {
  width: 20px; height: 20px;
  position: relative;
  flex-shrink: 0;
  transition: transform var(--hap-dur) var(--hap-ease);
}
.accordion__icon::before, .accordion__icon::after {
  content: '';
  position: absolute;
  background: var(--hap-ink-sec);
  border-radius: 1px;
}
.accordion__icon::before { top: 50%; left: 0; right: 0; height: 2px; transform: translateY(-50%); }
.accordion__icon::after { left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%); transition: opacity var(--hap-dur); }
.accordion__item.is-open .accordion__icon::after { opacity: 0; }
.accordion__item.is-open .accordion__icon { transform: rotate(180deg); }

.accordion__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--hap-dur) var(--hap-ease);
}
.accordion__body-inner {
  padding: 0 var(--sp-5) var(--sp-5);
  font-size: var(--hap-text-small);
  color: var(--hap-ink-sec);
  line-height: var(--hap-text-body-lh);
}

/* ── C17 · Form Shell ──────────────────────────────────────────── */
.form-shell {
  background: var(--hap-light);
  border-radius: var(--r-card);
  padding: var(--sp-6);
  color: var(--hap-ink-dark);
}
@media (min-width: 768px) {
  .form-shell { padding: var(--sp-8); max-width: 560px; margin: 0 auto; }
}
@media (min-width: 1024px) {
  .form-shell { margin: 0; }
}

.form__group { margin-bottom: var(--sp-5); }
.form__row { display: flex; gap: var(--sp-4); }
.form__row > * { flex: 1; }

@media (max-width: 767px) { .form__row { flex-direction: column; gap: var(--sp-5); } }

/* C18 · Text Field */
.field { display: flex; flex-direction: column; gap: var(--sp-2); }
.field__label {
  font-size: var(--hap-text-small);
  font-weight: 600;
  color: var(--hap-ink-dark);
}
.field__label .req { color: var(--hap-error); }
.field__input, .field__textarea, .field__select {
  width: 100%;
  padding: 12px 16px;
  font-size: var(--hap-text-body);
  color: var(--hap-ink-dark);
  background: #FFFFFF;
  border: 1px solid rgba(14, 26, 36, 0.15);
  border-radius: var(--r-control);
  transition: border-color var(--hap-dur-fast), box-shadow var(--hap-dur-fast);
}
.field__input:focus, .field__textarea:focus, .field__select:focus {
  outline: none;
  border-color: var(--hap-accent);
  box-shadow: 0 0 0 3px var(--hap-accent-glow);
}
.field__helper {
  font-size: var(--hap-text-caption);
  color: var(--hap-ink-mid);
}
.field__error {
  font-size: var(--hap-text-caption);
  color: var(--hap-error);
  display: none;
}
.field.is-error .field__input,
.field.is-error .field__textarea {
  border-color: var(--hap-error);
}
.field.is-error .field__error { display: block; }

/* C19 · Phone Field */
.phone-field { display: flex; gap: var(--sp-2); }
.phone-field__prefix {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: rgba(14, 26, 36, 0.05);
  border: 1px solid rgba(14, 26, 36, 0.15);
  border-radius: var(--r-control);
  font-size: var(--hap-text-body);
  font-weight: 600;
  color: var(--hap-ink-dark);
}
.phone-field__input { flex: 1; }

/* C21 · Consent */
.consent {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
}
.consent input[type="checkbox"] {
  flex-shrink: 0;
  width: 20px; height: 20px;
  margin-top: 2px;
  accent-color: var(--hap-accent);
}
.consent__text {
  font-size: var(--hap-text-small);
  color: var(--hap-ink-mid);
}
.consent__text a { color: var(--hap-accent); text-decoration: underline; }

/* Form actions */
.form__actions { margin-top: var(--sp-6); }
.form__checkbox-row {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
}
.form__checkbox-row input[type="checkbox"] {
  width: 20px; height: 20px;
  accent-color: var(--hap-accent);
}
.form__checkbox-row label {
  font-size: var(--hap-text-small);
  color: var(--hap-ink-dark);
}

/* C22 · Success Panel */
.success-panel {
  text-align: center;
  padding: var(--sp-8) var(--sp-5);
}
.success-panel__icon {
  width: 48px; height: 48px;
  margin: 0 auto var(--sp-4);
  border-radius: 50%;
  background: rgba(76, 175, 114, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}
.success-panel__icon svg { width: 24px; height: 24px; fill: var(--hap-success); }
.success-panel__title {
  font-size: var(--hap-text-h2);
  font-weight: 700;
  color: var(--hap-ink-dark);
  margin-bottom: var(--sp-4);
}
.success-panel__adviser {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-5);
}
.success-panel__adviser-name {
  font-size: var(--hap-text-body-lg);
  font-weight: 700;
  color: var(--hap-ink-dark);
}
.success-panel__adviser-role {
  font-size: var(--hap-text-small);
  color: var(--hap-ink-mid);
}
.success-panel__msg {
  font-size: var(--hap-text-body);
  color: var(--hap-ink-mid);
  margin-bottom: var(--sp-5);
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}
.success-panel__wa-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 12px 24px;
  background: #25D366;
  color: #FFFFFF;
  border-radius: var(--r-control);
  font-size: var(--hap-text-small);
  font-weight: 600;
  margin-bottom: var(--sp-6);
}
.success-panel__steps {
  text-align: left;
  max-width: 420px;
  margin: 0 auto var(--sp-5);
}
.success-panel__onward {
  font-size: var(--hap-text-small);
  color: var(--hap-accent);
  font-weight: 600;
}

/* ── Hero Section — Premium Automotive ─────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #1A1A1A;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img,
.hero__bg video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,26,26,0.4) 0%, rgba(26,26,26,0.7) 60%, #1A1A1A 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-top: var(--sp-16);
  width: 100%;
}

.hero__h1 {
  font-size: var(--hap-text-display);
  line-height: var(--hap-text-display-lh);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-4);
  max-width: 640px;
  text-shadow: 0 2px 30px rgba(0,0,0,0.5);
}
.hero__h1 span { color: var(--hap-accent); display: block; margin-top: 4px; }

.hero__sub {
  font-size: var(--hap-text-body-lg);
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--sp-8);
  max-width: 480px;
  font-weight: 400;
}

.hero__fork {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  max-width: 520px;
}
@media (min-width: 768px) { .hero__fork { flex-direction: row; gap: var(--sp-4); } }

.hero__fork-primary {
  background: var(--hap-accent);
  color: #1A1A1A;
  padding: 18px 28px;
  border-radius: var(--r-control);
  font-size: var(--hap-text-body);
  font-weight: 800;
  text-align: center;
  transition: all var(--hap-dur) var(--hap-ease);
  min-height: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  box-shadow: 0 8px 32px rgba(0, 180, 216, 0.3);
  flex: 1;
}
.hero__fork-primary:hover {
  background: #00A0C7;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 180, 216, 0.4);
}
.hero__fork-primary small {
  font-size: var(--hap-text-caption);
  font-weight: 500;
  opacity: 0.8;
}

.hero__fork-secondary {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  color: var(--hap-ink);
  padding: 18px 28px;
  border-radius: var(--r-control);
  font-size: var(--hap-text-body);
  font-weight: 600;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.12);
  transition: all var(--hap-dur) var(--hap-ease);
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  flex: 1;
}
.hero__fork-secondary:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--hap-accent);
}

/* ── Section Heading — Premium ─────────────────────────────────── */
.section__head {
  margin-bottom: var(--sp-10);
}
.section__title {
  font-size: var(--hap-text-h2);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-3);
  line-height: 1.1;
}
.section__sub {
  font-size: var(--hap-text-body-lg);
  color: var(--hap-ink-sec);
  max-width: 560px;
  font-weight: 400;
  line-height: 1.5;
}

/* ── Range Grid — Premium Layout ───────────────────────────────── */
.range-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
}

/* Desktop range composition: OMODA gets 1/4, JAECOO gets 3/4. */
.range-grid__jaecoo {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
}

.range-grid__group-label {
  font-size: var(--hap-text-h3);
  font-weight: 800;
  color: var(--hap-ink-sec);
  margin-bottom: var(--sp-2);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .range-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-6); }
  .range-grid__jaecoo { grid-template-columns: repeat(2, 1fr); gap: var(--sp-6); }
  .range-grid__group-label { grid-column: 1 / -1; }
}

@media (min-width: 1024px) {
  .range-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
    gap: clamp(28px, 3vw, 56px);
    align-items: stretch;
  }
  .range-grid__solo { grid-column: auto; }
  .range-grid__jaecoo {
    position: relative;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--sp-5);
    align-items: stretch;
  }
  /* Keep the JAECOO label visible without pushing its cards down. */
  .range-grid__group-label {
    position: absolute;
    top: -43px;
    left: 0;
    z-index: 2;
    margin: 0;
    pointer-events: none;
  }
  .home-page [data-module="range"] .section__head .section__sub {
    max-width: calc((100% - clamp(28px, 3vw, 56px)) / 4);
  }
}

@media (min-width: 1440px) {
  .range-grid__jaecoo { gap: var(--sp-6); }
}

/* Homepage range cards: keep the complete vehicle visible. */
.home-page [data-module="range"] .product-img {
  background: linear-gradient(145deg, #202a31 0%, #11181d 100%);
}
.home-page [data-module="range"] .product-img img {
  aspect-ratio: 4 / 3;
  object-fit: contain;
  object-position: center;
  padding: clamp(12px, 1.5vw, 24px);
}

/* Dedicated Range page: structured masonry with full-vehicle framing. */
.range-page-masonry {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-10);
  margin-bottom: var(--sp-10);
}
.range-page-feature .range-card {
  max-width: none !important;
}
.range-page-jaecoo {
  min-width: 0;
}
.range-page-jaecoo-grid {
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}
.range-page-masonry .product-img {
  background: linear-gradient(145deg, #202a31 0%, #11181d 100%);
}
.range-page-masonry .product-img img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  object-position: center;
  padding: clamp(12px, 2vw, 28px);
}
.range-page-masonry .range-card__body {
  min-height: 252px;
  padding: clamp(18px, 2vw, 28px);
}
.range-page-jaecoo-grid {
  align-items: stretch;
}
.range-page-jaecoo-grid .range-card {
  height: 100%;
}
.range-page-jaecoo-grid .range-card__body {
  display: flex;
  flex-direction: column;
}
.range-page-jaecoo-grid .range-card__actions {
  margin-top: auto;
}

@media (min-width: 768px) {
  .range-page-masonry {
    grid-template-columns: minmax(240px, 1fr) minmax(0, 3fr);
    gap: clamp(28px, 4vw, 64px);
    align-items: start;
  }
  .range-page-jaecoo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--sp-6);
  }
}

@media (min-width: 1200px) {
  .range-page-jaecoo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--sp-6);
  }
}

@media (max-width: 767px) {
  .range-page-masonry .product-img img {
    aspect-ratio: 16 / 10;
    padding: 14px;
  }
}

/* ── People Grid ───────────────────────────────────────────────── */
.people-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-5);
}
@media (min-width: 768px) { .people-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .people-grid { grid-template-columns: repeat(4, 1fr); } }

/* ── Commitments Grid ──────────────────────────────────────────── */
.commitments-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}
@media (min-width: 768px) { .commitments-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .commitments-grid { grid-template-columns: repeat(3, 1fr); } }

/* ── Utility Classes ───────────────────────────────────────────── */
.text-center { text-align: center; }
.text-accent { color: var(--hap-accent); }
.text-secondary { color: var(--hap-ink-sec); }
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: var(--sp-4); }
.mt-8 { margin-top: var(--sp-8); }
.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: var(--sp-4); }
.mb-8 { margin-bottom: var(--sp-8); }
.hidden { display: none !important; }
.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;
}

/* ── Animation: fade in on scroll (progressive enhancement) ───── */
/* Content visible by default. Only animate if JS confirms support. */
html.js-ready .fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms var(--hap-ease), transform 600ms var(--hap-ease);
}
html.js-ready .fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* No .js-ready = no opacity:0 = content always visible */

/* RETINA DISPLAY & HIGH-DPI SUPPORT */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
  img { image-rendering: -webkit-optimize-contrast; }
  svg { shape-rendering: geometricPrecision; }
  .btn, .range-card__action, .hero__fork-primary, .hero__fork-secondary { -webkit-backface-visibility: hidden; backface-visibility: hidden; -webkit-transform: translateZ(0); transform: translateZ(0); }
  .range-card, .commitment { -webkit-transform: translateZ(0); transform: translateZ(0); }
}

/* SMALL MOBILE (320-359px) */
@media (max-width: 359px) {
  :root { --hap-margin-mobile: 16px; --hap-text-display: 32px; --hap-text-display-lh: 38px; --hap-text-h1: 28px; --hap-text-h1-lh: 34px; }
  .hero { min-height: 90vh; }
  .hero__fork { gap: var(--sp-2); }
  .hero__fork-primary, .hero__fork-secondary { padding: 14px 20px; font-size: var(--hap-text-small); min-height: 56px; }
  .range-card__body { padding: var(--sp-4); }
  .section { padding: var(--sp-12) 0; }
  .section__title { font-size: 24px; }
  .people-grid { grid-template-columns: 1fr; }
}

/* LARGE MOBILE (414-767px) */
@media (min-width: 414px) and (max-width: 767px) {
  :root { --hap-margin-mobile: 24px; }
  .range-grid { gap: var(--sp-6); }
}

/* TABLET (768-1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero__h1 { font-size: 44px; line-height: 50px; }
  .hero__sub { font-size: 20px; }
}

/* LAPTOP (1024-1439px) */
@media (min-width: 1024px) and (max-width: 1439px) {
  .hero__h1 { font-size: 56px; line-height: 62px; }
  .commercial-layout { display: grid !important; grid-template-columns: 1fr 340px; gap: var(--sp-8); align-items: start; }
  .commercial-layout aside { position: sticky; top: calc(var(--hap-header-h) + var(--sp-4)); }
}

/* DESKTOP (1440-1919px) */
@media (min-width: 1440px) {
  .hero__h1 { font-size: 64px; line-height: 72px; }
  .hero__sub { font-size: 22px; max-width: 560px; }
  .range-card__body { padding: var(--sp-8); }
  .commercial-layout { display: grid !important; grid-template-columns: 1fr 380px; gap: var(--sp-10); align-items: start; }
  .commercial-layout aside { position: sticky; top: calc(var(--hap-header-h) + var(--sp-6)); }
}

/* WIDE (1920px+) */
@media (min-width: 1920px) {
  :root { --hap-max-width: 1440px; }
  .hero__h1 { font-size: 72px; line-height: 80px; }
}

/* PRINT */
@media print {
  .header, .footer, .wa-launcher, .sticky-bar, .mobile-menu, .hero__bg { display: none !important; }
  body { background: #fff; color: #000; }
  .range-card, .commitment { border: 1px solid #ccc; box-shadow: none; }
}

/* REDUCED DATA */
@media (prefers-reduced-data) {
  .hero__bg video { display: none; }
  .hero__bg { background: #1A1A1A; }
  * { transition: none !important; animation: none !important; }
}

/* GPU ACCELERATION */
.range-card, .hero__fork-primary, .hero__fork-secondary, .btn, .commitment {
  will-change: transform;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

/* SELECTION STYLING */
::selection { background: rgba(0, 180, 216, 0.3); color: #fff; }
::-moz-selection { background: rgba(0, 180, 216, 0.3); color: #fff; }

/* SCROLLBAR STYLING */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #1A1A1A; }
::-webkit-scrollbar-thumb { background: #333; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #00B4D8; }

/* IMAGE LAZY LOAD FADE */
img[loading="lazy"] { opacity: 0; transition: opacity 400ms var(--hap-ease); }
img[loading="lazy"].loaded { opacity: 1; }
html:not(.js-ready) img[loading="lazy"] { opacity: 1; }
