/* ==========================================================================
   KAYROS CENTER - SISTEMA DE DISEÑO MINIMALISTA (CSS)
   Colores: Blanco, Gris y Negro con micro-acentos de marca
   Tipografía: Plus Jakarta Sans & Inter
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
  /* Paleta Base & Acentos Vibrantes de Kayros */
  --bg-white: #FFFFFF;
  --bg-subtle: #F8FAFC;
  --bg-alt: #F1F5F9;
  --bg-dark: #0B1938;
  --bg-darker: #060D1F;
  
  /* Textos */
  --text-primary: #0F172A;
  --text-muted: #475569;
  --text-light: #64748B;
  --text-on-dark: #F8FAFC;
  --text-on-dark-muted: #94A3B8;

  /* Bordes & Sombras */
  --border-color: #E2E8F0;
  --border-light: #F1F5F9;
  --border-dark: #1E293B;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(22, 55, 128, 0.08), 0 8px 10px -6px rgba(24, 176, 199, 0.05);
  --shadow-lg: 0 20px 40px -10px rgba(22, 55, 128, 0.14), 0 10px 20px -5px rgba(24, 176, 199, 0.1);
  --shadow-glow: 0 0 25px rgba(24, 176, 199, 0.35);

  /* Acentos de Marca Oficiales Kayros */
  --brand-blue: #163780;
  --brand-blue-hover: #102A63;
  --brand-cyan: #18B0C7;
  --brand-cyan-light: #E0F7FA;
  --brand-gradient: linear-gradient(135deg, #163780 0%, #18B0C7 100%);
  --brand-gradient-hover: linear-gradient(135deg, #0F2557 0%, #139CB1 100%);
  
  /* Colores de Prosperidad y Acento */
  --accent-emerald: #10B981;
  --accent-emerald-gradient: linear-gradient(135deg, #059669 0%, #10B981 50%, #14B8A6 100%);
  --accent-amber: #F59E0B;
  --accent-amber-gradient: linear-gradient(135deg, #D97706 0%, #F59E0B 100%);
  --brand-gradient-subtle: linear-gradient(135deg, rgba(22, 55, 128, 0.08) 0%, rgba(24, 176, 199, 0.16) 100%);
  --shadow-brand-hover: 0 16px 36px -8px rgba(22, 55, 128, 0.18), 0 6px 16px -4px rgba(24, 176, 199, 0.22);
  --shadow-emerald-hover: 0 16px 36px -8px rgba(5, 150, 105, 0.18), 0 6px 16px -4px rgba(16, 185, 129, 0.22);
  --brand-whatsapp: #25D366;
  --brand-whatsapp-hover: #1EBE5D;

  /* Tipografía */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --container-max: 1200px;
  --header-height: 80px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  --transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   ANIMACIONES CLAVE DE MARCA (Vibrantes & Modernas)
   ========================================================================== */
@keyframes pulseGlow {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(24, 176, 199, 0.6);
  }
  50% {
    transform: scale(1.22);
    box-shadow: 0 0 12px 3px rgba(24, 176, 199, 0.85);
  }
}

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

.gradient-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--bg-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

/* Tipografía Editorial */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.75rem);
}

h3 {
  font-size: 1.4rem;
  font-weight: 700;
}

p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Contenedores */
.container {
  width: 90%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-subtle {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-dark {
  background-color: var(--bg-dark);
  color: var(--text-on-dark);
}

.section-dark h1,
.section-dark h2,
.section-dark h3 {
  color: var(--text-on-dark);
}

.section-dark p {
  color: var(--text-on-dark-muted);
}

/* Card Grids & Generic Feature Cards */
.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.feature-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  background: var(--brand-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-brand-hover);
  border-color: rgba(24, 176, 199, 0.5);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(22, 55, 128, 0.1) 0%, rgba(24, 176, 199, 0.18) 100%);
  color: #163780;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 20px;
  border: 1px solid rgba(24, 176, 199, 0.25);
  transition: var(--transition);
}

.feature-card:hover .card-icon {
  background: var(--brand-gradient);
  color: #ffffff;
  transform: scale(1.08) rotate(3deg);
  box-shadow: 0 6px 18px rgba(24, 176, 199, 0.35);
}

.feature-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Encabezados de Sección */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}

.section-header.text-left {
  text-align: left;
  margin-left: 0;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(22, 55, 128, 0.08) 0%, rgba(24, 176, 199, 0.14) 100%);
  border: 1px solid rgba(24, 176, 199, 0.35);
  color: #163780;
  margin-bottom: 18px;
  box-shadow: 0 2px 8px rgba(24, 176, 199, 0.1);
}

.eyebrow-pill::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #18B0C7;
  box-shadow: 0 0 8px #18B0C7;
  display: inline-block;
  animation: pulseGlow 2.4s infinite ease-in-out;
}

.eyebrow-pill.pill-dark {
  background: linear-gradient(135deg, rgba(24, 176, 199, 0.2) 0%, rgba(255, 255, 255, 0.08) 100%);
  border-color: rgba(24, 176, 199, 0.4);
  color: #67E8F9;
}

.section-header h2 {
  margin-bottom: 16px;
}

/* Botones */
.btn-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  text-align: center;
  letter-spacing: -0.01em;
}

.btn-pill {
  border-radius: 9999px !important;
}

.btn-primary {
  background: var(--brand-gradient);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 15px rgba(24, 176, 199, 0.32);
}

