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

:root {
  --blue: #3371c9;
  --blue-dark: #1f4d9a;
  --blue-light: #5a8fd6;
  --yellow: #f7ce12;
  --yellow-light: #fde96a;
  --white: #ffffff;
  --cream: #fdfaf2;
  --warm-gray: #f5f0e8;
  --text: #1a1a2e;
  --text-muted: #5a5a72;
  --serif: 'Sora', sans-serif;
  --sans: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--text); background: var(--white); 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: 1.2rem 5%;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(51,113,201,0.1);
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 2px 24px rgba(51,113,201,0.12); }

.nav-logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.nav-logo-mark {
  width: 42px; height: 42px; background: var(--blue); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.nav-logo-mark::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 40%; background: var(--yellow);
}
.nav-logo-mark span {
  font-family: var(--serif); font-weight: 700; color: white;
  font-size: 1rem; position: relative; z-index: 1;
}
.nav-logo-text { font-family: var(--serif); font-size: 1rem; font-weight: 600; color: var(--blue-dark); line-height: 1.2; }
.nav-logo-text small { display: block; font-family: var(--sans); font-size: 0.65rem; font-weight: 400; color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a { text-decoration: none; font-size: 0.875rem; font-weight: 500; color: var(--text-muted); transition: color 0.2s; letter-spacing: 0.02em; }
.nav-links a:hover, .nav-links a.active { color: var(--blue); }
.nav-cta { background: var(--yellow) !important; color: var(--text) !important; padding: 0.55rem 1.3rem !important; border-radius: 2rem; font-weight: 600 !important; transition: background 0.2s, transform 0.2s !important; }
.nav-cta:hover { background: var(--yellow-light) !important; transform: translateY(-1px); }

/* hamburger */
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s; }

/* ── PAGE HERO BANNER ── */
.page-hero {
  padding: 9rem 5% 5rem;
  position: relative;
  overflow: hidden;
  text-align: center;
  min-height: 340px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.page-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
}
.page-hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
  /* Replace page-hero-placeholder.jpg with your image */
  display: block;
}
.page-hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(135deg, rgba(31,77,154,0.82) 0%, rgba(51,113,201,0.72) 100%);
}
.page-hero-content { position: relative; z-index: 3; color: white; }
.page-hero-label { display: inline-block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--yellow); margin-bottom: 1rem; }
.page-hero h1 { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 700; line-height: 1.2; margin-bottom: 1rem; }
.page-hero h1 em { font-style: normal; color: var(--yellow); }
.page-hero p { font-size: 1rem; color: rgba(255,255,255,0.75); max-width: 520px; margin: 0 auto; line-height: 1.75; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-bottom: 1.25rem; font-size: 0.8rem; color: rgba(255,255,255,0.5); }
.breadcrumb a { color: rgba(255,255,255,0.6); text-decoration: none; }
.breadcrumb a:hover { color: var(--yellow); }
.breadcrumb span { color: var(--yellow); font-weight: 500; }

/* ── SHARED UTILITIES ── */
.section-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--blue); margin-bottom: 0.75rem; display: block; }
.section-title { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 700; line-height: 1.2; color: var(--text); margin-bottom: 1.25rem; }
.section-title em { font-style: normal; color: var(--blue); }
.yellow-bar { width: 48px; height: 4px; background: var(--yellow); border-radius: 2px; margin-bottom: 1.5rem; }

.btn-primary { background: var(--blue); color: white; padding: 0.85rem 2rem; border-radius: 2rem; font-weight: 600; font-size: 0.95rem; text-decoration: none; display: inline-block; transition: background 0.2s, transform 0.2s, box-shadow 0.2s; box-shadow: 0 4px 20px rgba(51,113,201,0.3); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(51,113,201,0.4); }
.btn-secondary { background: var(--yellow); color: var(--text); padding: 0.85rem 2rem; border-radius: 2rem; font-weight: 600; font-size: 0.95rem; text-decoration: none; display: inline-block; transition: background 0.2s, transform 0.2s; }
.btn-secondary:hover { background: var(--yellow-light); transform: translateY(-2px); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── FOOTER ── */
footer {
  background: var(--text);
  color: rgba(255,255,255,0.6);
  padding: 2rem 5%;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem; font-size: 0.82rem;
}
footer strong { color: white; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.82rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--yellow); }
.footer-heart { color: var(--yellow); }

/* ── MOBILE ── */
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: white; padding: 1.5rem 5%; border-bottom: 1px solid rgba(51,113,201,0.1); gap: 1.25rem; box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
  .nav-links.open { display: flex; }
  .nav-links .nav-cta { text-align: center; }
  .nav-toggle { display: flex; }
  nav { position: fixed; }
}
