/* =====================================================
   IGLESIA CRISTIANA EL FARO — Dark Modern Theme
   ===================================================== */

:root {
  --bg:          #080c14;
  --bg-card:     #0e1624;
  --bg-section:  #0b1120;
  --bg-elevated: #111c30;
  --primary:     #1a6eff;
  --primary-h:   #3d84ff;
  --accent:      #00d4ff;
  --gold:        #f5b800;
  --white:       #ffffff;
  --text:        #e2e8f0;
  --text-muted:  #64748b;
  --text-dim:    #94a3b8;
  --border:      rgba(255,255,255,0.07);
  --border-h:    rgba(255,255,255,0.14);
  --radius:      14px;
  --radius-sm:   8px;
  --shadow:      0 4px 32px rgba(0,0,0,0.5);
  --shadow-blue: 0 8px 32px rgba(26,110,255,0.3);
  --transition:  0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* Quitar highlight azul en mobile y animación de pulsado */
* { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
button:not(:focus-visible), a:not(:focus-visible), input:not(:focus-visible), select:not(:focus-visible) { outline: none; }

/* Efecto de interacción estilo Spotify: ligero crecimiento al pasar el cursor
   y una "presión" al pulsar/tocar, aplicado vía JS (clase .pressed) para
   funcionar igual en móvil y escritorio sin pelear con otros transforms. */
.btn-primary, .btn-outline, .radio-btn, .radio-banner-btn,
.radio-banner-close, .filter-btn, .share-option, .lang-option,
.social-btn, .btn-youtube-live, .interactive-verse,
.favorites-list li, .gallery-item, .radio-mini-tab {
  transition: transform 0.18s cubic-bezier(0.4,0,0.2,1), filter 0.18s ease, box-shadow 0.18s ease;
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover, .btn-outline:hover, .filter-btn:hover,
  .share-option:hover, .lang-option:hover, .social-btn:hover,
  .btn-youtube-live:hover, .radio-banner-btn:hover, .interactive-verse:hover {
    transform: scale(1.035);
  }
}

.btn-primary.pressed, .btn-outline.pressed,
.radio-btn.pressed, .radio-banner-btn.pressed,
.radio-banner-close.pressed, .filter-btn.pressed,
.share-option.pressed, .lang-option.pressed,
.social-btn.pressed, .btn-youtube-live.pressed,
.interactive-verse.pressed, .favorites-list li.pressed,
.gallery-item.pressed {
  transform: scale(0.95) !important;
  filter: brightness(0.96);
  transition: transform 0.08s cubic-bezier(0.4,0,0.2,1), filter 0.08s ease;
}

.radio-mini-tab.pressed {
  transform: translateX(-50%) translateY(0) scale(0.92) !important;
}

body {
  font-family: 'Open Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; color: var(--white); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =====================================================
   NAVBAR
   ===================================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1200;
  background: rgba(8,12,20,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo { display: flex; align-items: center; gap: 12px; cursor: pointer; }

.logo-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary), #0040cc);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 18px;
  flex-shrink: 0;
}

.logo-img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

.logo-text { display: flex; flex-direction: column; line-height: 1.1; }

.logo-iglesia {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.logo-faro {
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 1px;
}

.nav-links { display: flex; list-style: none; gap: 2px; }

.nav-link {
  display: block;
  padding: 8px 14px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  letter-spacing: 0.3px;
  cursor: pointer;
}

.nav-link:hover { color: var(--white); background: var(--border); }
.nav-link.active { color: var(--accent); background: rgba(0,212,255,0.08); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* =====================================================
   SECTIONS
   ===================================================== */
.page-section { display: none; padding-top: 70px; }
.page-section.active { display: block; }

/* =====================================================
   BUTTONS
   ===================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: linear-gradient(135deg, var(--primary), #0051d4);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.3px;
  box-shadow: var(--shadow-blue);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(26,110,255,0.45); background: linear-gradient(135deg, var(--primary-h), var(--primary)); }
.btn-primary.small { padding: 9px 18px; font-size: 13px; }
.btn-primary.full  { width: 100%; justify-content: center; }

.btn-radio {
  background: var(--accent);
  color: #000;
  box-shadow: 0 8px 32px rgba(0, 212, 255, 0.3);
}
.btn-radio:hover {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 12px 40px rgba(26, 110, 255, 0.45);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: transparent;
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-outline:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.5); }

/* Eventos: tono "H" — azul cielo claramente más claro que G, rgba para glassmorphism */
.btn-eventos {
  background: linear-gradient(135deg, rgba(55,155,245,0.88), rgba(100,210,255,0.88));
  box-shadow: 0 8px 32px rgba(55,155,245,0.42);
  color: #fff;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(100,210,255,0.38);
}
.btn-eventos:hover {
  background: linear-gradient(135deg, rgba(70,170,255,0.96), rgba(115,225,255,0.96));
  box-shadow: 0 12px 40px rgba(55,155,245,0.58);
  color: #fff;
}

/* Biblia: tono "M" — azul bebé/polvo MUY claro, rgba muy alto para mantener la luminosidad */
.btn-biblia {
  background: linear-gradient(135deg, rgba(148,232,255,0.90), rgba(200,250,255,0.90));
  box-shadow: 0 8px 32px rgba(148,232,255,0.40);
  color: #0a2035;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(200,250,255,0.50);
}
.btn-biblia:hover {
  background: linear-gradient(135deg, rgba(165,240,255,0.97), rgba(215,255,255,0.97));
  box-shadow: 0 12px 40px rgba(148,232,255,0.58);
  color: #0a2035;
}

/* ── Language dropdown ─────────────────────────────── */
.lang-dropdown {
  position: relative;
  margin-left: 12px;
  flex-shrink: 0;
}

.lang-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 10px;
  color: var(--text);
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: var(--transition);
  white-space: nowrap;
}
.lang-trigger:hover { background: rgba(255,255,255,0.11); border-color: var(--border-h); }

.lang-chevron {
  font-size: 9px;
  color: var(--text-muted);
  transition: transform 0.22s ease;
}

.lang-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #0e1624;
  border: 1px solid var(--border-h);
  border-radius: 10px;
  overflow: hidden;
  min-width: 140px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  z-index: 2000;
}
.lang-menu.open { display: block; }

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  background: none;
  border: none;
  border-bottom: 1px solid var(--border);
  color: var(--text-dim);
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.18s;
  text-align: left;
}
.lang-option:last-child { border-bottom: none; }
.lang-option:hover { background: rgba(255,255,255,0.06); color: var(--white); }
.lang-option.active { color: var(--accent); }

.lang-flag { font-size: 16px; line-height: 1; }

/* =====================================================
   SECTION HELPERS
   ===================================================== */
.section-tag {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.section-tag.light { color: var(--gold); }

.section-header { margin-bottom: 48px; }
.section-header.center { text-align: center; }
.section-header h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; margin-bottom: 14px; }
.section-header p { font-size: 16px; color: var(--text-dim); max-width: 540px; }
.section-header.center p { margin: 0 auto; }

.section-body { padding: 80px 24px; }

/* =====================================================
   PAGE HERO BANNERS
   ===================================================== */
.page-hero {
  position: relative;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8,12,20,0.88), rgba(26,110,255,0.3));
}

.page-hero-content {
  position: relative;
  text-align: center;
  color: var(--white);
}

.page-hero-content h1 { font-size: clamp(36px, 6vw, 60px); font-weight: 900; margin-bottom: 10px; }
.page-hero-content p  { font-size: 17px; color: rgba(255,255,255,0.75); }

