/* ============================================
   VALEO INNOVATION PARK — Premium Dark Theme
   ============================================ */

/* ---- CSS Variables ---- */
:root {
  --gold: #E8B84B;
  --gold-light: #F0CC6E;
  --gold-dark: #C8982B;
  --red: #C41230;
  --navy: #0D0D1A;
  --navy-mid: #141428;
  --navy-light: #1C1C38;
  --dark-card: #161628;
  --border: rgba(232,184,75,0.2);
  --text-primary: #F0EDE8;
  --text-secondary: #A8A4A0;
  --text-muted: #666;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --transition: all 0.3s ease;
  --shadow: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-gold: 0 4px 24px rgba(232,184,75,0.2);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: #0D0D1A;
  background-color: #0D0D1A !important;
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.7;
  visibility: visible !important;
  opacity: 1 !important;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- Utility ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section-pad { padding: 5rem 0; }
.gold { color: var(--gold); }
.section-label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 640px;
}
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header .section-sub { margin: 0 auto; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}
.btn-gold {
  background: var(--gold);
  color: #0D0D1A;
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline:hover { background: var(--gold); color: #0D0D1A; transform: translateY(-2px); }
.btn-full { width: 100%; justify-content: center; }

/* ============================================
   NAVBAR
   ============================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.4s, box-shadow 0.4s, padding 0.3s;
  padding: 0;
}
#navbar.scrolled {
  background: rgba(13,13,26,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.55);
}
.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  color: #fff;
  line-height: 1.25;
  white-space: nowrap;
}
.logo-text small {
  display: block;
  font-size: 0.58rem;
  color: var(--gold);
  letter-spacing: 0.18em;
  font-weight: 600;
  text-transform: uppercase;
}

/* Desktop nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links li a {
  display: block;
  padding: 0.45rem 0.7rem;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  border-radius: 3px;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-links li a:hover,
.nav-links li a.active {
  color: var(--gold);
  background: rgba(232,184,75,0.08);
}
.nav-links li a.nav-cta {
  background: var(--gold);
  color: #0D0D1A !important;
  padding: 0.45rem 1.1rem;
  border-radius: 4px;
  margin-left: 0.4rem;
}
.nav-links li a.nav-cta:hover {
  background: var(--gold-light);
  color: #0D0D1A !important;
}

/* Hamburger toggle — hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  cursor: pointer;
  padding: 8px 10px;
  flex-shrink: 0;
  z-index: 1001;
  transition: border-color 0.2s;
}
.nav-toggle:hover { border-color: var(--gold); }
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.2s;
  transform-origin: center;
}
/* Animate to X when open */
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--gold); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--gold); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  background: #0D0D1A url('../images/aerial-render.jpg') center center / cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13,13,26,0.55) 0%,
    rgba(13,13,26,0.45) 50%,
    rgba(13,13,26,0.85) 85%,
    rgba(13,13,26,1) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 6rem 1.5rem 0;
  max-width: 900px;
}
.hero-badge {
  margin: 0 auto 1.5rem;
  width: 80px;
  height: 80px;
  filter: drop-shadow(0 4px 20px rgba(232,184,75,0.4));
}
.hero-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 0.75rem;
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.hero-sub {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.82);
  margin-bottom: 2.5rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Stats Bar */
.stats-bar {
  position: relative;
  z-index: 2;
  width: 100%;
  background: rgba(20,20,40,0.92);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: center;
  align-items: stretch;
  padding: 1.5rem 2rem;
  margin-top: auto;
  gap: 0;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 2.5rem;
  flex: 1;
}
.stat-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.stat-unit {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--gold);
  font-weight: 700;
  margin-left: 0.2rem;
}
.stat-label {
  font-size: 0.72rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.3rem;
}
.stat-divider {
  width: 1px;
  background: var(--border);
  align-self: stretch;
}

/* ============================================
   ABOUT
   ============================================ */
.about { background: var(--navy-mid); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-img-frame {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.about-img-frame img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}
.img-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(13,13,26,0.9), transparent);
  padding: 1.5rem 1rem 0.75rem;
  font-size: 0.8rem;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.about-text-col p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}
.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.pill {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--dark-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 0.4rem 0.85rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-family: var(--font-heading);
  font-weight: 600;
  transition: var(--transition);
}
.pill:hover { border-color: var(--gold); color: var(--gold); }
.pill i { color: var(--gold); font-size: 0.7rem; }

/* ============================================
   VISION
   ============================================ */
