/* ===================================================================
   Iglesia Bautista Bethel — Landing (v3)
   Editorial / sans-serif · chips azul Bethel · tipografía más contenida
   =================================================================== */

:root {
  --ink: #17181d;
  --bg: #ffffff;
  --paper: #f4f2ec;
  --navy: #152a5b;
  --navy-deep: #0d1a3c;
  --blue: #1c3f8f;         /* chips / botones — azul Bethel */
  --blue-hover: #24499d;
  --gold: #b98a2f;
  --gold-bright: #d0a13e;
  --muted: #6c7076;
  --line: #e6e2d8;
  --line-dark: rgba(255,255,255,.16);

  --wrap: 1240px;
  --gutter: clamp(18px, 5vw, 60px);
  --ease: cubic-bezier(.22,.61,.36,1);

  --sans: "General Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
html, body { overflow-x: hidden; max-width: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.display { font-weight: 700; letter-spacing: -0.03em; line-height: 1; }

.meta {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Botones / chips ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: -0.01em;
  padding: 13px 22px;
  border-radius: 100px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn__arrow { transition: transform .3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* primario = azul Bethel (sirve en fondos claros y oscuros) */
.btn--gold, .btn--dark { background: var(--blue); color: #fff; }
.btn--gold:hover, .btn--dark:hover { background: var(--blue-hover); }
.btn--line { background: transparent; border-color: currentColor; }
.btn--line-light { color: #fff; border-color: rgba(255,255,255,.55); }
.btn--line-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn--line-dark { color: var(--ink); border-color: var(--line); }
.btn--line-dark:hover { border-color: var(--ink); }

/* =================== NAV =================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav__brand { display: flex; align-items: center; gap: 10px; color: #fff; transition: color .35s var(--ease); }
.nav__logo { width: 34px; height: 34px; }
.nav__wordmark { font-weight: 600; font-size: .95rem; letter-spacing: -0.01em; line-height: 1.05; }
.nav__wordmark span { display: block; font-weight: 400; font-size: .66rem; letter-spacing: .04em; opacity: .7; }

.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a:not(.nav__cta) {
  font-size: .9rem; font-weight: 500; color: #fff; opacity: .9;
  transition: opacity .2s, color .35s var(--ease);
}
.nav__links a:not(.nav__cta):hover { opacity: 1; }

.nav.is-solid { background: rgba(255,255,255,.9); backdrop-filter: saturate(180%) blur(14px); border-bottom-color: var(--line); }
.nav.is-solid .nav__brand { color: var(--ink); }
.nav.is-solid .nav__links a:not(.nav__cta) { color: var(--ink); }

.nav__cta { background: var(--blue); color: #fff !important; padding: 9px 18px; border-radius: 100px; font-weight: 600; font-size: .85rem; opacity: 1 !important; transition: background .2s; }
.nav__cta:hover { background: var(--blue-hover); }

.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; transition: .3s var(--ease); }
.nav.is-solid .nav__toggle span { background: var(--ink); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =================== HERO =================== */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,14,30,.66) 0%, rgba(10,14,30,.38) 24%, rgba(10,14,30,.48) 52%, rgba(9,12,26,.85) 82%, rgba(8,11,24,.95) 100%);
}
.hero__content { padding-bottom: 34px; padding-top: 110px; }
.hero__title {
  font-weight: 700;
  font-size: clamp(2.3rem, 6vw, 4.6rem);
  letter-spacing: -0.04em;
  line-height: 0.98;
  margin: 0 0 20px;
  max-width: 16ch;
}
.hero__title em { font-style: normal; color: var(--gold-bright); }
.hero__lead { font-size: clamp(1rem, 1.4vw, 1.15rem); font-weight: 400; max-width: 46ch; color: rgba(255,255,255,.88); margin: 0 0 26px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__meta { padding-bottom: 26px; }
.hero__meta-row {
  border-top: 1px solid rgba(255,255,255,.22);
  padding-top: 20px;
  display: flex; flex-wrap: wrap; gap: 12px 48px;
  font-size: 1rem;
}
.hero__meta-row > div { display: flex; align-items: baseline; gap: 12px; }
.hero__meta-row b { font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .76rem; color: var(--gold-bright); }
.hero__meta-row span { color: rgba(255,255,255,.88); }
.hero__meta-spacer { flex: 1; }

/* =================== STATEMENT =================== */
.statement { padding: clamp(60px, 10vw, 130px) 0; }
.statement__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.statement__big {
  font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  letter-spacing: -0.025em;
  line-height: 1.06;
  margin: 16px 0 0;
}
.statement__big .u { color: var(--muted); }
.statement__body { color: var(--muted); font-size: 1.02rem; }
.statement__body p { margin: 0 0 20px; }
.statement__list { list-style: none; padding: 0; margin: 0 0 28px; }
.statement__list li { padding: 15px 0; border-top: 1px solid var(--line); display: flex; gap: 15px; align-items: baseline; color: var(--ink); font-weight: 500; font-size: 1rem; }
.statement__list li span { color: var(--blue); font-weight: 600; font-variant-numeric: tabular-nums; }

/* =================== GRUPOS =================== */
.groups { padding-bottom: clamp(30px, 5vw, 70px); }
.groups__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 34px; flex-wrap: wrap; }
.groups__title { font-weight: 700; font-size: clamp(1.8rem, 3.6vw, 2.8rem); letter-spacing: -0.03em; line-height: 1.02; margin: 10px 0 0; }
.groups__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.tile { position: relative; aspect-ratio: 3/3.6; overflow: hidden; color: #fff; display: flex; align-items: flex-end; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,13,28,0) 35%, rgba(10,13,28,.82) 100%); }
.tile:hover img { transform: scale(1.06); }
.tile__body { position: relative; z-index: 1; padding: 26px; }
.tile__body h3 { font-weight: 600; font-size: 1.4rem; letter-spacing: -0.02em; margin: 0 0 6px; }
.tile__body p { margin: 0; font-size: .9rem; color: rgba(255,255,255,.82); }

/* =================== HISTORIA =================== */
.history { background: var(--paper); padding: clamp(60px, 10vw, 130px) 0; }
.history__top { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 70px); align-items: end; margin-bottom: clamp(40px, 6vw, 75px); }
.history__title { font-weight: 700; font-size: clamp(1.9rem, 4vw, 3.2rem); letter-spacing: -0.035em; line-height: 1; margin: 14px 0 0; }
.history__intro { color: var(--muted); font-size: 1rem; }
.history__intro p { margin: 0 0 16px; }
.history__intro strong { color: var(--ink); font-weight: 600; }

.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.timeline li { list-style: none; padding: 24px 22px 24px 0; }
.timeline .yr { display: block; font-weight: 700; font-size: clamp(2rem, 3vw, 2.8rem); letter-spacing: -0.03em; color: var(--navy); line-height: 1; }
.timeline .lb { display: block; margin-top: 9px; color: var(--muted); font-size: .9rem; max-width: 22ch; }

.history__gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 6px; margin-top: clamp(34px, 5vw, 60px); }
.history__gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.history__gallery figure { margin: 0; }
.history__gallery figure:first-child img { aspect-ratio: 16/10; }

.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 6px; }
.mv__item { background: var(--navy); color: #fff; padding: clamp(28px, 4vw, 50px); }
.mv__item:last-child { background: var(--navy-deep); }
.mv__k { color: var(--gold-bright); }
.mv__q { font-weight: 500; font-size: clamp(1.15rem, 1.8vw, 1.5rem); letter-spacing: -0.015em; line-height: 1.3; margin: 18px 0 14px; }
.mv__item cite { font-style: normal; color: rgba(255,255,255,.6); font-size: .9rem; }

.history__gateway {
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  margin-top: clamp(34px, 5vw, 58px); padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--line);
  background: transparent; color: var(--ink);
}
.history__gateway .meta { color: var(--gold); }
.history__gateway-text { max-width: 46ch; }
.history__gateway-title { font-weight: 700; font-size: clamp(1.4rem, 2.6vw, 2.1rem); letter-spacing: -0.03em; line-height: 1.12; margin: 12px 0 0; color: var(--navy); }
.history__gateway-cta {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  font-weight: 600; font-size: 1rem; color: var(--ink);
  background: transparent; padding: 14px 26px; border-radius: 100px;
  border: 1.5px solid var(--navy);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.history__gateway-cta:hover { background: var(--navy); color: #fff; }
.history__gateway:hover .btn__arrow { transform: translateX(4px); }

/* =================== PREDICACIONES =================== */
.sermons { position: relative; color: #fff; padding: clamp(64px, 10vw, 130px) 0; background: var(--navy-deep); overflow: hidden; }
.sermons::before {
  content: ""; position: absolute; top: -25%; right: -8%; width: 55%; height: 85%;
  background: radial-gradient(closest-side, rgba(28,63,143,.32), transparent 70%);
  pointer-events: none;
}
.sermons__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 52px); position: relative; }
.sermons__title { font-weight: 700; font-size: clamp(1.9rem, 3.6vw, 3rem); letter-spacing: -0.035em; line-height: 1; margin: 14px 0 16px; }
.sermons__lead { color: rgba(255,255,255,.78); font-size: 1rem; max-width: 46ch; margin: 0; }
.sermons__channel { margin-bottom: 4px; }

.sermons__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; position: relative; }

/* Botón play */
.playbtn { width: 66px; height: 66px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; transition: transform .3s var(--ease), background .3s; box-shadow: 0 10px 30px rgba(6,9,20,.4); }
.playbtn::after { content: ""; border-left: 18px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent; margin-left: 5px; }
.playbtn--sm { width: 40px; height: 40px; box-shadow: none; }
.playbtn--sm::after { border-left-width: 10px; border-top-width: 6px; border-bottom-width: 6px; margin-left: 3px; }

/* Destacada */
.sermon-feat { display: block; color: #fff; }
.sermon-feat__media { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.sermon-feat__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.sermon-feat:hover .sermon-feat__media img { transform: scale(1.04); }
.sermon-feat__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,11,24,.1) 45%, rgba(8,11,24,.55) 100%); }
.sermon-feat .playbtn { position: absolute; z-index: 2; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.sermon-feat:hover .playbtn { transform: translate(-50%,-50%) scale(1.07); background: var(--blue-hover); }
.sermon-feat__badge {
  position: absolute; z-index: 2; top: 16px; left: 16px;
  font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--navy-deep); background: var(--gold-bright); padding: 7px 13px;
}
.sermon-feat__meta { padding: 22px 2px 0; }
.sermon-feat__eyebrow { color: rgba(255,255,255,.6); font-size: .82rem; margin: 0 0 10px; }
.sermon-feat__eyebrow span { color: var(--gold-bright); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: .72rem; }
.sermon-feat__title { font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2.2rem); letter-spacing: -0.03em; line-height: 1.08; margin: 0 0 10px; }
.sermon-feat__by { color: rgba(255,255,255,.55); font-size: .92rem; margin: 0; }

