:root {
  --azul: #1a3a6b;
  --azul-claro: #508aed;
  --rojo: #b52025;
  --rojo-hover: #8b1219;
  --blanco: #ffffff;
  --gris-claro: #f4f6f9;
  --gris-texto: #444;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Source Sans 3', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  color: var(--gris-texto);
  background: var(--blanco);
  overflow-x: hidden;
}

/* ── PÁGINAS COMPLETAS ── */
.pagina {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pagina-contenido {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ── SPA TRANSITIONS ── */
.app-transition {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.25s ease-out, transform 0.25s ease-out;
}

.app-transition.loading {
  opacity: 0;
  transform: translateY(10px);
}

/* ── NAVEGACIÓN ── */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 200;
  background: rgba(63, 126, 233, 0.97);
  /* Corresponde a --azul-claro #2a5298 */
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 2rem;
  min-height: 85px;
  height: auto;
  border-bottom: 2px solid var(--rojo);
  transition: box-shadow .3s;
}

.scroll-progress {
  position: absolute;
  bottom: -2px;
  /* cover the red border */
  left: 0;
  height: 2px;
  background: #ffeb3b;
  /* A bright yellow or contrasting color */
  width: 0%;
  z-index: 201;
  transition: width 0.1s;
}

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

.nav-logo-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.nav-nombre {
  color: white;
  line-height: 1.2;
}

.nav-nombre strong {
  display: block;
  font-family: var(--serif);
  font-size: 15px;
}

.nav-nombre span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav-flag {
  width: 16px;
  height: 11px;
  object-fit: cover;
  border-radius: 1px;
  vertical-align: middle;
}

.nav-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

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

.nav-links-main a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 15.5px;
  letter-spacing: 0.3px;
  transition: color .2s;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}

.nav-links-main a:hover,
.nav-links-main a.active {
  color: white;
  border-bottom-color: var(--rojo);
}

.nav-top-bar {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav-top-bar > a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 14.5px;
  transition: color .2s;
}

.nav-top-bar > a:hover {
  color: white;
}

.nav-util {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: .6rem;
}

.nav-util a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 18px;
  transition: color .2s;
  display: flex;
  align-items: center;
}

.nav-util a:hover {
  color: white;
}

.nav-cta {
  background: var(--rojo) !important;
  color: white !important;
  padding: 8px 18px;
  border-radius: 4px;
  font-weight: 600 !important;
  font-size: 14px !important;
  letter-spacing: 0.5px;
  border-bottom: none !important;
  transition: background .2s !important;
}

.nav-cta:hover {
  background: var(--rojo-hover) !important;
}

.nav-eschool {
  display: flex;
  align-items: center;
  background: white;
  padding: 4px 12px;
  border-radius: 4px;
  height: 35px;
  margin-left: 10px;
  transition: transform 0.2s;
}

.nav-eschool:hover {
  transform: scale(1.05);
  border-bottom-color: transparent !important;
}

.nav-eschool img {
  height: 20px;
  width: auto;
  object-fit: contain;
}

/* ── PAGINADOR ── */
.paginador {
  position: fixed;
  right: 1.4rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 150;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pag-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: all .3s;
  display: block;
}

.pag-dot.activo {
  background: var(--rojo);
  border-color: var(--rojo);
  transform: scale(1.3);
}

.pag-dot-dark {
  background: rgba(26, 58, 107, 0.2);
  border-color: rgba(26, 58, 107, 0.35);
}

.pag-dot-dark.activo {
  background: var(--rojo);
  border-color: var(--rojo);
}

/* ── FLECHA SIGUIENTE ── */
.flecha {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 26px;
  cursor: pointer;
  animation: bounce 2s infinite;
  border: none;
  background: none;
  transition: color .2s;
}

.flecha-blanca {
  color: rgba(255, 255, 255, 0.5);
}

.flecha-blanca:hover {
  color: white;
}

.flecha-oscura {
  color: rgba(26, 58, 107, 0.3);
}

.flecha-oscura:hover {
  color: var(--azul);
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* ── HERO ── */
#p-inicio {
  background: var(--azul);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../assets/images/img_1.jpg') center center/cover no-repeat;
  filter: brightness(0.38);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.15);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, rgba(26, 58, 107, 0.55) 0%, rgba(181, 32, 37, 0.2) 100%);
}

.hero-content {
  position: relative;
  text-align: center;
  color: white;
  padding: 8rem 1.5rem 2rem;
  max-width: 860px;
  margin: 0 auto;
}

.hero-tag {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: rgba(255, 255, 255, 0.85);
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 5px 18px;
  border-radius: 20px;
  margin-bottom: 1.8rem;
}

