/* ============ Reset & base ============ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --green-dark: #1c2d1a;
  --green-utel: #06ba06;
  --blue-green: #0AEB8B;
  --mint: #b8f4cf;
  --mint-soft: #d9f8e3;
  --dark: #0f1411;
  --text: #0f1411;
  --muted: #6b7a72;
  --white: #ffffff;
  --cream: #f4f0e6;
  --light: #EDF2F7;
  --yellow: #ffb937;
  --light-yellow: #ffd992;
  --border: rgba(255, 255, 255, 0.15);
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  --font-sora: "Sora", "Inter", system-ui, -apple-system, Segoe UI, Roboto,
    sans-serif;
  --font-worksans: "Work Sans", "Inter", system-ui, -apple-system, Segoe UI,
    Roboto, sans-serif;
  --font-size-titles: 32px;
  --font-size-subtitles: 24px;
  --font-size-text: 18px;
}
html,
body {
  font-family: "Sora", "Work Sans", "Inter", system-ui, -apple-system, Segoe UI,
    Roboto, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.5;
}
img {
  max-width: 100%;
  display: block;
}
button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}
a {
  color: inherit;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.15s ease, opacity 0.2s ease;
}
.btn:hover {
  transform: translateY(-1px);
  opacity: 0.95;
  background-color: var(--light-yellow) !important;
  color: #2d3748;
}

.btn--primary {
  background: var(--green-utel);
  color: #fff;
}

.btn--header {
  display: inline-block;
  background-color: var(--yellow);
  color: #2d3748;
  padding: 12px 0;
  border-radius: 6px;
  text-decoration: none;
  font-family: var(--font-sora);
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s;
  width: 100%;
}
.btn--form {
  display: inline-block;
  background-color: var(--yellow);
  color: #2d3748;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-family: var(--font-sora);
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s;
}
.btn--accent {
  display: inline-block;
  background-color: var(--yellow);
  color: #2d3748;
  padding: 12px 50px;
  border-radius: 6px;
  text-decoration: none;
  font-family: var(--font-sora);
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s;
}
.btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.btn--block {
  width: 100%;
}

/* ============ Logos ============ */
.logo {
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 22px;
}
.logo--utel {
  color: var(--green-utel);
  img{
    width: 8%;
  }
}
.logo--platzi {
  color: var(--green-utel);
  img{
    width: 9%;
  }
}
.logo__sep {
  color: rgba(255, 255, 255, 0.6);
  margin: 0 8px;
}

/* ============ HERO ============ */
.hero {
  background-image: url("https://dbyiwwn1ggdry.cloudfront.net/servidorLandings/mexico/lp_platzi/background-hero.webp");
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;
  padding: 24px 6vw 45px;
}
.hero__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 16px 6vw;
  z-index: 1000;
  background: #11220f;
}
.hero {
  padding-top: 90px;
}
.hero__logos {
  display: flex;
  align-items: center;
}
.hero__logos img {
  width: 15%;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  max-width: 1700px;
  margin: 0 auto;
}
.hero__copy {
  position: relative;
  padding-top: 12px;
}
.hero__copy h1 {
  font-size: 44px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.hero__subtitle {
  font-size: var(--font-size-subtitles);
  opacity: 0.85;
  margin-bottom: 20px;
}
.hero__text {
  font-size: var(--font-size-text);
  opacity: 0.8;
  margin-bottom: 10px;
  max-width: 480px;
}
.hero__ctas {
  display: flex;
  gap: 5px;
  align-items: center;
  flex-wrap: wrap;
  img {
    width: 30%;
  }
  .link-light {
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--font-size-text);
    text-underline-offset: 4px;
  }
}

.hero__mark {
  display: flex;
  justify-content: right;

  img {
    width: 35%;
  }
}

/* ============ FORM CARD ============ */
.form-card {
  background: #cfd3cf;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
  color: #000;
}
.form-card h2 {
  font-size: 22px;
  margin-bottom: 6px;
}
.form-card__sub {
  font-size: 13px;
  opacity: 0.8;
  margin-bottom: 18px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.form-row:has(> .field:only-child) {
  grid-template-columns: 1fr;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-size: 12px;
  opacity: 0.85;
}
.field input,
.field select {
  background: #fff;
  color: #0f1411;
  border: 0;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input:focus,
.field select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0, 200, 83, 0.2);
}

/* 1. Contenedor relativo para posicionar la flecha */
.select-wrapper {
  position: relative;
  display: block;
  width: 100%;
}

