/* ═══════════════════════════════════════════════════════════
   COLEGIO PINO SUÁREZ — ESTILOS GLOBALES
   Bootstrap 5 + Sistema de Color + Páginas de Nivel
   Manual de Identidad Gráfica Oficial
   ═══════════════════════════════════════════════════════════

   PALETA OFICIAL (Manual de Identidad Gráfica)
   ─────────────────────────────────────────────
   Corporativos I:
     Azul marino    #2f557f   (base principal)
     Azul teal      #3e8391   (secundario)
     Naranja        #ffa92d   (acento cálido)

   Corporativos II:
     Dorado PMS     #f2a900   (Pantone 130 C)
     Dorado web     #f4a71c   (variante digital)

   Complementarios (PMS):
     Pantone 138 C  #de7c00   (naranja quemado)
     Pantone 801 C  #00aed9   (cian / agua)
     Pantone 113 C  #fae04e   (amarillo luminoso)
     Pantone 369 C  #5a9e1e   (verde institucional)
     Pantone 7765 C #6b4226   (tierra / café)
     Pantone 301 C  #005195   (azul profundo)
   ═══════════════════════════════════════════════════ */

/* ── Variables CSS ── */
:root {
  /* ─ Corporativos I ─ */
  --corp-blue:         #2f557f;   /* Azul marino principal */
  --corp-teal:         #3e8391;   /* Azul teal secundario  */
  --corp-orange:       #ffa92d;   /* Naranja corporativo   */

  /* ─ Corporativos II ─ */
  --corp-gold:         #f2a900;   /* Dorado PMS (impresión) */
  --corp-gold-web:     #f4a71c;   /* Dorado web optimizado  */

  /* ─ Complementarios PMS ─ */
  --pms-138:           #de7c00;   /* Pantone 138 C — naranja quemado     */
  --pms-801:           #00aed9;   /* Pantone 801 C — cian / agua         */
  --pms-113:           #fae04e;   /* Pantone 113 C — amarillo luminoso   */
  --pms-369:           #5a9e1e;   /* Pantone 369 C — verde institucional */
  --pms-7765:          #6b4226;   /* Pantone 7765 C — tierra / café      */
  --pms-301:           #005195;   /* Pantone 301 C — azul profundo       */

  /* ─ Aliases semánticos (mapeo a paleta oficial) ─ */
  --primary:           var(--corp-blue);        /* #2f557f */
  --primary-light:     var(--corp-teal);        /* #3e8391 */
  --primary-dark:      var(--pms-301);          /* #005195 */
  --accent:            var(--corp-gold-web);    /* #f4a71c */
  --accent-warm:       var(--corp-orange);      /* #ffa92d */
  --accent-light:      var(--pms-113);          /* #fae04e */
  --accent-dark:       var(--pms-138);          /* #de7c00 */
  --highlight-cyan:    var(--pms-801);          /* #00aed9 */
  --highlight-green:   var(--pms-369);          /* #5a9e1e */
  --highlight-earth:   var(--pms-7765);         /* #6b4226 */

  /* ─ Neutros y superficie ─ */
  --dark:          #0e1f35;
  --text:          #1e2d3d;
  --text-muted:    #5a6a7a;
  --surface:       #f5f8fb;
  --surface-teal:  #eef7f8;   /* Fondo suave derivado del teal */
  --white:         #ffffff;
  --border:        #d8e4ec;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --shadow-sm:  0 2px 8px rgba(47,85,127,.08);
  --shadow-md:  0 8px 32px rgba(47,85,127,.13);
  --shadow-lg:  0 20px 60px rgba(47,85,127,.20);

  --radius:    12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --transition: 0.35s cubic-bezier(.4,0,.2,1);
  --py-section: 96px;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; transition: opacity 0.4s ease; }