/* Índice recientes */
.sermon-list { display: flex; flex-direction: column; }
.sermon-list__k { color: rgba(255,255,255,.4) !important; padding-bottom: 14px; border-bottom: 1px solid var(--line-dark); margin: 0 0 4px; }
.sermon-card { display: grid; grid-template-columns: 168px 1fr auto; gap: 20px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line-dark); color: #fff; transition: padding .3s var(--ease); }
.sermon-card:hover { padding-left: 6px; }
.sermon-card__thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; background: linear-gradient(135deg, #1c3168, #0d1a3c); display: grid; place-items: center; }
.sermon-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.sermon-card__thumb .playbtn--sm { position: absolute; }
.sermon-card:hover .playbtn--sm { background: var(--blue-hover); }
.sermon-card__eyebrow { color: var(--gold-bright); font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 5px; }
.sermon-card__body h4 { font-weight: 600; font-size: 1.15rem; letter-spacing: -0.015em; margin: 0; line-height: 1.22; }
.sermon-card__go { color: rgba(255,255,255,.35); font-size: 1.2rem; transition: color .3s var(--ease), transform .3s var(--ease); }
.sermon-card:hover .sermon-card__go { color: var(--gold-bright); transform: translateX(3px); }

/* =================== VISÍTANOS =================== */
.visit { padding: clamp(60px, 10vw, 130px) 0; }
.visit__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 7vw, 80px); align-items: start; }
.visit__title { font-weight: 700; font-size: clamp(2rem, 4vw, 3.3rem); letter-spacing: -0.035em; line-height: .98; margin: 14px 0 34px; }
.visit__row { display: grid; grid-template-columns: 120px 1fr; gap: 18px; padding: 20px 0; border-top: 1px solid var(--line); }
.visit__row:last-of-type { border-bottom: 1px solid var(--line); }
.visit__row dt { color: var(--muted); font-weight: 500; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; padding-top: 3px; }
.visit__row dd { margin: 0; font-weight: 500; }
.visit__row dd a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