.btn-primary:hover {
  background: var(--brand-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(24, 176, 199, 0.45);
}

.btn-outline {
  background-color: transparent;
  color: #163780;
  border: 1.5px solid rgba(24, 176, 199, 0.6);
}

.btn-outline:hover {
  border-color: #18B0C7;
  background: linear-gradient(135deg, rgba(22, 55, 128, 0.05), rgba(24, 176, 199, 0.12));
  color: #163780;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(24, 176, 199, 0.15);
}

.btn-white {
  background-color: var(--bg-white);
  color: var(--bg-dark);
  border-color: var(--bg-white);
}

.btn-white:hover {
  background-color: #E9ECEF;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: var(--brand-whatsapp);
  color: #FFFFFF;
  border-color: var(--brand-whatsapp);
}

.btn-whatsapp:hover {
  background-color: var(--brand-whatsapp-hover);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.85rem;
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
  z-index: 1000;
  transition: var(--transition);
}

.site-header.scrolled {
  height: 70px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.05);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header-brand {
  display: flex;
  align-items: center;
}

.header-brand .logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover {
  color: #18B0C7;
}

.nav-link.active {
  color: #163780;
  font-weight: 600;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: var(--brand-gradient);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  margin: 5px 0;
  transition: var(--transition);
}

/* ==========================================================================
   PÁGINAS INTERNAS: HERO HEADER (.hero)
   ========================================================================== */
.hero {
  position: relative;
  background: radial-gradient(circle at 50% 15%, rgba(24, 176, 199, 0.09) 0%, rgba(22, 55, 128, 0.04) 55%, #FFFFFF 100%);
  padding: 80px 0 65px;
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 3px;
  background: var(--brand-gradient);
  border-radius: 3px;
}

.hero-content {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: clamp(2.3rem, 4.4vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0F172A;
  margin-bottom: 18px;
  line-height: 1.15;
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  line-height: 1.65;
  max-width: 740px;
  margin: 0 auto 32px;
}

.hero-content .eyebrow-pill {
  margin-bottom: 20px;
}

/* ==========================================================================
   HERO BANNER SLIDER PRINCIPAL
   ========================================================================== */
.hero-slider-section {
  position: relative;
  overflow: hidden;
  background: #0E131F;
  color: #FFFFFF;
  width: 100%;
}

.hero-slider {
  position: relative;
  width: 100%;
  min-height: clamp(560px, 82vh, 800px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0 100px;
  box-sizing: border-box;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-slide-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.05);
  transition: transform 7s cubic-bezier(0.25, 1, 0.5, 1);
  display: block;
}

.hero-slide.active .hero-bg-img {
  transform: scale(1);
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 19, 31, 0.58) 0%, rgba(14, 19, 31, 0.84) 100%);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  z-index: 2;
}

.hero-slide-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 940px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-slide-content .eyebrow-pill {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
}

.hero-slide-content h1 {
  color: #FFFFFF;
  margin-bottom: 22px;
  font-size: clamp(2.3rem, 4.4vw, 3.8rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

.hero-slide-content .hero-subtitle {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.6;
  max-width: 740px;
  margin: 0 auto 36px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.hero-slide-content .btn-primary {
  background: var(--brand-cyan);
  color: #0E131F;
  font-weight: 700;
  border: 1px solid var(--brand-cyan);
}

.hero-slide-content .btn-primary:hover {
  background: #38BDF8;
  border-color: #38BDF8;
  color: #0E131F;
}

.hero-slide-content .btn-outline {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.45);
  color: #FFFFFF;
  backdrop-filter: blur(6px);
}

.hero-slide-content .btn-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #FFFFFF;
  color: #FFFFFF;
}

.hero-actions {
  justify-content: center;
  margin-bottom: 20px;
}

/* Slider Controls */
.hero-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(14, 19, 31, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: var(--transition);
  backdrop-filter: blur(8px);
  font-size: 1.4rem;
  line-height: 1;
}

.hero-slider-arrow:hover {
  background: var(--brand-cyan);
  border-color: var(--brand-cyan);
  color: #0E131F;
}

.hero-slider-arrow.prev { left: 24px; }
.hero-slider-arrow.next { right: 24px; }

.hero-slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}

.slider-dot {
  width: 28px;
  height: 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  width: 48px;
  background: var(--brand-cyan);
}

/* Floating Bridge for Quick Info Bar (Estilo The Sanctuary Church) */
.hero-info-bridge {
  position: relative;
  z-index: 10;
  margin-top: -65px;
  padding: 0 20px 36px;
}

/* Quick Info Bar */
.quick-info-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 22px;
  padding: 28px 36px;
  box-shadow: 0 20px 45px -12px rgba(15, 23, 42, 0.08), 0 4px 12px rgba(0, 0, 0, 0.02);
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.quick-info-bar:hover {
  box-shadow: 0 24px 50px -10px rgba(15, 23, 42, 0.12);
}

.info-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.info-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.info-item:hover .info-icon {
  transform: scale(1.08);
  background: rgba(24, 176, 199, 0.1);
  border-color: rgba(24, 176, 199, 0.4);
}

.info-text strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.98rem;
  color: #0F172A;
  margin-bottom: 3px;
  letter-spacing: -0.01em;
}

.info-text span {
  font-size: 0.88rem;
  color: #64748B;
  line-height: 1.45;
}

/* ==========================================================================
   CLEAN UI FEATURES & VALUES SECTION (Estilo The Sanctuary Church)
   ========================================================================== */
.clean-features-section {
  background-color: #FAFAFC;
  color: #0F172A;
  padding: 120px 0 110px;
  position: relative;
  border-top: 1px solid #F1F5F9;
  border-bottom: 1px solid #E2E8F0;
}

.clean-features-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 64px;
}

.clean-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(22, 55, 128, 0.08) 0%, rgba(24, 176, 199, 0.14) 100%);
  color: #163780;
  border: 1px solid rgba(24, 176, 199, 0.35);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 9999px;
  margin-bottom: 20px;
}

.clean-features-header h2 {
  font-size: clamp(2.2rem, 3.6vw, 3rem);
  color: #0F172A;
  letter-spacing: -0.035em;
  line-height: 1.18;
  margin-bottom: 18px;
}

.clean-features-header p {
  font-size: 1.08rem;
  color: #475569;
  line-height: 1.7;
  max-width: 760px;
  margin: 0 auto;
}

/* Grilla Superior (Servicio y Bienvenida - 3 Columnas) */
.features-top-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 64px;
}

.feature-clean-card {
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 20px;
  padding: 42px 34px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
}

.feature-clean-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  background: var(--brand-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-clean-card:hover::before {
  opacity: 1;
}

.feature-clean-card:hover {
  transform: translateY(-6px);
  border-color: #18B0C7;
  box-shadow: 0 20px 35px -8px rgba(15, 23, 42, 0.08), 0 8px 16px -4px rgba(22, 55, 128, 0.04);
}

.feature-clean-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  border: 1.5px solid rgba(24, 176, 199, 0.4);
  background: linear-gradient(135deg, rgba(22, 55, 128, 0.08) 0%, rgba(24, 176, 199, 0.15) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.feature-clean-icon svg {
  stroke: #163780;
}

.feature-clean-card:hover .feature-clean-icon {
  background: var(--brand-gradient);
  border-color: transparent;
  transform: scale(1.06);
  box-shadow: 0 8px 20px rgba(24, 176, 199, 0.35);
}

.feature-clean-card:hover .feature-clean-icon svg {
  stroke: #FFFFFF;
}

.feature-clean-card h3 {
  font-size: 1.32rem;
  font-weight: 700;
  color: #0F172A;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.feature-clean-card p {
  font-size: 0.98rem;
  color: #475569;
  line-height: 1.7;
  margin: 0;
}

/* Divisor Tipográfico Sutil para Valores */
.clean-section-divider {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 48px;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: #E2E8F0;
}

.divider-text {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748B;
  background: #FFFFFF;
  padding: 6px 16px;
  border-radius: 9999px;
  border: 1px solid #E2E8F0;
}

/* Grilla Inferior (Valores Centrales - 4 Columnas) */
.features-bottom-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.clean-value-card {
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 18px;
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.03);
}

.clean-value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.clean-value-card:hover::before {
  opacity: 1;
}

.clean-value-card:hover {
  transform: translateY(-5px);
  border-color: #18B0C7;
  box-shadow: 0 16px 30px -6px rgba(15, 23, 42, 0.07);
}

.clean-value-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.clean-value-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1.5px solid rgba(24, 176, 199, 0.4);
  background: linear-gradient(135deg, rgba(22, 55, 128, 0.08) 0%, rgba(24, 176, 199, 0.15) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.clean-value-icon svg {
  stroke: #163780;
}

.clean-value-card:hover .clean-value-icon {
  background: var(--brand-gradient);
  border-color: transparent;
}

.clean-value-card:hover .clean-value-icon svg {
  stroke: #FFFFFF;
}

.clean-value-header h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0F172A;
  letter-spacing: -0.01em;
  margin: 0;
}

.clean-value-card p {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.65;
  margin: 0;
}

/* Fila de Botones de Conversión */
.features-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 10px;
}

.btn-clean-solid {
  background: var(--brand-gradient);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 15px 34px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.96rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(24, 176, 199, 0.32);
}

.btn-clean-solid:hover {
  background: var(--brand-gradient-hover);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(24, 176, 199, 0.45);
}

.btn-clean-outline {
  background: #FFFFFF;
  color: #163780;
  border: 1.5px solid #18B0C7;
  padding: 15px 34px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.96rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.btn-clean-outline:hover {
  background: linear-gradient(135deg, rgba(22, 55, 128, 0.05), rgba(24, 176, 199, 0.12));
  color: #163780;
  border-color: #18B0C7;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(24, 176, 199, 0.15);
}

/* ==========================================================================
   PASTORES SECTION (REV. MAURICIO SILVA & PS. DIANA PÉREZ)
   ========================================================================== */
.pastores-section {
  background: #FFFFFF;
  padding: 120px 0;
  position: relative;
  border-top: 1px solid #F1F5F9;
  border-bottom: 1px solid #E2E8F0;
}

.pastores-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 70px;
}

