/*
Theme Name: Ministerio Defensa de Salvacion
Theme URI: https://ministeriodefensadesalvacion.com
Author: Ministerio Defensa de Salvacion
Description: Sitio oficial del Ministerio Defensa de Salvacion — predicaciones, eventos, ministerios y mas.
Version: 1.0
Requires at least: 6.0
Tested up to: 6.7
License: Private
Text Domain: defensa-salvacion
*/

/* ============================================================
   MINISTERIO DEFENSA DE SALVACIÓN — Hoja de Estilos Principal
   Versión: 1.0 | Diseño: Agencia Profesional
   ============================================================ */

/* ── 1. VARIABLES Y RESET ──────────────────────────────────── */
:root {
  --azul-principal: #00145b;
  --azul-oscuro: #191738;
  --azul-negro: #120344;
  --dorado: #ce9f0b;
  --dorado-claro: #e3b31c;
  --dorado-suave: rgba(206, 159, 11, 0.12);
  --blanco: #ffffff;
  --negro: #000000;
  --gris-claro: #f5f6fa;
  --gris-texto: #6b7280;
  --sombra-suave: 0 4px 24px rgba(0, 20, 91, 0.10);
  --sombra-dorada: 0 8px 32px rgba(206, 159, 11, 0.20);
  --transicion: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --radio: 12px;
  --radio-grande: 20px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  color: #1a1a2e;
  background: var(--blanco);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ── 2. TIPOGRAFÍA ─────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }

.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dorado);
  display: block;
  margin-bottom: 0.75rem;
}

/* ── 3. LAYOUT ─────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-header h2 {
  color: var(--azul-principal);
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--gris-texto);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.8;
}

.section-header.light h2 { color: var(--blanco); }
.section-header.light p { color: rgba(255,255,255,0.75); }

/* Línea decorativa dorada */
.gold-line {
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--dorado), var(--dorado-claro));
  margin: 1rem auto 0;
  border-radius: 2px;
}

/* ── 4. BOTONES ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: var(--transicion);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-gold {
  background: linear-gradient(135deg, var(--dorado), var(--dorado-claro));
  color: var(--negro);
  box-shadow: var(--sombra-dorada);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(206, 159, 11, 0.35);
}

.btn-outline-gold {
  border-color: var(--dorado);
  color: var(--dorado);
  background: transparent;
}

.btn-outline-gold:hover {
  background: var(--dorado);
  color: var(--negro);
  transform: translateY(-2px);
}

.btn-outline-white {
  border-color: rgba(255,255,255,0.6);
  color: var(--blanco);
  background: transparent;
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--blanco);
}

.btn-blue {
  background: var(--azul-principal);
  color: var(--blanco);
}

.btn-blue:hover {
  background: var(--azul-oscuro);
  transform: translateY(-2px);
  box-shadow: var(--sombra-suave);
}

/* ── 5. NAVBAR ─────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--azul-principal);
  transition: var(--transicion);
  border-bottom: 1px solid rgba(206, 159, 11, 0.15);
}

#navbar.scrolled {
  background: rgba(0, 20, 91, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 3vw, 2.5rem);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  text-decoration: none;
}

.nav-brand img,
.logo-header {
  height: 130px !important;
  width: auto !important;
  object-fit: contain;
  display: block;
}

/* Logo en bloques/tarjetas/secciones internas */
.logo-section {
  height: 280px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
  margin: 0 auto 1rem;
}

/* Logo en CTAs y bloques de marca */
.logo-cta {
  height: 240px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
  margin: 0 auto 1.5rem;
  filter: brightness(0) invert(1);  /* blanco sobre fondos oscuros */
  opacity: 0.92;
}

.error-logo {
  height: 220px;
  width: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto 1.5rem;
}

.login-logo img {
  height: 200px;
  width: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto 1rem;
}

.admin-topbar > img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
}

.nav-brand-text .brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blanco);
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.nav-brand-text .brand-sub {
  font-size: 0.68rem;
  color: var(--dorado);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  color: rgba(255,255,255,0.82);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.875rem;
  border-radius: 6px;
  transition: var(--transicion);
  letter-spacing: 0.01em;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--dorado-claro);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 2px;
  background: var(--dorado);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: calc(100% - 1.75rem);
}