.form__title { font-weight: 600; font-size: 1.4rem; letter-spacing: -0.02em; margin: 0 0 8px; }
.form__sub { color: var(--muted); margin: 0 0 26px; font-size: .96rem; }
.field { margin-bottom: 22px; }
.field input, .field textarea {
  width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--ink);
  border: 0; border-bottom: 1.5px solid var(--line); background: transparent;
  padding: 10px 2px; transition: border-color .2s;
}
.field textarea { resize: vertical; }
.field label { display: block; font-size: .8rem; color: var(--muted); margin-bottom: 4px; font-weight: 500; }
.field input:focus, .field textarea:focus { outline: 0; border-bottom-color: var(--blue); }
.field input::placeholder, .field textarea::placeholder { color: #b3b6bb; }
.form__hint { font-size: .82rem; color: var(--muted); margin: 13px 0 0; }

/* =================== OFRENDAS =================== */
.giving { background: var(--navy-deep); color: #fff; padding: clamp(60px, 10vw, 130px) 0; }
.giving__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 7vw, 80px); align-items: center; }
.giving__title { font-weight: 700; font-size: clamp(1.9rem, 3.6vw, 3rem); letter-spacing: -0.035em; line-height: 1; margin: 14px 0 18px; }
.giving__lead { color: rgba(255,255,255,.78); font-size: 1rem; max-width: 42ch; margin: 0; }
.giving__card { border: 1px solid var(--line-dark); border-radius: 14px; overflow: hidden; }
.giving__row { display: flex; justify-content: space-between; gap: 20px; padding: 18px 24px; border-bottom: 1px solid var(--line-dark); }
.giving__row:last-child { border-bottom: 0; }
.giving__row span { color: rgba(255,255,255,.55); font-size: .88rem; }
.giving__row strong { font-weight: 600; text-align: right; font-size: .96rem; }
.giving__row strong[data-copy] { cursor: pointer; border-bottom: 2px dotted var(--gold-bright); }
.giving__row strong.copied { color: var(--gold-bright); }
.giving__note { color: rgba(255,255,255,.5); font-size: .82rem; margin: 15px 0 0; }

