/* ==========================================================================
   PRAVARIQ SOLAR ELECTRIC VEHICLES — CORE DESIGN SYSTEM & STYLESHEET
   Unified Fluid Typography, 6-Tier Standardized Breakpoints, Touch Ergonomics
   ========================================================================== */

/* ─── 1. DESIGN TOKENS & FLUID MATRIX ─── */
:root {
  /* ── Luxury Color Palette ── */
  --white: #FFFFFF;
  --off-white: #F8F9FA;
  --warm-gray: #F0F2F5;
  --charcoal: #111418;
  --obsidian: #0D1117;
  --emerald: #1B4332;
  --emerald-hover: #143527;
  --emerald-glow: rgba(27, 67, 50, 0.25);
  --amber: #D4A017;
  --amber-glow: rgba(212, 160, 23, 0.2);
  --text: #111418;
  --text-2: #4A5568;
  --text-3: #8C98A4;
  --border: rgba(226, 232, 240, 0.8);
  --border-2: rgba(203, 213, 225, 0.8);

  /* ── Glassmorphism & Elevation ── */
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-bg-hover: rgba(255, 255, 255, 0.88);
  --glass-bg-active: rgba(255, 255, 255, 0.95);
  --glass-dark-bg: rgba(17, 20, 24, 0.75);
  --glass-border: rgba(255, 255, 255, 0.8);
  --glass-border-subtle: rgba(255, 255, 255, 0.4);
  --glass-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.06), 0 1px 3px 0 rgba(0, 0, 0, 0.02), inset 0 1px 1px 0 rgba(255, 255, 255, 0.9);
  --glass-shadow-hover: 0 24px 48px -12px rgba(27, 67, 50, 0.12), 0 2px 6px 0 rgba(0, 0, 0, 0.04), inset 0 1px 2px 0 rgba(255, 255, 255, 1);
  --glass-blur: blur(20px) saturate(190%);
  --glass-blur-sm: blur(12px) saturate(180%);

  /* ── Typography & Motion ── */
  --font-body: 'Inter', -apple-system, system-ui, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --max-w: 1400px;

  /* ── Unified Fluid Typography Tokens (320px -> 1440px+) ── */
  --font-size-h1: clamp(2.0rem, 1.286rem + 3.57vw, 4.5rem);
  --font-size-h2: clamp(1.625rem, 1.232rem + 1.96vw, 3.0rem);
  --font-size-h3: clamp(1.25rem, 1.107rem + 0.71vw, 1.75rem);
  --font-size-h4: clamp(1.0rem, 0.957rem + 0.21vw, 1.15rem);
  --font-size-body: clamp(0.95rem, 0.921rem + 0.14vw, 1.05rem);
  --font-size-body-sm: clamp(0.85rem, 0.829rem + 0.11vw, 0.92rem);
  --font-size-eyebrow: clamp(0.68rem, 0.66rem + 0.1vw, 0.75rem);
  --font-size-stat-val: clamp(1.25rem, 1.093rem + 0.78vw, 1.8rem);
  --font-size-stat-lbl: clamp(0.65rem, 0.63rem + 0.1vw, 0.72rem);

  --font-h1: var(--font-size-h1);
  --font-h2: var(--font-size-h2);
  --font-h3: var(--font-size-h3);
  --font-stat: var(--font-size-stat-val);

  /* ── Fluid Spacing & Container Tokens ── */
  --container-pad: clamp(1rem, 3.5vw, 3rem);
  --section-pad-y: clamp(3.5rem, 7vw, 7rem);
  --grid-gap: clamp(1.25rem, 2.5vw, 2.25rem);
}

/* ─── 2. BASE CSS RESET & VIEWPORT SECURITY ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background-color: #F6F7F9;
  background-image:
    radial-gradient(circle at 5% 10%, rgba(27, 67, 50, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 95% 30%, rgba(212, 160, 23, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 50% 75%, rgba(27, 67, 50, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 90%, rgba(212, 160, 23, 0.03) 0%, transparent 45%);
  background-attachment: fixed;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  position: relative;
  padding-top: 142px;
}

body.nav-open {
  overflow: hidden !important;
  touch-action: none !important;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

img, picture, video, canvas, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

* {
  -webkit-tap-highlight-color: transparent;
}

a, button, [role="button"], input, select, textarea, label {
  touch-action: manipulation;
}

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

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* ── Custom Scrollbar ── */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: rgba(246, 247, 249, 0.6);
}
::-webkit-scrollbar-thumb {
  background: rgba(27, 67, 50, 0.25);
  border-radius: 99px;
  backdrop-filter: blur(4px);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--emerald);
}

/* ─── 3. BASE TYPOGRAPHY ─── */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text);
}

h1, .hero-title, .page-title {
  font-size: var(--font-size-h1);
  line-height: 1.1;
}

h2, .section-title {
  font-size: var(--font-size-h2);
  line-height: 1.2;
}

h3, .card-title {
  font-size: var(--font-size-h3);
  line-height: 1.3;
}

h4 {
  font-family: var(--font-body);
  font-size: var(--font-size-h4);
  font-weight: 600;
  line-height: 1.4;
}

em {
  font-style: italic;
  font-weight: inherit;
}

p, .section-desc, .hero-desc, .page-desc {
  color: var(--text-2);
  font-size: var(--font-size-body);
  line-height: 1.7;
}

