/* ═══════════════════════════════════════════════════
   TOYOTA C-HR — Premium Presentation Stylesheet
   ═══════════════════════════════════════════════════ */

:root {
  --bg:          #0c0e12;
  --bg-alt:      #111419;
  --surface:     rgba(17, 20, 25, 0.82);
  --surface-hover: rgba(255, 255, 255, 0.06);
  --glass:       rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --text:        #f0ece4;
  --text-muted:  #9b978e;
  --accent:      #e8913a;
  --accent-dim:  rgba(232, 145, 58, 0.14);
  --accent-glow: rgba(232, 145, 58, 0.45);
  --gold:        #f2c96d;
  --green:       #7ad08a;
  --green-dim:   rgba(122, 208, 138, 0.14);
  --red-dim:     rgba(255, 100, 100, 0.08);
  --radius:      20px;
  --radius-lg:   28px;
  --radius-sm:   12px;
  --max-w:       1260px;
  --ease:        cubic-bezier(0.16, 1, 0.3, 1);
  --transition:  0.32s var(--ease);
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; border: 0; outline: 0; }
button { cursor: pointer; }

.container {
  width: min(var(--max-w), calc(100% - 48px));
  margin: 0 auto;
}

/* ─── Scroll Progress ─── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  z-index: 100;
  transition: width 0.08s linear;
}

/* ─── Particles Canvas ─── */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* ══════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 72px;
  background: rgba(12, 14, 18, 0.6);
  backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(12, 14, 18, 0.92);
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
}

.nav-brand-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  color: #1a1206;
}

.nav-brand-icon svg { width: 18px; height: 18px; }

.nav-links {
  display: flex;
  gap: 8px;
}

.nav-links a {
  position: relative;
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition), background var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 999px;
  transform: translateX(-50%);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--text);
}

.nav-links a.is-active::after {
  width: 20px;
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  background: transparent;
}

.nav-burger span {
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ══════════════════════════════════════════
   HERO
   ══════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1) contrast(0.95);
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(12,14,18,0.55), transparent 70%),
    radial-gradient(ellipse at 80% 30%, rgba(232,145,58,0.08), transparent 50%),
    linear-gradient(180deg, rgba(12,14,18,0.3) 0%, rgba(12,14,18,0.7) 60%, var(--bg) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  padding: 0 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  backdrop-filter: blur(12px);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(3.5rem, 12vw, 9rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-accent {
  background: linear-gradient(135deg, var(--accent), var(--gold));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  max-width: 520px;
  margin: 0 auto 36px;
  color: var(--text-muted);
  font-size: 1.15rem;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  z-index: 2;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: all var(--transition);
}

.btn-glow {
  background: linear-gradient(135deg, var(--accent), #d06a18);
  color: #fff;
  box-shadow: 0 4px 24px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn-ghost {
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(8px);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

/* ══════════════════════════════════════════
   SECTIONS
   ══════════════════════════════════════════ */
.section {
  position: relative;
  padding: 120px 0;
  z-index: 1;
}

.section--dark {
  background: var(--bg-alt);
}

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

.section-header {
  max-width: 640px;
  margin-bottom: 56px;
}

.label {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-header h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ══════════════════════════════════════════
   SPECS
   ══════════════════════════════════════════ */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.spec-card {
  position: relative;
  padding: 28px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  background: var(--glass);
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.spec-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  opacity: 0;
  transition: opacity var(--transition);
}

.spec-card:hover {
  transform: translateY(-4px);
  border-color: rgba(232,145,58,0.2);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}

.spec-card:hover::before { opacity: 1; }

.spec-card--hero {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  padding: 0;
}

.spec-visual {
  position: relative;
  border-radius: var(--radius) 0 0 var(--radius);
  overflow: hidden;
}

.spec-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 300px;
}

.spec-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 50%, var(--bg) 100%);
}

.spec-card--hero .spec-card-content {
  padding: 36px 36px 36px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.spec-card--hero h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.spec-card--hero p {
  color: var(--text-muted);
  line-height: 1.7;
}

.spec-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, var(--text), var(--gold));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.spec-unit {
  display: block;
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
}

.spec-desc {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Dimensions strip */
.dimensions-strip {
  margin-top: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 28px 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  background: var(--glass);
  backdrop-filter: blur(12px);
  flex-wrap: wrap;
}

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

.dim-label {
  display: block;
  margin-bottom: 6px;
  color: var(--text-muted);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dim-item strong {
  font-size: 1.05rem;
  font-weight: 600;
}

.dim-sep {
  width: 1px;
  height: 32px;
  background: var(--glass-border);
}

/* ══════════════════════════════════════════
   TRIMS / FINITIONS
   ══════════════════════════════════════════ */
.trims-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 20px;
}

.trim-tabs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  background: var(--glass);
  backdrop-filter: blur(12px);
}

.trim-tab {
  width: 100%;
  text-align: left;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
  transition: all var(--transition);
}

.trim-tab:hover {
  background: var(--surface-hover);
}

.trim-tab.is-active {
  background: var(--accent-dim);
  border-color: rgba(232,145,58,0.25);
}

.trim-tab strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.trim-tab span {
  display: block;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.trim-detail {
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  background: var(--glass);
  backdrop-filter: blur(12px);
}

.trim-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
}

.trim-head h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 10px;
}

.trim-head p {
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 48ch;
}

.trim-counter {
  text-align: center;
  padding: 18px 24px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.04);
  min-width: 100px;
  flex-shrink: 0;
}

.trim-counter-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.trim-counter span {
  display: block;
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.trim-additions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.trim-addition-pill {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--accent-dim);
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 500;
}

.trim-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.trim-cat-card {
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  background: rgba(255,255,255,0.025);
}

.trim-cat-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--accent);
}