.vision {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  text-align: center;
}
.vision-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,13,26,0.88);
}
.vision-content {
  position: relative;
  z-index: 1;
}
.vision-quote {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-style: italic;
  color: rgba(255,255,255,0.88);
  max-width: 700px;
  margin: 1.5rem auto 3rem;
  padding: 0 1rem;
  border-left: none;
  line-height: 1.6;
}
.vision-quote::before { content: '"'; font-size: 3rem; color: var(--gold); line-height: 0; vertical-align: -1rem; margin-right: 0.3rem; }
.vision-quote::after { content: '"'; font-size: 3rem; color: var(--gold); line-height: 0; vertical-align: -1rem; margin-left: 0.3rem; }
.pillar-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.pillar-card {
  background: rgba(22,22,40,0.85);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
}
.pillar-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.pillar-icon {
  width: 60px;
  height: 60px;
  background: rgba(232,184,75,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: var(--gold);
  border: 1px solid var(--border);
}
.pillar-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}
.pillar-card p { font-size: 0.88rem; color: var(--text-secondary); }

/* ============================================
   ZONES
   ============================================ */
.zones { background: var(--navy); }
.zones-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.zone-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  transition: var(--transition);
}
.zone-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow); }
.zone-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255,255,255,0.1);
}
.zone-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}
.zone-card > p { font-size: 0.88rem; color: var(--text-secondary); margin-bottom: 1.25rem; }
.zone-features { display: flex; flex-direction: column; gap: 0.4rem; }
.zone-features li {
  font-size: 0.82rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.zone-features li i { color: var(--gold); font-size: 0.7rem; flex-shrink: 0; }

/* ============================================
   ENGINEERING SPECS
   ============================================ */
.engineering { background: var(--navy-mid); }
.eng-stats-row {
  display: flex;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 2.5rem;
}
.eng-stat {
  flex: 1;
  background: var(--dark-card);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.eng-stat i {
  font-size: 1.5rem;
  color: var(--gold);
  width: 40px;
  text-align: center;
}
.eng-stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--gold);
}
.eng-stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  margin-top: 0.2rem;
}
.specs-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}
.spec-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  transition: var(--transition);
}
.spec-card:hover { border-color: var(--gold); }
.spec-icon {
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.spec-card h3 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.6rem;
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.75rem;
}
.spec-table tr td {
  padding: 0.35rem 0;
  vertical-align: top;
  line-height: 1.4;
}
.spec-table tr td:first-child {
  color: var(--text-muted);
  width: 45%;
  font-weight: 600;
  padding-right: 0.5rem;
}
.spec-table tr td:last-child { color: var(--text-secondary); }
.eng-note {
  background: rgba(232,184,75,0.06);
  border: 1px solid rgba(232,184,75,0.2);
  border-left: 4px solid var(--gold);
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.eng-note i { color: var(--gold); font-size: 1.2rem; margin-top: 0.1rem; flex-shrink: 0; }
.eng-note p { font-size: 0.85rem; color: var(--text-secondary); }

/* ============================================
   GALLERY
   ============================================ */
.gallery { background: var(--navy); }
.gallery-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}
.gallery-tab {
  padding: 0.6rem 1.75rem;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
}
.gallery-tab:hover, .gallery-tab.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #0D0D1A;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.gallery-item.hidden { display: none; }
.gallery-item:hover { border-color: var(--gold); transform: translateY(-3px); }
.gallery-img-wrap, .gallery-vid-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--dark-card);
}
.gallery-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover .gallery-img-wrap img { transform: scale(1.04); }
.gallery-vid {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,13,26,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-zoom, .gallery-play {
  background: none;
  border: 2px solid #fff;
  color: #fff;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.gallery-play { border-color: var(--gold); color: var(--gold); font-size: 1.5rem; width: 60px; height: 60px; }
.gallery-play:hover, .gallery-zoom:hover { background: var(--gold); border-color: var(--gold); color: #0D0D1A; }
.gallery-caption {
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  background: var(--dark-card);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.gallery-caption i { color: var(--gold); font-size: 0.7rem; }

/* ============================================
   TIMELINE
   ============================================ */
.timeline { background: var(--navy-mid); }
.timeline-track {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}
.timeline-track::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
}
.tl-item {
  display: flex;
  align-items: center;
  margin-bottom: 3rem;
  position: relative;
}
.tl-item.left { flex-direction: row; }
.tl-item.right { flex-direction: row-reverse; }
.tl-content {
  width: calc(50% - 40px);
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  transition: var(--transition);
}
.tl-content:hover { border-color: var(--gold); }
.tl-item.left .tl-content { margin-right: auto; }
.tl-item.right .tl-content { margin-left: auto; }
.tl-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  background: var(--navy-mid);
  border: 3px solid var(--gold);
  border-radius: 50%;
  z-index: 1;
  flex-shrink: 0;
}
.gold-dot { background: var(--gold) !important; box-shadow: 0 0 16px rgba(232,184,75,0.6); }
.tl-phase {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.tl-date {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
}
.tl-content h3 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.6rem;
}
.tl-content p { font-size: 0.83rem; color: var(--text-secondary); line-height: 1.6; }

/* ============================================
   PROMO VIDEO
   ============================================ */
.promo-section { background: var(--navy); }
.promo-video-wrap {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  max-width: 960px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}
.promo-video {
  width: 100%;
  display: block;
  border-radius: 11px;
}
.promo-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(13,13,26,0.85);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 0.4rem 0.9rem 0.4rem 0.5rem;
  backdrop-filter: blur(8px);
}
.promo-badge img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.promo-badge span {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.1em;
}

/* ============================================
   INVEST
   ============================================ */
.invest { background: var(--navy-mid); }
.invest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.invest-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
}
.invest-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow); }
.invest-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(232,184,75,0.1);
  border: 1px solid rgba(232,184,75,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gold);
  margin: 0 auto 1.25rem;
}
.invest-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}
.invest-card p { font-size: 0.85rem; color: var(--text-secondary); }
.invest-cta {
  background: linear-gradient(135deg, var(--navy-light), var(--dark-card));
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.invest-cta-text h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}
.invest-cta-text p { font-size: 0.9rem; color: var(--text-secondary); }
.invest-cta-btns { display: flex; gap: 1rem; flex-shrink: 0; flex-wrap: wrap; }

