/* ═══════════════════════════════════════════════════════════════
   IBVJ — styles.css  (página principal)
   ─────────────────────────────────────────────────────────────
   Paleta unificada con anuncios.css:
     Lima        #8DB600   → acento principal, separadores, tags
     Lima hover  #A8CC00
     Teal        #38687E   → fondos oscuros, secciones alternas
     Marino      #23274F   → navbar, doctrina
     Marino dark #1a1e35   → footer, overlays
     Blanco      #FFFFFF
     Gris claro  #F7F8FA
═══════════════════════════════════════════════════════════════ */

:root {
  --lima:       #8DB600;
  --lima-light: #A8CC00;
  --lima-dark:  #6e8e00;
  --primary:    #38687E;
  --navy:       #23274F;
  --navy-dark:  #1a1e35;
  --white:      #ffffff;
  --light:      #F7F8FA;
  --text:       #2c2c2c;
  --text-muted: #666;

  --font-ui:      "Inter", system-ui, sans-serif;
  --font-body:    "Crimson Pro", Georgia, serif;
  --font-heading: "Cinzel", Georgia, serif;
  --font-verse:   "Cormorant Garamond", Georgia, serif;
  --gold:         #B8961E;
  --gold-light:   #D4AE2C;
  --accent:       #93AE3E;
  --orange:       #E07B39;
  --blue:         #3B7DD8;

  --radius:     10px;
  --radius-lg:  18px;
  --shadow-sm:  0 2px 12px rgba(0,0,0,.08);
  --shadow-md:  0 8px 32px rgba(0,0,0,.12);
  --shadow-lg:  0 20px 60px rgba(0,0,0,.18);
  --transition: 0.28s ease;

  --nav-logo-h: 72px;
  --nav-menu-h: 48px;
  --nav-total:  120px;
}

/* ─── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; font-size: 16px; }
body  { font-family: var(--font-body); color: var(--text); line-height: 1.75; background: var(--white); }
body::before, body::after {
  content: '';
  position: fixed;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(141,182,0,.14) 15%,
    rgba(56,104,126,.09) 50%,
    rgba(141,182,0,.14) 85%,
    transparent 100%
  );
  z-index: 9998;
  pointer-events: none;
}
body::before { left: 0; }
body::after  { right: 0; }
img   { max-width: 100%; height: auto; display: block; }
a     { text-decoration: none; color: inherit; }
ul    { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ─── Utilidades ─────────────────────────────────────────── */
.container     { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.text-center   { text-align: center; }
.text-white    { color: var(--white) !important; }
.text-white-70 { color: rgba(255,255,255,.75) !important; }
.mt-1          { margin-top: 1.25rem; }
.mt-2          { margin-top: 2.5rem; }
.section       { padding: 96px 0; }
.section-light { background: var(--light); }
.section-dark-teal {
  background: var(--primary);
  border-top: 2px solid transparent;
  border-image: linear-gradient(90deg, transparent, rgba(141,182,0,.45), transparent) 1;
}
.section-navy  {
  background: var(--navy);
  border-top: 2px solid transparent;
  border-image: linear-gradient(90deg, transparent, rgba(141,182,0,.38), transparent) 1;
}

/* ─── Tipografía ─────────────────────────────────────────── */
h1,h2,h3,h4,h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
}
h1 { font-size: clamp(2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: .4em; }
h3 { font-size: clamp(1rem, 2vw, 1.25rem); }
p  { font-size: 1.05rem; line-height: 1.8; color: var(--text-muted); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
p strong { color: var(--text); }
.lead { font-size: 1.1rem; color: var(--text); font-weight: 500; }

.tag {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--lima);
  margin-bottom: .6rem;
}
.tag-light { color: rgba(255,255,255,.6); }

.separator {
  width: 56px; height: 2px;
  background: linear-gradient(90deg, var(--lima), var(--primary));
  border-radius: 0;
  margin: .8rem 0 2rem;
  box-shadow: 0 4px 0 rgba(141,182,0,0.18);
}
.text-center .separator { margin: .8rem auto 2rem; }
.separator-light   { background: rgba(255,255,255,.5); box-shadow: 0 4px 0 rgba(255,255,255,0.1); }
.separator-accent  { background: var(--lima); box-shadow: 0 4px 0 rgba(141,182,0,0.28); }

.section-subtitle {
  font-size: 1rem;
  max-width: 620px;
  margin: 0 auto 3rem;
  color: var(--text-muted);
}

/* ─── Scroll progress ────────────────────────────────────── */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--lima), var(--lima-light));
  z-index: 2000;
  transition: width .1s linear;
}

