/* Casa de Dios, Jesús es el Señor — estilos */
:root {
  --ink: #1a0b0d;
  --ink-2: #2a1215;
  --wine: #9b1230;
  --wine-d: #74091f;
  --fire: #f27a1a;
  --ember: #e0331f;
  --gold: #ffc44d;
  --cream: #fbf6ef;
  --sand: #f3e9dc;
  --paper: #fff;
  --text: #2b1d1e;
  --muted: #6e5d5c;
  --line: #e8dccd;
  --radius: 18px;
  --shadow: 0 18px 50px -20px rgba(60, 10, 15, .35);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.65 var(--sans); color: var(--text); background: var(--cream); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--wine); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--ink); }
h1 em, h2 em { font-style: italic; color: var(--fire); }
p { margin: 0 0 1em; }
svg { width: 1em; height: 1em; flex: none; }
.container { width: min(1160px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); }
.center { text-align: center; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--paper); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--fire); outline-offset: 3px; border-radius: 6px; }

.eyebrow { font: 600 13px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--wine); margin-bottom: 14px; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 46rem; }
.small { font-size: 14px; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 24px; border-radius: 999px; border: 0; font: 600 16px/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s; }
.btn svg { width: 20px; height: 20px; }
.btn:hover { transform: translateY(-2px); }
.btn-fire { color: #fff; background: linear-gradient(135deg, var(--ember), var(--fire) 60%, #f9a23a); box-shadow: 0 10px 30px -8px rgba(242, 122, 26, .65); }
.btn-fire:hover { box-shadow: 0 14px 38px -8px rgba(242, 122, 26, .85); }
.btn-primary { color: #fff; background: var(--wine); }
.btn-primary:hover { background: var(--wine-d); }
.btn-ghost { color: #fff; background: rgba(255, 255, 255, .08); border: 1.5px solid rgba(255, 255, 255, .3); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); }
.btn-line { color: var(--wine); background: transparent; border: 1.5px solid currentColor; }
.btn-line:hover { background: var(--wine); color: #fff; }
.icon-btn { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; }
.icon-btn:hover { background: rgba(255, 255, 255, .2); }
.icon-btn svg { width: 20px; height: 20px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.link-arrow svg { transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); transition: background .3s, box-shadow .3s; color: #fff; }
.site-header.solid, body:not(.home) .site-header { background: rgba(26, 11, 13, .92); backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand-mark { width: 50px; height: 44px; color: #fff; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text b { font: 600 20px var(--serif); }
.brand-text i { font: italic 500 14px var(--serif); color: var(--gold); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: rgba(255, 255, 255, .85); text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: 999px; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .1); }
.nav .nav-live { display: inline-flex; align-items: center; gap: 8px; margin-left: 8px; border: 1px solid rgba(255, 255, 255, .25); font-size: 14px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(255, 196, 77, .6); }
.is-live .dot { background: #ff2d2d; animation: pulse 1.4s infinite; }
.is-live.nav-live { background: #c81e1e; border-color: #c81e1e; color: #fff; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 45, 45, .7); } 70% { box-shadow: 0 0 0 10px rgba(255, 45, 45, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 45, 45, 0); } }
.nav-toggle { display: none; background: none; border: 0; color: #fff; width: 46px; height: 46px; border-radius: 12px; cursor: pointer; }
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 960px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav { position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; align-items: stretch; gap: 2px; padding: 14px 20px 24px; background: rgba(26, 11, 13, .98); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .25s; }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a { font-size: 18px; padding: 14px 16px; }
  .nav .nav-live { margin: 10px 0 0; justify-content: center; }
}

/* ---------- Embers canvas ---------- */
.embers { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden; isolation: isolate;
  background: radial-gradient(90% 70% at 50% 110%, #5a1410 0%, #2a0d10 45%, var(--ink) 75%); padding: calc(var(--header-h) + 40px) 0 90px; }
.hero-glow { position: absolute; left: 50%; bottom: -30%; width: 120vmax; height: 70vmax; transform: translateX(-50%); z-index: -1;
  background: radial-gradient(closest-side, rgba(242, 122, 26, .45), rgba(224, 51, 31, .18) 45%, transparent 75%); filter: blur(10px); animation: breathe 7s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .7; transform: translateX(-50%) scale(1.06); } }
.hero-inner { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero .eyebrow { color: var(--gold); }
.hero-title { color: #fff; font-size: clamp(46px, 9vw, 112px); font-weight: 600; letter-spacing: -.03em; margin-bottom: 22px; }
.hero-title em { background: linear-gradient(180deg, var(--gold) 10%, var(--fire) 60%, var(--ember)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; }
.hero-verse { max-width: 40rem; font: italic 400 clamp(17px, 2.1vw, 21px)/1.55 var(--serif); color: rgba(255, 255, 255, .82); }
.hero-verse span, .give p span { display: block; margin-top: 6px; font: 600 13px var(--sans); letter-spacing: .12em; text-transform: uppercase; font-style: normal; color: var(--gold); }

.live-card { margin-top: 26px; width: min(560px, 100%); padding: 22px 24px 24px; border-radius: 24px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(14px); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .7); }
.live-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 16px; }
.live-badge { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
.live-when { font-size: 15px; color: rgba(255, 255, 255, .85); }
.live-when small { color: rgba(255, 255, 255, .55); font-size: 13px; }
.count { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.count div { background: rgba(0, 0, 0, .25); border-radius: 14px; padding: 12px 4px 10px; }
.count b { display: block; font: 600 clamp(30px, 6vw, 44px)/1 var(--serif); font-variant-numeric: tabular-nums; color: #fff; }
.count span { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: rgba(255, 255, 255, .6); }
.live-local { font-size: 14px; color: rgba(255, 255, 255, .6); margin: 12px 0 0; min-height: 1.4em; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 18px; }
.center-row { justify-content: center; }
.live-card.is-live { border-color: rgba(255, 60, 60, .6); box-shadow: 0 0 0 1px rgba(255, 60, 60, .3), 0 30px 90px -20px rgba(200, 30, 30, .6); }
.live-card.is-live .live-badge { color: #ff6b6b; }
.live-card.is-live .count { display: none; }
.live-now { font: 600 clamp(26px, 5vw, 38px)/1.15 var(--serif); margin: 4px 0 0; }
.scroll-hint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .35); border-radius: 14px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scrolly 1.8s infinite; }
@keyframes scrolly { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-height: 760px) { .scroll-hint { display: none; } }

/* ---------- Sections ---------- */
.section { padding: clamp(70px, 10vw, 120px) 0; }
.section-head { margin-bottom: 40px; }
.section-head h2, .story h2, .pastors h2, .vision h2 { font-size: clamp(34px, 5vw, 54px); }

/* Latest sermon */
.feature { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; background: var(--paper); border-radius: 28px; padding: clamp(14px, 2vw, 22px); box-shadow: var(--shadow); }
.feature-video { position: relative; aspect-ratio: 16 / 9; border: 0; padding: 0; border-radius: 18px; overflow: hidden; cursor: pointer; background: var(--ink); }
.feature-video img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s, filter .6s; filter: saturate(1.05); }
.feature-video:hover img { transform: scale(1.04); filter: brightness(.85); }
.play-btn { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--ember), var(--fire)); box-shadow: 0 0 0 10px rgba(255, 255, 255, .18), 0 14px 40px rgba(0, 0, 0, .4); transition: transform .25s; }
.play-btn svg { width: 36px; height: 36px; margin-left: 4px; }
.feature-video:hover .play-btn { transform: scale(1.1); }
.feature-info { padding: 10px clamp(6px, 2vw, 18px) 10px 0; }
.feature-date { font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--fire); margin-bottom: 8px; }
.feature-info h3 { font-size: clamp(28px, 3.6vw, 42px); }
.feature-desc { color: var(--muted); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.feature-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
@media (max-width: 820px) { .feature { grid-template-columns: 1fr; } .feature-info { padding: 0 8px 10px; } }

.sermon-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; margin: 40px 0 34px; }
.sermon-row:empty { display: none; }
.sermon { display: flex; flex-direction: column; text-align: left; background: var(--paper); border: 0; padding: 0; border-radius: var(--radius); overflow: hidden; cursor: pointer; box-shadow: 0 6px 24px -14px rgba(60, 10, 15, .35); transition: transform .25s, box-shadow .25s; font: inherit; color: inherit; }
.sermon:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.sermon .thumb { position: relative; aspect-ratio: 16 / 9; background: var(--sand); overflow: hidden; }
.sermon .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.sermon:hover .thumb img { transform: scale(1.06); }
.sermon .thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(26, 11, 13, .55), transparent 55%); }
.sermon .mini-play { position: absolute; right: 12px; bottom: 12px; z-index: 1; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--fire); }
.sermon .mini-play svg { width: 18px; height: 18px; margin-left: 2px; }
.sermon .meta { padding: 14px 16px 18px; }
.sermon .meta small { font-size: 13px; color: var(--muted); }
.sermon .meta h3 { font-size: 19px; margin: 4px 0 0; line-height: 1.25; }
.sermon mark { background: rgba(255, 196, 77, .45); color: inherit; border-radius: 3px; }

/* Story */
.story { background: var(--paper); position: relative; overflow: hidden; }
.story-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.story-photo { position: relative; margin: 0; justify-self: center; width: min(100%, 380px); }
.story-photo::before { content: ""; position: absolute; inset: -18px 18px 18px -18px; border-radius: 28px; background: linear-gradient(160deg, var(--gold), var(--fire) 50%, var(--wine)); opacity: .9; }
.story-photo img { position: relative; width: 100%; aspect-ratio: 285 / 349; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow); }
.story-photo figcaption { position: absolute; left: 18px; bottom: 18px; background: rgba(26, 11, 13, .8); color: #fff; font-size: 14px; padding: 6px 14px; border-radius: 999px; }
.story-text p { font-size: 18px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 30px 0; }
.stats div { border-top: 2px solid var(--line); padding-top: 14px; }
.stats dt { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.stats dd { margin: 4px 0 0; font: 600 clamp(36px, 5vw, 52px)/1 var(--serif); color: var(--wine); }
@media (max-width: 820px) { .story-grid { grid-template-columns: 1fr; } }

/* How */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.steps li { position: relative; background: var(--paper); border-radius: 24px; padding: 32px 28px 30px; box-shadow: 0 6px 24px -16px rgba(60, 10, 15, .4); }
.steps li::before { counter-increment: s; content: counter(s); position: absolute; right: 24px; top: 14px; font: 600 64px/1 var(--serif); color: var(--sand); }
.steps svg { width: 44px; height: 44px; color: var(--fire); margin-bottom: 16px; }
.steps h3 { font-size: 24px; }
.steps p { color: var(--muted); }
.steps a { font-weight: 600; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Pastors */
.pastors { background: linear-gradient(180deg, var(--sand), var(--cream)); }
.pastors-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.pastors-photo { margin: 0; position: relative; }
.pastors-photo img { width: 100%; border-radius: 28px; box-shadow: var(--shadow); }
.pastors-photo::after { content: ""; position: absolute; inset: auto -14px -14px auto; width: 45%; height: 45%; border-right: 3px solid var(--fire); border-bottom: 3px solid var(--fire); border-radius: 0 0 32px 0; }
.pastors-text p { font-size: 18px; }
blockquote { margin: 26px 0 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--fire); font: italic 400 21px/1.5 var(--serif); color: var(--ink); }
cite { display: block; margin-top: 8px; font: 600 13px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--wine); font-style: normal; }
@media (max-width: 860px) { .pastors-grid { grid-template-columns: 1fr; } .pastors-photo { order: -1; } }

/* Give */
.give { background: var(--paper); }
.give-inner { text-align: center; max-width: 720px; }
.give-icon { width: 46px; height: 46px; color: var(--fire); margin: 0 auto 14px; }
.give h2 { font-size: clamp(34px, 5vw, 50px); }
.give p { color: var(--muted); }
.give p:first-of-type { font: italic 400 21px/1.5 var(--serif); color: var(--ink); }
.give-box { margin: 24px 0; padding: 22px; border-radius: 18px; border: 1.5px dashed var(--line); }

/* Fire CTA */
.cta-fire { position: relative; overflow: hidden; isolation: isolate; padding: clamp(80px, 11vw, 130px) 0; color: #fff;
  background: radial-gradient(70% 90% at 50% 120%, #7a1d0f, var(--ink-2) 55%, var(--ink)); }
.cta-fire h2 { color: #fff; font-size: clamp(34px, 5.4vw, 58px); }
.cta-fire p { color: rgba(255, 255, 255, .8); font-size: 19px; margin-bottom: 28px; }

/* ---------- Inner pages ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; color: #fff; padding: calc(var(--header-h) + clamp(60px, 9vw, 110px)) 0 clamp(60px, 8vw, 96px);
  background: radial-gradient(80% 120% at 85% 120%, #6a1a10 0%, var(--ink-2) 50%, var(--ink) 80%); }
.page-hero.tall { min-height: 80svh; display: flex; align-items: center; }
.page-hero h1 { color: #fff; font-size: clamp(42px, 7vw, 80px); }
.page-hero .eyebrow { color: var(--gold); }
.page-hero .lead { color: rgba(255, 255, 255, .78); font-family: var(--serif); font-style: italic; }
.page-hero.tall .lead { margin-inline: auto; }

/* Library */
.lib-tools { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 18px; }
.search { flex: 1 1 320px; display: flex; align-items: center; gap: 12px; background: var(--paper); border: 1.5px solid var(--line); border-radius: 999px; padding: 0 20px; min-height: 56px; transition: border-color .2s, box-shadow .2s; }
.search:focus-within { border-color: var(--fire); box-shadow: 0 0 0 4px rgba(242, 122, 26, .15); }
.search svg { width: 22px; height: 22px; color: var(--muted); }
.search input { flex: 1; border: 0; outline: 0; background: transparent; font: 400 17px var(--sans); color: var(--text); min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chips button { border: 1.5px solid var(--line); background: var(--paper); color: var(--text); border-radius: 999px; padding: 8px 16px; font: 500 15px var(--sans); cursor: pointer; }
.chips button[aria-pressed="true"] { background: var(--wine); border-color: var(--wine); color: #fff; }
.lib-count { color: var(--muted); font-size: 15px; }
.sermon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.lib-empty { text-align: center; padding: 40px 0; color: var(--muted); }
.lib-more { display: flex; margin: 34px auto 0; }
.archive-note { margin-top: 60px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; padding: 28px; border-radius: 24px; background: var(--paper); box-shadow: 0 6px 24px -16px rgba(60, 10, 15, .4); }
.archive-note > svg { width: 52px; height: 52px; color: #e0261b; }
.archive-note div { flex: 1 1 300px; }
.archive-note h2 { font-size: 26px; margin-bottom: 4px; }
.archive-note p { margin: 0; color: var(--muted); }

/* Vision */
.vision-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; }
.vision-card { background: var(--paper); border-radius: 28px; padding: clamp(28px, 4vw, 48px); box-shadow: 0 6px 24px -16px rgba(60, 10, 15, .4); }
.vision-card.dark { background: linear-gradient(160deg, var(--ink-2), var(--ink)); color: rgba(255, 255, 255, .85); }
.vision-card.dark h2 { color: #fff; font-size: clamp(28px, 3.6vw, 38px); }
.vision-card.dark .eyebrow { color: var(--gold); }
.vision-card.dark strong { color: #fff; }
.big-verse { font: italic 400 clamp(20px, 2.4vw, 25px)/1.5 var(--serif); color: var(--ink); }
.ref { font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--fire); }
@media (max-width: 860px) { .vision-grid { grid-template-columns: 1fr; } }

/* Beliefs */
.beliefs { background: var(--paper); }
.faith details { border-bottom: 1px solid var(--line); }
.faith summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font: 600 clamp(19px, 2.2vw, 23px)/1.3 var(--serif); color: var(--ink); }
.faith summary::-webkit-details-marker { display: none; }
.faith summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font: 400 30px/1 var(--sans); color: var(--fire); transition: transform .25s; }
.faith details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faith details p { color: var(--muted); padding-bottom: 14px; }
.faith cite { font-size: 12px; }

.legal-card { display: flex; gap: 22px; align-items: flex-start; padding: 30px; border-radius: 24px; border: 1.5px solid var(--line); background: var(--paper); }
.legal-card > svg { width: 40px; height: 40px; color: var(--wine); margin-top: 4px; }
.legal-card h2 { font-size: 26px; }
.legal-card p { color: var(--muted); }
.legal-card p:last-child { margin: 0; }

/* Schools */
.schools { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.schools li { position: relative; display: flex; flex-direction: column; background: var(--paper); border-radius: 24px; padding: 30px 28px; box-shadow: 0 6px 24px -16px rgba(60, 10, 15, .4); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.schools li:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.schools li::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--wine), var(--fire), var(--gold)); }
.schools .num { font: 600 15px var(--serif); color: var(--fire); letter-spacing: .1em; }
.schools h2 { font-size: 28px; margin: 6px 0 10px; }
.schools p { color: var(--muted); flex: 1; }
.schools a { font-weight: 600; }
.note-card { margin-top: 36px; display: flex; gap: 16px; align-items: center; padding: 22px 26px; border-radius: 20px; background: var(--sand); }
.note-card svg { width: 34px; height: 34px; color: #1fa855; }
.note-card p { margin: 0; }
@media (max-width: 960px) { .schools { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .schools { grid-template-columns: 1fr; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; }
.prayer-card { background: var(--paper); border-radius: 28px; padding: clamp(26px, 4vw, 42px); box-shadow: var(--shadow); }
.prayer-card h2 { font-size: 36px; }
.prayer-card label { display: block; font-weight: 600; font-size: 15px; margin: 18px 0 0; }
.prayer-card input, .prayer-card textarea { display: block; width: 100%; margin-top: 8px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 14px; font: 400 17px var(--sans); color: var(--text); background: var(--cream); resize: vertical; }
.prayer-card input:focus, .prayer-card textarea:focus { outline: 0; border-color: var(--fire); box-shadow: 0 0 0 4px rgba(242, 122, 26, .15); }
.prayer-card .btn { margin-top: 24px; width: 100%; }
.prayer-card .small { margin: 12px 0 0; text-align: center; }
.contact-list { display: grid; gap: 14px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: 20px; background: var(--paper); text-decoration: none; color: var(--text); box-shadow: 0 6px 24px -16px rgba(60, 10, 15, .4); transition: transform .2s; }
a.contact-item:hover { transform: translateX(4px); }
.contact-item svg { width: 30px; height: 30px; color: var(--wine); margin-top: 2px; }
.contact-item b { display: block; font: 600 19px var(--serif); color: var(--ink); }
.contact-item span { color: var(--muted); overflow-wrap: anywhere; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .7); padding: 70px 0 28px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.site-footer .brand { color: #fff; margin-bottom: 18px; }
.site-footer h2 { font: 600 13px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.site-footer nav a { display: block; color: rgba(255, 255, 255, .75); text-decoration: none; padding: 5px 0; }
.site-footer nav a:hover { color: #fff; }
.site-footer strong { color: #fff; }
.verse { font: italic 400 16px/1.5 var(--serif); color: rgba(255, 255, 255, .6); }
.verse span { font: 600 12px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); font-style: normal; }
.footer-social { display: flex; gap: 10px; margin-top: 14px; }
.footer-social a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; }
.footer-social a:hover { background: var(--fire); }
.footer-social svg { width: 22px; height: 22px; }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 44px; padding-top: 22px; font-size: 13px; color: rgba(255, 255, 255, .5); }
.footer-legal p { margin: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; gap: 30px; } }

/* WhatsApp floating button */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: flex; align-items: center; gap: 10px; padding: 12px 20px 12px 14px; border-radius: 999px; background: #1fa855; color: #fff; text-decoration: none; font-weight: 600; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .45); transition: transform .2s; }
.wa-float:hover { transform: translateY(-3px); }
.wa-float svg { width: 28px; height: 28px; }
@media (max-width: 560px) { .wa-float span { display: none; } .wa-float { padding: 14px; } }

/* ---------- Player modal ---------- */
.player { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; }
.player[hidden] { display: none; }
.player-backdrop { position: absolute; inset: 0; background: rgba(10, 4, 5, .88); backdrop-filter: blur(6px); animation: fade .25s; }
.player-box { position: relative; width: min(1100px, 100%); animation: rise .3s cubic-bezier(.2, .8, .2, 1); }
.player-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.player-bar h2 { flex: 1; color: #fff; font-size: clamp(18px, 2.4vw, 24px); margin: 0; }
.player-frame { aspect-ratio: 16 / 9; background: #000; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 90px rgba(0, 0, 0, .6); }
.player-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(20px) scale(.98); } }

.toast { position: fixed; left: 50%; bottom: 90px; z-index: 95; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 500; transition: .3s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Pending content (must be resolved before going live) ---------- */
.pending { background: #fff3b0; outline: 2px dashed #e0a800; border-radius: 6px; padding: 2px 6px; color: #5b4500 !important; }

/* ---------- Reveal on scroll ---------- */
.js-anim .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.js-anim .reveal.in { opacity: 1; transform: none; }
.js-anim .hero .reveal { transition-duration: 1.1s; }
.js-anim .hero .reveal:nth-child(2) { transition-delay: .12s; }
.js-anim .hero .reveal:nth-child(3) { transition-delay: .26s; }
.js-anim .hero .reveal:nth-child(4) { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Fixes ---------- */
[hidden] { display: none !important; }
.give p span { color: var(--wine); }
@media (max-width: 640px) {
  .sermon-row { grid-auto-flow: column; grid-auto-columns: 78%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-inline: -20px; padding-inline: 20px; scroll-padding-inline: 20px; }
  .sermon-row .sermon { scroll-snap-align: start; }
}

/* ---------- Live broadcast in the hero ---------- */
.live-player { aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; box-shadow: 0 20px 60px -20px rgba(0, 0, 0, .8); }
.live-player iframe { width: 100%; height: 100%; border: 0; display: block; }
.live-card.has-player { width: min(900px, 100%); }
.live-card.is-soon .count { display: none; }
.live-card.is-soon .live-badge { color: var(--gold); }
.live-card.is-soon .dot { animation: pulse 1.4s infinite; }
.live-now.small-note { font: 500 15px/1.5 var(--sans); color: rgba(255, 255, 255, .8); margin-top: 12px; }