body {
  overflow-x: hidden;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

em {
  font-style: italic;
  font-family: var(--font-display);
  color: var(--primary);
}

.py-section { padding-top: var(--py-section); padding-bottom: var(--py-section); }

img { max-width: 100%; }

/* ── TOP BAR ── */
.topbar {
  background: var(--primary-dark);
  color: rgba(255,255,255,.75);
  font-size: .8rem;
  padding: 8px 0;
  letter-spacing: .02em;
}

.topbar a {
  color: rgba(255,255,255,.75);
  text-decoration: none;
  transition: color var(--transition);
}

.topbar a:hover { color: var(--accent-light); }

.topbar-right { align-items: center; }
.topbar-right span { color: rgba(255,255,255,.55); font-size: .75rem; }

.topbar-btn {
  background: rgba(255,255,255,.1) !important;
  padding: 3px 12px !important;
  border-radius: 20px;
  font-size: .75rem;
  border: 1px solid rgba(255,255,255,.2);
  transition: all var(--transition);
}

.topbar-btn:hover {
  background: var(--accent) !important;
  color: var(--white) !important;
  border-color: var(--accent);
}

/* ── NAVBAR ── */
#mainNav {
  background: var(--white);
  /*box-shadow: var(--shadow-sm); */
  padding: 20px 0; /*Aqui aumento el espacio en el navbar para ocupar todo el alto de la pantalla*/
  transition: all var(--transition);
}

#mainNav.scrolled {
  padding: 8px 0;
  box-shadow: var(--shadow-md);
}

/* Brand */
.brand-emblem {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-initial {
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .5px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary);
}

.brand-subtitle {
  font-size: .68rem;
  color: var(--text-muted);
  letter-spacing: .03em;
}

/* Nav links */
.navbar-nav .nav-link {
  font-size: .88rem;
  font-weight: 500;
  color: var(--text) !important;
  padding: 8px 14px !important;
  border-radius: 8px;
  transition: all var(--transition);
  letter-spacing: .01em;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary) !important;
  background: rgba(47,85,127,.06);
}

/* Inscripción CTA in nav */
.btn-inscripcion {
  background: linear-gradient(135deg, var(--corp-gold-web) 0%, var(--pms-138) 100%) !important;
  color: var(--white) !important;
  border-radius: 25px !important;
  padding: 8px 20px !important;
  font-weight: 600 !important;
  letter-spacing: .02em;
  box-shadow: 0 4px 14px rgba(244,167,28,.35);
  transition: all var(--transition) !important;
}

.btn-inscripcion:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(244,167,28,.5) !important;
  color: var(--white) !important;
}

/* Dropdown */
.dropdown-menu-custom {
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  min-width: 220px;
  animation: dropFade .2s ease;
}

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

.dropdown-menu-custom .dropdown-item {
  font-size: .85rem;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--text);
  font-weight: 500;
  transition: all var(--transition);
}

.dropdown-menu-custom .dropdown-item:hover {
  background: rgba(47,85,127,.07);
  color: var(--primary);
}

.dropdown-menu-custom .dropdown-header {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-muted);
  padding: 8px 12px 4px;
  font-weight: 600;
}

/* Toggler */
.toggler-icon { font-size: 1.4rem; color: var(--primary); }
.navbar-toggler { border: none; padding: 4px 8px; }
.navbar-toggler:focus { box-shadow: none; }

/* ── HERO ── */
.hero-section {
  position: relative;
  /*min-height: 92vh; Eliminamos el espacio entre secciones */
  overflow: hidden;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .12;
}

.shape-1 {
  width: 600px; height: 600px;
  background: var(--primary);
  top: -200px; right: -100px;
}

.shape-2 {
  width: 400px; height: 400px;
  background: var(--accent);
  bottom: -100px; left: -100px;
}

.shape-3 {
  width: 300px; height: 300px;
  background: var(--primary-light);
  top: 40%; left: 40%;
}

/* Carousel */
#heroCarousel, .carousel-inner, .carousel-item { height: 75vh; }

.hero-slide {
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
}