.cultos-hero   { background-image: url('../images/FB_IMG_1780769327417.jpg'); background-position: center 30%; }
.eventos-hero  { background-image: url('../images/FB_IMG_1780769316084.jpg'); background-position: center 40%; }
.biblia-hero   { background-image: url('../images/FB_IMG_1780769292538.jpg'); background-position: center 20%; }
.contacto-hero { background-image: url('../images/FB_IMG_1780769279223.jpg'); background-position: center 15%; }

/* =====================================================
   HERO (INICIO)
   ===================================================== */
.hero {
  position: relative;
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(26,110,255,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(0,212,255,0.08) 0%, transparent 60%);
}

/* Grid lines background */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(8,12,20,0.4), var(--bg));
  z-index: 1;
}

.hero-particles { position: absolute; inset: 0; overflow: hidden; z-index: 1; }

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  max-width: 820px;
  padding: 0 24px;
}

.hero-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 5px;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero-center-logo {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 24px auto;
  display: block;
  mix-blend-mode: screen;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
}

.hero-title {
  font-size: clamp(44px, 8vw, 92px);
  font-weight: 900;
  line-height: 1.04;
  margin-bottom: 22px;
  text-shadow: 0 2px 40px rgba(0,0,0,0.5);
}

.hero-title span {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-verse {
  font-size: 16px;
  color: var(--text-dim);
  margin-bottom: 44px;
  font-style: italic;
}

.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Ver Anuncios: azul intenso */
.hero-buttons .btn-primary {
  background: linear-gradient(135deg, rgba(10,90,230,0.78), rgba(79,143,245,0.78));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(79,143,245,0.4);
  box-shadow: 0 8px 32px rgba(10,90,230,0.45);
}
.hero-buttons .btn-primary:hover {
  box-shadow: 0 12px 40px rgba(10,90,230,0.6);
}
/* Eventos: transición azul a turquesa */
.hero-buttons .btn-eventos {
  background: linear-gradient(135deg, rgba(79,143,245,0.78), rgba(0,212,255,0.78));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.45);
  border: 1px solid rgba(0,212,255,0.4);
  box-shadow: 0 8px 32px rgba(79,143,245,0.4);
}
.hero-buttons .btn-eventos:hover {
  color: #fff;
  box-shadow: 0 12px 40px rgba(79,143,245,0.55);
}
/* Biblia: blanco con un toque de menta */
.hero-buttons .btn-biblia {
  background: linear-gradient(135deg, rgba(255,255,255,0.77), rgba(224,255,250,0.77));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  filter: brightness(1.12);
  color: #0a2035;
  border: 1px solid rgba(214,251,242,0.5);
  box-shadow: 0 8px 32px rgba(180,240,230,0.35);
}
.hero-buttons .btn-biblia:hover {
  color: #0a2035;
  box-shadow: 0 12px 40px rgba(180,240,230,0.5);
}
/* Radio: turquesa */
.hero-buttons .btn-radio {
  background: linear-gradient(135deg, rgba(0,212,255,0.78) 0%, rgba(0,212,255,0.78) 50%, rgba(255,255,255,0.78) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.45);
  border: 1px solid rgba(0,212,255,0.45);
  box-shadow: 0 8px 32px rgba(0,212,255,0.4);
}
.hero-buttons .btn-radio:hover {
  color: #fff;
  box-shadow: 0 12px 40px rgba(0,212,255,0.55);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  animation: bounce 2s infinite;
  font-size: 18px;
  z-index: 2;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(26,110,255,0.15);
  animation: float linear infinite;
}