/* ─── Botones ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .3px;
  padding: .8rem 1.75rem;
  border-radius: 50px;
  transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--lima);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(141,182,0,.35);
}
.btn-primary:hover { background: var(--lima-dark); box-shadow: 0 6px 28px rgba(141,182,0,.45); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.65);
}
.btn-outline:hover { background: rgba(255,255,255,.12); border-color: var(--white); }

.btn-secondary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(56,104,126,.25);
}
.btn-secondary:hover { background: #2d5568; }

.btn-accent {
  background: var(--lima);
  color: var(--white);
}
.btn-accent:hover { background: var(--lima-dark); }

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  box-shadow: 0 4px 16px rgba(37,211,102,.3);
}
.btn-whatsapp:hover { background: #1ebe5c; }

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.4);
}
.btn-outline-light:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.7); }

.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline-dark:hover { background: var(--primary); color: var(--white); }

.bienvenida-btns { display: flex; flex-wrap: wrap; gap: .75rem; }
.ministerios-btns { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }

.btn-youtube {
  background: #FF0000;
  color: var(--white);
  box-shadow: 0 4px 16px rgba(255,0,0,.3);
}
.btn-youtube:hover { background: #cc0000; }

/* ══════════════════════════════════════════════════════════
   NAVBAR — dos capas
   Capa 1 (logo-bar): logo centrado + nombre de la iglesia
   Capa 2 (menu-bar): links de navegación
══════════════════════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: box-shadow var(--transition);
}
#navbar.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.4); }

/* Capa 1 — Logo */
.nav-logo-bar {
  background: var(--navy-dark);
  height: var(--nav-logo-h);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: height var(--transition), opacity var(--transition);
}
#navbar.scrolled .nav-logo-bar {
  height: 0;
  overflow: hidden;
  opacity: 0;
  border: none;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: .9rem;
}
.nav-logo img {
  width: 54px; height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: none;
  box-shadow:
    0 0 0 2px var(--lima),
    0 0 0 5px rgba(141,182,0,.2),
    0 4px 20px rgba(0,0,0,.45);
  transition: transform var(--transition), box-shadow var(--transition);
}
.nav-logo:hover img {
  transform: scale(1.07);
  box-shadow:
    0 0 0 2px var(--lima-light),
    0 0 0 6px rgba(168,204,0,.32),
    0 6px 28px rgba(141,182,0,.28);
}
.nav-logo-text-block {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  gap: .05rem;
}
.nav-logo-name {
  font-family: var(--font-verse);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: .3px;
  line-height: 1.1;
}
.nav-logo-divider {
  display: block;
  font-size: .4rem;
  color: var(--lima);
  line-height: 1;
  letter-spacing: 4px;
  opacity: 0.65;
}
.nav-logo-sub {
  font-family: var(--font-heading);
  font-size: .63rem;
  font-weight: 700;
  color: var(--lima);
  letter-spacing: 2.8px;
  text-transform: uppercase;
}

/* Capa 2 — Menú */
.nav-menu-bar {
  background: rgba(26,30,53,.97);
  backdrop-filter: blur(12px);
  height: var(--nav-menu-h);
  border-bottom: 2px solid var(--lima);
}
.nav-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-links a {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: rgba(255,255,255,.75);
  padding: .45rem .85rem;
  border-radius: 4px;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); background: rgba(255,255,255,.08); }

