/* =============================================
   ADRD Louisiana – Shared Styles
   ============================================= */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap');

:root {
  --navy: #1a2744;
  --navy-light: #243358;
  --teal: #2a7d6f;
  --teal-light: #3a9e8e;
  --gold: #c8973a;
  --gold-light: #e8b558;
  --cream: #f8f4ef;
  --cream-dark: #ede7de;
  --white: #ffffff;
  --text-dark: #1c1c2e;
  --text-mid: #4a4a68;
  --text-light: #7a7a96;
  --prevention: #2a7d6f;
  --diagnosis: #1a5a8a;
  --treatment: #7a3060;
  --radius: 10px;
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.06);
  --shadow-md: 0 6px 24px rgba(0,0,0,0.10);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.14);
  --nav-height: 68px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

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

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { line-height: 1.15; }
.serif { font-family: 'Cormorant Garamond', serif; }
a { color: inherit; }

/* ── LAYOUT ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2.5rem; }
.container-sm { max-width: 820px; margin: 0 auto; padding: 0 2.5rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }

/* ── NAVIGATION ── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(26, 39, 68, 0.97);
  backdrop-filter: blur(12px);
  z-index: 100;
  height: var(--nav-height);
  display: flex; align-items: center;
  border-bottom: 1px solid rgba(200,151,58,0.2);
}

.nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 2.5rem;
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
}

.nav-logo {
  display: flex; align-items: center; gap: 0.75rem;
  text-decoration: none;
}

.nav-emblem {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700; font-size: 1.1rem;
  color: var(--navy); flex-shrink: 0;
}

.nav-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600; font-size: 1.05rem;
  color: var(--white); line-height: 1.2;
}

.nav-name span { color: var(--gold-light); }

.nav-links {
  display: flex; gap: 0.25rem; list-style: none; align-items: center;
}

.nav-links a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.03em;
  padding: 0.4rem 0.75rem;
  border-radius: 4px;
  transition: all 0.2s;
}

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

.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  font-weight: 600 !important;
  margin-left: 0.75rem;
}

.nav-cta:hover { background: var(--gold-light) !important; }

/* hamburger */
.nav-toggle {
  display: none; background: none; border: none;
  cursor: pointer; padding: 0.5rem; color: var(--white);
}

.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: currentColor; margin: 4px 0;
  transition: transform 0.3s;
}

/* ── SECTION CHROME ── */
section { padding: 5rem 0; }
section.dark { background: var(--navy); color: var(--white); }
section.cream { background: var(--cream); }
section.white { background: var(--white); }
section.teal { background: var(--teal); color: var(--white); }

.section-eyebrow {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.75rem;
  display: block;
}

section.dark .section-eyebrow { color: var(--gold-light); }

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem; font-weight: 300;
  line-height: 1.1; margin-bottom: 1rem;
}

section.dark .section-title { color: var(--white); }
.section-title em { font-style: italic; color: var(--teal); }
section.dark .section-title em { color: var(--teal-light); }

.section-lead {
  font-size: 1.05rem; color: var(--text-mid);
  line-height: 1.75; max-width: 600px;
  margin-bottom: 2.5rem;
}

section.dark .section-lead { color: rgba(255,255,255,0.65); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.8rem 1.75rem; border-radius: 4px;
  font-size: 0.92rem; font-weight: 600;
  text-decoration: none; cursor: pointer;
  border: none; transition: all 0.2s;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  box-shadow: 0 4px 16px rgba(200,151,58,0.3);
}

.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(200,151,58,0.45); }

.btn-outline-white {
  border: 1.5px solid rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.85);
  background: transparent;
}

.btn-outline-white:hover { border-color: var(--gold-light); color: var(--gold-light); }

.btn-teal { background: var(--teal); color: var(--white); }
.btn-teal:hover { background: #1f6357; transform: translateY(-2px); }

.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-light); transform: translateY(-2px); }

/* ── CARDS ── */
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

/* ── BADGES ── */
.badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.35rem 0.85rem; border-radius: 2rem;
}

.badge-gold {
  background: rgba(200,151,58,0.15);
  border: 1px solid rgba(200,151,58,0.35);
  color: var(--gold-light);
}

.badge-pulse::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--gold-light);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

/* ── PAGE HERO (sub-pages) ── */
.page-hero {
  background: var(--navy);
  padding: 8rem 0 4rem;
  position: relative; overflow: hidden;
}

.page-hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 80% at 80% 50%, rgba(42,125,111,0.18) 0%, transparent 60%);
}