.hero-eyebrow, .section-eyebrow, .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: var(--font-size-eyebrow);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 600;
  color: var(--emerald);
  margin-bottom: 1.25rem;
  padding: 4px 12px 4px 0;
  background: transparent;
  border: none;
}

.hero-eyebrow::before, .section-eyebrow::before, .eyebrow::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 2px;
  background: var(--emerald);
  border-radius: 1px;
}

.stat-value, .model-stat-value, .stat-item .stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: var(--font-size-stat-val);
  font-weight: 600;
  color: var(--emerald);
  line-height: 1.15;
  white-space: nowrap;
}

.stat-label, .model-stat-label, .stat-item .stat-label {
  display: block;
  font-size: var(--font-size-stat-lbl);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
  margin-top: 0.25rem;
}

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

/* ─── 4. BUTTONS & INTERACTIVE TOUCH TARGETS ─── */
.btn {
  min-height: 48px;
  padding: 0 2rem;
}

.btn-primary {
  min-height: 48px;
  padding: 0 2rem;
  background: #111418;
  color: var(--white);
  border: 1px solid #111418;
  box-shadow: 0 4px 14px rgba(17, 20, 24, 0.12);
}

.btn, .btn-primary, .btn-outline, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  height: 48px;
  padding: 0 2rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  text-decoration: none;
  outline: none;
  position: relative;
}

#canvas-3d-container, #canvas-3d-container canvas {
  touch-action: pan-y;
}

.btn-primary:hover {
  background: #1B4332;
  border-color: #1B4332;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(27, 67, 50, 0.25);
}

.btn-outline, .btn-secondary {
  background: transparent;
  color: #111418;
  border: 1px solid #111418;
  box-shadow: none;
}

.btn-outline:hover, .btn-secondary:hover {
  background: #111418;
  border-color: #111418;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.btn-sm {
  min-height: 40px;
  height: 40px;
  padding: 0 1.25rem;
  font-size: 0.75rem;
}

.btn-full, .w-100 {
  width: 100%;
}

.btn-light {
  background: var(--white);
  color: var(--charcoal);
  border: 1px solid #E5E7EB;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.btn-light:hover {
  background: #FAFAF8;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.btn-group {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* ─── 5. LAYOUT CONTAINERS & SECTIONS ─── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 3.5vw, 3rem);
}

.section {
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
  position: relative;
}

.section-alt {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.section-dark {
  background: linear-gradient(145deg, rgba(22, 27, 34, 0.95) 0%, rgba(13, 17, 23, 0.98) 100%);
  color: var(--white);
  position: relative;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.section-dark h2, .section-dark h3, .section-dark h4 {
  color: var(--white);
}

.section-dark p {
  color: rgba(255, 255, 255, 0.75);
}

.section-dark .stat-value {
  color: var(--amber);
  text-shadow: 0 0 20px var(--amber-glow);
}

.section-dark .stat-label {
  color: rgba(255, 255, 255, 0.6);
}

.section-dark .section-eyebrow {
  color: var(--amber);
}

.section-dark .section-title em {
  color: var(--amber);
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 3rem;
}

.section-header-center {
  text-align: center;
  margin-bottom: 4rem;
}

/* ─── 6. HEADER & SCANDINAVIAN GARIA NAVIGATION ─── */
#site-header, .header-garia-style {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.35s var(--ease);
}

.header-top-bar {
  height: 3px;
  background: linear-gradient(90deg, #1B4332 0%, #D4A017 50%, #1B4332 100%);
  width: 100%;
}

.header-garia-inner {
  padding: 0.85rem 1.5rem 0.65rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.header-logo-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 0.75rem;
  max-height: 100px;
  opacity: 1;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.35s ease, margin-bottom 0.45s ease;
}

.garia-logo-link {
  display: inline-block;
}

.garia-logo-img {
  height: 78px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.05));
  transition: transform 0.3s ease, height 0.3s ease;
}

.garia-logo-img:hover {
  transform: scale(1.03);
}

.header-logo-row .nav-toggle {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.header-nav-row {
  width: 100%;
  display: flex;
  justify-content: center;
}

.garia-nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.25rem;
  flex-wrap: wrap;
}

.garia-nav-link {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #4A5568;
  text-decoration: none;
  padding: 6px 0;
  position: relative;
  transition: color 0.25s ease;
}

.garia-nav-link:hover, .garia-nav-link.active {
  color: var(--emerald);
}

.garia-nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--emerald);
  border-radius: 2px;
}

/* Scrolled header state on desktop */
#main-nav.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.98);
}

#main-nav.scrolled .header-logo-row {
  max-height: 0;
  opacity: 0;
  margin-bottom: 0;
  pointer-events: none;
}

#main-nav.scrolled .header-garia-inner {
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

/* Legacy nav support */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: 80px;
  display: flex;
  align-items: center;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  transition: all 0.5s var(--ease);
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

.nav.scrolled {
  height: 66px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06), inset 0 -1px 0 rgba(255, 255, 255, 0.5);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: transparent;
  padding: 0;
  margin: 0 auto;
}

.nav-link {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  color: var(--text);
  position: relative;
  padding: 6px 12px;
  border-radius: 999px;
  transition: all 0.3s var(--ease);
}