.nav-cta {
  background: var(--lima) !important;
  color: var(--white) !important;
  border-radius: 50px !important;
  padding: .38rem 1.1rem !important;
  margin-left: .5rem;
}
.nav-cta:hover { background: var(--lima-dark) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  position: absolute;
  right: 24px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--white);
  padding-top: var(--nav-total);
}
.hero-video-wrapper { position: absolute; inset: 0; }
.hero-video-wrapper video { width: 100%; height: 100%; object-fit: cover; }
.hero-video-fallback {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--primary) 100%);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26,30,53,.55) 0%,
    rgba(35,39,79,.80) 60%,
    rgba(26,30,53,.92) 100%
  );
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 860px;
  animation: heroIn .9s ease both;
}
.hero-pre {
  font-family: var(--font-body);
  font-size: .8rem; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--lima); margin-bottom: .75rem;
}
.hero-title-1 {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 400; letter-spacing: 3px; text-transform: uppercase;
  color: rgba(255,255,255,.85);
}
.hero-title-2 {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 6.5vw, 5rem);
  font-weight: 700; line-height: 1;
  background: linear-gradient(90deg, var(--white) 0%, rgba(168,204,0,.9) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-top: .15em; margin-bottom: .65em;
}
.hero-verse {
  font-family: var(--font-verse);
  font-size: clamp(.9rem, 1.4vw, 1.1rem);
  font-style: italic; color: rgba(255,255,255,.82); line-height: 1.7; margin-bottom: 2.5rem;
}
.hero-verse em {
  display: block; font-style: normal; font-size: .85rem;
  color: var(--lima); margin-top: .4rem;
  font-family: var(--font-body); letter-spacing: .5px; font-weight: 500;
}
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-scroll-hint {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%); z-index: 2;
  color: rgba(255,255,255,.4); font-size: 1.2rem;
  animation: bounce 2s infinite;
}
.hide-mobile { display: inline; }

/* ─── BIENVENIDA ─────────────────────────────────────────── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.two-col--reverse { direction: rtl; }
.two-col--reverse > * { direction: ltr; }
.col-image img { width: 100%; height: 500px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

/* ─── HORARIOS ───────────────────────────────────────────── */
.horarios-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 1.25rem; margin: 2.5rem 0 2rem;
}
.horario-card {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-lg); padding: 2rem 1.25rem;
  text-align: center; backdrop-filter: blur(8px);
  transition: transform var(--transition), background var(--transition);
}
.horario-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.16); }
.horario-card--featured {
  background: linear-gradient(135deg, rgba(141,182,0,.22), rgba(56,104,126,.15));
  border-color: rgba(141,182,0,.6);
  transform: scale(1.05);
  box-shadow: 0 0 0 1px rgba(141,182,0,.22), 0 12px 40px rgba(141,182,0,.18);
}
.horario-card--featured:hover { transform: scale(1.05) translateY(-4px); }
.horario-icon  { font-size: 1.7rem; color: var(--lima); margin-bottom: 1rem; }
.horario-dia   { font-weight: 700; font-size: .72rem; text-transform: uppercase; letter-spacing: 2px; color: rgba(255,255,255,.6); margin-bottom: .25rem; }
.horario-nombre { font-size: .9rem; color: rgba(255,255,255,.85); margin-bottom: .75rem; }
.horario-hora  { font-family: var(--font-heading); font-weight: 700; font-size: 1.7rem; color: var(--white); line-height: 1; }
.horarios-grid--2 { grid-template-columns: repeat(2,1fr); max-width: 520px; margin-left: auto; margin-right: auto; }
.horarios-oracion-cta-text { max-width: 560px; margin: 1rem auto .5rem; font-size: .95rem; }
.btn-oracion-cta {
  display: inline-flex; align-items: center; gap: 1rem;
  padding: 1.1rem 1.75rem; border-radius: 18px;
  background: linear-gradient(135deg, var(--lima), var(--lima-dark));
  color: var(--white); text-align: left;
  box-shadow: 0 10px 32px rgba(141,182,0,.35);
  transition: transform var(--transition), box-shadow var(--transition);
}
.btn-oracion-cta:hover { transform: translateY(-3px); box-shadow: 0 16px 44px rgba(141,182,0,.5); }
.btn-oracion-cta-icon {
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,.2); font-size: 1.4rem; flex-shrink: 0;
}
.btn-oracion-cta-text { display: flex; flex-direction: column; line-height: 1.3; }
.btn-oracion-cta-text strong { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700; }
.btn-oracion-cta-text small { font-size: .78rem; color: rgba(255,255,255,.85); margin-top: .15rem; }
.btn-oracion-cta-arrow { font-size: 1rem; margin-left: .5rem; transition: transform var(--transition); }
.btn-oracion-cta:hover .btn-oracion-cta-arrow { transform: translateX(4px); }
.horarios-note { color: rgba(255,255,255,.55); font-size: .88rem; margin-top: 1.5rem; }
.horarios-note a { color: var(--lima); font-weight: 600; }
.horarios-note a:hover { text-decoration: underline; }

