/* ── RESET & VARIABLES ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:  #0a1628;
  --blue:  #1a3a5c;
  --mid:   #2563a8;
  --sky:   #5ba3d9;
  --ice:   #b8daf0;
  --frost: #e8f4fc;
  --white: #f9fbfd;
  --text:  #1a2a3a;
  --muted: #5a7a95;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--text);
  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: 0 5vw;
  height: 72px;
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  will-change: transform;
  transform: translateZ(0);
  border-bottom: 1px solid rgba(91, 163, 217, 0.15);
}
.logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: var(--white);
  text-decoration: none;
  line-height: 1.2;
}
.logo span { color: var(--sky); }
.nav-links { display: flex; gap: 2.5rem; list-style: none; align-items: center; }
.nav-links a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--sky); }
.nav-links a.active { color: var(--sky); }
.nav-cta {
  font-size: 0.78rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.1em !important;
  color: var(--navy) !important;
  background: var(--sky);
  padding: 0.55rem 1.4rem !important;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--ice) !important; color: var(--navy) !important; }

/* ── PAGE HEADER (shared) ── */
.page-header {
  background: var(--navy);
  padding: 9rem 8vw 5rem;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 100% at 80% 50%, rgba(37,99,168,0.3) 0%, transparent 70%);
  pointer-events: none;
}
.page-header-inner { position: relative; z-index: 1; max-width: 640px; }
.eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: var(--sky);
}
.page-header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.page-header p {
  font-size: 0.95rem;
  color: rgba(184,218,240,0.65);
  line-height: 1.75;
  font-weight: 300;
  max-width: 520px;
}

/* ── SECTION HELPERS ── */
.section-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px; height: 1px;
  background: var(--sky);
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 0.6rem;
}
.section-sub {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 3rem;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background: var(--sky);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover {
  background: var(--ice);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(91,163,217,0.25);
}
.btn-ghost {
  display: inline-block;
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1rem 1.5rem;
  border: 1px solid rgba(255,255,255,0.15);
  text-decoration: none;
  border-radius: 2px;
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: var(--sky); color: var(--sky); }

/* ── CTA BANNER (shared) ── */
.cta-banner {
  background: var(--mid);
  padding: 5rem 8vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--blue) 0%, var(--mid) 100%);
}
.cta-banner-text { position: relative; z-index: 1; }
.cta-banner-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--white);
  margin-bottom: 0.5rem;
}
.cta-banner-text p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  font-weight: 300;
}
.btn-white {
  position: relative;
  z-index: 1;
  display: inline-block;
  background: var(--white);
  color: var(--mid);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1rem 2.2rem;
  text-decoration: none;
  border-radius: 2px;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s;
}
.btn-white:hover { background: var(--frost); transform: translateY(-2px); }

/* ── FOOTER ── */
footer {
  background: var(--navy);
  padding: 4rem 8vw 2rem;
  border-top: 1px solid rgba(91,163,217,0.1);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.7;
  font-weight: 300;
  max-width: 260px;
  margin-top: 1rem;
}
.footer-col h4 {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 300;
}
.footer-col a:hover { color: var(--sky); }
.footer-contact p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.8;
  font-weight: 300;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { font-size: 0.75rem; color: rgba(255,255,255,0.2); }
.footer-bottom a { font-size: 0.75rem; color: rgba(255,255,255,0.25); text-decoration: none; }
.footer-bottom a:hover { color: var(--sky); }

/* ── REVEAL ANIMATION ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 0 4vw; }
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .page-header { padding: 8rem 6vw 4rem; }
}
