@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Source+Sans+3:wght@300;400;500;600&display=swap');

:root {
  --navy: #0f1e3d;
  --navy-mid: #1a2f5a;
  --navy-light: #243d78;
  --gold: #b8860b;
  --gold-light: #d4a017;
  --gold-pale: #f5e6c0;
  --cream: #faf7f0;
  --cream-dark: #f0ead8;
  --text: #1a1a2e;
  --text-mid: #3d3d5c;
  --text-muted: #6b6b8a;
  --white: #ffffff;
  --border: rgba(15,30,61,0.12);
  --border-gold: rgba(184,134,11,0.3);
  --red: #c0392b;
  --red-light: #fdf0ee;
  --amber: #d4700a;
  --amber-light: #fff8ee;
  --green: #1a6b3c;
  --green-light: #eef7f1;
  --shadow: 0 4px 24px rgba(15,30,61,0.10);
  --shadow-lg: 0 12px 48px rgba(15,30,61,0.16);
  --radius: 8px;
  --radius-lg: 14px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', sans-serif;
  background: var(--cream);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4 { font-family: 'Playfair Display', serif; line-height: 1.2; }

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold); }

/* ── NAV ── */
nav {
  background: var(--navy);
  position: sticky; top: 0; z-index: 100;
  border-bottom: 2px solid var(--gold);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center;
  padding: 0 24px; height: 64px;
  gap: 0;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 20px; font-weight: 700;
  color: var(--white);
  display: flex; align-items: center; gap: 10px;
  margin-right: auto;
  text-decoration: none;
}
.nav-logo span { color: var(--gold-light); }
.nav-logo-icon {
  width: 32px; height: 32px;
  background: var(--gold);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}
.nav-links { display: flex; gap: 2px; }
.nav-links a {
  color: rgba(255,255,255,0.75);
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
  font-family: 'Source Sans 3', sans-serif;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}
.nav-links a.active { color: var(--gold-light); }
.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  font-weight: 600 !important;
  margin-left: 8px;
}
.nav-cta:hover { background: var(--gold-light) !important; }
.nav-hamburger {
  display: none; background: none; border: none;
  color: white; font-size: 24px; cursor: pointer; padding: 8px;
}
.nav-mobile { display: none; }

/* ── HERO ── */
.hero {
  background: var(--navy);
  padding: 80px 24px 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(184,134,11,0.15) 0%, transparent 70%);
}
.hero-eyebrow {
  display: inline-block;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid var(--border-gold);
  padding: 4px 14px; border-radius: 20px;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
}
.hero h1 span { color: var(--gold-light); }
.hero-sub {
  font-size: 18px; color: rgba(255,255,255,0.7);
  max-width: 580px; margin: 0 auto 36px;
  font-weight: 300;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--radius);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 15px; font-weight: 600;
  cursor: pointer; transition: all 0.2s;
  text-decoration: none; border: none;
}
.btn-gold {
  background: var(--gold); color: var(--navy);
}
.btn-gold:hover { background: var(--gold-light); color: var(--navy); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(184,134,11,0.4); }
.btn-outline {
  background: transparent; color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-mid); transform: translateY(-1px); }

/* ── DEADLINE BANNER ── */
.deadline-bar {
  background: var(--red);
  padding: 10px 24px;
  text-align: center;
  font-size: 14px; font-weight: 600;
  color: white;
  letter-spacing: 0.02em;
}
.deadline-bar span { opacity: 0.85; font-weight: 400; margin-left: 8px; }

/* ── SECTIONS ── */
.section { padding: 64px 24px; }
.section-alt { background: var(--white); }
.container { max-width: 1200px; margin: 0 auto; }
.section-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 10px;
}
.section-title { font-size: clamp(26px, 4vw, 38px); margin-bottom: 16px; }
.section-sub { font-size: 17px; color: var(--text-muted); max-width: 560px; }

/* ── CARDS ── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all 0.2s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-grid { display: grid; gap: 20px; }
.card-grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card-grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card-grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* ── BADGES ── */
.badge {
  display: inline-block;
  font-size: 11px; font-weight: 600; letter-spacing: 0.05em;
  padding: 3px 9px; border-radius: 20px;
}
.badge-red { background: var(--red-light); color: var(--red); }
.badge-amber { background: var(--amber-light); color: var(--amber); }
.badge-green { background: var(--green-light); color: var(--green); }
.badge-navy { background: rgba(15,30,61,0.08); color: var(--navy); }
.badge-gold { background: var(--gold-pale); color: var(--gold); }

/* ── FORMS ── */
input, select, textarea {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 9px 12px;
  background: var(--white);
  color: var(--text);
  width: 100%;
  transition: border-color 0.2s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--navy);
}
label { font-size: 12px; font-weight: 600; color: var(--text-mid); display: block; margin-bottom: 5px; letter-spacing: 0.04em; }

/* ── SEARCH ── */
.search-wrap { position: relative; }
.search-wrap input { padding-left: 42px; font-size: 15px; }
.search-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-muted); pointer-events: none; }

/* ── TABS ── */
.tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--border); margin-bottom: 28px; }
.tab-btn {
  padding: 10px 18px; font-size: 14px; font-weight: 500;
  background: none; border: none; cursor: pointer;
  color: var(--text-muted); border-radius: 6px 6px 0 0;
  font-family: 'Source Sans 3', sans-serif;
  transition: all 0.2s;
  border-bottom: 2px solid transparent; margin-bottom: -2px;
}
.tab-btn:hover { color: var(--navy); background: var(--cream); }
.tab-btn.active { color: var(--navy); border-bottom-color: var(--navy); font-weight: 600; }

