/* ── SHARED STYLES — Bridging Generations ──────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&family=DM+Sans:wght@300;400;500;600&display=swap');

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

:root {
  --navy:    #0d2d4f;
  --navy-mid:#1a4570;
  --blue:    #2e7bbf;
  --blue-lt: #5ba4d4;
  --green:   #4caf6e;
  --green-lt:#7ecf96;
  --mist:    #e8f2f8;
  --cream:   #f5f8fb;
  --charcoal:#1c2b3a;
  --mid:     #4a6070;
  --light:   #8aa4b8;
  --white:   #ffffff;
  --serif:   'Playfair Display', Georgia, serif;
  --sans:    'DM Sans', sans-serif;
  --radius:  6px;
  --shadow:  0 4px 32px rgba(13,45,79,0.12);
}

html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--cream); color: var(--charcoal); line-height: 1.65; overflow-x: hidden; }
h1,h2,h3,h4 { font-family: var(--serif); line-height: 1.15; }

.eyebrow {
  font-family: var(--sans); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue);
}

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.8rem 4vw;
  background: rgba(255,255,255,0.96); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(13,45,79,0.1); transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 2px 20px rgba(13,45,79,0.12); }
.nav-logo { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a { font-size: 0.85rem; font-weight: 500; color: var(--charcoal); text-decoration: none; opacity: 0.75; transition: opacity 0.2s; }
.nav-links a:hover, .nav-links a.active { opacity: 1; color: var(--navy); }
.nav-links a.active { font-weight: 600; border-bottom: 2px solid var(--blue); padding-bottom: 2px; }
.nav-cta { background: var(--navy) !important; color: var(--white) !important; opacity: 1 !important; padding: 0.55rem 1.2rem; border-radius: var(--radius); font-weight: 600 !important; transition: background 0.2s !important; }
.nav-cta:hover { background: var(--navy-mid) !important; border-bottom: none !important; }

/* PAGE HERO BANNER */
.page-hero {
  padding: 8rem 8vw 5rem;
  background: var(--navy);
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--green), var(--blue-lt));
}
.page-hero::before {
  content: ''; position: absolute; top: -30%; right: -5%;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(91,164,212,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-inner { max-width: 760px; position: relative; z-index: 1; }
.page-hero .eyebrow { color: var(--blue-lt); margin-bottom: 1rem; }
.page-hero h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 900; color: var(--white); margin-bottom: 1.2rem; }
.page-hero h1 em { font-style: italic; color: var(--green-lt); }
.page-hero p { font-size: 1.1rem; color: rgba(255,255,255,0.65); max-width: 600px; line-height: 1.75; }

/* SECTIONS */
section { padding: 5.5rem 8vw; }
section.alt { background: var(--white); }
section.dark { background: var(--navy); color: var(--white); }
section.dark .eyebrow { color: var(--blue-lt); }
section.dark h2 { color: var(--white); }
section.dark p { color: rgba(255,255,255,0.65); }

.section-header { text-align: center; max-width: 680px; margin: 0 auto 3.5rem; }
.section-header h2 { font-size: clamp(1.8rem, 2.8vw, 2.6rem); color: var(--navy); margin: 0.5rem 0 1rem; }
.section-header p { font-size: 1rem; color: var(--mid); line-height: 1.75; }

/* BUTTONS */
.btn-primary { background: var(--navy); color: var(--white); padding: 0.85rem 2rem; border-radius: var(--radius); font-size: 0.9rem; font-weight: 600; text-decoration: none; transition: background 0.2s, transform 0.2s; display: inline-block; }
.btn-primary:hover { background: var(--navy-mid); transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--navy); padding: 0.85rem 2rem; border-radius: var(--radius); border: 1.5px solid var(--navy); font-size: 0.9rem; font-weight: 600; text-decoration: none; transition: background 0.2s, color 0.2s; display: inline-block; }
.btn-secondary:hover { background: var(--navy); color: var(--white); }
.btn-blue { background: var(--blue); color: var(--white); padding: 0.95rem 2.2rem; border-radius: var(--radius); font-size: 0.9rem; font-weight: 700; text-decoration: none; transition: background 0.2s, transform 0.2s; display: inline-block; }
.btn-blue:hover { background: var(--blue-lt); transform: translateY(-2px); }
.btn-outline-white { background: transparent; color: var(--white); padding: 0.95rem 2.2rem; border: 1.5px solid rgba(255,255,255,0.35); border-radius: var(--radius); font-size: 0.9rem; font-weight: 600; text-decoration: none; transition: border-color 0.2s, background 0.2s; display: inline-block; }
.btn-outline-white:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

/* CARDS */
.card { background: var(--white); border: 1px solid rgba(13,45,79,0.08); border-radius: 12px; padding: 2rem; transition: transform 0.3s, box-shadow 0.3s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-icon { font-size: 2rem; margin-bottom: 1rem; }
.card h3 { font-size: 1.1rem; color: var(--navy); margin-bottom: 0.6rem; }
.card p { font-size: 0.88rem; color: var(--mid); line-height: 1.65; }

/* TAGS */
.tag { background: rgba(46,123,191,0.12); color: var(--blue); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.3rem 0.75rem; border-radius: 20px; display: inline-block; }
.tag.green { background: rgba(76,175,110,0.12); color: var(--green); }
.tag.navy { background: rgba(13,45,79,0.1); color: var(--navy); }

/* CTA STRIP */
.cta-strip { background: var(--navy); color: var(--white); padding: 5rem 8vw; text-align: center; position: relative; overflow: hidden; }
.cta-strip::before { content: ''; position: absolute; bottom: -10%; left: -5%; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(76,175,110,0.1) 0%, transparent 70%); }
.cta-strip .eyebrow { color: var(--blue-lt); }
.cta-strip h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); color: var(--white); max-width: 600px; margin: 0.6rem auto 1rem; }
.cta-strip p { color: rgba(255,255,255,0.6); max-width: 480px; margin: 0 auto 2.5rem; line-height: 1.7; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

/* FOOTER */
footer { background: #071a2e; color: rgba(255,255,255,0.45); padding: 2.5rem 8vw; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-brand { font-family: var(--serif); font-size: 1rem; font-weight: 700; color: rgba(255,255,255,0.7); }
footer a { color: rgba(255,255,255,0.45); text-decoration: none; font-size: 0.82rem; }
footer a:hover { color: var(--blue-lt); }

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

/* DIVIDER */
.divider { width: 48px; height: 3px; background: linear-gradient(90deg, var(--blue), var(--green)); border-radius: 2px; margin: 1rem 0 1.5rem; }
.divider.center { margin: 1rem auto 1.5rem; }

/* RESPONSIVE */
@media (max-width: 900px) { nav .nav-links { display: none; } section { padding: 4rem 5vw; } .page-hero { padding: 6rem 5vw 4rem; } }
@media (max-width: 600px) { section { padding: 3rem 5vw; } }