.pastores-img-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(226, 232, 240, 0.85);
  background: var(--bg-subtle);
}

.pastores-img-card img {
  width: 100%;
  height: auto;
  max-height: 580px;
  display: block;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.pastores-img-card:hover img {
  transform: scale(1.03);
}

.pastores-badge-overlay {
  position: absolute;
  bottom: 22px;
  left: 22px;
  right: 22px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 18px 22px;
  color: #FFFFFF;
}

.pastores-badge-overlay strong {
  display: block;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: #FFFFFF;
  margin-bottom: 3px;
}

.pastores-badge-overlay span {
  font-size: 0.82rem;
  color: var(--brand-cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.pastores-intro-text h3 {
  margin-bottom: 18px;
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: #0F172A;
}

.pastores-intro-text p {
  color: #475569;
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 18px;
}

.pastores-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 28px 0;
}

.pillar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  transition: var(--transition);
}

.pillar-item:hover {
  background: #FFFFFF;
  border-color: #CBD5E1;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.pillar-item .pillar-icon {
  font-size: 1.3rem;
  line-height: 1;
}

.pillar-item span {
  font-size: 0.92rem;
  font-weight: 600;
  color: #0F172A;
}

/* Individual Pastor Profiles Grid */
.pastor-profiles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  margin-top: 40px;
}

.pastor-card {
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 22px;
  padding: 42px 36px;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
  position: relative;
}

.pastor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 35px -8px rgba(15, 23, 42, 0.08);
  border-color: rgba(24, 176, 199, 0.4);
}

.pastor-card-header {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 24px;
}

.pastor-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 3px solid #FFFFFF;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.12);
  flex-shrink: 0;
}

.pastor-header-meta h3 {
  font-size: 1.4rem;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
  color: #0F172A;
}

.pastor-role-tag {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 6px;
  border: 1px solid transparent;
}

.pastor-role-tag.tag-theology {
  background: rgba(20, 168, 204, 0.1);
  color: #0B728C;
  border-color: rgba(20, 168, 204, 0.3);
}

.pastor-role-tag.tag-psychology {
  background: rgba(27, 67, 147, 0.1);
  color: #1B4393;
  border-color: rgba(27, 67, 147, 0.3);
}

/* Institutional / Academic Badges */
.academic-badges-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}

.academic-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 10px 16px;
  transition: all 0.2s ease;
}

.academic-badge:hover {
  background: #ffffff;
  border-color: #CBD5E1;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.academic-badge .uchile-seal,
.academic-badge .badge-logo-img {
  width: auto;
  height: auto;
  max-width: 58px;
  max-height: 38px;
  flex-shrink: 0;
  object-fit: contain;
}

.academic-badge .psychology-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(27, 67, 147, 0.12);
  color: #1B4393;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.academic-badge-info strong {
  display: block;
  font-size: 0.92rem;
  color: #0F172A;
  line-height: 1.3;
}

.academic-badge-info span {
  display: block;
  font-size: 0.82rem;
  color: #64748B;
  margin-top: 2px;
}

.pastor-bio {
  font-size: 0.96rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 24px;
  flex-grow: 1;
}

.pastor-specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid #E2E8F0;
}

.specialty-pill {
  font-size: 0.78rem;
  padding: 5px 12px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 9999px;
  color: #475569;
  font-weight: 500;
}

/* ==========================================================================
   SECCIÓN ÚLTIMOS MENSAJES (Reproductor de Video Dinámico - Estilo The Sanctuary)
   ========================================================================== */
.video-feature-wrapper {
  max-width: 1040px;
  margin: 0 auto;
}

.video-player-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 22px;
  background: #000000;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  margin-bottom: 30px;
  border: 1px solid rgba(226, 232, 240, 0.85);
}

.video-player-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.featured-video-meta {
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 18px;
  padding: 26px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
}

.featured-video-meta h3 {
  font-size: 1.35rem;
  margin-bottom: 4px;
  color: #0F172A;
  letter-spacing: -0.02em;
}

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

.recent-video-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 18px;
  padding: 16px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 4px 14px -2px rgba(15, 23, 42, 0.04);
}

.recent-video-card:hover {
  border-color: #18B0C7;
  transform: translateY(-4px);
  box-shadow: 0 14px 28px -4px rgba(24, 176, 199, 0.18);
}

.recent-video-card.active {
  border-color: #163780;
  background-color: #F8FAFC;
  box-shadow: 0 8px 20px -2px rgba(22, 55, 128, 0.12);
}

.video-thumb-preview {
  position: relative;
  width: 100%;
  height: 140px;
  border-radius: 12px;
  overflow: hidden;
  background: #111827;
  flex-shrink: 0;
}

.video-thumb-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 0.9rem;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.recent-video-card:hover .thumb-play-icon {
  transform: translate(-50%, -50%) scale(1.12);
  background: var(--brand-gradient);
}

.video-card-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.video-card-info .tag {
  font-size: 0.74rem;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #18B0C7;
  margin-bottom: 4px;
}

.video-card-info h4 {
  font-size: 1.02rem;
  line-height: 1.35;
  margin-bottom: 6px;
  color: #0F172A;
}

.video-card-info span {
  font-size: 0.84rem;
  color: #64748B;
}

/* ==========================================================================
   SEDES / FAMILIA KAYROS (Estilo The Sanctuary)
   ========================================================================== */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.location-card {
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 22px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
}

.location-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -4px rgba(15, 23, 42, 0.08);
  border-color: #CBD5E1;
}

.location-card.featured-main {
  grid-column: span 3;
  border: 1.5px solid rgba(22, 55, 128, 0.25);
  background: #FAFAFC;
  border-radius: 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 42px 38px;
  box-shadow: 0 12px 32px -6px rgba(22, 55, 128, 0.08);
}

.location-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 9999px;
  background: #0F172A;
  color: #FFFFFF;
  margin-bottom: 14px;
}

.location-details {
  list-style: none;
  margin: 18px 0 26px;
}

.location-details li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: #475569;
  margin-bottom: 10px;
  line-height: 1.5;
}

/* ==========================================================================
   GENEROSIDAD / DAR (Dark Island Banner - Estilo The Sanctuary)
   ========================================================================== */
.giving-box {
  background: linear-gradient(145deg, #0B1938 0%, #163780 100%);
  color: var(--text-on-dark);
  border-radius: 32px;
  padding: 84px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 60px -12px rgba(11, 25, 56, 0.4);
}

.giving-content {
  max-width: 760px;
  margin: 0 auto;
}

.giving-box h2 {
  color: #FFFFFF;
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  letter-spacing: -0.03em;
}

.giving-box p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.giving-quote {
  font-style: italic;
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 38px;
  padding: 0 24px;
  border-left: 2px solid rgba(255, 255, 255, 0.35);
  display: inline-block;
  line-height: 1.6;
}

/* ==========================================================================
   ACORDEÓN FAQ (Planifica tu visita)
   ========================================================================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
  padding: 20px 0;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  padding: 6px 0;
}

.faq-icon {
  font-size: 1.4rem;
  font-weight: 300;
  transition: transform 0.25s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-muted);
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding-top: 14px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* ==========================================================================
   TARJETAS BANCARIAS COPIABLES (Dar.html)
   ========================================================================== */
.bank-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 40px 0;
}

.bank-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: left;
  transition: var(--transition);
}

.bank-card:hover {
  border-color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.bank-card .bank-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.bank-number-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-subtle);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin: 16px 0;
}

.bank-number-box span {
  font-family: monospace;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
}

.copy-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: underline;
}

/* ==========================================================================
   FILTROS Y BUSCADOR DE GRUPOS POR BARRIO / COMUNA
   ========================================================================== */
.search-controls {
  display: flex;
  gap: 16px;
  max-width: 850px;
  margin: 0 auto 36px;
  flex-wrap: wrap;
}