.trim-feat-item {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.04);
  margin-bottom: 8px;
}

.trim-feat-item:last-child { margin-bottom: 0; }

.trim-feat-item strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 4px;
}

.trim-feat-item p {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

/* ══════════════════════════════════════════
   MATRIX
   ══════════════════════════════════════════ */
.matrix-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding: 16px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  background: var(--glass);
  backdrop-filter: blur(12px);
}

.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cat-pill {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all var(--transition);
}

.cat-pill:hover {
  background: var(--surface-hover);
  color: var(--text);
}

.cat-pill.is-active {
  background: var(--accent-dim);
  border-color: rgba(232,145,58,0.25);
  color: var(--gold);
}

.search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 260px;
  padding: 0 16px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: rgba(255,255,255,0.03);
  transition: border-color var(--transition);
}

.search-field:focus-within {
  border-color: rgba(232,145,58,0.35);
}

.search-field svg {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.search-field input {
  flex: 1;
  background: transparent;
  color: var(--text);
  font-size: 0.9rem;
}

.search-field input::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

.search-field--compact {
  min-width: 0;
  width: 100%;
}

.matrix-container {
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  background: var(--glass);
  backdrop-filter: blur(12px);
  overflow: auto;
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
}

.matrix-table th,
.matrix-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.matrix-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: rgba(12,14,18,0.96);
  backdrop-filter: blur(8px);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.matrix-table tbody tr {
  transition: background 0.2s ease;
}

.matrix-table tbody tr:hover {
  background: rgba(255,255,255,0.03);
}

.feat-cell {
  display: grid;
  gap: 4px;
}

.feat-cell strong {
  font-size: 0.92rem;
  font-weight: 600;
}

.feat-cell span {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.icon-check,
.icon-dash {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
}

.icon-check {
  background: var(--green-dim);
  color: var(--green);
}

.icon-dash {
  background: var(--red-dim);
  color: #666;
}

/* ══════════════════════════════════════════
   GLOSSARY
   ══════════════════════════════════════════ */
.glossary-layout {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 20px;
}

.glossary-sidebar {
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  background: var(--glass);
  backdrop-filter: blur(12px);
}

.glossary-list {
  display: grid;
  gap: 6px;
  margin-top: 16px;
  max-height: 580px;
  overflow-y: auto;
  padding-right: 6px;
}

/* Scrollbar */
.glossary-list::-webkit-scrollbar { width: 4px; }
.glossary-list::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.1);
  border-radius: 999px;
}