/* Hero slides — degradados derivados de la paleta corporativa */
.slide-1 {
  /* Fallback: solo imagen en navegadores antiguos que no soportan múltiples fondos */
  background: url("img/index/1.png") center/cover no-repeat;

  /* Imagen + degradado para mejorar legibilidad en navegadores modernos linear-gradient(135deg, rgba(232,238,246,.65) 0%, rgba(238,246,248,.65) 40%, rgba(254,248,236,.65) 100%)*/
  background-image: url("img/index/1.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-blend-mode: overlay;
}
.slide-2 {
  /* Fallback: solo imagen en navegadores antiguos que no soportan múltiples fondos */
  background: url("img/index/2.png") center/cover no-repeat;

  /* Imagen + degradado para mejorar legibilidad en navegadores modernos */
  background-image: url("img/index/2.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-blend-mode: overlay;
}
.slide-3 {
  /* Fallback: solo imagen en navegadores antiguos que no soportan múltiples fondos */
  background: url("img/index/3.png") center/cover no-repeat;

  /* Imagen + degradado para mejorar legibilidad en navegadores modernos */
  background-image: url("img/index/3.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-blend-mode: overlay;
}

.hero-content {
  max-width: 620px;
  position: relative;
  z-index: 2;
}
/* Caption: texto sobre la imagen */
.hero-caption {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 clamp(24px, 5vw, calc((100vw - 1200px) / 2 + 48px));
  max-width: min(780px, 100%);
  /* Animación de entrada del texto en cada slide */
  animation: captionIn 0.9s cubic-bezier(.4,0,.2,1) both;
}
 
@keyframes captionIn {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--pms-138);
  background: rgba(222,124,0,.1);
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
  border: 1px solid rgba(222,124,0,.25);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-title em {
  display: block;
  color: var(--primary);
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 500px;
  line-height: 1.8;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Carousel controls */
.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  height: 50px;
  background: var(--white);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: var(--shadow-md);
  opacity: 1;
  margin: 0 20px;
  transition: all var(--transition);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: var(--primary);
}

.carousel-control-prev i,
.carousel-control-next i {
  font-size: 1.2rem;
  color: var(--primary);
  transition: color var(--transition);
}

.carousel-control-prev:hover i,
.carousel-control-next:hover i { color: var(--white); }

/* Custom indicators */
.carousel-indicators-custom {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.carousel-indicators-custom button {
  width: 28px;
  height: 5px;
  border-radius: 3px;
  background: rgba(47,85,127,.22);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.carousel-indicators-custom button.active {
  background: var(--primary);
  width: 48px;
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 36px;
  right: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 10;
}

.scroll-hint span {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text-muted);
  writing-mode: vertical-rl;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--primary), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: .4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ── BUTTONS ── */
.btn-primary-custom {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  border: none;
  border-radius: 30px;
  padding: 14px 32px;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .03em;
  box-shadow: 0 6px 20px rgba(47,85,127,.3);
  transition: all var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.btn-primary-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(47,85,127,.42);
  color: var(--white);
}

.btn-outline-custom {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: 30px;
  padding: 12px 28px;
  font-size: .9rem;
  font-weight: 600;
  transition: all var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.btn-outline-custom:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

/* ── STATS BANNER ── */
.stats-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  position: relative;
  overflow: hidden;
}

.stats-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stat-item {
  padding: 40px 24px;
  text-align: center;
  position: relative;
  border-right: 1px solid rgba(255,255,255,.1);
}

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

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  display: inline-block;
}

.stat-suffix {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--pms-113);
  margin-left: 2px;
}

.stat-label {
  display: block;
  font-size: .8rem;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 6px;
  font-weight: 500;
}

/* ── SECTION HELPERS ── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--pms-138);
  background: rgba(222,124,0,.1);
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 16px;
  border: 1px solid rgba(222,124,0,.2);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.section-body {
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ── NOSOTROS ── */
.section-nosotros { background: var(--surface); }

.nosotros-img-wrap { position: relative; overflow: hidden; }

.img-card { border-radius: var(--radius-lg); overflow: hidden; }

.img-card-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.img-card-float {
  position: absolute;
  bottom: -20px;
  left: 0;
  width: 180px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}

.img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, #d9ecef 0%, #c2dde2 100%); /* derivado del teal corporativo */
  padding: 60px 40px;
  font-size: .85rem;
  color: var(--corp-teal);
  font-weight: 500;
}

.img-placeholder i { font-size: 2.5rem; opacity: .6; }

.img-placeholder-2 {
  background: linear-gradient(135deg, #fef0cc 0%, #fde0a0 100%); /* derivado del dorado corporativo */
  padding: 30px 20px;
  color: var(--pms-138);
}

.img-placeholder-2 i { font-size: 1.6rem; }

.nosotros-badge {
  position: absolute;
  top: -16px;
  right: 0;
  width: 84px;
  height: 84px;
  background: linear-gradient(135deg, var(--corp-gold-web) 0%, var(--pms-138) 100%);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(244,167,28,.4);
  color: var(--white);
  text-align: center;
}

.badge-year { font-family: var(--font-display); font-size: 1.1rem; font-weight: 900; line-height: 1; }
.badge-text { font-size: .6rem; text-transform: uppercase; letter-spacing: .08em; opacity: .85; }

.nosotros-pillars {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.pillar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 16px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.pillar i { color: var(--accent); font-size: 1rem; }
.pillar:hover { border-color: var(--primary); transform: translateY(-2px); }

/* ── VALORES ── */
.section-valores {
  background: var(--white);
  position: relative;
}

.valor-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  height: 100%;
  position: relative;
  transition: all var(--transition);
  overflow: hidden;
}

.valor-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.valor-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.valor-card:hover::before { transform: scaleX(1); }

.valor-icon-wrap {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(47,85,127,.08) 0%, rgba(62,131,145,.12) 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all var(--transition);
}

.valor-card:hover .valor-icon-wrap {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

.valor-icon-wrap i {
  font-size: 1.5rem;
  color: var(--primary);
  transition: color var(--transition);
}

.valor-card:hover .valor-icon-wrap i { color: var(--white); }

.valor-card h5 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--dark);
  margin-bottom: 10px;
}

.valor-card p {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
}

/* Tarjeta destacada: usa azul profundo PMS 301 + teal corporativo */
.featured-card {
  background: linear-gradient(135deg, var(--pms-301) 0%, var(--corp-teal) 100%);
  border-color: transparent;
  color: var(--white);
}

.featured-card::before { background: linear-gradient(90deg, var(--pms-113), var(--corp-gold-web)); }

.featured-card .valor-icon-wrap {
  background: rgba(255,255,255,.15);
}

.featured-card .valor-icon-wrap i { color: var(--pms-113); }
.featured-card:hover .valor-icon-wrap { background: rgba(255,255,255,.25); }
.featured-card:hover .valor-icon-wrap i { color: var(--white); }
.featured-card h5 { color: var(--white); }
.featured-card p { color: rgba(255,255,255,.75); }

.featured-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--corp-gold-web);
  color: var(--white);
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 4px 10px;
  border-radius: 12px;
}