.search-input-wrapper {
  flex: 2;
  min-width: 260px;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 14px 18px 14px 44px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  background: #FFFFFF;
  color: var(--text-primary);
  transition: var(--transition);
}

.search-input:focus {
  outline: none;
  border-color: #18B0C7;
  box-shadow: 0 0 0 3px rgba(24, 176, 199, 0.22);
}

.search-icon-inside {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  color: var(--text-light);
  pointer-events: none;
}

.comuna-select-wrapper {
  flex: 1;
  min-width: 180px;
}

.comuna-select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  background: #FFFFFF;
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition);
}

.comuna-select:focus {
  outline: none;
  border-color: #18B0C7;
  box-shadow: 0 0 0 3px rgba(24, 176, 199, 0.22);
}

.tag-comuna {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(22, 55, 128, 0.08) 0%, rgba(24, 176, 199, 0.16) 100%);
  color: #163780;
  border: 1px solid rgba(24, 176, 199, 0.35);
  margin-bottom: 10px;
}

.group-card-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.group-card-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.group-card-item:hover::before {
  opacity: 1;
}

.group-card-item:hover {
  transform: translateY(-5px);
  border-color: #18B0C7;
  box-shadow: var(--shadow-brand-hover);
}

.group-card-item h3 {
  color: #0F172A;
  transition: color 0.25s ease;
}

.group-card-item:hover h3 {
  color: #163780;
}

.badge-ministry {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: var(--brand-gradient);
  color: #FFFFFF;
  margin-bottom: 14px;
  box-shadow: 0 2px 10px rgba(24, 176, 199, 0.28);
}

.ministry-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.ministry-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  background: var(--brand-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.ministry-card:hover {
  transform: translateY(-5px);
  border-color: #18B0C7;
  box-shadow: var(--shadow-brand-hover);
}

.ministry-card h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.ministry-card .sub-program {
  font-size: 0.85rem;
  color: var(--brand-cyan);
  font-weight: 600;
  margin-bottom: 12px;
  display: block;
}

/* ==========================================================================
   FILTROS DE GRUPOS DE CONEXIÓN
   ========================================================================== */
.filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover {
  color: #163780;
  border-color: #18B0C7;
  background: rgba(24, 176, 199, 0.08);
}

.filter-btn.active {
  background: var(--brand-gradient);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(24, 176, 199, 0.35);
}

/* ==========================================================================
   FOOTER (Oscuro Minimalista)
   ========================================================================== */
.site-footer {
  background-color: var(--bg-darker);
  color: var(--text-on-dark-muted);
  padding: 80px 0 30px;
  border-top: 1px solid var(--border-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col .footer-logo {
  height: 44px;
  margin-bottom: 20px;
}

.footer-col p {
  color: var(--text-on-dark-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-on-dark-muted);
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: #FFFFFF;
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.92rem;
}

.footer-contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 1px;
}

.footer-contact-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.footer-icon-wa {
  color: #25D366;
}

.footer-icon-ig {
  color: #E1306C;
}

.footer-icon-yt {
  color: #FF0000;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 30px;
  border-top: 1px solid var(--border-dark);
  font-size: 0.85rem;
}

/* Botón flotante de WhatsApp */
.floating-whatsapp,
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--brand-whatsapp);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  z-index: 999;
  font-size: 1.8rem;
  transition: var(--transition);
}

.floating-whatsapp svg,
.whatsapp-float svg {
  width: 32px;
  height: 32px;
  display: block;
  fill: #FFFFFF;
}

.floating-whatsapp:hover,
.whatsapp-float:hover {
  transform: scale(1.08) translateY(-4px);
  background: var(--brand-whatsapp-hover);
}

/* ==========================================================================
   RESPONSIVE DESIGN (Media Queries)
   ========================================================================== */
