/* =========================
   Tokens / base
========================= */
:root{
  color-scheme: light;

  /* Paleta corporativa */
  --zomp: #5A9E8D;
  --saffron: #ECC138;
  --jet: #3D3C3B;

  /* Neutrales */
  --foreground: var(--jet);
  --muted-foreground: rgba(61,60,59,0.72);

  /* Layout */
  --container: 1100px;
}

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1rem;
}

/* Accesibilidad */
@media (prefers-reduced-motion: reduce){
  *{
    scroll-behavior:auto !important;
    transition:none !important;
    animation:none !important;
  }
}

/* =========================
   Gradientes
========================= */

.gradient-primary{
  background: radial-gradient(120% 120% at 0% 0%,
    rgba(236,193,56,1) 0%,
    rgba(90,158,141,1) 60%,
    rgba(90,158,141,0.85) 100%
  );
}

.gradient-masters{
  background: radial-gradient(120% 120% at 0% 0%,
    rgba(236,193,56,0.22) 0%,
    rgba(90,158,141,0.85) 55%,
    rgba(90,158,141,0.92) 100%
  );
}

.gradient-phd{
  background: radial-gradient(120% 120% at 100% 0%,
    rgba(236,193,56,0.16) 0%,
    rgba(61,60,59,0.78) 55%,
    rgba(61,60,59,0.86) 100%
  );
}

#navbar{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: all 0.3s ease;
}
#navbar::before{
  display: none;
}

#navbar.iscrolled{
  background: rgba(250,247,240,.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(61,60,59,.16);
  box-shadow: 0 12px 30px rgba(0,0,0,0.10);
}

#navbar nav > a,
#navbar nav > div > button{
  color: rgba(255,255,255,0.95);
  transition: color .3s ease;
}

.nav-dropdown a{
  color: rgba(61,60,59,0.92) !important;
}

#navbar.iscrolled nav a,
#navbar.iscrolled nav button{
  color: rgba(61,60,59,0.92);
}

/* =========================
   Logo
========================= */

.udh-logo{
  height: 40px;
  width: auto;
  object-fit: contain;
  display: block;
}

#navbar.isScrolled .udh-logo{
  height: 38px;
}

@media (max-width: 768px){
  .udh-logo{
    height: 34px;
  }
}

/* =========================
   NAV LINKS
========================= */

.nav-link{
  font-weight: 800;
  letter-spacing: .02em;
  transition: color .2s ease;
  text-decoration: none;
}

.nav-link:hover{
  color: var(--saffron);
}

/* =========================
   Tabs
========================= */

.tabBtn{
  padding: .6rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.92);
  font-weight: 900;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.tabBtn:hover{
  background: rgba(255,255,255,0.10);
}

.tabBtn[aria-selected="true"]{
  background: rgba(236,193,56,0.92);
  border-color: rgba(236,193,56,1);
  color: rgba(61,60,59,0.95);
}

/* =========================
   HERO 
========================= */
.hero-section{
  position: relative;
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 140px 0 84px; 
  color: rgba(255,255,255,0.92);
}

.hero-bg{
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  filter: saturate(1.05) contrast(1.03);
}

.hero-overlay{
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.45), rgba(0,0,0,0.82)),
    radial-gradient(120% 120% at 0% 0%, rgba(90,158,141,0.28) 0%, rgba(90,158,141,0.00) 60%),
    radial-gradient(110% 110% at 85% 15%, rgba(236,193,56,0.18) 0%, rgba(236,193,56,0.00) 55%);
}

.hero-inner{
  position: relative;
  z-index: 1;
}

.hero-max{
  max-width: 56rem;
}

