/* ── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Figtree', sans-serif;
  color: #111827;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  --navy:        #0C1E3E;
  --navy-mid:    #153060;
  --blue-accent: #1A5DB5;
  --green:       #15803D;
  --amber:       #D97706;
  --amber-hover: #B45309;
  --white:       #FFFFFF;
  --gray-50:     #F5F7FA;
  --gray-200:    #E2E8F0;
  --gray-500:    #6B7280;
  --text:        #111827;
}

/* ── Typography ────────────────────────────────────────────── */
h1, h2, h3 { font-family: 'Fraunces', serif; font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(36px, 5vw, 52px); letter-spacing: -0.5px; }
h2 { font-size: clamp(28px, 3.5vw, 38px); letter-spacing: -0.3px; }
h3 { font-size: 20px; font-weight: 600; }
p { color: var(--gray-500); line-height: 1.7; }

/* ── Layout Utilities ──────────────────────────────────────── */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: 88px 0; }
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue-accent);
  margin-bottom: 14px;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Figtree', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-primary {
  background: var(--amber);
  color: #fff;
}
.btn-primary:hover {
  background: var(--amber-hover);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.55);
}
.btn-ghost:hover {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}

/* ── Scroll Reveal ─────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; }
.reveal.visible {
  animation: fadeUp 0.55s ease forwards;
}

/* ── Navigation ────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.nav.scrolled {
  border-bottom-color: var(--gray-200);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 32px;
  position: relative;
}
.nav-logo {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}
.nav-logo span { color: var(--amber); }

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  list-style: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-500);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 6px;
  transition: color 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--navy);
  background: var(--gray-50);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.15s;
}
.nav-toggle:hover { background: var(--gray-50); }
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    transform: none;
    background: #fff;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 12px 12px;
    font-size: 15px;
    border-radius: 8px;
  }
}

/* ── Final CTA ─────────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-mid) 100%);
  text-align: center;
  padding: 96px 0;
}
.cta-section h2 {
  color: #fff;
  max-width: 640px;
  margin: 0 auto 16px;
  font-size: clamp(26px, 3.2vw, 36px);
}
.cta-section .cta-sub {
  color: rgba(255,255,255,0.75);
  font-size: 17px;
  margin-bottom: 36px;
}
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── Footer ────────────────────────────────────────────────── */
footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 36px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-logo {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.4px;
}
.footer-logo span { color: var(--amber); }
.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  margin-top: 4px;
}
.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* ── Cards ─────────────────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 36px 32px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.card-icon {
  width: 48px;
  height: 48px;
  background: #EFF6FF;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.card-icon svg { color: var(--blue-accent); }
.card h3 { color: var(--text); margin-bottom: 12px; font-size: 19px; }
.card p { font-size: 15px; line-height: 1.65; }
.card-list {
  list-style: none;
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.card-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--gray-500);
}
.card-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-accent);
  flex-shrink: 0;
}

/* ── Steps ─────────────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 34px;
  left: calc(12.5% + 12px);
  right: calc(12.5% + 12px);
  height: 1px;
  border-top: 2px dashed var(--gray-200);
  z-index: 0;
}
.step {
  text-align: center;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}
.step-number {
  font-family: 'Fraunces', serif;
  font-size: 52px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 16px;
  display: block;
}
.step h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.step p { font-size: 14px; line-height: 1.6; }

/* ── Page Hero (interior pages) ────────────────────────────── */
.page-hero {
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-mid) 100%);
  text-align: center;
  padding: 80px 0 72px;
}
.page-hero h1 { color: #fff; margin-bottom: 16px; }
.page-hero p {
  color: rgba(255,255,255,0.75);
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto;
}

/* ── Global Responsive ─────────────────────────────────────── */
@media (max-width: 900px) {
  .cards-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}
@media (max-width: 768px) {
  section { padding: 64px 0; }
  .footer-inner { flex-direction: column; text-align: center; gap: 8px; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .steps::before { display: none; }
  .step { text-align: left; display: flex; gap: 20px; align-items: flex-start; padding: 0; }
  .step-number { font-size: 38px; min-width: 52px; }
}
