/* ============================================
   Cecelia Care — Shared Design System
   Fonts loaded via <link> in each HTML file
   ============================================ */

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

:root {
  --navy: #2B3990;
  --navy-dark: #1e2a6e;
  --navy-light: #eef0fb;
  --orange: #E8511A;
  --orange-dark: #c94210;
  --text: #1a1a2e;
  --muted: #6b7280;
  --border: #e5e7eb;
  --bg: #f5f6fa;
}

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

/* ── NAVBAR ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  padding: 0 5%; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 2px 20px rgba(43,57,144,0.25);
}
.nav-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.4rem; color: white; text-decoration: none;
}
.nav-links { list-style: none; display: flex; gap: 32px; }
.nav-links a {
  color: rgba(255,255,255,0.85); text-decoration: none;
  font-size: 0.9rem; font-weight: 500; transition: color 0.2s;
}
.nav-links a:hover { color: white; }
.nav-links a.active {
  color: white;
  border-bottom: 2px solid var(--orange);
  padding-bottom: 2px;
}
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: white; border-radius: 2px;
}

/* ── PAGE HEADER BANNER ── */
.page-header {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, #3d52c4 100%);
  padding: 56px 5% 52px;
}
.page-header-inner { max-width: 1100px; margin: 0 auto; }
.eyebrow {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 5px 14px; border-radius: 20px; margin-bottom: 14px;
}
.page-header h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: white; line-height: 1.2; margin-bottom: 12px;
}
.page-header p {
  color: rgba(255,255,255,0.75);
  font-size: 1rem; font-weight: 300; max-width: 560px;
}

/* ── MAIN CONTENT ── */
.page-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 5%;
}

/* ── TYPOGRAPHY HELPERS ── */
.section-label {
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--orange); margin-bottom: 10px;
  display: block;
}
.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--text); margin-bottom: 10px; line-height: 1.25;
}
.section-sub {
  color: var(--muted); font-size: 0.95rem;
  max-width: 560px; margin-bottom: 36px; font-weight: 300;
}

/* ── CARD ── */
.card {
  background: white; border-radius: 14px;
  border: 1px solid var(--border); padding: 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 8px 30px rgba(43,57,144,0.1);
  transform: translateY(-2px);
}

/* ── RESOURCE GROUPS ── */
.resource-group { margin-bottom: 36px; }
.resource-group h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.25rem; color: var(--text);
  margin-bottom: 12px; padding-bottom: 10px;
  border-bottom: 2px solid var(--navy-light);
  display: flex; align-items: center; gap: 8px;
}
.resource-list { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.resource-list li a {
  display: flex; align-items: center; gap: 8px;
  color: var(--navy); text-decoration: none; font-size: 0.92rem;
  padding: 9px 14px; border-radius: 8px;
  transition: background 0.15s;
  border: 1px solid transparent;
}
.resource-list li a:hover {
  background: var(--navy-light);
  border-color: var(--border);
}
.resource-list li a::before {
  content: '→'; color: var(--orange);
  font-size: 0.8rem; flex-shrink: 0;
}

/* ── QUICK LINKS ── */
.quick-links { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.quick-links a {
  background: white; color: var(--navy);
  border: 1px solid var(--border);
  padding: 8px 18px; border-radius: 20px;
  text-decoration: none; font-size: 0.88rem;
  font-weight: 500; transition: all 0.2s;
}
.quick-links a:hover { background: var(--navy); color: white; border-color: var(--navy); }

/* ── FORMS ── */
.form-card {
  background: white; border-radius: 16px;
  border: 1px solid var(--border); padding: 36px;
  max-width: 640px; margin: 0 auto;
}
.form-group { display: flex; flex-direction: column; gap: 12px; }
.form-group input,
.form-group textarea {
  padding: 13px 16px;
  border: 1px solid var(--border); border-radius: 10px;
  font-size: 0.95rem; font-family: 'DM Sans', sans-serif;
  outline: none; transition: border 0.2s, box-shadow 0.2s;
  color: var(--text); background: white; width: 100%;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(43,57,144,0.08);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group label {
  font-size: 0.85rem; font-weight: 500;
  color: var(--muted); margin-bottom: -4px;
}

/* ── BUTTONS ── */
.btn-orange {
  background: var(--orange); color: white; border: none;
  padding: 14px 28px; border-radius: 10px;
  font-size: 0.95rem; font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer; transition: background 0.2s, transform 0.1s;
  width: 100%;
}
.btn-orange:hover { background: var(--orange-dark); transform: translateY(-1px); }

/* ── SUCCESS ── */
.success-msg {
  display: none; background: #f0fdf4; color: #166534;
  border: 1px solid #bbf7d0; padding: 13px 18px;
  border-radius: 10px; text-align: center;
  font-weight: 500; font-size: 0.9rem; margin-top: 12px;
}

/* ── DIVIDER ── */
.divider { border: none; border-top: 1px solid var(--border); margin: 48px 0; }

/* ── BADGE ── */
.badge-soon {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff7ed; color: #c2410c;
  font-size: 0.8rem; font-weight: 700;
  padding: 6px 14px; border-radius: 20px; margin-bottom: 20px;
}

/* ── NEWS CARDS ── */
.news-grid { display: flex; flex-direction: column; gap: 16px; }
.news-card {
  background: white; border-radius: 14px;
  border: 1px solid var(--border); padding: 24px 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.news-card:hover { box-shadow: 0 8px 30px rgba(43,57,144,0.1); transform: translateY(-2px); }
.news-meta {
  font-size: 0.8rem; color: var(--muted);
  display: flex; gap: 12px; align-items: center; margin-bottom: 8px;
}
.news-tag {
  background: var(--navy-light); color: var(--navy);
  padding: 2px 10px; border-radius: 20px;
  font-size: 0.75rem; font-weight: 600;
}
.news-card h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.1rem; color: var(--text); margin-bottom: 8px;
}
.news-card p { color: var(--muted); font-size: 0.9rem; font-weight: 300; }
.news-card a {
  color: var(--orange); font-weight: 600;
  font-size: 0.88rem; text-decoration: none;
}
.news-card a:hover { text-decoration: underline; }

/* ── STORY CARDS ── */
.story-card {
  background: white; border-radius: 14px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--navy); padding: 28px;
  transition: box-shadow 0.2s;
}
.story-card:hover { box-shadow: 0 8px 30px rgba(43,57,144,0.1); }
.story-card h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.1rem; color: var(--text); margin-bottom: 4px;
}
.story-meta { font-size: 0.82rem; color: var(--muted); margin-bottom: 12px; }

/* ── FOUNDER CARD ── */
.founder-card {
  display: flex; gap: 36px; align-items: center;
  background: white; border-radius: 16px;
  border: 1px solid var(--border); padding: 36px;
  flex-wrap: wrap; margin-bottom: 48px;
}
.founder-card img {
  width: 130px; height: 130px; border-radius: 50%;
  object-fit: cover; object-position: top;
  border: 3px solid var(--navy); flex-shrink: 0;
}
.founder-info h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.3rem; margin-bottom: 4px;
}
.founder-role {
  color: var(--orange); font-size: 0.85rem;
  font-weight: 600; margin-bottom: 10px; display: block;
}
.founder-info p {
  color: var(--muted); font-size: 0.92rem;
  font-weight: 300; line-height: 1.7; margin-bottom: 16px;
}
.social-links { display: flex; flex-wrap: wrap; gap: 8px; }
.social-links a {
  background: var(--navy-light); color: var(--navy);
  padding: 7px 16px; border-radius: 8px;
  text-decoration: none; font-size: 0.84rem;
  font-weight: 600; transition: all 0.2s;
  border: 1px solid var(--border);
}
.social-links a:hover { background: var(--navy); color: white; border-color: var(--navy); }