/* =================== FOOTER =================== */
.footer { background: var(--ink); color: rgba(255,255,255,.7); padding: clamp(56px, 8vw, 96px) 0 36px; }
.footer__mark {
  display: block; width: 72px; height: 72px; margin: 0 0 22px;
  background: var(--gold-bright);
  -webkit-mask: url(assets/logo-anillo.svg) center / contain no-repeat;
  mask: url(assets/logo-anillo.svg) center / contain no-repeat;
}
.footer__word { font-weight: 700; font-size: clamp(2.8rem, 9vw, 7rem); letter-spacing: -0.05em; line-height: .82; color: #fff; margin: 0 0 8px; }
.footer__tag { color: var(--gold-bright); font-size: .98rem; margin: 0 0 50px; }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; padding-bottom: 40px; border-bottom: 1px solid var(--line-dark); }
.footer__cols h4 { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.4); margin: 0 0 16px; font-weight: 500; }
.footer__cols a, .footer__cols p { display: block; color: rgba(255,255,255,.75); font-size: .92rem; margin: 0 0 10px; transition: color .2s; }
.footer__cols a:hover { color: var(--gold-bright); }
.footer__bottom { display: flex; justify-content: space-between; gap: 14px; padding-top: 26px; font-size: .82rem; color: rgba(255,255,255,.45); flex-wrap: wrap; }
.footer__bottom p { margin: 0; }