/* ============================================
   CONTACT
   ============================================ */
.contact { background: var(--navy); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}
.contact-info p { color: var(--text-secondary); margin-bottom: 2rem; }
.contact-details { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact-item i {
  color: var(--gold);
  font-size: 1rem;
  margin-top: 0.2rem;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}
.contact-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 0.2rem;
}
.contact-item span { font-size: 0.88rem; color: var(--text-secondary); }
.contact-crest {
  margin-top: 2.5rem;
  width: 70px;
  filter: drop-shadow(0 4px 12px rgba(232,184,75,0.3));
}
.contact-form-wrap {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem;
}
.contact-form h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.75rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
}
.form-group label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: var(--transition);
  outline: none;
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: rgba(232,184,75,0.05);
}
.form-group select option { background: var(--navy-mid); }
.form-msg {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  font-size: 0.85rem;
  text-align: center;
}
.form-msg.success { background: rgba(102,187,106,0.12); border: 1px solid #66bb6a; color: #66bb6a; }
.form-msg.error { background: rgba(196,18,48,0.1); border: 1px solid var(--red); color: #f48; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #080814;
  border-top: 1px solid var(--border);
  padding: 4rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.footer-logo { width: 52px; height: 52px; object-fit: contain; flex-shrink: 0; }
.footer-brand h3 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 0.3rem;
}
.footer-brand p { font-size: 0.82rem; color: var(--text-secondary); }
.footer-links h4 {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.footer-links ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }
.footer-contact h4 {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.footer-contact p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.footer-contact i { color: var(--gold); width: 14px; }
.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.footer-social a {
  width: 36px;
  height: 36px;
  background: var(--navy-light);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: var(--transition);
}
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: #0D0D1A; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--gold);
  color: #0D0D1A;
  border: none;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  box-shadow: var(--shadow-gold);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--gold-light); transform: translateY(-3px); }

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.lightbox-close:hover { background: var(--red); border-color: var(--red); }
.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
}
.lightbox-content img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
}
.lightbox-content video {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 4px;
}

/* ============================================
   RESPONSIVE — FULL MOBILE OPTIMISATION
   ============================================ */

/* ---- Tablet wide: 1100px ---- */
@media (max-width: 1100px) {
  .specs-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 2rem; }
  .nav-links li a { font-size: 0.68rem; padding: 0.4rem 0.55rem; }
}

