*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --sun: #F5A623;
  --sun-light: #FFD87A;
  --sky: #0A1628;
  --sky-mid: #0D2244;
  --horizon: #1A3A5C;
  --white: #F7F4EE;
  --muted: #A0B0C8;
  --accent: #3DD6A3;
  --panel: rgba(255,255,255,0.04);
  --border: rgba(255,255,255,0.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--sky);
  color: var(--white);
  overflow-x: hidden;
}

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 3rem;
  background: rgba(10,22,40,0.98);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

nav.nav--gradient {
  background: linear-gradient(to bottom, rgba(10,22,40,0.98), transparent);
  border-bottom: none;
}

.nav-wordmark {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  color: var(--white);
  text-decoration: none;
}
.nav-wordmark span { color: var(--sun); }

.nav-links { display: flex; gap: 2.5rem; list-style: none; align-items: center; }
.nav-links a {
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted);
  text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }

.nav-cta {
  background: var(--sun); color: var(--sky) !important;
  padding: 0.5rem 1.25rem; border-radius: 2px;
  font-weight: 700 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--sun-light) !important; color: var(--sky) !important; }

/* ─── FOOTER ─── */
footer {
  background: var(--sky-mid);
  border-top: 3px solid var(--sun);
  padding: 2rem 3rem 1rem;
}
.footer-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #E8EAF0;
}
.footer-logo-img {
  display: block;
  height: 64px; width: auto;
}
.footer-tagline {
  font-size: 0.85rem; color: var(--muted);
  margin-top: 0.6rem; max-width: 28ch;
  line-height: 1.6;
}
.footer-nav-group h5 { display: none; }
.footer-links { display: flex; flex-direction: row; gap: 2rem; list-style: none; flex-wrap: wrap; }
.footer-links a {
  font-size: 0.85rem; color: var(--muted);
  text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: var(--sky); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
}
.footer-copy {
  font-size: 0.75rem; color: #B8C4D6;
  font-family: 'DM Mono', monospace;
}
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a {
  font-size: 0.75rem; color: #B8C4D6;
  text-decoration: none; transition: color 0.2s;
}
.footer-legal a:hover { color: var(--sky); }

/* ─── ANIMATIONS ─── */
.fade-in {
  opacity: 0; transform: translateY(24px);
  animation: fadeUp 0.8s ease forwards;
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }

/* ─── MOBILE NAV ─── */
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
  z-index: 101; position: relative;
}
.nav-burger span {
  display: block; width: 22px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none; position: fixed; inset: 0; z-index: 99;
  background: var(--sky); flex-direction: column;
  align-items: center; justify-content: center; gap: 2.5rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem; letter-spacing: 0.08em;
  color: var(--white); text-decoration: none; transition: color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a.active { color: var(--sun); }
.mobile-nav .mobile-cta {
  background: var(--sun); color: var(--sky) !important;
  padding: 0.6rem 2.5rem; border-radius: 2px;
}
.mobile-nav .mobile-cta:hover { background: var(--sun-light) !important; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  footer { padding: 2rem 1.5rem; }
  .footer-top { flex-direction: column; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .footer-legal { justify-content: center; }
  .footer-links { flex-wrap: wrap; }
}