/* ─── PASTOR ─────────────────────────────────────────────── */
.pastor-layout { display: grid; grid-template-columns: 260px 1fr; gap: 5rem; align-items: start; margin-top: 3rem; }
.pastor-foto-wrapper { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.pastor-foto {
  width: 220px; height: 220px; border-radius: 50%;
  object-fit: cover; object-position: top;
  border: 5px solid var(--lima); box-shadow: 0 8px 40px rgba(141,182,0,.3);
}
.pastor-badge {
  background: var(--navy); color: rgba(255,255,255,.8);
  font-size: .75rem; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; padding: .4rem 1rem;
  border-radius: 50px; border: 1px solid rgba(255,255,255,.1);
}
.pastor-texto blockquote {
  border-left: 4px solid var(--lima);
  padding-left: 1.5rem;
  margin: 0 0 1.5rem;
  position: relative;
}
.pastor-texto blockquote::before {
  content: '\201C';
  font-family: var(--font-verse);
  font-size: 7rem;
  line-height: 0.75;
  position: absolute;
  top: 0.5rem;
  left: -2.2rem;
  color: var(--lima);
  opacity: 0.14;
  pointer-events: none;
  user-select: none;
}
.pastor-texto blockquote p { font-family: var(--font-verse); font-size: 1.05rem; font-style: italic; color: #444; margin-bottom: .85rem; }
.pastor-firma { display: flex; flex-direction: column; margin-top: 1.5rem; }
.pastor-firma strong { font-family: var(--font-heading); font-size: 1rem; color: var(--navy); }
.pastor-firma span { font-size: .88rem; color: var(--primary); }

/* ─── MINISTERIOS ────────────────────────────────────────── */
.ministerios-grid {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 1rem; padding: 2.5rem 24px;
  max-width: 1140px; margin: 0 auto;
}
.ministerio-card {
  flex: 0 0 calc((100% - 4rem) / 5);
  position: relative; border-radius: var(--radius-lg);
  overflow: hidden; height: 340px; cursor: pointer;
  background: #1a1e35;
  transition: transform var(--transition), box-shadow var(--transition);
}
.ministerio-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.ministerio-card img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s ease; }
.ministerio-card:hover img { transform: scale(1.07); }
.ministerio-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,30,53,.92) 0%, rgba(26,30,53,.15) 55%, transparent 100%);
}
.ministerio-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.5rem 1.25rem; color: var(--white); }
.ministerio-icon { display: block; font-size: 1.2rem; color: var(--lima); margin-bottom: .5rem; }
.ministerio-info h3 { font-family: var(--font-heading); color: var(--white); font-size: 1.1rem; margin-bottom: .3rem; }
.ministerio-info p { font-size: .83rem; color: rgba(255,255,255,.72); margin: 0; line-height: 1.45; opacity: 0; max-height: 0; transition: opacity var(--transition), max-height var(--transition); }
.ministerio-card:hover .ministerio-info p { opacity: 1; max-height: 60px; }