.hero-title{
  margin: 0;
  margin-top: 18px;
  font-size: clamp(38px, 4.4vw, 64px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: #fff;
  text-shadow: 0 10px 40px rgba(0,0,0,0.35);
}

.hero-title-soft{
  color: rgba(255,255,255,0.90);
}

.hero-subtitle{
  margin-top: 14px;
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.65;
  color: rgba(255,255,255,0.80);
  text-shadow: 0 8px 28px rgba(0,0,0,0.28);
  max-width: 60ch;
  font-weight: 600;
}

.hero-actions{
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.hero-btn-primary{
  background: var(--saffron);
  color: var(--jet);
  box-shadow: 0 18px 35px rgba(236,193,56,0.22);
}
.hero-btn-primary:hover{
  transform: translateY(-1px);
  box-shadow: 0 22px 45px rgba(236,193,56,0.30);
}

.hero-btn-ghost{
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.92);
}
.hero-btn-ghost:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,0.12);
}

.hero-stats{
  margin-top: 26px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero-stat{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  padding: 14px;
  backdrop-filter: blur(10px);
}

.hero-stat-label{
  margin: 0;
  color: rgba(255,255,255,0.72);
  font-weight: 900;
}

.hero-stat-value{
  margin: 6px 0 0 0;
  color: rgba(255,255,255,0.95);
  font-weight: 900;
  font-size: 18px;
}

.hero-text-wrap{
  max-width: 760px;
}

.hero-text-more{
  display: none;
}

.hero-text-wrap.is-expanded .hero-text-more{
  display: inline;
}

.hero-readmore{
  margin-top: 10px;
  background: transparent;
  border: none;
  padding: 0;
  font: inherit;
  font-weight: 700;
  color: #ecc138;
  cursor: pointer;
  transition: opacity .25s ease;
}

.hero-readmore:hover{
  opacity: .85;
}



.hero-parallax-bg {
  will-change: transform;
}

.hero-btn,
.hero-stat,
.why-card {
  will-change: transform, opacity;
}

.hero-btn {
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.hero-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
}

/* responsive */
@media (max-width: 900px){
  .hero-section{ padding: 120px 0 72px; }
  .hero-stats{ grid-template-columns: 1fr; }
}

/* =========================================
   MAESTRÍAS 
========================================= */

#maestrias.masters-section{
  position: relative;
  overflow: hidden;
  padding: 96px 0;
  min-height: 92vh;
  display: flex;
  align-items: center;
}

#maestrias .masters-overlay{
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.42), rgba(0,0,0,0.80)),
    radial-gradient(120% 120% at 0% 0%, rgba(90,158,141,0.34) 0%, rgba(90,158,141,0.00) 62%),
    radial-gradient(110% 110% at 85% 15%, rgba(236,193,56,0.18) 0%, rgba(236,193,56,0.00) 58%);
}

#maestrias .masters-grid{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

#maestrias .masters-copy{
  color: rgba(255,255,255,0.92);
}

#maestrias .masters-chip{
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 12px;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
}

#maestrias .masters-title{
  margin-top: 14px;
  margin-bottom: 10px;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-shadow: 0 6px 30px rgba(0,0,0,0.35);
}

#maestrias .masters-subtitle{
  margin-top: 10px;
  margin-bottom: 26px;
  max-width: 520px;
  font-size: 16px;
  line-height: 1.65;
  opacity: .92;
}
#maestrias .masters-mentions{
  margin-top: 22px;
}

#maestrias .mentions-row{
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  gap: 12px;
  align-items: center;
  overflow: visible;
}

#maestrias .mentions-track,
#maestrias #mentionsTrack{
  display: flex;
  align-items: center;
  gap: 14px;
  overflow-x: auto;
  overflow-y: visible;
  padding: 10px 2px 12px;
  min-height: 76px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
#maestrias .mentions-track::-webkit-scrollbar,
#maestrias #mentionsTrack::-webkit-scrollbar{
  display: none;
}

#maestrias .mention-arrow{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  font-size: 22px;
  font-weight: 900;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .15s ease, background .15s ease;
}
#maestrias .mention-arrow:hover{
  background: rgba(255,255,255,0.14);
  transform: translateY(-1px);
}

