:root{
  --navy:#0B1B5A;
  --sky:#00A7E1;
  --bg:#F6F8FB;
  --text:#0B1220;
  --muted:#64748B;
  --white:#ffffff;
  --radius:18px;

  --shadow: 0 14px 30px rgba(2,6,23,.08);
  --border: 1px solid rgba(2,6,23,.08);
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:var(--bg);
}

.container{width:min(1100px, 92%); margin:auto;}

/* =========================
   HEADER PRO (RESPONSIVE)
========================= */
.site-header{
  position: sticky; top:0; z-index:50;
  background:rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom:1px solid rgba(15,23,42,.08);
}
.header-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:12px 0;
}
.brand{display:flex; align-items:center; gap:10px; text-decoration:none;}
.brand img{height:44px; display:block}

/* Botón hamburguesa (solo móvil) */
.nav-toggle{
  display:none;
  width:44px;
  height:44px;
  border-radius:14px;
  border:1px solid rgba(11,27,90,.18);
  background:rgba(11,27,90,.04);
  cursor:pointer;
  align-items:center;
  justify-content:center;
}
.nav-toggle:active{transform:scale(.98)}
.nav-toggle span{
  display:block;
  width:20px;
  height:2px;
  background:var(--navy);
  position:relative;
}
.nav-toggle span::before,
.nav-toggle span::after{
  content:"";
  position:absolute;
  left:0;
  width:20px;
  height:2px;
  background:var(--navy);
}
.nav-toggle span::before{top:-6px}
.nav-toggle span::after{top:6px}

/* Nav desktop */
.nav{
  display:flex;
  align-items:center;
  gap:14px;
  justify-content:flex-end;
}
.nav > a:not(.btn){
  text-decoration:none;
  color:var(--navy);
  padding:10px 12px;
  border-radius:12px;
  font-weight:600;
}
.nav > a:not(.btn).active{background:rgba(0,167,225,.12)}
.nav > a:not(.btn):hover{background:rgba(11,27,90,.06)}

/* =========================
   BOTONES
========================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:14px;
  padding:10px 14px;
  font-weight:700;
  border:1px solid transparent;
  text-decoration:none;
  white-space:nowrap;
}
.btn-primary{
  background:var(--navy);
  color:var(--white);
}
.btn-primary:hover{
  background:#0f2a8a;
  color:var(--white);
}
.btn-outline{
  background:transparent;
  border-color:rgba(11,27,90,.25);
  color:var(--navy);
}
.btn-outline:hover{background:rgba(11,27,90,.06)}

/* =========================
   HERO + SECCIONES
========================= */
.hero{
  background: linear-gradient(140deg, rgba(11,27,90,.08), rgba(0,167,225,.10));
  padding:46px 0;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:22px;
  align-items:stretch;
}
.hero h1{font-size:44px; margin:0 0 10px}
.hero p{color:var(--muted); font-size:18px; line-height:1.5}
.hero-actions{display:flex; gap:12px; margin:18px 0; flex-wrap:wrap}
.hero-badges{display:flex; gap:14px; flex-wrap:wrap; color:var(--navy); font-weight:700}

.hero-card{
  background:var(--white);
  border-radius:var(--radius);
  padding:18px;
  box-shadow: var(--shadow);
  border:var(--border);
}