/* ---- Tablet: 960px — nav starts to get tight ---- */
@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-img-frame img { height: 300px; }
  .zones-grid { grid-template-columns: repeat(2, 1fr); }
  .pillar-cards { grid-template-columns: 1fr; }
  .invest-grid { grid-template-columns: 1fr; }
  .invest-cta { flex-direction: column; text-align: center; }
  .invest-cta-btns { justify-content: center; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .timeline-track::before { left: 20px; }
  .tl-item.left,
  .tl-item.right { flex-direction: row !important; justify-content: flex-start; }
  .tl-dot { left: 20px; transform: none; }
  .tl-content { width: calc(100% - 52px); margin-left: 52px !important; margin-right: 0 !important; }
}

/* ---- Mobile nav breakpoint: 820px ---- */
@media (max-width: 820px) {

  /* Show hamburger, hide desktop links */
  .nav-toggle { display: flex; }

  .nav-links {
    /* Slide-down panel */
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(10,10,22,0.99);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
    border-bottom: 2px solid var(--gold);
    padding: 1rem 1.5rem 1.5rem;
    gap: 0.15rem;
    /* Hidden state */
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.35s ease, opacity 0.3s ease, padding 0.3s ease;
  }

  .nav-links.open {
    max-height: 520px;
    opacity: 1;
    pointer-events: all;
    padding: 1rem 1.5rem 1.5rem;
  }

  .nav-links li {
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  .nav-links li:last-child { border-bottom: none; }

  .nav-links li a {
    display: flex;
    align-items: center;
    padding: 0.9rem 0.5rem;
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.88);
    width: 100%;
    border-radius: 0;
    background: none !important;
  }
  .nav-links li a:hover,
  .nav-links li a.active {
    color: var(--gold);
    background: none !important;
    padding-left: 1rem;
  }
  .nav-links li a.nav-cta {
    margin: 0.75rem 0 0;
    background: var(--gold) !important;
    color: #0D0D1A !important;
    border-radius: 4px;
    justify-content: center;
    padding: 0.85rem 1rem !important;
    font-size: 0.82rem;
  }
  .nav-links li a.nav-cta:hover {
    background: var(--gold-light) !important;
  }

  /* Stats bar */
  .stats-bar { flex-wrap: wrap; padding: 1rem; }
  .stat-divider { display: none; }
  .stat-item { width: 50%; padding: 0.75rem 1rem; }

  /* Spec grid */
  .specs-grid { grid-template-columns: repeat(2, 1fr); }

  /* Gallery */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  /* Engineering stats */
  .eng-stats-row { flex-wrap: wrap; }
  .eng-stat { min-width: 50%; }

  /* Promo badge — hide on small screens */
  .promo-badge { display: none; }
}

/* ---- Small mobile: 600px ---- */
@media (max-width: 600px) {
  .section-pad { padding: 3rem 0; }

  /* Nav container height */
  .nav-container { height: 60px; }
  .nav-links { top: 60px; }

  /* Logo text hidden on very small */
  .logo-text small { display: none; }

  /* Hero */
  .hero-title { font-size: 2.4rem; }
  .hero-desc { font-size: 0.92rem; }
  .hero-btns { flex-direction: column; align-items: center; gap: 0.75rem; }
  .hero-btns .btn { width: 100%; max-width: 280px; justify-content: center; }
  .hero-badge { width: 72px; height: 72px; }

  /* Stats */
  .stat-item { width: 50%; padding: 0.65rem; }
  .stat-num { font-size: 1.5rem; }

  /* Zones */
  .zones-grid { grid-template-columns: 1fr; }

  /* Specs */
  .specs-grid { grid-template-columns: 1fr; }

  /* Gallery */
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-tabs { flex-wrap: wrap; gap: 0.4rem; }

  /* Form */
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-brand { flex-direction: column; gap: 0.75rem; }

  /* Contact form padding */
  .contact-form-wrap { padding: 1.5rem; }

  /* Timeline */
  .tl-content { padding: 1rem; }
  .tl-date { font-size: 1rem; }

  /* Invest CTA */
  .invest-cta { padding: 1.5rem; }
  .invest-cta-btns { flex-direction: column; width: 100%; }
  .invest-cta-btns .btn { width: 100%; justify-content: center; }

  /* Section headers */
  .section-title { font-size: 1.6rem; }
}

/* ---- Extra small: 380px ---- */
@media (max-width: 380px) {
  .stat-item { width: 100%; }
  .logo-text { font-size: 0.72rem; }
  .logo-img { width: 34px; height: 34px; }
  .hero-title { font-size: 2rem; }
  .eng-stat { min-width: 100%; }
  .gallery-grid { grid-template-columns: 1fr; }
}