.hero-logo {
  width: 160px;
  height: 160px;
  object-fit: contain;
  margin-bottom: 1.8rem;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.5));
  animation: fadeUp .8s ease both;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  line-height: 1.15;
  margin-bottom: 1.4rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
  animation: fadeUp .9s .1s ease both;
}

.hero-lema {
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  color: rgba(255, 255, 255, 0.93);
  font-style: italic;
  margin-bottom: 2.6rem;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.5;
  animation: fadeUp .9s .2s ease both;
}

.hero-lema em {
  font-style: normal;
  color: #f5c4c5;
}

.hero-btns {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp .9s .3s ease both;
}

/* ── MINI-HERO (Para páginas internas) ── */
.mini-hero {
  display: none !important;
}

/* Espaciado superior para compensar el navbar cuando no hay hero */
.pagina-contenido,
.cp-fotos-grid {
  padding-top: 110px;
}

.mini-hero-bg {
  position: absolute;
  inset: 0;
  background-size: 150px 150px;
  background-repeat: repeat;
  background-position: center;
  opacity: 0.25;
  /* Sutil para no distraer */
  z-index: 1;
}

.mini-hero-content {
  position: relative;
  z-index: 2;
  color: var(--azul);
  padding: 0 1.5rem;
  animation: fadeUp 0.8s ease both;
}

.mini-hero-content h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.5rem;
}

.mini-hero-content p {
  font-size: 1.1rem;
  color: #444;
  font-weight: 400;
}

/* ── COMPONENTES GLOBALES ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(26px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn-rojo {
  background: var(--rojo);
  color: white;
  padding: 13px 28px;
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.4px;
  transition: background .2s, transform .15s;
  border: none;
  cursor: pointer;
}

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

.btn-borde {
  background: transparent;
  color: white;
  padding: 13px 28px;
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 14px;
  text-decoration: none;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  transition: border-color .2s, transform .15s;
}

.btn-borde:hover {
  border-color: white;
  transform: translateY(-2px);
}

.stats-strip {
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
  text-align: center;
  padding: 1.3rem 2.8rem;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  color: white;
}

.stat-item:last-child {
  border-right: none;
}

.stat-num {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 700;
  display: block;
  line-height: 1;
}

.stat-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: .3rem;
}

/* ── SECCIÓN GENÉRICA ── */
.sec-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4.5rem 2.5rem;
  width: 100%;
}

.tag-seccion {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--rojo);
  font-weight: 600;
  margin-bottom: .6rem;
}

h2.titulo-seccion {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  color: var(--azul);
  margin-bottom: .4rem;
  line-height: 1.2;
}

.linea-roja {
  width: 44px;
  height: 3px;
  background: var(--rojo);
  border-radius: 2px;
  margin: 1rem 0 2rem;
}

.subtitulo {
  font-size: 16px;
  color: #666;
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 2rem;
}

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

.grid-mv {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media(max-width:720px) {
  .grid-mv {
    grid-template-columns: 1fr;
  }
}

.mv-card {
  border-left: 4px solid var(--rojo);
  padding: 1.6rem 1.8rem 1.6rem 2rem;
  background: var(--gris-claro);
  border-radius: 0 8px 8px 0;
}

.mv-etiqueta {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--rojo);
  font-weight: 700;
  margin-bottom: .6rem;
}

.mv-card p {
  font-size: 15px;
  line-height: 1.8;
  color: #555;
}

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

@media(max-width:800px) {
  .historia-grid {
    grid-template-columns: 1fr;
  }
}

.historia-img {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(26, 58, 107, 0.15);
}

.historia-img img {
  width: 100%;
  height: 290px;
  object-fit: cover;
  display: block;
}

.historia-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: var(--rojo);
  color: white;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 700;
  padding: .5rem 1.1rem;
  border-radius: 4px;
  line-height: 1;
}

.historia-badge span {
  font-size: 10px;
  font-family: var(--sans);
  display: block;
  letter-spacing: 1px;
}

.historia-texto p {
  font-size: 15px;
  line-height: 1.85;
  color: #555;
  margin-bottom: 1rem;
}

.historia-texto strong {
  color: var(--azul);
}

/* ── VALORES ── */
#p-valores {
  background: var(--gris-claro);
}

.valores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.4rem;
}

.valor-card {
  background: white;
  border-radius: 8px;
  padding: 2rem 1.5rem;
  text-align: center;
  border-top: 3px solid var(--rojo);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
  transition: transform .2s, box-shadow .2s;
}

.valor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.valor-icono {
  font-size: 2.2rem;
  margin-bottom: .8rem;
}

.valor-nombre {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--azul);
  font-weight: 700;
  margin-bottom: .4rem;
}

.valor-desc {
  font-size: 13.5px;
  color: #888;
  line-height: 1.5;
}

/* ── NIVELES ── */
#p-niveles {
  background: var(--blanco);
}

