/* ==========================================================================
   Vijay Driving School — Royal Amethyst & Rose Bronze Luxury Stylesheet
   Soft Pearl Mist surfaces, Rose-Bronze borders, Imperial Velvet Purple & Midnight Plum
   ========================================================================== */

:root {
  /* Modern Boutique Luxury Light Palette (Soft Pearl Mist & Crisp White) */
  --color-bg: #faf9fc;
  --color-bg-elevated: #f5f2fa;
  --color-surface: rgba(255, 255, 255, 0.96);
  --color-surface-solid: #ffffff;
  --color-surface-alt: #efeaf7;
  --color-border: rgba(83, 43, 136, 0.12);
  --color-border-strong: rgba(197, 139, 110, 0.48);

  /* Royal Amethyst & Satin Rose-Bronze Accents */
  --color-primary: #1d1433;
  --color-primary-deep: #120b24;
  --color-cyan: #532b88;
  --color-cyan-bright: #7142b5;
  --color-cyan-glow: rgba(83, 43, 136, 0.2);
  --color-accent: #c58b6e;
  --color-accent-bright: #dfad94;
  --color-accent-dark: #9c664c;
  --color-accent-soft: #f9efe9;
  --color-whatsapp: #16a34a;
  --color-whatsapp-dark: #15803d;
  --color-whatsapp-bright: #22c55e;

  /* Text */
  --color-text: #1d1433;
  --color-text-muted: #53476b;
  --color-text-dim: #7c7094;

  /* Typography — Unified Montserrat Across Entire Project */
  --font-display: 'Montserrat', system-ui, -apple-system, sans-serif;
  --font-heading: 'Montserrat', system-ui, -apple-system, sans-serif;
  --font-body: 'Montserrat', system-ui, -apple-system, sans-serif;

  /* Radii & Depth Shadows */
  --radius-sm: 0.6rem;
  --radius-md: 1rem;
  --radius-lg: 1.4rem;
  --radius-full: 9999px;

  --shadow-sm: 0 4px 14px rgba(29, 20, 51, 0.06);
  --shadow-md: 0 18px 38px -12px rgba(29, 20, 51, 0.11), 0 4px 14px rgba(197, 139, 110, 0.09);
  --shadow-lg: 0 28px 58px -14px rgba(29, 20, 51, 0.16), 0 10px 26px rgba(197, 139, 110, 0.12);

  /* Layout */
  --container-max: 1220px;
  --header-height: 76px;
  --transition: 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  background-image:
    radial-gradient(circle at 12% 10%, rgba(83, 43, 136, 0.06), transparent 38%),
    radial-gradient(circle at 88% 20%, rgba(197, 139, 110, 0.11), transparent 36%),
    radial-gradient(circle at 50% 90%, rgba(83, 43, 136, 0.04), transparent 42%);
  background-attachment: fixed;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), background-color var(--transition), transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

ul,
ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--color-primary);
}

.hero h1 {
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

:focus-visible {
  outline: 2px solid var(--color-cyan);
  outline-offset: 3px;
}

/* Layout Helpers */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.section {
  position: relative;
  padding-block: 4.75rem;
}

.section--alt {
  background: linear-gradient(180deg, #f5f2fa 0%, #efeaf7 100%);
  border-top: 1px solid #e4dcef;
  border-bottom: 1px solid #e4dcef;
}

.section-header {
  max-width: 700px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: 3.25rem;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.36rem 0.95rem;
  border-radius: var(--radius-full);
  background: var(--color-accent-soft);
  border: 1px solid rgba(197, 139, 110, 0.48);
  color: var(--color-cyan);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.section-header h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.65rem);
  margin-bottom: 0.85rem;
}

.section-header p {
  color: var(--color-text-muted);
  font-size: 1.04rem;
}

/* Grids */
.grid {
  display: grid;
  gap: 1.75rem;
  perspective: 1200px;
}

.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.94rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  overflow: hidden;
  transition: transform var(--transition), background-color var(--transition), box-shadow var(--transition), border-color var(--transition), color var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-bright) 100%);
  color: #1d1433;
  font-weight: 700;
  border: 1px solid rgba(156, 102, 76, 0.38);
  box-shadow: 0 10px 24px -6px rgba(197, 139, 110, 0.45);
}

.btn--primary:hover {
  box-shadow: 0 14px 28px -4px rgba(197, 139, 110, 0.62);
  color: #120b24;
}

.btn--whatsapp {
  background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
  color: #ffffff;
  box-shadow: 0 10px 24px -6px rgba(22, 163, 74, 0.38);
}

.btn--whatsapp:hover {
  box-shadow: 0 14px 28px -4px rgba(22, 163, 74, 0.55);
}