@keyframes float {
  0%   { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}

/* =====================================================
   WELCOME SECTION
   ===================================================== */
.welcome-section {
  background: var(--bg-section);
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.welcome-grid h2 {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  margin-bottom: 18px;
  line-height: 1.2;
}

.welcome-grid h2 span {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.welcome-grid p { font-size: 16px; color: var(--text-dim); line-height: 1.8; margin-bottom: 16px; }

.welcome-image { position: relative; padding-bottom: 24px; }

.image-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.image-frame img { width: 100%; height: 420px; object-fit: cover; }

.image-badge {
  position: absolute;
  bottom: 0;
  right: 16px;
  background: linear-gradient(135deg, var(--primary), #0040cc);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius);
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-blue);
}

/* =====================================================
   PASTORS SECTION
   ===================================================== */
.pastors-section {
  background: var(--bg-card);
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.pastors-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.pastor-content h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; margin-bottom: 16px; line-height: 1.2; }
.pastor-content p  { font-size: 16px; color: var(--text-dim); line-height: 1.8; margin-bottom: 24px; }

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.social-btn.youtube { background: #ff0000; color: #fff; }
.social-btn.youtube:hover { background: #cc0000; transform: translateY(-2px); }

.image-frame-pastor {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.image-frame-pastor img { width: 100%; height: 460px; object-fit: cover; object-position: top; }

.pastor-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.pastor-duo .image-frame-pastor img { height: 340px; }

/* =====================================================
   VALUES SECTION
   ===================================================== */
.values-section {
  background: var(--bg);
  padding: 100px 0;
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.values-section::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(26,110,255,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.values-section .section-tag { color: var(--accent); }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: var(--transition);
}

.value-card:hover { border-color: var(--border-h); transform: translateY(-4px); }
.value-card:hover::before { opacity: 1; }

.value-icon {
  width: 60px; height: 60px;
  background: rgba(26,110,255,0.12);
  border: 1px solid rgba(26,110,255,0.2);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 24px;
  color: var(--accent);
}

.value-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.value-card p  { font-size: 15px; color: var(--text-dim); line-height: 1.7; }

/* =====================================================
   DAILY VERSE
   ===================================================== */
.daily-verse-section {
  background: var(--bg-section);
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

.daily-verse-card {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 60px 48px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.daily-verse-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.daily-verse-card::after {
  content: '"';
  position: absolute;
  top: -10px; left: 20px;
  font-size: 160px;
  font-family: Georgia, serif;
  color: rgba(26,110,255,0.05);
  line-height: 1;
  pointer-events: none;
}

.verse-icon { font-size: 30px; color: var(--accent); margin-bottom: 14px; }

.verse-tag {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 24px;
  display: block;
}

.verse-text {
  font-size: clamp(17px, 2.5vw, 22px);
  font-style: italic;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 16px;
  position: relative;
}

.verse-ref {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
}

/* =====================================================
   SOCIAL SECTION
   ===================================================== */
.social-section {
  background: var(--bg);
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

.social-section h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; margin-bottom: 12px; }
.social-section .section-header p { font-size: 16px; color: var(--text-dim); margin-bottom: 48px; }

.social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 44px 28px;
  border-radius: var(--radius);
  color: var(--white);
  cursor: pointer;
  transition: var(--transition);
  gap: 10px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.social-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.9;
  transition: var(--transition);
}

.social-card:hover { transform: translateY(-6px); }
.social-card:hover::before { opacity: 1; }
.social-card > * { position: relative; z-index: 1; }
.social-card > i { font-size: 36px; }
.social-card h3 { font-size: 20px; font-weight: 700; }
.social-card p  { font-size: 14px; opacity: 0.8; }
.social-card span { font-size: 13px; font-weight: 700; font-family: 'Montserrat', sans-serif; }

.social-card.facebook::before { background: linear-gradient(135deg, #1877f2, #0d5bb3); }
.social-card.instagram::before { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); }
.social-card.youtube::before   { background: linear-gradient(135deg, #ff0000, #cc0000); }

/* =====================================================
   CULTOS — Schedule
   ===================================================== */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}

.schedule-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.schedule-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.schedule-card:hover { border-color: var(--border-h); transform: translateY(-4px); box-shadow: var(--shadow); }

.schedule-card.featured {
  background: linear-gradient(135deg, rgba(26,110,255,0.15), rgba(0,212,255,0.08));
  border-color: rgba(26,110,255,0.3);
}

.schedule-card.featured::before { background: linear-gradient(90deg, var(--gold), #e65100); }

.schedule-card.featured-alt {
  background: linear-gradient(135deg, rgba(0,212,255,0.08), rgba(26,110,255,0.1));
  border-color: rgba(0,212,255,0.2);
}

.schedule-day {
  display: inline-block;
  padding: 3px 12px;
  background: rgba(26,110,255,0.12);
  color: var(--accent);
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  border-radius: 50px;
  margin-bottom: 16px;
  border: 1px solid rgba(26,110,255,0.2);
}

.schedule-card.featured .schedule-day { background: rgba(245,184,0,0.12); color: var(--gold); border-color: rgba(245,184,0,0.2); }
.schedule-card.featured-alt .schedule-day { background: rgba(0,212,255,0.1); color: var(--accent); }

.schedule-icon {
  width: 48px; height: 48px;
  background: rgba(26,110,255,0.1);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  color: var(--primary);
  margin-bottom: 14px;
  border: 1px solid rgba(26,110,255,0.15);
}

.schedule-card.featured .schedule-icon { color: var(--gold); background: rgba(245,184,0,0.1); border-color: rgba(245,184,0,0.15); }

.schedule-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.schedule-card p  { font-size: 14px; color: var(--text-dim); line-height: 1.7; margin-bottom: 12px; }

.schedule-time {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}

.schedule-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(245,184,0,0.12);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  border: 1px solid rgba(245,184,0,0.2);
}

/* =====================================================
   WORSHIP GALLERY
   ===================================================== */
.worship-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 220px 220px;
  gap: 10px;
  margin-bottom: 72px;
  border-radius: var(--radius);
  overflow: hidden;
}

.gallery-item { position: relative; overflow: hidden; cursor: pointer; }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  filter: brightness(0.85);
}

.gallery-item:hover img { transform: scale(1.06); filter: brightness(1); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(8,12,20,0.85));
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay p { color: var(--white); font-weight: 700; font-family: 'Montserrat', sans-serif; font-size: 16px; }

/* =====================================================
   LOCATION
   ===================================================== */
.location-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 56px;
}

.location-section h2 { font-size: 30px; font-weight: 800; margin-bottom: 16px; }
.location-section p  { color: var(--text-dim); line-height: 1.7; }

.location-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.location-detail > i {
  width: 42px; height: 42px;
  background: rgba(26,110,255,0.1);
  border: 1px solid rgba(26,110,255,0.2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
  color: var(--accent);
  flex-shrink: 0;
}

.location-detail strong { display: block; font-family: 'Montserrat', sans-serif; font-size: 13px; margin-bottom: 2px; color: var(--white); }
.location-detail p { margin: 0; font-size: 14px; }

.location-map {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 340px;
  display: flex;
  flex-direction: column;
}

.location-map iframe {
  flex: 1;
  min-height: 340px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.map-placeholder {
  height: 280px;
  background: var(--bg-elevated);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--text-muted);
  border: 1px dashed var(--border-h);
}

.map-placeholder i  { font-size: 42px; }
.map-placeholder p  { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 15px; }

.bible-lang-note {
  margin-top: 20px;
  padding: 10px 16px;
  background: rgba(245,184,0,0.08);
  border: 1px solid rgba(245,184,0,0.2);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* =====================================================
   EVENTS
   ===================================================== */
.events-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.filter-btn {
  padding: 9px 20px;
  border-radius: 50px;
  border: 1.5px solid var(--border-h);
  background: transparent;
  color: var(--text-dim);
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
  background: rgba(26,110,255,0.12);
  border-color: rgba(26,110,255,0.4);
  color: var(--accent);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.event-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.event-card:hover { transform: translateY(-6px); border-color: var(--border-h); box-shadow: var(--shadow); }

.event-card-image {
  height: 180px;
  background: linear-gradient(135deg, var(--bg-elevated), var(--bg-section));
  position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}

.event-card-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.8; }

.event-date-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--gold);
  color: #000;
  padding: 8px 10px;
  border-radius: 10px;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  line-height: 1;
}

.event-date-badge .day   { font-size: 22px; display: block; }
.event-date-badge .month { font-size: 10px; letter-spacing: 1px; }

.event-category {
  position: absolute;
  top: 14px; right: 14px;
  padding: 4px 12px;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--white);
  background: rgba(8,12,20,0.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
}

.event-card-body { padding: 22px; }
.event-card-body h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.event-card-body p  { font-size: 13px; color: var(--text-dim); line-height: 1.6; margin-bottom: 14px; }
.event-card-body .event-meta { display: flex; gap: 14px; flex-wrap: wrap; }
.event-meta span { font-size: 12px; color: var(--accent); font-family: 'Montserrat', sans-serif; font-weight: 600; display: flex; align-items: center; gap: 5px; }

/* =====================================================
   RADIO
   ===================================================== */
#radio { position: relative; }

/* Fondo único para toda la página de Radio (banner + programación) */
.radio-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(to bottom, rgba(4, 8, 18, 0.82) 0%, rgba(4, 8, 18, 0.9) 55%, var(--bg-section) 100%),
    url('../images/Captura de pantalla 2026-06-06 192025.jpg');
  background-position: center, 65% top;
  background-size: cover, cover;
  background-repeat: no-repeat, no-repeat;
  background-attachment: scroll, fixed;
  backdrop-filter: blur(2px);
}

@media (max-width: 768px) {
  .radio-bg-overlay {
    background-image:
      linear-gradient(to bottom, rgba(4, 8, 18, 0.82) 0%, rgba(4, 8, 18, 0.9) 55%, var(--bg-section) 100%),
      url('../images/radio_movil.jpg');
    background-position: center, center top;
    background-attachment: scroll, scroll;
  }
}

.radio-full-page {
  min-height: 0;
  padding: 28px 0;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.radio-full-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 60%, rgba(26,110,255,0.18) 0%, transparent 55%),
    radial-gradient(circle at 70% 30%, rgba(245,184,0,0.08) 0%, transparent 50%);
  z-index: 1;
  pointer-events: none;
}

/* Animated rings */
.radio-full-page::after {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(26,110,255,0.08);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: ring 4s linear infinite;
  z-index: 2;
  pointer-events: none;
}

@keyframes ring {
  0%   { width: 300px; height: 300px; opacity: 0.5; }
  100% { width: 800px; height: 800px; opacity: 0; }
}

.radio-content {
  position: relative;
  width: 100%;
  max-width: 1100px;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  z-index: 2;
}

.radio-header {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: 24px;
}

.radio-logo-circle {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  margin-left: 16px;
  border: 2px solid rgba(26,110,255,0.3);
  box-shadow: var(--shadow-blue);
}

.radio-logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.radio-signal {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 26px;
}

.radio-signal span {
  width: 3px;
  background: linear-gradient(to top, var(--primary), var(--accent));
  border-radius: 3px;
  animation: signal 1.2s ease-in-out infinite;
}

.radio-signal span:nth-child(1) { height: 10px; animation-delay: 0.0s; }
.radio-signal span:nth-child(2) { height: 17px; animation-delay: 0.1s; }
.radio-signal span:nth-child(3) { height: 24px; animation-delay: 0.2s; }
.radio-signal span:nth-child(4) { height: 17px; animation-delay: 0.3s; }
.radio-signal span:nth-child(5) { height: 10px; animation-delay: 0.4s; }

@keyframes signal {
  0%, 100% { opacity: 0.3; }
  50%       { opacity: 1; }
}

.radio-header-text .section-tag { margin-bottom: 2px; }

.radio-header h1 {
  font-size: clamp(15px, 2vw, 21px);
  font-weight: 900;
  background: linear-gradient(135deg, var(--white), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.radio-player-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 10px 24px;
}

.radio-visualizer {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 24px;
}

.radio-visualizer .bar {
  width: 3px;
  background: linear-gradient(to top, var(--primary), var(--accent));
  border-radius: 3px;
  height: 5px;
  transition: height 0.1s;
}

.radio-visualizer.playing .bar { animation: bars 0.8s ease-in-out infinite alternate; }
.bar:nth-child(1)  { animation-delay: 0.00s; }
.bar:nth-child(2)  { animation-delay: 0.10s; }
.bar:nth-child(3)  { animation-delay: 0.05s; }
.bar:nth-child(4)  { animation-delay: 0.15s; }
.bar:nth-child(5)  { animation-delay: 0.20s; }
.bar:nth-child(6)  { animation-delay: 0.08s; }
.bar:nth-child(7)  { animation-delay: 0.12s; }
.bar:nth-child(8)  { animation-delay: 0.18s; }
.bar:nth-child(9)  { animation-delay: 0.03s; }
.bar:nth-child(10) { animation-delay: 0.16s; }
.bar:nth-child(11) { animation-delay: 0.07s; }
.bar:nth-child(12) { animation-delay: 0.22s; }

@keyframes bars {
  from { height: 4px; }
  to   { height: 22px; }
}

.radio-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.radio-station-badge {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(26,110,255,0.15);
  border: 1px solid rgba(26,110,255,0.3);
  color: var(--accent);
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 900;
  border-radius: 50px;
  letter-spacing: 2px;
  white-space: nowrap;
}

.radio-status { font-size: 12px; color: var(--text-muted); white-space: nowrap; }

.radio-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.radio-btn {
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
  color: var(--white);
}

.radio-btn.play-main {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--primary), #0040cc);
  font-size: 16px;
  box-shadow: var(--shadow-blue);
}

.radio-btn.play-main:hover { transform: scale(1.08); box-shadow: 0 12px 48px rgba(26,110,255,0.5); }

.radio-btn.volume,
.radio-btn.share {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.05);
  font-size: 13px;
  border: 1px solid var(--border);
}

.radio-btn.volume:hover,
.radio-btn.share:hover { background: rgba(255,255,255,0.1); border-color: var(--border-h); }

.volume-slider-container {
  display: flex;
  align-items: center;
  width: 90px;
  min-width: 0;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .radio-content { flex-direction: column; justify-content: center; text-align: center; padding: 0 16px; }
  .radio-header { justify-content: center; margin-left: 0; gap: 14px; }
  .radio-logo-circle { width: 80px; height: 80px; margin-left: 0; }
  .radio-player-card { justify-content: center; padding: 12px 18px; }
  /* El slider de volumen se muestra como fila completa bajo los botones. */
  .volume-slider-container { flex-basis: 100%; width: 100%; justify-content: center; margin-top: 2px; }
  .volume-slider { max-width: 220px; }
}

.volume-slider {
  flex: 1;
  min-width: 0;
  -webkit-appearance: none;
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  outline: none;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
}

.radio-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  background: rgba(26,110,255,0.06);
  border-radius: 10px;
  border: 1px solid rgba(26,110,255,0.15);
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.6;
  text-align: left;
}

.radio-note i { color: var(--accent); margin-top: 1px; flex-shrink: 0; }

/* =====================================================
   RADIO: PROGRAMS CAROUSEL
   ===================================================== */
.radio-programs-section {
  position: relative;
  z-index: 1;
  padding: 80px 0 100px;
}

.radio-carousel-header {
  margin-bottom: 48px;
}

.radio-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.radio-title-row h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  margin: 0;
  min-width: 0;
  text-align: center;
}

.radio-category-arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--white);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.radio-category-arrow:hover { background: var(--primary); border-color: var(--primary); }

.radio-category-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.radio-category-tab {
  padding: 8px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50px;
  color: var(--text-dim);
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
}

.radio-category-tab:hover { border-color: var(--border-h); color: var(--white); }

.radio-category-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-blue);
}