.nav-links .btn {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
}

/* Menú hamburguesa */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  border-radius: 6px;
  transition: var(--transicion);
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blanco);
  border-radius: 2px;
  transition: var(--transicion);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0; transform: scaleX(0);
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Menú móvil */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--azul-oscuro);
  padding: 1rem;
  border-top: 1px solid rgba(206,159,11,0.2);
}

.mobile-menu.active { display: flex; }

.mobile-menu a {
  color: rgba(255,255,255,0.85);
  padding: 0.875rem 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transicion);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.mobile-menu a:hover {
  color: var(--dorado-claro);
  background: rgba(206,159,11,0.08);
}

/* ── 6. HERO ────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  background: var(--azul-principal);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
}

/* Patrón geométrico sutil */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 40px,
      rgba(206, 159, 11, 0.03) 40px,
      rgba(206, 159, 11, 0.03) 41px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 40px,
      rgba(206, 159, 11, 0.03) 40px,
      rgba(206, 159, 11, 0.03) 41px
    );
  pointer-events: none;
}

/* Gradiente radial decorativo */
#hero::after {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 70vw;
  height: 70vw;
  max-width: 800px;
  max-height: 800px;
  background: radial-gradient(ellipse, rgba(206,159,11,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 4vw, 3rem);
}

.hero-text {}

.hero-text .eyebrow {
  font-size: 0.8rem;
  margin-bottom: 1.25rem;
}

.hero-text h1 {
  color: var(--blanco);
  margin-bottom: 1.5rem;
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 800;
}

.hero-text h1 span {
  color: var(--dorado-claro);
  display: block;
}

.hero-subtext {
  color: rgba(255,255,255,0.78);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  margin-bottom: 2.5rem;
  line-height: 1.8;
  max-width: 480px;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-versiculo {
  border-left: 3px solid var(--dorado);
  padding-left: 1.25rem;
  color: rgba(255,255,255,0.65);
  font-style: italic;
  font-size: 0.925rem;
  line-height: 1.8;
}

.hero-versiculo cite {
  display: block;
  font-style: normal;
  color: var(--dorado);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  margin-top: 0.5rem;
}

/* Escudo hero derecho */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-shield-wrap {
  position: relative;
  width: clamp(500px, 55vw, 680px);
}

.hero-shield-wrap::before {
  content: '';
  position: absolute;
  inset: -20%;
  background: radial-gradient(ellipse, rgba(206,159,11,0.15) 0%, transparent 70%);
  animation: pulse-glow 4s ease-in-out infinite;
}

.hero-shield-wrap img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 40px rgba(206,159,11,0.25));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce-subtle 2s ease-in-out infinite;
}

.scroll-indicator svg {
  width: 20px;
  height: 20px;
  opacity: 0.5;
}

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

/* ── 7. BARRA DE VERSÍCULO ─────────────────────────────────── */
#versiculo-barra {
  background: var(--azul-negro);
  border-top: 1px solid rgba(206,159,11,0.2);
  border-bottom: 1px solid rgba(206,159,11,0.2);
  padding: 1.25rem 0;
  overflow: hidden;
}

.versiculo-rotativo {
  text-align: center;
  position: relative;
  min-height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.versiculo-item {
  position: absolute;
  width: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0 2rem;
}

.versiculo-item.active { opacity: 1; position: relative; }

.versiculo-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--dorado);
}

.versiculo-item p {
  color: rgba(255,255,255,0.85);
  font-style: italic;
  font-size: 0.925rem;
}

.versiculo-item span {
  color: var(--dorado);
  font-weight: 600;
  font-size: 0.8rem;
  white-space: nowrap;
}

/* ── 8. HORARIOS ────────────────────────────────────────────── */
#horarios {
  background: var(--gris-claro);
}

.horarios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 0;
}

.horario-card {
  background: var(--blanco);
  border-radius: var(--radio-grande);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--sombra-suave);
  transition: var(--transicion);
  border: 1px solid rgba(0,20,91,0.06);
  position: relative;
  overflow: hidden;
}

.horario-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--dorado), var(--dorado-claro));
}