/* =================== RESPONSIVE =================== */
@media (max-width: 960px) {
  .statement__grid, .history__top, .sermons__grid, .visit__grid, .giving__grid { grid-template-columns: 1fr; }
  .groups__grid { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .giving__card { order: -1; }
  .statement__big { font-size: clamp(1.6rem, 5.5vw, 2.2rem); }
  .sermons__head { align-items: flex-start; }
  .hero__meta-row { flex-direction: column; gap: 12px; }
  .hero__meta-spacer { display: none; }

  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 6px var(--gutter) 20px;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
  }
  .nav__links[data-open="true"] { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav__links a:not(.nav__cta) { color: var(--ink) !important; padding: 14px 2px; border-bottom: 1px solid var(--line); opacity: 1; }
  .nav__cta { margin-top: 14px; text-align: center; justify-content: center; }
}

@media (max-width: 640px) {
  .hero__title { font-size: clamp(2rem, 9vw, 2.9rem); }
  .hero__lead { font-size: 1rem; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { justify-content: center; }
  .hero__meta { padding-bottom: 22px; }

  .groups__grid { grid-template-columns: 1fr; }
  .tile { aspect-ratio: 16/12; }
  .groups__head { gap: 12px; }

  .timeline { grid-template-columns: 1fr 1fr; }
  .timeline li { padding: 18px 14px 18px 0; }
  .history__gallery { grid-template-columns: 1fr 1fr; }
  .history__gallery figure:first-child { grid-column: 1 / -1; }

  .mv { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 26px; }
  .nav__wordmark span { display: none; }

  .giving__row { flex-direction: column; gap: 3px; }
  .giving__row strong { text-align: left; }
  .visit__row { grid-template-columns: 1fr; gap: 5px; }
  .footer__bottom { flex-direction: column; gap: 6px; }

  .history__gateway { flex-direction: column; align-items: flex-start; gap: 20px; }
  .history__gateway-cta { width: 100%; justify-content: center; }
  .sermon-card { grid-template-columns: 132px 1fr auto; gap: 15px; }
}

@media (max-width: 400px) {
  .timeline { grid-template-columns: 1fr; }
  .history__gallery { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr; }
}

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

/* ===================================================================
   PÁGINAS INTERNAS (subpáginas)
   =================================================================== */

/* Hero compacto de subpágina */
.subhero { position: relative; min-height: 60vh; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; overflow: hidden; }
.subhero--short { min-height: 48vh; }
.subhero__bg { position: absolute; inset: 0; z-index: -1; }
.subhero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.subhero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,18,38,.5) 0%, rgba(13,18,38,.2) 40%, rgba(10,13,28,.82) 100%); }
.subhero__content { padding-top: 120px; padding-bottom: 44px; }
.subhero__eyebrow { color: var(--gold-bright); margin: 0 0 14px; }
.subhero__title { font-weight: 700; font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: -0.04em; line-height: 1; margin: 0 0 16px; }
.subhero__lead { font-size: clamp(1rem, 1.5vw, 1.2rem); color: rgba(255,255,255,.88); max-width: 46ch; margin: 0; }

/* Back link */
.crumb { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: .9rem; font-weight: 500; margin-bottom: 8px; }
.crumb:hover { color: var(--blue); }

/* Sección de contenido genérica */
.page { padding: clamp(56px, 9vw, 110px) 0; }
.page--paper { background: var(--paper); }

