@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:wght@300;400;500;600&display=swap');

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

:root {
  --navy: #0f1f3d;
  --navy-mid: #162a52;
  --blue: #1a52a8;
  --accent: #e8a020;
  --accent-light: #f5c96a;
  --off-white: #f7f5f0;
  --text: #1a1a2e;
  --text-muted: #5a6070;
  --border: #e0ddd7;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--off-white);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(15, 31, 61, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.nav-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.6rem;
  color: #fff;
  letter-spacing: 0.05em;
  text-decoration: none;
}
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 0; list-style: none; }
.nav-links a {
  display: block;
  padding: 0.5rem 1.2rem;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
  border-radius: 6px;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent-light); }
.nav-links .nav-cta {
  background: var(--accent);
  color: var(--navy) !important;
  border-radius: 6px;
  transition: background 0.2s !important;
}
.nav-links .nav-cta:hover { background: var(--accent-light) !important; }

/* ── PAGE HERO (subpages) ── */
.page-hero {
  background: var(--navy);
  padding: 130px 2rem 70px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -150px; right: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(26,82,168,0.35) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-inner { max-width: 800px; margin: 0 auto; }
.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}
.page-hero .breadcrumb a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.2s;
}
.page-hero .breadcrumb a:hover { color: var(--accent-light); }
.page-hero .breadcrumb-sep { color: rgba(255,255,255,0.2); }
.page-hero .breadcrumb-current { color: var(--accent-light); }
.page-hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.page-hero h1 em { font-style: italic; color: var(--accent-light); }
.page-hero p {
  color: rgba(255,255,255,0.6);
  font-size: 1.05rem;
  max-width: 600px;
}

/* ── MAIN CONTENT ── */
.main-content { padding: 80px 2rem; }
.container { max-width: 1100px; margin: 0 auto; }

.section-label {
  display: inline-block;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.3rem;
  margin-bottom: 1rem;
}
.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 1.2rem;
}
.section-title em { font-style: italic; color: var(--blue); }

/* ── CARDS ── */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--accent));
}
.card + .card { margin-top: 2rem; }

.card h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 1rem;
}
.card p {
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}
.card p:last-child { margin-bottom: 0; }
.card p strong { color: var(--navy); }
.card a { color: var(--blue); }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--accent);
  color: var(--navy);
  padding: 0.9rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
  display: inline-block;
}
.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(232,160,32,0.35);
}
.btn-secondary {
  background: transparent;
  color: var(--blue);
  padding: 0.9rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid var(--blue);
  transition: all 0.2s;
  display: inline-block;
}
.btn-secondary:hover { background: var(--blue); color: #fff; }

/* ── FOOTER ── */
footer {
  background: var(--navy);
  padding: 2rem;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.07);
}
footer p { color: rgba(255,255,255,0.4); font-size: 0.85rem; }
footer a { color: rgba(255,255,255,0.6); text-decoration: none; }
footer a:hover { color: var(--accent-light); }

/* ── WARNING BOX ── */
.warning-box {
  background: rgba(232,160,32,0.08);
  border: 1px solid rgba(232,160,32,0.3);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  padding: 1.2rem 1.5rem;
  margin: 1.5rem 0;
}
.warning-box p { color: var(--text); font-size: 0.93rem; margin: 0; }
.warning-box strong { color: #b87a00; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}
.page-hero-inner { animation: fadeUp 0.6s ease both; }
.card { animation: fadeUp 0.6s ease both; }
.card:nth-child(2) { animation-delay: 0.1s; }
.card:nth-child(3) { animation-delay: 0.2s; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .main-content { padding: 50px 1.5rem; }
  .page-hero { padding: 110px 1.5rem 50px; }
}
