/* Sección estática con video, sin Tailwind */


html, body {
  height: 100%;
  margin: 0;
}

.cta-section {
  position: relative;
  min-height: 98vh;
  height: 98vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Video de fondo */
.cta-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* Mostrar/ocultar videos por breakpoint */
.video-desktop { display: block; }
.video-mobile  { display: none; }

@media (max-width: 768px) {
  .video-desktop { display: none; }
  .video-mobile  { display: block; }
}

/* Oscurecido para legibilidad */
.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(27, 26, 81, 0.68);
}

/* Contenedor con padding coherente */
.cta-container {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-left: 10%;
  padding-right: 10%;
}
@media (max-width: 768px) {
  .cta-container { padding-left: 15px; padding-right: 15px; }
}

/* Contenido a la izquierda */
.cta-content { color: #fff; max-width: 56%; }
@media (max-width: 1200px) { .cta-content { max-width: 65%; } }
@media (max-width: 992px)  { .cta-content { max-width: 75%; } }
@media (max-width: 576px)  { .cta-content { max-width: 100%; } }

/* Título 2 líneas */
.cta-title { margin: 0 0 10px; line-height: 1.15; }
.cta-title .line-1 { font-size: 48px; font-weight: 800; text-transform: none; }
.cta-title .line-2 { font-size: 46px; font-weight: 700; text-transform: none; }
@media (max-width: 768px) {
  .cta-title .line-1 { font-size: 34px; }
  .cta-title .line-2 { font-size: 32px; }
}

/* Separador rojo */
.cta-separator {
  width: 220px;
  height: 4px;
  background: #E53935; /* rojo */
  border-radius: 2px;
  margin: 14px 0 16px;
}

/* Lead */
.cta-lead { font-weight: 500; margin: 0 0 28px; }

/* Botón CTA */
.cta-btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 58px; padding: 0 22px; border-radius: 10px; border: none;
  background: #F8B81F; color: #1B1A51; font-weight: 800; cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .1s ease;
}
.cta-btn:hover { transform: translateY(-1px); }
.cta-btn.clicked { background: #1B1A51; color: #fff; }

/* Logo superior derecho (más grande) */
.cta-logo-top-right {
  position: absolute; right: 10%; top: 20px; z-index: 2;
}
.cta-logo-top-right img { height: 88px; width: auto; object-fit: contain; }
@media (max-width: 768px) {
  .cta-logo-top-right { right: 15px; top: 12px; }
  .cta-logo-top-right img { height: 64px; }
}

/* Badge inferior izquierdo (logo más grande) */
.cta-badge-left {
  position: absolute; left: 10%; bottom: 20px; z-index: 2;
  display: inline-flex; align-items: center; gap: 12px; color: #fff;
  background: rgba(0,0,0,0.28); padding: 10px 14px; border-radius: 12px; backdrop-filter: blur(2px);
}
.cta-badge-left img { height: 56px; width: auto; object-fit: contain; }
.cta-badge-left span { font-weight: 600; }
@media (max-width: 768px) {
  .cta-badge-left { left: 15px; bottom: 12px; }
  .cta-badge-left img { height: 44px; }
}

/* Tira de logos inferior derecha (más grandes) */
.cta-logos-right {
  position: absolute; right: 10%; bottom: 20px; z-index: 2; max-width: 48%; overflow: hidden;
}
.logos-row {
  display: flex; align-items: center; gap: 7px; overflow-x: auto; padding-bottom: 6px;
}
.logos-row img { height: 42px; width: auto; object-fit: contain; filter: brightness(96%); }
@media (max-width: 1024px) {
  .cta-logos-right { right: 15px; max-width: 60%; }
  .logos-row img { height: 36px; }
}
@media (max-width: 576px) {
  .cta-logos-right { display: none; }
}

/* Layout base */
.intro-banner-section{
  position: relative;
  background: #f5f7fb; /* similar a edoffwhite */
      display: flex
;
  overflow: hidden;
  z-index: 1;
  height: 100vh;
}

/* Contenedor alineado a 10% como el resto del sitio */
.intro-container{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding-left: 10%;
  padding-right: 10%;
}

/* Responsivo */
@media (max-width: 992px){
  .intro-container{
    grid-template-columns: 1fr;
    gap: 30px;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Título izquierda */
.intro-title{
  color:#1B1A51;
  margin:0;
  font-weight: 800;
  font-size: 48px;
  line-height: 1.15;
  opacity: 0;
  transform: translateX(-30px);
  animation: slide-in-left .7s ease forwards;
}

/* Texto derecha */
.intro-text-col{
  font-size: 18px;
  line-height: 1.6;
  color:#0f124a;
  opacity: 0;
  transform: translateX(30px);
  animation: slide-in-right .7s ease .15s forwards;
}
.intro-text-col p{ margin: 0 0 14px; }

/* Animaciones */
@keyframes slide-in-left{ to { opacity:1; transform:none; } }
@keyframes slide-in-right{ to { opacity:1; transform:none; } }

/* Vectores (misma posición que antes) */
.intro-vector{
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.intro-vector.v1{ top:135px; left:38px; }
.intro-vector.v2{ bottom:0; left:0; }
.intro-vector.v3{ bottom:-8px; right:0; }

/* Ajustes móviles del título */
@media (max-width: 768px){
  .intro-title{ font-size: 34px; }
}

/* --- Careers (tarjetas con imagen) --- */
.careers-section{
  position: relative;
  z-index: 2;
}
.careers-container{
  padding-left: 10%;
  padding-right: 10%;
  padding-top: 100px;
  padding-bottom: 20px;
}
@media (max-width: 768px){
  .careers-container{ padding-left: 15px; padding-right: 15px; }
}

.careers-heading{
  margin: 0 0 20px;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 800;
  color: #1B1A51; /* edblue */
  text-align: center;
}

.careers-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 1024px){
  .careers-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px){
  .careers-grid{ grid-template-columns: 1fr; }
}

.career-card{
  display: flex;
  flex-direction: column;
  background: #1B1A51; /* azul */
  color: #fff;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 4px 25px rgba(0,0,0,.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.career-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
}

.card-image{ position: relative; overflow: hidden; }
.card-image img{
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform .35s ease;
}
.career-card:hover .card-image img{ transform: scale(1.05); }

.card-body{
  padding: 16px 20px 20px;
}
.card-sep{
  width: 140px;
  height: 4px;
  background: #E53935; /* rojo */
  border-radius: 2px;
  margin-bottom: 12px;
}
.card-title{
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}


/* --- Oferta Académica (franja + tarjetas + modal) --- */
.oferta-wrap{ padding-left:10%; padding-right:10%; }
@media (max-width:768px){ .oferta-wrap{ padding-left:15px; padding-right:15px; } }

/* Franja de texto */
.courses-banner{
  background:#1B1A51; color:#fff; text-align:center;
  padding:16px 18px; border-radius:12px; margin:16px 0 28px;
  font-weight:700; letter-spacing:.2px;
}

/* Grid de tarjetas */
.offer-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:22px;
}
@media (max-width:1024px){ .offer-grid{ grid-template-columns:repeat(2,1fr);} }
@media (max-width:576px){ .offer-grid{ grid-template-columns:1fr;} }

/* Tarjeta */
.offer-card{
  display:flex; flex-direction:column; background:#1B1A51; color:#fff;
  border-radius:16px; overflow:hidden; text-decoration:none; cursor:pointer;
  box-shadow:0 4px 25px rgba(0,0,0,.06); transition:transform .2s, box-shadow .2s;
}
.offer-card:hover{ transform:translateY(-3px); box-shadow:0 10px 30px rgba(0,0,0,.12); }

.offer-card-image{ position:relative; overflow:hidden; }
.offer-card-image img{ width:100%; height:230px; object-fit:cover; transition:transform .35s ease; display:block; }
.offer-card:hover .offer-card-image img{ transform:scale(1.05); }

.offer-card-body{ padding:16px 20px 20px; }
.offer-sep{ width:160px; height:4px; background:#E53935; border-radius:2px; margin-bottom:12px; }
.offer-title{ margin:0; font-size:20px; font-weight:800; }

/* Modal */
.offer-modal{ position:fixed; inset:0; display:none; z-index:1000; }
.offer-modal[aria-hidden="false"]{ display:block; }
.offer-modal-backdrop{
  position:absolute; inset:0; background:rgba(0,0,0,.55); backdrop-filter:blur(2px);
}
.offer-modal-dialog{
  position:relative; z-index:1; max-width:980px; margin:4vh auto; padding:0 15px;
}
.offer-modal-content{
  background:#fff; border-radius:16px; overflow:hidden;
  display:grid; grid-template-columns: 1fr 1.2fr; gap:0;
  box-shadow:0 20px 60px rgba(0,0,0,.3);
}
@media (max-width:900px){
  .offer-modal-content{ grid-template-columns:1fr; }
}
.offer-modal-media img{ width:100%; height:100%; object-fit:cover; display:block; }
.offer-modal-text{ padding:22px 24px; color:#1B1A51; }
.offer-modal-text h3{ margin:0 0 8px; font-size:26px; font-weight:800; }
.offer-modal-body{ max-height:58vh; overflow:auto; padding-right:6px; }
.offer-modal-body ul{ padding-left:18px; margin:0; }
.offer-modal-body li{ margin:6px 0; line-height:1.45; }

.offer-modal-close{
  position:absolute; top:8px; right:18px; width:40px; height:40px;
  border:none; border-radius:50%; background:#1B1A51; color:#fff; font-size:24px;
  cursor:pointer; line-height:40px; text-align:center;
}
.offer-modal-close:hover{ background:#5b3aee; }

/* Ajuste de la sección para que no dependa de Tailwind aquí */
.ed-2-courses{ padding:80px 0; }


/* ==== Eventos (dinámicos) ==== */
.events-section{
  padding:120px 0;
}
@media (max-width:1280px){.events-section{padding:80px 0}}
@media (max-width:768px){.events-section{padding:60px 0}}

.events-container{
  width:100%;
  margin:0 auto;
  padding:0 3.2%;
  max-width:1440px;
}
@media (max-width:1024px){.events-container{padding:0 15px}}

.events-head{
  display:flex;
  flex-wrap:wrap;
  align-items:flex-end;
  justify-content:space-between;
  gap:30px;
  padding-bottom:32px;
  margin-bottom:40px;
  border-bottom:1px solid rgba(0,33,71,.15);
}
.events-subtitle{
  font-size:14px;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.5px;
  color:#5b3aee;
  margin:0 0 4px;
}
.events-title{
  font-size:36px;
  line-height:1.2;
  margin:0;
  font-weight:800;
  color:#1B1A51;
}
@media (max-width:640px){.events-title{font-size:30px}}

.events-nav{
  display:flex;
  gap:15px;
}
.events-nav-btn{
  width:40px;height:40px;
  border:1px solid rgba(128,128,128,.2);
  border-radius:50%;
  background:#fff;
  cursor:pointer;
  font-size:18px;
  display:flex;align-items:center;justify-content:center;
  transition:.25s;
  color:#000;
}
.events-nav-btn:hover{
  background:#5b3aee;
  color:#fff;
  border-color:#5b3aee;
}

/* Slider wrapper inherits Swiper styles */
.events-slide-col{
  display:flex;
  flex-direction:column;
  gap:30px;
}
@media (max-width:640px){.events-slide-col{gap:20px}}

.event-card{
  display:flex;
  gap:30px;
  padding:30px;
  background:#F5F7FA;
  border-radius:20px;
  align-items:center;
  transition:box-shadow .25s, transform .25s;
}
.event-card:hover{
  box-shadow:0 10px 28px -6px rgba(0,0,0,.15);
  transform:translateY(-3px);
}
@media (max-width:1024px){
  .event-card{gap:24px}
}
@media (max-width:860px){
  .event-card{flex-direction:column;align-items:flex-start}
}
@media (max-width:640px){
  .event-card{padding:20px}
}

.event-card-img{
  position:relative;
  width:215px;
  flex-shrink:0;
}
.event-card-img img{
  width:100%;
  aspect-ratio:215/203;
  object-fit:cover;
  display:block;
  border-radius:10px;
  transition:transform .4s ease;
}
.event-card:hover .event-card-img img{transform:scale(1.05)}
@media (max-width:860px){
  .event-card-img{width:100%}
  .event-card-img img{aspect-ratio:16/9}
}

.event-meta{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:14px;
  font-weight:500;
  color:#808080;
  margin:0 0 6px;
}

.event-title{
  font-size:20px;
  font-weight:600;
  color:#1B1A51;
  margin:0 0 10px;
  line-height:1.25;
}
.event-title a{
  color:inherit;
  text-decoration:none;
  transition:color .25s;
}
.event-title a:hover{color:#5b3aee}

.event-text{
  font-size:15px;
  line-height:1.5;
  color:#445375;
  margin:0;
  max-width:640px;
}

.event-sep{
  width:120px;
  height:4px;
  background:#E53935;
  border-radius:2px;
  margin:0 0 14px;
}

/* Helper: hide nav if one slide */
.events-nav.disabled{display:none}


/* --- Equipo (dinámico) --- */
.team-section{padding:120px 0;position:relative;overflow:hidden}
@media (max-width:1280px){.team-section{padding:80px 0}}
@media (max-width:768px){.team-section{padding:60px 0}}
.team-container{max-width:1440px;margin:0 auto;padding:0 3.2%}
@media (max-width:1024px){.team-container{padding:0 15px}}
.team-head{margin-bottom:46px}
@media (max-width:1024px){.team-head{margin-bottom:36px}}
@media (max-width:640px){.team-head{margin-bottom:26px}}
.team-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:30px;
}
@media (max-width:1200px){.team-grid{grid-template-columns:repeat(3,1fr)}}
@media (max-width:900px){.team-grid{grid-template-columns:repeat(2,1fr);gap:24px}}
@media (max-width:520px){.team-grid{grid-template-columns:1fr;gap:20px}}
.team-card{
  text-align:center;
}
.team-card-figure{
  position:relative;
  overflow:hidden;
  border-radius:12px;
  margin:0 0 18px;
  background:#eee;
}
.team-card-figure img{
  width:100%;
  aspect-ratio:270/320;
  object-fit:cover;
  display:block;
  transition:transform .5s ease;
}
.team-card:hover .team-card-figure img{
  transform:scale(1.08);
}
.team-card-name{
  font-size:18px;
  font-weight:600;
  color:#1B1A51;
  margin:0 0 12px;
}
.team-card-role{
  font-size:14px;
  color:#5f6580;
  display:block;
  line-height:1.35;
  font-weight:500;
  min-height:38px;
}
.team-vectors .v-circle{
  position:absolute;
  pointer-events:none;
  border-radius:50%;
  z-index:-1;
}
.team-vectors .v1{
  top:0;left:56px;
  width:434px;aspect-ratio:1;
  background:rgba(91,58,238,.15);
  transform:translateY(-50%);
}
.team-vectors .v2{
  right:21px;bottom:0;
  width:694px;aspect-ratio:1;
  background:rgba(91,58,238,.10);
  transform:translateY(50%);
}
.team-vectors .v-img{position:absolute;pointer-events:none;z-index:-1}
.team-vectors .v-img-1{right:58px;bottom:154px}
.team-vectors .v-img-2{left:0;top:120px}