/* ── TABLE ── */
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th {
  text-align: left; padding: 10px 14px;
  background: var(--navy); color: white;
  font-weight: 600; font-size: 12px; letter-spacing: 0.05em;
  font-family: 'Source Sans 3', sans-serif;
}
.data-table th:first-child { border-radius: 8px 0 0 0; }
.data-table th:last-child { border-radius: 0 8px 0 0; }
.data-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:nth-child(even) td { background: var(--cream); }
.data-table tr:hover td { background: var(--gold-pale); }
.table-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); }

/* ── MODAL ── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(10,18,40,0.6);
  z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  backdrop-filter: blur(2px);
}
.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 600px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.modal-header {
  background: var(--navy);
  padding: 20px 24px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  display: flex; align-items: center; justify-content: space-between;
}
.modal-header h3 { color: white; font-size: 18px; }
.modal-close { background: none; border: none; color: rgba(255,255,255,0.7); cursor: pointer; font-size: 22px; padding: 4px; }
.modal-body { padding: 24px; }
.modal-footer { padding: 16px 24px; border-top: 1px solid var(--border); display: flex; gap: 10px; justify-content: flex-end; }

/* ── STAT CARDS ── */
.stat-card { text-align: center; padding: 28px 20px; }
.stat-num { font-family: 'Playfair Display', serif; font-size: 48px; font-weight: 700; color: var(--navy); line-height: 1; }
.stat-label { font-size: 13px; color: var(--text-muted); margin-top: 6px; font-weight: 500; }

/* ── TIMELINE ── */
.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: var(--border); }
.timeline-item { position: relative; margin-bottom: 20px; }
.timeline-item::before {
  content: ''; position: absolute; left: -24px; top: 6px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--navy); border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--navy);
}
.timeline-item.red::before { background: var(--red); box-shadow: 0 0 0 2px var(--red); }
.timeline-item.amber::before { background: var(--amber); box-shadow: 0 0 0 2px var(--amber); }
.timeline-item.green::before { background: var(--green); box-shadow: 0 0 0 2px var(--green); }
.timeline-date { font-size: 12px; font-weight: 600; color: var(--text-muted); margin-bottom: 2px; }
.timeline-text { font-size: 14px; color: var(--text); }

/* ── FOOTER ── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  padding: 48px 24px 28px;
  border-top: 2px solid var(--gold);
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-logo { font-family: 'Playfair Display', serif; font-size: 22px; color: white; margin-bottom: 10px; }
.footer-logo span { color: var(--gold-light); }
.footer-desc { font-size: 14px; max-width: 260px; }
.footer-col h4 { color: white; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; font-family: 'Source Sans 3', sans-serif; }
.footer-col a { display: block; color: rgba(255,255,255,0.6); font-size: 14px; margin-bottom: 8px; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; flex-wrap: wrap; gap: 10px; }
.footer-disclaimer { font-size: 12px; color: rgba(255,255,255,0.4); margin-top: 8px; }

/* ── UTILITY ── */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-muted { color: var(--text-muted); }
.mt-8 { margin-top: 8px; } .mt-12 { margin-top: 12px; } .mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; }
.mb-8 { margin-bottom: 8px; } .mb-12 { margin-bottom: 12px; } .mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; } .mb-32 { margin-bottom: 32px; }
.flex { display: flex; } .items-center { align-items: center; } .gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; }
.hidden { display: none !important; }

/* ── ALERT ── */
.alert { padding: 14px 18px; border-radius: var(--radius); font-size: 14px; display: flex; gap: 10px; align-items: flex-start; }
.alert-red { background: var(--red-light); border-left: 3px solid var(--red); color: #7a1a1a; }
.alert-amber { background: var(--amber-light); border-left: 3px solid var(--amber); color: #7a3a0a; }
.alert-green { background: var(--green-light); border-left: 3px solid var(--green); color: #0a3a1a; }
.alert-navy { background: rgba(15,30,61,0.06); border-left: 3px solid var(--navy); color: var(--navy); }

/* ── PROGRESS ── */
.progress-bar { height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; }
.progress-fill { height: 100%; border-radius: 3px; transition: width 0.4s ease; }
.progress-navy { background: var(--navy); }
.progress-gold { background: var(--gold); }
.progress-green { background: var(--green); }
.progress-red { background: var(--red); }

/* ── CHECKLIST ── */
.checklist-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--border);
  cursor: pointer; transition: all 0.15s;
}
.checklist-item:last-child { border-bottom: none; }
.checklist-item:hover { padding-left: 4px; }
.check-box {
  width: 20px; height: 20px; border-radius: 4px;
  border: 2px solid var(--border);
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; font-size: 12px;
}
.check-box.done { background: var(--green); border-color: var(--green); color: white; }
.check-label { font-size: 14px; flex: 1; }
.check-label.done { text-decoration: line-through; color: var(--text-muted); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: block; }
  .nav-mobile { display: none; background: var(--navy-mid); padding: 12px; }
  .nav-mobile.open { display: block; }
  .nav-mobile a { display: block; color: white; padding: 10px 16px; border-radius: 6px; font-size: 15px; }
  .nav-mobile a:hover { background: rgba(255,255,255,0.1); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 48px 20px; }
  .section { padding: 40px 16px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