#maestrias .mention-card{
  flex: 0 0 240px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 18px;

  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.92);

  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;

  cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
  scroll-snap-align: start;
}
#maestrias .mention-card:hover{
  background: rgba(255,255,255,0.12);
  border-color: rgba(236,193,56,0.35);
  transform: translateY(-1px);
}
#maestrias .mention-card.active{
  background: rgba(236,193,56,0.18);
  border-color: rgba(236,193,56,0.55);
  box-shadow: 0 16px 35px rgba(0,0,0,0.18);
}

#maestrias .masters-panel{
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.09); /* ✅ era 0.9 */
  backdrop-filter: blur(12px);
  box-shadow: 0 26px 60px rgba(0,0,0,0.28);
  padding: 26px;
  color: rgba(255,255,255,0.92);
}

#maestrias .masters-panel-title{
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 14px;
}

#maestrias .masters-accent-bar{
  width: 6px;
  height: 28px;
  border-radius: 999px;
  background: var(--saffron);
  box-shadow: 0 0 20px rgba(236,193,56,0.35);
}

#maestrias .masters-list{
  display: grid;
  gap: 10px;
}

#maestrias .masters-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.12);
  transition: background .15s ease;
}
#maestrias .masters-row:hover{
  background: rgba(255,255,255,0.10);
}

#maestrias .masters-row span:first-child{
  opacity: .92;
  font-weight: 700;
}

#maestrias .masters-price{
  color: var(--saffron);
  font-weight: 900;
}

#maestrias .masters-cta{
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

#maestrias .masters-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 16px;
  border-radius: 16px;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: .02em;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  width: 100%;
  box-sizing: border-box;
}

#maestrias .masters-btn-primary{
  background: var(--saffron);
  color: #1f1f1f;
  box-shadow: 0 18px 35px rgba(236,193,56,0.18);
}
#maestrias .masters-btn-primary:hover{
  transform: translateY(-1px);
  box-shadow: 0 22px 45px rgba(236,193,56,0.26);
}

#maestrias .masters-btn-ghost{
  border: 1px solid rgba(255,255,255,0.20);
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.92);
}
#maestrias .masters-btn-ghost:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,0.12);
}


/* Responsive */
@media (max-width: 1024px){
  #maestrias.masters-section{
    min-height: auto;
    padding: 76px 0;
  }
  #maestrias .masters-grid{
    grid-template-columns: 1fr;
    gap: 26px;
  }
  #maestrias .masters-panel{
    padding: 22px;
  }
  #maestrias .mention-card{
    flex-basis: 220px;
  }
}

@media (max-width: 520px){
  #maestrias .mentions-row{
    grid-template-columns: 40px 1fr 40px;
  }
  #maestrias .mention-arrow{
    width: 40px;
    height: 40px;
  }
  #maestrias .mention-card{
    flex-basis: 190px;
    height: 54px;
    font-size: 11px;
  }
}

.scrollbar-hide::-webkit-scrollbar { display: none; }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }
/* =========================================
   DOCTORADOS 
========================================= */

#doctorados{
  position: relative;
  overflow: hidden;
  padding: 96px 0;
  min-height: 92vh;
  display: flex;
  align-items: center;
}

#doctorados .doc-overlay{
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.42), rgba(0,0,0,0.82)),
    radial-gradient(120% 120% at 0% 0%, rgba(90,158,141,0.34) 0%, rgba(90,158,141,0.00) 62%),
    radial-gradient(110% 110% at 85% 15%, rgba(236,193,56,0.14) 0%, rgba(236,193,56,0.00) 58%);
}

#doctorados .doc-grid{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

#doctorados .doc-copy{ color: rgba(255,255,255,0.92); }

#doctorados .doc-chip{
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 12px;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
}

#doctorados .doc-title{
  margin-top: 14px;
  margin-bottom: 10px;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-shadow: 0 6px 30px rgba(0,0,0,0.35);
}