.glossary-btn {
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  background: rgba(255,255,255,0.025);
  color: var(--text);
  transition: all 0.2s ease;
}

.glossary-btn:hover {
  background: var(--surface-hover);
}

.glossary-btn.is-active {
  background: var(--accent-dim);
  border-color: rgba(232,145,58,0.25);
}

.glossary-btn strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 3px;
}

.glossary-btn em {
  font-style: normal;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.glossary-panel {
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  background: var(--glass);
  backdrop-filter: blur(12px);
  min-height: 420px;
}

.glossary-panel h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.1;
}

.glossary-panel p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.avail-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.avail-pill {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--green-dim);
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 600;
}

/* ══════════════════════════════════════════
   HIGHLIGHTS
   ══════════════════════════════════════════ */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.highlight-card {
  position: relative;
  padding: 28px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  background: var(--glass);
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}

.highlight-card .hl-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--accent-dim);
  margin-bottom: 18px;
  font-size: 1.3rem;
}

.highlight-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.highlight-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.highlight-card .hl-stat {
  margin-top: 18px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ══════════════════════════════════════════
   GALLERY
   ══════════════════════════════════════════ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  overflow: hidden;
  cursor: pointer;
  background: #0a0c0f;
  transition: transform var(--transition), box-shadow var(--transition);
}

.gallery-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.gallery-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.gallery-thumb img,
.gallery-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-card:hover .gallery-thumb img,
.gallery-card:hover .gallery-thumb video {
  transform: scale(1.06);
}

.gallery-info {
  padding: 16px 18px;
}

.gallery-type {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.gallery-info h3 {
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.gallery-info p {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

/* ══════════════════════════════════════════
   LIGHTBOX
   ══════════════════════════════════════════ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 32px;
  background: rgba(4, 6, 9, 0.94);
  backdrop-filter: blur(16px);
  animation: fadeIn 0.3s ease;
}

.lightbox[hidden] { display: none; }

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: var(--text);
  transition: background 0.2s ease;
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.16);
}

.lightbox-close svg { width: 22px; height: 22px; }

.lightbox-body {
  max-width: 1100px;
  width: 100%;
  max-height: calc(100vh - 100px);
}

.lightbox-body img,
.lightbox-body video {
  width: 100%;
  max-height: calc(100vh - 100px);
  object-fit: contain;
  border-radius: var(--radius);
}

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
.site-footer {
  position: relative;
  z-index: 1;
  padding: 48px 0;
  border-top: 1px solid var(--glass-border);
  background: var(--bg);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 4px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-links a:hover { color: var(--text); }

/* ══════════════════════════════════════════
   REVEAL ANIMATION
   ══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */
@media (max-width: 1100px) {
  .specs-grid { grid-template-columns: repeat(2, 1fr); }
  .spec-card--hero { grid-column: 1 / -1; }
  .trims-layout,
  .glossary-layout {
    grid-template-columns: 1fr;
  }
  .highlights-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trim-features-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nav-links { display: none; }
  .nav-burger { display: flex; }

  .nav-links.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    padding: 20px 32px;
    background: rgba(12,14,18,0.96);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--glass-border);
    animation: slideDown 0.3s ease;
  }

  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

@media (max-width: 768px) {
  .container { width: min(var(--max-w), calc(100% - 32px)); }
  .section { padding: 80px 0; }
  .specs-grid { grid-template-columns: 1fr 1fr; }
  .spec-card--hero {
    grid-template-columns: 1fr;
  }
  .spec-visual { border-radius: var(--radius) var(--radius) 0 0; }
  .spec-card--hero .spec-card-content { padding: 24px; }
  .highlights-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .trim-features-grid { grid-template-columns: 1fr; }
  .trim-head { flex-direction: column; }
  .dimensions-strip { gap: 20px; }
  .dim-sep { display: none; }
  .matrix-table { min-width: 680px; }
  .hero-title { font-size: clamp(3rem, 16vw, 5rem); }
  .navbar { padding: 0 20px; }
}