/* ─── SANA DOCTRINA ──────────────────────────────────────── */
.doctrina-verse {
  font-family: var(--font-verse); font-size: 1.25rem; font-style: italic;
  color: rgba(255,255,255,.85); max-width: 600px; margin: 0 auto 1.5rem; line-height: 1.6;
}
.doctrina-verse cite {
  display: block; font-size: .82rem; color: var(--lima);
  font-style: normal; margin-top: .5rem; font-weight: 600; font-family: var(--font-body);
}
.doctrina-galeria { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; margin: 3rem 0; }
.doctrina-galeria figure { flex: 0 0 auto; width: 200px; text-align: center; }
.doctrina-galeria img { width: 100%; height: 280px; object-fit: cover; object-position: top; border-radius: var(--radius); filter: sepia(15%) brightness(.9); transition: filter var(--transition), transform var(--transition); }
.doctrina-galeria figure:hover img { filter: sepia(0%) brightness(1); transform: scale(1.02); }
.doctrina-galeria figcaption { font-family: var(--font-verse); font-size: .82rem; color: rgba(255,255,255,.45); margin-top: .75rem; line-height: 1.4; font-style: italic; }
.doctrina-biblia { width: 460px; max-width: 90vw; }
.doctrina-biblia-visual {
  width: 100%; height: 420px; border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(141,182,0,.24), rgba(255,255,255,.05));
  border: 2px solid rgba(141,182,0,.55);
  box-shadow: 0 0 0 1px rgba(141,182,0,.2), 0 20px 60px rgba(141,182,0,.28);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.doctrina-biblia-visual i {
  font-size: 10rem; color: var(--lima);
  filter: drop-shadow(0 8px 24px rgba(141,182,0,.5));
}
.doctrina-biblia:hover .doctrina-biblia-visual {
  transform: scale(1.04); border-color: rgba(141,182,0,.85);
  box-shadow: 0 0 0 1px rgba(141,182,0,.3), 0 26px 70px rgba(141,182,0,.4);
}
.doctrina-biblia figcaption { font-style: italic; font-size: 1rem; margin-top: 1.1rem; }

/* ─── MISIONES ───────────────────────────────────────────── */
.misiones-images { position: relative; height: 460px; }
.misiones-illustration { width: 90%; position: absolute; top: 0; left: 0; border-radius: var(--radius); box-shadow: var(--shadow-md); z-index: 1; }
.misiones-foto { width: 60%; position: absolute; bottom: 0; right: 0; border-radius: var(--radius); box-shadow: var(--shadow-lg); z-index: 2; border: 4px solid var(--white); height: 240px; object-fit: cover; }
.misiones-list { list-style: none; margin: 1.25rem 0; }
.misiones-list li { display: flex; align-items: center; gap: .75rem; padding: .6rem 0; font-size: .95rem; color: var(--text); border-bottom: 1px solid rgba(0,0,0,.06); }
.misiones-list li:last-child { border: none; }
.misiones-list .fa-check-circle { color: var(--lima); font-size: 1.05rem; flex-shrink: 0; }