#doctorados .doc-subtitle{
  margin-top: 10px;
  margin-bottom: 26px;
  max-width: 520px;
  font-size: 16px;
  line-height: 1.65;
  opacity: .92;
}

#doctorados .doc-mentions{ margin-top: 22px; }

#doctorados .doc-small-label{
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .10em;
  text-transform: uppercase;
  opacity: .85;
  margin-bottom: 12px;
}
#doctorados .doc-row{
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  gap: 12px;
  align-items: center;
  overflow: visible;
}

#doctorados .doc-track{
  display: flex;
  align-items: center;
  gap: 14px;
  overflow-x: auto;
  overflow-y: visible;
  padding: 10px 2px 12px;
  min-height: 76px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
#doctorados .doc-track::-webkit-scrollbar{ display:none; }

#doctorados .doc-arrow{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  font-size: 22px;
  font-weight: 900;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .15s ease, background .15s ease;
}
#doctorados .doc-arrow:hover{
  background: rgba(255,255,255,0.14);
  transform: translateY(-1px);
}

#doctorados .doc-pill{
  flex: 0 0 240px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 16px;

  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.92);

  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;

  cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
  scroll-snap-align: start;
}
#doctorados .doc-pill:hover{
  background: rgba(255,255,255,0.12);
  border-color: rgba(90,158,141,0.35);
  transform: translateY(-1px);
}
#doctorados .doc-pill.active{
  background: rgba(90,158,141,0.22);
  border-color: rgba(90,158,141,0.55);
  box-shadow: 0 16px 35px rgba(0,0,0,0.18);
}

#doctorados .doc-panel{
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.09);
  backdrop-filter: blur(12px);
  box-shadow: 0 26px 60px rgba(0,0,0,0.28);
  padding: 26px;
  color: rgba(255,255,255,0.92);
}

#doctorados .doc-panel-title{
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 14px;
}

#doctorados .doc-accent-bar{
  width: 6px;
  height: 28px;
  border-radius: 999px;
  background: var(--zomp);
  box-shadow: 0 0 20px rgba(90,158,141,0.30);
}

#doctorados .doc-card{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.14);
  padding: 16px;
}

#doctorados .doc-tag{
  display:inline-block;
  font-size: 12px;
  font-weight: 900;
  color: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  padding: 6px 10px;
}

#doctorados .doc-card-title{
  margin-top: 10px;
  font-weight: 900;
  font-size: 16px;
  color: #fff;
}

#doctorados .doc-card-desc{
  margin-top: 6px;
  color: rgba(255,255,255,0.78);
  font-size: 14px;
  line-height: 1.45;
}

#doctorados .doc-list{
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

#doctorados .doc-rowitem{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.12);
  transition: background .15s ease;
}
#doctorados .doc-rowitem:hover{
  background: rgba(255,255,255,0.10);
}
#doctorados .doc-rowitem span:first-child{
  opacity: .92;
  font-weight: 700;
}
#doctorados .doc-price{
  color: var(--zomp);
  font-weight: 900;
}

#doctorados .doc-cta{
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

#doctorados .doc-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 16px;
  border-radius: 16px;
  font-weight: 900;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  width: 100%;
  box-sizing: border-box;
}

#doctorados .doc-btn-primary{
  background: var(--zomp);
  color: #ffffff;
  box-shadow: 0 18px 35px rgba(90,158,141,0.22);
}
#doctorados .doc-btn-primary:hover{
  transform: translateY(-1px);
  box-shadow: 0 22px 45px rgba(90,158,141,0.30);
}

#doctorados .doc-btn-ghost{
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
}
#doctorados .doc-btn-ghost:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,0.12);
}

/* Responsive */
@media (max-width: 1024px){
  #doctorados{
    min-height: auto;
    padding: 76px 0;
  }
  #doctorados .doc-grid{
    grid-template-columns: 1fr;
    gap: 26px;
  }
  #doctorados .doc-panel{
    padding: 22px;
  }
  #doctorados .doc-pill{
    flex-basis: 220px;
  }
}