.moment-slide {
  position: relative;
  flex: 1;
  min-width: 0;
  background: transparent;
  height: min(560px, 75vh);
  display: flex;
  align-items: center;
  justify-content: center;
}

.moment-slide img,
.moment-slide video {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
  cursor: pointer;
  border-radius: var(--radius);
}

.moment-image-wrap {
  position: relative;
  display: inline-block;
  max-width: 100%;
  height: 100%;
  line-height: 0;
}

.moment-video-wrap {
  position: relative;
  display: inline-block;
  max-width: 100%;
  max-height: 100%;
  cursor: pointer;
  line-height: 0;
  border-radius: var(--radius);
  overflow: hidden;
}

.moment-video-wrap video { pointer-events: none; }

.moment-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(4, 8, 18, 0.55);
  border: 2px solid rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 22px;
  pointer-events: none;
  backdrop-filter: blur(2px);
}

.moment-slide-tag {
  position: absolute;
  left: 20px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(4,8,18,0.65);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  transition: var(--transition);
}

.moment-slide-tag:hover { background: var(--primary); border-color: var(--primary); }

.moment-slide-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 40px;
  text-align: center;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.8;
}

.programs-carousel {
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
}

.carousel-arrow {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

/* Con fotos/videos, las flechas flotan sobre la fila y se acercan al
   borde real de la imagen (la posición la calcula JS según su ancho). */
.programs-carousel.media-mode .carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}
.programs-carousel.media-mode .carousel-arrow.prev { left: 16px; }
.programs-carousel.media-mode .carousel-arrow.next { right: 16px; }

.carousel-arrow:hover { background: var(--primary); border-color: var(--primary); }

.program-slide {
  flex: 1;
  min-width: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  min-height: min(560px, 75vh);
}

.program-slide-img {
  background-size: cover;
  background-position: center;
  background-color: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.program-slide-img i { font-size: 110px; color: var(--accent); opacity: 0.5; }

.program-slide-body {
  padding: 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.program-day  { font-size: 13px; color: var(--gold); font-family: 'Montserrat', sans-serif; font-weight: 700; letter-spacing: 1px; margin-bottom: 10px; }
.program-name { font-size: clamp(28px, 4.5vw, 44px); color: var(--white); font-weight: 800; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; cursor: pointer; transition: var(--transition); display: inline-block; }
.program-name:hover { color: var(--accent); }

.program-slide-tag  { font-size: 17px; color: var(--accent); font-weight: 600; margin-bottom: 18px; }
.program-slide-desc { font-size: 16px; color: var(--text-dim); line-height: 1.8; margin-bottom: 28px; }

.carousel-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--border-h);
  cursor: pointer;
  transition: var(--transition);
}