.section{padding:44px 0}
.section.alt{background:#fff}
h2{font-size:30px; margin:0 0 14px}
.lead{color:var(--muted); margin-top:-6px}

.grid-2{display:grid; grid-template-columns:1fr 1fr; gap:18px}
.grid-3{display:grid; grid-template-columns:repeat(3, 1fr); gap:18px}

.card{
  background:var(--white);
  border-radius:var(--radius);
  padding:18px;
  border:var(--border);
  box-shadow: 0 10px 22px rgba(2,6,23,.06);
}
.card-link{ text-decoration:none; color:inherit }
.card-link:hover{ transform: translateY(-2px); transition:.2s ease; }

.form{display:flex; flex-direction:column; gap:10px; margin-top:10px}
label{font-size:13px; color:var(--navy); font-weight:800}
input{
  padding:11px 12px;
  border-radius:14px;
  border:1px solid rgba(2,6,23,.12);
  outline:none;
}
input:focus{border-color:rgba(0,167,225,.7); box-shadow:0 0 0 4px rgba(0,167,225,.15)}
.muted{color:var(--muted)}

/* =========================
   HERO CON VIDEO (FIX)
========================= */
.hero.hero-video{
  position: relative;
  overflow: hidden;
  padding: 0;
  background: none;
  min-height: 560px;
  display: flex;
  align-items: center;
}
.hero.hero-video .hero-bg-video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}
.hero.hero-video .hero-overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(140deg, rgba(11,27,90,.72), rgba(0,0,0,.40));
  z-index:2;
}
.hero.hero-video .hero-content{
  position: relative;
  z-index: 3;
  padding: 60px 0;
}
.hero.hero-video h1,
.hero.hero-video p{color:#fff}
.hero.hero-video .hero-badges{color:#fff}
.hero.hero-video .hero-badges span{
  background:rgba(255,255,255,.16);
  padding:6px 10px;
  border-radius:999px;
}
.hero.hero-video .hero-card{
  background: rgba(255,255,255,.95);
  border: 1px solid rgba(255,255,255,.35);
}
.hero.hero-video .hero-card p{ color: var(--text); }

/* =========================
   FACEBOOK (2 COLUMNAS + FIX ANTI DISTORSIÓN)
========================= */
.fb-grid{
  display:grid;
  grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
  gap:24px;
  align-items:start;
  margin-top:22px;
}
/* min-width SOLO en facebook (evitar que afecte otros módulos) */
.fb-col, .fb-side{ min-width:0; }
.fb-grid .card{ min-width:0; }

.fb-page{max-width:100%}
.fb-col iframe{max-width:100% !important}

/* Columna derecha: apilada */
.fb-side{
  display:flex;
  flex-direction:column;
  gap:16px;
}

.fb-side h3{margin-top:0}
.info-list{
  list-style:none;
  padding:0;
  margin:14px 0 18px;
}
.info-list li{
  margin-bottom:10px;
  font-size:15px;
}
.info-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

/* Video card */
.card-video .video-wrap{
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(15,23,42,.10);
  background: #000;
}
.card-video iframe{
  width: 100% !important;
  height: 260px !important;
  display:block;
}

/* =========================
   CAMPUS PRO
========================= */
.campus-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
}
.campus-pro{
  display:grid;
  grid-template-columns: 420px 1fr;
  gap:18px;
  margin-top:18px;
  align-items:stretch;
}
.campus-cards{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.campus-card{
  width:100%;
  text-align:left;
  border:1px solid rgba(2,6,23,.08);
  background: rgba(255,255,255,.85);
  border-radius: var(--radius);
  padding:16px;
  cursor:pointer;
  box-shadow: 0 10px 22px rgba(2,6,23,.05);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.campus-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(2,6,23,.08);
  border-color: rgba(0,167,225,.35);
}
.campus-card.active{
  border-color: rgba(0,167,225,.55);
  box-shadow: 0 18px 35px rgba(2,6,23,.10);
}
.campus-card-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:8px;
}
.campus-badge{
  font-weight:800;
  font-size:12px;
  color: var(--navy);
  background: rgba(0,167,225,.14);
  padding:6px 10px;
  border-radius: 999px;
}
.campus-name{
  font-weight:900;
  color: var(--navy);
  font-size:18px;
}
.campus-card-mid{
  display:grid;
  gap:6px;
  margin:10px 0 12px;
}
.campus-meta{
  display:flex;
  gap:8px;
  align-items:center;
  color: rgba(11,27,90,.85);
  font-weight:650;
  font-size:14px;
}
.campus-icon{width:18px; display:inline-flex; justify-content:center}
.campus-panel{
  display:flex;
  flex-direction:column;
  gap:14px;
}
.campus-panel-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.campus-panel-title{
  font-weight:900;
  color:var(--navy);
  font-size:22px;
}
.campus-panel-sub{
  color:var(--muted);
  margin-top:4px;
  max-width: 58ch;
}
.campus-quick{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
}
.quick-item{
  border:1px solid rgba(2,6,23,.08);
  border-radius: 14px;
  padding:12px;
  background: rgba(255,255,255,.8);
}
.quick-k{
  font-size:12px;
  font-weight:900;
  color: rgba(11,27,90,.75);
  text-transform: uppercase;
  letter-spacing: .4px;
}
.quick-v{
  margin-top:6px;
  font-weight:800;
  color: var(--navy);
}
.campus-mapbox{
  width:100%;
  height:360px;
  border-radius: 14px;
  overflow:hidden;
  border:1px solid rgba(2,6,23,.08);
}
.campus-mapbox iframe{
  width:100%;
  height:100%;
  border:0;
}

/* =========================
   FOOTER + LEGALES
========================= */
.footer{
  background:var(--white);
  border-top:1px solid rgba(15,23,42,.08);
  padding:18px 0;
}
.footer-row{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}
.footer-left{
  display:flex;
  flex-direction:column;
  gap:6px;
}
.footer-links{display:flex; gap:12px; flex-wrap:wrap}
.footer-links a{color:var(--navy); text-decoration:none; font-weight:600}
.footer-links a:hover{text-decoration:underline}

.footer-legal{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top:4px;
}
.footer-legal a{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 12px;
  border-radius:999px;
  background:rgba(11,27,90,.06);
  color:var(--navy);
  font-weight:600;
  text-decoration:none;
  font-size:13px;
}
.footer-legal a:hover{ background:rgba(11,27,90,.12); }

/* =========================
   WHATSAPP FLOTANTE
========================= */
.whatsapp-float{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:60;
  width:56px;
  height:56px;
  border-radius:999px;
  background:#25D366;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  box-shadow: 0 18px 35px rgba(2,6,23,.18);
  border: 2px solid rgba(255,255,255,.6);
}
.whatsapp-float:hover{filter:brightness(1.05)}
.whatsapp-float svg{width:26px; height:26px}

/* =========================
   INTRO VIDEO MODAL (FINAL)
========================= */
.intro-overlay{
  position:fixed;
  inset:0;
  background:rgba(11,27,90,.75);
  backdrop-filter: blur(6px);
  z-index:99999;
  display:none;
  align-items:center;
  justify-content:center;
  padding:16px;
}
.intro-overlay.show{ display:flex; }

.intro-modal{
  position:relative;
  width:min(900px, 100%);
  aspect-ratio:16/9;
  background:#000;
  border-radius:18px;
  overflow:hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,.45);
  animation: introFade .35s ease;
}
.intro-video{
  width:100%;
  height:100%;
  object-fit:contain;
  background:#000;
  display:block;
}
.intro-close{
  position:absolute;
  top:12px;
  right:12px;
  width:38px;
  height:38px;
  border-radius:999px;
  border:none;
  background:rgba(0,0,0,.7);
  color:#fff;
  font-size:22px;
  cursor:pointer;
  z-index:2;
}
.intro-close:hover{ background:rgba(0,0,0,.9); }