.niveles-bloques {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

@media(max-width:900px) {
  .niveles-bloques {
    grid-template-columns: 1fr;
  }
}

.nivel-bloque {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(26, 58, 107, 0.1);
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}

.nivel-bloque:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(26, 58, 107, 0.18);
}

.nivel-foto {
  position: relative;
  overflow: hidden;
}

.nivel-foto img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform .4s;
}

.nivel-bloque:hover .nivel-foto img {
  transform: scale(1.05);
}

.nivel-foto-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 30%, rgba(26, 58, 107, 0.75));
}

.nivel-foto-titulo {
  position: absolute;
  bottom: 1rem;
  left: 1.2rem;
  right: 1.2rem;
  color: white;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 700;
}

.nivel-foto-titulo span {
  display: block;
  font-size: 10px;
  font-family: var(--sans);
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.nivel-cuerpo {
  background: white;
  padding: 1.3rem;
  flex: 1;
}

.nivel-grados {
  font-size: 13px;
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.nivel-precios {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: .8rem;
  animation: slideDown .25s ease-out;
}

.precio-item {
  flex: 1;
  min-width: 100px;
}

.precio-etiqueta {
  font-size: 10px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2px;
}

.precio-val {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--rojo);
  line-height: 1;
}

.precio-nota {
  font-size: 11px;
  color: #aaa;
}

.nivel-divider {
  height: 1px;
  background: #edf0f5;
  margin: .9rem 0;
}

/* Accordion details & summary styles */
.nivel-detalles {
  border-top: 1px solid #edf0f5;
  margin-top: .5rem;
  padding-top: .8rem;
}

.nivel-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--azul);
  list-style: none;
  outline: none;
  user-select: none;
  transition: color .2s;
}

.nivel-summary::-webkit-details-marker {
  display: none;
}

.nivel-summary:hover {
  color: var(--rojo);
}

.nivel-summary::after {
  content: "+";
  font-size: 18px;
  color: var(--rojo);
  font-weight: 700;
  transition: transform .25s ease;
}

details[open] .nivel-summary::after {
  content: "−";
  transform: rotate(180deg);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── SERVICIOS ADICIONALES ── */
.servicios-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media(max-width:700px) {
  .servicios-grid {
    grid-template-columns: 1fr;
  }
}

.servicio-bloque {
  background: var(--gris-claro);
  border-radius: 8px;
  padding: 1.5rem;
  border-left: 4px solid var(--azul);
}

.servicio-bloque.rojo {
  border-left-color: var(--rojo);
}

.servicio-titulo {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--azul);
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.servicio-titulo span {
  font-size: 1.2rem;
}

.servicio-lista {
  list-style: none;
}

.servicio-lista li {
  font-size: 13.5px;
  color: #555;
  padding: 5px 0;
  border-bottom: 1px solid #e4e9f0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.servicio-lista li:last-child {
  border-bottom: none;
}

.servicio-lista li::before {
  content: "•";
  color: var(--rojo);
  font-weight: 700;
  margin-top: 1px;
  flex-shrink: 0;
}

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

.horario-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.htab {
  background: white;
  border: 1.5px solid #d1dae8;
  color: #555;
  padding: 9px 22px;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  font-family: var(--sans);
  transition: all .2s;
}

.htab.active,
.htab:hover {
  background: var(--azul);
  color: white;
  border-color: var(--azul);
}

.horario-panel {
  display: none;
}

.horario-panel.active {
  display: block;
  animation: fadeUp .3s ease;
}

.horario-card {
  background: white;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  max-width: 680px;
}

.hrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.4rem;
  border-bottom: 1px solid #f0f4f8;
}

.hrow:last-child {
  border-bottom: none;
}

.hrow:nth-child(even) {
  background: #fafbfd;
}

.hdia {
  font-weight: 600;
  font-size: 14px;
  min-width: 160px;
  color: var(--azul);
}

.htime {
  font-size: 13.5px;
  color: white;
  background: var(--azul-claro);
  padding: 4px 14px;
  border-radius: 3px;
}

.secretaria-nota {
  background: var(--azul);
  color: white;
  border-radius: 6px;
  padding: 1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 1.2rem;
  max-width: 680px;
}

.sn-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sn-val {
  font-size: 15px;
  font-weight: 600;
}

/* ── GALERÍA ── */
#p-galeria {
  background: var(--azul);
}

#p-galeria .titulo-seccion {
  color: white;
}

#p-galeria .tag-seccion {
  color: rgba(255, 255, 255, 0.6);
}

#p-galeria .linea-roja {
  background: var(--rojo);
}

/* ── CAROUSEL ── */
.gc-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0 -0.5rem;
}

.gc-viewport {
  overflow: hidden;
  flex: 1;
  border-radius: 10px;
}

.gc-track {
  display: flex;
  gap: 10px;
  will-change: transform;
}