.carousel-dot.active { background: var(--accent); width: 28px; border-radius: 5px; }

/* Carpetas por programa (debajo del carrusel, solo en Momentos) */
.moment-folders {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 40px;
}

.moment-folder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
}

.moment-folder:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-blue);
}

.moment-folder-icon { font-size: 32px; color: var(--accent); }

.moment-folder-name {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.moment-folder-count {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.moment-folder.is-empty {
  opacity: 0.4;
  cursor: default;
}

.moment-folder.is-empty:hover {
  border-color: var(--border);
  transform: none;
  box-shadow: none;
}

.moment-folder.selected {
  border-color: var(--primary);
  background: var(--bg-elevated);
  box-shadow: 0 0 0 1px var(--primary), 0 0 18px rgba(26, 110, 255, 0.45);
}

.moment-folder.selected:hover { transform: none; }

/* Lightbox a pantalla completa para fotos/videos de momentos e invitados */
.radio-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(2, 5, 12, 0.92);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.radio-lightbox.active { display: flex; }

.radio-lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  position: relative;
  overflow: hidden;
}

/* Con zoom, deja que la imagen escalada se expanda más allá de su
   tamaño original en vez de recortarla a ese espacio. */
.radio-lightbox-content.zoomed-out { overflow: visible; }

.radio-lightbox-content.is-image { touch-action: none; }

.radio-lightbox-content img,
.radio-lightbox-content video {
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  display: block;
  border-radius: var(--radius);
  object-fit: contain;
  transform-origin: center center;
}

.radio-lightbox-content img {
  user-select: none;
  -webkit-user-drag: none;
  cursor: zoom-in;
}

.radio-lightbox-content img.zoomed { cursor: grab; }

.radio-lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--white);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 1;
}

.radio-lightbox-arrow:hover { background: var(--primary); border-color: var(--primary); }
.radio-lightbox-arrow.prev { left: 16px; }
.radio-lightbox-arrow.next { right: 16px; }
.radio-lightbox-arrow.hidden { display: none; }

.radio-lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--white);
  font-size: 18px;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.radio-lightbox-close:hover { background: var(--primary); border-color: var(--primary); }

@media (max-width: 768px) {
  .radio-programs-section { padding: 50px 0 70px; }
  .radio-title-row { gap: 8px; }
  .radio-title-row h2 { flex: 1; }
  .radio-category-arrow { width: 34px; height: 34px; font-size: 13px; }
  .radio-category-tabs { margin-bottom: 12px; gap: 8px; }
  .radio-category-tab { padding: 7px 14px; font-size: 11px; }
  .programs-carousel { gap: 10px; }
  /* En móvil se desliza para cambiar de slide: ocultamos las flechas. */
  .carousel-arrow { display: none; }
  .moment-folders { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 28px; }
  .moment-folder { padding: 18px 12px; gap: 8px; }
  .moment-folder-icon { font-size: 26px; }
  .moment-folder-name { font-size: 13px; }
  .program-slide { grid-template-columns: 1fr; min-height: auto; }
  .program-slide-img { min-height: 220px; }
  .program-slide-img i { font-size: 70px; }
  .program-slide-body { padding: 26px; }
  .moment-slide { height: 320px; }
  .moment-slide-tag { left: 12px; bottom: 12px; padding: 6px 14px; font-size: 11px; }
  .moment-video-play { width: 50px; height: 50px; font-size: 18px; }
  .radio-lightbox-close { top: 12px; right: 12px; width: 38px; height: 38px; font-size: 16px; }
  /* En móvil se desliza para cambiar de foto: ocultamos las flechas. */
  .radio-lightbox-arrow { display: none; }
  /* La vista previa aprovecha casi toda la pantalla, descontando el
     padding para que no se desborde ni se corte por la derecha. */
  .radio-lightbox { padding: 10px; }
  .radio-lightbox-content { max-width: calc(100vw - 20px); max-height: 94vh; }
  .radio-lightbox-content img,
  .radio-lightbox-content video { max-width: calc(100vw - 20px); max-height: 94vh; }
}

/* =====================================================
   RADIO PROGRAM DETAIL
   ===================================================== */
.program-detail-page {
  min-height: calc(100vh - 70px);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
  overflow: hidden;
}

.program-detail-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(40px) brightness(0.45);
  transform: scale(1.15);
  z-index: 0;
}

.program-detail-overlay {
  position: absolute;
  inset: 0;
  background: rgba(4,8,18,0.75);
  z-index: 1;
}

.program-detail-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 900px;
}

.program-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 24px;
  transition: var(--transition);
}

.program-back-btn:hover { background: rgba(255,255,255,0.12); border-color: var(--border-h); }

.program-detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
}

.program-detail-image {
  min-height: 320px;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
}

.program-detail-image i { font-size: 80px; color: var(--accent); opacity: 0.5; }

.program-detail-body { padding: 40px; }

.program-detail-schedule {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--gold);
  margin-top: 12px;
  margin-bottom: 14px;
}

.program-detail-body h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 900; margin-bottom: 10px; }

.program-detail-tag { font-size: 15px; color: var(--accent); font-weight: 600; margin-bottom: 18px; }

.program-detail-desc { font-size: 15px; color: var(--text-dim); line-height: 1.8; margin-bottom: 28px; }

@media (max-width: 768px) {
  .program-detail-card { grid-template-columns: 1fr; }
  .program-detail-image { min-height: 220px; }
  .program-detail-body { padding: 28px 22px; }
}

/* =====================================================
   BIBLE
   ===================================================== */
.bible-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
  align-items: start;
}

.bible-search-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  margin-bottom: 20px;
}

.bible-search-box h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.bible-search-toggle { cursor: pointer; }

.bible-search-title { display: flex; align-items: center; gap: 8px; }
.bible-search-title i { color: var(--accent); }

.quick-search-icon {
  font-size: 15px;
  color: var(--text-muted);
  transition: var(--transition);
}

.bible-search-toggle:hover .quick-search-icon,
.quick-search-icon.active {
  color: var(--accent);
}

.bible-form { display: flex; flex-direction: column; gap: 14px; }

.form-group label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.form-group select,
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--bg-elevated);
  transition: var(--transition);
  outline: none;
}

.form-group select option { background: var(--bg-card); }

.form-group select:focus,
.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(26,110,255,0.5);
  box-shadow: 0 0 0 3px rgba(26,110,255,0.1);
}

.form-group select:disabled { opacity: 0.4; cursor: not-allowed; }

.quick-search-panel {
  display: none;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.quick-search-panel.open { display: block; }

.quick-search-input { display: flex; gap: 8px; position: relative; }

.quick-search-input input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text);
  background: var(--bg-elevated);
  outline: none;
  min-width: 0;
}

.quick-search-input input:focus { border-color: rgba(26,110,255,0.4); }

.autocomplete-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  max-height: 220px;
  overflow-y: auto;
  z-index: 10;
  display: none;
  box-shadow: 0 8px 16px rgba(0,0,0,0.4);
}

.autocomplete-suggestion {
  padding: 10px 12px;
  cursor: pointer;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 13px;
  transition: background 0.2s;
  color: var(--text-dim);
}

.autocomplete-suggestion:last-child {
  border-bottom: none;
}

.autocomplete-suggestion:hover {
  background: rgba(26,110,255,0.15);
  color: var(--white);
}

.autocomplete-suggestion strong {
  color: var(--gold);
  font-weight: 600;
}