/* ── GUIDE IMAGES ── */
.guide-img {
  width: 100%; border-radius: 14px;
  border: 1px solid var(--border); margin-bottom: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

/* ── SUGGEST STRIP ── */
.suggest-strip {
  background: var(--navy-light);
  border-top: 1px solid var(--border);
  padding: 64px 5%;
}
.suggest-strip-inner {
  max-width: 600px; margin: 0 auto; text-align: center;
}
.suggest-strip-inner p { color: var(--muted); font-size: 0.95rem; margin: 8px 0 28px; }
.suggest-strip .form-group { text-align: left; }

/* ── STATS GRID ── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-bottom: 48px;
}
.stat-card {
  background: white; border-radius: 14px;
  border: 1px solid var(--border); padding: 28px 24px;
  text-align: center;
}
.stat-card .stat-icon { font-size: 2rem; margin-bottom: 10px; display: block; }
.stat-card .stat-value {
  font-family: 'DM Serif Display', serif;
  font-size: 1.4rem; color: var(--navy); margin-bottom: 6px; display: block;
}
.stat-card p { color: var(--muted); font-size: 0.88rem; }

/* ── FOOTER ── */
footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.6);
  padding: 48px 5% 32px;
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 48px; margin-bottom: 40px;
}
.footer-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.3rem; color: white;
  text-decoration: none; display: block; margin-bottom: 12px;
}
.footer-brand p {
  font-size: 0.88rem; line-height: 1.6;
  color: rgba(255,255,255,0.5); max-width: 280px;
}
.footer-col h4 {
  color: white; font-size: 0.85rem;
  font-weight: 600; margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.5); text-decoration: none;
  font-size: 0.88rem; transition: color 0.2s;
}
.footer-col ul li a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px; display: flex;
  justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px; font-size: 0.82rem;
}
.social-row { display: flex; gap: 14px; }
.social-row a {
  color: rgba(255,255,255,0.5); text-decoration: none;
  font-size: 0.85rem; transition: color 0.2s;
}
.social-row a:hover { color: white; }

/* ── COOKIE BANNER ── */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 999;
  background: var(--navy-dark);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 16px 5%;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner p {
  color: rgba(255,255,255,0.75); font-size: 0.85rem;
  max-width: 700px; line-height: 1.5;
}
.cookie-banner p a { color: var(--orange); text-decoration: underline; }
.cookie-accept {
  background: var(--orange); color: white; border: none;
  padding: 9px 22px; border-radius: 8px;
  font-size: 0.85rem; font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer; transition: background 0.2s;
  white-space: nowrap; flex-shrink: 0;
}
.cookie-accept:hover { background: var(--orange-dark); }

/* ── ANIMATIONS ── */
.fade-up { opacity: 1; transform: translateY(0); }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .founder-card { flex-direction: column; text-align: center; }
  .social-links { justify-content: center; }
}
@media (max-width: 640px) {
  .footer-top { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .nav-links {
    display: none; flex-direction: column;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--navy); padding: 20px 5%;
    gap: 18px; box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .form-card { padding: 24px 16px; }
  .page-content { padding: 36px 5%; }
  .cookie-banner { flex-direction: column; align-items: flex-start; }
}
