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

:root {
  --navy:   #0a1628;
  --blue:   #1a3a6b;
  --mid:    #2d5fa6;
  --red:    #c0152a;
  --gold:   #d4a017;
  --gold-lt:#f0c040;
  --white:  #ffffff;
  --off:    #f4f6fb;
  --text:   #1c2333;
  --muted:  #5a6580;
  --border: #dde3f0;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(10,22,40,.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* =============================================
   NAV
   ============================================= */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  height: 64px;
  box-shadow: 0 2px 12px rgba(0,0,0,.4);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
  letter-spacing: .02em;
}

.nav-logo .stars {
  font-size: 1.1rem;
  letter-spacing: .05em;
}

a.nav-logo:hover { opacity: .8; }

.nav-links {
  display: flex;
  gap: .25rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,.75);
  font-size: .9rem;
  font-weight: 500;
  padding: .4rem .85rem;
  border-radius: 6px;
  transition: background .2s, color .2s;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(255,255,255,.12);
  color: var(--white);
}

.nav-links a.active {
  background: var(--mid);
  color: var(--white);
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 60%, #1e4d8c 100%);
  color: var(--white);
  padding: 6rem 2.5rem 5rem;
  overflow: hidden;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Ccircle cx='40' cy='40' r='1.5' fill='rgba(255,255,255,.08)'/%3E%3C/svg%3E") repeat;
}

.hero-eyebrow {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .3rem .85rem;
  border-radius: 20px;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 12px rgba(0,0,0,.3);
}

.hero h1 em {
  font-style: normal;
  color: var(--gold-lt);
}

.hero p {
  max-width: 620px;
  margin: 0 auto 2.5rem;
  font-size: 1.1rem;
  color: rgba(255,255,255,.82);
  line-height: 1.75;
}

.btn-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .75rem 1.6rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: .95rem;
  transition: transform .15s, box-shadow .15s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.25); }

.btn-primary { background: var(--gold); color: var(--navy); }
.btn-secondary { background: rgba(255,255,255,.15); color: var(--white); border: 1.5px solid rgba(255,255,255,.35); }

/* =============================================
   PAGE SECTIONS
   ============================================= */
.section {
  padding: 5rem 2.5rem;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-alt { background: var(--off); }

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: .6rem;
}

.section-header h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: .85rem;
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.02rem;
}

/* =============================================
   GRID LAYOUTS
   ============================================= */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.grid-2.reverse .graphic { order: 2; }
.grid-2.reverse .content { order: 1; }

/* =============================================
   CARDS
   ============================================= */
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform .2s, box-shadow .2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 36px rgba(10,22,40,.16);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.card-icon.blue  { background: #e8eef8; }
.card-icon.red   { background: #fceaec; }
.card-icon.gold  { background: #fdf4dc; }
.card-icon.green { background: #e4f5ec; }

.card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .5rem;
}

.card p {
  font-size: .92rem;
  color: var(--muted);
  line-height: 1.6;
}

/* =============================================
   STAT BAND
   ============================================= */
.stat-band {
  background: var(--navy);
  color: var(--white);
  padding: 3.5rem 2.5rem;
}

.stat-band .section-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item .num {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--gold-lt);
  line-height: 1;
}

.stat-item .label {
  font-size: .85rem;
  color: rgba(255,255,255,.65);
  margin-top: .4rem;
  line-height: 1.4;
}

/* =============================================
   QUOTE / CALLOUT
   ============================================= */
.callout {
  background: linear-gradient(135deg, var(--blue), var(--mid));
  color: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem 3rem;
  position: relative;
  overflow: hidden;
}

.callout::before {
  content: '"';
  position: absolute;
  top: -.3rem;
  left: 1.5rem;
  font-size: 8rem;
  font-weight: 900;
  color: rgba(255,255,255,.08);
  line-height: 1;
}

.callout blockquote {
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.7;
  max-width: 700px;
}

.callout cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-size: .9rem;
  color: rgba(255,255,255,.7);
}

/* =============================================
   GRAPHIC WRAPPERS
   ============================================= */
.graphic {
  display: flex;
  align-items: center;
  justify-content: center;
}

.graphic svg {
  width: 100%;
  max-width: 420px;
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(10,22,40,.18));
}