@media (max-width: 520px){
  #doctorados .doc-row{
    grid-template-columns: 40px 1fr 40px;
  }
  #doctorados .doc-arrow{
    width: 40px;
    height: 40px;
  }
  #doctorados .doc-pill{
    flex-basis: 200px;
    height: 54px;
    font-size: 11px;
  }
}
/* =========================================
   SEGUNDA ESPECIALIDAD 
========================================= */

#segunda-especialidad.se2-section{
  position: relative;
  overflow: hidden;
  padding: 96px 0;
  min-height: 92vh;
  display: flex;
  align-items: center;
}

#segunda-especialidad .se2-overlay{
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.50), rgba(0,0,0,0.86)),
    radial-gradient(120% 120% at 0% 0%,
      rgba(236,193,56,0.12) 0%,
      rgba(236,193,56,0.00) 48%),
    radial-gradient(140% 140% at 40% 60%,
      rgba(61,60,59,0.65) 0%,
      rgba(61,60,59,0.92) 70%);
}

#segunda-especialidad .se2-grid{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

#segunda-especialidad .se2-copy{ color: rgba(255,255,255,0.92); }

#segunda-especialidad .se2-chip{
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 12px;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
}

#segunda-especialidad .se2-title{
  margin-top: 14px;
  margin-bottom: 10px;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-shadow: 0 6px 30px rgba(0,0,0,0.35);
}

#segunda-especialidad .se2-subtitle{
  margin-top: 10px;
  margin-bottom: 26px;
  max-width: 520px;
  font-size: 16px;
  line-height: 1.65;
  opacity: .92;
}

#segunda-especialidad .se2-mentions{ margin-top: 22px; }

#segunda-especialidad .se2-small-label{
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .10em;
  text-transform: uppercase;
  opacity: .85;
  margin-bottom: 12px;
}
#segunda-especialidad .se2-row{
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  gap: 12px;
  align-items: center;
  overflow: visible;
}

#segunda-especialidad .se2-track{
  display: flex;
  align-items: center;
  gap: 14px;
  overflow-x: auto;
  overflow-y: visible;
  padding: 10px 2px 12px;
  min-height: 76px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
#segunda-especialidad .se2-track::-webkit-scrollbar{ display:none; }

#segunda-especialidad .se2-arrow{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  font-size: 22px;
  font-weight: 900;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .15s ease, background .15s ease;
}
#segunda-especialidad .se2-arrow:hover{
  background: rgba(255,255,255,0.14);
  transform: translateY(-1px);
}

#segunda-especialidad .se2-pill{
  flex: 0 0 300px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 16px;

  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.92);

  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;

  cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
  scroll-snap-align: start;
}
#segunda-especialidad .se2-pill:hover{
  background: rgba(255,255,255,0.12);
  border-color: rgba(236,193,56,0.35);
  transform: translateY(-1px);
}
#segunda-especialidad .se2-pill.active{
  background: rgba(61,60,59,0.72);
  border-color: rgba(236,193,56,0.45);
  box-shadow: 0 16px 35px rgba(0,0,0,0.18);
}

#segunda-especialidad .se2-panel{
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.09);
  backdrop-filter: blur(12px);
  box-shadow: 0 26px 60px rgba(0,0,0,0.28);
  padding: 26px;
  color: rgba(255,255,255,0.92);
}

#segunda-especialidad .se2-panel-title{
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 14px;
}

#segunda-especialidad .se2-accent-bar{
  width: 6px;
  height: 28px;
  border-radius: 999px;
  background: linear-gradient(to bottom, rgba(236,193,56,0.90), rgba(61,60,59,0.95));
  box-shadow: 0 0 20px rgba(236,193,56,0.20);
}

#segunda-especialidad .se2-list{
  display: grid;
  gap: 10px;
}