/* ── NIVELES ── */
.section-niveles { background: var(--surface-teal); }

.nivel-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px 28px;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
  border: 2px solid transparent;
}

.nivel-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.nivel-number {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
  position: absolute;
  top: 16px;
  right: 20px;
  opacity: .06;
  pointer-events: none;
}

.nivel-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.7rem;
}

.nivel-card h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--dark);
  margin-bottom: 12px;
}

.nivel-card p {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 24px;
}

.nivel-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  transition: gap var(--transition);
}

.nivel-link:hover { gap: 10px; }

/* Level color themes — alineados con la paleta PMS */
/* Preescolar: Pantone 138 C — naranja quemado cálido */
.nivel-preescolar { border-top: 4px solid var(--pms-138); }
.nivel-preescolar .nivel-icon { background: rgba(222,124,0,.1); color: var(--pms-138); }
.nivel-preescolar .nivel-link { color: var(--pms-138); }
.nivel-preescolar:hover { border-color: var(--pms-138); }

/* Primaria: Corporativo azul marino */
.nivel-primaria { border-top: 4px solid var(--corp-blue); }
.nivel-primaria .nivel-icon { background: rgba(47,85,127,.1); color: var(--corp-blue); }
.nivel-primaria .nivel-link { color: var(--corp-blue); }
.nivel-primaria:hover { border-color: var(--corp-blue); }

/* Secundaria: Pantone 369 C — verde institucional */
.nivel-secundaria { border-top: 4px solid var(--pms-369); }
.nivel-secundaria .nivel-icon { background: rgba(90,158,30,.1); color: var(--pms-369); }
.nivel-secundaria .nivel-link { color: var(--pms-369); }
.nivel-secundaria:hover { border-color: var(--pms-369); }

/* Preparatoria: Pantone 801 C — cian institucional */
.nivel-preparatoria { border-top: 4px solid var(--pms-801); }
.nivel-preparatoria .nivel-icon { background: rgba(0,174,217,.1); color: var(--pms-801); }
.nivel-preparatoria .nivel-link { color: var(--pms-801); }
.nivel-preparatoria:hover { border-color: var(--pms-801); }

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, var(--pms-138) 0%, var(--corp-gold-web) 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::after {
  content: '"';
  position: absolute;
  right: 10%;
  top: -20px;
  font-family: var(--font-display);
  font-size: 20rem;
  color: rgba(255,255,255,.05);
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.cta-sub {
  color: rgba(255,255,255,.8);
  font-size: .95rem;
  margin: 0;
}

.btn-cta-white {
  background: var(--white);
  color: var(--pms-138);
  border: none;
  border-radius: 30px;
  padding: 14px 32px;
  font-size: .9rem;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(0,0,0,.15);
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.btn-cta-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,.2);
  color: var(--corp-blue);
}