/* Prosa legible */
.prose { max-width: 68ch; }
.prose p { color: #3a3f4a; font-size: 1.08rem; line-height: 1.7; margin: 0 0 22px; }
.prose h3 { font-weight: 600; font-size: 1.5rem; letter-spacing: -0.02em; margin: 40px 0 14px; color: var(--navy); }
.prose strong { font-weight: 600; color: var(--ink); }
.prose blockquote { margin: 32px 0; padding-left: 22px; border-left: 3px solid var(--gold); font-size: 1.25rem; line-height: 1.4; color: var(--ink); font-weight: 500; }
.prose blockquote cite { display: block; margin-top: 10px; font-style: normal; font-size: .95rem; color: var(--muted); font-weight: 400; }

/* Layout dos columnas para detalle */
.split { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.aside-card { background: var(--paper); border-radius: 16px; padding: 30px 28px; position: sticky; top: 96px; }
.aside-card h4 { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; font-weight: 600; }
.factrow { padding: 14px 0; border-top: 1px solid var(--line); }
.factrow:first-of-type { border-top: 0; padding-top: 0; }
.factrow dt { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 4px; }
.factrow dd { margin: 0; font-weight: 500; color: var(--ink); }
.aside-card .btn { margin-top: 22px; width: 100%; justify-content: center; }

/* OFRENDAR */
.give-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 12px; }
.give-card { border: 1px solid var(--line); border-radius: 18px; padding: clamp(26px, 3vw, 38px); display: flex; flex-direction: column; }
.give-card--primary { background: var(--navy-deep); color: #fff; border-color: transparent; }
.give-card h3 { font-weight: 600; font-size: 1.35rem; letter-spacing: -0.02em; margin: 0 0 6px; }
.give-card .give-k { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-bright); margin: 0 0 16px; font-weight: 600; }
.give-card p { margin: 0 0 20px; font-size: .98rem; }
.give-card--primary p { color: rgba(255,255,255,.75); }
.give-card--soon { background: var(--paper); }
.give-card--soon p { color: var(--muted); }
.acct { margin-top: auto; }
.acct__row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line-dark); }
.acct__row:first-child { border-top: 0; }
.acct__row span { color: rgba(255,255,255,.55); font-size: .88rem; }
.acct__row strong { font-weight: 600; text-align: right; font-size: .95rem; }
.acct__row strong[data-copy] { cursor: pointer; border-bottom: 2px dotted var(--gold-bright); }
.acct__row strong.copied { color: var(--gold-bright); }
.soon-badge { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); background: rgba(28,63,143,.1); padding: 5px 12px; border-radius: 100px; margin-bottom: 16px; }
.amount-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.amount-chips button { font-family: var(--sans); font-weight: 600; font-size: .95rem; padding: 10px 18px; border-radius: 100px; border: 1.5px solid var(--line); background: #fff; color: var(--muted); cursor: not-allowed; }

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .aside-card { position: static; }
  .give-grid { grid-template-columns: 1fr; }
}

/* ===================================================================
   ACTIVIDADES / AGENDA SEMANAL
   =================================================================== */
.agenda-day { border-top: 1px solid var(--line); padding: 34px 0; }
.agenda-day:first-of-type { border-top: 0; padding-top: 4px; }
.agenda-day__head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.agenda-day__name { font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -0.03em; margin: 0; color: var(--ink); }
.agenda-day__note { color: var(--muted); font-size: .92rem; margin: 0; }

.agenda-list { list-style: none; margin: 18px 0 0; padding: 0; }
.agenda-item { display: grid; grid-template-columns: 96px 1fr auto; gap: 22px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); }
.agenda-item:first-child { border-top: 0; }
.agenda-item__time { font-weight: 700; color: var(--navy); font-size: 1.02rem; font-variant-numeric: tabular-nums; line-height: 1.1; }
.agenda-item__time span { display: block; font-size: .68rem; color: var(--muted); font-weight: 600; letter-spacing: .06em; margin-top: 2px; }
.agenda-item__body h3 { margin: 0 0 3px; font-size: 1.04rem; font-weight: 600; letter-spacing: -0.01em; }
.agenda-item__body p { margin: 0; color: var(--muted); font-size: .9rem; }
.agenda-item__body .agenda-days { color: var(--gold); font-weight: 600; }