/* 2. Modificación específica del select dentro del contenedor */
.select-wrapper select {
  width: 100%;
  padding-right: 36px; /* Evita que el texto largo se monte sobre la flecha */
  
  /* Quita la flecha nativa del navegador */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* Oculta la flecha nativa en IE/Edge */
.select-wrapper select::-ms-expand {
  display: none;
}

/* 3. Creación y posición de la nueva flecha dropdown */
.select-wrapper::after {
  content: "▼";
  font-size: 10px;
  color: #0f1411; /* Mismo tono de tu texto */
  position: absolute;
  
  /* EDITAR POSICIÓN AQUÍ: */
  right: 14px;         /* Distancia desde el borde derecho */
  top: 50%;            /* Centrado vertical */
  transform: translateY(-50%);
  
  pointer-events: none; /* Permite hacer clic a través de la flecha */
  opacity: 0.7;        /* Un tono un poco más suave, opcional */
}

#programa_select {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.field-error {
  color: #e53e3e;
  font-size: 12px;
  margin-top: 6px;
}
.phone {
  display: inline-flex;
  align-items: center;
  background-color: #f1f3f5; /* El fondo gris claro de tu imagen */
  border-radius: 12px; /* Bordes muy redondeados y limpios */
  padding: 0 0 0 5px;
  width: 49%;
  height: 37px; /* Altura cómoda para clics y dispositivos móviles */
  box-sizing: border-box;
  border: 1px solid transparent;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.country-prefix {
  display: flex;
  align-items: center;
  gap: 2px; /* Separación entre bandera y texto */
  padding-right: 12px;
  user-select: none; /* Evita que el usuario seleccione el texto por accidente */
}

.country-flag {
  width: 20px;
  height: auto;
  object-fit: contain;
  border-radius: 2px; /* Suaviza las esquinas de la bandera */
}

.prefix-text {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 16px;
  color: #495057; /* Gris oscuro para el prefijo */
}

/* El input de texto real */
.phone-input {
  flex: 1; /* Ocupa todo el espacio restante */
  background: none;
  border: none;
  outline: none;
  height: 100%;
  width: 49%;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 16px;
  color: #212529;
  padding: 5px 4px !important;
}

/* Estilo para el placeholder */
.phone-input::placeholder {
  color: #868e96; /* Gris claro para el placeholder ("10 dígitos") */
  opacity: 1;
}

/* Efecto Focus (Cuando el usuario hace clic para escribir) */
.phone-input-container:focus-within {
  background-color: #ffffff;
  border-color: #00cc88; /* Color verde branding o el de tu preferencia */
  box-shadow: 0 0 0 3px rgba(0, 204, 136, 0.15);
}

.warning {
  background: rgba(255, 200, 80, 0.12);
  color: #ffd66b;
  font-size: 13px;
  padding: 10px 12px;
  border-radius: 8px;
  margin: 6px 0 12px;
}
.extra-fields {
  padding: 8px 0 14px;
}
.checkbox {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  opacity: 0.9;
}
.hidden {
  display: none !important;
}

/* ============ STRIP ============ */
.strip {
  background: var(--blue-green);
  color: #052915;
  display: flex;
  justify-content: space-around;
  gap: 60px;
  flex-wrap: wrap;
  padding: 30px 6vw;
  font-weight: 600;
  font-size: 14px;
}

.strip__item {
  align-items: center;
  display: flex;
  gap: 5px;
  font-size: var(--font-size-text);
  font-family: var(--font-worksans);
}

.section--two-cards{
  padding: 40px 6vw 80px !important;
}

/* ============ Sections ============ */
.section {
  padding: 80px 6vw;
  margin: 0 auto;
}
.section--mint {
  background: var(--blue-green);
  max-width: none;
  margin: 0;
}
.section--programs {
  background: var(--green-dark);
  color: #fff;
  max-width: none;
  margin: 0;
}
.section--testimonials{
  background: var(--light);
  color: #000;
  max-width: none;
  margin: 0;
  text-align: center;
}

.section--cta {
  background-image: url("https://dbyiwwn1ggdry.cloudfront.net/servidorLandings/mexico/lp_platzi/background-cta.jpg");
  background-size: cover;
  text-align: center;
  padding: 0 6vw;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  color : #fff;
}

.section--cta .div-image {
  display: flex;
  justify-content: flex-end;
  margin-top: 4%;
}

.section--cta .div-image img {
  width: 90%;
}
.section--cta .div-text{
  text-align: left;
}
.section--cta .div-text h2 {
  font-size: 28px;
  margin-bottom: 12px;
}
.section--cta .div-text p {
  color: #fff;
  margin-bottom: 24px;
}

.section--cta .div-text .btn--accent {
 margin-top: px;
}

.section__title {
  font-size: var(--font-size-titles);
  letter-spacing: -0.02em;
  margin: 14px 0 12px;
}

.section__lead {
  margin-bottom: 40px;
  font-size: 16px;
  font-family: var(--font-worksans);
}

 .section--three-info{
  padding: 40px 6vw 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
 } 
 .section--three-info .section__title{
  text-align: left;
  font-size: var(--font-size-subtitles);
  font-family: var(--font-sora);
  color: #000;
 }

 .items{
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 40px;
  margin-top: 40px;
 }

 .item{
  display: flex;
  flex-direction: column;
  gap: 25px;
  align-items: center;
 }

 .item p{
  font-size: 14px;
  font-family: var(--font-worksans);
  text-align: center;
 }

/* ============ DUO CARDS ============ */
.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 45px;
}
.duo__card {
  border-radius: 18px;
  padding: 32px;
}
.duo__card--utel {
  background: var(--green-utel);
  color: #fff;
  img {
    width: 120px;
    margin-top: 15px;
    margin-bottom: 15px;
  }
}
.duo__card--platzi {
  background: var(--green-dark);
  color: #fff;
  img {
    width: 165px;
    margin-top: 15px;
    margin-bottom: 15px;
  }
}
.duo__card h3 {
  font-size: var(--font-size-text);
  margin: 30px 0 16px;
  font-weight: 400 !important;
}
/* Contenedor principal que alinea en fila */
.beneficios-container {
  display: flex;
  flex-direction: column;
  gap: 0; /* Separación uniforme entre cada elemento */
  justify-content: center; /* Centra los elementos en el espacio disponible */
  width: 100%;
  padding: 0;
  margin-left: 30px;
}