/* ── TESTIMONIOS ── */
.section-testimonios { background: var(--white); }

.testimonio-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px;
  height: 100%;
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
}

.testimonio-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: transparent;
}

.testimonio-card p {
  font-size: .92rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

/* Estrellas: dorado corporativo */
.stars i { color: var(--corp-gold-web); font-size: .85rem; }

.testimonio-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.testimonio-author strong {
  display: block;
  font-size: .9rem;
  color: var(--dark);
}

.testimonio-author span {
  font-size: .77rem;
  color: var(--text-muted);
}

.featured-testimonio {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  border-color: transparent;
}

.featured-testimonio p { color: rgba(255,255,255,.85); }
.featured-testimonio .author-avatar { background: rgba(255,255,255,.2); }
.featured-testimonio strong { color: var(--white); }
.featured-testimonio span { color: rgba(255,255,255,.6); }
.featured-testimonio .stars i { color: var(--pms-113); }

/* ── CONTACTO ── */
.section-contacto { background: var(--surface); }

.contact-info-list { display: flex; flex-direction: column; gap: 20px; }

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

.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.contact-info-item strong {
  display: block;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  margin-bottom: 3px;
  font-weight: 600;
}

.contact-info-item span,
.contact-info-item a {
  font-size: .9rem;
  color: var(--text);
  text-decoration: none;
  line-height: 1.5;
}

.contact-info-item a:hover { color: var(--primary); }

.social-links { display: flex; gap: 10px; }

.social-btn {
  width: 42px;
  height: 42px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1rem;
  text-decoration: none;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.social-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* Contact form card */
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.contact-form-card h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--dark);
}

.form-label {
  font-size: .82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.custom-input {
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: .9rem;
  color: var(--text);
  transition: all var(--transition);
  background: var(--surface);
}

.custom-input:focus {
  border-color: var(--corp-teal);
  box-shadow: 0 0 0 4px rgba(62,131,145,.12);
  background: var(--white);
  outline: none;
}

.custom-input::placeholder { color: #b8c1cc; }

/* ── FOOTER ── */
.footer { background: var(--dark); }

.footer-main { padding: 72px 0 48px; }

.brand-emblem-dark {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

.footer-desc {
  font-size: .87rem;
  color: rgba(255,255,255,.5);
  line-height: 1.7;
}

.footer-heading {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255,255,255,.35);
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: .87rem;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--pms-113); }   /* Pantone 113 C — amarillo cálido */

.newsletter-wrap {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.newsletter-input {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  padding: 10px 16px;
  font-size: .87rem;
  color: var(--white);
  flex: 1;
  transition: all var(--transition);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--corp-gold-web);
  background: rgba(255,255,255,.1);
}

.newsletter-input::placeholder { color: rgba(255,255,255,.3); }

.newsletter-btn {
  width: 44px;
  height: 44px;
  background: var(--corp-gold-web);
  color: var(--white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
}

.newsletter-btn:hover {
  background: var(--pms-138);
  transform: scale(1.05);
}

.social-btn-sm {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.12);
  color: rgba(255,255,255,.6);
}

.social-btn-sm:hover {
  background: var(--corp-teal);
  color: var(--white);
  border-color: transparent;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  font-size: .8rem;
  color: rgba(255,255,255,.35);
}

.footer-credit {
  color: var(--pms-113);
  text-decoration: none;
}

/* ── BACK TO TOP ── */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--corp-blue) 0%, var(--corp-teal) 100%);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 6px 20px rgba(47,85,127,.4);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition);
  z-index: 1000;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(47,85,127,.55);
}

/* ── SCROLL ANIMATIONS ── */
.fade-in-up,
.fade-in-left,
.fade-in-right {
  opacity: 0;
  transition: opacity .7s ease, transform .7s ease;
}