.horario-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sombra-dorada);
}

.horario-icon {
  width: 56px;
  height: 56px;
  background: var(--dorado-suave);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.horario-icon svg {
  width: 26px;
  height: 26px;
  color: var(--dorado);
}

.horario-dia {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dorado);
  margin-bottom: 0.5rem;
}

.horario-card h3 {
  color: var(--azul-principal);
  margin-bottom: 0.5rem;
  font-size: 1.35rem;
}

.horario-hora {
  font-size: 2rem;
  font-weight: 800;
  color: var(--azul-negro);
  font-family: 'Playfair Display', serif;
  margin-bottom: 0.75rem;
}

.horario-desc {
  color: var(--gris-texto);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ── 9. NOSOTROS ────────────────────────────────────────────── */
#nosotros {
  background: var(--blanco);
}

.nosotros-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.nosotros-image-wrap {
  position: relative;
}

.nosotros-img-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--radio-grande);
  background: linear-gradient(135deg, var(--azul-principal) 0%, var(--azul-negro) 60%, rgba(206,159,11,0.3) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.nosotros-img-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h60v60H0z' fill='none'/%3E%3Cpath d='M30 5 L55 17 L55 43 L30 55 L5 43 L5 17 Z' fill='none' stroke='rgba(206,159,11,0.08)' stroke-width='1'/%3E%3C/svg%3E") repeat;
}

.nosotros-img-inner {
  text-align: center;
  position: relative;
  z-index: 2;
}

.nosotros-img-inner img {
  width: 100px;
  margin: 0 auto 1rem;
  opacity: 0.9;
}

.nosotros-img-inner p {
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
}

/* Badge flotante */
.nosotros-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: linear-gradient(135deg, var(--dorado), var(--dorado-claro));
  color: var(--negro);
  border-radius: var(--radio);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--sombra-dorada);
  text-align: center;
}

.nosotros-badge .num {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
}

.nosotros-badge .label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

.nosotros-text { padding-left: 1rem; }

.nosotros-text h2 {
  color: var(--azul-principal);
  margin-bottom: 1.25rem;
}

.nosotros-text .lead {
  font-size: 1.1rem;
  color: var(--gris-texto);
  line-height: 1.85;
  margin-bottom: 2rem;
}

.vmv-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.vmv-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.vmv-icon {
  width: 40px;
  height: 40px;
  background: var(--dorado-suave);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.vmv-icon svg {
  width: 20px;
  height: 20px;
  color: var(--dorado);
}

.vmv-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--azul-principal);
  margin-bottom: 0.35rem;
  font-family: 'Inter', sans-serif;
}

.vmv-item p {
  color: var(--gris-texto);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ── 10. MINISTERIOS ────────────────────────────────────────── */
#ministerios {
  background: var(--azul-negro);
}

.ministerios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.ministerio-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(206,159,11,0.15);
  border-radius: var(--radio-grande);
  padding: 2.5rem 2rem;
  transition: var(--transicion);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: block;
  text-decoration: none;
}

.ministerio-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(206,159,11,0.07), transparent);
  opacity: 0;
  transition: var(--transicion);
}

.ministerio-card:hover {
  transform: translateY(-6px);
  border-color: rgba(206,159,11,0.4);
  background: rgba(255,255,255,0.07);
}

.ministerio-card:hover::before { opacity: 1; }

.ministerio-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--dorado), var(--dorado-claro));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.ministerio-icon svg {
  width: 28px;
  height: 28px;
  color: var(--negro);
}

.ministerio-card h3 {
  color: var(--blanco);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.ministerio-card p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.ministerio-link-cta {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--dorado);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: var(--transicion);
  position: relative;
  z-index: 2;
}

.ministerio-card:hover .ministerio-link-cta {
  color: var(--dorado-claro);
  transform: translateX(4px);
}

/* ── 11. PRÉDICAS ───────────────────────────────────────────── */
#predicaciones {
  background: var(--gris-claro);
}

.predicaciones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.predica-card {
  background: var(--blanco);
  border-radius: var(--radio-grande);
  overflow: hidden;
  box-shadow: var(--sombra-suave);
  transition: var(--transicion);
  display: flex;
  flex-direction: column;
}