.beneficio-item {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 40px;
}

.beneficio-item img {
  width: 20px;
  height: auto;
  flex-shrink: 0;
}

/* Estilo opcional para los textos */
.beneficio-item span {
  font-family: var(--font-worksans);
  font-size: 14px;
  color: #ffffff; /* Cambia el color dependiendo de tu fondo actual */
  line-height: 1.4;
}

/* ============ STEPS ============ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 30px;
}

.steps-desktop {
  display: block;
}

.slider-container {
  display: none;
}

.step__num {
  display: inline-block;
  background: #fff;
  color: var(--blue-green);
  font-weight: 800;
  font-size: 40px;
  padding: 6px 12px;
  border-radius: 8px;
  margin-bottom: 14px;
}
.step h4 {
  font-size: var(--font-size-subtitles);
  margin-bottom: 8px;
  color: #052915;
}
.step p {
  font-size: 16px;
  color: #1a3a26;
}

/* ============ PROGRAMS ============ */
/* Contenedor estructural del componente */
.programs {
  display: grid;
  grid-template-columns: auto 1fr auto; /* Flecha | Espacio del Slider | Flecha */
  gap: 16px;
  align-items: center;
  margin-top: 35px;
  margin-bottom: 32px;
  width: 100%;
}

/* El Wrapper recorta el contenido que se sale de la caja */
.slider-wrapper {
  overflow: hidden;
  width: 100%;
}

/* El riel que contiene las tarjetas alineadas en fila horizontal */
.slider-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1); /* Desplazamiento ultra suave */
  gap: 16px;
  /* Variables internas para cálculos dinámicos */
  --gap: 16px;
  --items-per-view: 3; /* 3 en Escritorio */
}

/* Cada tarjeta del programa calculada matemáticamente */
.program {
  flex: 0 0
    calc(
      (100% - (var(--gap) * (var(--items-per-view) - 1))) /
        var(--items-per-view)
    );
  background: #a4aba3;
  border-radius: 14px;
  padding: 16px;
  color: #000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-sizing: border-box;
}

.arrow {
  background: var(--green-utel);
  color: #052915;
  border-radius: 999px;
  width: 40px;
  height: 40px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
}

.arrow svg {
  width: 20px;
  height: 20px;
}