.gc-card {
  flex: 0 0 calc(33.333% - 7px);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform .3s, box-shadow .3s, opacity .3s;
  opacity: 0.6;
  transform: scale(0.95);
}

.gc-card.active {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 8px 36px rgba(0, 0, 0, 0.5);
}

.gc-card.adjacent {
  opacity: 0.8;
  transform: scale(0.97);
}

.gc-card:hover {
  opacity: 1;
  transform: scale(1.02);
}

.gc-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform .4s, filter .3s;
}

.gc-card:hover .gc-img {
  transform: scale(1.06);
  filter: brightness(0.85);
}

.gc-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(10, 25, 55, 0.92));
  color: white;
  padding: 1.4rem 1rem .75rem;
  font-size: 13px;
  letter-spacing: 0.3px;
  opacity: 0;
  transition: opacity .3s;
}

.gc-card:hover .gc-label,
.gc-card.active .gc-label {
  opacity: 1;
}

/* Nav buttons */
.gc-nav {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, transform .15s, border-color .2s;
  z-index: 10;
  margin: 0 8px;
}

.gc-nav:hover {
  background: var(--rojo);
  border-color: var(--rojo);
  transform: scale(1.1);
}

/* Dots */
.gc-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1.4rem;
}

.gc-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  cursor: pointer;
  transition: background .25s, transform .25s;
  padding: 0;
}

.gc-dot.active {
  background: var(--rojo);
  transform: scale(1.4);
}

.gc-dot:hover {
  background: rgba(255, 255, 255, 0.6);
}

/* ── LIGHTBOX MODAL ── */
.gm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 50, 0.93);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.gm-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.gm-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 90vw;
}

.gm-img {
  max-width: 80vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  border: 2px solid var(--rojo);
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.6);
  transform: scale(0.9);
  transition: transform .35s cubic-bezier(.4, 0, .2, 1);
}

.gm-overlay.open .gm-img {
  transform: scale(1);
}

.gm-label {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  letter-spacing: 0.5px;
  text-align: center;
  font-style: italic;
  margin: 0;
}

.gm-close {
  position: absolute;
  top: 1.2rem;
  right: 1.6rem;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 3rem;
  line-height: 1;
  cursor: pointer;
  transition: color .2s, transform .2s;
  z-index: 10;
  padding: 0;
}

.gm-close:hover {
  color: var(--rojo);
  transform: scale(1.15);
}

.gm-arrow {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .15s;
  flex-shrink: 0;
}

.gm-arrow:hover {
  background: var(--rojo);
  border-color: var(--rojo);
  transform: scale(1.1);
}

/* ── ADMISIONES ── */
#p-admisiones {
  background: var(--blanco);
}

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

@media(max-width:760px) {
  .admisiones-grid {
    grid-template-columns: 1fr;
  }
}

.req-lista {
  list-style: none;
}

.req-lista li {
  display: flex;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid #edf0f5;
  align-items: flex-start;
  font-size: 15px;
  color: #444;
}

.req-lista li:last-child {
  border-bottom: none;
}

.req-bala {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rojo);
  margin-top: 5px;
  flex-shrink: 0;
}

.req-extra {
  background: #fff8f8;
  border-left: 3px solid var(--rojo);
  padding: 1rem 1.2rem;
  border-radius: 0 6px 6px 0;
  margin-top: 1.2rem;
}

.req-extra-titulo {
  font-size: 12px;
  color: var(--rojo);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: .5rem;
}

.req-extra p {
  font-size: 13.5px;
  color: #666;
  line-height: 1.7;
}

.req-acciones {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 1.8rem;
}

.btn-wa {
  background: #25d366;
  color: white;
  padding: 12px 22px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: opacity .2s, transform .15s;
}

.btn-wa:hover {
  opacity: .88;
  transform: translateY(-1px);
}

.btn-cita {
  background: var(--azul);
  color: white;
  padding: 12px 22px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: opacity .2s, transform .15s;
}

.btn-cita:hover {
  opacity: .88;
  transform: translateY(-1px);
}

.admision-foto {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.13);
}

.admision-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  max-height: 500px;
}

/* ── CONTACTO ── */
#p-contacto {
  background: var(--gris-claro);
}

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

@media(max-width:760px) {
  .contacto-grid {
    grid-template-columns: 1fr;
  }
}