@keyframes introFade{
  from{opacity:0; transform:scale(.97)}
  to{opacity:1; transform:scale(1)}
}

/* =========================
   GALERÍA INSTITUCIONAL
========================= */
.photo-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  margin-bottom:16px;
}
.photo-head-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.gallery-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
.photo{
  margin:0;
  border-radius: 16px;
  overflow:hidden;
  border: 1px solid rgba(2,6,23,.08);
  box-shadow: 0 10px 22px rgba(2,6,23,.06);
  background: #fff;
}
.photo img{
  width:100%;
  height: 210px;
  object-fit: cover;
  display:block;
  transform: scale(1);
  transition: transform .25s ease, filter .25s ease;
}
.photo:hover img{
  transform: scale(1.03);
  filter: contrast(1.03) saturate(1.03);
}

/* =========================
   CONÓCENOS: GRID + JUSTIFICADO
========================= */
.about-grid{
  display:grid;
  grid-template-columns: 1.35fr .65fr; /* texto | fotos */
  gap:18px;
  align-items:start;
}

.about-text{
  text-align: justify !important;
  text-justify: inter-word;
  line-height: 1.75;
  margin: 0 0 12px 0;
  hyphens: auto;
}
.about-text:last-child{ margin-bottom:0; }

/* Conócenos: fotos (no gigantes) */
.about-grid .card-media{ padding:14px; }
.about-grid .media-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
}
.about-grid .media-grid img{
  width:100% !important;
  height:150px !important;
  object-fit:cover !important;
  border-radius:14px;
  border:1px solid rgba(2,6,23,.08);
  display:block;
}