/* Estilos complementarios que ya tenías */
.program__img {
  background-size: cover;
  border-radius: 8px;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-titles);
}
.program h4 {
  font-size: var(--font-size-text);
}
.muted {
  font-size: 16px;
  font-family: var(--font-worksans);
}
.container-cert-platzi {
  display: flex;
  justify-content: left;
}
.container-cert-platzi img {
  width: 55%;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tags span {
  background: var(--blue-green);
  color: #052915;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}

.cta-row {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 24px;
  background: transparent;
  padding-top: 32px;
}
.cta-row h3 {
  font-size: var(--font-size-titles);
  margin-bottom: 6px;
}
.cta-row div {
  width: 50%;
}
.cta-row .muted {
  font-family: var(--font-worksans);
}

/* ============ FEATURES ============ */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature h4 {
  font-size: var(--font-size-subtitles);
  margin: 12px 0 6px;
}
.feature p {
  font-size: 16px;
  color: #000;
}
.section--mint .feature p {
  color: #1a3a26;
}
.dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  img {
    width: 100%;
  }
}

.section--utel {
  display: block;
}

.section--platzi {
  display: block;
}

.section--utel.section--slider {
  display: none;
}

.section--platzi.section--slider {
  display: none;
}

/* ============ TESTIMONIALS ============ */
.section--testimonials {
  display: block;
}
.section--testimonials.section--slider {
  display: none;
}
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.testimonial {
  background: var(--cream);
  color: #1a1a1a;
  border-radius: 10px;
  padding: 22px;
}
.stars {
  color: var(--yellow);
  margin-bottom: 10px;
  font-size: 30px;
}
.testimonial p {
  color: #364153;
  font-size: 16px;
  margin-bottom: 14px;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
.who {
  align-items: center;
  display: flex;
  justify-content: left;
  gap: 5px;
}
.who .data-person {
  margin-left: -5%;
}
.who strong {
  font-size: 16px;
}
.who span {
  font-size: 14px;
  color: #6a7282;
}
.who .circle {
  width: 24%;
}
.who img {
  border-radius: 50%;
  width: 70%;
}

/* ============ FOOTER ============ */
.footer {
  background: #0a0d0b;
  font-size: 20px;
  font-family: var(--font-worksans);
  justify-content: center;
  color: #fff;
  text-align: center;
  padding: 20px 6vw;
  display: flex;
  gap: 10px;
}

.footer .term {
  text-decoration: none;
}
.footer .privacy {
  text-decoration: none;
}

/* ============ RESPONSIVE ============ */
@media (min-width: 800px) and (max-width: 1500px) {
  .btn--header {
    width: 2000px;
  }
}

@media (max-width: 768px) {
  .hero__logos {
    width: 45%;
  }
  .hero__logos img {
    width: 90%;
  }
  .btn--header {
    padding: 10px 5px !important;
    width: 55%;
    font-size: 15px;
  }
  .btn--form {
    padding: 10px 5px !important;
    width: 100%;
    font-size: 15px;
  }
  .phone{
    width: 100%;
  }
  .phone-input{
    width: 100%;
  }
  .hero {
    padding: 20px 5vw 60px;
  }
  .hero__ctas {
    img {
      margin-left: 0 !important;
      width: 80%;
    }
    .link-light {
      margin-left: 0 !important;
    }
  }
  .hero__nav {
    margin-bottom: 32px;
  }
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero__copy {
    margin-top: 25%;
  }

  .hero__copy h1 {
    font-size: var(--font-size-titles);
  }
  .hero__mark {
    display: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .strip {
    flex-direction: column;
    gap: 30px;
    text-align: center;
    padding: 30px 12vw !important;
  }

  .section {
    padding: 35px 5vw;
  }
  .section__title {
    font-size: var(--font-size-subtitles);
  }

  .duo {
    grid-template-columns: 1fr;
  }

  .duo__card h3 {
    text-align: center;
  }

  
   .items{
    display: flex;
    flex-direction: column;
 
   }
  
   

  .beneficios-container {
    flex-direction: column; /* En móviles muy angostos se verán uno abajo del otro para mejor lectura */
    align-items: flex-start;
    padding-left: 0 !important;
    margin-left: 0 !important;
  }
  .logo--utel {
    display: flex;
    justify-content: center;
    img{
      width: 25%;
    }
  }
  .logo--platzi {
    display: flex;
    justify-content: center;
    img{
      width: 30%;
    }
  }

  .steps {
    grid-template-columns: 1fr;
    margin-top: 25px;
  }

  .steps-desktop {
    display: none;
  }

  .slider-container {
    display: block;
    /* Ocultamos todos los pasos por defecto */
    /* Contenedor que envuelve los pasos (asegura espacio y limpia desbordes) */
    .steps {
      position: relative;
      overflow: hidden;
      width: 100%;
      border: 1px solid #fff;
      border-radius: 8px;
      padding: 16px;
    }

    /* Estado base de TODOS los pasos (Ocultos y listos para la animación) */
    .step {
      display: none;
      opacity: 0;
      transform: translateX(
        20px
      ); /* Ligero desplazamiento a la derecha antes de aparecer */
      transition: opacity 0.4s ease, transform 0.4s ease; /* Aquí ocurre la magia del suavizado */
    }

    /* Estado del paso ACTIVO (Visible y en su posición original) */
    .step.active {
      display: block;
      opacity: 1;
      transform: translateX(0); /* Vuelve a su centro de forma fluida */
    }

    /* Estilos mínimos para alinear los botones abajo (opcional) */

    .slider-nav {
      display: flex;
      justify-content: center;
      gap: 16px;
      margin-top: 24px;
    }

    .slider-nav-section-utel {
      display: flex;
      justify-content: center;
      gap: 16px;
      margin-top: 24px;
    }

    .slider-nav-section-platzi {
      display: flex;
      justify-content: center;
      gap: 16px;
      margin-top: 24px;
    }

    /* Estado base: Flecha Gris (Inactiva) */
    .nav-btn {
      background: transparent;
      width: 40px;
      height: 40px;
      border-radius: 50%;

      /* Color gris del diseño original */
      border: 3.5px solid #5d6670;
      color: #5d6670;

      font-size: 18px;
      font-weight: bold;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      outline: none;
      transition: all 0.2s ease; /* Suaviza el cambio de color */
    }

    /* Estado activo: Flecha Blanca (Al hacer clic) */
    .nav-btn.active {
      border-color: #ffffff;
      color: #ffffff;
    }
    .nav-btn-utel.active {
      border-color: var(--green-utel);
      color: var(--green-utel);
    }
  }

  .programs {
    /* Cambiamos la grilla a dos columnas para los botones de abajo */
    grid-template-columns: 1fr 1fr;
    row-gap: 20px; /* Separación vertical entre el slider y los botones */
    column-gap: 16px; /* Separación horizontal entre ambas flechas */
    justify-items: center; /* Centra los elementos en su espacio */
    justify-content: center;
  }

  /* El slider-wrapper ahora debe ocupar todo el ancho superior */
  .slider-wrapper {
    grid-column: 1 / -1; /* Se estira a lo ancho de toda la pantalla */
    order: 1; /* Se posiciona primero (arriba) */
  }

  .slider-track {
    --items-per-view: 1; /* Muestra exactamente 1 tarjeta en móvil */
  }

  /* Estilos para que las flechas queden abajo, juntas y centradas */
  .programs .arrow {
    display: flex; /* Asegura que sean visibles */
    order: 2; /* Se posicionan después del slider (abajo) */
  }

  /* Alineamos la flecha izquierda hacia la derecha de su celda */
  .programs .arrow--left {
    justify-self: end;
  }

  /* Alineamos la flecha derecha hacia la izquierda de su celda */
  .programs .arrow--right {
    justify-self: start;
  }

  .cta-row {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 5px;
  }
  .cta-row div {
    width: 100%;
  }

  .section--utel {
    display: none;
  }

  .section--platzi {
    display: none;
  }

  .features-slider {
    border: 1px solid #fff;
    border-radius: 8px;
    padding: 16px;
  }

  .features-slider--utel {
    border: 1px solid var(--green-utel);
    border-radius: 8px;
    padding: 16px;
  }
  /* Estado base para los elementos del slider (Ocultos) */
  .features-slider .feature-slider {
    display: none;
    opacity: 0;
    transform: translateX(15px);
    transition: opacity 0.38s ease, transform 0.38s ease;
  }

  /* Estado activo cuando JS realiza el cambio (Visible) */
  .features-slider .feature-slider.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
  }

  .section--utel.section--slider {
    display: block;
  }

  .section--platzi.section--slider {
    display: block;
  }

  .section--utel .logo--utel {
    display: flex;
    justify-content: left;
  }

  .section--platzi .logo--platzi {
    display: flex;
    justify-content: left;
  }
  .features {
    grid-template-columns: 1fr;
  }
  .testimonials {
    grid-template-columns: 1fr;
  }

  .section--testimonials {
    display: none;
  }
  .section--testimonials.section--slider {
    display: block;
  }

  .testimonials-slider .testimonial-slider {
    display: none;
    opacity: 0;
    transform: translateX(15px);
    transition: opacity 0.38s ease, transform 0.38s ease;
  }

  .testimonials-slider .testimonial-slider.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
  }

  .slider-nav-section-testimonials {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
  }

  .slider-nav-section-testimonials .nav-btn {
    border-color: #6a7282;
    color: #6a7282;
  }

  .slider-nav-section-testimonials .nav-btn.active {
    border-color: #ffffff;
    color: #ffffff;
  }
  .section--cta {
    flex-direction: column;
    justify-content: center;
  }
  .section--cta .div-text{
    text-align: center;
  
  }

  .section--cta .div-image{
    justify-content: center;
  }

  .btn--accent{
    margin-top: 10px;
  }

  .section--cta .div-text .btn--accent {
    margin-top: 0 !important;
  }

  /* CORRECCIÓN PARA SAFARI: Forzar propiedades al SVG interno */
  svg {
    width: 20px;         /* Tamaño explícito para que Safari no lo colapse a 0 */
    height: 20px;
    display: block;       /* Evita comportamientos inline extraños */
    flex-shrink: 0;       /* Evita que flexbox comprima el SVG */
}
  footer {
    flex-direction: column;
    align-items: center;
  }
  footer .term {
    margin-top: 35px;
  }

  .footer .privacy {
    margin-bottom: 10px;
  }
}


/* Custom Country Select */
.custom-select-country {
    position: relative;
    min-width: 70px;
}

.custom-select-trigger {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 6px;
    background: #f5f5f5;
    font-size: 12px;
    white-space: nowrap;
}

.custom-select-trigger .country-flag {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
}

.custom-select-trigger .arrow-down {
    font-size: 15px;
    margin-left: 2px;
}

.custom-select-options {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 999;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    max-height: 200px;
    overflow-y: auto;
    list-style: none;
    padding: 4px 0;
    margin: 4px 0 0;
    min-width: 200px;
}

.custom-select-options.open {
    display: block;
}

.custom-select-options li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 13px;
    transition: background 0.15s;
}