.nav-link:hover, .nav-link.active {
  color: var(--emerald);
  background: transparent;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
  z-index: 10;
}

/* ─── 7. NAV TOGGLE HITBOX & MOBILE DRAWER (100dvh, BLUR, SLIDE DOWN) ─── */
.nav-toggle {
  min-width: 48px;
  min-height: 48px;
  width: 48px;
  height: 48px;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  border-radius: 12px;
  transition: background-color 0.2s ease;
  touch-action: manipulation;
  z-index: 1001;
  position: relative;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: rgba(27, 67, 50, 0.08);
  outline: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.2s ease,
              background-color 0.3s ease;
  transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  padding-top: calc(90px + env(safe-area-inset-top, 0px));
  padding-bottom: max(2rem, calc(1.5rem + env(safe-area-inset-bottom, 0px)));
  padding-left: max(1.5rem, env(safe-area-inset-left, 0px));
  padding-right: max(1.5rem, env(safe-area-inset-right, 0px));
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  max-width: 360px;
  margin: auto 0;
}

.mobile-link {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 5vw, 1.8rem);
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 12px;
  transition: color 0.25s ease, background-color 0.25s ease, transform 0.2s ease;
  touch-action: manipulation;
}

.mobile-link:hover,
.mobile-link:focus-visible {
  color: var(--emerald);
  background: rgba(27, 67, 50, 0.05);
  transform: translateY(-1px);
}

.mobile-link.active {
  color: var(--emerald);
  font-weight: 600;
  background: rgba(27, 67, 50, 0.08);
}

/* ─── 8. HERO SECTION & STATS BAR ─── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero > .container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  padding-top: 4rem;
  padding-bottom: 2rem;
  align-items: center;
}

.hero-title {
  margin-bottom: 1.5rem;
}
.hero-title em {
  color: var(--emerald);
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-2);
  max-width: 520px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-visual {
  position: relative;
}

.hero-image-wrap {
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.6);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.hero-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  object-position: center;
  padding: 12px;
  background: #F8F9FA;
}

.hero-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(17, 20, 24, 0.65) 0%, rgba(17, 20, 24, 0.15) 60%, transparent 100%);
  display: flex;
  align-items: flex-end;
  pointer-events: none;
}

.hero-image-badge {
  background: rgba(17, 20, 24, 0.65);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  padding: 0.85rem 1.35rem;
  color: var(--white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.4);
  pointer-events: auto;
}

.hero-badge-label {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--amber);
  margin-bottom: 0.2rem;
}

.hero-badge-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1.2;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  padding: 2rem;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  box-shadow: var(--glass-shadow);
  text-align: center;
}

.stat {
  text-align: center;
}
.stat-divider {
  width: 1px;
  background: rgba(0, 0, 0, 0.08);
  margin: 0 auto;
}

.spec-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  width: 100%;
  max-width: 1100px;
  margin: 3rem auto 0;
  padding: 2.5rem 2rem;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  text-align: center;
  align-items: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  width: 100%;
  max-width: 1000px;
  margin: 3rem auto 0;
  text-align: center;
  align-items: center;
  padding: 2rem;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: 24px;
  border: 1px solid var(--glass-border);
}

.page-hero {
  padding: clamp(7rem, 12vw, 10rem) 0 clamp(2.5rem, 5vw, 4.5rem);
  text-align: center;
  position: relative;
}

.page-hero-sm {
  padding: clamp(6rem, 10vw, 8.5rem) 0 clamp(2rem, 4vw, 3rem);
}

/* ─── 9. LUXURY SHOWREEL SLIDER ─── */
.showreel-section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  position: relative;
  overflow: hidden;
}

.showreel-track-wrap {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 1rem 0;
}

.showreel-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.showreel-slide {
  flex: 0 0 calc(33.333% - 1rem);
  min-width: 0;
  background: #FFFFFF;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.showreel-slide:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.showreel-img-wrap {
  position: relative;
  background: #F8F9FA;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  aspect-ratio: 4 / 3;
}

.showreel-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  transition: transform 0.4s ease;
}

.showreel-slide:hover .showreel-img {
  transform: scale(1.04);
}

.showreel-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.showreel-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--text);
}

.showreel-price {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--emerald);
  margin-bottom: 0.75rem;
}

.showreel-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.showreel-pill {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(27, 67, 50, 0.06);
  color: var(--emerald);
  border: 1px solid rgba(27, 67, 50, 0.12);
}

.showreel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.showreel-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid var(--border-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: all 0.25s ease;
  cursor: pointer;
}

.showreel-arrow:hover {
  background: var(--emerald);
  color: #FFFFFF;
  border-color: var(--emerald);
  transform: scale(1.08);
}

.showreel-dots {
  display: flex;
  gap: 0.5rem;
}

.showreel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.showreel-dot.active {
  background: var(--emerald);
  width: 24px;
  border-radius: 999px;
}

/* ─── 10. FLEET & SERIES CARDS ─── */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
}

.fleet-grid-6, .grid-3x2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.fleet-grid-4, .grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.25rem;
  width: 100%;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.fleet-grid-2, .grid-2x1, .service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.25rem;
  width: 100%;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  transition: all 0.5s var(--ease);
  display: flex;
  flex-direction: column;
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.9) 50%, transparent 100%);
  z-index: 2;
}

