body {
  font-family: "Montserrat", sans-serif;
  background-color: var(--azul-oscuro);
  color: var(--texto-claro);
  /*padding-top: 70px;*/
  padding-top: 84px;
}

.navbar {
  min-height: 64px;
}

.bg-dark-custom {
  background-color: rgba(11, 31, 58, 0.95);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.nav-link {
  /* color: var(--texto-claro);*/
  padding: 8px 14px;
  font-weight: 500;
}

.nav-link:hover {
  color: var(--naranja);
}

.btn-main {
  background-color: #ff9800;
  color: #000;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.btn-main:hover {
  background-color: #e68900;
}

.btn-success-custom {
  background-color: var(--verde-acento);
  color: #000;
}

.footer {
  background-color: var(--azul-principal);
}

.social-link {
  color: var(--texto-claro);
  text-decoration: none;
}

.social-link:hover {
  color: var(--verde-acento);
}

/*Para youtube*/
.hero-socials a:hover .fa-youtube {
  color: #ff0000;
}

.hero-socials a i {
  transition:
    color 0.3s ease,
    transform 0.3s ease;
}

.hero-socials a:hover i {
  transform: scale(1.15);
}

.hero-socials,
.hero-socials a {
  pointer-events: auto;
}

.navbar-dark .navbar-nav .nav-link {
  color: #eaeaea;
  font-weight: 500;
}

.navbar-dark .navbar-nav .nav-link:hover {
  color: var(--naranja);
}

.navbar-custom {
  background-color: #0b1f3a;
  /* azul ligeramente más claro */
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.footer-section {
  background-color: #020d1a;
  color: #0a0a0a;
  border-top: 3px solid #070707;
}

.footer-section h6 {
  color: #111111;
  margin-bottom: 15px;
}

.footer-section p {
  margin-bottom: 8px;
  font-size: 14px;
}

.hero {
  min-height: 85vh;
  /* antes seguramente 70vh */
}

/*HERO con imagen de fondo (imagen 1)*/

.hero-section {
  background: linear-gradient(180deg, #0b1f3a, #07162b);
  padding: 90px 20px 70px;
  text-align: center;
}

.hero-section h1 {
  color: #fff;
  font-size: 2.4rem;
  font-weight: 700;
}

.hero-section p {
  color: #eaeaea;
  font-size: 1.1rem;
  margin-bottom: 25px;
}

/*TARJETAS DE SERVICIOS – animación + clic*/

.service-card {
  display: block;
  background-color: #0b1f3a;
  padding: 25px;
  border-radius: 14px;
  color: #eaeaea;
  text-decoration: none;
  height: 100%;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border: 1px solid #ff9800;
}

.service-card h5 {
  margin-bottom: 12px;
  color: #f5e6c8;
}

/*SECCIONES DETALLE (base para crecer)*/

.detail-section {
  background-color: #071e34;
  color: #eaeaea;
}

.detail-section.alt {
  background-color: #06182c;
}

/*CSS de la sección (en styles.css)*/

.section-padding {
  padding: 90px 0;
}

.section-title {
  font-weight: 700;
  margin-bottom: 20px;
  color: #f5e6c8;
}

.section-text {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.section-list {
  list-style: none;
  padding: 0;
}

.section-list li {
  padding-left: 25px;
  margin-bottom: 10px;
  position: relative;
}

.section-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--verde-acento);
  font-weight: bold;
}

.section-img {
  max-width: 420px;
}

/*PASO 2 — Scroll suave (UX básico obligatorio)*/

html {
  scroll-behavior: smooth;
}

/*PASO 3 — Animaciones al entrar en viewport*/

.animate {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.animate.show {
  opacity: 1;
  transform: translateY(0);
}

.hero-new {
  background-color: var(--bg-main);
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--border-soft);
}

.hero-content {
  max-width: 720px;
  /*margin-top: -80px;*/
}

.hero-new h1 {
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 20px;
}

.hero-new p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  line-height: 1.6;
}

.btn-primary {
  background-color: var(--accent);
  color: #111;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  z-index: 1000;
  display: flex;
  height: 84px;
  width: 100%;
  border-bottom: none;
}

.header-menu {
  flex: 1;
  background-color: #cfb523;
  /* gris claro EWTN */
  /* azul EWTN */
  display: flex;
  /*align-items: center;*/
  align-items: stretch;
}

/* CONTENIDO DEL MENÚ */
.header-inner {
  display: flex;
  /*align-items: center;*/
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 100%;
  padding: 0 24px 0 0;
  gap: 32px;
}

.header-left {
  margin: 0;
  padding: 0;
}

.header-left {
  display: flex;
  align-items: center;
  padding-left: 0;
}

.header-left img {
  display: block;
  height: 60px; /* ajusta si quieres */
}

.site-header {
  padding-left: 0;
}

.logo img {
  height: 46px;
}

.header-center,
.header-right {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.main-nav a {
  margin-left: 16px;
  text-decoration: none;
  color: #1f2937;
  font-size: 0.95rem;
  font-weight: 600;
  /* CLAVE */
}

.main-nav a:hover {
  color: #0b1f3a;
}

.nav-cta {
  background-color: #f59e0b;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
}

.services-new {
  background-color: #f9fafb;
  padding: 30px 0 60px;
}

.services-new h2 {
  font-size: 2.2rem;
  color: #1f2937;
  margin-bottom: 10px;
  margin-top: 0;
}

.services-intro {
  color: #6b7280;
  margin-bottom: 50px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.service-item {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  padding: 28px;
  border-radius: 12px;
  text-decoration: none;
  color: #1f2937;
  transition: all 0.25s ease;
}

.service-item:hover {
  transform: translateY(-4px);
  border-color: #f59e0b;
}

.service-item p {
  text-align: justify;
}

.section-detail {
  padding: 90px 0;
  background-color: #ffffff;
}

.section-inner {
  max-width: 900px;
}

.section-detail h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.section-detail p {
  color: #4b5563;
  margin-bottom: 25px;
}

.section-detail ul {
  margin-bottom: 30px;
}

.section-detail li {
  margin-bottom: 10px;
}

.btn-header {
  background: #f59e0b;
  color: #111827;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-header:hover {
  background: #fbbf24;
  transform: translateY(-1px);
}

/*MENÚ CENTRADO (como la referencia)*/

.header-center {
  display: flex;
  gap: 0px;
  align-items: stretch;
  height: 100%;
}

.header-center a {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 10px;
  /* ancho del item */
  font-size: 16px;
  /* letra más grande */
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  height: 100%;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.header-center a:hover {
  background-color: #f59e0b;
  /* naranja */
  color: #ffffff;
  transition: all 0.25s ease;
}

/*BOTÓN “COMENZAR AHORA” A LA DERECHA*/

.btn-header {
  background: #f59e0b;
  color: #111827;
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 600;
  transition: all 0.25s ease;
  margin-left: 16px;
}

.btn-header:hover {
  background: #fbbf24;
  transform: translateY(-1px);
}

/*CSS – ESTILO DE LA SECCIÓN (CLAVE)*/

.hero-main {
  background: #f8fafc;
}

.hero-grid {
  /*display: grid;
grid-template-columns: 1.1fr 1.3fr;*/
  align-items: center;
  gap: 70px;
}

/*Texto (columna izquierda)*/

.hero-badge {
  display: inline-block;
  background-color: rgba(56, 189, 248, 0.12);
  color: #0284c7;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #1f2937;
  /* gris oscuro elegante */
}

.hero-text h1 span {
  color: #7dd3fc;
}

.hero-text p {
  font-size: 1.05rem;
  color: #4b5563;
  /* gris medio */
  max-width: 520px;
  margin-bottom: 35px;
}

/*Botones*/

.hero-actions {
  display: flex;
  gap: 16px;
}

.btn-primary {
  background-color: #0ea5e9;
  color: #ffffff;
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
}

.btn-primary:hover {
  background-color: #0284c7;
}

.btn-secondary {
  border: 1.5px solid #cbd5e1;
  /* gris visible */
  color: #1f2937;
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  background-color: transparent;
}

.btn-secondary:hover {
  border-color: #0ea5e9;
  color: #0ea5e9;
  background-color: rgba(14, 165, 233, 0.05);
}

/*Imagen derecha*/

.hero-image img {
  width: 100%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  max-width: 430px;
  /* antes seguramente menor */
  height: auto;
  border-radius: 16px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}

/*CSS – FONDO OSCURO Y ESTILO (CLAVE)*/

.advantages-section {
  background-color: #eef4fb;
  /* azul bancario pastel */
  /*padding: 70px 0;*/
  color: #1f2937;
  padding-top: 50px;
  padding-bottom: 100px;
}

/*Encabezado centrado */

.advantages-header {
  max-width: 720px;
  margin: 0 auto 70px;
  text-align: center;
  margin-top: -30px;
}

.section-eyebrow {
  display: block;
  color: #38bdf8;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.advantages-header h2 {
  font-size: 2.4rem;
  color: #0f172a;
  margin-bottom: 18px;
}

.advantages-header p {
  color: #475569;
  font-size: 1rem;
  line-height: 1.6;
}

.section-eyebrow {
  color: #2563eb;
}

/*Tarjetas oscuras*/

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.advantage-card {
  background-color: #0f2347;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 20px 40px rgba(2, 6, 23, 0.6);
  transition: transform 0.25s ease;
}

.advantage-card:hover {
  transform: translateY(-6px);
}

.advantage-icon {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

/*Texto dentro de tarjetas*/

.advantage-card h3 {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.advantage-card p {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: justify;
}

.advantage-card p,
.service-item p {
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  word-spacing: normal;
}

.menu-toggle {
  font-family: Arial, Helvetica, sans-serif;
  display: none;
  background: none;
  border: none;
  font-size: 36px;
  /* más grande */
  font-weight: 900;
  /* más “negrita” */
  color: #000000;
  /* negro puro */
  line-height: 1;
}

.services-new h2,
.services-new .services-intro {
  text-align: center;
}

.services-new .services-intro {
  max-width: 720px;
  margin: 0 auto 50px;
}

.services-new h2 {
  font-size: 2.4rem;
  margin-bottom: 10px;
}

.services-intro {
  color: #475569;
  font-size: 1rem;
  line-height: 1.6;
}

.service-item p,
.advantage-card p {
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  word-spacing: normal;
}

/*MOBILE FIRST (pantallas pequeñas)*/

@media (max-width: 576px) {
  .service-item p,
  .advantage-card p {
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    word-spacing: normal;
    text-wrap: pretty;
  }

  .hero-text h1 {
    font-size: 1.9rem;
  }

  .hero-badge {
    font-size: 0.8rem;
    padding: 6px 12px;
  }

  .hero-actions a {
    width: 100%;
    text-align: center;
  }
}

/*PASO 4 — Optimización mobile (clave)*/

@media (max-width: 1024px) {
  body {
    padding-top: 72px;
  }

  .hero-section {
    padding: 70px 15px 55px;
  }

  .hero-avanza,
  .hero-main {
    padding-top: 0;
    /* header (64px) + aire */
  }

  body.menu-open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 2000;
    pointer-events: none;
  }

  .menu-toggle {
    font-family: Arial, Helvetica, sans-serif;
    margin-left: auto;
    color: #ffffff;
    font-size: 2.2rem;
    border: none;
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 4000;
    background: none;
    border: none;
  }

  .hero-section h1 {
    font-size: 1.8rem;
  }

  .section-padding {
    padding: 60px 0;
  }

  .section-img {
    max-width: 280px;
    margin-top: 30px;
  }

  .service-card {
    text-align: center;
  }

  .hero-section p {
    font-size: 1rem;
  }

  .advantages-header h2 {
    font-size: 2rem;
  }

  .solutions-grid,
  .advantages-grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    align-items: center;
  }

  .header-menu {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 16px;
    background: #cfb523;
  }

  .site-header {
    height: 72x;
    flex-direction: row;
    border-bottom: none;
  }

  .mobile-menu {
    position: fixed;
    top: 0;
    /* 🔴 empieza arriba del todo */
    right: 0;
    /* 🔴 alineado a la derecha */
    width: 260px;
    /* ancho tipo drawer */
    height: 100vh;
    background: #333030;
    z-index: 2500;
    display: none;
    padding: 80px 0px 20px;
    /* 👈 SIN padding lateral */
    /* deja respirar el logo */
    overflow-y: auto;
  }

  .hero-text {
    margin-top: 0;
  }

  .hero-text h1 {
    margin-top: 12px;
  }

  /*PARROQUIA*/

  /* .hero-parroquia {
height: calc(100vh - 64px);
min-height: 420px;
}*/

  .hero-parroquia {
    aspect-ratio: auto;
    height: auto;
    min-height: unset;
  }

  .hero-parroquia .carousel,
  .hero-parroquia .carousel-inner,
  .hero-parroquia .carousel-item,
  .hero-slide {
    height: 70vh; /* o 80vh si la quieres más grande */
    min-height: 520px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-overlay {
    align-items: center;
    /* centra mejor el texto */
  }

  .hero-content {
    padding-top: 0;
    /* elimina empuje artificial */
  }

  .hero-slide {
    background-size: contain;
    background-position: center top;
    background-color: #000; /* opcional */
  }
}

/* HERO AVANZA */
.hero-avanza {
  position: relative;
  padding: 0.5rem 0 1rem;
  background:
    radial-gradient(
      1200px circle at 15% 20%,
      rgba(130, 140, 255, 0.35),
      transparent 55%
    ),
    radial-gradient(
      800px circle at 85% 80%,
      rgba(0, 180, 170, 0.25),
      transparent 55%
    ),
    linear-gradient(135deg, #1b1f3b 0%, #2b2f77 35%, #2a4a7b 65%, #0b1d2e 100%);
  overflow: hidden;
}

.hero-avanza .hero-text {
  margin-top: 0;
  /* ajusta -40 / -60 / -80 */
}

.hero-avanza p {
  max-width: 520px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 4rem;
}

.hero-text h1 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-text h1 span {
  color: #4f6ef7;
}

.hero-badge {
  display: inline-block;
  background: #eef2ff;
  color: #4f6ef7;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

.hero-image {
  /*position: relative;*/
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-image img {
    margin: 0 auto;
  }
}

.hero-avanza .hero-text h1 {
  color: #ffffff;
}

.hero-avanza .hero-text h1 span {
  color: #7aa2ff;
}

.hero-avanza .hero-text p {
  color: rgba(255, 255, 255, 0.9);
}

/* ===============================
HEADER LOGO — FUENTE ÚNICA
=============================== */

/* ===============================
MOBILE MENU – FIX DEFINITIVO
=============================== */

.mobile-menu.show {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-menu a {
  color: #ffffff;
  font-weight: 500;
  text-decoration: none;
}

.mobile-menu a:hover,
.mobile-menu a:focus {
  background-color: #3f3f3f;
  text-decoration: none;
}

body.menu-open {
  overflow: hidden;
}

/*PROYECTO PARA LA PARROQUIA*/

/*.hero-parroquia {
position: relative;
height: calc(100vh - 72px);
/* resta la altura del header
min-height: 520px;
}*/

.hero-parroquia {
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 700; /* 👈 mantiene proporción real */
  max-height: 700px;
}

.hero-parroquia .carousel,
.hero-parroquia .carousel-inner,
.hero-parroquia .carousel-item {
  height: 100%;
}

.carousel,
.carousel-inner,
.carousel-item {
  max-width: 100%;
  overflow: hidden;
}

.hero-slide {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  /* oscurece imagen */
  display: flex;
  align-items: center;
  background: none;
  /* CLAVE */
  width: 100%;
  text-align: center;
  justify-content: center; /* 🔥 centra horizontal */
}

.hero-content {
  max-width: 720px;
  color: #ffffff;
}

.hero-content h1 {
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-content .btn-primary {
  background-color: #f59e0b;
  color: #111;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
}

.hero-content {
  padding-top: 40px;
}

/* ===============================
BARRA INFORMATIVA PARROQUIA
=============================== */

.parroquia-live {
  padding: 0;
}

.live-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.live-item {
  position: relative;
  padding: 20px 0;
}

.live-label.next {
  color: #f59e0b;
}

.live-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 6px;
}

.live-time {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Separador vertical en desktop */
@media (min-width: 768px) {
  .live-now {
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    padding-right: 30px;
  }

  .live-next {
    padding-left: 30px;
  }
}

/* MOBILE */
@media (max-width: 767px) {
  .live-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .live-now {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 20px;
  }
}

/* PLAYER STREAMING RESPONSIVE */

.live-player {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  /* 16:9 */
  margin: 12px 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.live-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ===============================
ACTIVIDADES – ESTILO EWTN
=============================== */

.actividades-section {
  background-color: #f3f4f6;
  padding: 40px 0;
}

.actividades-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
}

.actividades-header h2 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #111827;
}

.actividades-header p {
  color: #6b7280;
  font-size: 1rem;
}

.actividades-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.actividad-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease;
}

.actividad-card:hover {
  transform: translateY(-6px);
}

.actividad-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.actividad-content {
  padding: 20px;
}

.actividad-meta {
  display: flex;
  gap: 14px;
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 8px;
}

.actividad-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #111827;
}

.actividad-content p {
  font-size: 0.95rem;
  color: #4b5563;
  margin-bottom: 14px;
}

.actividad-link {
  font-weight: 600;
  color: #2563eb;
  text-decoration: none;
}

.actividad-link:hover {
  text-decoration: underline;
}

.actividades-footer {
  text-align: center;
  margin-top: 50px;
}

.btn-ver-mas {
  background: #111827;
  color: #ffffff;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}

/* ===============================
LIGHTBOX IMAGEN ACTIVIDADES
=============================== */

.img-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.img-lightbox img {
  max-width: 95%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 6px;
}

.img-lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 32px;
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
}

/* BOTÓN EWTN LOCAL (no toca tu CSS global) */
.btn-ewtn {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 18px;
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.btn-ewtn:hover {
  background: linear-gradient(135deg, #1e40af, #1d4ed8);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
}

/* TEXTO DESTACADO – ESTILO EWTN */
.texto-destacado-ewtn {
  background-color: #e5e5e5;
  /* gris claro */
  color: #111827;
  /* texto oscuro elegante */
  padding: 18px 22px;
  border-radius: 4px;
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 760px;
  margin: 20px auto;
}

/* ===============================
BARRA INFORMATIVA – ESTILO EWTN
=============================== */

.live-grid {
  gap: 0;
}

/* COLUMNA IZQUIERDA */
.live-item.live-now {
  background-color: #d9d9d9;
  /* gris claro */
  color: #111827;
  padding: 50px 40px;
}

/* COLUMNA DERECHA */
.live-item.live-next {
  background-color: #cfcfc3;
  /* beige / gris verdoso */
  color: #111827;
  padding: 50px 40px;
}

/* TÍTULOS */
.live-item h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #000;
  margin-top: 8px;
}

/* TEXTO */
.live-desc,
.texto-destacado-ewtn {
  background: none;
  padding: 0;
  margin-bottom: 30px;
  color: #111827;
  max-width: 520px;
}

.texto-destacado {
  font-weight: 700;
}

/* ETIQUETA SUPERIOR */
.live-label {
  color: #000;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

/* BOTÓN ROJO TIPO EWTN */
.btn-ewtn {
  background: #e11d2e;
  color: #fff;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: none;
}

.btn-ewtn:hover {
  background: #c51626;
  transform: none;
}

/* Responsive */
@media (max-width: 768px) {
  .live-item.live-now,
  .live-item.live-next {
    padding: 40px 24px;
  }
}

/* GRID FULL WIDTH */
.live-bg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
}

/* COLUMNA IZQUIERDA */
.live-left {
  background-color: #e0e0e0;
}

/* COLUMNA DERECHA */
.live-right {
  background-color: #c6c6b8;
}

/* CONTENIDO */
.live-item {
  max-width: 560px;
  padding: 50px 80px;
  color: #111827;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .live-bg-grid {
    grid-template-columns: 1fr;
  }
}

/* Tablet y móvil */
@media (max-width: 991px) {
  .live-item {
    padding: 40px 32px;
  }
}

/* TÍTULO PRINCIPAL COLUMNA IZQUIERDA */
.live-title {
  font-size: 2.2rem;
  /* tamaño grande */
  font-weight: 700;
  color: #000;
  margin-bottom: 18px;
  margin-top: 0;
  letter-spacing: 0.5px;
}

html,
body {
  overflow-x: hidden;
}

/* ===============================
SUBMENÚ HEADER
=============================== */

/* Links del submenú */
.submenu a {
  padding: 12px 16px;
  font-size: 14px;
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
}

.submenu a:hover {
  background-color: #f59e0b;
  color: #111;
}

/* MOBILE: submenú integrado */

/* ===============================
SUBMENÚ HEADER – PROFESIONAL
=============================== */

.nav-item {
  position: relative;
}

/* Botón Nosotros */
.submenu-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  user-select: none;
}

/* Flecha */
.submenu-toggle .arrow {
  font-size: 12px;
  transition: transform 0.25s ease;
}

/* Links */
.submenu a {
  padding: 12px 16px;
  font-size: 14px;
  color: #ffffff;
  text-decoration: none;
}

.submenu a:hover {
  background-color: #f59e0b;
  color: #111;
}

/* ===============================
SUBMENÚ MOBILE – CONTROLADO
=============================== */

@media (max-width: 1200px) {
  .header-center a {
    padding: 0 10px;
    font-size: 15px;
  }
}

@media (max-width: 1100px) {
  .header-center a {
    padding: 0 8px;
    font-size: 14.5px;
  }
}

@media (min-width: 1024px) and (max-width: 1200px) {
  .header-center a {
    padding: 0 8px;
    font-size: 14.5px;
  }
}

/* ===============================
SUBMENÚ – DEFINITIVO
=============================== */

.nav-item {
  position: relative;
}

/* ---------- DESKTOP ---------- */
@media (min-width: 993px) {
  .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #cfb523;
    min-width: 190px;
    display: none;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    z-index: 3000;
  }

  .has-submenu:hover .submenu {
    display: flex;
  }

  .submenu a {
    padding: 12px 16px;
    font-size: 14px;
    color: #ffffff;
    text-decoration: none;
  }

  .submenu a:hover {
    background-color: #f59e0b;
    color: #111;
  }
}

/* ---------- MOBILE ---------- */
@media (max-width: 1024px) {
  .submenu {
    display: none;
    background: #cfb523;
    margin-left: 12px;
    margin-top: 6px;
    border-radius: 6px;
    margin: 6px 0 0 0;
    /* sin sangría externa */
  }

  .mobile-menu a,
  .submenu-toggle {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 14px 24px;
    text-align: left;
    border-radius: 0;
    /* look limpio tipo app */
    box-sizing: border-box;
    margin: 0;
    /* 🔥 importante */
  }

  .submenu.open {
    display: block;
  }

  .submenu a {
    padding: 12px 24px 12px 48px;
    /* indent visual */
    font-size: 15px;
    display: block;
    color: #fff;
    padding-left: 36px;
    background-color: #2f2f2f;
  }

  .mobile-menu a:hover,
  .mobile-menu a:focus,
  .mobile-menu a:active,
  .submenu-toggle:hover,
  .submenu-toggle:focus,
  .submenu-toggle.active {
    background-color: #3f3f3f;
    color: #ffffff;
  }

  .submenu a:hover {
    background-color: #f59e0b;
    color: #111;
  }
}

/* FIX hover submenu desktop */
@media (min-width: 993px) {
  .has-submenu {
    position: relative;
  }

  .has-submenu > a {
    position: relative;
    z-index: 3100;
  }

  .submenu {
    top: 100%;
    margin-top: 0;
  }
}

/* FIX focus persistente en menú */
.header-center a:focus {
  outline: none;
  background-color: transparent;
}

@media (hover: hover) {
  .header-center a:hover {
    background-color: #f59e0b;
    color: #ffffff;
  }
}

/* ===============================
CONTROL DEFINITIVO MENÚ
=============================== */

/* Desktop */
@media (min-width: 993px) {
  .desktop-menu {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }
}

/* Mobile + Tablet */
@media (max-width: 1024px) {
  .desktop-menu {
    display: none;
  }

  .menu-toggle {
    display: block;
  }
}

/* Desktop hover */
.header-center a:hover {
  background-color: #f59e0b;
  color: #ffffff;
}

/* Tablet / touch */
.header-center a:focus,
.header-center a:active {
  background-color: #f59e0b;
  color: #ffffff;
  outline: none;
}

/* Evita que quede "pegado" el focus */
.header-center a:focus:not(:focus-visible) {
  background-color: transparent;
}

/* NO marcar en naranja el botón padre del submenú */
.has-submenu > a:hover,
.has-submenu > a:focus,
.has-submenu > a:active {
  background-color: transparent;
  color: #ffffff;
}

/* Hover real solo en items del submenú */
.submenu a:hover,
.submenu a:focus,
.submenu a:active {
  background-color: #f59e0b;
  color: #111;
}

@media (max-width: 1024px) {
  .mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 260px;
    height: 100vh;
    background: #cfb523;
    z-index: 2500;
    padding: 80px 0 20px;
    /* 🔥 SIN padding lateral */
    overflow-y: auto;
  }

  .mobile-menu.show {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 1024px) {
  .submenu a {
    padding: 12px 24px 12px 48px;
    background-color: #cfb523;
  }
}

/*por fuera*/
.mobile-menu {
  display: none;
}

.titulo-naranja {
  color: #f59e0b;
  /* naranja parroquia */
  letter-spacing: 0.5px;
}

/* ===============================
HERO EDITORIAL – AJUSTE FINAL
=============================== */

.hero-editorial {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 0 20px;
}
/* Etiqueta tipo EWTN */
.hero-editorial .hero-tag {
  display: inline-block;
  background: #e11d2e;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

/* TÍTULO – MÁS GRANDE Y RESPONSIVE */
.hero-editorial .hero-title {
  font-size: clamp(2.8rem, 5vw, 4.2rem); /* 🔥 grande y responsive */
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

/* TEXTO DESCRIPTIVO */
.hero-editorial .hero-text {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.5;
  max-width: 800px;
  margin: 0 auto 30px;
  font-weight: 500;
}

/* BOTÓN */
.hero-editorial .hero-btn {
  display: inline-block;
  background: #e11d2e;
  color: #ffffff;
  padding: 10px 22px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  margin-bottom: 18px;
}

.hero-editorial .hero-btn:hover {
  background: #c51626;
}

/* REDES */
.hero-socials {
  display: flex;
  margin-top: 8px;
  gap: 12px;
  /* 🔧 controla la separación */
  margin-top: 14px;
}

.hero-socials a {
  font-size: 28px;
  /* 🔥 tamaño del icono */
  width: 44px;
  /* área clicable */
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fcf9f9;
  opacity: 0.9;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease,
    background-color 0.2s ease;
  margin: 0 !important;
}

.hero-socials a:hover {
  opacity: 1;
  transform: scale(1.12);
  /* efecto pro */
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

@media (max-width: 1024px) {
  .hero-editorial {
    margin-left: 24px;
    max-width: 480px;
  }

  .hero-editorial .hero-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 576px) {
  .hero-editorial {
    margin-left: 0;
    text-align: center;
    max-width: 100%;
  }

  .hero-editorial .hero-title {
    font-size: 2.2rem;
  }

  .hero-socials {
    justify-content: center;
  }
}

/* ===============================
HERO EDITORIAL – ALIGN DESKTOP
=============================== */

/* Desktop */
@media (min-width: 992px) {
  .hero-editorial {
    max-width: 720px;
    /* controla ancho del bloque */
    margin-left: 0;
    /* 🔥 lo pega a la izquierda */
    margin-right: auto;
    padding-left: 0;
    /* elimina aire innecesario */
    text-align: left;
  }
}

@media (min-width: 1200px) {
  .hero-editorial {
    margin-left: -40px;
  }
}

/* ===============================
HERO EDITORIAL – POSICIÓN REAL
=============================== */

@media (min-width: 992px) {
  .hero-overlay {
    justify-content: center;
    align-items: center;
  }

  .hero-editorial {
    /* 🔥 controla AQUÍ la distancia */
    max-width: 720px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    /* 🔥 AJUSTA ESTE VALOR */
    transform: none;
  }

  .hero-text {
    max-width: 520px;
  }

  .hero-socials a {
    font-size: 20px;
    /* 🔥 iconos más grandes */
    color: #ffffff;
    opacity: 0.9;
    transition:
      opacity 0.2s ease,
      transform 0.2s ease;
  }

  .hero-socials a:hover {
    opacity: 1;
    transform: translateY(-2px);
  }
}

/* Slide 4 – texto gris oscuro */
.slide-dark-text h1 {
  color: #2b2b2b;
  /* gris oscuro elegante */
}

.slide-dark-text p {
  color: #3f3f3f;
  /* un poco más claro para el subtítulo */
}

/*Para la pagina de HORARIOS*/

.horario-img {
  max-width: 260px;
  /* ajusta aquí el tamaño */
  height: auto;
}

/* ===============================
ACORDEÓN HORARIOS – ESTILO PRO
================================ */

/* CARLOS Quitamos la flecha default de Bootstrap */
.accordion-button::after {
  display: none;
}

/* Botón base */
.horario-btn {
  position: relative;
  font-weight: 600;
  background-color: #fff;
  border: 1px solid #dee2e6;
  transition:
    background-color 0.25s ease,
    box-shadow 0.25s ease;
  padding-right: 60px;
}

/* Hover → indica que es clicable */
.horario-btn:hover {
  background-color: #f4f8ff;
  box-shadow: inset 0 0 0 1px #cfe2ff;
}

/* Icono + / − */
.horario-btn::before {
  content: "+";
  position: absolute;
  right: 20px;
  font-size: 1.4rem;
  font-weight: 700;
  color: #4caf50;
  /* verde */
  transition:
    transform 0.2s ease,
    color 0.2s ease;
}

/* Cuando está abierto */
.horario-btn:not(.collapsed)::before {
  content: "−";
  color: #d32f2f;
  /* rojo */
}

/* Item separado y elegante */
.accordion-item {
  border: none;
}

.accordion-body {
  background-color: #fafafa;
  border: 1px solid #dee2e6;
  border-top: none;
}

.hero-btn {
  position: relative;
  z-index: 10;
}

.hero-overlay {
  pointer-events: auto;
}

.hero-content,
.hero-btn {
  pointer-events: auto;
}

/* ===============================
HERO SLIDE 1 – AJUSTE MOBILE
=============================== */

/* SLIDE2 CON TEXTO OSCURO */
.slide-text-dark h1,
.slide-text-dark p {
  color: #000000;
  /* negro elegante */
}

/* Botón oscuro */
.slide-text-dark .btn-primary {
  background-color: #f00b0b;
  color: #ffffff;
}

/* Hover del botón */
.slide-text-dark .btn-primary:hover {
  background-color: #000000;
}

/* MOBILE – texto hero alineado a la izquierda */
@media (max-width: 576px) {
  .hero-editorial .hero-text {
    text-align: left;
    padding-left: 16px;
    padding-right: 16px;
    line-height: 1.35;
    font-size: 1.05rem;
  }
}

/* ===============================
HERO NOTICIA – ESTILO TV
=============================== */

.hero-news {
  text-align: left;
  max-width: 560px;
}

/* TÍTULO GRANDE */
.hero-news-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff !important;
  margin-bottom: 16px;
  line-height: 1.15;
}

/* BLOQUES DE TEXTO */
.news-line {
  display: inline-block;
  background: #ffffff;
  color: #000000;
  padding: 10px 14px;
  margin-bottom: 8px;
  font-weight: 700;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* Línea principal */
.news-title {
  font-size: 1.2rem;
}

/* Línea secundaria */
.news-subtitle {
  font-size: 1rem;
  font-weight: 600;
}

/* MOBILE */
@media (max-width: 768px) {
  .hero-news-title {
    font-size: 1.6rem;
  }

  .news-title {
    font-size: 1rem;
  }

  .news-subtitle {
    font-size: 0.95rem;
  }
}

/* ===============================
HERO SLIDE 1 – AJUSTE MOBILE
=============================== */
@media (max-width: 576px) {
  .hero-editorial .hero-btn {
    margin-top: 28px;
    /* baja solo el botón */
  }

  .hero-socials {
    margin-top: 24px;
    /* separa redes del botón */
  }
}

/* ===============================
SLIDE 2 – BOTÓN ESTILO SLIDE 1
=============================== */

.hero-news .btn-primary {
  background: #e11d2e;
  /* rojo parroquia */
  color: #ffffff;
  padding: 10px 22px;
  border-radius: 4px;
  /* 🔴 CUADRADO, NO PÍLDORA */
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  display: inline-block;
  box-shadow: none;
}

/* Hover coherente */
.hero-news .btn-primary:hover {
  background: #c51626;
}

@media (max-width: 576px) {
  .hero-news .btn-primary {
    margin-top: 18px;
  }
}

/* ===============================
SLIDE 2 – BLOQUES DE TEXTO - TIPO NOTICIA
=============================== */

.hero-news .news-line {
  line-height: 1.35;
  /* 🔥 menos interlineado, pero legible */
  padding: 10px 14px;
  /* aire interno equilibrado */
  margin-bottom: 10px;
  /* separación entre bloques */
}

/* Texto secundario ("Ven y conócenos") */
.hero-news .news-title {
  font-size: 1.1595rem;
  /* un poco más pequeño */
  font-weight: 600;
}

@media (max-width: 576px) {
  .hero-news .news-line {
    line-height: 1.5;
    /* 🔧 micro-ajuste móvil */
    margin-bottom: 5px;
    /* 🔧 para distancia entre texto */
  }
}

/* ===============================
Separador de linea
=============================== */
.separator {
  width: 100%;
  height: 1px;
  background-color: #615454;
  /* Cambia el color si quieres */
  margin: 5px 0px;
  /* Espacio arriba y abajo */
}

/* ===============================
BOTÓN FLOTANTE – INICIO
=============================== */

.btn-inicio-float {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 5000;

  background: #e11d2e;
  /* rojo parroquia */
  color: #ffffff;
  font-weight: 700;
  font-size: 0.85rem;

  padding: 12px 18px;
  border-radius: 999px;
  /* redondo elegante */

  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);

  display: flex;
  align-items: center;
  gap: 6px;

  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

/* Visible al hacer scroll */
.btn-inicio-float.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Hover */
.btn-inicio-float:hover {
  background: #c51626;
  transform: translateY(-2px);
}

/* Mobile ajuste */
@media (max-width: 576px) {
  .btn-inicio-float {
    right: 16px;
    bottom: 20px;
    font-size: 0.8rem;
    padding: 10px 16px;
  }
}

/* ===============================
CSS-TEMPLO
=============================== */

.templo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.templo-imagen img {
  width: 100%;
  border-radius: 12px;
}

.templo-imagen-grande {
  display: block;
  /* permite centrar con margin auto */
  margin: 30px auto 0;
  /* margen superior + centrado horizontal */
  width: 100%;
  /* ocupa todo el ancho disponible */
  max-width: 800px;
  /* tamaño máximo real de la imagen */
  height: auto;
  /* mantiene proporción */
  object-fit: contain;
  /* evita que se deforme o recorte */
  border-radius: 8px;
  /* opcional: bordes suaves */
}

.templo-galeria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.templo-galeria img {
  width: 100%;
  border-radius: 8px;
}

/* Mobile */
@media (max-width: 768px) {
  .templo-grid {
    grid-template-columns: 1fr;
  }
}

/* ===============================
GALERÍA TEMPLO
=============================== */

.templo-galeria {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.templo-galeria img {
  width: 120px;
  /* 👈 tamaño miniatura */
  height: 90px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.templo-galeria img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

@media (max-width: 576px) {
  .templo-galeria img {
    width: 100px;
    height: 80px;
  }
}

/* ===============================
PARA TEXTO DEL TEMPLO
=============================== */

.templo-texto .subtitulo {
  font-size: 1.8rem;
  /* más pequeño que display-5 */
  font-weight: 400;
  /* menos grueso */
  margin-top: -15px;
  /* opcional: acerca el subtítulo al título */
}

.templo-bloque {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
  align-items: start;
}

.templo-imagenes {
  display: flex;
  flex-direction: row;
  /*flex-direction: column;*/
  /*para colocar las imagenes en columnas*/
  gap: 0.5rem;
  justify-content: center;
}

.templo-imagenes img {
  width: 80%;
  /* reduce el ancho relativo */
  max-width: 280px;
  /* límite absoluto */
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  margin: 0 auto;
  /* centra la imagen si es más pequeña */
}

.templo-curiosidades p {
  font-size: 1.1rem;
  line-height: 1.6;
}

/* ===============================
TEMPLO – FIX MOBILE LAYOUT
=============================== */

@media (max-width: 768px) {
  .templo-bloque {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .templo-imagenes {
    justify-content: center;
    flex-wrap: wrap;
  }

  .templo-imagenes img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .templo-curiosidades {
    text-align: left;
  }

  .templo-curiosidades p {
    font-size: 1rem;
    line-height: 1.55;
  }
}

@media (max-width: 576px) {
  .templo-imagenes img {
    max-width: 320px;
  }
}

/* ===============================
TEXTO JUSTIFICADO – TEMPLO
=============================== */

.templo-texto p,
.templo-curiosidades p {
  text-align: justify;

  /* Evita huecos grandes */
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;

  /* Control fino del espaciado */
  word-spacing: normal;
  letter-spacing: normal;

  /* Permite cortes correctos */
  overflow-wrap: break-word;
  word-break: normal;

  line-height: 1.6;
}

@media (max-width: 576px) {
  .templo-texto p,
  .templo-curiosidades p {
    text-align: justify;
    hyphens: auto;
    font-size: 1rem;
    line-height: 1.55;
    text-wrap: pretty;
    /* mejora visual moderna */
  }
}

/* ===============================
TEXTO "VER MÁS" – JUSTIFICADO PRO
=============================== */

.actividad-full,
.actividad-full p {
  text-align: justify;

  /* Evita huecos grandes */
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;

  /* Control del espaciado */
  word-spacing: normal;
  letter-spacing: normal;

  /* Permite cortes correctos */
  overflow-wrap: break-word;
  word-break: normal;

  /* Lectura cómoda */
  line-height: 1.65;
  font-size: 0.95rem;
  color: #374151;
}

.actividad-full p {
  max-width: 65ch;
  /* ancho óptimo de lectura */
}

/* Mobile – ajuste fino */
@media (max-width: 576px) {
  .actividad-full,
  .actividad-full p {
    line-height: 1.6;
    font-size: 0.95rem;
    text-wrap: pretty;
    /* mejora visual moderna */
  }
}

/* ===============================
REDES EN HEADER – DESKTOP
=============================== */

/* REDES EN HEADER */
.header-socials {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
  /* 🔥 empuja a la derecha */
  padding-right: 24px;
}

.header-socials a {
  color: #ffffff;
  font-size: 18px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.25s ease;
}

.header-socials a:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* YouTube rojo */
.header-socials a:hover .fa-youtube {
  color: #ff0000;
}

/* Desktop */
@media (min-width: 992px) {
  .header-socials {
    display: flex;
  }
}

/* Mobile */
@media (max-width: 991px) {
  .header-socials {
    display: none;
  }
}

/* HERO REDES – SOLO MOBILE */
@media (min-width: 992px) {
  .hero-socials {
    display: none;
  }
}

@media (max-width: 991px) {
  .hero-socials {
    display: flex;
  }
}

/* ===============================
REDES SOCIALES EN HEADER (DESKTOP)
=============================== */

.header-socials-desktop {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
  /* 🔥 se va a la derecha */
  padding-left: 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  /* separador elegante */
}

.header-socials-desktop a {
  color: #ffffff;
  font-size: 16px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.25s ease;
}

.header-socials-desktop a:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

/* Desktop */
@media (min-width: 992px) {
  .header-socials-desktop {
    display: flex;
  }
}

/* Mobile */
@media (max-width: 991px) {
  .header-socials-desktop {
    display: none;
  }
}

/* SLIDE 2 – BAJAR TÍTULO EN MÓVIL */
@media (max-width: 576px) {
  .hero-news {
    margin-top: 5px;
    /* 🔽 ajusta aquí si quieres más/menos */
  }
}

/* SLIDE 2 – SUBIR REDES SOCIALES */
.hero-news .hero-socials {
  margin-top: 12px;
  /* antes era mucho mayor */
}

@media (max-width: 576px) {
  .hero-news .hero-socials {
    margin-top: 6px;
    /* 🔼 sube más */
  }
}

/* SLIDE 2 – SUBIR REDES SOCIALES */
.hero-news .hero-socials {
  margin-top: 12px;
  /* antes era mucho mayor */
}

@media (max-width: 576px) {
  .hero-news .hero-socials {
    margin-top: 6px;
    /* 🔼 sube más */
  }
}

/* ===============================
SLIDE 3 – MOBILE CENTRADO
=============================== */
@media (max-width: 576px) {
  /* Solo SLIDE 3 */
  .hero-parroquia .carousel-item:nth-child(3) .hero-content {
    text-align: center;
  }

  /* TÍTULO */
  .hero-parroquia .carousel-item:nth-child(3) h1 {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  /* BOTÓN */
  .hero-parroquia .carousel-item:nth-child(3) .btn-primary {
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
  }

  /* Línea secundaria ("Niños, Jóvenes…") */
  .hero-parroquia .carousel-item:nth-child(3) .news-line {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .carousel-item:nth-child(3) .hero-content {
    padding-top: 20px;
  }
}

/* ===============================
VIDA PARROQUIAL – ESTILO EWTN
=============================== */

.vida-ewtn {
  background-color: #f9fafb;
  padding: 60px 0 80px;
}

.vida-title {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 10px;
}

.vida-intro {
  text-align: center;
  color: #6b7280;
  max-width: 720px;
  margin: 0 auto 50px;
  font-size: 1rem;
}

/* GRID – 3 por fila */
.vida-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* TARJETA */
.vida-card {
  background: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.vida-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
}

/* CONTENIDO */
.vida-content {
  padding: 20px 22px 26px;
}

.vida-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 10px;
  line-height: 1.3;
}

.vida-content p {
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.55;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .vida-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .vida-grid {
    grid-template-columns: 1fr;
  }

  .vida-img img {
    height: 190px;
  }
}

/* ===============================
VIDA PARROQUIAL – TEXTO JUSTIFICADO PRO
=============================== */

.vida-content p {
  text-align: justify;

  /* Corte correcto de palabras */
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;

  /* Evita huecos grandes */
  word-spacing: normal;
  letter-spacing: normal;

  /* Permite saltos naturales */
  overflow-wrap: break-word;
  word-break: normal;

  /* Lectura cómoda */
  line-height: 1.6;
}

/* Ajuste fino en móvil */
@media (max-width: 576px) {
  .vida-content p {
    font-size: 0.95rem;
    line-height: 1.55;
    text-wrap: pretty;
    /* mejora visual moderna */
  }
}

/* ===============================
CONTACTO – ESTILO EWTN PRO
=============================== */

.contacto-ewtn {
  background: #ffffff;
  padding: 80px 0;
}

.contacto-grid {
  display: flex;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  display: flex;
  justify-content: center; /* 🔥 centra horizontal */
}

.contacto-info iframe {
  width: 100%;
  height: 300px;
  border: 0;
  margin-bottom: 20px;
  font-weight: bold;
}

.contacto-info h3 {
  color: #000000;
  font-size: 1.4rem;
  margin-bottom: 10px;
  font-weight: bold;
}

.contacto-info h4 {
  margin-top: 20px;
  color: #000000;
  font-weight: bold;
}

.contacto-info p {
  color: #374151;
  line-height: 1.6;
  text-align: justify;
  /*hyphens: auto;*/
}

.contacto-form h3 {
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
}

.form-check {
  font-size: 0.85rem;
  margin: 15px 0;
}

.form-check a {
  color: #6fb300;
  font-weight: 600;
  text-decoration: none;
}

.btn-contacto {
  background: #f70202;
  color: #fff;
  padding: 10px 22px;
  border-radius: 4px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  /* 🔴 quita el subrayado */
}

.btn-contacto:hover {
  background: #b10816;
}

/* Responsive */
@media (max-width: 768px) {
  .contacto-grid {
    grid-template-columns: 1fr;
  }
}

/* ===============================
CONTACTO – SUBIR TÍTULO
=============================== */

.contacto-ewtn .contacto-title {
  margin-top: -60px;
  /* 🔼 sube el título */
  margin-bottom: 30px;
}

/* ===============================
ACORDEON PARA GALERIA
=============================== */
.accordion-button {
  font-weight: 600;
}

.accordion-button:not(.collapsed) {
  background-color: #f8f9fa;
  color: #0b1f3a;
}

.badge {
  font-size: 0.75rem;
}

/* =========================
GALERÍA PARROQUIAL
========================= */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  /* justify-items: stretch;*/
  max-width: 900px;
  margin: 0 auto;
}

.media-item {
  width: 100%;
  max-width: none; /* 🔥 tamaño más grande */
  /*height: 150px;*/
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: #000;
  aspect-ratio: 3 / 2; /* 🔥 en vez de height */
}

.media-grid > div {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.media-item:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* IMAGEN / VIDEO */
.media-item img,
.media-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* BADGE */
.media-badge {
  position: absolute;
  bottom: 6px;
  left: 6px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 6px;
}

/* FECHA */
.media-date {
  font-size: 12px;
  color: #6b7280;
  margin-top: 4px;
  text-align: center;
}

/* =========================
TEXTO PARA GALERÍA PARROQUIAL
========================= */
.texto-destacado-ewtn {
  max-width: 720px;
  margin: 1rem auto 0;

  line-height: 1.65;
  font-size: 1rem;
  color: #444;

  /* Comportamiento base */
  word-break: normal;
  overflow-wrap: normal;
}

/* 🖥️ Desktop y tablets grandes */
@media (min-width: 992px) {
  .texto-destacado-ewtn {
    text-align: justify;
    text-justify: inter-word;

    /* NO partir palabras */
    hyphens: none;
  }
}

/* 📱 Móvil y tablets pequeñas */
@media (max-width: 991px) {
  .texto-destacado-ewtn {
    text-align: left;

    /* 🔴 CLAVE: evitar palabras partidas */
    hyphens: none;
  }
}

/* =========================
GALERÍA – BOTONES ACCORDION
========================= */

/* Estado normal (cerrado) */
.accordion-button {
  background-color: #f5f7f9;
  /* fondo suave */
  color: #212529;
  font-weight: 600;
  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

/* Hover */
.accordion-button:hover {
  background-color: #e9ecef;
}

/* Estado abierto */
.accordion-button:not(.collapsed) {
  background-color: #ebcf81;
  color: #000;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.08);
}

/* Quitar el azul feo de Bootstrap al hacer focus */
.accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

/* =========================
GALERÍA – ICONO + / − (FIX BOOTSTRAP)
========================= */

.galeria-btn::after {
  content: "+";
  /* FORZAR contenido */
  background-image: none !important;
  transform: none !important;

  font-size: 1.4rem;
  font-weight: 700;
  color: #198754;
  /* 🟢 verde Bootstrap */

  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Estado ABIERTO → − */
.galeria-btn:not(.collapsed)::after {
  content: "−";
  font-size: 1.6rem;
  color: #dc3545;
  /* 🔴 rojo Bootstrap */
}

@media (max-width: 991px) {
  .justificar-movil {
    text-align: justify;
    text-justify: inter-word;
    overflow-wrap: break-word;
  }
}

.texto-destacado-ewtn {
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: normal;
  /*/text-align: left;*/
}

/* =========================
VIDA – TÍTULOS CENTRADOS
========================= */

.vida-content h3 {
  text-align: center;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

/* =========================
SLIDE GALERÍA – TEXTO BLANCO
========================= */

.slide-dark-text h1,
.slide-dark-text p {
  color: #ffffff;
}

/* Un poco más de contraste para el subtítulo */
.slide-dark-text p {
  opacity: 0.95;
}

/* Opcional: mejorar legibilidad sobre la imagen */
.slide-dark-text h1,
.slide-dark-text p {
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

@media (max-width: 768px) {
  .slide-dark-text p {
    font-size: 1.05rem;
  }

  .media-grid {
    grid-template-columns: repeat(2, 1fr); /* 🔥 control total */
  }

  .media-item {
    max-width: 100%;
    aspect-ratio: 3 / 2;
  }
}

/* =========================
FOOTER MINIMAL
========================= */

.footer-minimal {
  background: linear-gradient(90deg, #0b1c2d, #07121f);
  color: #cfd8dc;

  padding: 12px 0;
  /* 👈 muy bajo */
  font-size: 0.9rem;

  border-top: 2px solid #f2a900;
  /* dorado discreto */
}

.footer-minimal p {
  margin: 0;
  letter-spacing: 0.3px;
}

/* ===============================
CANTOS LITÚRGICOS
=============================== */

.canto-texto {
  font-size: 1.02rem;
  line-height: 1.25;
  white-space: pre-line;
  max-width: 700px;
}

.canto-texto p {
  margin-bottom: 12px;
}

@media (max-width: 576px) {
  .canto-texto {
    font-size: 1.02rem;
    line-height: 1.25;
  }
}

.btn-volver {
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.85rem;
}

.menu-toggle {
  color: #fcfafa !important;
}

.site-header {
  position: fixed;
  top: 0;
  height: 84px;
  width: 100%;
  z-index: 1000;
}

/* 🔥 FIX hover navbar admin */
.navbar-dark .navbar-nav .nav-link:hover {
  background-color: transparent !important; /* elimina el negro */
  color: #f59e0b !important; /* tu naranja */
}

@media (max-width: 576px) {
  .media-grid {
    grid-template-columns: repeat(2, 1fr); /* 🔥 control total */
  }

  .media-item {
    max-width: 100%;
    aspect-ratio: 3 / 2;
  }
}

.tabla-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch; /* 🔥 scroll suave en iPhone */
}

.tabla-responsive::-webkit-scrollbar {
  height: 6px;
}

.tabla-responsive::-webkit-scrollbar-thumb {
  background: #999;
  border-radius: 10px;
}

/* Alinear botones de Hero */
.hero-buttons {
  display: flex;
  flex-direction: column; /* 🔥 clave */
  gap: 4px;
  justify-content: center;
  align-items: center;
  margin-top: 140px; /* 🔥 ajusta aquí */
}

.hero-buttons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 280px;
  margin: 0;
}

.hero-btn,
.hero-buttons a {
  margin: 0 !important;
}
@media (max-width: 576px) {
  .hero-content {
    padding: 0 16px;
  }

  .hero-editorial {
    text-align: center;
  }

  .hero-buttons {
    flex-direction: column; /* 🔥 uno debajo del otro */
    align-items: center;
  }

  .hero-btn,
  .hero-buttons a {
    width: 100%;
    max-width: 280px;
  }
}

.hero-btn {
  padding: 12px 22px;
  font-size: 0.9rem;
  border-radius: 6px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Botón rojo */
.btn-main {
  background: #e11d2e;
  color: #fff;
}

/* Botón blanco */
.btn-secondary-custom {
  background: #ffffff;
  color: #111;
  border: 1px solid #ddd;
}

@media (max-width: 576px) {
  .hero-overlay {
    align-items: flex-start;
  }

  .hero-editorial {
    margin-top: 120px; /* 👈 controlas aquí exacto */
  }
}

@media (max-width: 576px) {
  .hero-overlay {
    align-items: flex-start;
  }

  .hero-content {
    margin-top: 40px; /* 🔥 CONTROL GLOBAL (igual para todos los slides) */
  }

  .hero-buttons {
    margin-top: 40px; /* menos en móvil */
  }
}

@media (max-width: 1200px) {
  .header-center a {
    padding: 0 8px;
    font-size: 13.8px;
  }
}

@media (min-width: 1024px) and (max-width: 1200px) {
  .header-center a {
    padding: 0 6px;
    font-size: 13px;
  }
}

.vida-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.vida-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.vida-content {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center; /* 🔥 centra vertical */
}

.vida-content p {
  flex: 1;
}

/* Para imagenes de Horarios/*

.horarios-galeria {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
}

/* TARJETA IMAGEN PARA HORARIOS */

.horarios-galeria {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 🔥 SIEMPRE 3 COLUMNAS */
  gap: 16px;
  max-width: 900px; /* 👈 evita que se hagan gigantes */
  margin: 0 auto; /* 👈 centrado bonito */
}

.horario-img-item {
  aspect-ratio: 1 / 1; /* 🔥 CUADRADO PERFECTO */
  overflow: hidden;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
}

/* IMAGEN */
.horario-img-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 🔥 recorta bien sin deformar */
  transition: transform 0.4s ease;
}

/* EFECTO HOVER 🔥 */
.horario-img-item:hover img {
  transform: scale(1.08);
}

/* OVERLAY SUAVE */
.horario-img-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.horario-img-item:hover::after {
  opacity: 1;
}

@media (max-width: 768px) {
  .horarios-galeria {
    grid-template-columns: repeat(
      3,
      1fr
    ); /* 🔥 siguen siendo 3 pero más pequeñas */
  }
}

/* 🔥 FIX MOBILE VIDA PARROQUIAL */
@media (max-width: 768px) {
  .vida-grid {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  .vida-card {
    width: 100%;
    max-width: 100%;
  }

  .vida-img img {
    width: 100%;
    height: auto;
  }
}

.vida-img {
  width: 100%;
  height: 200px; /* 🔥 MISMA ALTURA PARA TODAS */
  overflow: hidden;
}

.vida-img img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 🔥 recorta sin deformar */
  display: block;
}

/* ===============================
CONTACTO – CENTRADO PRO
=============================== */

.contacto-grid {
  display: flex;
  justify-content: center; /* 🔥 centra horizontal */
}

.contacto-info {
  max-width: 600px; /* 🔥 controla ancho */
  width: 100%;
  text-align: center; /* 🔥 centra textos */
  margin: 0 auto; /* 🔥 centra el bloque */
}

/* TITULOS */
.contacto-info h3,
.contacto-info h4 {
  text-align: center;
}

/* TEXTO */
.contacto-info p {
  text-align: center; /* 🔥 cambia de justify a centrado */
}

/* BOTONES */
.contacto-info .btn-contacto {
  display: inline-block;
  margin: 10px 6px; /* 🔥 separación bonita */
}

/* CONTENEDOR DE BOTONES */
.contacto-info a {
  display: inline-block;
}

/* ===============================
MOBILE
=============================== */
@media (max-width: 768px) {
  .contacto-info {
    padding: 0 16px; /* 🔥 aire lateral */
  }

  .contacto-info p {
    font-size: 0.95rem;
  }

  .contacto-info .btn-contacto {
    display: block; /* 🔥 uno debajo del otro */
    width: 100%;
    max-width: 280px;
    margin: 10px auto;
  }
}

/*PARA APUNTAR DIRECTAMENTE A CONTACTENOS*/

#contacto {
  scroll-margin-top: 14px; /* ajusta según altura de tu menú */
}

/*Bajar Botones del Hero*/
@media (max-width: 576px) {
  /* Quitar empuje global */
  .hero-content {
    margin-top: 180px !important;
  }

  /* Subir bloque de botones */
  .hero-buttons {
    margin-top: 180px !important;
    gap: 10px;
  }

  /* Ajuste fino de botones */
  .hero-buttons a {
    max-width: 240px;
  }

  /* Redes más pegadas a botones */
  .hero-socials {
    margin-top: 12px !important;
  }
}

/* ===============================
SLIDE 3 – BAJAR TEXTO Y BOTÓN
=============================== */

.hero-parroquia .carousel-item:nth-child(3) .hero-content {
  margin-top: 220px; /* 🔥 ajusta aquí (prueba 200–260) */
}

/* Separar botón del texto */
.hero-parroquia .carousel-item:nth-child(3) .btn-primary {
  margin-top: 20px;
}

/* ===============================
SLIDE 4 – BAJAR BOTÓN
=============================== */

.hero-parroquia .carousel-item:nth-child(4) .hero-content {
  margin-top: 260px; /* 🔥 ajusta aquí: prueba 240, 260, 280 */
}

.hero-parroquia .carousel-item:nth-child(4) .btn-primary {
  margin-top: 20px; /* separación fina del texto */
}

/* ===============================
SLIDE 4 – MOBILE AJUSTE FINO (hero-4)
=============================== */
@media (max-width: 576px) {
  /* SOLO slide 4 */
  .hero-parroquia .carousel-item:nth-child(4) .hero-content {
    margin-top: 320px !important; /* 🔥 ajusta aquí (300–360 ideal) */
  }

  /* Botón más abajo */
  .hero-parroquia .carousel-item:nth-child(4) .btn-primary {
    margin-top: 30px;
  }

  /* Redes sociales más abajo */
  .hero-parroquia .carousel-item:nth-child(4) .hero-socials {
    margin-top: 20px;
  }
}

/* ===============================
SLIDE 2 – POSICIÓN BOTÓN + REDES
=============================== */

.hero-parroquia .carousel-item:nth-child(2) .hero-content {
  margin-top: 260px; /* 🔽 BAJA TODO el bloque */
  margin-left: 60px; /* ➡️ lo mueve a la derecha */
  text-align: left;
}

/* Botón */
.hero-parroquia .carousel-item:nth-child(2) .btn-primary {
  margin-top: 20px;
}

/* Redes */
.hero-parroquia .carousel-item:nth-child(2) .hero-socials {
  margin-top: 14px;
}

@media (max-width: 576px) {
  .hero-parroquia .carousel-item:nth-child(2) .hero-content {
    margin-top: 220px !important; /* 🔽 baja pero menos */
    margin-left: 20px; /* ➡️ más sutil en móvil */
  }

  .hero-parroquia .carousel-item:nth-child(2) .hero-socials {
    margin-top: 10px;
  }
}

.hero-news .btn-primary {
  position: relative;
  z-index: 50;
  pointer-events: auto;
}

@media (max-width: 576px) {
  .hero-parroquia .carousel-item:nth-child(2) .hero-content {
    margin-top: 420px !important; /* 🔥 súbelo/bájalo aquí */
  }

  .hero-parroquia .carousel-item:nth-child(2) .btn-primary {
    margin-top: 30px;
  }
}

/*🔥 Solo slide 3 en móvil)*/

@media (max-width: 576px) {
  /* SOLO SLIDE 3 */
  .hero-parroquia .carousel-item:nth-child(3) .hero-content {
    margin-top: 320px !important; /* 🔥 ajusta aquí: prueba 240–320 */
  }

  /* Separación texto-botón */
  .hero-parroquia .carousel-item:nth-child(3) .btn-primary {
    margin-top: 24px;
  }
}

/*Boton Rojo de Galeria (Hero)*/
.btn-galeria {
  background: #e11d2e; /* 🔴 rojo parroquia */
  color: #ffffff; /* ⚪ texto blanco */
  border: none;
  padding: 12px 26px;
  border-radius: 1px; /* si quieres estilo píldora */
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: all 0.25s ease;
}

.btn-galeria:hover {
  background: #c51626; /* rojo más oscuro */
  color: #ffffff;
}

/* ===============================
REDES SOCIALES PRO
=============================== */

.redes-pro {
  background: linear-gradient(135deg, #c0d181, #c49617);
  padding: 70px 20px;
  text-align: center;
}

.redes-title {
  font-size: 2.2rem;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 10px;
}

.redes-subtitle {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  font-size: 1rem;
}

.redes-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* BOTONES */
.btn-red {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

/* FACEBOOK */
.btn-red.facebook {
  background: #1877f2;
}

.btn-red.facebook:hover {
  background: #145cd1;
  transform: translateY(-2px);
}

/* INSTAGRAM */
.btn-red.instagram {
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4);
}

.btn-red.instagram:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* ICONOS */
.btn-red i {
  font-size: 18px;
}

/* MOBILE */
@media (max-width: 576px) {
  .redes-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-red {
    width: 100%;
    max-width: 260px;
    justify-content: center;
  }
}

/* =========================
   FOOTER PRO
========================= */
.footer-pro {
  background: linear-gradient(135deg, #060a44, #1f1e1e);
  color: #e5e7eb;
  padding: 60px 20px 20px;
  font-size: 15px;
}

/* CONTENEDOR */
.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

/* BLOQUES */
.footer-brand,
.footer-links,
.footer-social {
  flex: 1 1 250px;
}

/* IZQUIERDA */
.footer-brand h2 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.footer-brand p {
  color: #cbd5f5;
  line-height: 1.6;
}

/* LINKS */
.footer-links a {
  display: block;
  color: #cbd5f5;
  text-decoration: none;
  margin-bottom: 10px;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #38bdf8;
  transform: translateX(3px);
}

/* DERECHA */
.footer-social p {
  margin-bottom: 8px;
  color: #cbd5f5;
}

/* BOTÓN */
.footer-social .btn {
  border-radius: 20px;
}

/* DIVISOR */
.footer-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 40px 0 20px;
}

/* PARTE FINAL */
.footer-bottom-pro {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.footer-bottom-pro p {
  margin: 0;
  color: #9ca3af;
}

/* LINKS LEGALES */
.footer-legal a {
  color: #9ca3af;
  text-decoration: none;
  margin: 0 5px;
  transition: 0.3s;
}

.footer-legal a:hover {
  color: #38bdf8;
}

/*✅ MEJORA PRO FOOTER EN MOVIL*/
@media (max-width: 576px) {
  .footer-container {
    gap: 20px;
  }

  .footer-social {
    margin-top: 10px;
  }

  .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .footer-links a {
    margin: 0;
  }
}

@media (max-width: 576px) {
  .btn-inicio-float {
    bottom: 12px;
    right: 12px;
    padding: 8px 12px;
    font-size: 0.75rem;
  }
}