.fade-in-up    { transform: translateY(40px); }
.fade-in-left  { transform: translateX(-40px); overflow-x: clip; }
.fade-in-right { transform: translateX(40px); overflow-x: clip; }

.fade-in-up.visible,
.fade-in-left.visible,
.fade-in-right.visible {
  opacity: 1;
  transform: translate(0);
}

/* Stagger delays for children */
[data-delay="0"]   { transition-delay: 0ms; }
[data-delay="100"] { transition-delay: 100ms; }
[data-delay="200"] { transition-delay: 200ms; }
[data-delay="300"] { transition-delay: 300ms; }

/* ── FORM ALERTS ── */
.alert-success-custom {
  background: #d1fae5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  border-radius: 10px;
  padding: 14px 18px;
}

.alert-error-custom {
  background: #fee2e2;
  border: 1px solid #fca5a5;
  color: #991b1b;
  border-radius: 10px;
  padding: 14px 18px;
}



/* ══════════════════════════════════════════════════════════
   PÁGINAS DE NIVEL EDUCATIVO
   Estilos compartidos: Preescolar, Primaria, Secundaria,
   Preparatoria — usa tokens --nivel-* en cada página
   ══════════════════════════════════════════════════════════ */

/* ── Breadcrumb ─────────────────────────────────────── */
.nivel-breadcrumb {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 11px 0;
}
.nivel-breadcrumb .breadcrumb { margin: 0; font-size: .8rem; }
.nivel-breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: var(--text-muted); }
.nivel-breadcrumb .breadcrumb-item a {
  text-decoration: none;
  color: var(--nivel-accent);
  transition: color var(--transition);
}
.nivel-breadcrumb .breadcrumb-item a:hover { color: var(--nivel-dark); }
.nivel-breadcrumb .breadcrumb-item.active { color: var(--text-muted); }

/* ── Hero de nivel ──────────────────────────────────── */
.nivel-hero {
  min-height: 92vh;
  display: flex; align-items: center;
  background: var(--nivel-hero-bg, #f8fafc);
  position: relative; overflow: hidden;
  padding: 100px 0 60px;
  max-width: 100vw;
}
.nivel-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--nivel-accent);
  background: var(--nivel-tint);
  border: 1px solid var(--nivel-border);
  padding: 6px 16px; border-radius: 20px; margin-bottom: 22px;
}
.nivel-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 4.8rem);
  font-weight: 900; line-height: 1.05;
  color: var(--dark); margin-bottom: 22px;
  letter-spacing: -.03em;
}
.nivel-hero-title em {
  font-style: normal;
  color: var(--nivel-accent);
  display: block;
}
.nivel-hero-desc {
  font-size: 1.05rem; color: var(--text-muted);
  line-height: 1.85; max-width: 500px; margin-bottom: 36px;
}

/* Stat chips del hero */
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-chip {
  display: flex; align-items: center; gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 30px; padding: 8px 18px;
  font-size: .8rem; font-weight: 600; color: var(--dark);
  box-shadow: var(--shadow-sm);
}
.hero-chip i { color: var(--nivel-accent); font-size: .9rem; }

/* Panel visual del hero (lado derecho) */
.nivel-hero-panel {
  border-radius: 28px;
  overflow: hidden; position: relative;
  background: var(--nivel-gradient);
  min-height: 480px;
  display: flex; flex-direction: column; justify-content: flex-end;
  box-shadow: 0 24px 64px var(--nivel-shadow);
}
.nivel-hero-panel-body {
  padding: 36px 36px 40px;
  background: linear-gradient(to top, rgba(0,0,0,.55) 0%, transparent 100%);
  color: #fff;
}
.nivel-hero-panel-body h3 {
  font-family: var(--font-display);
  font-size: 1.7rem; font-weight: 700; margin: 0 0 6px;
}
.nivel-hero-panel-body p { margin: 0; opacity: .8; font-size: .9rem; }
.nivel-hero-panel-badge {
  position: absolute; top: 24px; right: 24px;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff; font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  padding: 7px 15px; border-radius: 20px;
}
.nivel-hero-panel-num {
  position: absolute; top: 24px; left: 32px;
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 7rem); font-weight: 900; line-height: 1;
  color: rgba(255,255,255,.12); pointer-events: none;
  user-select: none;
  overflow: hidden; max-width: 100%;
}