@media (max-width: 992px) {
  .card-grid-3,
  .locations-grid,
  .bank-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .location-card.featured-main {
    grid-column: span 2;
    grid-template-columns: 1fr;
  }

  .pastores-hero-grid,
  .pastor-profiles-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .features-top-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .features-bottom-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  :root {
    --header-height: 70px;
  }

  .section {
    padding: 70px 0;
  }

  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: #FFFFFF;
    flex-direction: column;
    padding: 30px 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .header-actions .btn {
    display: none;
  }

  .hero-slide {
    padding: 70px 0 90px;
  }

  .hero-slide-content h1 {
    font-size: clamp(1.75rem, 6.5vw, 2.25rem);
    line-height: 1.22;
    margin-bottom: 16px;
  }

  .hero-slide-content .eyebrow-pill {
    font-size: 0.72rem;
    padding: 5px 12px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-slide-content .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 24px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-info-bridge {
    margin-top: -30px;
    padding: 0 16px 30px;
  }

  .hero-slider-arrow {
    display: none;
  }

  .quick-info-bar {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pastores-pillars {
    grid-template-columns: 1fr;
  }

  .pastor-card {
    padding: 26px 20px;
  }

  .features-bottom-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .features-cta-row {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .btn-clean-solid,
  .btn-clean-outline {
    width: 100%;
    text-align: center;
  }

  .card-grid-3,
  .card-grid-2,
  .recent-videos-grid,
  .locations-grid,
  .bank-cards-grid {
    grid-template-columns: 1fr;
  }

  .location-card.featured-main {
    grid-column: span 1;
  }

  .giving-box {
    padding: 40px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

/* ==========================================================================
   CENTRO DE RECURSOS & FINANZAS BÍBLICAS (CLEAN UI MONOCROMÁTICO)
   ========================================================================== */

/* Cards del Centro de Recursos */
.resource-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.resource-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.resource-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  background: var(--brand-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.resource-card:hover {
  transform: translateY(-5px);
  border-color: #18B0C7;
  box-shadow: var(--shadow-brand-hover);
}

.resource-card.featured {
  border: 2px solid #18B0C7;
  background: linear-gradient(180deg, #FFFFFF 0%, rgba(24, 176, 199, 0.03) 100%);
}

.resource-card.featured::before {
  opacity: 1;
}

.resource-card-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  align-self: flex-start;
}

.resource-card-badge.badge-active {
  background: var(--brand-gradient);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(24, 176, 199, 0.32);
}

.resource-card-badge.badge-soon {
  background: rgba(245, 158, 11, 0.12);
  color: #B45309;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.resource-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(22, 55, 128, 0.08) 0%, rgba(24, 176, 199, 0.16) 100%);
  border: 1px solid rgba(24, 176, 199, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  transition: var(--transition);
}

.resource-card:hover .resource-card-icon {
  transform: scale(1.08) rotate(4deg);
  box-shadow: 0 6px 18px rgba(24, 176, 199, 0.28);
}

.resource-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: #111827;
}

.resource-card p {
  color: #4b5563;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

/* Compendio Editorial de Finanzas Bíblicas */
.finance-compendium-panel {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 36px;
}

.quote-editorial-box {
  border-left: 4px solid #18B0C7;
  padding: 24px 30px;
  background: linear-gradient(135deg, rgba(22, 55, 128, 0.04) 0%, rgba(24, 176, 199, 0.08) 100%);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 28px 0;
  box-shadow: 0 4px 15px rgba(24, 176, 199, 0.08);
}

.quote-editorial-box p {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: #111827;
  line-height: 1.5;
  margin-bottom: 8px;
}

.quote-editorial-box span {
  font-size: 0.85rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* Ecuación de Prosperidad */
.equation-box {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
  margin: 30px 0;
}

@media (max-width: 768px) {
  .equation-box {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.equation-part {
  padding: 16px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-md);
}

.equation-part h4 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: #111827;
}

.equation-part p {
  font-size: 0.85rem;
  color: #6b7280;
  margin: 0;
}

.equation-sign {
  font-size: 1.8rem;
  font-weight: 800;
  color: #18B0C7;
}

/* Tabla Mentalidad Ruina vs Reino */
.culture-table-wrapper {
  overflow-x: auto;
  margin: 30px 0;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-lg);
}

.culture-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.culture-table th {
  background: var(--brand-gradient);
  color: #ffffff;
  padding: 16px 20px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.culture-table td {
  padding: 16px 20px;
  border-bottom: 1px solid #e5e7eb;
  vertical-align: top;
  color: #374151;
}

.culture-table tr:last-child td {
  border-bottom: none;
}

.culture-table tr:nth-child(even) td {
  background: #f9fafb;
}

/* Decálogo de Finanzas */
.decalogo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.decalogo-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
  transition: var(--transition);
  overflow: hidden;
}

.decalogo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.decalogo-card:hover {
  border-color: #18B0C7;
  transform: translateY(-4px);
  box-shadow: var(--shadow-brand-hover);
}

.decalogo-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 10px;
  opacity: 0.9;
}

.decalogo-card h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: #111827;
}

.decalogo-card p {
  font-size: 0.88rem;
  color: #4b5563;
  line-height: 1.5;
  margin: 0;
}

/* ==========================================
   HERRAMIENTAS INTERACTIVAS (TALLER EN VIVO)
   ========================================== */
.interactive-suite-container {
  display: flex;
  flex-direction: column;
  gap: 50px;
  margin-top: 40px;
}

.interactive-tool-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

@media (max-width: 768px) {
  .interactive-tool-card {
    padding: 24px 20px;
  }
}

.tool-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 24px;
}

.tool-header-info h3 {
  font-size: 1.6rem;
  margin-bottom: 6px;
  color: #111827;
}

.tool-header-info p {
  color: #6b7280;
  font-size: 0.95rem;
  margin: 0;
}

/* Diagnóstico 1-5 */
.diagnostic-item {
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 16px;
  background: #ffffff;
  transition: var(--transition);
}

.diagnostic-item:hover {
  border-color: #9ca3af;
}

.diagnostic-question-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 14px;
}

.diagnostic-question-text {
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  max-width: 620px;
}

.score-buttons-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.score-btn {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: #374151;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.score-btn:hover {
  border-color: #111827;
  color: #111827;
}

.score-btn.active {
  background: var(--brand-gradient);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(24, 176, 199, 0.4);
  transform: scale(1.05);
}

.diagnostic-feedback-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 10px;
  border-top: 1px dashed #e5e7eb;
}

.commitment-input {
  flex-grow: 1;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 0.88rem;
  font-family: inherit;
  color: #111827;
  transition: var(--transition);
}

.commitment-input:focus {
  outline: none;
  border-color: #18B0C7;
  box-shadow: 0 0 0 3px rgba(24, 176, 199, 0.2);
}

.status-badge {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.status-badge.solidez {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #047857;
}

.status-badge.aceptable {
  background: rgba(24, 176, 199, 0.12);
  border: 1px solid rgba(24, 176, 199, 0.4);
  color: #0E7490;
}

.status-badge.atencion {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #B45309;
}

/* Tarjeta Promedio Diagnóstico */
.diagnostic-summary-card {
  background: linear-gradient(135deg, #0B1938 0%, #163780 100%);
  color: #ffffff;
  border: 1.5px solid rgba(24, 176, 199, 0.35);
  border-radius: var(--radius-lg);
  padding: 30px;
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  box-shadow: var(--shadow-brand-hover);
}

.diagnostic-score-display {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.diagnostic-score-number {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1;
  color: #67E8F9;
  text-shadow: 0 0 20px rgba(103, 232, 249, 0.45);
}

.diagnostic-score-label {
  font-size: 0.9rem;
  color: #BAE6FD;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Calculadora Pan vs Semilla */
.income-control-panel {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.income-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 380px;
  width: 100%;
}

.income-currency-prefix {
  position: absolute;
  left: 16px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: #6b7280;
}

.income-input {
  width: 100%;
  padding: 14px 16px 14px 44px;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: #111827;
  border: 2px solid #163780;
  border-radius: var(--radius-md);
  background: #ffffff;
  transition: var(--transition);
}

.income-input:focus {
  outline: none;
  border-color: #18B0C7;
  box-shadow: 0 0 0 3px rgba(24, 176, 199, 0.25);
}

.currency-toggle-btns {
  display: flex;
  border: 1px solid #d1d5db;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.curr-btn {
  background: #ffffff;
  border: none;
  padding: 10px 18px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  color: #4b5563;
  transition: var(--transition);
}

.curr-btn.active {
  background: var(--brand-gradient);
  color: #ffffff;
}

/* Barra de Distribución Pan vs Semilla */
.distribution-visualizer {
  margin: 30px 0;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-lg);
  padding: 24px;
}

.distribution-bar-track {
  height: 28px;
  border-radius: var(--radius-full);
  display: flex;
  overflow: hidden;
  margin: 16px 0;
  border: 1px solid #163780;
}

.dist-segment-semilla {
  background: var(--accent-emerald-gradient);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: width 0.4s ease;
}

.dist-segment-pan {
  background: linear-gradient(135deg, #163780 0%, #2563EB 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: width 0.4s ease;
}

.distribution-legend {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.9rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.legend-color-dot {
  width: 14px;
  height: 14px;
  border-radius: 4px;
}

.dot-semilla {
  background: #10B981;
}

.dot-pan {
  background: #2563EB;
}

/* Tabla Interactiva de Categorías */
.interactive-table-wrapper {
  overflow-x: auto;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-md);
  margin-top: 24px;
}

.calc-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.calc-table th {
  background: #f9fafb;
  color: #111827;
  padding: 14px 18px;
  font-family: var(--font-heading);
  font-weight: 700;
  border-bottom: 2px solid #e5e7eb;
  white-space: nowrap;
}

.calc-table td {
  padding: 14px 18px;
  border-bottom: 1px solid #e5e7eb;
  color: #374151;
}

.calc-table tr:last-child td {
  border-bottom: none;
}

.calc-table tr.highlight-total td {
  font-weight: 700;
  background: #f9fafb;
  border-top: 2px solid #111827;
  color: #111827;
}

.amount-display {
  font-family: var(--font-heading);
  font-weight: 700;
  color: #111827;
  font-size: 1rem;
}

/* Detector de Fugas / Gastos Hormiga */
.leak-table-input {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 0.88rem;
  font-family: inherit;
}

.leak-table-input:focus {
  outline: none;
  border-color: #111827;
}

.btn-delete-row {
  background: none;
  border: none;
  font-size: 1.3rem;
  color: #9ca3af;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  line-height: 1;
}

.btn-delete-row:hover {
  color: #111827;
  background: #f3f4f6;
}

.leak-totals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.leak-kpi-card {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}

.leak-kpi-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
  margin-bottom: 8px;
  font-weight: 600;
}

.leak-kpi-val {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: #111827;
}

.leak-kpi-card.highlight-3years {
  background: linear-gradient(135deg, #0B1938 0%, #064E3B 100%);
  color: #ffffff;
  border: 1.5px solid rgba(16, 185, 129, 0.4);
  box-shadow: 0 10px 25px rgba(5, 150, 105, 0.2);
}

.leak-kpi-card.highlight-3years .leak-kpi-label {
  color: #6EE7B7;
}

.leak-kpi-card.highlight-3years .leak-kpi-val {
  color: #34D399;
  text-shadow: 0 0 18px rgba(52, 211, 153, 0.45);
}

/* Plan 30, 60, 90 días */
.action-plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.action-plan-card {
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-lg);
  padding: 28px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.action-plan-badge {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  background: var(--brand-gradient);
  color: #ffffff;
  align-self: flex-start;
  box-shadow: 0 2px 8px rgba(24, 176, 199, 0.3);
}

.action-plan-card textarea {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 12px;
  font-family: inherit;
  font-size: 0.9rem;
  min-height: 90px;
  resize: vertical;
  color: #111827;
  transition: var(--transition);
}

.action-plan-card textarea:focus {
  outline: none;
  border-color: #18B0C7;
  box-shadow: 0 0 0 3px rgba(24, 176, 199, 0.2);
}

/* Declaración de Mayordomía */
.declaration-parchment {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.04) 0%, rgba(24, 176, 199, 0.06) 100%);
  border: 2px solid #10B981;
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-top: 30px;
  position: relative;
  box-shadow: 0 12px 30px -8px rgba(16, 185, 129, 0.15);
}

.declaration-text {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  line-height: 1.6;
  font-weight: 600;
  color: #111827;
  margin-bottom: 28px;
  font-style: italic;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.declaration-signature-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  border-top: 1px solid #d1d5db;
  padding-top: 24px;
}

.signature-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #4b5563;
  margin-bottom: 6px;
}

.signature-field input {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 0.95rem;
  font-family: inherit;
  background: #ffffff;
  transition: var(--transition);
}

.signature-field input:focus {
  outline: none;
  border-color: #10B981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

/* Barra de Acciones y Descargas */
.finance-actions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
}

.downloads-section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.download-resource-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.download-resource-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.download-resource-card:hover::before {
  opacity: 1;
}

.download-resource-card:hover {
  border-color: #18B0C7;
  transform: translateY(-4px);
  box-shadow: var(--shadow-brand-hover);
}

.download-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.download-icon {
  font-size: 1.8rem;
}

.download-title-group h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
  color: #111827;
}

.download-title-group span {
  font-size: 0.8rem;
  color: #6b7280;
}

/* ==========================================================================
   THE SANCTUARY CHURCH SYSTEM DESIGN TOKENS & COMPONENTS (2026 REDESIGN)
   ========================================================================== */

/* Teosuperación Section (Estilo The Sanctuary) */
.teo-section {
  background: #F8FAFC;
  padding: 120px 0;
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
}

.teo-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.teo-intro h2 {
  font-size: clamp(2.1rem, 3.4vw, 2.85rem);
  color: #0F172A;
  letter-spacing: -0.035em;
  line-height: 1.18;
  margin-bottom: 18px;
}

.teo-intro p {
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.7;
}

.teo-highlights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 28px 0 32px;
}

.teo-highlight-item {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 22px 20px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.teo-highlight-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

.teo-highlight-item.accent-blue {
  border-left: 4px solid #163780;
}

.teo-highlight-item.accent-cyan {
  border-left: 4px solid #18B0C7;
}

.teo-highlight-item strong {
  display: block;
  font-size: 0.98rem;
  color: #0F172A;
  margin-bottom: 4px;
}

.teo-highlight-item span {
  font-size: 0.85rem;
  color: #64748B;
}

/* Pensum Floating Card */
.teo-pensum-box {
  background: #FFFFFF;
  border: 1px solid rgba(24, 176, 199, 0.3);
  border-radius: 24px;
  padding: 38px 34px;
  box-shadow: 0 16px 36px -8px rgba(22, 55, 128, 0.1), 0 4px 16px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
}

.teo-pensum-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--brand-gradient);
}