/* ══════════════════════════════════════════════════════════
   VIDEOS — Featured player landscape + grid de tarjetas
══════════════════════════════════════════════════════════ */
.video-featured {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 0;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(141,182,0,.2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 3rem;
  box-shadow:
    0 8px 40px rgba(0,0,0,.4),
    0 0 0 1px rgba(255,255,255,.04),
    inset 0 1px 0 rgba(141,182,0,.15);
  position: relative;
}
.video-featured-player {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  background: #000;
}
.video-featured-player iframe {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none;
}
.video-featured-info {
  display: flex; flex-direction: column;
  justify-content: center; gap: 1.25rem;
  padding: 2rem;
  background: linear-gradient(170deg, rgba(35,39,79,.75) 0%, rgba(26,30,53,.92) 100%);
  border-left: 1px solid rgba(141,182,0,.18);
  position: relative;
}
.video-featured-info::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--lima), transparent);
  opacity: 0.6;
}
.video-featured-label {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-ui);
  font-size: .68rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--lima);
  background: rgba(141,182,0,.1);
  border: 1px solid rgba(141,182,0,.28);
  padding: .35rem 1rem; border-radius: 50px; width: fit-content;
}
.video-featured-label .pulse-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--lima);
  animation: pulse-dot 2.2s ease infinite;
  flex-shrink: 0;
}
.video-featured-info h3 {
  font-family: var(--font-verse);
  font-size: 1.12rem;
  font-style: italic;
  color: var(--white);
  line-height: 1.5;
}
.video-featured-info p { font-size: .88rem; color: rgba(255,255,255,.4); margin: 0; }
.btn-yt-channel {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-ui);
  background: linear-gradient(135deg, var(--lima), var(--accent));
  color: var(--white);
  font-size: .8rem; font-weight: 700;
  letter-spacing: .3px;
  padding: .65rem 1.35rem; border-radius: 50px; width: fit-content;
  box-shadow: 0 4px 20px rgba(141,182,0,.35);
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
}
.btn-yt-channel:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(141,182,0,.45);
  opacity: .92;
}

/* Grid de tarjetas */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.video-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform .32s ease, box-shadow .32s ease, border-color .32s ease;
}
.video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 48px rgba(0,0,0,.45);
  border-color: rgba(141,182,0,.4);
}
.video-card.active-video {
  border-color: var(--lima);
  box-shadow: 0 0 0 1px var(--lima), 0 8px 32px rgba(141,182,0,.2);
}

.video-thumb {
  position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; background: #111;
}
.video-thumb img {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform .4s ease, filter .4s ease; filter: brightness(.82);
}
.video-card:hover .video-thumb img { transform: scale(1.08); filter: brightness(1.05); }

.video-play-btn {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(to top, rgba(0,0,0,.6) 0%, rgba(0,0,0,.15) 55%, transparent 100%);
  transition: background var(--transition);
}
.video-play-btn i {
  font-size: 2.2rem; color: rgba(255,255,255,.9);
  filter: drop-shadow(0 2px 12px rgba(0,0,0,.7));
  transition: transform var(--transition), color var(--transition), filter var(--transition);
}
.video-card:hover .video-play-btn {
  background: linear-gradient(to top, rgba(0,0,0,.4) 0%, rgba(0,0,0,.05) 55%, transparent 100%);
}
.video-card:hover .video-play-btn i {
  transform: scale(1.25);
  color: var(--lima);
  filter: drop-shadow(0 0 12px rgba(141,182,0,.6));
}
.video-card.active-video .video-play-btn i {
  color: var(--lima);
  filter: drop-shadow(0 0 10px rgba(141,182,0,.5));
}