/* ── Secciones genéricas de nivel ───────────────────── */
.nivel-section { padding: 60px 0; }
.nivel-section-sm { padding: 30px 0; }

.nivel-tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--nivel-accent);
  background: var(--nivel-tint);
  border: 1px solid var(--nivel-border);
  padding: 5px 14px; border-radius: 20px; margin-bottom: 14px;
}

/* ── Tarjetas de materias ───────────────────────────── */
.materia-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 26px 22px;
  height: 100%;
  transition: transform var(--transition), box-shadow var(--transition);
  border-top: 3px solid var(--nivel-accent);
  position: relative; overflow: hidden;
}
.materia-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--nivel-tint) 0%, transparent 60%);
  opacity: 0; transition: opacity var(--transition);
  pointer-events: none;
}
.materia-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.materia-card:hover::after { opacity: 1; }
.materia-icon {
  width: 50px; height: 50px;
  background: var(--nivel-tint); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; color: var(--nivel-accent);
  margin-bottom: 14px;
}
.materia-card h5 { font-weight: 700; font-size: .92rem; color: var(--dark); margin-bottom: 6px; }
.materia-card p  { font-size: .82rem; color: var(--text-muted); line-height: 1.7; margin: 0; }

/* ── Lista de checks ────────────────────────────────── */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 9px 0; font-size: .88rem; color: var(--text);
  border-bottom: 1px solid var(--border);
}
.check-list li:last-child { border-bottom: none; }
.check-list li i { color: var(--nivel-accent); margin-top: 3px; flex-shrink: 0; }

/* ── Tarjeta de grado ───────────────────────────────── */
.grado-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 16px; padding: 32px 24px;
  text-align: center; height: 100%;
  transition: all var(--transition); position: relative; overflow: hidden;
}
.grado-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.grado-card.featured { border-color: var(--nivel-accent); box-shadow: 0 0 0 3px var(--nivel-tint); }
.grado-num {
  font-family: var(--font-display); font-size: 3rem; font-weight: 900;
  color: var(--nivel-accent); line-height: 1; margin-bottom: 8px;
}
.grado-card h5 { font-weight: 700; font-size: 1rem; color: var(--dark); margin-bottom: 10px; }
.grado-card p  { font-size: .82rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 12px; }
.grado-edad {
  display: inline-block; font-size: .72rem; font-weight: 700;
  color: var(--nivel-accent); background: var(--nivel-tint);
  padding: 4px 12px; border-radius: 20px;
}

/* ── Tabla de horarios ──────────────────────────────── */
.horario-table { font-size: .84rem; border-radius: 12px; overflow: hidden; }
.horario-table thead th {
  background: var(--nivel-accent); color: #fff;
  font-weight: 600; border: none; padding: 12px 16px;
}
.horario-table tbody td { padding: 11px 16px; border-color: var(--border); vertical-align: middle; }
.horario-table tbody tr:hover { background: var(--nivel-tint); }
.horario-table tbody tr:last-child td { border-bottom: none; }

