/* ============================================================
   MANANTIAL DE BENDICIONES — SAN ISIDRO
   Estilo: Institucional cálido (negro · latón · marfil)
   Mobile-first. Escala con @media (min-width: ...)
   ============================================================ */

/* ---------- TOKENS ---------- */
:root {
  /* Color */
  --bg:        #0B0B0C;   /* negro */
  --bg-soft:   #121214;   /* paneles / secciones alternas */
  --bg-card:   #18171A;   /* tarjetas */
  --line:      rgba(240,233,220,.12);
  --line-strong: rgba(240,233,220,.22);
  --line-soft: rgba(240,233,220,.07);

  --ivory:     #F0E9DC;   /* títulos */
  --text:      #D9D3C7;   /* texto */
  --muted:     #A39D91;   /* secundario */
  --muted-2:   #7D776C;

  --accent:    #C9A45C;   /* latón */
  --accent-2:  #E2C68D;   /* latón claro */
  --accent-deep:#9C7B3C;

  /* Tipografía */
  --font-display: "Libre Caslon Display", Georgia, serif;
  --font-serif:   "Libre Caslon Text", Georgia, serif;
  --font-body:    "Public Sans", system-ui, sans-serif;

  /* Medidas */
  --container: 1200px;
  --pad: 20px;
  --radius: 6px;
  --header-h: 68px;

  /* Motion */
  --ease: cubic-bezier(.22,1,.36,1);
}
@media (min-width: 760px)  { :root { --pad: 40px; } }
@media (min-width: 1000px) { :root { --header-h: 78px; } }

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 1rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--accent); color: var(--bg); }
* { scrollbar-color: var(--accent-deep) var(--bg); scrollbar-width: thin; }

/* ---------- TIPOGRAFÍA ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; color: var(--ivory); line-height: 1.08; letter-spacing: -.005em; }
h1 em, h2 em, h3 em, .text-grad, .accent { font-family: var(--font-serif); font-style: italic; color: var(--accent-2); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-family: var(--font-body); font-weight: 600; text-transform: uppercase;
  letter-spacing: .22em; font-size: .72rem; color: var(--accent);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; flex: none; }
.center .eyebrow::after, .eyebrow--center::after { content: ""; width: 26px; height: 1px; background: currentColor; flex: none; }
.section-title { font-size: clamp(2.1rem, 8vw, 3.5rem); margin-top: .8rem; }
.section-head { margin-bottom: 2.75rem; }
.section-head .lead { margin-top: 1rem; }
.lead { color: var(--text); font-size: clamp(1.04rem, 2.4vw, 1.15rem); max-width: 58ch; }
.center { text-align: center; }
.center .lead, .center.section-head .lead { margin-inline: auto; }
.link { color: var(--accent-2); font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 2px; transition: color .25s; }
.link:hover { color: var(--ivory); }

/* ---------- LAYOUT ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad); }
section { padding-block: clamp(4.5rem, 11vw, 7.5rem); position: relative; }
.section--soft { background: var(--bg-soft); border-block: 1px solid var(--line-soft); }

/* ---------- BOTONES (mín. 48px de alto para tocar) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .8rem 1.5rem; border-radius: var(--radius);
  font-weight: 600; font-size: .95rem; letter-spacing: .01em; text-align: center;
  border: 1px solid transparent;
  transition: transform .3s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--accent); color: var(--bg); }
.btn--primary:hover { background: var(--accent-2); }
.btn--ghost { border-color: var(--line-strong); color: var(--ivory); background: transparent; }
.btn--ghost:hover { border-color: var(--ivory); }
.btn--lg { min-height: 52px; padding: .9rem 1.8rem; font-size: 1rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.8rem; }
.hero__actions .btn { flex: 1 1 210px; }
@media (min-width: 600px) { .hero__actions .btn { flex: 0 0 auto; } }

/* ============================================================
   BARRA SUPERIOR + HEADER
   ============================================================ */
.topbar { display: none; border-bottom: 1px solid var(--line-soft); font-size: .8rem; color: var(--muted); background: var(--bg); }
.topbar__inner { display: flex; justify-content: space-between; gap: 1rem; padding-block: .5rem; }
.topbar a { transition: color .2s; }
.topbar a:hover { color: var(--ivory); }
@media (min-width: 1000px) { .topbar { display: block; } }