.predica-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,20,91,0.15);
}

.predica-thumbnail {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--azul-principal) 0%, var(--azul-negro) 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.predica-thumbnail::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='20' cy='20' r='18' fill='none' stroke='rgba(206,159,11,0.06)' stroke-width='1'/%3E%3C/svg%3E") repeat;
}

.play-btn {
  width: 56px;
  height: 56px;
  background: rgba(206,159,11,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transicion);
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 2;
}

.play-btn svg {
  width: 22px;
  height: 22px;
  color: var(--negro);
  margin-left: 3px;
}

.play-btn:hover {
  background: var(--dorado-claro);
  transform: scale(1.1);
}

.predica-dur {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  background: rgba(0,0,0,0.7);
  color: var(--blanco);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}

.predica-cat {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--dorado);
  color: var(--negro);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.predica-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.predica-pastor {
  font-size: 0.8rem;
  color: var(--dorado);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.predica-body h3 {
  color: var(--azul-principal);
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.predica-body p {
  color: var(--gris-texto);
  font-size: 0.875rem;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1.5rem;
}

.predica-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid rgba(0,20,91,0.08);
}

.predica-fecha {
  font-size: 0.8rem;
  color: var(--gris-texto);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.predica-fecha svg {
  width: 14px;
  height: 14px;
}

/* ── 12. ESTADÍSTICAS ───────────────────────────────────────── */
#estadisticas {
  background: linear-gradient(135deg, var(--azul-principal) 0%, var(--azul-negro) 100%);
  position: relative;
  overflow: hidden;
}

#estadisticas::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(206,159,11,0.08) 0%, transparent 50%),
                    radial-gradient(circle at 80% 50%, rgba(206,159,11,0.05) 0%, transparent 50%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.stat-item {
  text-align: center;
  padding: 2rem 1rem;
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--dorado-claro);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
}

/* Divisor entre stats */
.stat-item + .stat-item {
  border-left: 1px solid rgba(206,159,11,0.15);
}

/* ── 13. EVENTOS ────────────────────────────────────────────── */
#eventos {
  background: var(--blanco);
}

.eventos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}

.evento-card {
  background: var(--blanco);
  border-radius: var(--radio-grande);
  border: 1px solid rgba(0,20,91,0.08);
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  transition: var(--transicion);
  box-shadow: var(--sombra-suave);
}

.evento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(206,159,11,0.3);
  box-shadow: var(--sombra-dorada);
}

.evento-fecha-badge {
  background: linear-gradient(135deg, var(--azul-principal), var(--azul-negro));
  color: var(--blanco);
  border-radius: 10px;
  padding: 0.875rem;
  text-align: center;
  min-width: 64px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.evento-fecha-badge .dia {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
  color: var(--dorado-claro);
}

.evento-fecha-badge .mes {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.8;
  margin-top: 0.2rem;
}

.evento-info {}
.evento-cat {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--dorado);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.4rem;
}

.evento-info h3 {
  color: var(--azul-principal);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.evento-info p {
  color: var(--gris-texto);
  font-size: 0.875rem;
  line-height: 1.65;
  margin-bottom: 0.75rem;
}

.evento-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.evento-meta span {
  font-size: 0.78rem;
  color: var(--gris-texto);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.evento-meta svg { width: 13px; height: 13px; }

/* ── 14. PETICIÓN DE ORACIÓN ────────────────────────────────── */
#oracion {
  background: var(--azul-negro);
  position: relative;
  overflow: hidden;
}

#oracion::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 10 L70 25 L70 55 L40 70 L10 55 L10 25 Z' fill='none' stroke='rgba(206,159,11,0.04)' stroke-width='1'/%3E%3C/svg%3E") repeat;
}

.oracion-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.oracion-text h2 { color: var(--blanco); margin-bottom: 1.25rem; }

.oracion-text p {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 1.5rem;
}

.oracion-text .versiculo-card {
  border-left: 3px solid var(--dorado);
  padding-left: 1.25rem;
  color: rgba(255,255,255,0.6);
  font-style: italic;
  font-size: 0.925rem;
  line-height: 1.8;
}