.teo-pensum-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid #F1F5F9;
}

.teo-pensum-header h3 {
  font-size: 1.35rem;
  margin: 0;
  color: #0F172A;
  letter-spacing: -0.02em;
}

.teo-pensum-badge {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: var(--brand-gradient);
  color: #FFFFFF;
  padding: 5px 12px;
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(24, 176, 199, 0.3);
}

.teo-levels-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.teo-level-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.94rem;
  color: #334155;
  padding: 6px 10px;
  border-radius: 10px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.teo-level-row:hover {
  background: #F8FAFC;
  transform: translateX(4px);
}

.teo-level-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(22, 55, 128, 0.1), rgba(24, 176, 199, 0.15));
  color: #163780;
  border: 1px solid rgba(24, 176, 199, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  flex-shrink: 0;
}

.teo-level-row.highlight .teo-level-num {
  background: var(--brand-gradient);
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: 0 2px 6px rgba(24, 176, 199, 0.35);
}

/* Grupos de Conexión & Ministerios Section (Estilo The Sanctuary) */
.groups-section {
  background: #FFFFFF;
  padding: 120px 0;
  position: relative;
}

.groups-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.groups-intro h2 {
  font-size: clamp(2.1rem, 3.4vw, 2.85rem);
  color: #0F172A;
  letter-spacing: -0.035em;
  line-height: 1.18;
  margin-bottom: 18px;
}

.groups-intro p {
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.7;
}

.ministries-box {
  background: #FAFAFC;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 24px;
  padding: 38px 34px;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
}

.ministries-box h3 {
  font-size: 1.3rem;
  color: #0F172A;
  margin-bottom: 22px;
  letter-spacing: -0.02em;
  padding-bottom: 14px;
  border-bottom: 1px solid #E2E8F0;
}

.ministries-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ministry-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 10px;
  border-radius: 12px;
  transition: background-color 0.2s ease;
}

.ministry-item:hover {
  background: #FFFFFF;
}

.ministry-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.ministry-item div strong {
  color: #0F172A;
  font-size: 0.98rem;
}

.ministry-item div {
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.55;
}

/* Sedes Section Spacing */
.sedes-section {
  background: #FFFFFF;
  padding: 120px 0;
  border-top: 1px solid #E2E8F0;
}

/* Generosidad Section Spacing */
.giving-section {
  padding: 100px 0 120px;
  background: #FAFAFC;
  border-top: 1px solid #E2E8F0;
}

/* ==========================================================================
   ESTILOS DE IMPRESIÓN LIMPIOS (@media print)
   ========================================================================== */
@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
    font-size: 11pt !important;
  }

  .site-header,
  .site-footer,
  .whatsapp-float,
  .btn,
  .menu-toggle,
  .finance-actions-bar,
  .downloads-section-grid,
  .btn-delete-row,
  .currency-toggle-btns,
  #btnAddLeak,
  .hero-slider-section {
    display: none !important;
  }

  .section {
    padding: 20px 0 !important;
  }

  .interactive-tool-card,
  .finance-compendium-panel,
  .declaration-parchment {
    border: 1px solid #000000 !important;
    box-shadow: none !important;
    page-break-inside: avoid !important;
    padding: 20px !important;
    margin-bottom: 24px !important;
  }

  .calc-table th,
  .culture-table th {
    background: #e5e7eb !important;
    color: #000000 !important;
  }

  .diagnostic-summary-card,
  .leak-kpi-card.highlight-3years {
    background: #ffffff !important;
    color: #000000 !important;
    border: 2px solid #000000 !important;
  }

  .diagnostic-summary-card * {
    color: #000000 !important;
  }

  .print-only-header {
    display: block !important;
    text-align: center;
    border-bottom: 2px solid #000000;
    padding-bottom: 12px;
    margin-bottom: 20px;
  }
}

.print-only-header {
  display: none;
}

/* ==========================================================================
   OPTIMIZACIÓN RESPONSIVA MÓVIL (SIN SCROLL HORIZONTAL EN CELULARES)
   ========================================================================== */