.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11,11,12,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .7rem; }
.brand__logo {
  width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: #fff; flex: 0 0 auto;
  display: grid; place-items: center; box-shadow: 0 0 0 1px var(--line-strong);
}
.brand__logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brand__name { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.05; color: var(--ivory); }
.brand__name span { display: block; font-family: var(--font-body); font-weight: 600; font-size: .6rem; letter-spacing: .24em; color: var(--muted); text-transform: uppercase; margin-top: 4px; }

.nav { display: none; }
.header__actions { display: flex; align-items: center; gap: .6rem; }
.header__visit { display: none; }

/* Indicador EN VIVO (solo se ve cuando hay transmisión) */
.live-cta {
  display: none; align-items: center; gap: .5rem; min-height: 40px; padding: .4rem .9rem;
  border-radius: var(--radius); border: 1px solid rgba(255,90,78,.45); color: #ffd9d5;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  transition: background .25s;
}
.live-cta:hover { background: rgba(255,90,78,.14); }
.live-chip {
  display: inline-flex; align-items: center; gap: .4rem; min-height: 40px; padding: .35rem .75rem;
  border-radius: var(--radius); border: 1px solid rgba(255,90,78,.45); color: #ffd9d5;
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #ff5a4e; flex: none; animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,90,78,.6); } 70% { box-shadow: 0 0 0 9px rgba(255,90,78,0); } 100% { box-shadow: 0 0 0 0 rgba(255,90,78,0); } }

/* Hamburguesa */
.burger { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: var(--radius); }
.burger span { display: block; width: 20px; height: 1.5px; background: var(--ivory); position: relative; transition: .3s var(--ease); }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 20px; height: 1.5px; background: var(--ivory); transition: .3s var(--ease); }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
body.menu-open .burger span { background: transparent; }
body.menu-open .burger span::before { top: 0; transform: rotate(45deg); }
body.menu-open .burger span::after { top: 0; transform: rotate(-45deg); }

/* Menú móvil (pantalla completa, debajo del header) */
.mobile-menu {
  position: fixed; inset: 0; z-index: 95; background: var(--bg);
  display: flex; flex-direction: column;
  padding: calc(var(--header-h) + 1rem) var(--pad) 28px;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .35s var(--ease), transform .45s var(--ease), visibility .35s;
}
body.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; }
body.menu-open .header { background: var(--bg); }
body.menu-open .wa-float, body.menu-open .to-top { opacity: 0; visibility: hidden; pointer-events: none; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  display: flex; justify-content: space-between; align-items: center; min-height: 56px;
  border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: 1.45rem; color: var(--ivory);
}
.mobile-menu nav a::after { content: "→"; font-family: var(--font-body); font-size: 1rem; color: var(--accent); }
.mobile-menu nav a.is-active { color: var(--accent-2); }
.mobile-menu__foot { margin-top: 1.5rem; display: grid; gap: .7rem; }
.mobile-menu__foot .btn { width: 100%; }
.mobile-menu__foot .live-link { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; border: 1px solid rgba(255,90,78,.45); border-radius: var(--radius); color: #ffd9d5; font-weight: 600; }

@media (min-width: 1000px) {
  .burger, .mobile-menu, .live-chip { display: none !important; }
  .nav { display: flex; align-items: center; gap: 1.8rem; }
  .nav a { font-size: .9rem; font-weight: 500; color: var(--text); position: relative; padding-block: .4rem; transition: color .2s; }
  .nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent); transform: scaleX(0); transition: transform .35s var(--ease); }
  .nav a:hover, .nav a.is-active { color: var(--ivory); }
  .nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
  .live-cta { display: inline-flex; }
  .header__visit { display: inline-flex; min-height: 44px; padding: .6rem 1.2rem; }
}

.nav a, .live-cta, .live-chip, .header__visit, .brand__name { white-space: nowrap; }
/* Pantallas medianas (notebook chica / tablet acostada): menú más compacto */
@media (min-width: 1000px) and (max-width: 1199px) {
  .nav { gap: 1.05rem; }
  .nav a { font-size: .84rem; }
  .brand__name { font-size: 1.02rem; }
  .header__inner { gap: .75rem; }
  .header__actions { gap: .45rem; }
  .live-cta { padding: .4rem .65rem; }
  .header__visit { padding: .55rem .9rem; font-size: .88rem; }
}

/* Vivo: se muestra solo si hay transmisión (lo maneja main.js) */
body:not(.is-live) #envivo,
body:not(.is-live) .live-cta,
body:not(.is-live) .live-chip,
body:not(.is-live) .live-link { display: none !important; }

/* ============================================================
   HERO (inicio)
   ============================================================ */
.hero { position: relative; min-height: min(calc(100svh - var(--header-h)), 860px); display: flex; align-items: flex-end; overflow: hidden; padding: 0; }
@media (min-width: 1000px) { .hero { min-height: min(calc(100svh - var(--header-h) - 34px), 820px); } }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; transform: scale(1.06); animation: settle 2.4s var(--ease) forwards; }
@keyframes settle { to { transform: scale(1); } }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--bg) 6%, rgba(11,11,12,.82) 42%, rgba(11,11,12,.45) 75%, rgba(11,11,12,.6) 100%); }
.hero__content { position: relative; z-index: 1; padding-top: 110px; padding-bottom: 40px; }
.hero h1 { font-size: clamp(2.6rem, 11vw, 5.6rem); line-height: 1.02; margin-top: 1.1rem; max-width: 14ch; }
.hero__sub { margin-top: 1.2rem; color: #E6E0D4; }
/* Carga escalonada del hero */
.hero__content > * { opacity: 0; animation: heroIn .9s var(--ease) forwards; }
.hero__content > *:nth-child(2) { animation-delay: .12s; }
.hero__content > *:nth-child(3) { animation-delay: .24s; }
.hero__content > *:nth-child(4) { animation-delay: .36s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* Franja de datos clave */
.facts { padding: 0; position: relative; z-index: 2; }
.facts__grid { display: grid; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--bg-soft); overflow: hidden; }
.fact { display: flex; gap: 1rem; align-items: center; padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--line); transition: background .25s; }
.fact:last-child { border-bottom: 0; }
a.fact:hover { background: var(--bg-card); }
.fact__ico { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--accent); flex: none; }
.fact__ico svg { width: 20px; height: 20px; }
.fact small { display: flex; align-items: center; gap: .4rem; font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.fact strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; color: var(--ivory); line-height: 1.25; }
@media (min-width: 900px) {
  .facts__grid { grid-template-columns: repeat(3, 1fr); }
  .fact { border-bottom: 0; border-right: 1px solid var(--line); padding: 1.5rem 1.75rem; }
  .fact:last-child { border-right: 0; }
}

/* ============================================================
   BIENVENIDA (pastores)
   ============================================================ */
.welcome__grid { display: grid; gap: 2.75rem; align-items: center; }
.welcome__photo { position: relative; isolation: isolate; margin-right: 14px; }
.welcome__photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 25%; border-radius: var(--radius); }
.welcome__photo::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid var(--accent); border-radius: var(--radius); z-index: -1; opacity: .55; }
.welcome h2 { font-size: clamp(2rem, 7.5vw, 3.3rem); margin-top: .9rem; }
.welcome blockquote { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.2rem, 4.4vw, 1.5rem); line-height: 1.5; color: var(--ivory); margin-top: 1.4rem; }
.welcome .lead { margin-top: 1.2rem; }
.signature { margin-top: 1.6rem; display: flex; align-items: center; gap: 1rem; }
.signature > span { width: 40px; height: 1px; background: var(--accent); flex: none; }
.signature strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; color: var(--ivory); }
.signature small { color: var(--muted); font-size: .85rem; }
@media (min-width: 900px) { .welcome__grid { grid-template-columns: .85fr 1.15fr; gap: 5rem; } }

/* ============================================================
   PRIMERA VEZ (pasos)
   ============================================================ */
.steps { display: grid; gap: 1rem; margin-top: 3rem; text-align: left; }
.step { padding: 1.8rem 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); transition: border-color .3s, transform .4s var(--ease); }
.step:hover { border-color: var(--accent); transform: translateY(-4px); }
.step__n { font-family: var(--font-display); font-size: 3rem; line-height: 1; color: var(--accent); }
.step h3 { font-size: 1.5rem; margin-top: .8rem; }
.step p { margin-top: .5rem; }
.steps__cta { margin-top: 2.5rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } .step { padding: 2.4rem 2rem; } }

/* ============================================================
   HORARIOS
   ============================================================ */
.cards { display: grid; gap: 1rem; }
.card { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.5rem; background: var(--bg-soft); display: grid; gap: .3rem; align-content: start; transition: border-color .3s, transform .4s var(--ease); }
.card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.card--principal { border-color: var(--accent); background: linear-gradient(160deg, rgba(201,164,92,.14), transparent 60%), var(--bg-soft); }
.card__tag { justify-self: start; font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--bg); background: var(--accent); padding: .25rem .6rem; border-radius: 3px; margin-bottom: .5rem; }
.card__day { font-family: var(--font-display); font-size: 1.8rem; color: var(--ivory); line-height: 1.1; }
.card__time { font-family: var(--font-serif); font-style: italic; font-size: 1.35rem; color: var(--accent-2); }
.card__desc { margin-top: .4rem; }
.special-days { margin-top: 1.5rem; display: grid; gap: .8rem; }
.special-day { display: flex; gap: 1rem; align-items: center; padding: 1rem 1.25rem; border: 1px dashed var(--line-strong); border-radius: var(--radius); }
.special-day__num { font-family: var(--font-display); font-size: 1.6rem; color: var(--accent); min-width: 2.4ch; }
.special-day h4 { font-family: var(--font-body); font-weight: 600; font-size: 1rem; color: var(--ivory); }
.special-day p { color: var(--muted); font-size: .9rem; }
@media (min-width: 900px) { .cards { grid-template-columns: 1.2fr 1fr 1fr; } .special-days { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   EN VIVO
   ============================================================ */
.live-banner { background: var(--bg-soft); border-block: 1px solid var(--line-soft); }
.live-banner__grid { display: grid; gap: 2rem; align-items: center; }
.live-pill { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .8rem; border: 1px solid rgba(255,90,78,.45); border-radius: var(--radius); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #ffd9d5; }
.live-banner h2 { font-size: clamp(2rem, 7vw, 3.2rem); margin: 1rem 0; }
.live-banner p { margin-bottom: 1.6rem; max-width: 46ch; }
.live-player { aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #000; }
.live-player iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (min-width: 900px) { .live-banner__grid { grid-template-columns: 1fr 1.25fr; gap: 3.5rem; } }

/* ============================================================
   VERSÍCULO (banda con foto)
   ============================================================ */
.scripture { position: relative; overflow: hidden; text-align: center; padding-block: clamp(6rem, 16vw, 9rem); }
.scripture__bg { position: absolute; inset: 0; }
.scripture__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.6) brightness(.33); }
.scripture__inner { position: relative; z-index: 1; max-width: 920px; margin-inline: auto; }
.scripture blockquote { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.6rem, 5.6vw, 2.9rem); line-height: 1.3; color: var(--ivory); max-width: 24ch; margin-inline: auto; text-wrap: balance; }
.scripture blockquote .text-grad { color: var(--accent-2); }
.scripture cite { display: block; margin-top: 1.4rem; font-style: normal; font-size: .74rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }

/* ============================================================
   MINISTERIOS
   ============================================================ */
.min-grid { display: grid; gap: 1rem; }
.min { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg-soft); min-height: 250px; display: flex; flex-direction: column; justify-content: flex-end; transition: border-color .3s; }
.min:hover { border-color: var(--line-strong); }
.min__img { position: absolute; inset: 0; }
.min__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.min__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,11,12,.95) 15%, rgba(11,11,12,.35) 100%); }
.min:hover .min__img img { transform: scale(1.05); }
.min__content { position: relative; padding: 1.5rem; }
.min__icon { font-family: var(--font-display); font-size: 2.2rem; color: var(--accent); line-height: 1; margin-bottom: 1rem; }
.min__meta { font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.min h3 { font-size: 1.6rem; margin-top: .3rem; }
.min p { margin-top: .4rem; font-size: .95rem; }
.min--plain { justify-content: flex-start; }
@media (min-width: 700px) { .min-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .min-grid { grid-template-columns: repeat(3, 1fr); } .min { min-height: 300px; } }
.section-foot { margin-top: 2.5rem; text-align: center; }

/* ============================================================
   CREEMOS (resumen en el inicio)
   ============================================================ */
.creed-sum { display: grid; gap: 2.5rem; }
.creed-sum__list { border-top: 1px solid var(--line); }
.creed-sum__item { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.creed-sum__item b { font-family: var(--font-display); font-weight: 400; color: var(--accent); font-size: 1.1rem; }
.creed-sum__item h3 { font-size: 1.3rem; line-height: 1.25; }
@media (min-width: 900px) { .creed-sum { grid-template-columns: .8fr 1.2fr; gap: 5rem; } }

/* ============================================================
   PRÉDICAS
   ============================================================ */
.sermons { display: grid; gap: 2rem; align-items: start; }
.player { aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #000; }
.player iframe { width: 100%; height: 100%; border: 0; display: block; }
.player-cap { margin-top: .8rem; color: var(--muted); font-size: .9rem; }
.s-list a { display: grid; grid-template-columns: 104px 1fr; gap: 1rem; align-items: center; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.s-list a:first-child { padding-top: 0; }
.s-list img { width: 104px; aspect-ratio: 16/9; object-fit: cover; border-radius: 4px; }
.s-list strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.1rem; color: var(--ivory); line-height: 1.25; transition: color .25s; }
.s-list small { color: var(--muted); font-size: .8rem; }
.s-list a:hover strong { color: var(--accent-2); }
@media (min-width: 1000px) { .sermons { grid-template-columns: 1.6fr 1fr; gap: 3rem; } }

/* Tarjetas de prédica (página Prédicas) */
.sermon-grid { display: grid; gap: 1.25rem; }
.sermon { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); transition: border-color .3s, transform .4s var(--ease); }
.sermon:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.sermon__thumb { position: relative; aspect-ratio: 16/9; background: #000; overflow: hidden; display: block; }
.sermon__thumb iframe { width: 100%; height: 100%; border: 0; display: block; }
.sermon__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.sermon:hover .sermon__thumb img { transform: scale(1.05); }
.sermon__play { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(to top, rgba(11,11,12,.55), transparent); }
.sermon__play svg { width: 56px; height: 56px; filter: drop-shadow(0 6px 18px rgba(0,0,0,.55)); transition: transform .3s var(--ease); }
.sermon:hover .sermon__play svg { transform: scale(1.1); }
.sermon__body { padding: 1.1rem 1.25rem 1.4rem; }
.sermon__tag { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.sermon__title { font-size: 1.25rem; margin-top: .35rem; }
@media (min-width: 720px) { .sermon-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .sermon-grid { grid-template-columns: repeat(3, 1fr); } }

/* Podcast */
.spotify-wrap { margin-top: 2.5rem; border-radius: 16px; overflow: hidden; }

/* ============================================================
   VISITANOS
   ============================================================ */
.visit__grid { display: grid; gap: 2rem; }
.visit__info h2 { font-size: clamp(2rem, 7.5vw, 3.3rem); margin-top: .8rem; }
.visit__list { margin-top: 2rem; display: grid; gap: 1.25rem; }
.visit__item { padding-left: 1.1rem; border-left: 2px solid var(--accent); }
.visit__item h4 { font-family: var(--font-body); font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.visit__item p { color: var(--ivory); font-size: 1.04rem; margin-top: .15rem; }
.map-frame { width: 100%; height: 320px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
@media (min-width: 900px) { .map-frame { height: 440px; } }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.7) invert(.9) contrast(.9) sepia(.12); }
@media (min-width: 900px) { .visit__grid { grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: center; } }

/* ============================================================
   COMUNIDAD / REDES
   ============================================================ */
.social-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin-top: 2.5rem; }
.social { display: flex; flex-direction: column; align-items: center; gap: .6rem; padding: 1.4rem 1rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg); font-weight: 600; font-size: .92rem; color: var(--ivory); transition: border-color .3s, transform .4s var(--ease), color .3s; }
.social svg { width: 26px; height: 26px; color: var(--accent); }
.social:hover { border-color: var(--accent); transform: translateY(-3px); }
@media (min-width: 720px) { .social-grid { grid-template-columns: repeat(4, 1fr); } }

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(2rem, 7.5vw, 3.3rem); margin-top: .9rem; }
.cta-band p { margin: 1rem auto 0; max-width: 50ch; }
.cta-band .hero__actions { justify-content: center; }
.final { border: 1px solid var(--accent); border-radius: var(--radius); padding: 3rem 1.5rem; background: radial-gradient(80% 120% at 50% 0%, rgba(201,164,92,.16), transparent 70%), var(--bg-soft); }
@media (min-width: 760px) { .final { padding: 4rem 3rem; } }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--line); padding-block: 3.5rem 1.75rem; background: var(--bg); }
.footer__grid { display: grid; gap: 2rem; }
.footer p { color: var(--muted); font-size: .92rem; margin-top: 1rem; max-width: 36ch; }
.footer__col h5 { font-family: var(--font-body); font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: .8rem; }
.footer__col a { display: block; color: var(--text); padding-block: .32rem; font-size: .95rem; transition: color .2s; }
.footer__col a:hover { color: var(--accent-2); }
.footer__bottom { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; color: var(--muted); font-size: .82rem; }
.footer__bottom .credit { color: var(--text); font-weight: 600; }
@media (min-width: 720px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }

/* ============================================================
   PÁGINAS INTERNAS
   ============================================================ */
.page-hero { position: relative; overflow: hidden; padding-top: clamp(3.5rem, 10vw, 6rem); padding-bottom: clamp(3rem, 8vw, 4.5rem); border-bottom: 1px solid var(--line); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(70% 90% at 85% -10%, rgba(201,164,92,.14), transparent 60%); }
.page-hero__inner { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.5rem, 10vw, 4.6rem); line-height: 1.04; margin-top: .9rem; }
.page-hero p { color: var(--text); margin-top: 1.1rem; max-width: 56ch; font-size: clamp(1.04rem, 2.4vw, 1.15rem); }
.page-hero p.eyebrow { color: var(--accent); font-size: .72rem; margin-top: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; font-size: .8rem; color: var(--muted-2); margin-bottom: 1.4rem; }
.breadcrumb a { color: var(--muted); } .breadcrumb a:hover { color: var(--accent-2); }

/* Prosa */
.prose { max-width: 65ch; }
.prose p { margin-bottom: 1.1rem; font-size: 1.05rem; }
.prose p:first-of-type { color: var(--ivory); font-family: var(--font-serif); font-size: 1.2rem; line-height: 1.6; }

/* Dos columnas */
.split { display: grid; gap: 2.5rem; }
@media (min-width: 860px) { .split { grid-template-columns: 1.3fr 1fr; align-items: start; } }
.about-photo { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); display: block; margin-bottom: 1rem; }

/* Valores */
.values { display: grid; gap: 1rem; }
@media (min-width: 720px) { .values { grid-template-columns: repeat(3, 1fr); } }
.value { padding: 1.75rem 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); }
.value__num { font-family: var(--font-display); color: var(--accent); font-size: 2rem; line-height: 1; }
.value h3 { font-size: 1.35rem; margin: .7rem 0 .4rem; }
.value p { font-size: .97rem; }

/* Caja destacada (misión / visión) */
.feature-box { border: 1px solid var(--line); border-left: 2px solid var(--accent); border-radius: var(--radius); padding: 1.6rem 1.5rem; background: var(--bg-soft); }
.feature-box + .feature-box { margin-top: 1rem; }
.feature-box h3 { font-size: 1.35rem; color: var(--accent-2); margin-bottom: .5rem; }

/* Equipo */
.team { display: grid; gap: 1.25rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 860px) { .team { grid-template-columns: repeat(4, 1fr); } }
.member { text-align: center; }
.member__photo { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; margin-bottom: .9rem; background: var(--bg-card); border: 1px solid var(--line); display: grid; place-items: center; color: var(--accent-deep); font-size: 2.5rem; }
.member h3 { font-size: 1.15rem; }
.member p { color: var(--accent-2); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-top: .25rem; }

/* Ministerio en detalle */
.min-detail { display: grid; gap: 1rem; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.5rem; background: var(--bg-soft); transition: border-color .3s; }
.min-detail:hover { border-color: var(--line-strong); }
.min-detail + .min-detail { margin-top: 1rem; }
.min-detail__icon { font-size: 2.2rem; line-height: 1; }
.min-detail h3 { font-size: 1.6rem; }
.min-detail .meta { color: var(--accent); font-weight: 600; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; margin-top: .4rem; }
.min-detail p { margin-top: .7rem; }
@media (min-width: 760px) { .min-detail { grid-template-columns: 72px 1fr; align-items: start; gap: 1.75rem; padding: 2rem; } }

/* Eventos */
.event-list { display: grid; gap: 1rem; }
.event { display: grid; gap: 1rem; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; background: var(--bg-soft); transition: border-color .3s; }
.event:hover { border-color: var(--accent); }
@media (min-width: 720px) { .event { grid-template-columns: 96px 1fr auto; } }
.event__date { text-align: center; border: 1px solid var(--line-strong); border-radius: var(--radius); padding: .7rem; min-width: 84px; justify-self: start; }
.event__date .d { font-family: var(--font-display); font-size: 2rem; line-height: 1; color: var(--accent-2); }
.event__date .m { text-transform: uppercase; letter-spacing: .14em; font-size: .7rem; color: var(--muted); margin-top: .25rem; }
.event__body h3 { font-size: 1.4rem; }
.event__body .when { color: var(--accent); font-size: .85rem; font-weight: 600; margin-top: .3rem; }
.event__body p { font-size: .95rem; margin-top: .5rem; }

/* Formulario */
.form { display: grid; gap: 1rem; }
.form .row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form .row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .45rem; }
.field label { font-size: .75rem; font-weight: 600; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.field input, .field textarea, .field select {
  width: 100%; padding: .85rem 1rem; border-radius: var(--radius); min-height: 48px;
  background: var(--bg-card); border: 1px solid var(--line-strong); color: var(--ivory);
  font: inherit; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(201,164,92,.18); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.form__note { color: var(--muted); font-size: .84rem; }
.field .opt { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--muted-2); }
.chips { position: relative; display: flex; flex-wrap: wrap; gap: .5rem; }
.chip-input { position: absolute; top: 0; left: 0; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: .55rem 1rem; border-radius: var(--radius); cursor: pointer; border: 1px solid var(--line-strong); background: var(--bg-card); color: var(--text); font-size: .9rem; font-weight: 500; user-select: none; transition: background .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--accent-2); color: var(--ivory); }
.field label.chip { text-transform: none; letter-spacing: 0; font-size: .9rem; font-weight: 500; color: var(--text); }
.chip-input:checked + .chip { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.chip-input:focus-visible + .chip { outline: 2px solid var(--accent-2); outline-offset: 2px; }

/* Datos de contacto */
.contact-cards { display: grid; gap: 1rem; }
@media (min-width: 720px) { .contact-cards { grid-template-columns: repeat(3, 1fr); } }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; background: var(--bg-soft); }
.contact-card .ico { color: var(--accent); font-size: 1.4rem; }
.contact-card h3 { font-size: 1.3rem; margin: .6rem 0 .3rem; }
.contact-card p, .contact-card a { color: var(--text); font-size: .95rem; }
.contact-card a { color: var(--accent-2); }

/* Donaciones */
.give { max-width: 640px; margin-inline: auto; }
.give__intro { text-align: center; }
.give__intro p { font-size: 1.1rem; }
.give-verse { text-align: center; margin: 2.5rem auto; max-width: 30ch; font-family: var(--font-serif); font-style: italic; font-size: clamp(1.25rem, 4vw, 1.6rem); line-height: 1.4; color: var(--ivory); }
.give-verse cite { display: block; font-family: var(--font-body); font-style: normal; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; font-size: .72rem; color: var(--accent); margin-top: .9rem; }
.give-methods { display: grid; gap: 1rem; margin-top: 1rem; }
.give-method { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; background: var(--bg-soft); }
.give-method h3 { font-size: 1.4rem; display: flex; align-items: center; gap: .6rem; }
.give-method__data { margin-top: 1rem; display: grid; gap: .6rem; }
.give-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .3rem 1rem; align-items: baseline; border-bottom: 1px dashed var(--line); padding-bottom: .55rem; }
.give-row:last-child { border-bottom: none; }
.give-row span { color: var(--muted); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; }
.give-row strong { font-weight: 600; font-size: 1rem; color: var(--ivory); word-break: break-word; }
.give-note { text-align: center; color: var(--muted); font-size: .92rem; margin-top: 2rem; line-height: 1.7; }

/* Confesión de fe */
.creed { max-width: 780px; margin-inline: auto; }
.creed__intro { font-family: var(--font-serif); font-size: 1.2rem; line-height: 1.6; color: var(--ivory); margin-bottom: 1rem; }
.creed__article { padding: 2rem 0; border-bottom: 1px solid var(--line); }
.creed__article:last-child { border-bottom: none; }
.creed__num { font-family: var(--font-display); color: var(--accent); font-size: 1.6rem; line-height: 1; }
.creed__article h3 { font-size: clamp(1.45rem, 4.4vw, 1.9rem); margin: .6rem 0 .8rem; }
.creed__article p { font-size: 1.05rem; line-height: 1.75; }
.creed__article p + p { margin-top: .8rem; }
.creed__refs { display: block; margin-top: 1rem; font-family: var(--font-serif); font-size: .92rem; color: var(--accent-2); font-style: italic; }

/* Creencias (Nosotros) */
.beliefs { display: grid; gap: 1rem; }
@media (min-width: 720px) { .beliefs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .beliefs { grid-template-columns: repeat(3, 1fr); } }
.belief { padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); }
.belief .ico { font-size: 1.6rem; }
.belief h3 { font-size: 1.3rem; margin: .6rem 0 .4rem; }
.belief p { font-size: .95rem; line-height: 1.6; }

/* Página 404 */
.nf { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: var(--pad); }
.nf__inner { max-width: 34rem; }
.nf__code { font-family: var(--font-display); font-size: clamp(6rem, 30vw, 11rem); line-height: 1; color: var(--accent); }
.nf h1 { font-size: clamp(2rem, 8vw, 3rem); margin-top: .5rem; }
.nf p { margin: 1rem auto 2rem; }

/* ============================================================
   REVEAL (al hacer scroll)
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .1s } .reveal[data-d="2"] { transition-delay: .2s }
.reveal[data-d="3"] { transition-delay: .3s } .reveal[data-d="4"] { transition-delay: .4s }

/* ============================================================
   MICROINTERACCIONES
   ============================================================ */
.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: var(--accent); z-index: 200; transition: width .1s linear; }
.to-top {
  position: fixed; right: 16px; bottom: 16px; z-index: 150; width: 48px; height: 48px; border-radius: 50%;
  background: var(--bg-card); border: 1px solid var(--line-strong); color: var(--accent-2); font-size: 1.2rem;
  display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), border-color .25s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { border-color: var(--accent); }
.wa-float {
  position: fixed; left: 16px; bottom: 16px; z-index: 150; width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 28px -8px rgba(37,211,102,.55); transition: transform .3s var(--ease);
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { transform: translateY(-3px); }

/* Luz suave que sigue al mouse en tarjetas (solo escritorio) */
@media (hover: hover) and (pointer: fine) {
  .spot { position: relative; }
  .spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 2; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(226,198,141,.08), transparent 62%); opacity: 0; transition: opacity .35s var(--ease); }
  .spot:hover::after { opacity: 1; }
}

/* Transición entre páginas */
body { animation: pageReveal .45s var(--ease) both; }
@keyframes pageReveal { from { opacity: 0; } to { opacity: 1; } }
.page-curtain { position: fixed; inset: 0; z-index: 9998; background: var(--bg); opacity: 0; pointer-events: none; transition: opacity .35s var(--ease); }
.page-curtain.cover { opacity: 1; pointer-events: all; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .hero__content > * { opacity: 1 !important; transform: none !important; }
  .page-curtain { display: none; }
}