/* Formulario de oración */
.oracion-form-wrap {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(206,159,11,0.2);
  border-radius: var(--radio-grande);
  padding: 2.5rem;
  backdrop-filter: blur(10px);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(206,159,11,0.25);
  border-radius: 8px;
  padding: 0.875rem 1rem;
  color: var(--blanco);
  font-family: 'Inter', sans-serif;
  font-size: 0.925rem;
  transition: var(--transicion);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.3);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--dorado);
  background: rgba(255,255,255,0.1);
  box-shadow: 0 0 0 3px rgba(206,159,11,0.15);
}

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

.form-group select { color: rgba(255,255,255,0.7); }
.form-group select option { background: var(--azul-oscuro); color: var(--blanco); }

/* Formulario claro */
.form-light .form-group label { color: var(--azul-principal); }
.form-light .form-group input,
.form-light .form-group textarea,
.form-light .form-group select {
  background: var(--blanco);
  border-color: rgba(0,20,91,0.15);
  color: var(--azul-negro);
}
.form-light .form-group input::placeholder,
.form-light .form-group textarea::placeholder { color: #9ca3af; }
.form-light .form-group input:focus,
.form-light .form-group textarea:focus {
  border-color: var(--azul-principal);
  box-shadow: 0 0 0 3px rgba(0,20,91,0.1);
}

/* ── 15. DONACIONES ─────────────────────────────────────────── */
#donaciones {
  background: var(--gris-claro);
}

.donaciones-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.donaciones-inner .eyebrow { margin-bottom: 0.75rem; }
.donaciones-inner h2 { color: var(--azul-principal); margin-bottom: 1.25rem; }

.donaciones-versiculo {
  background: var(--blanco);
  border-radius: var(--radio);
  padding: 1.75rem 2rem;
  margin: 1.5rem auto 2.5rem;
  border-left: 4px solid var(--dorado);
  text-align: left;
  box-shadow: var(--sombra-suave);
}

.donaciones-versiculo p {
  font-style: italic;
  color: var(--gris-texto);
  font-size: 1.05rem;
  line-height: 1.8;
}

.donaciones-versiculo cite {
  display: block;
  font-style: normal;
  color: var(--dorado);
  font-weight: 700;
  font-size: 0.85rem;
  margin-top: 0.75rem;
  letter-spacing: 0.05em;
}

.donaciones-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}

/* ── 16. MAPA Y CONTACTO ────────────────────────────────────── */
#contacto {
  background: var(--blanco);
}

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contacto-info h2 { color: var(--azul-principal); margin-bottom: 1.25rem; }

.contacto-info p {
  color: var(--gris-texto);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.contacto-items {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.contacto-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contacto-item-icon {
  width: 44px;
  height: 44px;
  background: var(--dorado-suave);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contacto-item-icon svg {
  width: 20px;
  height: 20px;
  color: var(--dorado);
}

.contacto-item-text h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--azul-principal);
  margin-bottom: 0.25rem;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contacto-item-text p,
.contacto-item-text a {
  color: var(--gris-texto);
  font-size: 0.925rem;
  line-height: 1.6;
}

.contacto-item-text a:hover { color: var(--dorado); }

.redes-sociales {
  display: flex;
  gap: 0.75rem;
}

.red-social-btn {
  width: 42px;
  height: 42px;
  background: var(--azul-principal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transicion);
  border: 2px solid transparent;
}

.red-social-btn:hover {
  background: var(--dorado);
  border-color: var(--dorado);
  transform: translateY(-3px);
}

.red-social-btn svg {
  width: 18px;
  height: 18px;
  color: var(--blanco);
}

.red-social-btn:hover svg { color: var(--negro); }

.mapa-wrap {
  border-radius: var(--radio-grande);
  overflow: hidden;
  box-shadow: var(--sombra-suave);
  border: 1px solid rgba(0,20,91,0.08);
  height: 100%;
  min-height: 450px;
}

.mapa-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 450px;
  border: 0;
  display: block;
}

/* ── 17. FOOTER ─────────────────────────────────────────────── */
#footer {
  background: var(--azul-negro);
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(206,159,11,0.15);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 2rem;
}