.quick-search-input button {
  width: 38px; height: 38px;
  background: var(--primary);
  border: none;
  border-radius: var(--radius-sm);
  color: var(--white);
  cursor: pointer;
  transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.quick-search-input button:hover { background: var(--primary-h); }

.hint { font-size: 12px; color: var(--text-muted); margin-top: 6px; line-height: 1.5; }

.bible-favorites {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

.bible-favorites h4 { font-size: 13px; font-weight: 700; color: var(--white); margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.bible-favorites h4 i { color: var(--gold); }

.favorites-list { list-style: none; }

.favorites-list li {
  padding: 9px 12px;
  font-size: 13px;
  cursor: pointer;
  border-radius: var(--radius-sm);
  color: var(--accent);
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  transition: var(--transition);
  border: 1px solid transparent;
}

.favorites-list li:hover { background: rgba(26,110,255,0.08); border-color: rgba(26,110,255,0.15); }

/* Bible reader */
.bible-reader {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-height: 600px;
  overflow: hidden;
}

.bible-welcome {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 40px;
  gap: 16px;
}

.bible-welcome i { font-size: 52px; color: var(--accent); }
.bible-welcome h2 { font-size: 26px; font-weight: 800; }
.bible-welcome p  { font-size: 16px; color: var(--text-dim); max-width: 380px; line-height: 1.7; }

.bible-ref-badge {
  display: inline-block;
  padding: 7px 20px;
  background: rgba(26,110,255,0.12);
  border: 1px solid rgba(26,110,255,0.25);
  color: var(--accent);
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  border-radius: 50px;
  letter-spacing: 1px;
}

.bible-content-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 12px;
}

.bible-content-header h2 { font-size: 20px; font-weight: 800; }

.bible-actions { display: flex; gap: 6px; }

.bible-actions button {
  padding: 7px 12px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-dim);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex; align-items: center; gap: 4px;
}

.bible-actions button:hover { background: var(--bg-elevated); color: var(--white); border-color: var(--border-h); }

.bible-verses {
  padding: 28px;
  max-height: 480px;
  overflow-y: auto;
  line-height: 2;
  font-size: var(--bible-font-size, 17px);
  color: var(--text);
}

.bible-verses::-webkit-scrollbar       { width: 5px; }
.bible-verses::-webkit-scrollbar-track { background: transparent; }
.bible-verses::-webkit-scrollbar-thumb { background: var(--border-h); border-radius: 3px; }

.verse-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75em;
  font-weight: 700;
  color: var(--primary);
  vertical-align: super;
  margin-right: 4px;
  user-select: none;
}

.interactive-verse {
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s ease;
  padding: 2px 4px;
  margin: 0 -2px;
}
.interactive-verse:hover {
  background-color: rgba(26, 110, 255, 0.1);
  color: var(--accent);
}

.bible-nav-btns {
  display: flex;
  justify-content: space-between;
  padding: 18px 28px;
  border-top: 1px solid var(--border);
}

.bible-nav-btns .btn-outline { color: var(--text-dim); border-color: var(--border); padding: 9px 18px; font-size: 12px; }
.bible-nav-btns .btn-outline:hover { color: var(--white); border-color: var(--border-h); background: var(--bg-elevated); }

.bible-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px;
  gap: 18px;
  color: var(--text-muted);
}

.loading-spinner {
  width: 36px; height: 36px;
  border: 2.5px solid rgba(26,110,255,0.15);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.bible-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px;
  gap: 14px;
  color: #f87171;
  text-align: center;
}

.bible-error i { font-size: 36px; }

/* =====================================================
   CONTACT
   ===================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-info-panel h2 { font-size: 30px; font-weight: 800; margin-bottom: 14px; }
.contact-info-panel > p { font-size: 16px; color: var(--text-dim); line-height: 1.8; margin-bottom: 28px; }

.contact-details { margin-bottom: 28px; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}

.contact-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(26,110,255,0.1);
  border: 1px solid rgba(26,110,255,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: 17px;
  flex-shrink: 0;
}

.contact-item strong { display: block; font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 700; margin-bottom: 2px; color: var(--white); letter-spacing: 0.5px; }
.contact-item a, .contact-item span { font-size: 14px; color: var(--text-dim); }
.contact-item a:hover { color: var(--accent); }

.prayer-box {
  background: linear-gradient(135deg, rgba(26,110,255,0.12), rgba(0,212,255,0.06));
  border: 1px solid rgba(26,110,255,0.2);
  color: var(--white);
  padding: 26px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.prayer-box i   { font-size: 26px; color: var(--gold); }
.prayer-box h3  { font-size: 17px; font-weight: 700; }
.prayer-box p   { font-size: 14px; color: var(--text-dim); line-height: 1.6; }

/* Contact form — dark minimal style like reference */
.contact-form-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 38px;
}

.contact-form-panel h3 { font-size: 22px; font-weight: 800; margin-bottom: 28px; }

.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Minimal line-style inputs like reference image */
.contact-form .form-group input,
.contact-form .form-group select,
.contact-form .form-group textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-h);
  border-radius: 0;
  padding: 10px 0;
  color: var(--white);
  font-size: 15px;
}

.contact-form .form-group input::placeholder,
.contact-form .form-group textarea::placeholder { color: var(--text-muted); }

.contact-form .form-group select option { background: var(--bg-card); }

.contact-form .form-group input:focus,
.contact-form .form-group select:focus,
.contact-form .form-group textarea:focus {
  outline: none;
  border-bottom-color: var(--primary);
  box-shadow: none;
}

.contact-form .form-group textarea { resize: vertical; min-height: 100px; }

.form-success {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(52,211,153,0.08);
  border: 1px solid rgba(52,211,153,0.25);
  border-radius: var(--radius-sm);
  color: #34d399;
  font-size: 14px;
}

.form-success i { font-size: 18px; }

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: var(--bg-card);
  color: var(--text-dim);
  border-top: 1px solid var(--border);
}

.footer-top { padding: 60px 0; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
}

.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-logo img { height: 35px; width: auto; object-fit: contain; }

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-muted);
  font-style: italic;
  max-width: 340px;
}

.footer-links-col h4,
.footer-social-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.footer-links-col ul { list-style: none; }
.footer-links-col li { margin-bottom: 10px; }
.footer-links-col a  { font-size: 14px; color: var(--text-muted); cursor: pointer; transition: var(--transition); }
.footer-links-col a:hover { color: var(--white); }

.footer-social { display: flex; gap: 10px; margin-bottom: 20px; }

