@font-face {
  font-family: "Helvetica Neue thin";
  src: url(assets/fonts/HelveticaNeue-thin.ttf) format("truetype");
}
@font-face {
  font-family: "Helvetica Neue light";
  src: url(assets/fonts/HelveticaNeue-light.ttf) format("truetype");
}
@font-face {
  font-family: "Helvetica Neue normal";
  src: url(assets/fonts/HelveticaNeue-normal.ttf) format("truetype");
}
@font-face {
  font-family: "Helvetica Neue medium";
  src: url(assets/fonts/HelveticaNeue-medium.ttf) format("truetype");
}
@font-face {
  font-family: "Helvetica Neue bold";
  src: url(assets/fonts/HelveticaNeue-bold.ttf) format("truetype");
}
body {
  overflow-x: clip !important;
}
:root {
  /* brand colour */
  --primary-blue: #00d9d7;
}
html {
  overflow-x: clip !important;
}
.module-list {
  overflow-x: visible !important;
}
@media (min-width: 1400px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1120px;
  }
}
p {
  margin-bottom: 0px;
}
body {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
/* header ----------------------- */
.top-bar {
  background: #101012;
  padding: 12px 0;
  text-align: center;
}

.top-bar .logo {
  height: 34px;
}

/* hero ------------------------- */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;

  display: flex;
  justify-content: center; /* centra horizontalmente */
  align-items: center; /* centra verticalmente */
  padding: 0 1rem;
  text-align: left;
}

.container-max {
  width: 35%;
}

/* typography ------------------- */
.programa {
  color: #fff;
  font-family: "Helvetica Neue thin";
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 300;
}

.programa-span {
  font-family: "Helvetica Neue normal";
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 400;
}
.programa-span-2 {
  font-family: "Fraunces";
  font-size: clamp(26px, 3.5vw, 38px);
  font-style: italic;
  font-weight: 400;
}

h1.display-title {
  color: #00d9d7;
  font-family: "Helvetica Neue bold";
  font-size: clamp(36px, 5vw, 57px);
  font-style: normal;
  font-weight: 700;
  line-height: 57px;
}