.footer-brand img,
.logo-footer {
  height: 54px;
  width: auto;
  opacity: 0.92;
  object-fit: contain;
  display: block;
  margin-bottom: 1rem;
}

.footer-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--blanco);
  margin-bottom: 0.25rem;
}

.footer-brand-sub {
  font-size: 0.7rem;
  color: var(--dorado);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  max-width: 280px;
}

.footer-col h4 {
  color: var(--blanco);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.25rem;
  font-family: 'Inter', sans-serif;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
  transition: var(--transicion);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-col ul li a::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--dorado);
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0;
  transition: var(--transicion);
}

.footer-col ul li a:hover {
  color: var(--dorado-claro);
  padding-left: 4px;
}

.footer-col ul li a:hover::before { opacity: 1; }

.footer-horarios li {
  color: rgba(255,255,255,0.55);
  font-size: 0.875rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
}

.footer-horarios li .dia-footer {
  color: var(--dorado);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: rgba(255,255,255,0.35);
  font-size: 0.8rem;
}

.footer-bottom p span { color: var(--dorado); }

/* ── 18. ANIMACIONES AL SCROLL ─────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
.fade-in-delay-5 { transition-delay: 0.5s; }

/* ── 19. NOTIFICACIÓN TOAST ─────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--azul-principal);
  color: var(--blanco);
  padding: 1rem 1.5rem;
  border-radius: 10px;
  box-shadow: var(--sombra-suave);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 4px solid var(--dorado);
  font-size: 0.9rem;
  max-width: 340px;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast.success { border-left-color: #10b981; }
.toast.error { border-left-color: #ef4444; }

/* ── 20. PÁGINA INTERIOR — HERO PEQUEÑO ────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--azul-principal) 0%, var(--azul-negro) 100%);
  padding: 8rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, transparent, transparent 40px, rgba(206,159,11,0.03) 40px, rgba(206,159,11,0.03) 41px),
    repeating-linear-gradient(-45deg, transparent, transparent 40px, rgba(206,159,11,0.03) 40px, rgba(206,159,11,0.03) 41px);
}

.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--blanco); margin-bottom: 1rem; }
.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  margin-top: 0.75rem;
}

.page-hero .breadcrumb a { color: var(--dorado); transition: var(--transicion); }
.page-hero .breadcrumb a:hover { color: var(--dorado-claro); }

/* ── 21. ADMIN / VERIFICAR ─────────────────────────────────── */
/* Estilos específicos en páginas internas */

/* Badge de estado de documentos */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
}

.badge-valid {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-invalid {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge-pending {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

/* ── 22. RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

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

  .nav-inner {
    height: 76px;
  }

  .nav-brand img,
  .logo-header {
    height: 48px !important;
  }

  .footer-brand img,
  .logo-footer {
    height: 44px;
  }

  .logo-section {
    height: 100px;
    max-width: 160px;
  }

  .logo-cta {
    height: 88px;
    max-width: 140px;
  }

  .error-logo {
    height: 80px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 2rem;
  }

  .hero-visual { order: -1; }
  .hero-shield-wrap { width: 200px; }
  .hero-subtext { margin: 0 auto 2rem; }
  .hero-btns { justify-content: center; }
  .hero-versiculo { text-align: left; }

  .nosotros-grid { grid-template-columns: 1fr; }
  .nosotros-text { padding-left: 0; }
  .nosotros-badge { display: none; }

  .oracion-content { grid-template-columns: 1fr; }
  .contacto-grid { grid-template-columns: 1fr; }

  .stat-item + .stat-item { border-left: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(206,159,11,0.15); }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .versiculo-item {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
    padding: 0 1rem;
  }

  .evento-card { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero-btns { flex-direction: column; width: 100%; }
  .btn { justify-content: center; }
  .horarios-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ── 23. UTILIDADES ─────────────────────────────────────────── */
.text-gold { color: var(--dorado); }
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-0 { margin-bottom: 0; }

.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(206,159,11,0.3), transparent);
  margin: 1rem 0;
}

/* Modo de impresión para documentos */
@media print {
  #navbar, .scroll-indicator, .hero-btns, #oracion, #estadisticas { display: none; }
}