.join { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 600; padding: 9px 15px; border-radius: 100px; white-space: nowrap; transition: background .2s; }
.join--meet { background: rgba(28,63,143,.1); color: var(--blue); }
.join--meet:hover { background: rgba(28,63,143,.2); }
.join--wa { background: rgba(31,140,64,.12); color: #1c8a3f; }
.join--wa:hover { background: rgba(31,140,64,.22); }
.join--place { background: var(--paper); color: var(--ink); border: 1px solid var(--line); }

.agenda-note { margin-top: 44px; padding: 22px 26px; background: var(--paper); border-radius: 14px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.agenda-note p { margin: 0; color: var(--muted); font-size: .92rem; }
.agenda-note strong { color: var(--ink); }

@media (max-width: 640px) {
  .agenda-item { grid-template-columns: 68px 1fr; column-gap: 16px; row-gap: 12px; }
  .agenda-item__action { grid-column: 2 / -1; justify-self: start; margin-top: 2px; }
}

/* Galería de fotos (página de historia) */
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.photo-grid figure { margin: 0; }
.photo-grid img { width: 100%; object-fit: cover; aspect-ratio: 4 / 3.1; }
.photo-grid figcaption { font-size: .8rem; color: var(--muted); margin-top: 9px; text-align: center; letter-spacing: .01em; }
@media (max-width: 700px) { .photo-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px) { .photo-grid { grid-template-columns: 1fr; } }

/* ===================================================================
   HISTORIA — RECORRIDO INMERSIVO (journey)
   =================================================================== */
.journey { position: relative; background: var(--navy-deep); }

/* Barra de progreso superior */
.jprogress { position: fixed; top: 0; left: 0; height: 3px; width: 0%; background: var(--gold-bright); z-index: 120; transition: width .1s linear; }

/* Riel de años (desktop) */
.rail { position: fixed; left: max(24px, 3vw); top: 50%; transform: translateY(-50%); z-index: 90; display: flex; flex-direction: column; gap: 2px; }
.rail button { display: flex; align-items: center; gap: 12px; background: none; border: 0; cursor: pointer; padding: 7px 0; color: rgba(255,255,255,.4); font-family: var(--sans); font-weight: 600; font-size: .8rem; letter-spacing: .02em; transition: color .3s var(--ease); }
.rail button .dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.3); transition: all .3s var(--ease); flex: none; }
.rail button .yr { opacity: 0; transform: translateX(-6px); transition: all .3s var(--ease); }
.rail button:hover { color: #fff; }
.rail button:hover .yr { opacity: 1; transform: none; }
.rail button.active { color: var(--gold-bright); }
.rail button.active .dot { background: var(--gold-bright); transform: scale(1.5); box-shadow: 0 0 0 4px rgba(208,161,62,.2); }
.rail button.active .yr { opacity: 1; transform: none; }

/* Capítulo a pantalla completa */
.chapter { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: clip; color: #fff; padding: 90px 0; }
.chapter__bg { position: absolute; inset: -12% 0; z-index: 0; will-change: transform; }
.chapter__bg img { width: 100%; height: 100%; object-fit: cover; }
.chapter__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,11,24,.95) 0%, rgba(8,11,24,.86) 32%, rgba(8,11,24,.45) 66%, rgba(8,11,24,.12) 100%); }
.chapter--right .chapter__bg::after { background: linear-gradient(270deg, rgba(8,11,24,.95) 0%, rgba(8,11,24,.86) 32%, rgba(8,11,24,.45) 66%, rgba(8,11,24,.12) 100%); }
.chapter__panel { position: relative; z-index: 1; max-width: 560px; text-shadow: 0 1px 24px rgba(6,9,20,.6); }
.chapter--right .wrap { display: flex; justify-content: flex-end; }
.chapter__year { font-weight: 700; font-size: clamp(3.4rem, 9vw, 7rem); letter-spacing: -0.05em; line-height: .85; color: var(--gold-bright); margin: 0 0 6px; }
.chapter__k { color: rgba(255,255,255,.6); margin: 0 0 22px; }
.chapter__title { font-weight: 700; font-size: clamp(1.9rem, 4vw, 3.1rem); letter-spacing: -0.035em; line-height: 1.02; margin: 0 0 20px; }
.chapter__text { font-size: clamp(1rem, 1.5vw, 1.18rem); line-height: 1.65; color: rgba(255,255,255,.85); margin: 0; }
.chapter__text + .chapter__text { margin-top: 16px; }