.btn--outline,
.btn--outline-light {
  background: #ffffff;
  border-color: #d7cce8;
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.btn--outline:hover,
.btn--outline-light:hover {
  border-color: var(--color-accent);
  background: #f9efe9;
  color: var(--color-cyan);
  box-shadow: 0 8px 20px rgba(83, 43, 136, 0.14);
}

.btn--sm {
  padding: 0.6rem 1.1rem;
  font-size: 0.86rem;
}

/* Top Telemetry Strip */
.top-bar {
  background: #f4effa;
  color: var(--color-text-muted);
  font-size: 0.82rem;
  padding-block: 0.52rem;
  border-bottom: 1px solid #e4dcef;
}

.top-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.25rem;
}

.top-bar__items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
}

.top-bar__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.top-bar__link:hover {
  color: var(--color-cyan);
}

/* Frosted Pearl Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 249, 252, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid #e4dcef;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-primary);
}

.brand__mark {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #532b88 0%, #1d1433 100%);
  border: 1px solid rgba(197, 139, 110, 0.6);
  color: var(--color-accent-bright);
  display: grid;
  place-items: center;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.brand__mark--logo,
.brand__mark:has(img) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  padding: 0;
  background: transparent;
  overflow: hidden;
}

.brand__mark--logo img,
.brand__mark img {
  display: block;
  width: clamp(92px, 8.5vw, 112px) !important;
  height: auto !important;
  max-width: none !important;
  object-fit: contain !important;
  border-radius: inherit;
}

.brand__sub {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-cyan);
  letter-spacing: 0.04em;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid #d7cce8;
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--color-primary);
  cursor: pointer;
}

.site-nav {
  position: fixed;
  inset: var(--header-height) 0 auto 0;
  background: rgba(250, 249, 252, 0.98);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid #e4dcef;
  box-shadow: var(--shadow-lg);
  padding: 1.5rem 1.25rem;
  display: none;
  flex-direction: column;
  gap: 0.5rem;
}

.site-nav.is-open {
  display: flex;
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nav-link {
  display: block;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--color-cyan);
  background: #f2ecf9;
}

.nav-link.is-active {
  box-shadow: inset 3px 0 0 var(--color-accent);
}

.nav-actions {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.nav-actions .btn,
.nav-actions .theme-toggle {
  white-space: nowrap;
}

@media (min-width: 960px) {
  .nav-toggle { display: none; }

  .site-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
  }

  .nav-list {
    flex-direction: row;
    align-items: center;
    gap: 0.15rem;
  }

  .nav-link {
    padding: 0.5rem 0.65rem;
  }

  .nav-link.is-active {
    box-shadow: inset 0 -2px 0 var(--color-cyan);
    background: transparent;
  }

  .nav-actions {
    margin-top: 0;
    flex-direction: row;
    align-items: center;
    flex-shrink: 0;
  }
}

/* ==========================================================================
   Soft Pearl Mist Hero with Rose-Bronze 3D Grid & 360° Car Stage
   ========================================================================== */
.hero {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f4effa 100%);
  padding-block: 3.25rem 4.75rem;
  overflow: hidden;
  border-bottom: 1px solid #e4dcef;
}

.hero__grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  perspective: 600px;
}

.hero__grid-plane {
  position: absolute;
  left: -25%;
  right: -25%;
  bottom: -42%;
  height: 95%;
  background-image:
    linear-gradient(to right, rgba(197, 139, 110, 0.16) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(197, 139, 110, 0.16) 1px, transparent 1px);
  background-size: 56px 56px;
  transform: rotateX(68deg);
  transform-origin: center bottom;
  mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent 85%);
  animation: roadScroll 7s linear infinite;
}

@keyframes roadScroll {
  0% { background-position: 0 0; }
  100% { background-position: 0 56px; }
}

.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 2.75rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero__grid {
    grid-template-columns: 1.08fr 0.92fr;
  }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.42rem 1rem;
  border-radius: var(--radius-full);
  background: var(--color-accent-soft);
  border: 1px solid rgba(197, 139, 110, 0.5);
  color: var(--color-cyan);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-whatsapp-bright);
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.7);
  animation: pulseGlow 1.8s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(1.3); }
}

.hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.5rem);
  color: var(--color-primary);
  margin-bottom: 1.1rem;
}