@media (max-width: 768px) {
  /* Evitar desbordamientos y scroll horizontal */
  .interactive-table-wrapper,
  .culture-table-wrapper {
    overflow-x: visible !important;
    border: none !important;
    background: transparent !important;
  }

  /* Control de ingresos y monedas en móvil */
  .income-control-panel {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .income-input-wrapper {
    max-width: 100% !important;
  }
  .currency-toggle-btns {
    width: 100%;
  }
  .curr-btn {
    flex: 1;
    text-align: center;
  }

  /* Leyenda de la barra de distribución */
  .distribution-legend {
    flex-direction: column;
    gap: 10px;
  }
  .dist-segment-semilla,
  .dist-segment-pan {
    font-size: 0.72rem;
    padding: 0 4px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* 1. TABLA CALCULADORA PAN VS SEMILLA -> FORMATO TARJETAS VERTICALES */
  #modulo-calculadora .calc-table {
    display: block !important;
    width: 100% !important;
  }

  #modulo-calculadora .calc-table thead {
    display: none !important; /* Ocultar cabeceras en móviles */
  }

  #modulo-calculadora .calc-table tbody {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    width: 100% !important;
  }

  #modulo-calculadora .calc-table tr {
    display: flex !important;
    flex-direction: column !important;
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: var(--radius-lg) !important;
    padding: 20px 16px !important;
    gap: 12px !important;
    box-shadow: var(--shadow-sm) !important;
  }

  #modulo-calculadora .calc-table td {
    padding: 0 !important;
    border: none !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
  }

  /* Categoría (Nombre) */
  #modulo-calculadora .calc-table tr:not(.highlight-total) td:nth-child(1) {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #111827 !important;
    border-bottom: 1px dashed #e5e7eb !important;
    padding-bottom: 8px !important;
    display: block !important;
  }

  /* Tipo de Recurso (Badge) */
  #modulo-calculadora .calc-table tr:not(.highlight-total) td:nth-child(2) {
    justify-content: flex-start !important;
  }

  /* Porcentaje Sugerido */
  #modulo-calculadora .calc-table tr:not(.highlight-total) td:nth-child(3) {
    display: flex !important;
    justify-content: space-between !important;
    font-size: 0.95rem !important;
    color: #111827 !important;
  }
  #modulo-calculadora .calc-table tr:not(.highlight-total) td:nth-child(3)::before {
    content: "Porcentaje Sugerido:" !important;
    font-size: 0.8rem !important;
    color: #6b7280 !important;
    text-transform: uppercase !important;
    font-weight: 600 !important;
  }

  /* Monto Calculado */
  #modulo-calculadora .calc-table tr:not(.highlight-total) td:nth-child(4) {
    background: #f9fafb !important;
    padding: 12px 14px !important;
    border-radius: 8px !important;
    border: 1px solid #e5e7eb !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    text-align: right !important;
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    color: #111827 !important;
  }
  #modulo-calculadora .calc-table tr:not(.highlight-total) td:nth-child(4)::before {
    content: "Monto Calculado:" !important;
    font-size: 0.8rem !important;
    color: #111827 !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
  }

  /* Estrategia & Propósito */
  #modulo-calculadora .calc-table tr:not(.highlight-total) td:nth-child(5) {
    font-size: 0.88rem !important;
    color: #4b5563 !important;
    line-height: 1.5 !important;
    padding-top: 8px !important;
    border-top: 1px dashed #e5e7eb !important;
    display: block !important;
  }

  /* Fila Total Asignado (Highlight) */
  #modulo-calculadora .calc-table tr.highlight-total {
    background: #111827 !important;
    color: #ffffff !important;
    border: 2px solid #111827 !important;
    gap: 12px !important;
  }
  #modulo-calculadora .calc-table tr.highlight-total td {
    color: #ffffff !important;
  }
  #modulo-calculadora .calc-table tr.highlight-total td:nth-child(1) {
    color: #ffffff !important;
    font-size: 1.15rem !important;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.25) !important;
    padding-bottom: 8px !important;
    display: block !important;
  }
  #modulo-calculadora .calc-table tr.highlight-total td:nth-child(2) {
    display: flex !important;
    justify-content: space-between !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
  }
  #modulo-calculadora .calc-table tr.highlight-total td:nth-child(2)::before {
    content: "Porcentaje Total:" !important;
    font-size: 0.8rem !important;
    color: #9ca3af !important;
    text-transform: uppercase !important;
  }
  #modulo-calculadora .calc-table tr.highlight-total td:nth-child(3) {
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    padding: 12px 14px !important;
    border-radius: 8px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
  }
  #modulo-calculadora .calc-table tr.highlight-total td:nth-child(3)::before {
    content: "Total Calculado:" !important;
    font-size: 0.8rem !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
  }
  #modulo-calculadora .calc-table tr.highlight-total td:nth-child(4) {
    color: #9ca3af !important;
    border-top: 1px dashed rgba(255, 255, 255, 0.25) !important;
    padding-top: 6px !important;
    display: block !important;
    font-size: 0.88rem !important;
  }

  /* 2. TABLA GASTOS HORMIGA (#leaksTable) -> FORMATO TARJETAS VERTICALES */
  #leaksTable {
    display: block !important;
    width: 100% !important;
  }
  #leaksTable thead {
    display: none !important;
  }
  #leaksTable tbody {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    width: 100% !important;
  }
  #leaksTable tr.leak-row {
    display: flex !important;
    flex-direction: column !important;
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: var(--radius-lg) !important;
    padding: 20px 16px !important;
    gap: 12px !important;
    box-shadow: var(--shadow-sm) !important;
    position: relative !important;
  }
  #leaksTable td {
    padding: 0 !important;
    border: none !important;
    width: 100% !important;
    max-width: none !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
  }
  #leaksTable td:nth-child(1)::before {
    content: "Descripción del Gasto:" !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    color: #6b7280 !important;
  }
  #leaksTable td:nth-child(2)::before {
    content: "Frecuencia al Mes (Veces):" !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    color: #6b7280 !important;
  }
  #leaksTable td:nth-child(3)::before {
    content: "Costo por Unidad:" !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    color: #6b7280 !important;
  }
  #leaksTable td:nth-child(4) {
    flex-direction: row !important;
    justify-content: space-between !important;
    background: #f9fafb !important;
    padding: 10px 12px !important;
    border-radius: 6px !important;
    border: 1px solid #e5e7eb !important;
    font-size: 1rem !important;
  }
  #leaksTable td:nth-child(4)::before {
    content: "Gasto Mensual:" !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    color: #111827 !important;
  }
  #leaksTable td:nth-child(5) {
    flex-direction: row !important;
    justify-content: space-between !important;
    background: #f3f4f6 !important;
    padding: 10px 12px !important;
    border-radius: 6px !important;
    border: 1px solid #d1d5db !important;
    font-size: 1.05rem !important;
    font-weight: 800 !important;
  }
  #leaksTable td:nth-child(5)::before {
    content: "Gasto Anual:" !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    color: #111827 !important;
  }
  #leaksTable td:nth-child(6)::before {
    content: "Plan de Acción / Sustitución:" !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    color: #6b7280 !important;
  }
  #leaksTable td:nth-child(7) {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    width: auto !important;
  }
  #leaksTable td:nth-child(7) .btn-delete-row {
    font-size: 1.4rem !important;
    padding: 2px 8px !important;
    background: #f3f4f6 !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* 3. TABLA MENTALIDAD RUINA VS REINO EN CELULARES */
  .culture-table {
    display: block !important;
    width: 100% !important;
  }
  .culture-table thead {
    display: none !important;
  }
  .culture-table tbody {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
  }
  .culture-table tr {
    display: flex !important;
    flex-direction: column !important;
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: var(--radius-md) !important;
    padding: 16px !important;
    gap: 10px !important;
  }
  .culture-table td {
    padding: 0 !important;
    border: none !important;
    font-size: 0.9rem !important;
  }
  .culture-table td:nth-child(1)::before {
    content: "❌ Mentalidad de Ruina: " !important;
    font-weight: 700 !important;
    color: #6b7280 !important;
    display: block !important;
    margin-bottom: 4px !important;
    font-size: 0.8rem !important;
    text-transform: uppercase !important;
  }
  .culture-table td:nth-child(2) {
    background: #f9fafb !important;
    padding: 10px 12px !important;
    border-radius: 6px !important;
    border-left: 3px solid #111827 !important;
  }
  .culture-table td:nth-child(2)::before {
    content: "👑 Cultura del Reino: " !important;
    font-weight: 800 !important;
    color: #111827 !important;
    display: block !important;
    margin-bottom: 4px !important;
    font-size: 0.8rem !important;
    text-transform: uppercase !important;
  }

  /* ==========================================================================
     SANCTUARY CHURCH COMPONENTS MOBILE RESPONSIVE ADAPTATIONS
     ========================================================================== */
  .clean-features-section,
  .pastores-section,
  .teo-section,
  .groups-section,
  .sedes-section,
  .giving-section,
  .section {
    padding: 70px 0 !important;
  }

  .quick-info-bar {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    padding: 22px 20px !important;
  }

  .hero-info-bridge {
    margin-top: -35px !important;
    padding: 0 16px 24px !important;
  }

  .features-top-grid,
  .features-bottom-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .pastores-hero-grid,
  .pastor-profiles-grid,
  .teo-split-grid,
  .groups-split-grid,
  .card-grid-2,
  .card-grid-3 {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  .teo-highlights-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .locations-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .location-card.featured-main {
    grid-column: span 1 !important;
    grid-template-columns: 1fr !important;
    padding: 28px 22px !important;
    gap: 24px !important;
  }

  .location-card[style*="grid-column: span 3"] {
    grid-column: span 1 !important;
  }

  .recent-videos-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .giving-box {
    padding: 50px 24px !important;
    border-radius: 24px !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }

  .footer-bottom {
    flex-direction: column !important;
    gap: 12px !important;
    text-align: center !important;
  }
}