.card:hover {
  transform: translateY(-8px);
  background: var(--glass-bg-hover);
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--glass-shadow-hover);
}

.card-image {
  position: relative;
  overflow: hidden;
  background: rgba(240, 242, 245, 0.5);
}

.card-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  object-position: center;
  padding: 12px;
  background: #F8F9FA;
  transition: transform 0.8s var(--ease);
}

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

.card-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(27, 67, 50, 0.88);
  color: var(--white);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tag-dark {
  background: rgba(17, 20, 24, 0.85);
}
.tag-red {
  background: rgba(185, 28, 28, 0.85);
}

.card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-title {
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
}

.card-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.rate-badge {
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  font-size: 0.76rem !important;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(27, 67, 50, 0.1);
  color: var(--emerald);
  border: 1px solid rgba(27, 67, 50, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.card-subtitle {
  font-size: 0.8rem;
  color: var(--text-3);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.card-desc {
  font-size: 0.92rem;
  color: var(--text-2);
  line-height: 1.65;
  flex: 1;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.card-specs {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-2);
}

.card-specs span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.icon-xs {
  width: 14px;
  height: 14px;
}

.card-link {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--emerald);
  transition: color 0.3s;
}

.card-link:hover {
  color: var(--charcoal);
}

.card-features {
  margin-top: 0.75rem;
}
.card-features li {
  font-size: 0.85rem;
  color: var(--text-2);
  padding: 0.2rem 0;
}
.card-features li::before {
  content: '✓ ';
  color: var(--emerald);
  font-weight: 600;
}

.series-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.series-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  transition: all 0.5s var(--ease);
}

.series-card:hover {
  transform: translateY(-8px);
  background: var(--glass-bg-hover);
  box-shadow: var(--glass-shadow-hover);
}

.series-card-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  object-position: center;
  padding: 12px;
  background: #F8F9FA;
}

.series-card-body {
  padding: 2.25rem;
}

.series-card-body h3 {
  font-size: 1.65rem;
  margin-bottom: 0.5rem;
}

.series-card-models {
  font-size: 0.85rem;
  color: var(--text-3);
  margin-bottom: 1rem;
  font-weight: 500;
}

/* ─── 11. TECHNOLOGY GRID ─── */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  width: 100%;
}

.tech-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2.25rem;
  box-shadow: var(--glass-shadow);
  transition: all 0.4s var(--ease);
}

.tech-card:hover {
  transform: translateY(-6px);
  background: var(--glass-bg-hover);
  box-shadow: var(--glass-shadow-hover);
}

.tech-icon {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: transparent;
  color: var(--emerald);
  margin-bottom: 1.25rem;
  border: 1px solid rgba(27, 67, 50, 0.15);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.8);
}

.tech-icon svg {
  width: 28px;
  height: 28px;
}

.tech-title {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.tech-desc {
  font-size: 0.92rem;
  color: var(--text-2);
  line-height: 1.65;
}

/* ─── 12. MODEL PAGES & SPECS SECTION ─── */
.model-hero {
  padding-top: 130px;
  padding-bottom: 2rem;
  position: relative;
}

.model-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.model-hero-text .section-eyebrow {
  margin-bottom: 0.75rem;
}

.model-hero-text h1 {
  margin-bottom: 1rem;
}

.model-hero-text p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-2);
}

.model-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 1.75rem 0;
  padding: 1.25rem 1.5rem;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: var(--glass-shadow);
  text-align: center;
}

.model-hero-stats .stat-item {
  text-align: center;
}

.model-hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.model-hero-img {
  width: 100%;
  max-width: 620px;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  object-position: center;
  padding: 16px;
  background: #F8F9FA;
  border-radius: 24px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: 1.5rem;
}

.anti-corrosion-trust-strip {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(27, 67, 50, 0.06);
  border: 1px solid rgba(27, 67, 50, 0.18);
  border-radius: 12px;
  padding: 0.85rem 1.25rem;
  margin: 1.25rem 0;
  font-size: 0.88rem;
  color: var(--emerald);
  font-weight: 500;
}

.specs-section {
  padding: 1.5rem 0 4rem;
  position: relative;
}

.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
}

.specs-table {
  width: 100%;
  height: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: 20px;
  padding: 1.75rem;
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  display: flex;
  flex-direction: column;
}

.specs-table caption {
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  color: var(--emerald);
  padding-bottom: 1rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid rgba(27, 67, 50, 0.12);
  display: block;
}

.specs-table tbody {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
  justify-content: space-around;
}

.specs-table tr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.specs-table tr:last-child {
  border-bottom: none;
}

.specs-table th {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  padding-right: 1rem;
  flex: 1;
}

.specs-table td {
  font-size: 0.88rem;
  color: var(--text-2);
  text-align: right;
  flex: 1.2;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  justify-content: center;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur-sm);
  -webkit-backdrop-filter: var(--glass-blur-sm);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: var(--glass-shadow);
}

.feature-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: transparent;
  color: var(--emerald);
  flex-shrink: 0;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-text h4 {
  margin-bottom: 0.2rem;
  font-size: 0.95rem;
}

.feature-text p {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.5;
}

.ideal-for {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
  justify-content: center;
}

.ideal-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 999px;
  background: transparent;
  color: var(--emerald);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 1px solid rgba(27, 67, 50, 0.15);
  backdrop-filter: var(--glass-blur-sm);
  -webkit-backdrop-filter: var(--glass-blur-sm);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