/* =============================================
   CONTENT PROSE
   ============================================= */
.content h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: .85rem;
  line-height: 1.25;
}

.content p {
  color: var(--muted);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.content ul {
  list-style: none;
  margin-top: 1.25rem;
}

.content ul li {
  padding: .45rem 0 .45rem 1.75rem;
  position: relative;
  color: var(--text);
  font-size: .97rem;
}

.content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .85rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

/* =============================================
   BAR CHART (pure CSS)
   ============================================= */
.bar-chart {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  margin-top: 1.5rem;
}

.bar-row {
  display: grid;
  grid-template-columns: 120px 1fr 60px;
  align-items: center;
  gap: .75rem;
  font-size: .88rem;
}

.bar-label { color: var(--text); font-weight: 500; text-align: right; }
.bar-track { background: var(--border); border-radius: 4px; height: 14px; overflow: hidden; }
.bar-fill  { height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--mid), var(--gold)); transition: width 1s ease; }
.bar-value { color: var(--muted); font-size: .82rem; }

/* =============================================
   PAGE HERO (inner pages)
   ============================================= */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  color: var(--white);
  padding: 4.5rem 2.5rem 4rem;
  text-align: center;
}

.page-hero .hero-eyebrow { margin-bottom: 1rem; }

.page-hero h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.page-hero h1 em { font-style: normal; color: var(--gold-lt); }

.page-hero p {
  max-width: 560px;
  margin: 0 auto;
  color: rgba(255,255,255,.8);
  font-size: 1.05rem;
}

/* =============================================
   PAGINATION NAV
   ============================================= */
.page-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 2.5rem;
  border-top: 1px solid var(--border);
  background: var(--off);
}

.page-nav a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  color: var(--mid);
  font-size: .95rem;
  transition: color .2s;
}

.page-nav a:hover { color: var(--navy); }
.page-nav .dots { color: var(--muted); font-size: .9rem; }

/* =============================================
   FOOTER
   ============================================= */
footer {
  background: var(--navy);
  color: rgba(255,255,255,.55);
  text-align: center;
  padding: 2rem;
  font-size: .85rem;
}

footer strong { color: var(--white); }

/* =============================================
   LANGUAGE TOGGLE
   ============================================= */
.lang-btn {
  background: rgba(255,255,255,.15);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.4);
  border-radius: 6px;
  padding: .32rem .72rem;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  cursor: pointer;
  transition: background .2s, transform .15s;
  flex-shrink: 0;
  margin-left: .5rem;
  line-height: 1.4;
}
.lang-btn:hover {
  background: rgba(255,255,255,.28);
  transform: translateY(-1px);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 960px) {
  .nav-links a { padding: .4rem .55rem; font-size: .8rem; }
}

@media (max-width: 820px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-2.reverse .graphic, .grid-2.reverse .content { order: unset; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .stat-band .section-inner { grid-template-columns: 1fr 1fr; }
  nav { padding: 0 1rem; }
  .nav-links a { padding: .35rem .45rem; font-size: .76rem; }
  .nav-logo span:last-child { display: none; }
}

@media (max-width: 640px) {
  nav { flex-wrap: wrap; height: auto; padding: .6rem 1rem; gap: .4rem; }
  .nav-links { flex-wrap: wrap; gap: .2rem; order: 3; width: 100%; }
  .nav-logo { flex: 1; }
  .lang-btn { margin-left: auto; }
}

@media (max-width: 540px) {
  .grid-3 { grid-template-columns: 1fr; }
  .stat-band .section-inner { grid-template-columns: 1fr 1fr; }
  .section { padding: 3.5rem 1.25rem; }
  .hero { padding: 4rem 1.25rem 3.5rem; }
  .page-hero { padding: 3rem 1.25rem; }
}