.footer-social a {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-social a:hover { background: rgba(26,110,255,0.12); border-color: rgba(26,110,255,0.3); color: var(--accent); transform: translateY(-3px); }

.footer-verse { font-size: 13px; color: var(--text-muted); font-style: italic; line-height: 1.6; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 18px 0;
  text-align: center;
}

.footer-bottom p { font-size: 12px; color: var(--text-muted); }

/* hide drawer-only elements on desktop */
.nav-drawer-header,
.nav-drawer-footer,
.nav-overlay { display: none; }
.nav-links .nav-link i { display: none; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .schedule-grid { grid-template-columns: repeat(2, 1fr); }
  .events-grid   { grid-template-columns: repeat(2, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
  .footer-brand  { grid-column: span 2; }
}

@media (max-width: 900px) {
  .welcome-grid,
  .pastors-grid,
  .bible-layout,
  .contact-layout { grid-template-columns: 1fr; gap: 36px; }
  .values-grid    { grid-template-columns: 1fr; }
  .social-grid    { grid-template-columns: 1fr; }
  .location-section { grid-template-columns: 1fr; padding: 36px; }
  .worship-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery-item.tall { grid-row: span 1; }
  .gallery-item.wide { grid-column: span 2; }
  .pastor-image { order: -1; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }

  /* ── Left drawer ── */
  .nav-links {
    position: fixed;
    top: 0; left: 0;
    width: 272px;
    height: 100dvh;
    background: #0a0f1a;
    border-right: 1px solid rgba(255,255,255,0.07);
    flex-direction: column;
    padding: 0 0 24px;
    gap: 2px;
    transform: translateX(-100%);
    transition: transform 0.32s cubic-bezier(0.4,0,0.2,1);
    z-index: 1100;
    overflow-y: auto;
    align-items: stretch;
  }
  .nav-links.open { transform: translateX(0); }

  /* drawer header with logo */
  .nav-drawer-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 24px 20px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    margin-bottom: 8px;
  }
  .nav-drawer-logo {
    width: 44px; height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
  }
  .nav-drawer-header div {
    display: flex; flex-direction: column; gap: 1px;
  }

  /* nav links inside drawer */
  .nav-links li { list-style: none; }
  .nav-links .nav-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    border-radius: 0;
    font-size: 15px;
    border-left: 3px solid transparent;
    border-radius: 0 8px 8px 0;
    margin-right: 12px;
  }
  .nav-links .nav-link i { display: inline-block; width: 18px; text-align: center; font-size: 15px; }
  .nav-links .nav-link:hover { border-left-color: var(--primary); background: rgba(26,110,255,0.08); }
  .nav-links .nav-link.active { border-left-color: var(--accent); background: rgba(0,212,255,0.08); color: var(--accent); }

  /* drawer footer socials */
  .nav-drawer-footer {
    display: flex;
    gap: 16px;
    padding: 20px 20px 0;
    margin-top: auto;
    border-top: 1px solid rgba(255,255,255,0.07);
  }
  .nav-drawer-footer a {
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.12);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-dim);
    font-size: 15px;
    transition: 0.2s;
  }
  .nav-drawer-footer a:hover { color: #fff; border-color: var(--primary); background: rgba(26,110,255,0.15); }

  /* overlay */
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 1099;
    opacity: 0;
    transition: opacity 0.32s ease;
  }
  .nav-overlay.open { display: block; opacity: 1; }

  /* hamburger → X */
  .hamburger span { transition: transform 0.28s ease, opacity 0.2s ease; }
  .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .schedule-grid { grid-template-columns: 1fr; }
  .events-grid   { grid-template-columns: 1fr; }
  .form-row      { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr; }
  .footer-brand  { grid-column: span 1; }
  .radio-player-card { padding: 28px 18px; }
  .contact-form-panel { padding: 24px 18px; }
  .bible-nav-btns .btn-outline { padding: 8px 12px; font-size: 11px; }
}

@media (max-width: 768px) {
  /* On mobile: logo | flex-grow | lang-dropdown | hamburger */
  .lang-dropdown {
    margin-left: auto;
    margin-right: 10px;
    order: 2;
  }
  .hamburger { order: 3; }
  .lang-trigger { padding: 5px 8px; font-size: 12px; gap: 4px; }
  .lang-chevron { display: none; }
  .lang-menu { right: 0; min-width: 130px; }
}

@media (max-width: 480px) {
  /* Hero buttons: 2×2 grid + full-width last button */
  .hero-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 0 8px;
    max-width: 360px;
    margin: 0 auto;
  }
  .hero-buttons .btn-outline {
    grid-column: span 2;
    justify-content: center;
  }
  .hero-buttons .btn-primary { justify-content: center; }
  .worship-gallery { grid-template-columns: 1fr; }
  .gallery-item.wide { grid-column: span 1; }
  .daily-verse-card { padding: 36px 24px; }
}

/* Gallery: always show overlay label on touch devices */
@media (hover: none) {
  .gallery-overlay { opacity: 1; }
  .gallery-item img { filter: brightness(0.85); }
}

/* =====================================================
   TOAST NOTIFICATIONS
   ===================================================== */
.toast-container {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: 12px;
  background: #0e1624;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 8px 32px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04);
  color: #e2e8f0;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  min-width: 260px;
  max-width: 380px;
  pointer-events: all;
  animation: toastIn 0.35s cubic-bezier(0.21, 1.02, 0.73, 1) forwards;
  backdrop-filter: blur(12px);
}

.toast.hide {
  animation: toastOut 0.3s ease forwards;
}