h1 .highlight {
  color: #fff;
}
.titulos {
  color: #1d1d1b;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(36px, 5vw, 45px);
  font-style: normal;
  font-weight: 700;
  line-height: 45px;
}
.titulos-italic {
  color: #1d1d1b;
  font-family: "Fraunces";
  font-size: clamp(32px, 4.5vw, 50px);
  font-style: italic;
  font-weight: 400;
  line-height: 45px;
}
.parrafos {
  color: #1d1d1b;
  font-family: "Helvetica Neue thin";
  font-size: clamp(16px, 1.2vw, 18px);
  font-style: normal;
  font-weight: 300;
  line-height: 23px;
}
.parrafos-negritas {
  color: #1d1d1b;
  font-family: "Helvetica Neue normal";
  font-size: clamp(16px, 1.2vw, 18px);
  font-style: normal;
  font-weight: 300;
  line-height: 23px;
}
.parrafos-negritas-bold {
  color: #1d1d1b;
  font-family: "Helvetica Neue bold";
  font-size: clamp(16px, 1.2vw, 18px);
  font-style: normal;
  font-weight: 700;
  line-height: 23px;
}
.parrafos-italic {
  color: #1d1d1b;
  font-family: "Fraunces";
  font-size: 20px;
  font-style: italic;
  font-weight: 400;
  line-height: 30px;
}
.parrafos-mini {
  color: #1d1d1b;
  font-family: "Helvetica Neue thin";
  font-size: clamp(12px, 0.9vw, 14px);
  font-style: normal;
  font-weight: 300;
  line-height: 18px;
}
.parrafos-mini-bold {
  color: #1d1d1b;
  font-family: "Helvetica Neue bold";
  font-size: clamp(12px, 0.9vw, 14px);
  font-style: normal;
  font-weight: 700;
  line-height: 18px;
}
.titulo-persona {
  color: var(--Principal-800, #1d1d1b);
  text-align: center;
  font-family: "Fraunces";
  font-size: clamp(14px, 1vw, 16px);
  font-style: italic;
  font-weight: 400;
  line-height: 18px;
}
.par-persona {
  color: #1d1d1b;
  text-align: center;
  font-family: "Helvetica Neue normal";
  font-size: clamp(12px, 0.9vw, 14px);
  font-style: normal;
  font-weight: 300;
  line-height: normal;
}
.par-empresa {
  color: #1d1d1b;
  text-align: center;
  font-family: "Helvetica Neue bold";
  font-size: clamp(12px, 0.9vw, 14px);
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
.mt-5rem {
  margin-top: 5rem !important;
}
.w-25 {
  width: 25%;
}
.w-80 {
  width: 80%;
}
.w-60 {
  width: 60%;
}
.azul {
  background-color: #00d9d7;
}
.border-right {
  border-right: 1px solid #1d1d1b;
}
.curva-01 {
  position: absolute;
  right: 0px;
  z-index: 999;
}
.curva-02 {
  position: absolute;
  left: 0px;
  z-index: 999;
  bottom: -17%;
}
.curva-03 {
  position: absolute;
  width: 270px;
  z-index: 1;
}
.formulario {
  z-index: 99999999 !important;
}
.par-horas {
  color: #1d1d1b;
  font-family: "Helvetica Neue bold";
  font-size: clamp(20px, 3vw, 30px);
  font-style: normal;
  font-weight: 700;
  line-height: 30px;
  margin-left: 20px;
}
.par-horas-thin {
  color: #1d1d1b;
  font-family: "Helvetica Neue thin";
  font-size: clamp(18px, 2.5vw, 24px);
  font-style: normal;
  font-weight: 700;
  line-height: 30px;
  margin-left: 20px;
}
.titulos-md-italic {
  color: #000;
  font-family: "Fraunces";
  font-size: clamp(20px, 3vw, 30px);
  font-style: italic;
  font-weight: 400;
  line-height: 21px;
}
.titulos-md-bold {
  color: #000;
  font-family: "Helvetica Neue bold";
  font-size: clamp(20px, 3vw, 30px);
  font-style: normal;
  font-weight: 700;
  line-height: 21px;
}
.titulos-md-normal {
  color: #000;
  font-family: "Helvetica Neue thin";
  font-size: clamp(16px, 2vw, 22px);
  font-style: normal;
  font-weight: 300;
  line-height: 21px;
}
/* CTA button ------------------- */
.btn-cta {
  background: var(--primary-blue);
  border: none;
  border-radius: 50px;
  padding: 0.75rem 2rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #000;
  transition: opacity 0.3s ease;
  text-decoration: none;
  font-size: 13px;
}

.btn-cta:hover {
  background: #101012;
  color: var(--primary-blue);
}

/* responsive tweaks ------------ */
@media (max-width: 576px) {
  .overlay {
    padding: 0 1rem;
  }
}

/*Bloque 9*/
/* Ocultar popup inicialmente */
#videoOverlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Contenedor del iframe */

/* Estilo miniatura */
.video-thumbnail {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.video-thumbnail img.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 64px;
  height: 64px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.video-thumbnail img.play-button-01 {
  position: absolute;
  top: 50%;
  left: 28%;
  width: 44px;
  height: 44px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.video-thumbnail img.play-button-03 {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 104px;
  height: 104px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.video-wrapper {
  width: 90%;
  max-width: 960px;
  aspect-ratio: 16 / 9;
  background: black;
  position: relative;
}

/* Hacer que el iframe llene el contenedor */
.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/*Bloque 6*/
.docente-card {
  position: relative;
  overflow: hidden;
  border-radius: 50%;
  width: 100%;
  aspect-ratio: 1/1;
  margin: 0 auto;
}

.docente-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #00d9d7;
  color: #1d1d1b;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
  text-align: center;
  padding: 5px;
}

.overlay-content {
  font-size: clamp(10px, 0.8vw, 12px);
  line-height: 1.2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 90%;
  height: 100%;
  padding: 0 5px;
}

.docente-card:hover .overlay {
  opacity: 1;
}

.docente-card:hover .docente-img {
  transform: scale(1.05);
}

.linkedin-icon {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: white;
  text-decoration: none;
}

.col-1-5 {
  flex: 0 0 20%;
  max-width: 20%;
}

/*Bloque 7*/
/* ----- layout general ----- */
.module-item {
  display: flex;
  align-items: center; /* centra verticalmente mientras está cerrado */
  border-bottom: 2px solid #00d9d7;
  font-family: Arial, Helvetica, sans-serif;
  position: relative;
}

.module-item.expanded {
  align-items: flex-start; /* al abrir, alinea todo arriba */
}

/* ----- columna imagen ----- */
.image-wrapper {
  position: relative;
  width: 35%;
  max-width: 340px;
  overflow: hidden;
  max-height: 224px;
  transition: max-height 0.35s ease, height 0.35s ease;
  height: 100%;
}

.module-item.expanded .image-wrapper {
  max-height: none;
  height: auto; /* se adapta al contenido */
}

.module-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* número en círculo */
.module-number {
  font-family: "Fraunces";
  position: absolute;
  top: 40%;
  left: calc(30% - 6px); /* 35% = ancho de .image-wrapper */
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #00d9d7;
  border: 2px solid #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  z-index: 2;
  transition: top 0.35s ease, transform 0.35s ease;
}

.module-item.expanded .module-number {
  top: 24px;
  transform: none;
}

/* ----- columna texto ----- */
.module-content {
  flex: 1;
  background: #00d9d7;
  padding: 20px 24px;
  color: #000;
  height: 100%;
}

/* botón / cabecera */
.module-toggle {
  all: unset;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
}

.title-1 {
  color: #1d1d1b;
  font-family: "Helvetica Neue bold";
  font-size: clamp(16px, 1.2vw, 18px);
  font-style: normal;
  font-weight: 700;
  line-height: 18px;
}

.title-2 {
  color: #1d1d1b;
  font-family: "Helvetica Neue thin";
  font-size: clamp(16px, 1.2vw, 18px);
  font-style: normal;
  font-weight: 300;
  line-height: 18px;
}

/* flecha */
.arrow-icon {
  width: 14px;
  margin-left: 8px;
  transition: transform 0.35s ease;
}

.module-item.expanded .arrow-icon {
  transform: rotate(180deg);
}

.line-with-arrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}

.line-with-arrow .line {
  flex: 1;
  height: 1px;
  background: #000;
  margin-right: 8px;
}

/* ----- listado oculto/visible ----- */
.module-list {
  margin: 16px 0 0 0;
  padding-left: 20px;
  display: none;
}

.module-item.expanded .module-list {
  display: block;
}

/*Footer*/
footer {
  background-color: #101012;
  padding: 2rem 0;
  color: white;
}

.logo-footer {
  width: 65%;
}

ul li a {
  text-decoration: none;
  color: #fff;
  font-family: "Helvetica Neue thin";
  font-size: 13px;
  font-style: normal;
  font-weight: 300;
  line-height: 13px;
  letter-spacing: 1.28px;
}

.footer-li {
  list-style: none !important;
}

.footer-li-bold {
  margin-bottom: 0.5rem;
  color: #fff;
  font-family: "Helvetica Neue normal" !important;
  font-size: 13px;
  font-style: normal;
  font-weight: 600 !important;
  line-height: normal;
  letter-spacing: 0.8px;
  line-height: 12px;
  list-style: none !important;
}

.ml-10px {
  margin-left: 5px;
}

.hbspt-form {
  width: 80% !important;
  margin: auto !important;
}
ul li a:hover {
  color: #00d9d7;
}
.mobile {
  display: none !important;
}
.desktop {
  display: block !important;
}
.hbspt-form {
  padding-bottom: 3rem !important;
}
/*MEDIA QUERIES*/
@media (min-width: 0px) and (max-width: 499px) {
  .curva-01 {
    display: none;
  }
  .hbspt-form {
    width: 100% !important;
  }
  .container-max {
    width: 100%;
    margin: auto;
    margin-left: 5%;
  }
  .par-horas {
    font-size: 25px;
    line-height: 25px;
    text-align: center;
    margin-left: 0px;
  }
  .par-horas-thin {
    font-size: 20px;
    line-height: 24px;
    text-align: center;
  }
  .curva-02 {
    display: none;
  }
  .curva-03 {
    display: none;
  }
  .module-number {
    left: calc(4% - 9px);
  }
  h1.display-title {
    line-height: 45px;
  }
  .titulos {
    font-size: 28px;
    line-height: 20px;
  }
  .col-1-5 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .title-1 {
    font-size: 16px;
    line-height: 16px;
  }
  .title-2 {
    font-size: 16px;
    line-height: 16px;
  }
  hr {
    margin: 0;
  }
  .parrafos-mini {
    font-size: 16px;
    line-height: 23px;
  }
  .parrafos-mini-bold {
    font-size: 12px;
    line-height: 15px;
  }
  .parrafos-italic {
    font-size: 22px;
    line-height: 22px;
  }
  .border-right {
    border-bottom: 1px solid #1d1d1b;
    border-right: 0px;
  }
  .margin-mobile-img {
    margin-top: 3rem;
  }
  .w-80 {
    width: 100% !important;
  }
  .w-60 {
    width: 100%;
  }
  .video-thumbnail img.play-button-01 {
    left: 50%;
  }
  .module-number {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
  .p-5 {
    padding: 0rem !important;
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  .module-item {
    display: grid;
  }
  .image-wrapper {
    width: 100%;
    max-width: none;
  }
  .module-number {
    bottom: 50%;
  }
  .module-image {
    width: 95%;
    height: 100%;
    object-fit: cover;
    margin-left: 20px;
  }
  .video-thumbnail img.play-button-03 {
    width: 64px;
    height: 64px;
  }
  .logo-footer {
    width: 140px;
    margin-left: 30px;
  }
  .margin-foot-mobile {
    margin-left: 20px;
    margin-bottom: 20px;
  }
  .mobile {
    display: block !important;
  }
  .desktop {
    display: none !important;
  }
  .margin-mob {
    width: 90%;
    margin-left: 1rem;
  }
  .parrafos {
    font-size: 20px;
  }
  .titulos-italic {
    line-height: 32px;
  }
  .parrafos-negritas {
    font-size: 20px;
    line-height: 20px;
  }
  .titulos-md-normal {
    font-size: 20px;
  }
  .overlay-video {
    height: 90%;
  }
}
@media (min-width: 500px) and (max-width: 767px) {
  .curva-01 {
    display: none;
  }
  .hbspt-form {
    width: 80% !important;
  }
  .container-max {
    width: 70%;
    margin: auto;
  }
  .par-horas {
    font-size: 25px;
    line-height: 25px;
    text-align: center;
  }
  .par-horas-thin {
    font-size: 20px;
    line-height: 24px;
    text-align: center;
  }
  .curva-02 {
    display: none;
  }
  .curva-03 {
    display: none;
  }
  .module-number {
    left: calc(2% - 9px);
  }
  h1.display-title {
    line-height: 45px;
  }
  .titulos {
    font-size: 30px;
    line-height: 30px;
  }
  .col-1-5 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .title-1 {
    font-size: 13px;
    line-height: 13px;
  }
  .title-2 {
    font-size: 13px;
    line-height: 13px;
  }
  hr {
    margin: 0;
  }
  .parrafos-mini {
    font-size: 12px;
    line-height: 15px;
  }
  .parrafos-mini-bold {
    font-size: 12px;
    line-height: 15px;
  }
  .parrafos-italic {
    font-size: 17px;
    line-height: 20px;
  }
  .border-right {
    border-bottom: 1px solid #1d1d1b;
    border-right: 0px;
  }
  .margin-mobile-img {
    margin-top: 3rem;
  }
  .w-80 {
    width: 100% !important;
  }
  .w-60 {
    width: 100%;
  }
  .video-thumbnail img.play-button-01 {
    left: 50%;
  }
  .module-number {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
  .p-5 {
    padding: 0rem !important;
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  .module-item {
    display: grid;
  }
  .image-wrapper {
    width: 100%;
    max-width: none;
  }
  .module-number {
    bottom: 50%;
  }
  .module-image {
    width: 95%;
    height: 100%;
    object-fit: cover;
    margin-left: 20px;
  }
  .video-thumbnail img.play-button-03 {
    width: 64px;
    height: 64px;
  }
  .logo-footer {
    width: 140px;
    margin-left: 30px;
  }
  .margin-foot-mobile {
    margin-left: 20px;
    margin-bottom: 20px;
  }
  .mobile {
    display: block !important;
  }
  .desktop {
    display: none !important;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .curva-01 {
    width: 15%;
  }
  .hbspt-form {
    width: 80% !important;
  }
  .container-max {
    width: 50%;
    margin: auto;
  }
  .par-horas {
    font-size: 17px;
    line-height: 17px;
  }
  .par-horas-thin {
    font-size: 17px;
    line-height: 24px;
  }
  .curva-02 {
    display: none;
  }
  .curva-03 {
    display: none;
  }
  .module-number {
    left: calc(34% - 6px);
  }
  h1.display-title {
    line-height: 45px;
  }
  .titulos {
    font-size: 36px;
    line-height: 36px;
  }
  .col-1-5 {
    flex: 0 0 33%;
    max-width: 33%;
  }
  .title-1 {
    font-size: 13px;
    line-height: 13px;
  }
  .title-2 {
    font-size: 13px;
    line-height: 13px;
  }
  hr {
    margin: 0;
  }
  .parrafos-mini {
    font-size: 12px;
    line-height: 15px;
  }
  .parrafos-mini-bold {
    font-size: 12px;
    line-height: 15px;
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .curva-01 {
    width: 15%;
  }
  .hbspt-form {
    width: 50% !important;
  }
  .container-max {
    width: 50%;
    margin: auto;
  }
  .par-horas {
    font-size: 24px;
    line-height: 24px;
  }
  .par-horas-thin {
    font-size: 20px;
    line-height: 24px;
  }
  .curva-02 {
    bottom: -15%;
    width: 80%;
  }
  .module-number {
    left: calc(34% - 6px);
  }
}
@media (min-width: 1200px) and (max-width: 1399px) {
  .curva-01 {
    width: 15%;
  }
  .hbspt-form {
    width: 50% !important;
  }
  .container-max {
    width: 50%;
    margin: auto;
  }
}
@media (min-width: 1400px) and (max-width: 1600px) {
  .curva-01 {
    width: 20%;
  }
}
