
  /* ============ TOKENS ============ */
  :root{
    --ink:#0A1626;
    --navy:#0E2340;
    --navy-2:#15335C;
    --teal:#1FC7B6;
    --teal-dim:#12857A;
    --gold:#E7B24E;
    --paper:#F6F7F5;
    --paper-2:#EEF0EC;
    --white:#FFFFFF;
    --line:#DEE2DC;
    --ink-soft:#4B5563;

    --display:'Fraunces', serif;
    --body:'Inter', sans-serif;
    --mono:'JetBrains Mono', monospace;

    --maxw:1240px;
    --radius:14px;
  }

  *{box-sizing:border-box; margin:0; padding:0;}
  html{scroll-behavior:smooth;}
  body{
    font-family:var(--body);
    color:var(--ink);
    background:var(--paper);
    -webkit-font-smoothing:antialiased;
    overflow-x:hidden;
  }
  img,svg{display:block; max-width:100%;}
  a{color:inherit; text-decoration:none;}
  ul{list-style:none;}
  button{font-family:inherit; cursor:pointer;}
  .wrap{max-width:var(--maxw); margin:0 auto; padding:0 32px;}
  @media(max-width:640px){ .wrap{padding:0 20px;} }

  h1,h2,h3,h4{font-family:var(--display); font-weight:600; line-height:1.08; letter-spacing:-0.01em; color:var(--ink);}
  /* ============ SUBTÍTULOS DE SECCIÓN ============ */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;

  color: var(--teal-dim);
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  flex: none;

  width: 22px;
  height: 1px;

  background: var(--teal-dim);
}
  .eyebrow::before{content:""; width:22px; height:1px; background:var(--teal-dim); display:inline-block;}
  p{color:var(--ink-soft); line-height:1.65;}

  .btn{
    display:inline-flex; align-items:center; gap:8px;
    padding:14px 26px; border-radius:100px; font-weight:600; font-size:.94rem;
    border:1.5px solid transparent; transition:.25s ease;
  }
  .btn-primary{background:var(--ink); color:var(--white);}
  .btn-primary:hover{background:var(--navy-2); transform:translateY(-1px);}
  .btn-ghost{border-color:rgba(255,255,255,.35); color:var(--white);}
  .btn-ghost:hover{border-color:#fff; background:rgba(255,255,255,.08);}
  .btn-ghost.dark{border-color:var(--ink); color:var(--ink);}
  .btn-ghost.dark:hover{background:var(--ink); color:#fff;}
  .btn-aula{
    background:linear-gradient(135deg, var(--teal), var(--teal-dim));
    color:#04211D; font-weight:700;
  }
  .btn-aula:hover{filter:brightness(1.08); transform:translateY(-1px);}

  /* ============ NAV ============ */
  header.site{
    position:fixed; top:0; left:0; right:0; z-index:1000;
    background:rgba(10,22,38,.72); backdrop-filter:blur(14px) saturate(140%);
    border-bottom:1px solid rgba(255,255,255,.08);
    transition:background .3s ease;
  }
  .nav-inner{
    max-width:var(--maxw); margin:0 auto; padding:0 32px;
    display:flex; align-items:center; justify-content:space-between; height:76px;
  }
  .brand{display:flex; align-items:center; gap:10px; color:#fff;}
  .brand-mark{width:34px; height:34px; flex:none;}
  .brand-text{font-family:var(--display); font-size:1.18rem; font-weight:600; letter-spacing:-.01em;}
  .brand-text span{color:var(--teal); font-style:italic;}

  nav.main-links{display:flex; align-items:center; gap:2px;}
  nav.main-links a{
    color:rgba(255,255,255,.8); font-size:.9rem; font-weight:500; padding:10px 14px; border-radius:8px;
    transition:.2s;
  }
  nav.main-links a:hover{color:#fff; background:rgba(255,255,255,.07);}

  .nav-actions{display:flex; align-items:center; gap:12px;}
  .hamburger{display:none; flex-direction:column; gap:5px; background:none; border:none; padding:6px;}
  .hamburger span{width:22px; height:2px; background:#fff; border-radius:2px;}

  /* =========================================================
   NAVEGACIÓN RESPONSIVE
   ========================================================= */

@media (max-width:1080px) {

  nav.main-links {
    display: none;
  }

  .nav-actions .btn-aula {
    display: none;
  }

  .hamburger {
    display: flex;
  }

}

  /* =========================================================
   MOBILE MENU
   ========================================================= */

.mobile-menu {
  position: fixed;

  inset: 0;

  z-index: 1100;

  display: flex;

  flex-direction: column;

  padding:
    24px 28px
    30px;

  background:
    rgba(10, 22, 38, .97);

  backdrop-filter:
    blur(18px)
    saturate(140%);

  -webkit-backdrop-filter:
    blur(18px)
    saturate(140%);

  border-left:
    1px solid rgba(255,255,255,.08);

  transform:
    translateX(100%);

  transition:
    transform .35s cubic-bezier(.65,0,.35,1);

  overflow-y: auto;
}


.mobile-menu.open {
  transform:
    translateX(0);
}


/* =========================================================
   CABECERA
   ========================================================= */

.mobile-menu-top {
  width: 100%;

  min-height: 76px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  margin-bottom: 36px;

  padding-bottom: 18px;

  border-bottom:
    1px solid rgba(255,255,255,.08);
}


/* LOGO */

.mobile-brand {
  display: flex;

  align-items: center;

  text-decoration: none;

  padding: 0;
}


.mobile-brand-logo {
  display: block;

  width: 180px;

  height: 52px;

  max-width: 100%;

  object-fit: contain;
}


/* =========================================================
   BOTÓN CERRAR
   ========================================================= */

.close-btn {
  position: relative;

  width: 44px;

  height: 44px;

  flex: none;

  display: flex;

  align-items: center;

  justify-content: center;

  padding: 0;

  background:
    rgba(255,255,255,.06);

  border:
    1px solid rgba(255,255,255,.14);

  border-radius: 50%;

  cursor: pointer;

  transition:
    background .2s ease,
    border-color .2s ease,
    transform .2s ease;
}


.close-btn:hover {
  background:
    rgba(31,199,182,.12);

  border-color:
    rgba(31,199,182,.5);

  transform:
    rotate(90deg);
}


/* X */

.close-btn span {
  position: absolute;

  width: 18px;

  height: 2px;

  background: #ffffff;

  border-radius: 2px;
}


.close-btn span:first-child {
  transform:
    rotate(45deg);
}


.close-btn span:last-child {
  transform:
    rotate(-45deg);
}


/* =========================================================
   ENLACES
   ========================================================= */

.mobile-links {
  display: flex;

  flex-direction: column;

  width: 100%;
}


.mobile-links a {
  position: relative;

  display: flex;

  align-items: center;

  justify-content: space-between;

  min-height: 58px;

  padding:
    8px 4px;

  color:
    rgba(255,255,255,.82);

  font-family:
    var(--body);

  font-size:
    1rem;

  font-weight:
    600;

  text-decoration:
    none;

  border-bottom:
    1px solid rgba(255,255,255,.08);

  transition:
    color .2s ease,
    padding-left .2s ease,
    background .2s ease;
}


.mobile-links a:hover {
  color:
    #ffffff;

  padding-left:
    10px;

  background:
    rgba(255,255,255,.035);
}


/* Línea turquesa al pasar */

.mobile-links a::after {
  content: "→";

  color:
    rgba(31,199,182,0);

  font-size:
    1rem;

  transform:
    translateX(-6px);

  transition:
    color .2s ease,
    transform .2s ease;
}


.mobile-links a:hover::after {
  color:
    var(--teal);

  transform:
    translateX(0);
}


/* =========================================================
   AULA VIRTUAL
   ========================================================= */

.mobile-menu-action {
  margin-top:
    auto;

  padding-top:
    32px;
}


.mobile-aula {
  display: flex;

  align-items: center;

  justify-content: center;

  gap: 10px;

  width: 100%;

  min-height: 54px;

  box-sizing: border-box;

  padding:
    14px 24px;

  color:
    #04211D;

  background:
    linear-gradient(
      135deg,
      var(--teal),
      var(--teal-dim)
    );

  border-radius:
    100px;

  font-family:
    var(--body);

  font-size:
    .95rem;

  font-weight:
    700;

  text-decoration:
    none;

  box-shadow:
    0 12px 30px
    rgba(31,199,182,.14);

  transition:
    transform .2s ease,
    filter .2s ease,
    box-shadow .2s ease;
}


.mobile-aula span {
  font-size:
    1.15rem;

  line-height:
    1;
}


.mobile-aula:hover {
  color:
    #04211D;

  filter:
    brightness(1.08);

  transform:
    translateY(-2px);

  box-shadow:
    0 16px 32px
    rgba(31,199,182,.2);
}
@media (max-width:560px) {

  .mobile-menu {
    padding:
      18px 20px
      24px;
  }

  .mobile-menu-top {
    min-height: 68px;

    margin-bottom: 24px;

    padding-bottom: 14px;
  }

  .mobile-brand-logo {
    width: 155px;

    height: 46px;
  }

  .close-btn {
    width: 40px;

    height: 40px;
  }

  .mobile-links a {
    min-height: 54px;

    font-size:
      .96rem;
  }

  .mobile-menu-action {
    padding-top:
      24px;
  }

  .mobile-aula {
    min-height: 52px;

    font-size:
      .92rem;
  }

}
@media (max-width:380px) {

  .mobile-menu {
    padding:
      16px 18px
      20px;
  }

  .mobile-brand-logo {
    width: 140px;

    height: 42px;
  }

  .mobile-menu-top {
    margin-bottom: 18px;
  }

  .mobile-links a {
    min-height: 50px;

    font-size:
      .92rem;
  }

}

  /* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;
  overflow: hidden;

  background:
    radial-gradient(
      120% 100% at 15% 0%,
      #163A63 0%,
      var(--navy) 45%,
      var(--ink) 100%
    );

  padding: 168px 0 100px;
  color: #fff;
}


/* CONTENEDOR PRINCIPAL */

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}


/* TEXTO SUPERIOR */

.hero-eyebrow {
  color: var(--teal);
}


/* TÍTULO */

.hero-title {
  margin: 22px 0 26px;

  max-width: 20ch;

  color: #ffffff;

  font-size: clamp(
    2.5rem,
    4.25vw,
    3.8rem
  );

  line-height: 1.02;
}


/* CADA LÍNEA */

.hero-title-line {
  display: block;
}


/* PALABRA DESTACADA */

.hero-title em {
  color: var(--teal);
  font-style: italic;
  font-weight: 500;
}


/* SUBTÍTULO */

.hero-subtitle {
  max-width: 34ch;

  margin: 0 0 18px;

  padding-left: 18px;

  border-left: 3px solid var(--teal);

  color: #ffffff;

  font-family: var(--body);

  font-size: clamp(
    1.08rem,
    1.4vw,
    1.3rem
  );

  font-weight: 700;

  line-height: 1.4;

  letter-spacing: -.01em;
}


/* TEXTO DESCRIPTIVO */

.hero p.lead {
  max-width: 50ch;

  margin-bottom: 36px;

  color: rgba(255,255,255,.72);

  font-size: 1.08rem;

  line-height: 1.65;
}


/* BOTONES */

.hero-ctas {
  display: flex;

  gap: 14px;

  flex-wrap: wrap;
}


/* ESTADÍSTICAS */

.hero-stats {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  column-gap: 40px;

  row-gap: 34px;

  max-width: 600px;

  margin-top: 56px;
}


.hstat {
  min-width: 0;
}


.hstat b {
  display: block;

  color: #fff;

  font-family: var(--display);

  font-size: 1.9rem;

  line-height: 1;
}


.hstat span {
  display: block;

  margin-top: 6px;

  color: rgba(255,255,255,.55);

  font-size: .78rem;

  line-height: 1.4;

  letter-spacing: .06em;

  text-transform: uppercase;
}


/* =========================================================
   RED VISUAL DEL HERO
   ========================================================= */

.hero-visual {
  position: relative;

  height: 520px;

  min-width: 0;
}


.hero-network {
  position: absolute;

  inset: 0;

  width: 100%;

  height: 100%;
}


/* LÍNEAS */

.network-lines line {
  vector-effect: non-scaling-stroke;
}


/* NODO CENTRAL */

.network-center {
  filter:
    drop-shadow(
      0 0 12px
      rgba(31,199,182,.55)
    );
}


/* =========================================================
   TARJETAS FLOTANTES
   ========================================================= */

.orbit-card {
  position: absolute;

  padding: 16px 18px;

  color: #fff;

  background:
    rgba(255,255,255,.06);

  border:
    1px solid rgba(255,255,255,.14);

  border-radius: 16px;

  backdrop-filter: blur(6px);

  box-shadow:
    0 20px 40px rgba(0,0,0,.25);

  z-index: 2;
}


.orbit-card b {
  display: block;

  margin-bottom: 6px;

  font-family: var(--display);

  font-size: 1.15rem;

  line-height: 1.15;
}


.orbit-card span {
  display: block;

  color: rgba(255,255,255,.6);

  font-size: .76rem;

  line-height: 1.5;
}


/* ACREDITACIÓN */

.oc1 {
  top: 6%;
  left: 2%;

  width: 210px;
}


/* DOCENTES */

.oc2 {
  top: 56%;
  left: 0;

  width: 190px;
}


/* CAMPUS */

.oc3 {
  right: 4%;
  bottom: 4%;

  width: 220px;
}


/* ALIANZAS */

.oc4 {
  top: 9%;
  right: 0;

  width: 240px;

  min-height: 0;

  padding-top: 16px;
  padding-bottom: 16px;

  display: flex;

  flex-direction: column;

  justify-content: flex-start;

  align-items: center;

  text-align: center;
}


.oc4 b {
  width: 100%;

  margin-bottom: 8px;

  text-align: center;

  line-height: 1.15;
}


.oc4 span {
  width: 100%;

  text-align: left;

  line-height: 1.5;
}


/* =========================================================
   TRUST STRIP
   ========================================================= */

.trust {
  background: var(--ink);

  padding: 28px 0;

  border-top:
    1px solid rgba(255,255,255,.08);
}


.trust .wrap {
  width: 100%;
}


/* SEIS LOGOS */

.trust-logos {
  width: 100%;

  display: grid;

  grid-template-columns:
    repeat(6, minmax(0, 1fr));

  align-items: center;

  gap: 30px;
}


/* CONTENEDOR INDIVIDUAL */

.trust-logo-box {
  min-width: 0;

  height: 52px;

  display: flex;

  align-items: center;

  justify-content: center;
}


/* LOGOS */

.trust-logo {
  display: block;

  width: 145px;

  height: 40px;

  max-width: 100%;

  object-fit: contain;

  opacity: .78;

  transition:
    opacity .2s ease,
    transform .2s ease;
}


.trust-logo:hover {
  opacity: 1;

  transform:
    translateY(-2px);
}

/* LOGOS DE INSTITUCIONES ALIADAS */
.trust-logos {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  gap: 30px;
}

.trust-logos img {
  display: block;
  width: 150px;
  height: 85px;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0.95;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.trust-logos img:hover {
  transform: scale(1.08);
  opacity: 1;
}

/* TABLETS */
@media (max-width: 900px) {
  .trust-logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  .trust-logos img {
    width: 135px;
    height: 75px;
  }
}

/* MÓVILES */
@media (max-width: 560px) {
  .trust-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 16px;
  }

  .trust-logos img {
    width: 125px;
    height: 70px;
  }
}

/* =========================================================
   HERO — TABLET
   ========================================================= */

@media (max-width: 1080px) {

  .hero {
    padding-top: 140px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-content {
    max-width: 760px;
  }

  .hero-visual {
    width: 100%;
    max-width: 700px;
    height: 500px;
    margin: 0 auto;
  }

  .trust-logos {
    grid-template-columns:
      repeat(3, minmax(0, 1fr));

    row-gap: 30px;
  }

}


/* =========================================================
   HERO — TABLET PEQUEÑA
   ========================================================= */

@media (max-width: 760px) {

  .hero {
    padding:
      125px 0
      70px;
  }

  .hero-grid {
    gap: 30px;
  }

  .hero-title {
    max-width: none;

    font-size:
      clamp(
        2.3rem,
        8vw,
        3.2rem
      );

    line-height: 1.04;
  }

  .hero-subtitle {
    max-width: 40ch;

    font-size: 1.05rem;
  }

  .hero p.lead {
    font-size: 1rem;

    max-width: 60ch;
  }

  .hero-stats {
    margin-top: 42px;

    column-gap: 24px;

    row-gap: 28px;
  }

  .hero-visual {
    height: 470px;
  }


  /* TRUST */

  .trust {
    padding: 26px 0;
  }

  .trust-logos {
    grid-template-columns:
      repeat(3, minmax(0, 1fr));

    gap: 24px 18px;
  }

  .trust-logo-box {
    height: 48px;
  }

  .trust-logo {
    width: 125px;

    height: 36px;
  }

}


/* =========================================================
   HERO — CELULAR
   ========================================================= */

@media (max-width: 600px) {

  .hero {
    padding:
      112px 0
      55px;
  }


  /* TEXTO */

  .hero-title {
    margin:
      18px 0
      22px;

    font-size:
      clamp(
        2rem,
        10vw,
        2.6rem
      );

    line-height: 1.05;
  }


  .hero-subtitle {
    padding-left: 14px;

    font-size: 1.03rem;

    line-height: 1.4;
  }


  .hero p.lead {
    margin-bottom: 28px;

    font-size: .98rem;

    line-height: 1.6;
  }


  /* BOTONES */

  .hero-ctas {
    flex-direction: column;

    align-items: stretch;

    gap: 10px;
  }

  .hero-ctas .btn {
    width: 100%;

    box-sizing: border-box;

    text-align: center;

    justify-content: center;
  }


  /* ESTADÍSTICAS */

  .hero-stats {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    column-gap: 18px;

    row-gap: 28px;

    margin-top: 40px;
  }

  .hstat b {
    font-size: 1.55rem;
  }

  .hstat span {
    font-size: .65rem;

    line-height: 1.45;
  }


  /* =====================================================
     RED DEL HERO EN CELULAR
     ===================================================== */

  .hero-visual {
    height: 500px;

    width: 100%;

    margin-top: 5px;
  }


  .hero-network {
    transform:
      scale(.92);

    transform-origin:
      center center;
  }


  /* TARJETAS */

  .orbit-card {
    padding:
      12px 14px;

    border-radius: 13px;

    backdrop-filter:
      blur(5px);
  }


  .orbit-card b {
    font-size: .95rem;

    margin-bottom: 5px;
  }


  .orbit-card span {
    font-size: .68rem;

    line-height: 1.4;
  }


  /* ACREDITACIÓN */

  .oc1 {
    top: 3%;
    left: 0;

    width: 155px;
  }


  /* ALIANZAS */

  .oc4 {
    top: 3%;
    right: 0;

    width: 155px;

    padding:
      12px 14px;
  }


  /* DOCENTES */

  .oc2 {
    top: 57%;
    left: 0;

    width: 145px;
  }


  /* CAMPUS */

  .oc3 {
    right: 0;
    bottom: 2%;

    width: 155px;
  }


  /* =====================================================
     TRUST STRIP — CELULAR
     ===================================================== */

  .trust {
    padding:
      24px 0;
  }


  .trust-logos {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap:
      24px 12px;
  }


  .trust-logo-box {
    height: 46px;
  }


  .trust-logo {
    width: 120px;

    height: 34px;
  }

}


/* =========================================================
   CELULARES MUY PEQUEÑOS
   ========================================================= */

@media (max-width: 380px) {

  .hero {
    padding-top: 105px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-visual {
    height: 480px;
  }

  .orbit-card {
    padding:
      10px 11px;
  }

  .orbit-card b {
    font-size: .85rem;
  }

  .orbit-card span {
    font-size: .62rem;
  }

  .oc1,
  .oc4 {
    width: 135px;
  }

  .oc2,
  .oc3 {
    width: 130px;
  }

  .trust-logo {
    width: 105px;

    height: 30px;
  }

}

  /* ============ SECTION GENERIC ============ */
  section{padding:112px 0;}
  @media(max-width:640px){ section{padding:76px 0;} }
  .section-head{max-width:660px; margin-bottom:56px;}
  .section-head h2{font-size:clamp(1.9rem,3.2vw,2.7rem); margin-top:18px;}
  .section-head p{margin-top:16px; font-size:1.04rem;}
  .section-head.center{margin-left:auto; margin-right:auto; text-align:center;}
  .section-head.center .eyebrow{justify-content:center;}
  .section-head.center .eyebrow::before{display:none;}
/* ============ QUIÉNES SOMOS ============ */

.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 76px;
  align-items: center;
}

/* Imagen */

.about-visual {
  position: relative;
  padding: 0 20px 28px 0;
}

.about-frame {
  position: relative;
  aspect-ratio: 1.25;
  overflow: hidden;
  border-radius: 22px;
  background: var(--paper-2);
  box-shadow: 0 24px 55px rgba(10,22,38,.13);
}

.about-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 55%,
    rgba(10,22,38,.18)
  );
  pointer-events: none;
}

.about-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* Tarjeta flotante de 15 años */

.about-badge {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: 210px;
  padding: 22px 24px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 16px;
  background: linear-gradient(
    145deg,
    var(--navy-2),
    var(--ink)
  );
  box-shadow: 0 20px 42px rgba(10,22,38,.22);
}

/* ============ TARJETA 15 AÑOS ============ */

.about-badge {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;

  width: 230px;
  padding: 25px 24px 22px;
  overflow: hidden;

  /* Fondo azul ligeramente transparente */
  background: linear-gradient(
    135deg,
    rgba(21, 51, 92, 0.94),
    rgba(10, 22, 38, 0.90)
  );

  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;

  box-shadow:
    0 18px 40px rgba(10, 22, 38, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  cursor: default;

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease;
}


/* Título 15 años */
.about-badge b {
  display: block;
  margin-bottom: 8px;

  color: #ffffff;
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
}

/* Texto inferior */
.about-badge span {
  display: block;

  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.5;
}

/* Efecto profesional al pasar el mouse */
@media (hover: hover) {
  .about-badge:hover {
    transform: translateY(-5px);

    background: linear-gradient(
      135deg,
      rgba(21, 51, 92, 0.98),
      rgba(10, 22, 38, 0.95)
    );

    border-color: rgba(31, 199, 182, 0.50);

    box-shadow:
      0 25px 50px rgba(10, 22, 38, 0.30),
      inset 0 1px 0 rgba(255, 255, 255, 0.14);
  }

  .about-badge:hover::before {
    width: 72px;
  }
}

.about-badge span {
  display: block;
  color: rgba(255,255,255,.72);
  font-size: .76rem;
  line-height: 1.45;
}

/* Contenido institucional */

.about-copy h2 {
  max-width: 16ch;
  margin-top: 18px;
  font-size: clamp(2rem, 3.25vw, 3rem);
}

.about-copy h2 em {
  color: var(--teal-dim);
  font-style: italic;
  font-weight: 500;
}

.about-copy > p:not(.eyebrow) {
  max-width: 59ch;
  margin-top: 18px;
  font-size: .98rem;
  text-align: justify;
}

/* ============ MISIÓN Y VISIÓN — PANEL UNIFICADO ============ */

.purpose-grid {
  position: relative;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;

  margin-top: 68px;
  overflow: hidden;

  background: linear-gradient(
    145deg,
    #ffffff 0%,
    #fafbfa 100%
  );

  border: 1px solid rgba(10, 22, 38, 0.12);
  border-radius: 18px;

  box-shadow: 0 14px 36px rgba(10, 22, 38, 0.06);
}

/* Punto central decorativo */
.purpose-grid::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;

  width: 14px;
  height: 14px;

  background: var(--teal-dim);
  border: 4px solid #ffffff;
  border-radius: 50%;

  box-shadow: 0 0 0 1px rgba(10, 22, 38, 0.10);

  transform: translate(-50%, -50%);
}

/* Cada lado del panel */
.purpose-card {
  position: relative;

  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: start;
  gap: 22px;

  min-width: 0;
  padding: 40px 42px;

  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;

  transition: background-color 0.3s ease;
}

/* Elimina las franjas superiores anteriores */
.purpose-card::before {
  display: none;
}

/* División central */
.purpose-card-vision {
  border-left: 1px solid rgba(10, 22, 38, 0.11);
}

/* Iconos */
.purpose-icon {
  width: 56px;
  height: 56px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: var(--teal-dim);
  background: transparent;

  border: none;
  border-radius: 0;
  box-shadow: none;

  transition:
    color 0.3s ease,
    transform 0.3s ease;
}

.purpose-card-vision .purpose-icon {
  color: var(--teal-dim);
}

.purpose-icon svg {
  width: 36px;
  height: 36px;
}

/* Etiquetas superiores */
.purpose-label {
  display: block;
  margin-bottom: 9px;

  color: var(--teal-dim);

  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.purpose-card-vision .purpose-label {
  color: var(--teal-dim);
}

/* Títulos */
.purpose-card h3 {
  margin: 0 0 16px;

  color: var(--navy-2);

  font-family: var(--display);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.1;
}

/* Texto */
.purpose-card p {
  margin: 0;

  color: var(--ink-soft);

  font-size: 0.95rem;
  line-height: 1.7;

  /* Evita espacios exagerados entre palabras */
  text-align: left;
}

.purpose-card strong {
  color: var(--navy-2);
  font-weight: 700;
}

/* Interacción suave */
@media (hover: hover) {

  .purpose-card:hover {
    background: rgba(31, 199, 182, 0.025);
  }

  .purpose-card:hover .purpose-icon {
    color: var(--teal);
    transform: scale(1.07);
  }
}

/* ============ TABLETAS ============ */

@media (max-width: 900px) {

  .purpose-grid {
    grid-template-columns: 1fr;
    margin-top: 58px;
  }

  .purpose-grid::after {
    display: none;
  }

  .purpose-card {
    padding: 36px 34px;
  }

  .purpose-card-vision {
    border-left: none;
    border-top: 1px solid rgba(10, 22, 38, 0.11);
  }
}

/* ============ CELULARES ============ */

@media (max-width: 600px) {

  .purpose-grid {
    margin-top: 48px;
    border-radius: 16px;
  }

  .purpose-card {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 16px;
    padding: 28px 22px;
  }

  .purpose-icon {
    width: 48px;
    height: 48px;
  }

  .purpose-icon svg {
    width: 30px;
    height: 30px;
  }

  .purpose-card h3 {
    font-size: 1.55rem;
    margin-bottom: 13px;
  }

  .purpose-card p {
    font-size: 0.91rem;
    line-height: 1.65;
  }
}
/* ============ NUESTRO EQUIPO ============ */

.team {
  padding-top: 98px;
  background: var(--paper);
}

.team-head {
  max-width: 780px;
  margin: 0 auto 52px;
  text-align: center;
}

.team-head .eyebrow {
  justify-content: center;
}

.team-head .eyebrow::before {
  width: 28px;
}

.team-head h2 {
  max-width: 20ch;
  margin: 18px auto 0;
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  line-height: 1.12;
}

.team-head h2 em {
  display: block;
  color: var(--teal-dim);
  font-style: italic;
  font-weight: 500;
}

.team-head > p {
  max-width: 680px;
  margin: 20px auto 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.7;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(240px, 280px)
  );
  justify-content: center;
  gap: 24px;
}

/* Tarjeta de integrante */

.team-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 18px 38px rgba(10,22,38,.07);
  transition:
    transform .25s ease,
    box-shadow .25s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 46px rgba(10,22,38,.11);
}

/* Fotografía  */

.team-photo {
  width: 100%;
  aspect-ratio: 4 / 4.5;
  display: block;
  object-fit: cover;
  object-position: center top;
}





.team-photo-placeholder svg {
  width: 68px;
  height: 68px;
  color: var(--teal);
}

.team-photo-placeholder span {
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.team-card-body {
  padding: 22px;
}

.team-card-label {
  display: block;
  margin-bottom: 8px;
  color: var(--teal-dim);
  font-family: var(--mono);
  font-size: .63rem;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.team-card h3 {
  color: var(--navy-2);
  font-size: 1.16rem;
}

.team-card-body p {
  margin-top: 6px;
  font-size: .86rem;
}

.team-experience {
  display: inline-block;
  margin-top: 15px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: .75rem;
  font-weight: 600;
}

.team-head .eyebrow {
  justify-content: center;
  color: var(--teal-dim);
}

.team-head .eyebrow::before {
  width: 28px;
  background: var(--teal-dim);
}

/* Tabletas */

@media(max-width: 900px) {

  .about-grid {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .about-copy h2 {
    max-width: 19ch;
  }

  .purpose-grid {
    grid-template-columns: 1fr;
    margin-top: 62px;
  }

  .team-head {
  max-width: 680px;
  margin-bottom: 42px;
}
}

/* Celulares */

@media(max-width: 600px) {

  .about-visual {
    padding: 0 0 20px;
  }

  .about-badge {
    position: relative;
    right: auto;
    bottom: auto;
    width: auto;
    margin: -18px 14px 0;
  }

  .about-copy h2 {
    max-width: none;
  }

  .about-copy > p:not(.eyebrow) {
    text-align: left;
  }

  .purpose-card {
    grid-template-columns: 1fr;
    padding: 26px 23px;
  }

  .purpose-card p {
    text-align: left;
  }

 .team {
  padding: 98px 0 60px;
  background: var(--white);
}

  .team-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

  /* ============ OFERTA ACADÉMICA ============ */

.offer {
  background: var(--paper);
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

/* TARJETAS */

.offer-card {
  min-width: 0;
  min-height: 100%;
  padding: 30px 26px;

  display: flex;
  flex-direction: column;

  position: relative;
  overflow: hidden;

  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);

  transition:
    transform .25s ease,
    box-shadow .25s ease,
    border-color .25s ease;
}

.offer-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: 0 22px 40px rgba(10, 22, 38, .09);
}

/* ÍCONOS */

.offer-ic {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 20px;
}

/* Logos de la oferta académica */
.offer-card .offer-ic {
  display: block;
  width: 76px;
  height: 76px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 20px;
  flex-shrink: 0;
}

/* Ajuste para móviles */
@media (max-width: 560px) {
  .offer-card .offer-ic {
    width: 68px;
    height: 68px;
    margin-bottom: 18px;
  }
}


/* NUMERACIÓN Y CATEGORÍA */

.offer-num {
  min-height: 2.2em;
  margin: 16px 0 0;

  color: var(--teal-dim);
  font-family: var(--mono);
  font-size: .74rem;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: .07em;
  text-transform: uppercase;
}

/* TÍTULO DE LA TARJETA */

.offer-card h3 {
  margin: 12px 0 10px;

  color: var(--ink);
  font-size: 1.22rem;
  line-height: 1.18;
}

/* DESCRIPCIÓN */

.offer-card > p:not(.offer-num) {
  flex-grow: 1;
  margin: 0 0 20px;

  color: var(--ink-soft);
  font-size: .92rem;
  line-height: 1.65;
}

/* BOTÓN VER PROGRAMAS */

.offer-card a.more {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 6px;

  margin-top: auto;

  color: var(--navy-2);
  font-size: .86rem;
  font-weight: 600;

  transition:
    color .2s ease,
    gap .2s ease;
}

.offer-card a.more:hover {
  gap: 10px;
  color: var(--teal-dim);
}


/* ============ TABLET ============ */

@media(max-width: 1100px) {

  .offer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}


/* ============ CELULAR ============ */

@media(max-width: 600px) {

  .offer-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .offer-card {
    padding: 26px 23px;
  }

  .offer-num {
    min-height: 0;
  }

  .offer-card h3 {
    font-size: 1.18rem;
  }

}

  /* ============ BENEFICIOS ============ */
  .benefits{background:var(--ink); color:#fff;}
  .benefits .section-head h2{color:#fff;}
  .benefits .section-head p{color:rgba(255,255,255,.6);}
  /* Subtítulo de Ventajas Institucionales */
.benefits .section-head .eyebrow {
  color: var(--teal);
  font-size: 0.85rem;
}

.benefits .section-head .eyebrow::before {
  background: var(--teal);
}
  .benefit-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:rgba(255,255,255,.1); border-radius:var(--radius); overflow:hidden;}
  .benefit{background:#0C1B30; padding:34px 28px;}
  .benefit-ic{width:36px; height:36px; color:var(--teal); margin-bottom:18px;}
  .benefit h4{color:#fff; font-size:1.06rem; margin-bottom:8px;}
  .benefit p{color:rgba(255,255,255,.55); font-size:.9rem;}
  @media(max-width:900px){ .benefit-grid{grid-template-columns:repeat(2,1fr);} }
  @media(max-width:600px){ .benefit-grid{grid-template-columns:1fr;} }

  /* ============ ALIANZAS ============ */
  .alliances{background:var(--white); text-align:center;}
  .alliance-row{
    display:flex; flex-wrap:wrap; justify-content:center; gap:16px; margin-top:20px;
  }
  .alliance-chip{
    border:1px solid var(--line); border-radius:100px; padding:14px 26px;
    font-family:var(--display); font-style:italic; color:var(--ink-soft); font-size:1rem;
  }
  /* =========================================
   ALIANZAS ESTRATÉGICAS
   ========================================= */

.alliance-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 55px;
  flex-wrap: wrap;
  margin-top: 35px;
}

.alliance-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.alliance-logo img {
  display: block;

  width: auto;
  height: auto;

  max-width: 180px;
  max-height: 85px;

  object-fit: contain;

  background: transparent;
  border: none;
  box-shadow: none;

  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.alliance-logo img:hover {
  transform: scale(1.05);
  opacity: 0.9;
}


/* =========================================
   TABLET
   ========================================= */

@media (max-width: 768px) {

  .alliance-row {
    gap: 35px;
  }

  .alliance-logo img {
    max-width: 140px;
    max-height: 70px;
  }

}


/* =========================================
   MÓVIL
   ========================================= */

@media (max-width: 480px) {

  .alliance-row {
    gap: 25px;
  }

  .alliance-logo img {
    max-width: 120px;
    max-height: 65px;
  }

}

  /* ============ TESTIMONIOS ============ */
  .testimonials{background:var(--paper-2);}
  .test-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:22px;}
  .test-card{
    background:var(--white); border-radius:var(--radius); padding:30px 28px; border:1px solid var(--line);
    display:flex; flex-direction:column; gap:18px;
  }
  .test-quote{font-family:var(--display); font-size:1.08rem; line-height:1.5; color:var(--ink);}
  .test-person{display:flex; align-items:center; gap:12px;}
  .avatar{
    width:42px; height:42px; border-radius:50%; display:flex; align-items:center; justify-content:center;
    font-family:var(--display); font-weight:600; color:#fff; font-size:.95rem;
  }
  .test-person b{display:block; font-size:.92rem;}
  .test-person span{font-size:.8rem; color:var(--ink-soft);}
  @media(max-width:900px){ .test-grid{grid-template-columns:1fr;} }

  /* ============ CONTACTO ============ */
  .contact{background:var(--navy); color:#fff;}
  .contact h2 {
  color: #ffffff !important;
}
  .contact .section-head h2{color:#fff;}
  .contact .section-head p{color:rgba(255,255,255,.62);}
  .contact .eyebrow{color:var(--teal);}
  .contact .eyebrow::before{background:var(--teal);}
  .contact-grid{display:grid; grid-template-columns:1fr 1fr; gap:60px;}
  .info-list{display:grid; gap:22px; margin-top:10px;}
  .info-item{display:flex; gap:16px; align-items:flex-start;}
  .info-ic{width:22px; height:22px; color:var(--teal); flex:none; margin-top:3px;}
  .info-item b{display:block; font-size:.95rem; color:#fff; margin-bottom:2px;}
  .info-item span{font-size:.88rem; color:rgba(255,255,255,.6);}

  .cform{display:grid; gap:14px;}
  .cform .row2{display:grid; grid-template-columns:1fr 1fr; gap:14px;}
  .cform input, .cform select, .cform textarea{
    width:100%; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.16);
    border-radius:10px; padding:13px 16px; color:#fff; font-family:var(--body); font-size:.92rem;
    
  }
  .cform input::placeholder, .cform textarea::placeholder{color:rgba(255,255,255,.4);}
  .cform label{font-size:.78rem; color:rgba(255,255,255,.55); margin-bottom:-6px; font-family:var(--mono); text-transform:uppercase; letter-spacing:.05em;}
  .cform textarea{min-height:110px; resize:vertical;}
  .cform select option {
  color: #0A1626; 
  background: #ffffff;
}
  .cform button{margin-top:6px; justify-self:start;}
  @media(max-width:900px){ .contact-grid{grid-template-columns:1fr;} .cform .row2{grid-template-columns:1fr;} }

  /* ============ FOOTER ============ */
  footer{background:var(--ink); color:rgba(255,255,255,.6); padding:70px 0 26px;}
  /* Logo exclusivo del pie de página */
.foot-brand .footer-brand-logo {
  display: block;
  width: 190px;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  margin: 0 0 18px;
}
/* ============ REDES SOCIALES DEL FOOTER ============ */

.footer-social {
  margin-top: 24px;
}

.footer-social-title {
  display: block;
  margin-bottom: 12px;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-social-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;

  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;

  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}

.footer-social-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.7;
}

.footer-social-icon:hover {
  color: #0A1626;
  background-color: #1FC7B6;
  border-color: #1FC7B6;
  transform: translateY(-4px);
}

.footer-social-icon:focus-visible {
  outline: 3px solid rgba(31, 199, 182, 0.45);
  outline-offset: 4px;
}
/* Corrección exclusiva para el ícono de Instagram */
.footer-social-icon .instagram-icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-social-icon .instagram-icon .instagram-dot {
  fill: currentColor;
  stroke: none;
}

/* Ajuste para celulares */
@media (max-width: 560px) {
  .foot-brand .footer-brand-logo {
    width: 160px;
  }
}
  .foot-grid{display:grid; grid-template-columns:1.4fr repeat(3,1fr); gap:40px; padding-bottom:50px; border-bottom:1px solid rgba(255,255,255,.1);}
  .foot-brand .brand-text{color:#fff;}
  .foot-brand p{margin-top:14px; font-size:.88rem; max-width:32ch;}
  footer h5{color:#fff; font-family:var(--body); font-size:.82rem; text-transform:uppercase; letter-spacing:.06em; margin-bottom:16px;}
  footer ul li{margin-bottom:10px;}
  footer ul li a{font-size:.9rem; color:rgba(255,255,255,.6); transition:.2s;}
  footer ul li a:hover{color:#fff;}
  .foot-aula{
    background:rgba(31,199,182,.1); border:1px solid rgba(31,199,182,.3); border-radius:14px; padding:22px;
  }
  .foot-aula p{font-size:.85rem; color:rgba(255,255,255,.7); margin-bottom:14px;}
  .foot-bottom{display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; padding-top:26px; font-size:.8rem;}
  @media(max-width:900px){ .foot-grid{grid-template-columns:1fr 1fr;} }
  @media(max-width:560px){ .foot-grid{grid-template-columns:1fr;} }

  /* ============ REVEAL ANIM ============ */
  .reveal{opacity:0; transform:translateY(18px); transition:opacity .7s ease, transform .7s ease;}
  .reveal.show{opacity:1; transform:none;}

  @media (prefers-reduced-motion: reduce){
    html{scroll-behavior:auto;}
    .reveal{opacity:1; transform:none; transition:none;}
    .mobile-menu{transition:none;}
  }

  .brand-logo { 
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
}
/* ============ CARRERAS (LISTADO LICENCIATURAS) ============ */
.careers{
    background:var(--paper);
}

.career-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:22px;
}

.career-card{
    background:var(--white);
    border:1px solid var(--line);
    border-radius:var(--radius);
    overflow:hidden;

    display:flex;
    flex-direction:column;

    transition:.25s ease;
}

.career-card:hover{
    transform:translateY(-4px);
    box-shadow:0 22px 40px rgba(10,22,38,.09);
    border-color:transparent;
}

/* IMAGEN */

.career-image{
    width:100%;
    height:170px;
    overflow:hidden;
}

.career-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

/* CONTENIDO */

.career-num{
    margin:18px 22px 8px;
    font-family:var(--mono);
    font-size:.74rem;
    color:var(--teal-dim);
    letter-spacing:.08em;
}

.career-card h3{
    margin:0 22px;
    font-size:1.12rem;
    line-height:1.3;
}

.career-card h3 .mention{
    display:block;
    font-size:.86rem;
    color:var(--ink-soft);
    font-weight:500;
    font-family:var(--body);
    margin-top:4px;
}

.career-card .btn{
    margin:18px 22px 20px;
    margin-top:auto;
    align-self:flex-start;
    padding:11px 20px;
    font-size:.85rem;
}

@media(max-width:900px){
    .career-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:600px){
    .career-grid{
        grid-template-columns:1fr;
    }

    .career-image{
        height:180px;
    }
}

/* ============ TITULO DE PAGINA (LICENCIATURAS) ============ */
.page-title{
  background:radial-gradient(120% 100% at 15% 0%, #163A63 0%, var(--navy) 45%, var(--ink) 100%);
  color:#fff; padding:168px 0 70px;
}
.page-title h1{font-size:clamp(2.2rem,3.6vw,3.2rem); color:#fff; margin:18px 0 16px; max-width:20ch;}
.page-title h1 em{color:var(--teal); font-style:italic; font-weight:500;}
.page-title .lead{color:rgba(255,255,255,.72); max-width:56ch;}

/* ============ DETALLE DE LICENCIATURA ============ */
.course{background:var(--white); scroll-margin-top:96px; border-top:1px solid var(--line);}
.course:nth-of-type(even){background:var(--paper-2);}
.course-top{display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; margin-bottom:56px;}
.course-image{border-radius:20px; overflow:hidden; aspect-ratio:1.2; box-shadow:0 15px 35px rgba(10,22,38,.08);}
.course-image img{width:100%; height:100%; object-fit:cover;}
.course-top h2{font-size:clamp(1.7rem,2.8vw,2.3rem); margin-top:14px;}
.course-top .mention-lg{color:var(--navy-2); font-style:italic; font-size:.7em;}
.course-top p.desc{margin-top:16px; font-size:1.02rem;}
.course-subhead{font-size:1.3rem; margin-top:14px;}
.course-specs{display:grid; grid-template-columns:repeat(2,1fr); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; margin-bottom:44px;}
.spec{background:var(--white); padding:22px 24px;}
.course:nth-of-type(even) .spec{background:var(--paper-2);}
.spec b{display:block; font-family:var(--mono); font-size:.68rem; text-transform:uppercase; letter-spacing:.08em; color:var(--teal-dim); margin-bottom:6px; font-weight:500;}
.spec span{font-size:.94rem; color:var(--ink);}
.course-block{margin-bottom:26px; max-width:70ch;}
.course-block h4{font-size:1rem; margin-bottom:8px; color:var(--navy-2);}
.course-block p{font-size:.95rem;}
.course-actions{display:flex; gap:14px; flex-wrap:wrap; margin-top:22px;}
@media(max-width:900px){ .course-top{grid-template-columns:1fr;} .course-specs{grid-template-columns:1fr;} }

/* ===== DISTRIBUCIÓN COMPLETA DEL ENCABEZADO ===== */
@media (min-width: 1081px) {

  header.site .nav-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 30px;
  }

  header.site .brand {
    justify-self: start;
  }

  header.site nav.main-links {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-evenly;
    gap: 0;
    margin: 0;
  }

  header.site nav.main-links a {
    padding: 10px 8px;
    white-space: nowrap;
  }

  header.site .nav-actions {
    justify-self: end;
    margin: 0;
  }
}
/* ========================================
   FORMULARIO DE CONTACTO
======================================== */

.cform {
    display: block !important;
    width: 100%;
    padding: 24px 28px !important;
    box-sizing: border-box;
}

.cform .form-field {
    width: 100%;
    min-width: 0;
    margin: 0 0 12px !important;
}

/* Correo y teléfono en filas separadas */
.cform .row2 {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    margin: 0 0 12px !important;
}

.cform .row2 .form-field {
    width: 100%;
    min-width: 0;
    margin: 0 !important;
}

.cform label {
    display: block;
    margin: 0 0 6px !important;
}

.cform input,
.cform select,
.cform textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    font-family: inherit;
}

.cform input,
.cform select {
    height: 46px !important;
    min-height: 46px !important;
    margin: 0 !important;
    padding: 10px 14px !important;
}

/* País y número celular */
.phone-control {
    display: grid;
    width: 100%;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
    gap: 10px;
}

.phone-control select,
.phone-control input {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.phone-control select {
    padding-right: 34px !important;
    font-size: 0.84rem !important;
    white-space: nowrap;
    cursor: pointer;
}

.phone-control input {
    font-size: 1rem !important;
}

.selected-country-info {
    overflow-wrap: anywhere;
}

/* Área del mensaje */
.cform textarea {
    height: 78px !important;
    min-height: 78px !important;
    margin: 0 !important;
    padding: 10px 14px !important;
    resize: vertical;
}

/* Botón enviar */
.cform > button[type="submit"] {
    width: 100%;
    min-height: 44px;
    margin: 1px 0 0 !important;
}

/* Mensajes de error */
.cform .field-error {
    display: block;
    margin: 5px 0 0;
    color: #ff3b30;
    font-size: 0.78rem;
    line-height: 1.35;
}

.cform .field-error:empty {
    display: none;
}

/* Texto debajo del teléfono */
.cform .form-help {
    display: block;
    margin-top: 5px;
    color: #667085;
    font-size: 0.76rem;
    line-height: 1.35;
}

/* Campo incorrecto */
.cform input.is-invalid,
.cform select.is-invalid,
.cform textarea.is-invalid {
    border-color: #ff3b30 !important;
    box-shadow: 0 0 0 3px rgba(255, 59, 48, 0.10) !important;
}

/* Campo correcto */
.cform input.is-valid,
.cform select.is-valid,
.cform textarea.is-valid {
    border-color: #12a594 !important;
}

/* Contador del mensaje */
.message-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}

.message-label-row label {
    margin-bottom: 0 !important;
}

.character-counter {
    color: #667085;
    font-size: 0.76rem;
}

/* ========================================
   VENTANA DE AGRADECIMIENTO
======================================== */

.success-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(5, 24, 46, 0.72);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.success-modal[hidden] {
    display: none;
}

.success-dialog {
    position: relative;
    width: min(92vw, 470px);
    padding: 34px 34px 28px;
    box-sizing: border-box;
    color: #123b5d;
    text-align: center;
    background: #ffffff;
    border: 1px solid rgba(31, 199, 182, 0.45);
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.30);
    animation: successIn 0.30s ease-out;
}

.success-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 34px;
    height: 34px;
    padding: 0;
    color: #667085;
    background: transparent;
    border: 0;
    border-radius: 50%;
    font-size: 1.65rem;
    line-height: 1;
    cursor: pointer;
}

.success-close:hover,
.success-close:focus-visible {
    color: #123b5d;
    background: #edf7f6;
    outline: none;
}

.form-success-icon {
    display: grid;
    width: 54px;
    height: 54px;
    margin: 0 auto 16px;
    place-items: center;
    color: #ffffff;
    background: #12a594;
    border-radius: 50%;
    font-size: 1.7rem;
    font-weight: 800;
}

.success-dialog strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.25rem;
}

.success-dialog p {
    margin: 0 auto 22px;
    color: #475467;
    font-size: 0.95rem;
    line-height: 1.6;
}

.success-button {
    min-width: 130px;
    padding: 11px 24px;
    color: #ffffff;
    background: #12a594;
    border: 0;
    border-radius: 9px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.success-button:hover {
    background: #0f8d7e;
}

body.modal-open {
    overflow: hidden;
}

/* ============ CUERPO DOCENTE ============ */
/* Estos estilos no modifican las tarjetas directivas */

/* Separador discreto antes de Oferta académica */
#equipo {
  position: relative;
  border-bottom: 1px solid #e5eaf0;
  box-shadow: none;
}

#equipo::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 3px;
  background: #123B5D;
  border-radius: 3px;
}

/* Separador sutil antes de Oferta académica */

.faculty-section {
  margin-top: 75px;
  padding-top: 55px;
  border-top: 1px solid #dce6ef;
}

.faculty-section .team-head {
  margin-bottom: 32px;
}

.faculty-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.faculty-card {
  display: flex;
  align-items: center;
  min-height: 82px;
  padding: 22px 24px;
  background: #ffffff;
  border: 1px solid #dce6ef;
  border-radius: 14px;
  box-shadow: 0 5px 18px rgba(18, 59, 93, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.faculty-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(18, 59, 93, 0.12);
}

.faculty-card h3 {
  margin: 0;
  color: #123B5D;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

@media (max-width: 600px) {
  .faculty-grid {
    grid-template-columns: 1fr;
  }

  .faculty-card {
    padding: 19px 20px;
  }
}
@keyframes successIn {
    from {
        opacity: 0;
        transform: translateY(-12px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Pantallas medianas */
@media (max-width: 700px) {
    .cform {
        padding: 20px 18px !important;
    }

    .phone-control {
        grid-template-columns: minmax(0, 1.2fr) minmax(150px, 0.8fr);
    }

    .success-dialog {
        padding: 32px 22px 24px;
    }
}

/* Celulares pequeños */
@media (max-width: 520px) {
    .phone-control {
        grid-template-columns: 1fr;
    }
}