.hero h1 span {
  background: linear-gradient(95deg, var(--color-cyan) 0%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  color: var(--color-text-muted);
  font-size: 1.08rem;
  max-width: 56ch;
  margin-bottom: 2rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.4rem;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding-top: 1.6rem;
  border-top: 1px solid #e4dcef;
}

.stat-item__value {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 700;
  color: var(--color-cyan);
}

.stat-item__label {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

/* 3D Interactive Stage Card (White Frame with Rose-Bronze Hairline & Dark Showroom Screen) */
.hero__media {
  perspective: 1200px;
}

.stage-3d {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(197, 139, 110, 0.42);
  border-radius: var(--radius-lg);
  padding: 1.15rem;
  box-shadow: var(--shadow-lg);
  transform-style: preserve-3d;
}

.stage-3d__hud-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #ece5f5;
  font-size: 0.78rem;
  color: var(--color-cyan);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.stage-3d__controls {
  display: inline-flex;
  gap: 0.4rem;
}

.hud-pill {
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid #d7cce8;
  background: #f5f2fa;
  color: var(--color-text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
}

.hud-pill.is-active,
.hud-pill:hover {
  background: var(--color-cyan);
  color: #ffffff;
  border-color: var(--color-cyan);
}

.stage-3d__viewport {
  position: relative;
  border-radius: var(--radius-md);
  margin-block: 0.85rem;
  background: #0d0816;
  border: 1px solid rgba(197, 139, 110, 0.38);
  overflow: hidden;
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.stage-3d__viewport:active {
  cursor: grabbing;
}

.turntable-360 {
  position: relative;
  width: 100%;
  height: 270px;
  background: #0d0816;
  perspective: 1000px;
  overflow: hidden;
}

.turntable-360__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.14s ease, filter 0.3s ease, transform 0.18s ease;
}

.turntable-360__frame.is-active {
  opacity: 1;
}

.turntable-360__badge {
  position: absolute;
  top: 0.7rem;
  left: 0.75rem;
  z-index: 4;
  padding: 0.24rem 0.65rem;
  border-radius: var(--radius-full);
  background: rgba(18, 11, 36, 0.86);
  border: 1px solid rgba(223, 173, 148, 0.55);
  color: var(--color-accent-bright);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  pointer-events: none;
}

.turntable-360__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(223, 173, 148, 0.55);
  background: rgba(18, 11, 36, 0.82);
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all var(--transition);
}

.turntable-360__nav:hover {
  background: var(--color-cyan);
  color: #ffffff;
}

.turntable-360__nav--prev { left: 0.65rem; }
.turntable-360__nav--next { right: 0.65rem; }

#hero-3d-canvas {
  width: 100%;
  height: 270px;
  display: block;
}

.stage-3d__hint {
  position: absolute;
  bottom: 0.65rem;
  right: 0.75rem;
  padding: 0.22rem 0.6rem;
  border-radius: var(--radius-full);
  background: rgba(18, 11, 36, 0.84);
  border: 1px solid rgba(223, 173, 148, 0.45);
  color: var(--color-accent-bright);
  font-size: 0.72rem;
  pointer-events: none;
}

.stage-3d__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding-bottom: 0.8rem;
  margin-bottom: 0.8rem;
  border-bottom: 1px solid #ece5f5;
}

.swatch-group {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}

.swatch-group__label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-right: 0.15rem;
}

.color-swatch {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #d7cce8;
  cursor: pointer;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.color-swatch:hover,
.color-swatch.is-active {
  transform: scale(1.18);
  border-color: var(--color-primary);
  box-shadow: 0 0 10px rgba(197, 139, 110, 0.45);
}

.angle-group {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.hero-card__caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.86rem;
  color: var(--color-text-muted);
}

.hero-card__caption strong {
  color: var(--color-primary);
}

/* Inner Page Banner */
.page-banner {
  position: relative;
  background: linear-gradient(135deg, #faf9fc 0%, #eee6f7 100%);
  padding-block: 3.5rem;
  border-bottom: 2px solid rgba(197, 139, 110, 0.55);
}

.page-banner h1 {
  font-size: clamp(1.95rem, 3.8vw, 2.85rem);
  margin-bottom: 0.65rem;
}

.page-banner p {
  color: var(--color-text-muted);
  max-width: 65ch;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--color-cyan);
  font-weight: 600;
  margin-bottom: 0.85rem;
}

/* ==========================================================================
   3D Interactive Cards, Feature Boxes & Clean White Panels
   ========================================================================== */
.card,
.feature-box,
.testimonial-card,
.gallery-item,
.info-panel,
.form-card {
  position: relative;
  background: var(--color-surface);
  backdrop-filter: blur(12px);
  border: 1px solid #e4dcef;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transform-style: preserve-3d;
  transition: transform 0.25s ease, box-shadow var(--transition), border-color var(--transition);
}

[data-tilt] {
  will-change: transform;
}

[data-tilt]:hover,
.card:hover,
.feature-box:hover,
.testimonial-card:hover,
.gallery-item:hover {
  border-color: var(--color-accent);
  box-shadow: 0 24px 48px -14px rgba(29, 20, 51, 0.16), 0 0 24px rgba(197, 139, 110, 0.24);
}

.card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card__media {
  position: relative;
  flex-shrink: 0;
  aspect-ratio: 16 / 10;
  background: #0d0816;
  overflow: hidden;
  border-bottom: 1px solid #e4dcef;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.card__badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: rgba(29, 20, 51, 0.9);
  border: 1px solid rgba(223, 173, 148, 0.55);
  color: var(--color-accent-bright);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transform: translateZ(24px);
}

.card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card__title {
  font-size: 1.18rem;
  line-height: 1.28;
  margin-bottom: 0.6rem;
}

@media (min-width: 960px) {
  .grid .flip-card .card__title {
    min-height: 3.05rem;
  }
}

.card__text {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.62;
  margin-bottom: 1.25rem;
}

.card__meta {
  margin-top: auto;
  display: grid;
  gap: 0.45rem;
  padding: 0.9rem;
  border-radius: var(--radius-sm);
  background: #f6f3fb;
  border: 1px solid #e4dcef;
  font-size: 0.85rem;
  margin-bottom: 1.15rem;
}

.card__meta-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--color-text-muted);
}