/* ─── 13. CONFIGURATOR LAYOUT & STEPPERS ─── */
.config-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  min-height: 80vh;
}

.config-visual {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 2.25rem;
  box-shadow: var(--glass-shadow);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 96px;
  align-self: start;
}

.config-hud {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.config-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-3);
  font-weight: 600;
}

.view-mode-bar {
  display: flex;
  gap: 6px;
  background: rgba(241, 245, 249, 0.85);
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.mode-pill {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 500;
  border: none;
  background: transparent;
  color: var(--text-2);
  cursor: pointer;
  transition: all 0.3s var(--ease);
  min-height: 36px;
}

.mode-pill:hover {
  color: var(--text);
}

.mode-pill.active {
  background: #FFFFFF;
  color: var(--emerald);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.config-viewport {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 280px;
  padding: 1rem 0;
}

.config-svg {
  width: 100%;
  max-width: 750px;
  height: auto;
}

.svg-t {
  transition: opacity 0.4s ease, fill 0.4s ease;
}

.config-solar-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 80px;
  background: radial-gradient(ellipse, rgba(212, 160, 23, 0.22) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.config-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: var(--glass-blur-sm);
  -webkit-backdrop-filter: var(--glass-blur-sm);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  margin-top: 1rem;
}

.config-summary-text {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.5;
}

.config-solar-badge {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
}

.solar-on {
  background: rgba(27, 67, 50, 0.12);
  color: var(--emerald);
  border: 1px solid rgba(27, 67, 50, 0.25);
}

.solar-off {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text-3);
}

.config-controls {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  box-shadow: var(--glass-shadow);
  max-height: 85vh;
  overflow-y: auto;
}

.config-header {
  margin-bottom: 2rem;
}
.config-title {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}
.config-desc {
  font-size: 0.95rem;
  color: var(--text-2);
}
.config-cta {
  margin-top: 2rem;
}

.step {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.step:last-child {
  border-bottom: none;
}

.step-header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}

.step-num {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-3);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-2);
  border-radius: 50%;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.step-open .step-num {
  background: var(--emerald);
  color: var(--white);
  border-color: var(--emerald);
  box-shadow: 0 4px 12px var(--emerald-glow);
}

.step-title {
  font-size: 1rem;
  font-weight: 600;
  flex: 1;
  color: var(--text);
}

.step-summary {
  font-size: 0.85rem;
  color: var(--text-3);
  margin-left: auto;
}

.step-chevron {
  color: var(--text-3);
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
}

.step-open .step-chevron {
  transform: rotate(180deg);
  color: var(--emerald);
}

.step-body {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s var(--ease), opacity 0.4s ease, padding 0.4s ease;
}

.step-open .step-body {
  max-height: 800px;
  opacity: 1;
  padding-bottom: 1.5rem;
}

.opt-grid {
  display: grid;
  gap: 0.75rem;
}
.opt-grid-1 {
  grid-template-columns: 1fr;
}
.opt-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.opt-card {
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 14px;
  padding: 1.1rem;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  min-height: 48px;
}

.opt-card:hover {
  border-color: rgba(27, 67, 50, 0.3);
  background: rgba(255, 255, 255, 0.85);
  transform: translateY(-2px);
}

.opt-card.selected {
  border-color: var(--emerald);
  box-shadow: 0 0 0 2px var(--emerald), 0 8px 20px var(--emerald-glow);
  background: rgba(27, 67, 50, 0.04);
}

.opt-name {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.opt-meta {
  font-size: 0.8rem;
  color: var(--text-3);
}

.opt-badge {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.05);
  color: var(--text-2);
  font-weight: 600;
}

.opt-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.opt-check {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--emerald);
  flex-shrink: 0;
  box-shadow: 0 2px 6px var(--emerald-glow);
}

.opt-card:not(.selected) .opt-check {
  background: rgba(0, 0, 0, 0.08);
}

.color-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.color-pick {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.color-pick .color-dot {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1), inset 0 2px 4px rgba(0, 0, 0, 0.15);
}

.color-pick.selected .color-dot {
  border-color: var(--emerald);
  box-shadow: 0 0 0 4px var(--emerald-glow), 0 6px 14px rgba(0, 0, 0, 0.15);
  transform: scale(1.08);
}

.color-name {
  font-size: 0.72rem;
  color: var(--text-2);
  text-align: center;
  font-weight: 500;
}