.toast-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.toast.success .toast-icon { background: rgba(52,211,153,0.15); color: #34d399; }
.toast.error   .toast-icon { background: rgba(248,113,113,0.15); color: #f87171; }
.toast.info    .toast-icon { background: rgba(0,212,255,0.12); color: #00d4ff; }
.toast.warning .toast-icon { background: rgba(245,184,0,0.12); color: #f5b800; }

.toast-body { flex: 1; }
.toast-title { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 1px; }
.toast-msg   { font-size: 12px; font-weight: 500; color: #94a3b8; }

.toast-close {
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  font-size: 14px;
  padding: 2px;
  transition: color 0.2s;
  flex-shrink: 0;
}
.toast-close:hover { color: #fff; }

.toast-progress {
  position: absolute;
  bottom: 0; left: 0;
  height: 2px;
  border-radius: 0 0 12px 12px;
  animation: toastProgress linear forwards;
}

.toast { position: relative; overflow: hidden; }
.toast.success .toast-progress { background: #34d399; }
.toast.error   .toast-progress { background: #f87171; }
.toast.info    .toast-progress { background: #00d4ff; }
.toast.warning .toast-progress { background: #f5b800; }

@keyframes toastIn {
  from { opacity: 0; transform: translateX(calc(100% + 16px)); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes toastOut {
  from { opacity: 1; transform: translateX(0); max-height: 80px; margin-bottom: 0; }
  to   { opacity: 0; transform: translateX(calc(100% + 16px)); max-height: 0; margin-bottom: -10px; }
}

@keyframes toastProgress {
  from { width: 100%; }
  to   { width: 0%; }
}

@media (max-width: 480px) {
  .toast-container { bottom: 16px; right: 16px; left: 16px; }
  .toast { min-width: unset; }
}

/* =====================================================
   SHARE MODAL
   ===================================================== */
.share-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  z-index: 9998;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 0 0 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.share-modal-backdrop.open {
  opacity: 1;
  pointer-events: all;
}

.share-modal {
  background: #0e1624;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px 24px 0 0;
  padding: 28px 28px 40px;
  width: 100%;
  max-width: 520px;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.21,1.02,0.73,1);
  box-shadow: 0 -8px 48px rgba(0,0,0,0.6);
}

.share-modal-backdrop.open .share-modal {
  transform: translateY(0);
}

.share-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 12px;
}

.share-modal-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #00d4ff;
  margin-bottom: 5px;
}

.share-modal-title {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.share-modal-close {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: #94a3b8;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  transition: 0.2s ease;
  flex-shrink: 0;
}

.share-modal-close:hover { background: rgba(255,255,255,0.12); color: #fff; }

.share-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.share-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 18px 8px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.04);
  cursor: pointer;
  transition: 0.2s ease;
  text-decoration: none;
  color: #e2e8f0;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.share-option:hover { transform: translateY(-4px); }

.share-option-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}

.share-option.whatsapp  .share-option-icon { background: rgba(37,211,102,0.15); color: #25d366; }
.share-option.whatsapp:hover  { border-color: rgba(37,211,102,0.3); background: rgba(37,211,102,0.08); }

.share-option.telegram  .share-option-icon { background: rgba(36,161,222,0.15); color: #24a1de; }
.share-option.telegram:hover  { border-color: rgba(36,161,222,0.3); background: rgba(36,161,222,0.08); }

.share-option.facebook  .share-option-icon { background: rgba(24,119,242,0.15); color: #1877f2; }
.share-option.facebook:hover  { border-color: rgba(24,119,242,0.3); background: rgba(24,119,242,0.08); }

.share-option.instagram .share-option-icon { background: rgba(225,48,108,0.15); color: #e1306c; }
.share-option.instagram:hover { border-color: rgba(225,48,108,0.3); background: rgba(225,48,108,0.08); }

.share-copy-btn {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  color: #94a3b8;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  gap: 8px;
  transition: 0.2s ease;
}

.share-copy-btn:hover { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.2); }

@media (max-width: 480px) {
  .share-modal { padding: 24px 18px 36px; }
  .share-options { grid-template-columns: repeat(2, 1fr); }
}

/* ===== ANUNCIOS — live badges & youtube button ===== */

/* Ocultos por defecto: solo se muestran durante la ventana de transmisión
   en vivo (hora de Canarias), activada por JS añadiendo .is-live */
.live-badge, .live-badge-alt {
  display: none;
}
.live-badge.is-live, .live-badge-alt.is-live {
  display: inline-block;
}

.live-badge {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
}
.live-badge i { color: #ef4444; animation: blink-dot 1.2s ease-in-out infinite; }

.live-badge-alt {
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.35);
  color: #00d4ff;
}
.live-badge-alt i { color: #00d4ff; animation: blink-dot 1.2s ease-in-out infinite; }

@keyframes blink-dot {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.2; }
}

.live-dot {
  display: none;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #ef4444;
  margin-left: 6px;
  vertical-align: middle;
  animation: blink-dot 1.2s ease-in-out infinite;
}
.live-dot.is-live { display: inline-block; }
.live-dot-cyan { background: #00d4ff; }

.btn-youtube-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 10px 20px;
  border-radius: 10px;
  background: rgba(255, 0, 0, 0.85);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}
.btn-youtube-live:hover {
  background: #ff0000;
  transform: translateY(-2px);
  color: #fff;
}
.btn-youtube-live i { font-size: 16px; }

/* ===== LIGHTBOX ===== */
.gallery-item { cursor: zoom-in; }

.lightbox-backdrop {
  display: none;
  touch-action: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.95);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.lightbox-backdrop.open { display: flex; }

.lightbox-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
  z-index: 10;
}
.lightbox-close:hover { background: rgba(255,255,255,0.25); }

.lightbox-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0,0,0,0.6);
  padding: 8px 20px;
  border-radius: 50px;
  z-index: 10;
}
.lightbox-controls button {
  background: none;
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.15s;
}
.lightbox-controls button:hover { background: rgba(255,255,255,0.15); }
.lightbox-controls span {
  color: #cbd5e1;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  min-width: 44px;
  text-align: center;
}

.lightbox-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: grab;
  user-select: none;
}
.lightbox-container.grabbing { cursor: grabbing; }

#lightboxImg {
  max-width: 90vw;
  max-height: 82vh;
  border-radius: 10px;
  transform-origin: center center;
  transition: transform 0.2s ease;
}

.lightbox-caption {
  position: absolute;
  bottom: 64px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.65);
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
}

/* ── RADIO BANNER ──────────────────────────────────── */
.radio-banner {
  position: fixed;
  top: 70px;
  left: 0; right: 0;
  z-index: 1190;
  background: rgba(8,12,20,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,212,255,0.22);
  box-shadow: 0 4px 24px rgba(0,212,255,0.14);
  transform: translateY(-110%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  pointer-events: none;
}
.radio-banner.visible {
  transform: translateY(0);
  pointer-events: auto;
}
.radio-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  height: 50px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.radio-banner-left {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
}
.radio-banner-icon { color: var(--accent); font-size: 14px; }
.radio-banner-name { color: var(--white); font-weight: 700; font-size: 13px; letter-spacing: 0.04em; }
.radio-banner-live {
  color: var(--accent);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(0,212,255,0.12);
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid rgba(0,212,255,0.35);
}
.radio-banner-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: center;
}
.radio-banner-slider {
  width: 100px;
  -webkit-appearance: none;
  appearance: none;
  height: 3px;
  background: linear-gradient(to right, var(--accent) 80%, rgba(255,255,255,0.15) 80%);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}
.radio-banner-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  box-shadow: 0 0 8px rgba(0,212,255,0.7);
}
.radio-banner-slider::-moz-range-thumb {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  border: none;
}
.radio-banner-btn {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--white);
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.2s;
  flex-shrink: 0;
}
.radio-banner-btn:hover {
  background: rgba(0,212,255,0.15);
  border-color: rgba(0,212,255,0.4);
  color: var(--accent);
}
.radio-banner-play {
  background: var(--accent);
  border-color: var(--accent);
  color: #000 !important;
  width: 38px; height: 38px;
  font-size: 14px;
  box-shadow: 0 0 16px rgba(0,212,255,0.45);
}
.radio-banner-play:hover {
  background: #20e8ff;
  border-color: #20e8ff;
  box-shadow: 0 0 24px rgba(0,212,255,0.65);
}
.radio-banner-goto {
  background: rgba(0,212,255,0.12);
  border-color: rgba(0,212,255,0.28);
  color: var(--accent);
}
.radio-banner-goto:hover {
  background: rgba(0,212,255,0.25);
  border-color: rgba(0,212,255,0.5);
}
.radio-banner-close {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.45);
  font-size: 16px;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  transition: color 0.2s;
  justify-self: end;
}
.radio-banner-close:hover { color: #fff; }
@media (max-width: 480px) {
  .radio-banner-live { display: none; }
  .radio-banner-slider { width: 60px; }
  .radio-banner-name { font-size: 11px; }
}

/* ── RADIO MINI-TAB ─────────────────────────────────── */
.radio-mini-tab {
  position: fixed;
  top: 70px;
  left: 50%;
  transform: translateX(-50%) translateY(-110%);
  z-index: 1185;
  background: rgba(8,12,20,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0,212,255,0.35);
  border-top: none;
  border-radius: 0 0 28px 28px;
  padding: 7px 22px 11px;
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  color: var(--accent);
  font-size: 15px;
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), box-shadow 0.2s, background 0.2s;
  pointer-events: none;
  box-shadow: 0 6px 20px rgba(0,212,255,0.18), 0 2px 8px rgba(0,0,0,0.4);
  white-space: nowrap;
}
.radio-mini-tab.visible {
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.radio-mini-tab:hover {
  background: rgba(0,212,255,0.08);
  box-shadow: 0 8px 28px rgba(0,212,255,0.28), 0 2px 8px rgba(0,0,0,0.4);
}
.radio-mini-chevron {
  font-size: 12px;
  animation: miniChevronBounce 1.4s ease-in-out infinite;
}
@keyframes miniChevronBounce {
  0%, 100% { transform: translateY(-2px); opacity: 0.6; }
  50%       { transform: translateY(3px);  opacity: 1; }
}