.card__meta-row strong {
  color: var(--color-primary);
}

.card__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.flip-card__face--back .card__footer {
  margin-top: auto;
}

/* Feature Boxes */
.feature-box {
  padding: 1.65rem;
}

.feature-box__icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #f9efe9 0%, #efe6fa 100%);
  border: 1px solid rgba(197, 139, 110, 0.5);
  color: var(--color-cyan);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  font-size: 1.35rem;
  box-shadow: var(--shadow-sm);
  transform: translateZ(20px);
}

.feature-box h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.feature-box p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

/* Filter Tabs */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius-full);
  border: 1px solid #d7cce8;
  background: #ffffff;
  color: var(--color-text-muted);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.is-active {
  background: var(--color-cyan);
  color: #ffffff;
  border-color: var(--color-cyan);
  box-shadow: 0 8px 18px rgba(83, 43, 136, 0.28);
}

/* Testimonials */
.testimonial-card {
  padding: 1.65rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.testimonial-card__stars {
  color: var(--color-accent);
  font-size: 1rem;
  letter-spacing: 0.12em;
}

.testimonial-card__quote {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  font-style: italic;
}

.testimonial-card__author {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 0.9rem;
  border-top: 1px solid #e4dcef;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #532b88 0%, #1d1433 100%);
  border: 1px solid rgba(197, 139, 110, 0.55);
  color: var(--color-accent-bright);
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.testimonial-card__name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-primary);
}

.testimonial-card__role {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* Gallery */
.gallery-item {
  overflow: hidden;
}

.gallery-item__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0d0816;
  border-bottom: 1px solid #e4dcef;
}

.gallery-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-item:hover .gallery-item__media img {
  transform: scale(1.06);
}

.gallery-item__caption {
  padding: 1.1rem 1.2rem;
}

.gallery-item__caption h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.gallery-item__caption p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Training Videos Showcase */
.video-card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid #e4dcef;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow var(--transition), border-color var(--transition);
}

.video-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-accent);
  box-shadow: 0 24px 48px -14px rgba(29, 20, 51, 0.16), 0 0 24px rgba(197, 139, 110, 0.24);
}

.video-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0d0816;
  overflow: hidden;
  border-bottom: 1px solid #e4dcef;
}

.video-card__media img,
.video-card__media video,
.video-card__media iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  display: block;
}

.video-card__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 3;
  padding: 0.24rem 0.7rem;
  border-radius: var(--radius-full);
  background: rgba(29, 20, 51, 0.9);
  border: 1px solid rgba(223, 173, 148, 0.55);
  color: var(--color-accent-bright);
  font-size: 0.72rem;
  font-weight: 700;
}

.video-card__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: radial-gradient(circle, rgba(29, 20, 51, 0.28) 0%, rgba(13, 8, 22, 0.58) 100%);
  transition: background var(--transition);
}

.video-card__play-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-bright) 100%);
  color: #1d1433;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
  transition: transform var(--transition);
}

.video-card:hover .video-card__play-btn {
  transform: scale(1.08);
}

.video-card__body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

.video-card__body h3 {
  font-size: 1.04rem;
}

.video-card__body p {
  font-size: 0.87rem;
  color: var(--color-text-muted);
}

.video-card__footer {
  margin-top: auto;
  padding-top: 0.5rem;
}

[data-theme="dark"] .video-card {
  background: #140e20;
  border-color: rgba(223, 173, 148, 0.2);
}

[data-theme="dark"] .video-card__media {
  border-bottom-color: rgba(223, 173, 148, 0.16);
}

/* Split Layout & Forms */
.split-layout {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 960px) {
  .split-layout {
    grid-template-columns: 1fr 1.15fr;
  }
}

.info-panel,
.form-card {
  padding: 2rem;
}