.custom-select-options li:hover {
    background: #f0f0f0;
}

.custom-select-options li img {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
}

/* Searchable program select */
.custom-search-select {
    position: relative;
    width: 100%;
}

.search-select-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    font-family: "Arial";
    background: #fff;
    cursor: pointer;
    box-sizing: border-box;
}

.search-select-input:focus {
    outline: none;
    border-color: #7c3aed;
}

.search-select-options {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 200px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #ccc;
    border-top: none;
    border-radius: 0 0 6px 6px;
    list-style: none;
    margin: 0;
    padding: 0;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    font-family: "Arial";
}

.search-select-options.open {
    display: block;
}

.search-select-options li {
    padding: 10px 12px;
    cursor: pointer;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
}

.search-select-options li:hover {
    background: #f3f0ff;
}

.search-select-options li:last-child {
    border-bottom: none;
}
/* --- Banner de Estadísticas Utel --- */
.utel-stats {
  background-color: #1C2D1A;
  width: 100%;
  padding: 32px 6vw;
  box-sizing: border-box;
}

.utel-stats--slider {
  display: none;
}

.utel-stats-container {
  max-width: 1700px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  text-align: center;
  align-items: center;
}

.utel-stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.utel-stat-number {
  color: #ffffff;
  font-size: var(--font-size-subtitles);
  font-family: var(--font-sora);
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}

.utel-stat-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-family: var(--font-worksans);
  margin: 6px 0 0 0;
  line-height: 1.3;
}

/* Stats slider mobile */
.utel-stats-slider {
  position: relative;
  overflow: hidden;
  padding: 16px;
}

.utel-stat-slide {
  display: none;
  opacity: 0;
  transform: translateX(15px);
  transition: opacity 0.38s ease, transform 0.38s ease;
}

.utel-stat-slide.active {
  display: flex;
  opacity: 1;
  transform: translateX(0);
}

.slider-nav-section-stats {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
}

.slider-nav-section-stats .nav-btn {
  background: transparent;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3.5px solid rgba(255,255,255,0.4);
  color: rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.slider-nav-section-stats .nav-btn.active {
  border-color: #ffffff;
  color: #ffffff;
}

@media (max-width: 768px) {
  .utel-stats:not(.utel-stats--slider) {
    display: none;
  }
  .utel-stats--slider {
    display: block;
  }
}