/* ==========================================================================
   PANTALLA INTRODUCTORIA (PRELOADER 3 SEGUNDOS) - KAYROS CENTER
   Isotipo negro girando, "Bienvenidos a Casa" y banderas ondeantes COL / CHL
   ========================================================================== */

body.intro-active {
  overflow: hidden !important;
  height: 100vh !important;
}

.intro-preloader {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at center, #ffffff 0%, #f8fafc 55%, #edf2f7 100%);
  z-index: 9999999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), 
              visibility 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  -webkit-user-select: none;
  overflow: hidden;
}

.intro-preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.03);
  pointer-events: none;
}

/* Resplandor ambiental suave */
.intro-ambient-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(24, 176, 199, 0.12) 0%, rgba(22, 55, 128, 0.05) 50%, transparent 70%);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  filter: blur(40px);
  z-index: 0;
  animation: introAmbientPulse 3s ease-in-out infinite alternate;
}
@keyframes introAmbientPulse {
  0% { transform: translate(-50%, -50%) scale(0.95); opacity: 0.65; }
  100% { transform: translate(-50%, -50%) scale(1.12); opacity: 1; }
}

.intro-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px;
  max-width: 90%;
}

/* Contenedor del Isotipo con perspectiva 3D */
.intro-logo-spin-wrap {
  perspective: 1000px;
  width: 125px;
  height: 125px;
  margin-bottom: 24px;
  position: relative;
}

/* Moneda / Medallón Tridimensional Giratorio (2 giros exactos en 3 segundos) */
.intro-logo-coin {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  animation: introSpin3D 1.5s infinite cubic-bezier(0.45, 0.05, 0.55, 0.95);
}

.intro-logo-coin .coin-face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.intro-logo-coin .coin-face img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(11, 25, 56, 0.16));
}

.intro-logo-coin .coin-face.back {
  transform: rotateY(180deg);
}

@keyframes introSpin3D {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}

/* Alternativa de giro 2D */
.intro-preloader.spin-2d .intro-logo-coin {
  animation: introSpin2D 1.5s infinite linear;
}
@keyframes introSpin2D {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Sombra proyectada en la base del isotipo */
.intro-logo-shadow {
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 75px;
  height: 10px;
  background: radial-gradient(ellipse at center, rgba(15, 23, 42, 0.22) 0%, transparent 75%);
  border-radius: 50%;
  animation: introShadowPulse 1.5s infinite cubic-bezier(0.45, 0.05, 0.55, 0.95);
}
@keyframes introShadowPulse {
  0%, 100% { transform: translateX(-50%) scaleX(1); opacity: 0.8; }
  50% { transform: translateX(-50%) scaleX(0.35); opacity: 0.3; }
}

/* Título: Bienvenidos a Casa */
.intro-welcome-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 800;
  color: #0b1938;
  letter-spacing: -0.5px;
  margin: 0 0 8px 0;
  line-height: 1.2;
  animation: introTitleIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
@keyframes introTitleIn {
  0% { opacity: 0; transform: translateY(12px); }
  100% { opacity: 1; transform: translateY(0); }
}

.intro-welcome-subtitle {
  font-family: var(--font-body);
  font-size: clamp(0.92rem, 2vw, 1.05rem);
  font-weight: 500;
  color: #64748b;
  margin: 0 0 28px 0;
  letter-spacing: 0.3px;
  animation: introSubtitleIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) backwards;
  animation-delay: 0.15s;
}
@keyframes introSubtitleIn {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Contenedor de las Banderas */
.intro-flags-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  animation: introFlagsIn 1s cubic-bezier(0.16, 1, 0.3, 1) backwards;
  animation-delay: 0.3s;
}
@keyframes introFlagsIn {
  0% { opacity: 0; transform: scale(0.92) translateY(14px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.intro-flag-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.intro-flag-canvas {
  width: 125px;
  height: 85px;
  display: block;
  filter: drop-shadow(0 8px 18px rgba(11, 25, 56, 0.15));
}

.intro-flag-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.intro-skip-hint {
  position: absolute;
  bottom: 24px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: #94a3b8;
  letter-spacing: 0.5px;
  opacity: 0.7;
  transition: opacity 0.2s ease, color 0.2s ease;
  cursor: pointer;
}
.intro-skip-hint:hover {
  opacity: 1;
  color: #163780;
}

@media (max-width: 600px) {
  .intro-logo-spin-wrap {
    width: 100px;
    height: 100px;
    margin-bottom: 18px;
  }
  .intro-welcome-title {
    font-size: 1.85rem;
  }
  .intro-flags-container {
    gap: 22px;
  }
  .intro-flag-canvas {
    width: 105px;
    height: 72px;
  }
}

/* ==========================================================================
   GALERÍA ANIVERSARIO 28 - ESTILOS VISUALES
   ========================================================================== */
.anniversary-gallery-section {
  padding: 80px 0;
}

.gallery-clean-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 28px;
}

.gallery-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-cyan);
}

.gallery-media {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: #0b1938;
}

.gallery-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card:hover .gallery-media img {
  transform: scale(1.06);
}

.gallery-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(11, 25, 56, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.gallery-badge.badge-gold {
  background: linear-gradient(135deg, #d97706, #f59e0b);
  border: none;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

.gallery-info {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.gallery-info h4 {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 8px 0;
  font-family: var(--font-heading);
}

.gallery-info p {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

/* Tarjeta Visual Destacada para Subpáginas */
.photo-feature-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 36px;
  transition: box-shadow 0.3s ease;
}

.photo-feature-card:hover {
  box-shadow: var(--shadow-md);
}

.photo-feature-card.reverse {
  grid-template-columns: 1fr 1fr;
}

.photo-feature-media {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  background: #0b1938;
}

.photo-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.photo-feature-card:hover .photo-feature-media img {
  transform: scale(1.04);
}

.photo-feature-content {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.photo-feature-content h3 {
  font-size: 1.5rem;
  color: #163780;
  margin: 0 0 12px 0;
}

.photo-feature-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 16px;
}

@media (max-width: 960px) {
  .gallery-clean-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .photo-feature-card {
    grid-template-columns: 1fr;
  }
  .photo-feature-media {
    min-height: 220px;
  }
}

@media (max-width: 600px) {
  .gallery-clean-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .gallery-media {
    height: 210px;
  }
  .photo-feature-content {
    padding: 24px;
  }
}