/* =========================
   MISIÓN / VISIÓN: JUSTIFICADO
========================= */
.section.alt .grid-2 .card p{
  text-align: justify !important;
  text-justify: inter-word;
  line-height: 1.75;
  hyphens: auto;
}

/* =========================
   LIGHTBOX IMÁGENES
========================= */
.zoom-img{ cursor: zoom-in; }

.img-modal{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(11,27,90,.85);
  backdrop-filter: blur(6px);
  z-index:99999;
  align-items:center;
  justify-content:center;
  padding:20px;
}
.img-modal.show{ display:flex; }
.img-modal-content{
  max-width:95%;
  max-height:90%;
  border-radius:16px;
  box-shadow: 0 30px 60px rgba(0,0,0,.45);
  animation: zoomFade .25s ease;
}
.img-close{
  position:absolute;
  top:20px;
  right:26px;
  font-size:38px;
  color:#fff;
  cursor:pointer;
  font-weight:bold;
}
@keyframes zoomFade{
  from{ transform:scale(.96); opacity:0; }
  to{ transform:scale(1); opacity:1; }
}

/* =========================
   OFERTA (LISTA LIMPIA PRO)
========================= */
.offer-cta-bar{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  padding:18px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(2,6,23,.08);
  box-shadow: 0 10px 22px rgba(2,6,23,.06);
  margin-bottom: 22px;
}
.offer-cta-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.offer-split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items:start;
}
.offer-title{
  margin:0 0 10px;
  font-size: 22px;
  font-weight: 900;
  color: var(--navy);
}
.offer-list{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:8px;
}
.offer-link{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 14px; /* un poco más pro */
  border-radius: 14px;
  text-decoration:none;
  color: var(--text);
  border: 1px solid rgba(2,6,23,.06);
  background: rgba(255,255,255,.70);
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.offer-link span{
  font-size: 22px;
  line-height:1;
  color: rgba(11,27,90,.55);
}
.offer-link:hover{
  background: rgba(0,167,225,.10);
  border-color: rgba(0,167,225,.25);
  transform: translateY(-1px);
}
.offer-note{
  margin-top: 22px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(2,6,23,.08);
  background: rgba(255,255,255,.75);
}
.note-row{
  display:flex;
  gap:10px;
  align-items:flex-start;
  padding: 6px 0;
  color: rgba(11,27,90,.90);
  font-weight: 650;
}

/* =========================
   RESPONSIVE (MÓVIL)
========================= */
@media (max-width: 900px){
  .hero-grid{grid-template-columns:1fr}
  .grid-3{grid-template-columns:1fr}
  .grid-2{grid-template-columns:1fr}
  .hero h1{font-size:36px}

  .nav-toggle{display:flex;}

  .nav{
    display:none;
    width:100%;
    flex-direction:column;
    align-items:stretch;
    gap:10px;
    padding:12px 0 16px;
  }
  .nav.open{display:flex;}
  .nav > a:not(.btn),
  .nav .btn{
    width:100%;
    justify-content:center;
    padding:12px 14px;
  }

  .fb-grid{ grid-template-columns:1fr; }
  .hero.hero-video{ min-height:auto; }
  .hero.hero-video .hero-content{ padding: 52px 0; }

  .campus-head{align-items:flex-start}
  .campus-pro{grid-template-columns:1fr}
  .campus-quick{grid-template-columns:1fr}
  .campus-mapbox{height:320px}

  .card-video iframe{ height: 240px !important; }

  .about-grid{ grid-template-columns:1fr; }
  .about-grid .media-grid img{ height:190px !important; }

  .offer-cta-bar{ align-items:flex-start; flex-direction:column; }
  .offer-split{ grid-template-columns: 1fr; gap: 22px; }
}

@media (max-width:600px){
  .intro-modal{ aspect-ratio:9/16; border-radius:14px; }
  .gallery-3{ grid-template-columns: 1fr; }
  .photo img{ height: 240px; }
}


/* =========================
   MENÚ ALUMNOS (SUBMENÚ)
========================= */

.nav-item{
  position:relative;
}

.nav-link{
  background:none;
  border:none;
  font:inherit;
  color:var(--navy);
  padding:10px 12px;
  border-radius:12px;
  font-weight:600;
  cursor:pointer;
  display:flex;
  align-items:center;
  gap:6px;
}

.nav-link:hover{
  background:rgba(11,27,90,.06);
}

.arrow{
  font-size:12px;
  opacity:.7;
}

/* Submenú */
.submenu{
  position:absolute;
  top:100%;
  left:0;
  min-width:220px;
  background:var(--white);
  border-radius:14px;
  border:1px solid rgba(2,6,23,.08);
  box-shadow:0 18px 35px rgba(2,6,23,.12);
  padding:6px;
  display:none;
  z-index:99;
}

.submenu a{
  display:block;
  padding:10px 12px;
  border-radius:10px;
  text-decoration:none;
  color:var(--text);
  font-weight:600;
  font-size:14px;
}

.submenu a:hover{
  background:rgba(0,167,225,.10);
}

/* Hover desktop */
@media (min-width: 901px){
  .has-submenu:hover .submenu{
    display:block;
  }
}

/* Mobile */
@media (max-width: 900px){
  .submenu{
    position:static;
    box-shadow:none;
    border:none;
    padding:6px 0 0;
  }
}
/* =========================
   PROGRAMA: HERO DINÁMICO + ACORDEÓN
========================= */
.prog-hero{
  padding: 46px 0;
  background: linear-gradient(140deg, rgba(11,27,90,.10), rgba(0,167,225,.12));
}
.prog-hero-grid{
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 18px;
  align-items: stretch;
}
.prog-breadcrumb{
  display:flex;
  gap:10px;
  align-items:center;
  color: rgba(11,27,90,.70);
  font-weight: 700;
  margin-bottom: 10px;
}
.prog-breadcrumb a{
  color: rgba(11,27,90,.85);
  text-decoration:none;
}
.prog-breadcrumb a:hover{ text-decoration: underline; }

.prog-hero h1{ margin:0 0 10px; font-size: 42px; }
.prog-chips{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top: 14px;
}
.chip-pro{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(2,6,23,.08);
  font-weight: 800;
  color: rgba(11,27,90,.90);
  box-shadow: 0 10px 22px rgba(2,6,23,.05);
}
.prog-hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top: 16px;
}