#segunda-especialidad .se2-rowitem{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.12);
  transition: background .15s ease;
}
#segunda-especialidad .se2-rowitem:hover{
  background: rgba(255,255,255,0.10);
}
#segunda-especialidad .se2-rowitem span:first-child{
  opacity: .92;
  font-weight: 700;
}

#segunda-especialidad .se2-price{
  color: rgba(255,255,255,0.88);
  font-weight: 900;
}

#segunda-especialidad .se2-cta{
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

#segunda-especialidad .se2-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 16px;
  border-radius: 16px;
  font-weight: 900;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  width: 100%;
  box-sizing: border-box;
}

#segunda-especialidad .se2-btn-primary{
  background: rgba(61,60,59,0.95);
  color: #ffffff;
  border: 1px solid rgba(236,193,56,0.35);
  box-shadow: 0 18px 35px rgba(0,0,0,0.22);
}
#segunda-especialidad .se2-btn-primary:hover{
  transform: translateY(-1px);
  box-shadow: 0 22px 45px rgba(0,0,0,0.30);
}

#segunda-especialidad .se2-btn-ghost{
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
}
#segunda-especialidad .se2-btn-ghost:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,0.12);
}

@media (max-width: 1024px){
  #segunda-especialidad.se2-section{
    min-height: auto;
    padding: 76px 0;
  }
  #segunda-especialidad .se2-grid{
    grid-template-columns: 1fr;
    gap: 26px;
  }
  #segunda-especialidad .se2-panel{ padding: 22px; }
  #segunda-especialidad .se2-pill{ flex-basis: 260px; }
}

@media (max-width: 520px){
  #segunda-especialidad .se2-row{
    grid-template-columns: 40px 1fr 40px;
  }
  #segunda-especialidad .se2-arrow{
    width: 40px;
    height: 40px;
  }
  #segunda-especialidad .se2-pill{
    flex-basis: 230px;
    height: 54px;
    font-size: 11px;
  }
}

/* =========================
  DIPLOMADOS
========================= */

#diplomados.dip-section--dark{
  position: relative;
  padding: 88px 0;
  min-height: 92vh;
  display: flex;
  align-items: center;
}

#diplomados .container{
  position: relative;
  z-index: 2;
}

#diplomados .dip-bg{
  position: absolute;
  inset: 0;
  z-index: 0;
}

#diplomados .dip-bg img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#diplomados .dip-bgOverlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(30, 32, 34, 0.82) 0%,
    rgba(30, 32, 34, 0.72) 35%,
    rgba(30, 32, 34, 0.58) 60%,
    rgba(30, 32, 34, 0.66) 100%
  );
}

#diplomados .dip-grid{
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 42px;
  align-items: center;
}

#diplomados .dip-copy{
  max-width: 430px;
  color: #fff;
}

#diplomados .dip-kicker{
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(111, 193, 178, 0.20);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#diplomados .dip-title{
  margin: 14px 0 10px;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #ffffff;
}

#diplomados .dip-subtitle{
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,0.86);
  max-width: 36ch;
}

#diplomados .dip-card.dip-card--dark{
  width: 100%;
  max-width: 560px;
  margin-left: auto;
  border-radius: 24px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 18px 40px rgba(0,0,0,0.20);
  backdrop-filter: blur(10px);
}

#diplomados .dip-media{
  position: relative;
  height: 180px;
  min-height: 180px;
  overflow: hidden;
}

#diplomados .dip-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#diplomados .dip-mediaOverlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.38), rgba(0,0,0,0.06));
}

#diplomados .dip-mediaChips{
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

#diplomados .dip-chip{
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  background: #e6b93d;
  color: #2c2413;
}

#diplomados .dip-chip-ghost{
  background: rgba(255,255,255,0.16);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.14);
}

#diplomados .dip-content{
  padding: 30px;
  color: #fff;
}

#diplomados .dip-badgeRow{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.76);
}

#diplomados .dip-program{
  margin: 10px 0 0;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.2;
  font-weight: 800;
  color: #fff;
}

#diplomados .dip-desc{
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255,255,255,0.82);
}