.page-hero-content { position: relative; z-index: 2; }

.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.2rem; font-weight: 300;
  color: var(--white); line-height: 1.1;
}

.page-hero h1 em { font-style: italic; color: var(--gold-light); }
.page-hero p { font-size: 1.05rem; color: rgba(255,255,255,0.65); max-width: 560px; margin-top: 1rem; line-height: 1.75; }

/* ── FOOTER ── */
footer {
  background: #0d1520;
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}

.footer-logo-wrap { text-decoration: none; display: inline-flex; align-items: center; gap: 0.75rem; }

.footer-logo-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; font-weight: 600;
  color: var(--white);
}

.footer-logo-name span { color: var(--gold-light); }

.footer-tagline {
  font-size: 0.85rem; color: rgba(255,255,255,0.45);
  line-height: 1.6; margin-top: 0.75rem; max-width: 280px;
}

.footer-col h4 {
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.45); margin-bottom: 1rem;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }

.footer-col ul a {
  font-size: 0.88rem; color: rgba(255,255,255,0.65);
  text-decoration: none; transition: color 0.2s;
}

.footer-col ul a:hover { color: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}

.footer-legal {
  font-size: 0.75rem; color: rgba(255,255,255,0.3); line-height: 1.6;
}

.footer-helpline {
  font-size: 0.85rem; color: var(--gold-light); font-weight: 600;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-up { animation: fadeUp 0.6s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .three-col { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: var(--nav-height); left: 0; right: 0;
    background: var(--navy);
    padding: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .section-title { font-size: 2.2rem; }
  .container, .container-sm { padding: 0 1.25rem; }
  section { padding: 3.5rem 0; }
  .page-hero { padding: 6rem 0 3rem; }
  .page-hero h1 { font-size: 2.4rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 540px) {
  .three-col { grid-template-columns: 1fr; }
  .section-title { font-size: 1.9rem; }
}

/* ── FEATHER ICONS ── */
.icon { display:inline-block; vertical-align:middle; stroke:currentColor; fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.icon-sm  { width:13px; height:13px; }
.icon-md  { width:16px; height:16px; }
.icon-lg  { width:18px; height:18px; }
.icon-xl  { width:20px; height:20px; }
.icon-wrap { width:52px; height:52px; border-radius:12px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.icon-wrap-sm { width:38px; height:38px; border-radius:9px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }

/* Context-specific icon sizing */
/* Risk cards: small icon above a label — 16px */
.risk-card-icon .icon { width:16px; height:16px; }

/* Mission cards (about page): centered icon in white card — 20px */
.mission-icon .icon { width:20px; height:20px; }

/* Resource cards: icon above card title — 18px */
.rc-icon .icon { width:18px; height:18px; }

/* Care goal cards on dark background — 18px */
.cg-icon .icon { width:18px; height:18px; }

/* Louisiana resource list items — 16px inside 44px container */
.la-item-icon .icon { width:16px; height:16px; }

/* Contact info cards — 16px inside 46px container */
.ci-icon .icon { width:16px; height:16px; }

/* Inline heading icons (h3 inside treatment/resources cards) */
h3 > .icon { width:16px; height:16px; position:relative; top:-1px; }

/* ── SECTION IMAGES ── */
.section-img { width:100%; border-radius:14px; object-fit:cover; display:block; }
.section-img-wrap { position:relative; overflow:hidden; border-radius:14px; box-shadow:var(--shadow-lg); }
.section-img-wrap img { width:100%; height:100%; object-fit:cover; display:block; }
.img-caption { font-size:.75rem; color:var(--text-light); margin-top:.5rem; }

/* hero image overlay */
.hero-img-panel { position:relative; border-radius:16px; overflow:hidden; box-shadow:0 24px 60px rgba(0,0,0,.4); }
.hero-img-panel img { width:100%; height:420px; object-fit:cover; display:block; filter:brightness(.9); }
.hero-img-overlay { position:absolute; inset:0; background:linear-gradient(to top, rgba(26,39,68,.6) 0%, transparent 50%); }
.hero-img-badge { position:absolute; bottom:1.25rem; left:1.25rem; right:1.25rem; display:flex; gap:.75rem; flex-wrap:wrap; }
.hero-img-pill { background:rgba(255,255,255,.15); backdrop-filter:blur(8px); border:1px solid rgba(255,255,255,.2); color:var(--white); font-size:.75rem; font-weight:600; padding:.35rem .75rem; border-radius:2rem; }