.info-list {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.info-list__item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.info-list__icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--color-accent-soft);
  border: 1px solid rgba(197, 139, 110, 0.48);
  color: var(--color-cyan);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.form-grid {
  display: grid;
  gap: 1.15rem;
}

.form-group {
  display: grid;
  gap: 0.42rem;
}

.form-group label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--color-primary);
}

.form-control {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1.5px solid #d7cce8;
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--color-primary);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control::placeholder {
  color: #8f84a6;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(197, 139, 110, 0.24);
}

textarea.form-control {
  min-height: 110px;
  resize: vertical;
}

.form-note {
  font-size: 0.84rem;
  color: var(--color-text-muted);
}

.form-feedback {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: none;
}

.form-feedback.is-error {
  display: block;
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.form-feedback.is-success {
  display: block;
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

/* Map Frame */
.map-box {
  margin-top: 2rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid #d7cce8;
  background: #f5f2fa;
  box-shadow: var(--shadow-md);
}

.map-box iframe {
  width: 100%;
  height: 300px;
  border: 0;
  display: block;
}

/* CTA Banner */
.cta-banner {
  position: relative;
  background: linear-gradient(135deg, #f9efe9 0%, #efe6fa 100%);
  border: 1px solid rgba(197, 139, 110, 0.55);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
  box-shadow: var(--shadow-lg);
}

.cta-banner h2 {
  font-size: clamp(1.5rem, 3vw, 2.05rem);
  margin-bottom: 0.45rem;
}

.cta-banner p {
  color: var(--color-text-muted);
  max-width: 55ch;
}

.cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Footer */
.site-footer {
  background: #f4effa;
  color: var(--color-text-muted);
  padding-top: 4rem;
  padding-bottom: 2rem;
  border-top: 1px solid #e4dcef;
}

.footer-grid {
  display: grid;
  gap: 2.25rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  }
}

.site-footer h3 {
  font-size: 1rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.footer-links {
  display: grid;
  gap: 0.55rem;
  font-size: 0.9rem;
}

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

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid #d7cce8;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--color-text-dim);
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.72rem 1.05rem;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.84rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 12px 28px rgba(22, 163, 74, 0.38);
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 34px rgba(22, 163, 74, 0.5);
}

.whatsapp-float__label {
  display: none;
}

@media (min-width: 640px) {
  .whatsapp-float__label {
    display: inline;
  }
}

/* ==========================================================================
   IDEA 1: 3D Flip Course Cards (Syllabus + Direct Booking)
   ========================================================================== */
.flip-card {
  perspective: 1400px;
  height: 100%;
  display: flex;
}

.flip-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  transform-style: preserve-3d;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.flip-card.is-flipped .flip-card__inner {
  transform: rotateY(180deg);
}

.flip-card__face {
  grid-area: 1 / 1;
  position: relative;
  min-height: 100%;
  transform: rotateY(0deg);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: var(--color-surface);
  border: 1px solid #e4dcef;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.flip-card__face--back {
  transform: rotateY(180deg);
  pointer-events: none;
  background: linear-gradient(165deg, #ffffff 0%, #f9efe9 100%);
  border-color: rgba(197, 139, 110, 0.55);
  padding: 1.5rem;
}

.flip-card.is-flipped .flip-card__face:not(.flip-card__face--back) {
  pointer-events: none;
}

.flip-card.is-flipped .flip-card__face--back {
  pointer-events: auto;
}

.syllabus-list {
  display: grid;
  gap: 0.65rem;
  margin-block: 1rem 1.25rem;
}

.syllabus-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-sm);
  background: #ffffff;
  border: 1px solid #e4dcef;
  font-size: 0.87rem;
  color: var(--color-text-muted);
}

.syllabus-list__day {
  flex-shrink: 0;
  padding: 0.14rem 0.5rem;
  border-radius: var(--radius-full);
  background: var(--color-accent-soft);
  color: var(--color-cyan);
  font-weight: 700;
  font-size: 0.74rem;
}

/* ==========================================================================
   IDEA 2: 3D Driving & Parking Maneuver Visualizer
   ========================================================================== */
.maneuver-card {
  background: #ffffff;
  border: 1px solid rgba(197, 139, 110, 0.4);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-lg);
}

.maneuver-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 0.9rem;
}

.maneuver-viewport {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #0d0816;
  border: 1px solid rgba(197, 139, 110, 0.42);
}

#maneuver-3d-canvas {
  width: 100%;
  height: 270px;
  display: block;
}