/* ─── 14. CONTACT PAGE & FORM CONTROLS ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  max-width: 1140px;
  margin: 0 auto;
}

.contact-hero {
  padding-top: 130px;
  padding-bottom: 2rem;
  text-align: center;
  background: linear-gradient(180deg, #FAFAF8 0%, #FFFFFF 100%);
}
.contact-hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.75rem);
  font-weight: 600;
  margin-top: 0.5rem;
  color: var(--text);
}
.contact-hero-desc {
  max-width: 560px;
  margin: 0.75rem auto 0;
  color: var(--text-2);
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-section {
  padding: 2rem 0 4rem;
}
.contact-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  align-items: start;
  max-width: 1100px;
}

.contact-cards-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info-card {
  background: #ffffff;
  padding: 1.25rem 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.contact-card-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 0.35rem;
}

.contact-card-val {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
}

.contact-card-val-link {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  word-break: break-all;
}

.contact-card-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--emerald);
  text-decoration: none;
  display: inline-block;
  margin-top: 0.25rem;
}

.contact-card-phone-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.contact-card-phone-link {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}

.wa-status-badge {
  font-size: 0.72rem;
  background: rgba(37, 211, 102, 0.12);
  color: #128C7E;
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 600;
  white-space: nowrap;
}

.contact-wa-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: #25D366;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 1.5rem;
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.25);
  transition: all 0.2s ease;
  min-height: 48px;
}
.contact-wa-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35);
}

.contact-form-card {
  background: #ffffff;
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
}

.contact-form-heading {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: var(--text);
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 0 1.25rem;
}
.contact-checkbox-row input {
  width: 20px;
  height: 20px;
  accent-color: var(--emerald);
  cursor: pointer;
  flex-shrink: 0;
}
.contact-checkbox-row label {
  margin: 0;
  cursor: pointer;
  text-transform: none;
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.4;
}

.contact-btn-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.contact-submit-wa-btn {
  background: #25D366;
  border: none;
  min-height: 48px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 12px;
  color: #ffffff;
}

.contact-submit-email-btn {
  min-height: 48px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 12px;
}

.contact-details {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.contact-icon {
  width: 24px;
  height: 24px;
  color: var(--emerald);
  flex-shrink: 0;
  margin-top: 3px;
}

.contact-item strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text);
}

.contact-item span {
  font-size: 0.9rem;
  color: var(--text-2);
}

.contact-form-wrap {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: var(--glass-shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group label, .form-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea,
.form-group select,
.form-input {
  display: block;
  width: 100%;
  min-height: 48px;
  height: 50px;
  padding: 0 1.25rem;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 12px;
  outline: none;
  transition: all 0.3s var(--ease);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02), 0 2px 6px rgba(0, 0, 0, 0.02);
  -webkit-appearance: none;
  appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus,
.form-input:focus {
  border-color: var(--emerald);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 0 4px var(--emerald-glow), 0 4px 16px rgba(0, 0, 0, 0.04);
}

.form-group textarea, .form-textarea {
  height: auto;
  min-height: 120px;
  padding: 1rem 1.25rem;
  resize: vertical;
  line-height: 1.6;
}

/* ─── 15. MODAL DIALOGS ─── */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}

.modal.open {
  opacity: 1;
  pointer-events: all;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.modal-card {
  position: relative;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 28px;
  width: 90%;
  max-width: 480px;
  padding: 2.5rem;
  box-shadow: 0 40px 80px -15px rgba(0, 0, 0, 0.25), inset 0 1px 2px rgba(255, 255, 255, 1);
  transform: translateY(20px);
  transition: transform 0.4s var(--ease);
  text-align: center;
  z-index: 1;
}

.modal.open .modal-card {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(0, 0, 0, 0.05);
  border: none;
  min-width: 48px;
  min-height: 48px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  transition: all 0.3s;
  cursor: pointer;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.1);
  color: var(--text);
}

.modal-icon {
  margin-bottom: 1rem;
}
.modal-icon svg {
  width: 48px;
  height: 48px;
  color: var(--emerald);
  margin: 0 auto;
}

.modal-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.modal-desc {
  font-size: 0.95rem;
  color: var(--text-2);
  margin-bottom: 1.5rem;
}
.modal-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ─── 16. FOOTER COMPONENT ─── */
.footer {
  background: linear-gradient(180deg, #161B22 0%, #0D1117 100%);
  color: var(--white);
  padding: clamp(4rem, 8vw, 6rem) 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-logo-wrap {
  display: inline-block;
  margin-bottom: 0.5rem;
  text-decoration: none;
}

.footer-logo-img {
  height: 68px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.85)) drop-shadow(0 0 4px rgba(255, 255, 255, 0.95));
  transition: transform 0.3s var(--ease), filter 0.3s var(--ease);
}

.footer-logo-img:hover {
  transform: scale(1.03);
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.95)) drop-shadow(0 0 8px rgba(255, 255, 255, 1));
}

.footer-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.18em;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-size: 0.8rem;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.footer-desc {
  font-size: 0.85rem;
  color: #8C98A4;
  line-height: 1.6;
  max-width: 300px;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #8C98A4;
  margin-bottom: 1rem;
}

.footer-list li {
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  color: #999;
}

.footer-list a {
  color: #999;
  transition: color 0.3s;
}

.footer-list a:hover {
  color: var(--amber);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  color: #666;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: #666;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #fff;
}

/* ─── 17. FLOATING WHATSAPP CTA BUTTON (Z-INDEX 990) ─── */
@keyframes wa-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6), 0 8px 24px rgba(37, 211, 102, 0.35);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(37, 211, 102, 0), 0 8px 24px rgba(37, 211, 102, 0.35);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 8px 24px rgba(37, 211, 102, 0.35);
  }
}

#whatsapp-floating-btn {
  position: fixed;
  bottom: max(24px, calc(16px + env(safe-area-inset-bottom, 0px)));
  right: max(24px, calc(16px + env(safe-area-inset-right, 0px)));
  z-index: 990;
  width: 58px;
  height: 58px;
  min-width: 48px;
  min-height: 48px;
  background: #25D366;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #FFFFFF;
  animation: wa-pulse 2.5s infinite;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
  will-change: transform;
  contain: layout paint;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