.contacto-card {
  background: white;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  padding: 2rem;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.citem {
  display: flex;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid #f0f4f8;
  align-items: flex-start;
}

.citem:last-child {
  border-bottom: none;
}

.citem-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gris-claro);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.citem-label {
  font-size: 11px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.citem-val {
  font-size: 15px;
  font-weight: 600;
  color: var(--azul);
  margin-top: 1px;
}

.citem-val a {
  color: inherit;
  text-decoration: none;
}

.citem-val a:hover {
  color: var(--rojo);
}

.redes-btns {
  display: flex;
  gap: 10px;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.red-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 4px;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity .2s;
}

.red-fb {
  background: #1877f2;
  color: white;
}

.red-ig {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: white;
}

.red-wa {
  background: #25d366;
  color: white;
}

.red-btn:hover {
  opacity: .88;
}

.mapa-box {
  background: white;
  border-radius: 8px;
  border: 1px solid #d0dcea;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  padding: 2.5rem;
  min-height: 300px;
}

.mapa-icon {
  font-size: 2.5rem;
  color: var(--rojo);
}

.mapa-dir {
  font-size: 14px;
  color: #666;
  max-width: 260px;
  line-height: 1.7;
}

/* ── MAPA-BOX SPLIT ── */
.mapa-box--split {
  padding: 0;
  gap: 0;
  min-height: auto;
  overflow: hidden;
}

.cta-docente {
  background: linear-gradient(135deg, var(--azul) 0%, #2a5298 60%, var(--azul-claro) 100%);
  color: white;
  padding: 2rem 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  position: relative;
}

.cta-docente::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--rojo);
}

.cta-docente-badge {
  background: var(--rojo);
  color: white;
  padding: 4px 14px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 20px;
  letter-spacing: 1.2px;
  display: inline-block;
}

.cta-docente-titulo {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: white;
  margin: 0;
  line-height: 1.3;
}

.cta-docente-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 280px;
  line-height: 1.6;
  margin: 0;
}

.cta-docente-btn {
  margin-top: 0.5rem;
  font-size: 13px !important;
  padding: 9px 24px !important;
  display: inline-block;
  transition: transform .2s, box-shadow .2s;
}

.cta-docente-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(181, 32, 37, 0.4);
}

.mapa-ubicacion {
  padding: 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  flex: 1;
  justify-content: center;
}

/* ── FOOTER ── */
footer {
  background: #0f2347;
  color: rgba(255, 255, 255, 0.7);
  padding: 2.5rem 2.5rem 1.5rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* ── SECCIÓN DOCENTE DESTACADA ── */
.footer-docentes {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2.5rem;
  text-align: left;
}

.fd-info {
  flex: 2.2;
}

.footer-docentes h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: white;
  margin-bottom: 0.5rem;
}