.maneuver-status {
  margin-top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.86rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   IDEA 3: 3D Coverflow Vehicle Gallery
   ========================================================================== */
.coverflow-shell {
  position: relative;
  padding-block: 1.5rem 2.25rem;
  margin-bottom: 3rem;
  background: linear-gradient(180deg, #f5f2fa 0%, #ffffff 100%);
  border: 1px solid rgba(197, 139, 110, 0.4);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.coverflow-stage {
  position: relative;
  height: 320px;
  perspective: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.coverflow-slide {
  position: absolute;
  width: min(76vw, 430px);
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid #e4dcef;
  background: #0d0816;
  box-shadow: 0 22px 45px rgba(29, 20, 51, 0.22);
  cursor: pointer;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease, filter 0.45s ease, border-color 0.3s ease;
}

.coverflow-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.coverflow-slide.is-center {
  border-color: var(--color-accent);
  box-shadow: 0 28px 55px rgba(83, 43, 136, 0.28);
}

.coverflow-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-inline: 1.5rem;
  margin-top: 0.5rem;
}

.coverflow-caption strong {
  display: block;
  color: var(--color-primary);
  font-size: 1.05rem;
}

.coverflow-caption span {
  font-size: 0.86rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   IDEA 4: Interactive 3D Dual-Control Cockpit HUD
   ========================================================================== */
.cockpit-3d {
  display: grid;
  gap: 2rem;
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(197, 139, 110, 0.4);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

@media (min-width: 960px) {
  .cockpit-3d {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.cockpit-stage {
  position: relative;
  border-radius: var(--radius-md);
  background: radial-gradient(circle at 50% 40%, #241342 0%, #0d0816 85%);
  border: 1px solid rgba(197, 139, 110, 0.45);
  padding: 1rem;
  perspective: 1000px;
}

.cockpit-svg-wrap {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  transform-style: preserve-3d;
}

.cockpit-hotspot {
  cursor: pointer;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.cockpit-tabs {
  display: grid;
  gap: 0.85rem;
}

.cockpit-tab {
  text-align: left;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-md);
  border: 1.5px solid #e4dcef;
  background: #f5f2fa;
  cursor: pointer;
  transition: all var(--transition);
}

.cockpit-tab:hover,
.cockpit-tab.is-active {
  background: #f9efe9;
  border-color: var(--color-cyan);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.cockpit-tab strong {
  display: block;
  color: var(--color-primary);
  margin-bottom: 0.2rem;
}

.cockpit-tab span {
  font-size: 0.86rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   IDEA 5: 3D Spinning Road-Sign & Rules Quiz Strip
   ========================================================================== */
.sign-card {
  perspective: 1100px;
  min-height: 230px;
  cursor: pointer;
}

.sign-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 230px;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.sign-card:hover .sign-card__inner,
.sign-card.is-flipped .sign-card__inner {
  transform: rotateY(180deg);
}

.sign-card__face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--radius-md);
  border: 1px solid #e4dcef;
  background: #ffffff;
  box-shadow: var(--shadow-md);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.75rem;
}

.sign-card__face--back {
  transform: rotateY(180deg);
  background: linear-gradient(155deg, #532b88 0%, #1d1433 100%);
  color: #ffffff;
  border-color: var(--color-accent);
}

.sign-card__face--back h3 {
  color: var(--color-accent-bright);
  font-size: 1.02rem;
}

.sign-card__face--back p {
  font-size: 0.86rem;
  color: #ece6f7;
}

.sign-card__icon {
  width: 78px;
  height: 78px;
}

.sign-card__hint {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-cyan);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   IDEA 6: Course-Linked 3D Preview in Enquiry Form
   ========================================================================== */
.enquiry-preview-3d {
  perspective: 1100px;
  margin-bottom: 1.25rem;
}

.enquiry-preview-3d__card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  align-items: center;
  padding: 0.85rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #faf9fc 0%, #f9efe9 100%);
  border: 1px solid rgba(197, 139, 110, 0.5);
  box-shadow: var(--shadow-sm);
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.enquiry-preview-3d__card.is-flipping {
  transform: rotateX(360deg);
}

.enquiry-preview-3d__thumb {
  width: 120px;
  height: 76px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #0d0816;
  border: 1px solid #d7cce8;
}

.enquiry-preview-3d__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.enquiry-preview-3d__meta strong {
  display: block;
  font-size: 0.94rem;
  color: var(--color-primary);
}

.enquiry-preview-3d__meta span {
  display: block;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

@media (max-width: 480px) {
  .enquiry-preview-3d__card {
    grid-template-columns: 1fr;
  }
  .enquiry-preview-3d__thumb {
    width: 100%;
    height: 130px;
  }
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid #d7cce8;
  background: #f5f2fa;
  color: var(--color-primary);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
}

.theme-toggle:hover {
  border-color: var(--color-accent);
  background: var(--color-accent-soft);
  color: var(--color-cyan);
}

/* Sample / Placeholder Pill */
.placeholder-tag {
  display: inline-block;
  padding: 0.12rem 0.55rem;
  border-radius: var(--radius-full);
  background: #fef3c7;
  border: 1px solid #fde68a;
  color: #b45309;
  font-size: 0.72rem;
  font-weight: 700;
}

/* Utilities */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.text-center { text-align: center; }
.hidden { display: none !important; }

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .hero__grid-plane,
  .pulse-dot {
    animation: none;
  }
}

/* ==========================================================================
   Dark Theme — Obsidian Plum & Rose-Bronze Mode ([data-theme="dark"])
   ========================================================================== */
:root[data-theme="dark"] {
  --color-bg: #07050c;
  --color-bg-elevated: #100b19;
  --color-surface: rgba(20, 14, 32, 0.95);
  --color-surface-solid: #140e20;
  --color-surface-alt: #1d1430;
  --color-border: rgba(223, 173, 148, 0.22);
  --color-border-strong: rgba(223, 173, 148, 0.5);
  --color-primary: #faf8fd;
  --color-cyan: #dfad94;
  --color-text: #faf8fd;
  --color-text-muted: #c6bdd6;
  --color-text-dim: #8e82a5;
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.7);
  --shadow-md: 0 18px 40px -10px rgba(0, 0, 0, 0.85), 0 0 24px rgba(197, 139, 110, 0.12);
  --shadow-lg: 0 28px 60px -14px rgba(0, 0, 0, 0.92), 0 0 32px rgba(83, 43, 136, 0.3);
}

[data-theme="dark"] body {
  background-color: #07050c;
  background-image:
    radial-gradient(circle at 14% 12%, rgba(83, 43, 136, 0.28), transparent 38%),
    radial-gradient(circle at 86% 24%, rgba(197, 139, 110, 0.14), transparent 34%);
  color: var(--color-text);
}

[data-theme="dark"] .top-bar {
  background: #0a0712;
  border-bottom-color: rgba(223, 173, 148, 0.14);
}

[data-theme="dark"] .site-header {
  background: rgba(10, 7, 18, 0.9);
  border-bottom-color: rgba(223, 173, 148, 0.18);
}

[data-theme="dark"] .site-nav {
  background: rgba(14, 10, 24, 0.98);
  border-bottom-color: rgba(223, 173, 148, 0.18);
}

@media (min-width: 960px) {
  [data-theme="dark"] .site-nav {
    background: transparent;
  }
}

[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .nav-link.is-active {
  background: rgba(223, 173, 148, 0.14);
  color: #dfad94;
}

@media (min-width: 960px) {
  [data-theme="dark"] .nav-link.is-active {
    background: transparent;
  }
}

[data-theme="dark"] .nav-toggle,
[data-theme="dark"] .theme-toggle {
  background: #1a1229;
  border-color: rgba(223, 173, 148, 0.28);
  color: #faf8fd;
}

[data-theme="dark"] .theme-toggle:hover {
  border-color: #dfad94;
  background: rgba(223, 173, 148, 0.16);
  color: #dfad94;
}

[data-theme="dark"] .brand__mark {
  border: 1px solid rgba(223, 173, 148, 0.55);
}

[data-theme="dark"] .hero {
  background: linear-gradient(180deg, #07050c 0%, #130b22 100%);
  border-bottom-color: rgba(223, 173, 148, 0.18);
}

[data-theme="dark"] .hero__grid-plane {
  background-image:
    linear-gradient(to right, rgba(223, 173, 148, 0.16) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(223, 173, 148, 0.16) 1px, transparent 1px);
}

[data-theme="dark"] .hero__badge,
[data-theme="dark"] .section-eyebrow {
  background: rgba(223, 173, 148, 0.14);
  border-color: rgba(223, 173, 148, 0.42);
  color: #dfad94;
}

[data-theme="dark"] .hero h1 span {
  background: linear-gradient(95deg, #dfad94 0%, #9b6ee6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

[data-theme="dark"] .hero__stats {
  border-top-color: rgba(223, 173, 148, 0.18);
}

[data-theme="dark"] .section--alt {
  background: #0c0814;
  border-top-color: rgba(223, 173, 148, 0.12);
  border-bottom-color: rgba(223, 173, 148, 0.12);
}

[data-theme="dark"] .page-banner {
  background: linear-gradient(135deg, #090611 0%, #1d1233 100%);
  border-bottom-color: rgba(223, 173, 148, 0.35);
}

[data-theme="dark"] .stage-3d,
[data-theme="dark"] .maneuver-card,
[data-theme="dark"] .coverflow-shell,
[data-theme="dark"] .cockpit-3d,
[data-theme="dark"] .card,
[data-theme="dark"] .feature-box,
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .gallery-item,
[data-theme="dark"] .info-panel,
[data-theme="dark"] .form-card,
[data-theme="dark"] .flip-card__face,
[data-theme="dark"] .sign-card__face {
  background: #140e20;
  border-color: rgba(223, 173, 148, 0.2);
}

[data-theme="dark"] .flip-card__face--back {
  background: linear-gradient(165deg, #160f24 0%, #271742 100%);
  border-color: rgba(223, 173, 148, 0.42);
}

[data-theme="dark"] .syllabus-list li {
  background: #0c0814;
  border-color: rgba(223, 173, 148, 0.18);
  color: #cec5e0;
}

[data-theme="dark"] .syllabus-list__day {
  background: rgba(223, 173, 148, 0.18);
  color: #dfad94;
}

[data-theme="dark"] .stage-3d__hud-top,
[data-theme="dark"] .stage-3d__toolbar,
[data-theme="dark"] .testimonial-card__author,
[data-theme="dark"] .card__media,
[data-theme="dark"] .gallery-item__media {
  border-color: rgba(223, 173, 148, 0.18);
}

[data-theme="dark"] .stage-3d__viewport,
[data-theme="dark"] .maneuver-viewport,
[data-theme="dark"] .cockpit-stage,
[data-theme="dark"] .enquiry-preview-3d__thumb {
  border-color: rgba(223, 173, 148, 0.35);
}

[data-theme="dark"] .hud-pill,
[data-theme="dark"] .filter-btn {
  background: #1d152e;
  border-color: rgba(223, 173, 148, 0.25);
  color: #cec5e0;
}

[data-theme="dark"] .hud-pill.is-active,
[data-theme="dark"] .hud-pill:hover,
[data-theme="dark"] .filter-btn.is-active,
[data-theme="dark"] .filter-btn:hover {
  background: #dfad94;
  color: #1d1433;
  border-color: #dfad94;
}

[data-theme="dark"] .btn--outline,
[data-theme="dark"] .btn--outline-light {
  background: #1a1229;
  border-color: rgba(223, 173, 148, 0.28);
  color: #faf8fd;
}

[data-theme="dark"] .btn--outline:hover,
[data-theme="dark"] .btn--outline-light:hover {
  border-color: #dfad94;
  background: rgba(223, 173, 148, 0.16);
  color: #ffffff;
}

[data-theme="dark"] .card__meta {
  background: #0c0814;
  border-color: rgba(223, 173, 148, 0.18);
}

[data-theme="dark"] .feature-box__icon,
[data-theme="dark"] .info-list__icon {
  background: rgba(223, 173, 148, 0.14);
  border-color: rgba(223, 173, 148, 0.4);
  color: #dfad94;
}

[data-theme="dark"] .testimonial-card__quote {
  color: #cec5e0;
}

[data-theme="dark"] .coverflow-slide {
  border-color: rgba(223, 173, 148, 0.22);
}

[data-theme="dark"] .coverflow-slide.is-center {
  border-color: #dfad94;
}

[data-theme="dark"] .cockpit-tab {
  background: #0c0814;
  border-color: rgba(223, 173, 148, 0.18);
}

[data-theme="dark"] .cockpit-tab:hover,
[data-theme="dark"] .cockpit-tab.is-active {
  background: rgba(223, 173, 148, 0.14);
  border-color: #dfad94;
}

[data-theme="dark"] .enquiry-preview-3d__card {
  background: linear-gradient(135deg, #160f24 0%, #271742 100%);
  border-color: rgba(223, 173, 148, 0.35);
}

[data-theme="dark"] .form-control {
  background: #0c0814;
  border-color: rgba(223, 173, 148, 0.25);
  color: #faf8fd;
}

[data-theme="dark"] .form-control::placeholder {
  color: #8e82a5;
}

[data-theme="dark"] .form-feedback.is-error {
  background: rgba(239, 68, 68, 0.16);
  color: #fecaca;
  border-color: rgba(239, 68, 68, 0.45);
}

[data-theme="dark"] .form-feedback.is-success {
  background: rgba(34, 197, 94, 0.16);
  color: #bbf7d0;
  border-color: rgba(34, 197, 94, 0.45);
}

[data-theme="dark"] .map-box {
  background: #140e20;
  border-color: rgba(223, 173, 148, 0.18);
}

[data-theme="dark"] .map-box iframe {
  filter: invert(90%) hue-rotate(180deg) contrast(0.95);
}

[data-theme="dark"] .cta-banner {
  background: linear-gradient(135deg, #160f24 0%, #281642 100%);
  border-color: rgba(223, 173, 148, 0.45);
}

[data-theme="dark"] .site-footer {
  background: #07050c;
  border-top-color: rgba(223, 173, 148, 0.18);
}

[data-theme="dark"] .footer-bottom {
  border-top-color: rgba(223, 173, 148, 0.14);
}

[data-theme="dark"] .placeholder-tag {
  background: rgba(223, 173, 148, 0.18);
  border-color: rgba(223, 173, 148, 0.4);
  color: #dfad94;
}