.prog-summary{ height:100%; }
.prog-kpis{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}
.kpi{
  border: 1px solid rgba(2,6,23,.08);
  border-radius: 14px;
  padding: 12px;
  background: rgba(255,255,255,.75);
}
.kpi-k{
  font-size: 12px;
  font-weight: 900;
  color: rgba(11,27,90,.70);
  text-transform: uppercase;
  letter-spacing: .4px;
}
.kpi-v{
  margin-top: 6px;
  font-weight: 900;
  color: var(--navy);
}
.prog-mini{
  margin-top: 12px;
  display:grid;
  gap: 8px;
  color: rgba(11,27,90,.88);
  font-weight: 650;
}

/* Head de asignaturas */
.prog-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 14px;
  flex-wrap:wrap;
}
.prog-head-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

/* Acordeón */
.accordion{
  margin-top: 14px;
  display:grid;
  gap: 12px;
}
.acc-item{
  background: rgba(255,255,255,.95);
  border: 1px solid rgba(2,6,23,.08);
  border-radius: var(--radius);
  box-shadow: 0 10px 22px rgba(2,6,23,.06);
  overflow:hidden;
}
.acc-item summary{
  list-style:none;
  cursor:pointer;
  padding: 16px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  font-weight: 900;
  color: var(--navy);
}
.acc-item summary::-webkit-details-marker{ display:none; }
.acc-item[open] summary{
  background: rgba(0,167,225,.10);
}
.acc-title{ font-size: 16px; }
.acc-meta{
  font-weight: 800;
  color: rgba(11,27,90,.65);
  font-size: 13px;
  background: rgba(11,27,90,.06);
  border: 1px solid rgba(11,27,90,.10);
  padding: 6px 10px;
  border-radius: 999px;
}
.acc-list{
  margin: 0;
  padding: 0 18px 18px;
  display:grid;
  gap: 8px;
  list-style: none;
}
.acc-list li{
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(2,6,23,.06);
  background: rgba(255,255,255,.75);
  font-weight: 650;
  color: rgba(11,27,90,.92);
}