.video-info { padding: .85rem 1rem .9rem; border-top: 1px solid rgba(255,255,255,.05); }
.video-info p {
  font-family: var(--font-body);
  font-size: .92rem; color: rgba(255,255,255,.68); line-height: 1.45; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.video-card:hover .video-info p { color: rgba(255,255,255,.95); }
.video-card.active-video .video-info p { color: var(--lima); }

.video-extra { display: none; }
.video-extra.visible { display: block; }

.videos-actions {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: .5rem;
}

/* ─── FOOTER ─────────────────────────────────────────────── */
footer { background: var(--navy-dark); color: rgba(255,255,255,.75); }
.footer-top { padding: 72px 0; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1.4fr; gap: 3.5rem; align-items: start; }
.footer-logo { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.footer-logo img {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: none;
  box-shadow:
    0 0 0 2px var(--lima),
    0 0 0 4px rgba(141,182,0,.2),
    0 4px 16px rgba(0,0,0,.4);
}
.footer-logo span { font-family: var(--font-heading); font-weight: 700; font-size: .95rem; color: var(--white); line-height: 1.3; }
.footer-bio { font-size: .88rem; line-height: 1.7; color: rgba(255,255,255,.5); margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: .6rem; flex-wrap: wrap; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.65); font-size: .9rem;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.footer-social a:hover { background: var(--lima); color: var(--white); border-color: var(--lima); }
.footer-social-links { list-style: none; margin: 1.25rem 0 0; padding: 0; display: flex; flex-direction: column; gap: .6rem; }
.footer-social-links a {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .85rem; color: rgba(255,255,255,.6);
  transition: color var(--transition);
  word-break: break-word;
}
.footer-social-links a i { width: 18px; text-align: center; color: var(--lima); font-size: .95rem; }
.footer-social-links a:hover { color: var(--white); }
.footer-col h4 { font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--white); margin-bottom: 1.25rem; }
.footer-list li { padding: .6rem 0; border-bottom: 1px solid rgba(255,255,255,.06); display: flex; flex-direction: column; gap: .2rem; }
.footer-list li:last-child { border: none; }
.footer-list strong { color: rgba(255,255,255,.82); font-size: .9rem; }
.footer-list span { font-size: .82rem; color: rgba(255,255,255,.45); }
.footer-contact-list li { display: flex; align-items: flex-start; gap: .75rem; padding: .6rem 0; font-size: .88rem; }
.footer-contact-list i { color: var(--lima); margin-top: .2rem; flex-shrink: 0; width: 16px; }
.footer-contact-list a { color: rgba(255,255,255,.65); transition: color var(--transition); }
.footer-contact-list a:hover { color: var(--lima); }
.footer-bottom { padding: 1.5rem 0; border-top: 1px solid rgba(255,255,255,.07); text-align: center; }
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.3); margin: 0; }
.footer-verse-small { font-style: italic; margin-top: .3rem !important; font-family: var(--font-verse); }

/* ─── WhatsApp flotante ──────────────────────────────────── */
.whatsapp-float {
  position: fixed; bottom: 1.75rem; right: 1.75rem; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: var(--white); font-size: 1.6rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.5);
  transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(37,211,102,.6); }

/* ─── Animaciones ────────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes heroIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .45; transform: scale(.75); }
}

/* ─── Grain texture overlay ──────────────────────────────── */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.78' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  opacity: 0.055;
  mix-blend-mode: overlay;
}

/* ─── Hero glow ───────────────────────────────────────────── */
.hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 55% 75% at 50% 50%,
    rgba(168,204,0,0.08) 0%,
    rgba(56,104,126,0.05) 45%,
    transparent 70%
  );
  z-index: 1;
  pointer-events: none;
}