/* Milestone (cifra grande) */
.milestone { position: relative; z-index: 1; background: var(--navy); color: #fff; padding: clamp(70px, 12vw, 140px) 0; text-align: center; }
.milestone__num { font-weight: 700; font-size: clamp(4rem, 16vw, 11rem); letter-spacing: -0.05em; line-height: .9; color: var(--gold-bright); }
.milestone__label { font-size: clamp(1.05rem, 2vw, 1.4rem); color: rgba(255,255,255,.8); margin: 8px auto 0; max-width: 30ch; }
.milestone__text { color: rgba(255,255,255,.6); max-width: 58ch; margin: 26px auto 0; font-size: 1.02rem; line-height: 1.6; }

/* Intro / cierre */
.jintro { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; overflow: clip; }
.jintro__bg { position: absolute; inset: 0; z-index: 0; }
.jintro__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.2); }
.jintro__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,11,24,.55) 0%, rgba(8,11,24,.2) 40%, rgba(8,11,24,.85) 100%); }
.jintro__inner { position: relative; z-index: 1; padding-bottom: 60px; padding-top: 120px; }
.jintro__title { font-weight: 700; font-size: clamp(2.6rem, 8vw, 6rem); letter-spacing: -0.045em; line-height: .95; margin: 14px 0 20px; }
.jintro__sub { font-size: clamp(1.05rem, 1.8vw, 1.3rem); color: rgba(255,255,255,.85); max-width: 44ch; margin: 0 0 34px; }
.scrollcue { display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.scrollcue span { width: 22px; height: 34px; border: 1.5px solid rgba(255,255,255,.5); border-radius: 12px; position: relative; }
.scrollcue span::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 6px; background: #fff; border-radius: 2px; transform: translateX(-50%); animation: cue 1.6s var(--ease) infinite; }
@keyframes cue { 0%{opacity:0;transform:translate(-50%,0)} 40%{opacity:1} 100%{opacity:0;transform:translate(-50%,10px)} }

/* Cierre: pastores + misión */
.jclose { position: relative; z-index: 1; background: var(--bg); color: var(--ink); padding: clamp(70px, 11vw, 140px) 0; }
.jclose__head { text-align: center; max-width: 640px; margin: 0 auto clamp(40px,6vw,64px); }
.jclose__title { font-weight: 700; font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -0.04em; line-height: 1; margin: 14px 0 0; color: var(--navy); }
.pastors { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 6px; }
.pastor { position: relative; overflow: hidden; aspect-ratio: 3/3.4; color: #fff; display: flex; align-items: flex-end; }
.pastor img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.pastor::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,13,28,0) 40%, rgba(10,13,28,.85) 100%); }
.pastor__body { position: relative; z-index: 1; padding: 28px; }
.pastor__role { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-bright); margin: 0 0 6px; font-weight: 600; }
.pastor__name { font-weight: 600; font-size: 1.5rem; letter-spacing: -0.02em; margin: 0; }

/* Reveal (oculto solo si el JS está activo, para no romper sin JS) */
.reveal { transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js-journey .reveal { opacity: 0; transform: translateY(30px); }
.js-journey .reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .rail { display: none; }
  .chapter__bg::after, .chapter--right .chapter__bg::after { background: linear-gradient(180deg, rgba(8,11,24,.55) 0%, rgba(8,11,24,.35) 40%, rgba(8,11,24,.92) 100%); }
  .chapter { align-items: flex-end; }
  .chapter--right .wrap { justify-content: flex-start; }
  .pastors { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .chapter__bg { transform: none !important; }
  .scrollcue span::after { animation: none; }
}

/* Estado EN VIVO (predicaciones, se activa vía JS) */
.sermon-feat__badge--live { background: #e02424; color: #fff; display: inline-flex; align-items: center; gap: 8px; }
.sermon-feat__badge--live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: livePulse 1.4s ease-in-out infinite; }
@keyframes livePulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.sermon-card__thumb img { position: absolute; inset: 0; }
.sermon-card__thumb .playbtn--sm { z-index: 1; }

/* ===================== Modal de confirmación ===================== */
.modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 24px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(23,24,29,.55); backdrop-filter: blur(3px); animation: modalFade .2s ease; }
.modal__card {
  position: relative; z-index: 1; width: 100%; max-width: 420px;
  background: var(--bg); border-radius: 20px; padding: 40px 32px 32px;
  text-align: center; box-shadow: 0 30px 80px rgba(23,24,29,.28);
  animation: modalPop .28s cubic-bezier(.16,1,.3,1);
}
.modal__x {
  position: absolute; top: 14px; right: 16px; background: none; border: 0;
  font-size: 1.7rem; line-height: 1; color: var(--ink); opacity: .35; cursor: pointer;
}
.modal__x:hover { opacity: .7; }
.modal__emblem {
  width: 60px; height: 60px; margin: 0 auto 18px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.7rem; color: #fff;
  background: var(--blue);
}
.modal__title { font-size: clamp(1.6rem, 4vw, 2rem); margin-bottom: 10px; }
.modal__text { color: #5a5c66; line-height: 1.5; margin-bottom: 24px; }
@keyframes modalFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalPop { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }
