/* ============================================================
   Mundo de Fe Cancún — Rediseño
   Sistema de diseño
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Marca */
  --blue:        #1E4FC8;   /* azul rey del logo */
  --blue-deep:   #15327f;   /* azul profundo (hover, texto) */
  --navy:        #0f1f44;   /* navy casi tinta para secciones oscuras */
  --gold:        #c8912f;   /* dorado cálido (acento) */
  --gold-soft:   #e6c074;   /* dorado claro */
  --agua:        #2f9bb0;   /* turquesa cálido (acento secundario, ola/agua) */

  /* Neutros cálidos */
  --cream:       #fbf7f0;   /* fondo cálido principal */
  --cream-2:     #f4ede1;   /* fondo cálido alterno */
  --paper:       #ffffff;
  --ink:         #1b1d24;   /* texto principal */
  --ink-soft:    #4d5160;   /* texto secundario */
  --line:        #e7ddcd;   /* divisores */

  /* Tipografía */
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans:  "Mulish", system-ui, -apple-system, sans-serif;

  /* Métricas */
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 3px rgba(15,31,68,.06), 0 6px 18px rgba(15,31,68,.06);
  --shadow-md: 0 10px 30px rgba(15,31,68,.10), 0 2px 8px rgba(15,31,68,.06);
  --shadow-lg: 0 24px 60px rgba(15,31,68,.16);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } }
body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--blue); color: #fff; }

/* ---------- Tipografía base ---------- */
h1,h2,h3,h4 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -.01em; color: var(--ink); }
.eyebrow {
  font-family: var(--sans);
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: .6em;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--gold);
  display: inline-block;
}
.eyebrow.center::after {
  content: "";
  width: 26px; height: 2px;
  background: var(--gold);
  display: inline-block;
}

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 130px); }
.section--tight { padding-block: clamp(48px, 6vw, 84px); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); margin-top: 16px; }
.section-head p { color: var(--ink-soft); font-size: 1.075rem; margin-top: 16px; max-width: 62ch; }
.section-head.center p { margin-inline: auto; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--sans); font-weight: 800; font-size: .98rem;
  padding: 15px 28px; border-radius: 999px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  white-space: nowrap; line-height: 1;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(30,79,200,.28); }
