/* =========================================================================
   BibleAI — design system
   Dark charcoal + gold "luxury" theme, cream light sections, brown bands.
   ========================================================================= */
:root {
  --gold: #c9a227;
  --gold-2: #e3c25c;
  --gold-soft: #f3e6c4;
  --ink: #15120e;
  --ink-2: #1e1a15;
  --ink-3: #2a251f;
  --cream: #f7f5f0;
  --cream-2: #efece4;
  --brown: #3a2b1d;
  --brown-2: #2b2016;

  --text-dark: #1a1712;
  --muted-dark: #6b6258;
  --text-light: #ece7df;
  --muted-light: #9a9188;

  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 20px 45px rgba(20, 16, 10, 0.10);
  --shadow-sm: 0 8px 24px rgba(20, 16, 10, 0.08);

  --font: 'Inter', system-ui, sans-serif;
  --display: 'Poppins', 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
main { display: block; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.icon { width: 24px; height: 24px; }

.container { width: min(1200px, 92%); margin-inline: auto; }
.accent { color: var(--gold); }

/* ---- Section headings -------------------------------------------------- */
.section { padding: 96px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  line-height: 1.1;
}
.section-sub { font-size: 1.05rem; color: var(--muted-dark); margin: 0; }
.section-title .icon { width: 1em; height: 1em; color: var(--gold); vertical-align: -2px; margin-right: .35em; }

/* ---- Buttons ----------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--display); font-weight: 600; font-size: 1rem;
  padding: 15px 30px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn .icon { width: 20px; height: 20px; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #221b0b; box-shadow: 0 10px 26px rgba(201, 162, 39, .35); }
.btn-light { background: #fff; color: var(--text-dark); }
.btn-outline-gold { background: transparent; border-color: var(--gold); color: var(--gold); }
.btn-dark { background: var(--brown-2); color: #fff; }
.btn-sm { padding: 11px 22px; font-size: .95rem; }

/* =========================================================================
   Navbar
   ========================================================================= */
.navbar { position: sticky; top: 0; z-index: 50; background: rgba(18,15,11,.92); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,.05); }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #221b0b; }
.brand-mark .icon { width: 22px; height: 22px; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 1.4rem; color: #fff; letter-spacing: -.01em; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav-link { font-family: var(--display); font-weight: 500; font-size: .98rem; color: var(--muted-light); padding: 9px 18px; border-radius: 999px; transition: color .2s, background .2s, border-color .2s; border: 1.5px solid transparent; }
.nav-link:hover { color: #fff; }
.nav-link.active { color: var(--gold); border-color: rgba(201,162,39,.55); }
.nav-cta { margin-left: 4px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; }

/* =========================================================================
   Hero
   ========================================================================= */
.hero {
  position: relative; text-align: center; color: var(--text-light);
  padding: 120px 0 140px;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(201,162,39,.10), transparent 55%),
    linear-gradient(180deg, #171310 0%, #211a12 55%, #171310 100%);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: .18;
  background: url("https://images.unsplash.com/photo-1504052434569-70ad5836ab65?auto=format&fit=crop&w=1600&q=60") center/cover no-repeat;
  filter: sepia(.5) brightness(.5);
}
.hero > * { position: relative; z-index: 1; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: 999px;
  border: 1px solid rgba(201,162,39,.5); background: rgba(201,162,39,.10);
  color: var(--gold-2); font-weight: 600; font-size: .9rem; font-family: var(--display);
}
.pill .icon { width: 16px; height: 16px; }
.hero-title { font-family: var(--display); font-weight: 800; font-size: clamp(3rem, 9vw, 6rem); margin: 22px 0 18px; letter-spacing: -.03em; color: #fff; }
.hero-lead { max-width: 620px; margin: 0 auto; font-size: 1.2rem; color: var(--muted-light); }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin: 36px 0 60px; }
.hero-stats { display: flex; justify-content: center; gap: clamp(30px, 8vw, 90px); }
.hero-stat .num { font-family: var(--display); font-weight: 800; font-size: 2.6rem; color: var(--gold-2); line-height: 1; }
.hero-stat .lbl { color: var(--muted-light); font-size: .95rem; margin-top: 6px; }
.scroll-hint { margin-top: 46px; color: var(--muted-light); font-size: .9rem; display: grid; gap: 6px; justify-items: center; }
.scroll-hint .icon { width: 18px; height: 18px; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(6px); } }

/* =========================================================================
   Study tool (dark section with a white card)
   ========================================================================= */
.study { background: var(--ink-2); padding: 90px 0 110px; }
.study-card {
  background: #fff; border-radius: var(--radius-lg); padding: 40px; max-width: 1000px; margin: 0 auto;
  box-shadow: 0 30px 70px rgba(0,0,0,.35);
}
.tabs { display: inline-flex; gap: 8px; padding: 6px; background: #f2efe9; border-radius: 999px; margin: 0 auto 30px; }
.tabs-wrap { text-align: center; }
.tab {
  display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer;
  font-family: var(--display); font-weight: 600; font-size: .98rem; color: var(--muted-dark);
  padding: 12px 26px; border-radius: 999px; background: transparent; transition: .2s;
}
.tab .icon { width: 18px; height: 18px; }
.tab.active { background: var(--brown-2); color: #fff; }
.study-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 18px; }
.field label { display: block; font-family: var(--display); font-weight: 600; font-size: .9rem; margin-bottom: 8px; }
.field .control {
  width: 100%; padding: 15px 16px; border: 1.5px solid #e3ded4; border-radius: 12px;
  font-family: var(--font); font-size: 1rem; color: var(--text-dark); background: #fff;
}
.field .control:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,39,.15); }
.field-full { grid-column: 1 / -1; }
.study-submit {
  width: 100%; margin-top: 22px; padding: 17px; border-radius: 14px; border: 1.5px solid var(--gold);
  background: transparent; color: var(--text-dark); font-family: var(--display); font-weight: 600; font-size: 1.05rem;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; transition: .2s;
}
.study-submit .icon { color: var(--gold); }
.study-submit:hover { background: var(--gold); color: #221b0b; }
.study-submit:hover .icon { color: #221b0b; }
.hidden { display: none !important; }

/* AI result panel */
.ai-result { margin-top: 26px; border-top: 1px solid #eee; padding-top: 26px; }
.ai-result h3 { font-family: var(--display); margin: 0 0 6px; }
.ai-body { white-space: pre-wrap; line-height: 1.75; color: #33302b; }
.ai-body h4 { font-family: var(--display); color: var(--brown); margin: 20px 0 6px; }
.spinner { width: 34px; height: 34px; border: 3px solid rgba(201,162,39,.25); border-top-color: var(--gold); border-radius: 50%; animation: spin 1s linear infinite; margin: 10px auto; }
@keyframes spin { to { transform: rotate(360deg); } }

/* =========================================================================
   Light + cream sections, cards
   ========================================================================= */
.bg-cream { background: var(--cream); }
.bg-light { background: #fbfaf7; }
.bg-white { background: #fff; }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card {
  background: #fff; border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 26px 55px rgba(20,16,10,.14); }
.card-icon {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px;
  background: linear-gradient(135deg, var(--gold-soft), #efe7d4); color: var(--gold);
}
.card-icon.plain { background: #f1ede6; color: var(--brown); }
.card h3 { font-family: var(--display); font-weight: 700; font-size: 1.25rem; margin: 0 0 10px; }
.card p { margin: 0; color: var(--muted-dark); }

/* How it works — numbered connected steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.step { position: relative; background: #fff; border: 1px solid #eee7da; border-radius: var(--radius); padding: 40px 26px 30px; text-align: center; box-shadow: var(--shadow-sm); }
.step-num {
  position: absolute; top: -18px; left: 26px; width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #221b0b;
  display: grid; place-items: center; font-family: var(--display); font-weight: 700;
}
.step .card-icon { margin: 6px auto 20px; background: #fff; box-shadow: var(--shadow-sm); }
.step h3 { font-family: var(--display); margin: 0 0 8px; }
.step p { margin: 0; color: var(--muted-dark); font-size: .95rem; }

/* =========================================================================
   Impact band (brown gradient)
   ========================================================================= */
.band-brown { background: linear-gradient(160deg, var(--brown) 0%, var(--brown-2) 100%); color: #fff; padding: 90px 0; }
.band-brown .section-title { color: #fff; }
.band-brown .section-sub { color: rgba(255,255,255,.7); }
.impact { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.impact-item .stat-ic { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; margin: 0 auto 18px; background: rgba(255,255,255,.08); color: var(--gold-2); }
.impact-item .num { font-family: var(--display); font-weight: 800; font-size: 3rem; line-height: 1; }
.impact-item .lbl { color: rgba(255,255,255,.7); margin-top: 8px; }

/* =========================================================================
   Testimonials (dark)
   ========================================================================= */
.band-dark { background: linear-gradient(180deg, #1c1813, #221c14); color: var(--text-light); padding: 96px 0; }
.band-dark .section-title { color: #fff; }
.band-dark .section-sub { color: var(--muted-light); }
.tcard { position: relative; background: linear-gradient(160deg, #2c2419, #241d14); border: 1px solid rgba(201,162,39,.14); border-radius: var(--radius); padding: 32px; }
.tcard .quote-mark { position: absolute; top: 22px; right: 26px; font-family: Georgia, serif; font-size: 3.4rem; color: rgba(201,162,39,.28); line-height: 1; }
.tcard-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.avatar { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--gold); object-fit: cover; }
.avatar.ph { display: grid; place-items: center; background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #221b0b; font-family: var(--display); font-weight: 700; }
.tcard-head .name { font-family: var(--display); font-weight: 600; color: #fff; }
.tcard-head .role { color: var(--muted-light); font-size: .9rem; }
.stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 12px; }
.tcard p { margin: 0; color: rgba(236,231,223,.85); }

/* =========================================================================
   FAQ
   ========================================================================= */
.faq { max-width: 940px; margin: 0 auto; display: grid; gap: 16px; }
.faq-item { background: #fff; border: 1px solid #ece7dc; border-radius: 14px; box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: none; border: 0; cursor: pointer; padding: 22px 26px; text-align: left; font-family: var(--display); font-weight: 600; font-size: 1.05rem; color: var(--text-dark); }
.faq-q .icon { color: var(--gold); transition: transform .25s; flex: 0 0 auto; }
.faq-item.open .faq-q .icon { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { margin: 0; padding: 0 26px 24px; color: var(--muted-dark); }

/* =========================================================================
   CTA band (brown + sparkles)
   ========================================================================= */
.cta {
  position: relative; text-align: center; color: #fff; padding: 110px 0; overflow: hidden;
  background: linear-gradient(160deg, #43301f, #2c2015);
}
.cta .sparkle { position: absolute; width: 4px; height: 4px; background: var(--gold-2); border-radius: 50%; opacity: .5; }
.cta > * { position: relative; z-index: 1; }
.cta h2 { font-family: var(--display); font-weight: 800; font-size: clamp(2.4rem, 6vw, 4rem); margin: 0 0 18px; line-height: 1.05; }
.cta h2 .accent { color: var(--gold-2); }
.cta p { max-width: 620px; margin: 0 auto 34px; color: rgba(255,255,255,.75); font-size: 1.15rem; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-badges { display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; margin-top: 30px; color: rgba(255,255,255,.7); font-size: .95rem; }
.cta-badges span::before { content: "•"; color: #6fcf97; margin-right: 8px; }

/* =========================================================================
   Footer
   ========================================================================= */
.footer { background: #141210; color: var(--muted-light); padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer .brand-name { font-size: 1.3rem; }
.footer-about p { margin: 18px 0; max-width: 360px; }
.socials { display: flex; gap: 12px; }
.socials a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.05); display: grid; place-items: center; color: var(--muted-light); transition: .2s; }
.socials a:hover { background: var(--gold); color: #221b0b; }
.socials .icon { width: 18px; height: 18px; }
.footer-col h4 { font-family: var(--display); color: #fff; font-size: 1rem; margin: 0 0 18px; }
.footer-col a { display: block; padding: 7px 0; color: var(--muted-light); transition: color .2s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.07); font-size: .9rem; }
.footer-bottom .heart .icon { width: 15px; height: 15px; color: var(--gold); vertical-align: -2px; }

/* =========================================================================
   Page: Devotional
   ========================================================================= */
.page-shell { background: var(--cream); min-height: 70vh; padding: 70px 0 100px; }
.devo-card { max-width: 860px; margin: 0 auto; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.devo-head { background: linear-gradient(135deg, #3a2b1d, #2b2016); color: #fff; padding: 34px; text-align: center; }
.devo-head h1 { font-family: var(--display); font-weight: 700; font-size: 1.9rem; margin: 0; }
.devo-body { padding: 38px; }
.verse-box { position: relative; background: #faf7f0; border-left: 4px solid var(--gold); border-radius: 12px; padding: 24px 24px 24px 26px; margin-bottom: 30px; }
.verse-box .ref { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; margin-bottom: 10px; }
.verse-box .ref .icon { color: var(--gold); width: 20px; height: 20px; }
.verse-box .verse { font-style: italic; color: #3b372f; margin: 0; }
.devo-section { margin-bottom: 26px; }
.devo-section .lbl { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 700; font-size: 1.15rem; margin: 0 0 12px; }
.devo-section .num { width: 28px; height: 28px; border-radius: 50%; background: var(--gold-soft); color: var(--brown); display: grid; place-items: center; font-size: .9rem; }
.devo-section p { margin: 0 0 14px; color: #33302b; }
.devo-section.soft { background: #faf6ee; border-radius: 14px; padding: 24px; }
.devo-section.soft p { font-style: italic; }
.devo-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.devo-actions .btn { padding: 12px 22px; font-size: .95rem; border: 1.5px solid #e6e0d4; background: #fff; color: var(--text-dark); }
.devo-actions .btn.primary { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #221b0b; border: 0; }
.devo-actions .btn .icon { width: 18px; height: 18px; }

/* =========================================================================
   Page: Kids Zone
   ========================================================================= */
.kids-hero { background: linear-gradient(120deg, #fde7ec 0%, #fdf6e3 50%, #e7f3ed 100%); text-align: center; padding: 80px 0; }
.kids-hero .emoji { font-size: 3.4rem; }
.kids-hero h1 { font-family: var(--display); font-weight: 800; font-size: clamp(2.4rem,6vw,3.4rem); margin: 8px 0 10px; }
.kids-hero p { color: var(--muted-dark); font-size: 1.1rem; margin: 0 0 36px; }
.tiers { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; max-width: 1000px; margin: 0 auto; }
.tier { border-radius: var(--radius); padding: 34px; text-align: center; box-shadow: var(--shadow); }
.tier.pink { background: #fbd5dd; } .tier.green { background: #cdeed7; } .tier.blue { background: #cfe4fb; }
.tier .emoji { font-size: 2.4rem; }
.tier h3 { font-family: var(--display); font-weight: 700; margin: 14px 0 4px; }
.tier .ages { font-family: var(--display); font-weight: 600; font-size: .9rem; }
.tier p { margin: 8px 0 0; color: #4a463f; }
.kids-act { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; max-width: 960px; margin: 0 auto; }
.kids-act .card { display: flex; gap: 18px; align-items: center; padding: 24px; }
.kids-act .card-icon { margin: 0; flex: 0 0 auto; width: 52px; height: 52px; }
.kids-act h3 { margin: 0 0 4px; font-size: 1.15rem; }
.kids-act p { font-size: .95rem; }
.story-band { background: linear-gradient(160deg, #ffe8bd, #ffd89a); text-align: center; padding: 80px 0; }
.story-band .emoji { font-size: 3rem; }
.story-band h2 { font-family: var(--display); font-weight: 800; margin: 12px 0 6px; }
.story-band .story-name { color: #5a4a2f; margin: 0 0 24px; }
.parents { background: var(--cream); text-align: center; padding: 70px 0; }
.parents .stars { color: var(--gold); font-size: 1.4rem; letter-spacing: 4px; display: block; }
.parents h2 { font-family: var(--display); font-weight: 800; margin: 14px 0 8px; }
.parents p { color: var(--muted-dark); margin: 0 0 26px; }

/* =========================================================================
   Page: Activities
   ========================================================================= */
.act-toolbar { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 18px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 16px; max-width: 1000px; margin: 0 auto 44px; }
.act-toolbar .search { position: relative; }
.act-toolbar .search .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted-dark); width: 18px; height: 18px; }
.act-toolbar input, .act-toolbar select { width: 100%; padding: 14px 16px 14px 44px; border: 1.5px solid #e6e0d4; border-radius: 12px; font-family: var(--font); font-size: 1rem; }
.act-toolbar select { padding-left: 16px; }
.act-toolbar input:focus, .act-toolbar select:focus { outline: none; border-color: var(--gold); }
.act-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.act-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.act-card:hover { transform: translateY(-4px); box-shadow: 0 26px 55px rgba(20,16,10,.16); }
.act-thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.act-thumb img { width: 100%; height: 100%; object-fit: cover; }
.act-badge { position: absolute; top: 14px; right: 14px; background: var(--gold); color: #221b0b; font-family: var(--display); font-weight: 600; font-size: .8rem; padding: 5px 12px; border-radius: 999px; }
.act-info { padding: 22px; }
.act-info h3 { font-family: var(--display); font-weight: 700; margin: 0 0 12px; }
.act-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.act-meta .ages { font-family: var(--display); font-weight: 600; font-size: .9rem; }
.chip { font-family: var(--display); font-weight: 600; font-size: .8rem; padding: 4px 12px; border-radius: 999px; }
.chip.easy { background: #d8f2e0; color: #2f8552; } .chip.medium { background: #fbeecb; color: #a9821f; } .chip.hard { background: #fbdada; color: #b23b3b; }
.act-dl { display: flex; align-items: center; gap: 8px; color: var(--muted-dark); font-size: .9rem; }
.act-dl .icon { width: 16px; height: 16px; }

/* =========================================================================
   Page: Blog
   ========================================================================= */
.blog-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 46px; }
.filter { font-family: var(--display); font-weight: 600; font-size: .92rem; padding: 10px 20px; border-radius: 999px; border: 1px solid #e6e0d4; background: #fff; cursor: pointer; transition: .2s; }
.filter.active, .filter:hover { background: var(--gold); border-color: var(--gold); color: #221b0b; }
.blog-featured { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 44px; background: linear-gradient(135deg,#3a2b1d,#2b2016); }
.blog-featured .fimg { position: relative; min-height: 360px; }
.blog-featured .fimg img { width: 100%; height: 100%; object-fit: cover; }
.blog-featured .flag { position: absolute; top: 20px; left: 20px; background: var(--gold); color: #221b0b; font-family: var(--display); font-weight: 600; font-size: .82rem; padding: 6px 14px; border-radius: 999px; display: inline-flex; gap: 6px; }
.blog-featured .fbody { padding: 44px; color: #fff; display: flex; flex-direction: column; justify-content: center; }
.blog-featured .cat { color: var(--gold-2); font-family: var(--display); font-weight: 600; font-size: .9rem; margin-bottom: 10px; }
.blog-featured h2 { font-family: var(--display); font-weight: 800; font-size: 1.8rem; margin: 0 0 14px; }
.blog-featured p { color: rgba(255,255,255,.7); margin: 0 0 20px; }
.blog-featured .meta { color: rgba(255,255,255,.6); font-size: .9rem; display: flex; gap: 18px; margin-bottom: 22px; }
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.post { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.post:hover { transform: translateY(-4px); box-shadow: 0 26px 55px rgba(20,16,10,.16); }
.post .pimg { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.post .pimg img { width: 100%; height: 100%; object-fit: cover; }
.post .cat-tag { position: absolute; top: 14px; left: 14px; background: var(--gold); color: #221b0b; font-family: var(--display); font-weight: 600; font-size: .78rem; padding: 5px 12px; border-radius: 999px; }
.post .pbody { padding: 24px; }
.post h3 { font-family: var(--display); font-weight: 700; font-size: 1.2rem; margin: 0 0 10px; }
.post p { color: var(--muted-dark); margin: 0 0 16px; font-size: .96rem; }
.post .meta { display: flex; gap: 16px; color: var(--muted-dark); font-size: .85rem; margin-bottom: 14px; }
.post .tags { display: flex; flex-wrap: wrap; gap: 8px; }
.post .tag { background: #f4f0e8; color: var(--muted-dark); font-size: .8rem; padding: 4px 10px; border-radius: 8px; }
.newsletter { background: linear-gradient(135deg, var(--gold), #b98f1f); border-radius: var(--radius-lg); text-align: center; padding: 56px; margin-top: 56px; color: #241b06; }
.newsletter h2 { font-family: var(--display); font-weight: 800; margin: 0 0 10px; }
.newsletter p { margin: 0 0 26px; color: #3a2c08; }
.newsletter form { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.newsletter input { padding: 15px 18px; border-radius: 12px; border: 0; width: min(360px, 70vw); font-size: 1rem; }
.newsletter .btn-dark { padding: 15px 28px; }

/* =========================================================================
   Page: Contact
   ========================================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: 1080px; margin: 0 auto; align-items: start; }
.contact-form { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 38px; }
.contact-form h2 { font-family: var(--display); font-weight: 700; margin: 0 0 24px; }
.form-row { margin-bottom: 20px; }
.form-row label { display: block; font-family: var(--display); font-weight: 600; font-size: .92rem; margin-bottom: 8px; }
.form-row input, .form-row textarea { width: 100%; padding: 14px 16px; border: 1.5px solid #e6e0d4; border-radius: 12px; font-family: var(--font); font-size: 1rem; }
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,39,.15); }
.form-row textarea { min-height: 130px; resize: vertical; }
.contact-form .btn-gold { width: 100%; margin-top: 4px; }
.contact-side { display: grid; gap: 22px; }
.help-card { background: linear-gradient(135deg, #3a2b1d, #2b2016); color: #fff; border-radius: var(--radius); padding: 30px; }
.help-card h2 { font-family: var(--display); font-weight: 700; margin: 0 0 12px; }
.help-card > p { color: rgba(255,255,255,.72); margin: 0 0 22px; }
.help-line { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; }
.help-line .hi { width: 46px; height: 46px; border-radius: 12px; background: rgba(201,162,39,.15); color: var(--gold-2); display: grid; place-items: center; flex: 0 0 auto; }
.help-line .ht { font-family: var(--display); font-weight: 600; }
.help-line .hv { color: rgba(255,255,255,.7); font-size: .95rem; }
.hours-card, .quick-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.hours-card h3 { font-family: var(--display); font-weight: 700; margin: 0 0 18px; }
.hours-row { display: flex; justify-content: space-between; padding: 8px 0; }
.hours-row .d { font-family: var(--display); font-weight: 600; }
.hours-row .t { color: var(--muted-dark); }
.quick-card { text-align: center; }
.quick-card h3 { font-family: var(--display); font-weight: 700; margin: 0 0 8px; }
.quick-card p { color: var(--muted-dark); margin: 0 0 16px; }
.quick-card .btn { border: 1.5px solid #e6e0d4; background: #fff; }

.form-note { margin-top: 14px; padding: 12px 16px; border-radius: 10px; font-size: .95rem; }
.form-note.ok { background: #e5f6ec; color: #2f8552; }
.form-note.err { background: #fbe5e5; color: #b23b3b; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 960px) {
  .cards-3, .steps, .impact, .act-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .tiers { grid-template-columns: 1fr; }
  .contact-grid, .blog-featured { grid-template-columns: 1fr; }
  .study-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav, .nav-cta { display: none; }
  .nav.open { display: flex; position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; background: var(--ink); padding: 16px; gap: 4px; border-bottom: 1px solid rgba(255,255,255,.06); }
  .nav-toggle { display: flex; }
  .cards-3, .cards-2, .steps, .impact, .act-grid, .blog-grid, .kids-act, .act-toolbar, .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero { padding: 80px 0 90px; }
  .hero-stats { gap: 30px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}