#diplomados .dip-infoGrid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

#diplomados .dip-infoItem{
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.09);
}

#diplomados .dip-infoLabel{
  margin: 0;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.66);
}

#diplomados .dip-infoValue{
  margin: 5px 0 0;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

#diplomados .dip-actions{
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#diplomados .dip-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

#diplomados .dip-btnPrimary{
  background: #e6b93d;
  color: #2c2413;
}

#diplomados .dip-btnGhost{
  background: rgba(255,255,255,0.06);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.16);
}

@media (max-width: 1024px){
  #diplomados.dip-section--dark{
    padding: 64px 0;
  }

  #diplomados .dip-grid{
    grid-template-columns: 1fr;
    gap: 22px;
  }

  #diplomados .dip-copy{
    max-width: 100%;
  }

  #diplomados .dip-card.dip-card--dark{
    max-width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 768px){
  #diplomados .dip-media{
    height: 210px;
    min-height: 210px;
  }

  #diplomados .dip-infoGrid{
    grid-template-columns: 1fr;
  }
}

/* =========================
   ¿Por qué escogernos?
========================= */

.why-section{
  position: relative;
  padding: 96px 0;
  overflow: hidden;
  background: linear-gradient(180deg, #f7f3ea 0%, #f3eee3 100%);
}

.why-bg{
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.why-overlay{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(90,158,141,0.10), transparent 28%),
    radial-gradient(circle at 85% 25%, rgba(230,185,61,0.10), transparent 24%),
    radial-gradient(circle at 50% 90%, rgba(61,60,59,0.05), transparent 26%);
}

.why-header{
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.why-chip{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(90,158,141,0.14);
  border: 1px solid rgba(90,158,141,0.22);
  color: #356f64;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.why-title{
  margin: 16px 0 12px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #3d3c3b;
}

.why-subtitle{
  margin: 0 auto;
  max-width: 62ch;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(61,60,59,0.78);
}

.why-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.why-card{
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 18px;
  border-radius: 22px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(61,60,59,0.10);
  box-shadow: 0 14px 32px rgba(0,0,0,0.06);
  backdrop-filter: blur(10px);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.why-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(0,0,0,0.09);
  border-color: rgba(90,158,141,0.22);
}

.why-icon{
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(230,185,61,0.18), rgba(90,158,141,0.18));
  color: #356f64;
  border: 1px solid rgba(90,158,141,0.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35);
}

.why-icon svg{
  width: 24px;
  height: 24px;
  stroke-width: 2.1;
}

.why-content h3{
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 800;
  color: #3d3c3b;
}

.why-content p{
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(61,60,59,0.78);
}

@media (max-width: 1100px){
  .why-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px){
  .why-section{
    padding: 72px 0;
  }

  .why-header{
    margin-bottom: 28px;
  }

  .why-grid{
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .why-card{
    padding: 18px 16px;
    border-radius: 18px;
  }

  .why-icon{
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .why-content h3{
    font-size: 17px;
  }

  .why-content p{
    font-size: 13.5px;
  }
}

/* =========================
   Footer
========================= */

.site-footer{
  position: relative;
  background:
    radial-gradient(900px 380px at 10% 0%, rgba(90,158,141,0.12) 0%, rgba(90,158,141,0.00) 60%),
    radial-gradient(700px 300px at 90% 20%, rgba(236,193,56,0.08) 0%, rgba(236,193,56,0.00) 60%),
    #f6faf8;
  color: var(--jet);
  padding: 74px 0 30px;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.site-footer::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:4px;
  background: linear-gradient(to right, var(--zomp), var(--saffron));
  opacity:.9;
}

.site-footer .footer-grid{
  display:grid;
  grid-template-columns: 1.35fr 1fr 1.1fr;
  gap:40px;
  align-items:start;
}

.site-footer h3,
.site-footer h4{
  font-weight:900;
  margin:0 0 14px;
  color:var(--jet);
}

.site-footer h3{
  font-size:18px;
}

.site-footer .footer-kicker{
  margin:0 0 10px;
  font-weight:900;
  color:rgba(61,60,59,0.72);
  letter-spacing:.06em;
  text-transform:uppercase;
  font-size:12px;
}

.site-footer .footer-desc{
  margin:0;
  color:rgba(61,60,59,0.75);
  line-height:1.65;
  max-width:42ch;
}

.site-footer .footer-list,
.site-footer .footer-contactList{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:12px;
}

.site-footer a{
  color:rgba(61,60,59,0.82);
  text-decoration:none;
  font-weight:700;
  transition:color .2s ease;
}

.site-footer a:hover{
  color:var(--zomp);
}

.site-footer .footer-social{
  margin-top:18px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.site-footer .footer-icon{
  width:44px;
  height:44px;
  border-radius:14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(0,0,0,0.10);
  background:rgba(255,255,255,0.85);
  box-shadow:0 10px 22px rgba(0,0,0,0.06);
  color:rgba(61,60,59,0.85);
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}

.site-footer .footer-icon:hover{
  transform:translateY(-1px);
  background:#fff;
  box-shadow:0 14px 28px rgba(0,0,0,0.10);
  color:var(--zomp);
}

.site-footer .footer-icon svg{
  width:20px;
  height:20px;
  stroke-width:2.1;
}

.site-footer .footer-contactList li{
  display:flex;
  align-items:flex-start;
  gap:10px;
}

.site-footer .footer-bullet{
  width:30px;
  height:30px;
  border-radius:10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:rgba(90,158,141,0.10);
  color:var(--zomp);
  flex:0 0 auto;
  margin-top:1px;
}

.site-footer .footer-bullet svg{
  width:16px;
  height:16px;
  stroke-width:2.2;
}

.site-footer .footer-divider{
  margin:40px 0 18px;
  height:1px;
  background:rgba(0,0,0,0.08);
}

.site-footer .footer-bottom{
  display:flex;
  justify-content:center;
  align-items:center;
  text-align:center;
  font-size:14px;
  color:rgba(61,60,59,0.65);
}

@media (max-width: 900px){
  .site-footer{
    padding:64px 0 28px;
  }

  .site-footer .footer-grid{
    grid-template-columns:1fr;
    gap:28px;
  }

  .site-footer .footer-desc{
    max-width:100%;
  }

  .site-footer .footer-social{
    margin-top:14px;
  }

  .site-footer .footer-contactList li{
    align-items:flex-start;
  }
}

@media (max-width: 640px){
  .site-footer .footer-icon{
    width:42px;
    height:42px;
  }

  .site-footer .footer-bullet{
    width:28px;
    height:28px;
  }

  .site-footer .footer-bottom{
    font-size:13px;
  }
}

/*Anuncios*/

@keyframes modalEntrada {
  0% {
    opacity: 0;
    transform: scale(0.85) translateY(30px);
  }
  60% {
    opacity: 1;
    transform: scale(1.03) translateY(-6px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes flotarSuave {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-6px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* =========================
   VIDEOS
========================= */

.modal-anuncio {
  animation: modalEntrada 0.6s ease forwards;
}

#welcome-image {
  animation: flotarSuave 2.5s ease-in-out infinite;
}


.masters-video-wrap {
  margin-top: 18px;
}

.masters-video-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: all .25s ease;
}

.masters-video-btn:hover {
  transform: translateY(-2px);
  background: #ff0000;
  border-color: #ff0000;
  box-shadow: 0 12px 24px rgba(255, 0, 0, 0.25);
}

.masters-video-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}










.se2-video-wrap {
  margin-top: 18px;
  margin-bottom: 18px;
}

.se2-video-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: all .25s ease;
}

.se2-video-btn:hover {
  transform: translateY(-2px);
  background: #ff0000;
  border-color: #ff0000;
  box-shadow: 0 12px 24px rgba(255, 0, 0, 0.25);
}

.se2-video-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}