/* ── CTA de nivel ───────────────────────────────────── */
.nivel-cta-block {
  border-radius: 28px; overflow: hidden;
  background: var(--nivel-gradient);
  padding: 56px 52px; position: relative;
  max-width: 100%;
}
.nivel-cta-block::after {
  content: var(--nivel-cta-num, '');
  position: absolute; right: 0; bottom: -20px;
  font-family: var(--font-display); font-size: clamp(6rem, 15vw, 14rem); font-weight: 900;
  color: rgba(255,255,255,.07); line-height: 1; pointer-events: none;
  overflow: hidden; max-width: 60%;
}
.nivel-cta-block h3 {
  font-family: var(--font-display); color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; margin-bottom: 10px;
}
.nivel-cta-block p { color: rgba(255,255,255,.8); font-size: .96rem; margin-bottom: 30px; }
.btn-cta-white {
  background: #fff; color: var(--nivel-accent);
  border: none; border-radius: 30px;
  padding: 13px 30px; font-weight: 700; font-size: .88rem;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  transition: all var(--transition);
  box-shadow: 0 6px 20px rgba(0,0,0,.12);
}
.btn-cta-white:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,.18); color: var(--nivel-dark); }
.btn-cta-outline {
  background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,.45); border-radius: 30px;
  padding: 11px 26px; font-weight: 600; font-size: .88rem;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  transition: all var(--transition);
}
.btn-cta-outline:hover { border-color: #fff; background: rgba(255,255,255,.1); color: #fff; }

/* ── Tarjeta de requisito ───────────────────────────── */
.req-box {
  background: var(--nivel-tint);
  border: 1px solid var(--nivel-border);
  border-radius: 14px; padding: 20px 22px;
}
.req-box p { margin: 0; font-size: .86rem; color: var(--nivel-dark); }

/* ── Sección "Otros niveles" ────────────────────────── */
.otros-niveles { padding: 60px 0; background: #f8fafc; }

/* ── Decoración de fondo del hero ───────────────────── */
.hero-blob {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: .15; pointer-events: none;
}

/* ── Línea decorativa de color en sección ───────────── */
.section-accent-line {
  width: 48px; height: 4px; border-radius: 2px;
  background: var(--nivel-accent); margin-bottom: 18px;
}

/* ── Info highlight box ─────────────────────────────── */
.info-highlight {
  border-left: 4px solid var(--nivel-accent);
  background: var(--nivel-tint);
  border-radius: 0 12px 12px 0;
  padding: 16px 20px;
  font-size: .86rem; color: var(--dark);
}
.info-highlight strong { color: var(--nivel-dark); }

/* ── Pilares / íconos de característica ─────────────── */
.feature-pill {
  display: flex; align-items: center; gap: 10px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; padding: 14px 18px;
  transition: all var(--transition);
}
.feature-pill:hover { border-color: var(--nivel-border); background: var(--nivel-tint); }
.feature-pill i { font-size: 1.3rem; color: var(--nivel-accent); flex-shrink: 0; }


/* ── RESPONSIVE GLOBAL ──────────────────────────────────── */
@media (max-width: 991px) {
  :root { --py-section: 64px; }
  #heroCarousel, .carousel-inner, .carousel-item { height: 75vh; }
  .hero-title { font-size: clamp(1.8rem, 4vw, 2.6rem); }
  .scroll-hint { display: none; }
  .topbar-left { display: none !important; }
  .navbarMain { padding: 16px; }
  .img-card-float { width: 140px; bottom: -16px; left: 0; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .stat-item:last-child { border-bottom: none; }
  .contact-form-card { padding: 28px 20px; }
  /* Imagen de fondo distinta para móviles pequeños linear-gradient(135deg, rgba(232,238,246,.65) 0%, rgba(238,246,248,.65) 40%, rgba(254,248,236,.65) 100%) */
  .slide-1 {
    background-image: url("img/index/1-1.jpeg");
  }
    .slide-2 {
    background-image: url("img/index/2-1.JPG");
  }
    .slide-3 {
    background-image: url("img/index/3-1.jpeg");
  }
}

@media (max-width: 768px) {
  .nivel-hero { min-height: auto; padding: 80px 0 48px; }
  .nivel-hero-panel { min-height: 280px; margin-top: 32px; }
  .nivel-cta-block { padding: 36px 24px; }
  .nivel-cta-block::after { display: none; }
  .nivel-section { padding: 60px 0; }
  .nivel-hero-panel-num { display: none; }
  .panel-circle-1, .panel-circle-2, .panel-circle-3 { display: none; }
}

@media (max-width: 575px) {
  :root { --py-section: 48px; }
  #heroCarousel, #heroCarousel .carousel-inner, #heroCarousel .carousel-item { height: 100svh; min-height: 520px; }
  .hero-title { font-size: 1.8rem; }
  .hero-desc { font-size: .95rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .btn-hero-primary, .btn-hero-outline { width: 100%; justify-content: center; }
  .hero-control { display: none; }
  .hero-indicators { bottom: 20px; }
  .nosotros-badge { top: -10px; right: 0; width: 72px; height: 72px; }
}

/* ── UTILITY ── */
.overflow-hidden { overflow: hidden; }
/* Prevenir desborde horizontal global en secciones y filas */
.hero-section,
.stats-banner,
.section-nosotros,
.section-valores,
.section-niveles,
.section-cta,
.section-testimonios,
.section-contacto {
  overflow-x: hidden;
}


/* Prevenir desborde horizontal global en secciones y filas */
.hero-section,
.stats-banner,
.section-nosotros,
.section-valores,
.section-niveles,
.section-cta,
.section-testimonios,
.section-contacto {
  overflow-x: hidden;
}