.fd-intro {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.fd-detalles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.fd-perfil h4,
.fd-oferta h4 {
  font-size: 13px;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.fd-perfil ul,
.fd-oferta ul {
  list-style: none;
  padding: 0;
}

.fd-perfil li,
.fd-oferta li {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.5rem;
  line-height: 1.5;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.fd-perfil li::before {
  content: "🔍";
  font-size: 11px;
  flex-shrink: 0;
}

.fd-oferta li::before {
  content: "✨";
  font-size: 11px;
  flex-shrink: 0;
}

.fd-accion {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  padding: 2rem 1.5rem;
  border-radius: 6px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  min-width: 250px;
}

.fd-accion .btn-rojo {
  width: 100%;
  text-align: center;
  padding: 12px 20px;
  text-decoration: none;
}

.fd-accion span {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.4);
}

@media(max-width: 860px) {
  .footer-docentes {
    flex-direction: column;
    align-items: stretch;
    gap: 1.8rem;
    padding: 1.5rem;
  }

  .fd-detalles {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .fd-accion {
    min-width: unset;
  }
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

@media(max-width:700px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}

.footer-marca strong {
  color: white;
  font-family: var(--serif);
  font-size: 1.2rem;
  display: block;
  margin-bottom: .5rem;
}

.footer-marca p {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
}

.footer-ministerio {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
}

.footer-ministerio span {
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.2px;
}

.footer-logo-iglesia {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  padding: 8px 16px;
  border-radius: 8px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  max-width: 100%;
}

.footer-logo-iglesia:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.footer-logo-iglesia img {
  height: 76px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-col h4 {
  color: white;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: .9rem;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 13px;
  margin-bottom: .45rem;
  transition: color .2s;
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
}

.footer-social {
  display: flex;
  gap: 14px;
}

.footer-social a {
  color: rgba(255, 255, 255, 0.4);
  font-size: 18px;
  text-decoration: none;
  transition: color .2s;
}

.footer-social a:hover {
  color: white;
}

@media(max-width:900px) {
  nav {
    padding: 0 1.2rem;
  }

  .paginador {
    display: none;
  }

  .sec-inner {
    padding: 4rem 1.4rem;
  }

  /* Carousel: 2 visible cards on tablet */
  .gc-card {
    flex: 0 0 calc(50% - 5px);
  }

  .gm-arrow {
    width: 40px;
    height: 40px;
  }
}

@media(max-width:600px) {
  .stat-item {
    width: 50%;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .niveles-bloques {
    grid-template-columns: 1fr;
  }

  /* Carousel: 1 visible card on mobile */
  .gc-card {
    flex: 0 0 100%;
  }

  .gc-nav {
    width: 38px;
    height: 38px;
    margin: 0 4px;
  }

  .gm-arrow {
    display: none;
  }

  .gm-img {
    max-width: 95vw;
    max-height: 70vh;
  }
}

/* ── RESPONSIVE MOBILE NAVIGATION ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 210;
}

.nav-toggle span {
  width: 100%;
  height: 2.5px;
  background-color: var(--blanco);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Transform hamburger to X on active */
.nav-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media(max-width: 960px) {
  .nav-toggle {
    display: flex;
  }

  .nav-right {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 280px;
    height: calc(100vh - 70px);
    overflow-y: auto;
    overflow-x: hidden;
    background: rgba(15, 35, 71, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: flex-start;
    padding: 3rem 2rem 4rem;
    gap: 1.6rem;
    border-left: 2px solid var(--rojo);
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    z-index: 199;
    /* Scroll suave en iOS */
    -webkit-overflow-scrolling: touch;
  }

  .nav-right.active {
    right: 0;
  }

  .nav-links-main,
  .nav-top-bar {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 1.2rem;
  }

  .nav-links-main a,
  .nav-top-bar > a {
    font-size: 17px;
    width: 100%;
    padding-bottom: 8px;
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.08);
  }

  .nav-links-main a:hover,
  .nav-links-main a.active,
  .nav-top-bar > a:hover,
  .nav-top-bar > a.active {
    border-bottom-color: var(--rojo);
  }

  .nav-top-bar a.nav-cta {
    background: var(--rojo) !important;
    text-align: center;
    border-bottom: none !important;
    padding: 10px 18px !important;
    width: 100%;
    margin-top: 0.5rem;
  }

  .nav-util {
    margin-left: 0;
    margin-top: 1rem;
    width: 100%;
    justify-content: flex-start;
    gap: 18px;
    padding-top: 1.5rem;
    border-top: 1.5px solid rgba(255, 255, 255, 0.12);
  }
}

/* ── TARJETA DESTACADA INGLÉS INTENSIVO ── */
.plus-ingles-card {
  display: flex;
  flex-direction: row;
  gap: 2.5rem;
  background: linear-gradient(135deg, #ffffff, #f4f6f9);
  border: 2px solid var(--azul-claro);
  border-radius: 12px;
  padding: 2.5rem;
  margin-top: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  align-items: center;
  text-align: left;
}

.plus-ingles-info {
  flex: 1.2;
}

.badge-destacado {
  background: var(--rojo);
  color: white;
  padding: 4px 12px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.plus-ingles-info h3 {
  font-family: var(--serif);
  font-size: 2.2rem;
  color: var(--azul);
  margin-bottom: 0.2rem;
}

.subtitulo-plus {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--rojo);
  display: block;
  margin-bottom: 1.2rem;
}

.plus-ingles-info p {
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: #555;
  font-size: 1.05rem;
}

.plus-beneficios {
  list-style: none;
  padding: 0;
}

.plus-beneficios li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--gris-texto);
}

.plus-beneficios li span {
  color: #2e7d32;
  font-weight: bold;
}

.plus-ingles-video {
  flex: 0.8;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 326px;
}

.instagram-iframe {
  width: 100%;
  max-width: 328px;
  height: 480px;
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Responsividad */
@media (max-width: 900px) {
  .plus-ingles-card {
    flex-direction: column;
    padding: 1.5rem;
    gap: 2rem;
  }

  .plus-ingles-info h3 {
    font-size: 1.8rem;
  }

  .plus-ingles-video {
    width: 100%;
    min-width: unset;
  }
}

/* Espacio entre la tarjeta de inglés y los servicios adicionales */
.servicios-grid {
  margin-top: 3rem;
}

/* ── BOTÓN FLOTANTE DE WHATSAPP ── */
.btn-float-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 999;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-float-whatsapp:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.btn-float-whatsapp svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

/* Tooltip para WhatsApp */
.whatsapp-tooltip {
  position: absolute;
  right: 75px;
  background-color: #1a3a6b;
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.btn-float-whatsapp:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ── VIÑETA FLOTANTE DE ADMISIÓN 2027 ── */
.badge-float-admissions {
  position: fixed;
  bottom: 95px;
  right: 20px;
  background: linear-gradient(135deg, #e53935 0%, var(--rojo) 100%);
  color: #fff;
  padding: 12px 20px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 25px rgba(181, 32, 37, 0.4);
  z-index: 999;
  text-decoration: none;
  font-family: var(--sans);
  font-weight: 600;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: pulse-admissions 2.5s infinite;
}

.badge-float-admissions:hover {
  transform: scale(1.05) translateY(-5px);
  box-shadow: 0 12px 30px rgba(181, 32, 37, 0.6);
  background: linear-gradient(135deg, #e53935 0%, var(--rojo) 100%);
}

.badge-float-admissions .badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  animation: spin-slow 8s linear infinite;
}

.badge-float-admissions .badge-text {
  display: flex;
  flex-direction: column;
}

.badge-float-admissions .badge-title {
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 700;
}

.badge-float-admissions .badge-sub {
  font-size: 0.7rem;
  opacity: 0.9;
  font-weight: 400;
}

@keyframes pulse-admissions {
  0% {
    box-shadow: 0 8px 25px rgba(181, 32, 37, 0.4);
  }

  50% {
    box-shadow: 0 8px 30px rgba(181, 32, 37, 0.8), 0 0 0 10px rgba(181, 32, 37, 0.2);
  }

  100% {
    box-shadow: 0 8px 25px rgba(181, 32, 37, 0.4);
  }
}

/* Ajustes de botones flotantes para pantallas pequeñas / móviles */
@media (max-width: 960px) {
  .btn-float-whatsapp {
    bottom: 20px;
    right: 15px;
    width: 52px;
    height: 52px;
    z-index: 9999;
  }

  .btn-float-whatsapp svg {
    width: 28px;
    height: 28px;
  }

  .badge-float-admissions {
    bottom: 82px;
    right: 15px;
    padding: 8px 12px;
    gap: 8px;
    z-index: 9999;
  }

  .badge-float-admissions .badge-icon {
    width: 24px;
    height: 24px;
  }

  .badge-float-admissions .badge-title {
    font-size: 0.8rem;
  }

  .badge-float-admissions .badge-sub {
    font-size: 0.65rem;
  }

  .whatsapp-tooltip {
    display: none;
    /* Ocultar tooltip en móviles */
  }
}

/* ══════════════════════════════════════════
   ── CULTURA DE PAZ ──
   ══════════════════════════════════════════ */

/* ── Nav: enlace destacado Cultura de Paz ── */
.nav-cultura {
  background: linear-gradient(135deg, #2E7D32, #43A047) !important;
  color: #fff !important;
  padding: 7px 16px !important;
  border-radius: 20px !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  border-bottom: none !important;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 10px rgba(46, 125, 50, 0.35);
  transition: background .2s, box-shadow .2s, transform .15s !important;
}

.nav-cultura:hover,
.nav-cultura.active {
  background: linear-gradient(135deg, #1B5E20, #2E7D32) !important;
  color: #fff !important;
  border-bottom: none !important;
  box-shadow: 0 4px 16px rgba(46, 125, 50, 0.5);
  transform: translateY(-1px);
}

/* ── Mini-hero especial para Cultura de Paz ── */
.cp-mini-hero {
  height: auto;
  min-height: 320px;
  padding: 5rem 2rem 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
  background-color: #eef6f0;
}

.cp-hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, #2E7D32, #43A047);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 20px;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 2;
}

.cp-mini-hero .mini-hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.cp-mini-hero .mini-hero-content h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--azul);
}

.cp-mini-hero .mini-hero-content p {
  font-size: 1.05rem;
  color: #555;
  max-width: 500px;
}

.cp-versiculo-hero {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: rgba(46, 125, 50, 0.08);
  border-left: 4px solid #4CAF50;
  padding: 0.85rem 1.4rem;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  font-size: 14px;
  color: #2E5E20;
  max-width: 480px;
  text-align: left;
  position: relative;
  z-index: 2;
}

.cp-versiculo-hero cite {
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  color: #2E7D32;
  margin-top: 5px;
}

/* ── Franja de fotos ── */
#p-cultura-hero {
  min-height: auto;
  padding-bottom: 3rem;
}

.cp-fotos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  padding: 0 2rem;
  margin-top: 130px; /* Separación del header */
  position: relative;
  z-index: 10;
}

.cp-foto-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: box-shadow .3s ease, transform .3s ease;
  cursor: pointer;
  height: 280px;
}

.cp-foto-item:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  transform: translateY(-8px);
}

.cp-foto-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cp-foto-item:hover img {
  transform: scale(1.12);
}

.cp-foto-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(26, 58, 107, 0.95) 0%, rgba(26, 58, 107, 0.6) 50%, transparent 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 3rem 1rem 1rem;
  letter-spacing: 0.05em;
  text-align: center;
  text-transform: uppercase;
  transform: translateY(15px);
  opacity: 0.8;
  transition: all .4s ease;
}

.cp-foto-item:hover .cp-foto-label {
  transform: translateY(0);
  opacity: 1;
}

/* ── Versículo divisor ── */
.cp-versdiv {
  background: var(--azul);
  border-radius: 8px;
  padding: 2rem 2.5rem;
  text-align: center;
  margin: 2rem 0;
}

.cp-versdiv blockquote {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-style: italic;
  color: #fff;
  max-width: 600px;
  margin: 0 auto 0.6rem;
  line-height: 1.65;
}

.cp-versdiv cite {
  font-family: var(--sans);
  font-size: 13px;
  color: #F5E67A;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* ── Pilares (extienden valor-card) ── */
.cp-pilar-card {
  border-top-color: #2E7D32;
}

/* ── Chips de ejes temáticos ── */
.cp-ejes-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 0.5rem;
}

.cp-eje {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 600;
  border: 1.5px solid;
  cursor: default;
  transition: transform .2s, box-shadow .2s;
}

.cp-eje:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cp-eje-verde {
  background: #EAF3DE;
  color: #1B5E20;
  border-color: #C0DD97;
}

.cp-eje-azul {
  background: #E6F1FB;
  color: #0C447C;
  border-color: #B5D4F4;
}

.cp-eje-amarillo {
  background: #FFF9C4;
  color: #7A5900;
  border-color: #F5E097;
}

.cp-eje-teal {
  background: #E1F5EE;
  color: #085041;
  border-color: #9FE1CB;
}

.cp-eje-morado {
  background: #EEEDFE;
  color: #3C3489;
  border-color: #CECBF6;
}

/* ── Perfiles: Hacedores de Paz ── */
.cp-perfil {
  border-radius: 10px;
  padding: 1.6rem;
  border: 1px solid;
}

.cp-perfil-verde {
  background: #EAF3DE;
  border-color: #C0DD97;
}

.cp-perfil-azul {
  background: #E6F1FB;
  border-color: #B5D4F4;
}

.cp-perfil-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 1.2rem;
}

.cp-perfil-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.cp-avatar-verde {
  background: #2E7D32;
}

.cp-avatar-azul {
  background: var(--azul-claro);
}

.cp-perfil-ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.cp-perfil-ul li {
  font-size: 13.5px;
  line-height: 1.5;
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: #2E5E20;
}

.cp-perfil-ul li::before {
  content: '✦';
  font-size: 9px;
  margin-top: 4px;
  flex-shrink: 0;
  color: #2E7D32;
}

.cp-perfil-ul-azul li {
  color: #0C447C;
}

.cp-perfil-ul-azul li::before {
  color: var(--azul-claro);
}

/* ── CTA banda ── */
.cp-cta-banda {
  margin-top: 3rem;
  background: var(--azul);
  border-radius: 10px;
  padding: 2.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cp-cta-texto h2 {
  margin-bottom: 0.5rem;
}

.cp-cta-texto p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 460px;
  line-height: 1.7;
  margin: 0;
}

.cp-cta-botones {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

@media(max-width:700px) {
  .cp-fotos-grid {
    grid-template-columns: repeat(2, 1fr);
    height: auto;
  }

  .cp-fotos-grid .cp-foto-item:last-child {
    display: none;
  }

  .cp-cta-banda {
    flex-direction: column;
  }

  .cp-mini-hero {
    padding: 5rem 1.2rem 2rem;
  }
}

/* ══════════════════════════════════════════
   ── BENTO BOX GALLERY ──
   ══════════════════════════════════════════ */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 250px;
  gap: 1.2rem;
  width: 100%;
  margin-top: 2rem;
}

.bento-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bento-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.bento-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.bento-item:hover .bento-img {
  transform: scale(1.08);
}

.bento-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(26, 58, 107, 0.9) 0%, rgba(26, 58, 107, 0.4) 60%, transparent 100%);
  color: white;
  padding: 2.5rem 1rem 1rem;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.bento-item:hover .bento-label {
  opacity: 1;
  transform: translateY(0);
}

/* Patrón Asimétrico (Bento Box) */
.bento-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.bento-item:nth-child(4) { grid-column: span 2; grid-row: span 1; }
.bento-item:nth-child(7) { grid-column: span 2; grid-row: span 2; }
.bento-item:nth-child(10) { grid-column: span 2; grid-row: span 1; }

@media (max-width: 900px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }
  .bento-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .bento-item:nth-child(4) { grid-column: span 1; grid-row: span 1; }
  .bento-item:nth-child(7) { grid-column: span 2; grid-row: span 2; }
  .bento-item:nth-child(10) { grid-column: span 1; grid-row: span 1; }
  
  .bento-label {
    opacity: 1;
    transform: translateY(0);
    padding: 2rem 1rem 0.8rem;
    font-size: 13px;
    background: linear-gradient(to top, rgba(26, 58, 107, 0.8) 0%, transparent 100%);
  }
}

@media (max-width: 600px) {
  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 250px;
  }
  .bento-item:nth-child(n) { 
    grid-column: span 1; 
    grid-row: span 1; 
  }
}