.btn--primary:hover { background: var(--blue-deep); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(30,79,200,.34); }
.btn--ghost { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.55); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: #fff; color: var(--navy); transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: #fff; box-shadow: 0 8px 20px rgba(200,145,47,.28); }
.btn--gold:hover { background: #b27e22; transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--blue); border: 1.5px solid var(--blue); }
.btn--outline:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }
.btn--wa { background: #25D366; color: #fff; box-shadow: 0 8px 20px rgba(37,211,102,.30); }
.btn--wa:hover { background: #1eb858; transform: translateY(-2px); }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), padding .35s var(--ease);
  padding-block: 18px;
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header__logo img { height: 30px; width: auto; transition: opacity .3s; }
.header__logo .logo-blue { display: none; }
.header.scrolled { background: rgba(251,247,240,.88); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line), var(--shadow-sm); padding-block: 12px; }
.header.scrolled .logo-white { display: none; }
.header.scrolled .logo-blue { display: block; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  font-weight: 700; font-size: .9rem; color: #fff; padding: 8px 11px; border-radius: 999px;
  transition: background .2s, color .2s; opacity: .92;
}
.nav a:hover { background: rgba(255,255,255,.16); opacity: 1; }
.header.scrolled .nav a { color: var(--ink); }
.header.scrolled .nav a:hover { background: var(--cream-2); color: var(--blue); }
.header__cta { display: flex; align-items: center; gap: 10px; }
.header.scrolled .nav-cta.btn--ghost { background: var(--blue); color:#fff; border-color: var(--blue); }
.header.scrolled .nav-cta.btn--ghost:hover { background: var(--blue-deep); }

.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; align-items: center; justify-content: center; }
.menu-toggle span { position: relative; width: 22px; height: 2px; background: #fff; transition: background .3s; }
.menu-toggle span::before, .menu-toggle span::after { content:""; position:absolute; left:0; width:22px; height:2px; background:#fff; transition: transform .3s; }
.menu-toggle span::before { top: -7px; } .menu-toggle span::after { top: 7px; }
.header.scrolled .menu-toggle span, .header.scrolled .menu-toggle span::before, .header.scrolled .menu-toggle span::after { background: var(--ink); }
body.menu-open .menu-toggle span { background: transparent; }
body.menu-open .menu-toggle span::before { transform: translateY(7px) rotate(45deg); }
body.menu-open .menu-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(10,18,40,.92) 0%, rgba(10,18,40,.55) 40%, rgba(10,18,40,.30) 70%, rgba(10,18,40,.55) 100%),
    linear-gradient(110deg, rgba(15,31,68,.55), rgba(15,31,68,0) 60%);
}
.hero__inner { position: relative; z-index: 1; width: 100%; padding-bottom: clamp(56px, 8vw, 110px); padding-top: 140px; }
.hero__verse {
  font-family: var(--serif); font-style: italic; font-size: clamp(1rem, 1.6vw, 1.18rem);
  color: var(--gold-soft); max-width: 46ch; margin-bottom: 22px; line-height: 1.5;
}
.hero h1 { font-size: clamp(2.6rem, 6.6vw, 5.4rem); font-weight: 500; letter-spacing: -.02em; max-width: 16ch; color: #fff; }
.hero h1 em { font-style: italic; color: var(--gold-soft); }
.hero__sub { font-size: clamp(1.05rem, 1.8vw, 1.3rem); max-width: 50ch; margin-top: 22px; color: rgba(255,255,255,.9); font-weight: 400; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* Horarios de servicio en el hero */
.hero__times {
  display: flex; align-items: center; gap: clamp(16px, 2.4vw, 26px); flex-wrap: wrap;
  margin-top: 30px; padding: 16px 22px; width: max-content; max-width: 100%;
  border-radius: var(--radius); background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(8px);
}
.hero__times .ht__head { display: flex; align-items: center; gap: 12px; }
.hero__times .ht__ico { width: 42px; height: 42px; border-radius: 12px; background: rgba(30,79,200,.45); display: grid; place-items: center; flex: none; }
.hero__times .ht__ico svg { width: 22px; height: 22px; color: var(--gold-soft); }
.hero__times .ht__lead { font-family: var(--sans); font-weight: 800; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.85); max-width: 6.5em; line-height: 1.25; }
.hero__times .ht { display: flex; flex-direction: column; line-height: 1.05; }
.hero__times .ht__day { font-family: var(--sans); font-weight: 800; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); }
.hero__times .ht__time { font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 1.6rem); color: #fff; margin-top: 5px; white-space: nowrap; }
.hero__times .ht__div { width: 1px; height: 40px; background: rgba(255,255,255,.25); }
@media (max-width: 560px){
  .hero__times { gap: 16px; padding: 14px 18px; }
  .hero__times .ht__div { display: none; }
}

/* Redes sociales en el encabezado */
.header__social { display: flex; align-items: center; gap: 2px; }
.header__social a { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #fff; opacity: .9; transition: background .2s, opacity .2s, color .2s; }
.header__social a:hover { background: rgba(255,255,255,.16); opacity: 1; }
.header__social svg { width: 19px; height: 19px; }
.header.scrolled .header__social a { color: var(--ink); }
.header.scrolled .header__social a:hover { background: var(--cream-2); color: var(--blue); }
@media (max-width: 1120px){ .header__social { display: none; } }

/* Redes en el menú móvil */
.mobile-nav__social { display: flex; gap: 14px; margin-top: 26px; }
.mobile-nav__social a { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #fff; transition: background .25s, color .25s; }
.mobile-nav__social a:hover { background: var(--blue); color: #fff; }
.mobile-nav__social svg { width: 24px; height: 24px; }
.hero__scroll { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.hero__scroll .mouse { width: 22px; height: 36px; border: 2px solid rgba(255,255,255,.55); border-radius: 12px; position: relative; }
.hero__scroll .mouse::after { content:""; position:absolute; top:7px; left:50%; transform:translateX(-50%); width:3px; height:7px; border-radius:2px; background:#fff; animation: scrolldot 1.8s var(--ease) infinite; }
@keyframes scrolldot { 0%{opacity:0; transform:translate(-50%,0);} 40%{opacity:1;} 80%{opacity:0; transform:translate(-50%,10px);} 100%{opacity:0;} }

/* Banda lema bajo el hero */
.tagband { background: var(--blue); color: #fff; }
.tagband .wrap { display: flex; align-items: center; justify-content: center; gap: clamp(18px,4vw,46px); flex-wrap: wrap; padding-block: 22px; text-align: center; }
.tagband__item { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: .98rem; }
.tagband__item svg { width: 22px; height: 22px; color: var(--gold-soft); flex: none; }
.tagband__sep { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.4); }
@media (max-width: 760px){ .tagband__sep { display:none; } }

/* ============================================================
   BIENVENIDA / INTRO
   ============================================================ */
.welcome { background: var(--cream); }
.welcome__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.welcome__media { position: relative; }
.welcome__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4/5; object-fit: cover; }
.welcome__badge {
  position: absolute; bottom: -26px; left: -26px; background: var(--paper); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 20px 24px; display: flex; align-items: center; gap: 16px; max-width: 260px;
}
.welcome__badge .yr { font-family: var(--serif); font-size: 2.6rem; color: var(--blue); line-height: 1; }
.welcome__badge small { color: var(--ink-soft); font-size: .85rem; font-weight: 700; line-height: 1.3; }
.welcome h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); margin-top: 14px; }
.welcome p { color: var(--ink-soft); margin-top: 18px; font-size: 1.07rem; }
.welcome p .lead { color: var(--ink); }
.welcome__sign { margin-top: 26px; font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--blue); }
@media (max-width: 880px){
  .welcome__grid { grid-template-columns: 1fr; gap: 56px; }
  .welcome__media { max-width: 480px; margin-inline: auto; width: 100%; }
  .welcome__media img { aspect-ratio: 16/11; }
  .welcome__badge { left: 16px; bottom: -22px; }
}
@media (max-width: 520px){
  .welcome__badge { left: 12px; right: 12px; bottom: -24px; max-width: none; }
}

/* Tarjetas Visión / Misión */
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 40px; }
.vm__card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.vm__card h3 { font-size: 1.25rem; color: var(--blue); margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.vm__card h3 svg { width: 22px; height: 22px; color: var(--gold); }
.vm__card p { color: var(--ink-soft); font-size: 1rem; margin: 0; }
@media (max-width: 560px){ .vm { grid-template-columns: 1fr; } }

/* ============================================================
   VALORES
   ============================================================ */
.values { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.values::before { content:""; position:absolute; inset:0; background: radial-gradient(900px 500px at 85% -10%, rgba(30,79,200,.45), transparent 60%); }
.values .wrap { position: relative; }
.values .eyebrow { color: var(--gold-soft); }
.values .section-head h2, .values .section-head p { color: #fff; }
.values .section-head p { color: rgba(255,255,255,.72); }
.values__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.value {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius);
  padding: 30px 26px; transition: transform .3s var(--ease), background .3s; position: relative;
}
.value:hover { transform: translateY(-6px); background: rgba(255,255,255,.09); }
.value__ico { width: 52px; height: 52px; border-radius: 14px; background: rgba(30,79,200,.30); display: grid; place-items: center; margin-bottom: 20px; }
.value__ico svg { width: 26px; height: 26px; color: var(--gold-soft); }
.value h3 { color: #fff; font-size: 1.2rem; letter-spacing: .02em; margin-bottom: 12px; line-height: 1.18; }
.value p { color: rgba(255,255,255,.72); font-size: .96rem; }
@media (max-width: 900px){ .values__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .values__grid { grid-template-columns: 1fr; } }

/* ============================================================
   CREEMOS (verso + texto)
   ============================================================ */
.believe { background: var(--cream-2); position: relative; }
.believe__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px,6vw,72px); align-items: center; }
.believe__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.believe__media img { aspect-ratio: 3/4; object-fit: cover; width: 100%; }
.believe__media .tag { position: absolute; left: 20px; bottom: 20px; background: rgba(15,31,68,.78); backdrop-filter: blur(6px); color:#fff; padding: 10px 16px; border-radius: 999px; font-size: .82rem; font-weight: 700; letter-spacing:.04em; }
.believe h2 { font-size: clamp(1.9rem,3.8vw,3rem); margin-top: 14px; }
.believe__body { color: var(--ink-soft); margin-top: 20px; font-size: 1.06rem; }
.believe__verse {
  margin-top: 28px; padding: 24px 28px; border-left: 3px solid var(--gold);
  background: var(--paper); border-radius: 0 var(--radius) var(--radius) 0; box-shadow: var(--shadow-sm);
}
.believe__verse p { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--ink); line-height: 1.5; }
.believe__verse cite { display:block; margin-top: 12px; font-style: normal; font-family: var(--sans); font-weight:800; font-size:.82rem; letter-spacing:.1em; text-transform:uppercase; color: var(--blue); }
@media (max-width: 860px){ .believe__grid { grid-template-columns: 1fr; } .believe__media { max-width: 440px; } }

/* ============================================================
   MINISTERIOS
   ============================================================ */
.ministries { background: var(--cream); }
.min-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.min-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden;
}
.min-card::after { content:""; position:absolute; left:0; top:0; height:3px; width:0; background: linear-gradient(90deg,var(--blue),var(--agua)); transition: width .4s var(--ease); }
.min-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.min-card:hover::after { width: 100%; }
.min-card__ico { width: 50px; height: 50px; border-radius: 14px; background: linear-gradient(135deg, rgba(30,79,200,.12), rgba(47,155,176,.12)); display: grid; place-items: center; margin-bottom: 18px; }
.min-card__ico svg { width: 25px; height: 25px; color: var(--blue); stroke-width: 1.7; }
.min-card h3 { font-size: 1.14rem; margin-bottom: 7px; }
.min-card p { color: var(--ink-soft); font-size: .93rem; line-height: 1.5; }
@media (max-width: 980px){ .min-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px){ .min-grid { grid-template-columns: 1fr; } }

.min-purpose { display:flex; flex-wrap:wrap; gap: 14px; margin-top: 34px; justify-content:center; }
.min-purpose span { display:inline-flex; align-items:center; gap:9px; background: var(--paper); border:1px solid var(--line); border-radius:999px; padding:10px 18px; font-weight:700; font-size:.9rem; color: var(--ink); box-shadow: var(--shadow-sm); }
.min-purpose span svg { width:16px; height:16px; color: var(--gold); }

/* ============================================================
   NUESTRA SEMANA
   ============================================================ */
.weekly { background: var(--cream-2); }
.wk-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 18px; }
.wk-card {
  position: relative; overflow: hidden;
  background: var(--paper); border:1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.wk-card::after { content:""; position:absolute; left:0; top:0; height:3px; width:0; background: linear-gradient(90deg,var(--blue),var(--agua)); transition: width .4s var(--ease); }
.wk-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.wk-card:hover::after { width: 100%; }
.wk-card__day { display:inline-block; font-family: var(--serif); font-weight:600; font-size:.82rem; letter-spacing:.06em; text-transform:uppercase; color: var(--gold); margin-bottom: 10px; }
.wk-card h3 { font-size: 1.14rem; margin-bottom: 7px; }
.wk-card p { color: var(--ink-soft); font-size: .93rem; line-height: 1.5; }
.wk-note { text-align:center; color: var(--ink-soft); font-size:.92rem; margin-top: 26px; }
.wk-note a { color: var(--blue); font-weight:700; }
@media (max-width: 980px){ .wk-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px){ .wk-grid { grid-template-columns: 1fr; } }

/* ============================================================
   PROGRAMAS DESTACADOS
   ============================================================ */
.programs { background: var(--cream-2); }
.prog { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,5vw,64px); align-items: center; }
.prog + .prog { margin-top: clamp(48px, 7vw, 96px); }
.prog:nth-child(even) .prog__media { order: 2; }
.prog__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.prog__media img { width: 100%; aspect-ratio: 5/4; object-fit: cover; transition: transform .8s var(--ease); }
.prog:hover .prog__media img { transform: scale(1.04); }
.prog__media .num { position:absolute; top:18px; left:18px; font-family:var(--serif); font-size:1rem; font-weight:600; color:#fff; background: rgba(15,31,68,.6); backdrop-filter: blur(6px); width: 46px; height:46px; border-radius:50%; display:grid; place-items:center; }
.prog__tag { color: var(--blue); }
.prog h3 { font-size: clamp(1.7rem,3.4vw,2.5rem); margin: 14px 0 0; }
.prog__body { color: var(--ink-soft); margin-top: 16px; font-size: 1.05rem; }
.prog__list { margin-top: 20px; display: grid; gap: 11px; }
.prog__list li { display:flex; gap: 12px; align-items:flex-start; font-size:.98rem; color: var(--ink); }
.prog__list svg { width: 20px; height: 20px; color: var(--blue); flex:none; margin-top:2px; }
.prog__cta { margin-top: 26px; }
@media (max-width: 860px){
  .prog { grid-template-columns: 1fr; }
  .prog:nth-child(even) .prog__media { order: 0; }
}

/* ============================================================
   GALERÍA
   ============================================================ */
.gallery { background: var(--navy); color:#fff; }
.gallery .eyebrow { color: var(--gold-soft); }
.gallery .section-head h2, .gallery .section-head p { color:#fff; }
.gallery .section-head p { color: rgba(255,255,255,.72); }
.gal-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px; }
.gal-grid figure { position: relative; overflow: hidden; border-radius: var(--radius); }
.gal-grid img { width:100%; height:100%; object-fit: cover; transition: transform .7s var(--ease); }
.gal-grid figure:hover img { transform: scale(1.07); }
.gal-grid figure::after { content:""; position:absolute; inset:0; background: linear-gradient(to top, rgba(10,18,40,.5), transparent 55%); opacity:0; transition: opacity .4s; }
.gal-grid figure:hover::after { opacity:1; }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }
@media (max-width: 760px){ .gal-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; } .g-wide{ grid-column: span 2; } }