/* ─── Verse strip ─────────────────────────────────────────── */
.verse-strip {
  background: var(--navy);
  padding: 80px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.verse-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 120% at 50% 50%, rgba(141,182,0,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.verse-strip::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(141,182,0,.35), transparent);
}
.verse-strip + section {
  border-top: 1px solid rgba(255,255,255,.06);
}
.verse-strip-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}
.verse-strip-ornament {
  display: block;
  font-family: var(--font-verse);
  font-size: 1.2rem;
  color: var(--lima);
  letter-spacing: 18px;
  margin-bottom: 2rem;
  opacity: 0.7;
}
.verse-strip-text {
  font-family: var(--font-verse);
  font-size: clamp(1.2rem, 2.8vw, 1.85rem);
  font-style: italic;
  color: rgba(255,255,255,0.88);
  line-height: 1.65;
  margin: 0 auto 1.5rem;
}
.verse-strip-ref {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 600;
  color: var(--lima);
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

/* ─── Doctrina — cross watermark ──────────────────────────── */
#doctrina {
  position: relative;
  overflow: hidden;
}
#doctrina::before {
  content: '✝';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 520px;
  line-height: 1;
  color: rgba(255,255,255,0.013);
  pointer-events: none;
  user-select: none;
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  :root { --nav-total: 108px; }
  .horarios-grid    { grid-template-columns: repeat(2,1fr); }
  .ministerio-card  { flex-basis: calc((100% - 2rem) / 3); height: 280px; }
  .two-col          { gap: 3rem; }
  .pastor-layout    { grid-template-columns: 200px 1fr; gap: 3rem; }
  .footer-grid      { grid-template-columns: 1fr 1fr; }
  .footer-grid > :last-child { grid-column: span 2; }
  .videos-grid      { grid-template-columns: repeat(3,1fr); }
  .video-featured   { grid-template-columns: 1fr; }
  .video-featured-info { padding: 1.5rem; }
}

@media (max-width: 768px) {
  body::before, body::after { display: none; }
  :root { --nav-logo-h: 54px; --nav-menu-h: 44px; --nav-total: 98px; }
  .hamburger { display: flex; }
  .nav-logo-name { font-size: .9rem; }
  .nav-logo img  { width: 36px; height: 36px; }

  .nav-links {
    position: fixed;
    top: var(--nav-total); left: 0; right: 0;
    background: rgba(26,30,53,.98); backdrop-filter: blur(14px);
    flex-direction: column; padding: 1rem 1.5rem 1.5rem; gap: .1rem;
    border-top: 1px solid rgba(141,182,0,.3);
    transform: translateY(-110%); opacity: 0;
    transition: transform var(--transition), opacity var(--transition);
    pointer-events: none;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: all; }
  .nav-links a { padding: .7rem 1rem; font-size: .88rem; width: 100%; }
  .nav-container { justify-content: flex-end; }

  .section { padding: 64px 0; }
  .verse-strip { padding: 56px 20px; }
  .verse-strip-ornament { letter-spacing: 10px; }
  .two-col, .two-col--reverse { grid-template-columns: 1fr; direction: ltr; gap: 2rem; }
  .two-col--reverse .col-image { order: -1; }
  .col-image img { height: 280px; }
  .pastor-layout { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .pastor-foto-wrapper { align-items: center; }
  .pastor-texto blockquote { border-left: none; padding-left: 0; border-top: 3px solid var(--lima); padding-top: 1rem; }
  .ministerios-grid { padding: 2rem 16px; }
  .ministerio-card { flex-basis: calc((100% - 1rem) / 2); height: 240px; }
  .ministerio-info p { display: none; }
  .horarios-grid { grid-template-columns: repeat(2,1fr); }
  .horario-card--featured { transform: none; }
  .doctrina-galeria figure { width: 150px; }
  .doctrina-galeria img { height: 200px; }
  .misiones-images { height: auto; display: flex; flex-direction: column; gap: 1rem; }
  .misiones-illustration, .misiones-foto { position: static; width: 100%; height: auto; border: none; }
  .videos-grid { grid-template-columns: repeat(2,1fr); gap: .75rem; }
  .video-featured { grid-template-columns: 1fr; }
  .video-featured-info { padding: 1.25rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid > :last-child { grid-column: auto; }
  .hide-mobile { display: none; }
  .hero-buttons { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .ministerios-grid { gap: .75rem; }
  .ministerio-card  { flex-basis: calc((100% - .75rem) / 2); }
  .horarios-grid    { grid-template-columns: 1fr; max-width: 300px; margin-left: auto; margin-right: auto; }
  .videos-grid      { grid-template-columns: repeat(2,1fr); gap: .6rem; }
}