#whatsapp-floating-btn:hover,
#whatsapp-floating-btn:focus-visible {
  transform: scale(1.08) translateY(-3px);
  background: #20BA5A;
  animation: none;
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.5);
  outline: none;
}

#whatsapp-floating-btn svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
  flex-shrink: 0;
}

/* Collision Avoidance: Hide when Nav Drawer or Modal is Open */
body.nav-open #whatsapp-floating-btn,
body.modal-open #whatsapp-floating-btn,
.mobile-menu.open ~ #whatsapp-floating-btn,
.modal.open ~ #whatsapp-floating-btn {
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
  transform: scale(0.8) !important;
}

/* ─── 18. REVEAL AND IMMEDIATE VISIBILITY ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.hero .reveal, .page-hero .reveal, .hero-visual, .hero-title, .hero-desc, .hero-actions, .hero-stats {
  opacity: 1;
  transform: none;
  visibility: visible;
}

/* ==========================================================================
   STANDARDIZED 6-TIER RESPONSIVE BREAKPOINT HIERARCHY
   ========================================================================== */

/* ==========================================================================
   TIER 1: SMALL MOBILE / COMPACT (320px – 479px)
   ========================================================================== */
@media (max-width: 479px) {
  body {
    padding-top: 80px;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* Header & Navigation */
  .header-logo-row .nav-toggle,
  .nav-toggle {
    display: flex;
  }
  .header-nav-row,
  .nav-links {
    display: none;
  }
  .garia-logo-img {
    height: 44px;
  }
  #main-nav.scrolled .header-logo-row {
    max-height: 70px;
    opacity: 1;
    margin-bottom: 0;
    pointer-events: auto;
  }
  #main-nav.scrolled .garia-logo-img {
    height: 38px;
  }

  /* Hero Section */
  .hero > .container {
    padding-top: 1.5rem;
    gap: 1.75rem;
    grid-template-columns: 1fr;
  }

  .hero-actions, .hero-ctas {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }
  .hero-actions .btn, .hero-actions .btn-primary, .hero-actions .btn-outline,
  .hero-ctas .btn, .hero-ctas .btn-primary, .hero-ctas .btn-secondary {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }

  /* Stats Grids — 2-column balanced */
  .hero-stats, .spec-bar, .stats-grid, .model-hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1.25rem 1rem;
  }
  .stat-divider {
    display: none;
  }

  /* All Grids Single Column */
  .fleet-grid, .fleet-grid-6, .fleet-grid-4, .fleet-grid-2,
  .series-grid, .tech-grid, .values-grid, .contact-grid,
  .contact-grid-layout, .contact-page-grid, .grid-3x2, .grid-2x2, .grid-2x1,
  .service-grid, .specs-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .showreel-slide {
    flex: 0 0 100%;
  }

  .form-row, .contact-form-row, .contact-btn-grid, .opt-grid-2 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .model-hero {
    padding-top: 95px;
  }
  .model-hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .config-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  .config-visual {
    position: static;
    padding: 1.25rem 0.85rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  .config-controls {
    padding: 1.25rem 0.85rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  .view-mode-bar {
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
  }
  .mode-pill {
    padding: 6px 10px;
    font-size: 0.72rem;
  }

  .contact-hero {
    padding-top: 85px;
  }
  .contact-form-card {
    padding: 1rem 1rem;
  }
  .contact-submit-wa-btn,
  .contact-submit-email-btn {
    width: 100%;
    min-height: 48px;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
  }
  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
  }

  #whatsapp-floating-btn {
    bottom: max(16px, calc(12px + env(safe-area-inset-bottom, 0px)));
    right: max(16px, calc(12px + env(safe-area-inset-right, 0px)));
    width: 50px;
    height: 50px;
    min-width: 48px;
    min-height: 48px;
  }
  #whatsapp-floating-btn svg {
    width: 26px;
    height: 26px;
  }
}

/* ==========================================================================
   TIER 2: LARGE MOBILE / PHABLET (480px – 767px)
   ========================================================================== */
@media (min-width: 480px) and (max-width: 767px) {
  body {
    padding-top: 90px;
  }

  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  /* Header & Navigation */
  .header-logo-row .nav-toggle,
  .nav-toggle {
    display: flex;
  }
  .header-nav-row,
  .nav-links {
    display: none;
  }
  .garia-logo-img {
    height: 52px;
  }
  #main-nav.scrolled .header-logo-row {
    max-height: 70px;
    opacity: 1;
    margin-bottom: 0;
    pointer-events: auto;
  }
  #main-nav.scrolled .garia-logo-img {
    height: 38px;
  }

  .hero > .container {
    padding-top: 2rem;
    gap: 2rem;
    grid-template-columns: 1fr;
  }

  .hero-actions, .hero-ctas {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .hero-stats, .spec-bar, .stats-grid, .model-hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    padding: 1.5rem;
  }
  .stat-divider {
    display: none;
  }

  .fleet-grid, .series-grid, .values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .fleet-grid-6, .fleet-grid-4, .fleet-grid-2,
  .grid-3x2, .grid-2x2, .grid-2x1, .service-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .showreel-slide {
    flex: 0 0 calc(50% - 0.75rem);
  }

  .model-hero {
    padding-top: 105px;
  }
  .model-hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-grid, .contact-grid-layout, .config-layout, .specs-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .config-visual {
    position: static;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  #whatsapp-floating-btn {
    bottom: max(18px, calc(14px + env(safe-area-inset-bottom, 0px)));
    right: max(18px, calc(14px + env(safe-area-inset-right, 0px)));
    width: 54px;
    height: 54px;
  }
  #whatsapp-floating-btn svg {
    width: 28px;
    height: 28px;
  }
}