/* ============================================================
   CONTACTO
   ============================================================ */
.contact { background: var(--cream); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px,5vw,64px); }
.contact__info .eyebrow { color: var(--blue); }
.contact__info h2 { font-size: clamp(1.9rem,3.8vw,3rem); margin-top: 14px; }
.contact__info > p { color: var(--ink-soft); margin-top: 16px; font-size: 1.05rem; }
.contact__list { margin-top: 28px; display: grid; gap: 8px; }
.cinfo { display:flex; gap: 16px; align-items:flex-start; padding: 16px; border-radius: var(--radius); transition: background .25s; }
.cinfo:hover { background: var(--cream-2); }
.cinfo__ico { width: 46px; height:46px; border-radius: 12px; background: var(--blue); display:grid; place-items:center; flex:none; }
.cinfo__ico svg { width: 22px; height:22px; color:#fff; }
.cinfo h4 { font-family: var(--sans); font-weight:800; font-size:.78rem; letter-spacing:.12em; text-transform:uppercase; color: var(--ink-soft); margin-bottom:3px; }
.cinfo a, .cinfo p { font-size: 1.05rem; color: var(--ink); font-weight: 600; }
.cinfo a:hover { color: var(--blue); }

.hours { margin-top: 24px; background: var(--blue); color:#fff; border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow-md); }
.hours h4 { font-family: var(--sans); font-weight:800; font-size:.78rem; letter-spacing:.12em; text-transform:uppercase; color: var(--gold-soft); margin-bottom:14px; display:flex; align-items:center; gap:8px; }
.hours h4 svg{ width:18px;height:18px; }
.hours__row { display:flex; justify-content:space-between; gap:16px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.16); font-size:.98rem; }
.hours__row:last-child{ border-bottom:none; }
.hours__row strong{ font-weight:800; }
.hours__row span{ color: rgba(255,255,255,.82); }
.hours__note { margin-top:12px; font-size:.78rem; color: rgba(255,255,255,.6); font-style:italic; }

.socials { display:flex; gap: 12px; margin-top: 24px; }
.socials a { width: 48px; height:48px; border-radius: 14px; background: var(--paper); border:1px solid var(--line); display:grid; place-items:center; color: var(--blue); transition: transform .25s, background .25s, color .25s; box-shadow: var(--shadow-sm); }
.socials a:hover { transform: translateY(-3px); background: var(--blue); color:#fff; }
.socials svg { width: 22px; height:22px; }

/* Form */
.cform { background: var(--paper); border:1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow-md); align-self:start; }
.cform h3 { font-size: 1.6rem; }
.cform > p { color: var(--ink-soft); margin-top: 6px; margin-bottom: 22px; font-size: .98rem; }
.field { margin-bottom: 16px; }
.field label { display:block; font-weight:700; font-size:.86rem; margin-bottom: 7px; color: var(--ink); }
.field input, .field textarea, .field select {
  width:100%; font-family: var(--sans); font-size: 1rem; color: var(--ink);
  padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--cream);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus, .field select:focus { outline:none; border-color: var(--blue); background:#fff; box-shadow: 0 0 0 4px rgba(30,79,200,.12); }
.field.row2 { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.field.row2 > div { margin:0; }
.cform .btn { width:100%; margin-top: 6px; }
.cform__ok { display:none; text-align:center; padding: 30px 10px; }
.cform__ok.show { display:block; }
.cform__ok .check { width:64px; height:64px; border-radius:50%; background: rgba(37,211,102,.14); display:grid; place-items:center; margin: 0 auto 18px; }
.cform__ok .check svg { width:32px; height:32px; color:#25D366; }
.cform__ok h3{ margin-bottom:8px; }
.cform__ok p{ color: var(--ink-soft); }
@media (max-width: 920px){ .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 460px){ .field.row2 { grid-template-columns: 1fr; } }

/* Mapa */
.map { margin-top: 8px; }
.map iframe { width:100%; height: 360px; border:0; display:block; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); filter: grayscale(.2) contrast(1.02); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy); color: rgba(255,255,255,.7); padding-block: clamp(50px,7vw,80px) 30px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer__brand img { height: 30px; margin-bottom: 18px; }
.footer__brand p { max-width: 34ch; font-size: .96rem; line-height: 1.6; }
.footer__brand .socials { margin-top: 22px; }
.footer__brand .socials a { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color:#fff; }
.footer__brand .socials a:hover { background: var(--blue); }
.footer__col h4 { font-family: var(--sans); font-weight:800; font-size:.78rem; letter-spacing:.14em; text-transform:uppercase; color:#fff; margin-bottom: 16px; }
.footer__col a, .footer__col p { display:block; color: rgba(255,255,255,.65); font-size:.96rem; padding: 5px 0; transition: color .2s; }
.footer__col a:hover { color: var(--gold-soft); }
.footer__bottom { margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; font-size:.85rem; color: rgba(255,255,255,.5); }
@media (max-width: 860px){ .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px){ .footer__top { grid-template-columns: 1fr; } }

/* ============================================================
   WHATSAPP FLOTANTE
   ============================================================ */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%; background: #25D366; color:#fff;
  display:grid; place-items:center; box-shadow: 0 12px 28px rgba(37,211,102,.45);
  transition: transform .3s var(--ease), box-shadow .3s; animation: waPulse 2.6s infinite;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height:32px; }
@keyframes waPulse { 0%{ box-shadow: 0 12px 28px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.45);} 70%{ box-shadow: 0 12px 28px rgba(37,211,102,.45), 0 0 0 16px rgba(37,211,102,0);} 100%{ box-shadow: 0 12px 28px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,0);} }
@media (prefers-reduced-motion: reduce){ .wa-float{ animation:none; } }

/* ============================================================
   MENÚ MÓVIL
   ============================================================ */
.mobile-nav {
  position: fixed; inset: 0; z-index: 99; background: var(--navy);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px;
  opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
body.menu-open .mobile-nav { opacity: 1; visibility: visible; transform: none; }
.mobile-nav a { color:#fff; font-family: var(--serif); font-size: 1.45rem; padding: 8px 24px; opacity:.9; }
.mobile-nav a:hover { color: var(--gold-soft); }
.mobile-nav .btn { margin-top: 18px; font-family: var(--sans); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 1; transform: none; }
.js .reveal { transform: translateY(24px); transition: transform .75s var(--ease); }
.js .reveal.in { transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce){ .js .reveal { opacity:1; transform:none; transition:none; } }

/* ---------- Responsive nav ---------- */
@media (max-width: 1024px){
  .nav, .header__cta .nav-cta { display: none; }
  .menu-toggle { display: flex; }
}

/* ============================================================
   PLANEA TU VISITA
   ============================================================ */
.visit { background: var(--cream-2); }
.visit__layout { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(36px, 5vw, 70px); align-items: center; }
.visit__intro h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); margin-top: 14px; }
.visit__intro > p { color: var(--ink-soft); margin-top: 18px; font-size: 1.07rem; }
.visit__when { display: flex; align-items: center; gap: 26px; margin-top: 26px; padding: 18px 24px; background: var(--blue); color: #fff; border-radius: var(--radius); width: max-content; max-width: 100%; box-shadow: var(--shadow-md); }
.visit__when .vw { display: flex; flex-direction: column; line-height: 1.05; }
.visit__when .vw__day { font-family: var(--sans); font-weight: 800; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); }
.visit__when .vw__time { font-family: var(--serif); font-size: 1.5rem; margin-top: 4px; white-space: nowrap; }
.visit__when .vw__div { width: 1px; height: 40px; background: rgba(255,255,255,.28); }
.visit__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.visit__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.vcard { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.vcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.vcard__ico { width: 52px; height: 52px; border-radius: 14px; background: var(--blue); display: grid; place-items: center; margin-bottom: 16px; }
.vcard__ico svg { width: 25px; height: 25px; color: #fff; }
.vcard h3 { font-size: 1.16rem; margin-bottom: 8px; }
.vcard p { color: var(--ink-soft); font-size: .97rem; }
.vcard p strong, .visit__intro p strong { color: var(--ink); font-weight: 700; }
@media (max-width: 920px){
  .visit__layout { grid-template-columns: 1fr; gap: 44px; }
}
@media (max-width: 480px){
  .visit__cards { grid-template-columns: 1fr; }
  .visit__when { gap: 18px; padding: 16px 20px; }
}

/* ============================================================
   GRUPOS DE CONEXIÓN
   ============================================================ */
.groups { background: var(--cream); }
.groups__benefits { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-bottom: clamp(40px, 5vw, 56px); }
.gben { display: flex; align-items: center; gap: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 12px 20px; font-weight: 700; font-size: .95rem; box-shadow: var(--shadow-sm); }
.gben svg { width: 19px; height: 19px; color: var(--blue); flex: none; }
.groups__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gcard { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease); display: flex; flex-direction: column; }
.gcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.gcard__top { background: var(--blue); color: #fff; padding: 20px 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.gcard__zone { font-family: var(--serif); font-size: 1.28rem; line-height: 1.1; white-space: nowrap; }
.gcard__badge { font-family: var(--sans); font-weight: 800; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; background: rgba(255,255,255,.18); padding: 6px 11px; border-radius: 999px; white-space: nowrap; }
.gcard__body { padding: 22px; display: grid; gap: 13px; }
.gcard__row { display: flex; align-items: center; gap: 12px; color: var(--ink-soft); font-size: .97rem; }
.gcard__row svg { width: 18px; height: 18px; color: var(--blue); flex: none; }
.gcard__row strong { color: var(--ink); font-weight: 700; }
.gcard__cta { margin-top: auto; padding: 0 22px 22px; }
.gcard__cta .btn { width: 100%; }
.groups__foot { margin-top: clamp(40px, 5vw, 54px); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.groups__foot p { color: var(--ink-soft); font-size: 1.05rem; max-width: 48ch; }
@media (max-width: 900px){ .groups__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px){ .groups__grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; } }

/* ============================================================
   PRÉDICAS / MENSAJES
   ============================================================ */
.sermons { background: var(--cream-2); }
.sermons__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.scard { background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease); display: flex; flex-direction: column; }
.scard:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.scard__thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy); }
.scard__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.scard:hover .scard__thumb img { transform: scale(1.06); }
.scard__thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,18,40,.55), rgba(10,18,40,0) 55%); }
.scard__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 60px; height: 60px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; z-index: 1; transition: transform .3s var(--ease), background .3s; }
.scard:hover .scard__play { background: #fff; transform: translate(-50%,-50%) scale(1.08); }
.scard__play svg { width: 26px; height: 26px; color: var(--blue); margin-left: 3px; }
.scard__tag { position: absolute; left: 14px; top: 14px; z-index: 1; background: rgba(200,145,47,.95); color: #fff; font-weight: 800; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.scard__body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.scard__date { font-family: var(--sans); font-weight: 800; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.scard h3 { font-size: 1.2rem; }
.scard p { color: var(--ink-soft); font-size: .95rem; }
.sermons__cta { text-align: center; margin-top: clamp(40px, 5vw, 48px); }
@media (max-width: 920px){ .sermons__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px){ .sermons__grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; } }

/* ============================================================
   EVENTOS
   ============================================================ */
.events { background: var(--cream); }
.events__list { display: grid; gap: 18px; max-width: 940px; margin-inline: auto; }
.ecard { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 26px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.ecard:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.edate { width: 92px; text-align: center; background: var(--blue); color: #fff; border-radius: 14px; padding: 14px 8px; }
.edate .d { display: block; font-family: var(--serif); font-size: 2.1rem; line-height: 1; }
.edate .m { display: block; font-family: var(--sans); font-weight: 800; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; margin-top: 5px; }
.einfo h3 { font-size: 1.3rem; margin-bottom: 6px; }
.einfo > p { color: var(--ink-soft); font-size: .97rem; }
.einfo .meta { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 11px; }
.einfo .meta span { display: flex; align-items: center; gap: 7px; font-size: .88rem; font-weight: 700; color: var(--blue); }
.einfo .meta svg { width: 15px; height: 15px; }
.events__foot { margin-top: 32px; text-align: center; }
.events__foot p { color: var(--ink-soft); font-size: 1rem; }
@media (max-width: 720px){
  .ecard { grid-template-columns: auto 1fr; gap: 20px; }
  .ecard__cta { grid-column: 1 / -1; }
  .ecard__cta .btn { width: 100%; }
}
@media (max-width: 440px){
  .ecard { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .einfo .meta { justify-content: center; }
}

/* ============================================================
   OFRENDA / DAR
   ============================================================ */
.give { background: var(--navy); color: #fff; }
.give .section-head h2 { color: #fff; }
.give__verse { text-align: center; max-width: 56ch; margin: 0 auto clamp(40px, 5vw, 56px); font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 2vw, 1.5rem); color: var(--gold-soft); line-height: 1.55; }
.give__verse cite { display: block; margin-top: 14px; font-style: normal; font-family: var(--sans); font-weight: 800; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.give__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 940px; margin-inline: auto; }
.gmethod { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 38px); }
.gmethod__ico { width: 58px; height: 58px; border-radius: 16px; background: var(--blue); display: grid; place-items: center; margin-bottom: 20px; }
.gmethod__ico svg { width: 28px; height: 28px; color: #fff; }
.gmethod h3 { color: #fff; font-size: 1.4rem; margin-bottom: 10px; }
.gmethod > p { color: rgba(255,255,255,.72); font-size: 1rem; margin-bottom: 22px; }
.gbank { display: grid; gap: 2px; }
.gbank__row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.gbank__row:last-child { border-bottom: none; }
.gbank__row .k { color: rgba(255,255,255,.6); font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.gbank__row .v { color: #fff; font-weight: 600; font-family: var(--serif); font-size: 1rem; text-align: right; }
.gmethod__note { margin-top: 20px; font-size: .85rem; color: rgba(255,255,255,.5); font-style: italic; }
.gbox-list { display: grid; gap: 14px; }
.gbox-list li { display: flex; gap: 14px; align-items: flex-start; color: rgba(255,255,255,.82); font-size: 1rem; }
.gbox-list svg { width: 21px; height: 21px; color: var(--gold-soft); flex: none; margin-top: 1px; }
@media (max-width: 820px){ .give__grid { grid-template-columns: 1fr; max-width: 520px; } }