/* CTA final */
.prog-cta{
  margin-top: 18px;
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(2,6,23,.08);
  box-shadow: 0 10px 22px rgba(2,6,23,.06);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  flex-wrap:wrap;
}

/* Responsive */
@media (max-width: 900px){
  .prog-hero-grid{ grid-template-columns: 1fr; }
  .prog-hero h1{ font-size: 34px; }
  .prog-kpis{ grid-template-columns: 1fr; }
}

/* Divider bonito dentro de cards */
.prog-divider{
  border:0;
  height:1px;
  background: rgba(2,6,23,.10);
  margin: 16px 0;
}

/* Materias sin negritas */
.acc-list li{
  font-weight: 500 !important; /* normal */
}
.prog-h2{
  font-size: 22px;   /* ajusta: 20–24 */
  margin: 0 0 10px;
  font-weight: 900;
  color: var(--navy);
}
/* === ASIGNATURAS estilo checklist PRO (alineado + margen) === */
.acc-list{
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}

.acc-list li{
  position: relative;
  padding-left: 36px;        /* 👈 aquí está la clave */
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.5;
}

/* palomita centrada y con aire */
.acc-list li::before{
  content: "✔";
  position: absolute;
  left: 12px;               /* 👈 separa del borde del card */
  top: 50%;
  transform: translateY(-50%);
  color: var(--sky);
  font-size: 13px;
  font-weight: 700;
}
/* ===== FIX: breadcrumb + botón en HERO con video (Bachillerato) ===== */
.hero.hero-video .prog-breadcrumb,
.hero.hero-video .prog-breadcrumb a,
.hero.hero-video .prog-breadcrumb strong{
  color: #fff !important;
}

.hero.hero-video .prog-breadcrumb span{
  color: rgba(255,255,255,.85) !important;
}

.hero.hero-video .btn.btn-outline{
  color: #fff !important;
  border-color: rgba(255,255,255,.65) !important;
  background: rgba(255,255,255,.10) !important;
}

.hero.hero-video .btn.btn-outline:hover{
  background: rgba(255,255,255,.20) !important;
  border-color: rgba(255,255,255,.90) !important;
}

/* ===== Altura menor SOLO en Bachillerato ===== */
.hero.hero-video.hero-video-prog{
  min-height: 380px !important;   /* ajusta: 320–420 */
}

.hero.hero-video.hero-video-prog .hero-content{
  padding: 34px 0 !important;     /* baja el alto real */
}

@media (max-width: 900px){
  .hero.hero-video.hero-video-prog{
    min-height: 300px !important;
  }
  .hero.hero-video.hero-video-prog .hero-content{
    padding: 26px 0 !important;
  }
}
/* Ajuste de anclas por header sticky */
#contacto{
  scroll-margin-top: 110px; /* ajusta 90–140 según tu header */
}
/* =========================
   MODAL SOLICITAR INFORMACIÓN
========================= */
.modal{ display:none; position:fixed; inset:0; z-index:99999; }
.modal.show{ display:block; }

.modal-backdrop{
  position:absolute; inset:0;
  background: rgba(11,27,90,.72);
  backdrop-filter: blur(6px);
}

.modal-dialog{
  position:relative;
  width: min(520px, 92%);
  margin: 7vh auto;
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px;
  border: var(--border);
  box-shadow: 0 30px 60px rgba(0,0,0,.35);
  animation: modalIn .18s ease;
}

.modal-close{
  position:absolute;
  top: 10px; right: 10px;
  width: 38px; height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(2,6,23,.10);
  background: rgba(11,27,90,.06);
  color: var(--navy);
  font-size: 22px;
  cursor:pointer;
}
.modal-close:hover{ background: rgba(11,27,90,.12); }

@keyframes modalIn{
  from{ transform: translateY(10px); opacity:0; }
  to{ transform: translateY(0); opacity:1; }
}

/* =========================
   OCULTAR VIDEO INTRO EN MÓVILES
========================= */
@media (max-width: 900px) {
  #introOverlay {
    display: none !important;
  }
}