/* ==========================================================================
   TIER 3: TABLET PORTRAIT (768px – 1023px)
   ========================================================================== */
@media (min-width: 768px) and (max-width: 1023px) {
  body {
    padding-top: 100px;
  }

  .container {
    max-width: 920px;
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .header-logo-row .nav-toggle,
  .nav-toggle {
    display: flex;
  }
  .header-nav-row,
  .nav-links {
    display: none;
  }
  .garia-logo-img {
    height: 60px;
  }
  #main-nav.scrolled .header-logo-row {
    max-height: 70px;
    opacity: 1;
    margin-bottom: 0;
    pointer-events: auto;
  }
  #main-nav.scrolled .garia-logo-img {
    height: 38px;
  }

  .hero > .container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-stats, .spec-bar {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    padding: 1.5rem 1rem;
  }

  .fleet-grid, .fleet-grid-6, .series-grid, .values-grid, .specs-grid,
  .fleet-grid-4, .fleet-grid-2, .grid-3x2, .grid-2x2, .grid-2x1, .service-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .showreel-slide {
    flex: 0 0 calc(50% - 0.75rem);
  }

  .model-hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .model-hero-stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .config-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .config-visual {
    position: static;
  }

  .contact-grid, .contact-grid-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

/* ==========================================================================
   TIER 4: TABLET LANDSCAPE / SMALL DESKTOP (1024px – 1279px)
   ========================================================================== */
@media (min-width: 1024px) and (max-width: 1279px) {
  body {
    padding-top: 140px;
  }

  .container {
    max-width: 1140px;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }

  .header-nav-row,
  .nav-links,
  .garia-nav-links {
    display: flex;
  }
  .header-logo-row .nav-toggle,
  .nav-toggle {
    display: none;
  }

  .hero > .container {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
  }

  .hero-stats, .spec-bar {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }

  .fleet-grid, .fleet-grid-6, .grid-3x2 {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .series-grid, .specs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .tech-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }

  .config-layout {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
    min-height: 80vh;
  }
  .config-visual {
    position: sticky;
    top: 96px;
    align-self: start;
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
  }
}

/* ==========================================================================
   TIER 5: STANDARD DESKTOP (1280px – 1439px)
   ========================================================================== */
@media (min-width: 1280px) and (max-width: 1439px) {
  body {
    padding-top: 142px;
  }

  .container {
    max-width: 1280px;
    padding-left: 3rem;
    padding-right: 3rem;
  }

  .header-nav-row,
  .nav-links,
  .garia-nav-links {
    display: flex;
  }
  .header-logo-row .nav-toggle,
  .nav-toggle {
    display: none;
  }

  .hero > .container {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
  }

  .hero-stats, .spec-bar {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }

  .fleet-grid, .fleet-grid-6, .grid-3x2 {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }

  .series-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }

  .tech-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }

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

/* ==========================================================================
   TIER 6: LARGE / ULTRA-WIDE DESKTOP (1440px+)
   ========================================================================== */
@media (min-width: 1440px) {
  body {
    padding-top: 145px;
  }

  .container {
    max-width: 1400px;
    padding-left: 3.5rem;
    padding-right: 3.5rem;
  }

  .header-nav-row,
  .nav-links,
  .garia-nav-links {
    display: flex;
  }
  .header-logo-row .nav-toggle,
  .nav-toggle {
    display: none;
  }

  .hero > .container {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 5rem;
  }

  .hero-stats, .spec-bar {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }

  .fleet-grid, .fleet-grid-6, .grid-3x2 {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }

  .tech-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
  }

  .footer-grid {
    grid-template-columns: 2.5fr 1fr 1fr 1fr;
    gap: 3rem;
  }
}

/* ==========================================================================
   DEVICE SPECIALIZATION & ACCESSIBILITY
   ========================================================================== */
@media (max-height: 500px) and (orientation: landscape) {
  .page-hero {
    padding: 4rem 0 1.5rem;
  }
  .hero > .container {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding-top: 0.5rem;
  }
}

@media (hover: none) {
  .btn:hover, .btn-primary:hover, .btn-outline:hover, a:hover {
    transform: none;
  }
  .card:hover, .series-card:hover, .tech-card:hover {
    transform: none;
    box-shadow: var(--glass-shadow);
  }
}

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

@media (prefers-contrast: high) {
  .card, .tech-card, .series-card, .specs-table {
    border: 2px solid var(--charcoal);
  }
  .btn-primary {
    background: var(--charcoal);
    border: 2px solid var(--charcoal);
  }
}

@media print {
  .nav, .header-garia-style, #site-header, .mobile-menu, #whatsapp-floating-btn, .modal {
    display: none !important;
  }
  body {
    background: white;
    color: black;
    font-size: 12pt;
    padding-top: 0 !important;
  }
  .container {
    max-width: 100%;
  }
}
