  
    body { 
        font-family: 'Segoe UI', sans-serif; margin: 0; padding: 0; background: #f9f9f9; color: #333; 
        user-select: none;
    }
    header, section, footer { padding: 2rem; text-align: center; }
    header { background: #1e1e2f; color: white; }
    .hero { background: linear-gradient(to right, #1e1e2f, #3a3a5f); color: white; padding: 3rem 2rem; }
    .grid, .grid-2, .grid-4 { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
    .grid-2 > div, .grid-2 > img { flex: 1; max-width: 45%; }
    .grid-4 > .card { flex: 1; max-width: 22%; }
    .card { background: white; padding: 1rem; border-radius: 8px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
    .card img { width: 40px; height: 40px; margin-bottom: 0.5rem; }
    iframe { max-width: 100%; border-radius: 8px; }
    .cta-btn, button { background: #ff6b00; color: white; padding: 1rem 2rem; border: none; border-radius: 5px; cursor: pointer; font-size: 1rem; }
  
 /* Fondo oscuro */
.popup {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  overflow-y: auto;
  display: flex;
  justify-content: center;
  align-items: start; /* 👈 alinea arriba */
  padding-top: 60px;   /* 👈 espacio controlado arriba */
}

/* Caja del popup */
.popup-content {
  position: relative;
  padding: 20px;
  background: #fff;
  width: 90%;
  max-width: 500px;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  animation: fadeIn 0.4s ease;
}
 wistia-player[media-id='mgdj31kl3r']:not(:defined) {
        background: center / contain no-repeat url('https://fast.wistia.com/embed/medias/mgdj31kl3r/swatch');
        display: block;
        filter: blur(5px);
        padding-top: 56.25%;
        pointer-events: none;        
      }

      .wistia-wrapper wistia-player,
      .wistia-wrapper .wistia-player {
        position: absolute;
        top: 0; left: 0;
        width: 100% !important;
        height: 100% !important;
        display: block;
        border-radius: 12px;
      }

      .wistia-wrapper::before {
        content: "";
        display: block;
        padding-top: 56.25%;
      }
      .wistia-wrapper > * { position: absolute; top:0; left:0; width:100%; height:100%; 
      
  }
   
/* Animación de entrada */
@keyframes fadeIn {
  from {opacity: 0; transform: scale(0.9);}
  to {opacity: 1; transform: scale(1);}
}

.popup-img {
  width: 100%;
  height: 250px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.popup-btn {
  display: inline-block;
  background: #0056b3;
  color: #fff;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  width: 80%;
  text-align: center;
  transition: background 0.3s ease;
}

.close-btn {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 48px;
  font-weight: bold;
  color: #fff;
  background: #e74c3c;
  width: 40px;
  height: 40px;
  line-height: 30px;
  text-align: center;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

.close-btn:hover {
  background: #c0392b;
  transform: scale(1.1) rotate(90deg);
}

/* 📱 Responsive para móviles */
@media (max-width: 768px) {
  .popup{
    margin-top: 50px;
  }
  .popup-content {
    width: 95%;
    padding: 15px;
  }
  .popup-btn {
    font-size: 24px;
    padding: 12px;
  }
  .close-btn {
    font-size: 38px;
    width: 32px;
    height: 32px;
    line-height: 24px;
  }
}

/* 📱 Responsive extra pequeño (teléfonos chicos) */
@media (max-width: 480px) {
  .popup{
    margin-top: 50px;
  }
  .popup-content {
    padding: 12px;
  }
  .popup-btn {
    font-size: 24px;
    padding: 10px;
  }
  .popup-img {
    margin-bottom: 12px;
  }
}

.countdown-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-family: 'Segoe UI', sans-serif;
}

/* Ocultar en escritorio */
.barra-precio-fija {
  display: none;
}

/* Mostrar y fijar en móviles */
@media (max-width: 700px) {
  .barra-precio-fija {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #f9f9f9;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    font-family: 'Segoe UI', sans-serif;
    z-index: 999;
    font-size: 20px;
  }

  .bloque-precios {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
  }

  .precio-descuento {
    font-size: 22px;
    font-weight: bold;
    color: #6a00ff;
  }

  .precio-original {
    font-size: 30px;
    color: #999;
    text-decoration: line-through;
  }

  a.btn-cesta {
  background-color: rgb(250 204 21);
  color: black;
  font-size: 16px;
  font-weight: bold;
  padding: 10px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-left: auto;
  margin-right: 26px;
  width: 200px;
  height: 40px;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
  .btn-cesta:hover {
    background-color: rgb(250 204 21);
  }
}

.countdown-label {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  margin-top: 4px;
  color: #333;
}

.countdown-boxes {
  display: flex;
  gap: 0.4rem;
  margin-top: -1px;
}

.box {
  width: 55px;
  height: 55px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  font-weight: bold;
  margin-top: 4px;
}

@media (max-width: 700px) {
  .countdown-wrapper{
    height: 15px !important;
    flex-direction: column;
  }

  .box {
   width: 40px;
   height: 45px;
   margin-top: 6px;
  }
  
  .countdown-label{
    margin-top: 6px;
    font-size: 18px;
  }

  .premium-badge{
    width: 300px !important;
  }
  .comunidad{
    font-size: 18px !important;
  }

  .hero-video{
    margin-top: -35px !important;
  }
}

.time {
  font-size: 1.0rem;
  line-height: 1;
}

.video-container {
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px;
  width: 100%;
  max-width: 800px; /* límite en pantallas grandes */
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* En móviles, ocupar todo el ancho */
@media (max-width: 768px) {
  .video-container {
    max-width: 100%;
    border-radius: 0; /* opcional: quitar bordes redondeados en móvil */
  }
}

@media (max-width: 900px) {
  .countdown-boxes {
    margin-top: 4px;
  }
  .countdown-label{
    margin-top: -4px;
  }
  .hero-section{
    margin-top: -50px;
  }
}

@media (max-width: 600px) {
  .countdown-wrapper {
    padding: 18px 20px; /* más alto verticalmente */
    font-size: 18px;     /* opcional: texto más grande */
    flex-direction: column;
    margin-top: 6px;
    height: 30px;
  }
}

.unit {
  font-size: 0.65rem;
  margin-top: 2px;
}

.red { background-color: #e74c3c; }
.blue { background-color: #2c3e50; }
.purple { background-color: #8e44ad; }
.orange { background-color: #f39c12; }

@media (max-width: 700px) {
  .whatsapp-btn {
    position: fixed;
    bottom: 100px !important;
    background-color: #25D366;
    padding: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
  }

  .whatsapp-btn img {
    width: 32px;
    height: 32px;
    display: block;
  }
}

.whatsapp-btn {
  position: fixed;
  bottom: 20px; /* ← subido para no chocar con CTA */
  right: 20px;
  background-color: #25D366;
  padding: 10px;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.whatsapp-btn img {
  width: 32px;
  height: 32px;
}

.hero {
  margin-top: -20px;
  background: linear-gradient(to bottom, #2c003e, #1a0030);
  color: #fff;
  padding: 3rem 1.5rem;
  text-align: center;
}

.hero-text {
  max-width: 800px;
  margin: 0 auto;
}

.hero-text h1 {
  font-size: 2.2rem;
  line-height: 1.3;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero-text p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin: 0;
  font-weight: 400;
}

.hero h2 {
  font-size: 1.6rem;   /* 🔹 más equilibrado en PC/laptop */
  line-height: 1.4;
  margin-bottom: 15px;
  margin-top: -7px;
}

/* Ajuste en móviles */
@media (max-width: 768px) {
  .hero h2 {
    font-size: 1.2rem; /* 🔹 más pequeño en pantallas chicas */
    line-height: 1.5;  /* 🔹 más aire entre líneas */
    margin-bottom: 18px;
  }
}

@media (max-width: 950px) {
  .hero-text{
    margin-top: 67px;
  }

  .hero-text h1 {
    font-size: 23px !important;
    line-height: 1.5;
    margin: 0 auto;
    letter-spacing: 0.02em;
    word-spacing: 0.05em;
  }

  .hero-text h2 {
    text-align:center !important;
  }

  .hero-text p {
    font-size: 1rem;
  }
 
}

@media (max-width: 1000px) {
  .hero-text{
    margin-top: 67px;
  }
}

@media (max-width: 1300px) {
  .hero-text{
    margin-top: 30px;
  }
}

@media (max-width: 450px) {
  .hero-text{
    margin-top: 67px;
  }

  .btn-cesta{
  width: 210px !important;
  font-size: 18px !important;
 }
}

@media (max-width: 850px) {
  .hero-text{
    margin-top: 67px;
  }
}

@media (max-width: 400px) {
  .hero-text h1 {
    font-size: 22px !important;
  }

  .hero-text h2 {
    text-align: justify;
  }
}

@media (max-width: 380px) {
.premium-badge{
  width: 250px !important;
 }

.countdown-wrapper{
  width: 100px;
 }

 .boton-comprar{
  width: 78% !important;
 }

 .btn-cesta{
  width: 180px !important;
  font-size: 18px !important;
 }

}

@media (max-width: 350px) {
 .btn-cesta{
  width: 150px !important;
  font-size: 16px !important;
 }
}

.whatsapp-btn img {
  width: 32px;
  height: 32px;
  display: block;
}

.whatsapp-btn:hover {
  background-color: #1ebe5d;
}


.whatsapp-btn:hover {
  background-color: #1ebe5d;
}

@media (max-width: 600px) {
  .whatsapp-btn {
    font-size: 0.85rem;
    padding: 0.6rem 1rem;
    bottom: 15px;
    right: 15px;
  }
}


.whatsapp-chat img {
  width: 20px;
  height: 20px;
  pointer-events: auto;
}

.faq {
  margin-top: 20px;
  margin: 0 auto;
  text-align: left;
}

.faq-item {
  border-bottom: 3px solid #ccc;
  margin-bottom: 1rem;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: 0.8rem;
  height: 50px;
  font-weight: bold;
  background: #f9f9f9;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: #f0f0f0;
}

.symbol {
  font-size: 1.2rem;
  color: #ff6b00;
  margin-right: 1rem;
}

.faq-answer {
  display: none;
  padding: 0.5rem 1rem;
  font-size: 19px;
  color: #555;
}

.text {
  flex: 1;
  font-size: 1rem;
  color: #333;
}

footer{
    background: black;
}

footer p{
    color: white;
    font-size: 13px;
}

.bonos-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}

.bono-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 1rem;
  max-width: 250px;
  text-align: center;
}

.bono-card img {
  width: 150px;
  height: 150px;
  margin-bottom: 0.5rem;
}

.bono-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.bono-card p {
  font-size: 0.85rem;
  color: #555;
}

#proof-message {
  position: fixed;
  bottom: 70px; /* <-- súbelo más arriba, prueba con 60px, 80px o lo que necesites */
  left: 10px;
  background: linear-gradient(135deg, #ffffff 0%, #f4f4f4 100%);
  color: #333;
  font-family: 'Fredoka', sans-serif;
  font-size: 17px;
  font-weight: 500;
  padding: 16px 22px;
  border-radius: 12px;
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid #ddd;
  z-index: 9999;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  display: flex;
  align-items: center;
  gap: 12px;
}

  #proof-message.show {
    opacity: 1;
    transform: translateY(0);
  }

  #proof-message::before {
    font-size: 22px;
  }

  .porque-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}

.porque-item {
  background: #fff;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.icono {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.porque-item p {
  font-size: 0.95rem;
  color: #333;
  margin: 0;
}

@media (min-width: 600px) {
  .porque-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .porque-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.modulos-curso {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.modulo {
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.modulo-titulo {
  background-color: #e3f2fd;
  border: none;
  width: 100%;
  text-align: left;
  padding: 1rem;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #333;
}

.modulo-titulo:hover {
  background-color: #e6f2ff;
}

.modulo-titulo .icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.modulo-titulo .texto {
  flex: 1;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  text-align: justify;
}

.modulo-lecciones {
  display: none; /* Oculta la lista al inicio */
  list-style: none;
  padding: 0.5rem 1.5rem 1rem;
  margin: 0;
}

.modulo-lecciones li {
  display: flex;
  align-items: flex-start;
  padding: 0.4rem 0;
  font-size: 0.9rem;
  color: #000;
  border-bottom: 1px solid #eee;
  flex-wrap: nowrap;
}

.modulo-lecciones li span {
  flex-shrink: 0;
  width: 1.2rem;
  text-align: center;
  margin-right: 0.5rem;
}

/* Este selector aplica al texto plano que sigue al <span> */
.modulo-lecciones li {
  text-align: left;
   color: #000;
}


.modulo-lecciones a {
  margin-left: auto;
  font-size: 0.8rem;
  color: #ff6b00;
  text-decoration: none;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-content {
  background: #fff;
  padding: 1rem;
  border-radius: 8px;
  max-width: 90%;
  width: 600px;
  position: relative;
}

.modal-content iframe {
  width: 100%;
  height: 315px;
  border: none;
  border-radius: 6px;
}

.modal-close {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 1.2rem;
  cursor: pointer;
  color: #333;
}

.toggle-symbol {
  font-size: 2.2rem;
  color: #ff6b00;
  margin-left: 1rem;
}

.docente-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  max-width: 900px;
  margin: 2rem auto;
  padding: 1rem;
  flex-wrap: wrap;
}

.docente-foto {
  flex: 0 0 180px;
  text-align: center;
}

.docente-foto img {
  width: 100%;
  max-width: 280px;
  border-radius: 8px;
}

.docente-texto {
  flex: 1;
  text-align: left;
}

.docente-texto h2 {
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
  border-bottom: 2px solid #ff6b00;
  display: inline-block;
}

.docente-texto p {
  font-size: 1rem;
  line-height: 1.5;
  color: #333;
}

@media (max-width: 600px) {
  .docente-info {
    flex-direction: column;
    text-align: center;
  }

  .docente-texto {
    text-align: center;
  }
}

.bloque-premium {
  max-width: 900px;
  margin: 2rem auto;
  padding: 1.5rem;
  background-color: #f9f5f0;
  border: 1px solid #e0d4c0;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}

.premium-badge {
  background-color: #ffcc80;
  color: #5d4037;
  font-weight: bold;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  width: 320px;
  font-size: 1.3rem;
  flex: 0 0 auto;
}

.premium-contenido {
  flex: 1;
}

.premium-contenido p {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: #333;
}

.premium-contenido a {
  color: #0077cc;
  text-decoration: none;
  font-weight: bold;
}

.premium-contenido a:hover {
  text-decoration: underline;
}

.premium-rating {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.95rem;
  color: #444;
}

@media (max-width: 600px) {
  .bloque-premium {
    flex-direction: column;
    text-align: center;
  }

  .premium-rating {
    justify-content: center;
  }
}

.boton-wrapper {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}

.boton-comprar {
  padding: 0.8rem 1.6rem;
  background-color: rgb(250 204 21);
  font-weight: bold;
  font-size: 1.2rem;
  text-align: center;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
  color: #1a1a1a;
}

.oferta-especial {
  max-width: 900px;
  margin: 2rem auto;
  padding: 1.5rem;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  box-shadow: 0 13px 12px rgba(0, 0, 0, 0.08);
}


.oferta-contenido {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.oferta-video {
  position: relative;
  flex: 1 1 300px;
}

.oferta-video img {
  width: 100%;
  max-width: 300px;
  border-radius: 8px;
  height: 280px;
}

.oferta-detalles {
  flex: 1;
}

.precio-actual {
  font-size: 1.5rem;
  font-weight: bold;
  color: #d84315;
}

.precio-original {
  text-decoration: line-through;
  color: #999;
  font-size: 1rem;
  margin-left: 0.5rem;
}

.descuento {
  font-size: 1rem;
  color: #e65100;
  margin: 0.5rem 0;
}

.urgencia {
  font-size: 0.95rem;
  color: #c62828;
  margin-bottom: 1rem;
}

.botones-oferta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-comprar {
  padding: 0.8rem 1.6rem;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  font-size: 1rem;
  text-align: center;
  flex: 1 1 150px;
    background-color: #6a1b9a;
}

.btn-comprar {
  background-color: #6a1b9a;
  color: #fff;
  border: none;
}

@media (max-width: 700px) {
  .oferta-contenido {
    flex-direction: column;
    text-align: center;
  }

  .botones-oferta {
    justify-content: center;
  }
}

.aprendizaje {
  max-width: 900px;
  margin: 3rem auto;
  padding: 1.5rem;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  text-align: center;
}

.aprendizaje h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: #333;
}

.lista-aprendizaje {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.lista-aprendizaje li {
  font-size: 1.05rem;
  color: #444;
  padding-left: 0.5rem;
}

@media (max-width: 600px) {
  .lista-aprendizaje {
    grid-template-columns: 1fr;
  }

  .aprendizaje h2 {
    font-size: 1.5rem;
  }

  .lista-aprendizaje li {
    font-size: 1rem;
  }
}

.descripcion-curso {
  max-width: 900px;
  margin: 3rem auto;
  padding: 2rem 1.5rem;
  background-color: #fefefe;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  color: #333;
  font-family: 'Segoe UI', sans-serif;
}

.descripcion-curso h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #222;
}

.descripcion-contenido p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.descripcion-contenido strong {
  color: #6a1b9a;
}

.descripcion-lista {
  text-align: justify;
  list-style: none;
  padding-left: 0;
  margin: 1rem 0 2rem;
}

.descripcion-lista li {
  font-size: 1rem;
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
}

.descripcion-lista li::before {
  position: absolute;
  left: 0;
  top: 0;
}

@media (max-width: 600px) {
  .descripcion-curso {
    padding: 1.5rem 1rem;
  }

  .descripcion-curso h2 {
    font-size: 1.6rem;
  }

  .descripcion-contenido p {
    font-size: 1rem;
  }

  .descripcion-lista li {
    font-size: 0.95rem;
  }
}

.dirigido {
  max-width: 1000px;
  margin: 3rem auto;
  padding: 2rem 1rem;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
}

.dirigido h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #333;
}

.grid-dirigido {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  justify-items: center;
}

.card-dirigido {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  padding: 1.5rem;
  text-align: left;
  max-width: 280px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.8rem;
}

.icono {
  font-size: 1.8rem;
  color: #6a1b9a;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.card-dirigido p {
  font-size: 1rem;
  color: #444;
  line-height: 1.5;
  margin: 0;
}

.requisitos {
  max-width: 900px;
  margin: 3rem auto;
  padding: 2rem 1rem;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
}

.requisitos h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #333;
}

.grid-requisitos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  justify-items: center;
}

.card-requisitos {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  padding: 1.5rem;
  text-align: left;
  max-width: 280px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.8rem;
}

.icono {
  font-size: 1.8rem;
  color: #6a1b9a;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.card-requisitos p {
  font-size: 1rem;
  color: #444;
  line-height: 1.5;
  margin: 0;
}

.docente-texto {
  max-width: 900px;
  margin: 3rem auto;
  padding: 2rem 1.5rem;
  background-color: #fefefe;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  font-family: 'Segoe UI', sans-serif;
  color: #333;
  line-height: 1.7;
}

.docente-texto p {
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
}

.docente-texto .icono {
  font-size: 1.2rem;
  margin-right: 0.5rem;
  color: #6a1b9a;
}

.docente-lista {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0 2rem;
}

.docente-lista li {
  margin-bottom: 0.8rem;
  font-size: 1rem;

  align-items: flex-start;
  margin-top: -10px;
  text-align: justify;
}

.docente-lista .icono {
  margin-right: 0.6rem;
  margin-top: 0.2rem;
}
.text {
  font-family: sans-serif;
  font-size: 22px;
}

.testimonios {
  max-width: 900px;
  margin: 4rem auto;
  height: 120px;
  padding: 2rem 1rem;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
}

.testimonios h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #333;
}

.slider-container {
  position: relative;
  overflow: hidden;
  
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease;
}

.slide {
  min-width: 100%;
  box-sizing: border-box;
  padding: 2rem;
  background-color: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.slide img {
  width: 280px;      /* Buen tamaño para PC */
  height: 280px;
  object-fit: cover;
  
}

/* Tablets */
@media (max-width: 768px) {
  .slide img {
    width: 340px !important;
    height: 340px !important;
  }
}

/* Tablets */
@media (max-width: 768px) {

  .slide img {
    width: 340px !important;
    height: 570px !important;
  }
}

/* Tablets */
@media (max-width: 850px) {
  .slide img {
    width: 340px !important;
    height: 570px !important;
  }
}

/* Tablets */
@media (max-width: 1030px) {
  .dirigido{
  margin-top: 480px;
  }
  .slide img {
    width: 340px !important;
    height: 570px !important;
  }
   .dirigido{
  margin-top: 650px !important;
  }
}

/* Tablets */
@media (max-width: 1300px) {
  .dirigido{
  margin-top: 480px;
  }
  .slide img {
    width: 340px !important;
    height: 570px !important;
  }
   .dirigido{
  margin-top: 600px !important;
  }
}

/* Móviles */
@media (max-width: 480px) {
  .slide img {
    width: 340px !important;
    height: 570px !important;
  }
}

@media (min-width: 1301px) {
  .slide img {
   width: 340px ;
   height: 570px ;
  }
  .dirigido{
    margin-top: 590px !important;
  }
}

.slide p {
  font-size: 1.1rem;
  color: #444;
  max-width: 600px;
}

button.prev,
button.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #6a1b9a;
  color: #fff;
  border: none;
  padding: 0.6rem 1rem;
  font-size: 1.2rem;
  cursor: pointer;
  border-radius: 6px;
}

button.prev {
  left: 10px;
}

button.next {
  right: 10px;
}
#contador {
  text-align: center;
  margin: 20px 0;
  font-family: 'Poppins', sans-serif;
}

#contador p {
  font-size: 1rem;
  color: #ff4b2b;
  margin-bottom: 8px;
  font-weight: 600;
}

#tiempo {
  font-size: 2rem;
  font-weight: bold;
  color: #ff4b2b;
  background: #fff3f0;
  display: inline-block;
  padding: 10px 20px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(255, 75, 43, 0.2);
  letter-spacing: 2px;
}


@media (max-width: 600px) {
  .slide p {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .slide img {
    width: 60px;
    height: 60px;
  }
}

.metodos-pago {
  margin-top: 2rem;
  text-align: center;
}

.metodos-pago p {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #333;
}

.iconos-pago {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.iconos-pago img {
  height: 40px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.iconos-pago img:hover {
  transform: scale(1.05);
}

.certificacion-curso {
  max-width: 900px;
  margin: 4rem auto;
  padding: 2rem 1.5rem;
  background-color: #f4f6fa;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
}

.certificacion-curso h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #333;
}

.certificacion-contenido p {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: #444;
}

.certificacion-contenido .icono {
  font-size: 1.2rem;
  margin-right: 0.4rem;
  color: #6a1b9a;
}

.certificado-imagen {
  margin-top: 2rem;
}

.certificado-imagen img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.contador-visitas {
  max-width: 600px;
  margin: 2rem auto;
  padding: 1rem 1.5rem;
  background-color: #fff8e1;
  border: 1px solid #ffe082;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  font-family: 'Segoe UI', sans-serif;
  font-size: 1.1rem;
  color: #444;
  height: 12px;
  margin-top: 55px;
}
@media (max-width: 600px) {
  .contador-visitas {
   margin-top: 80px;
  }
}

.contador-icono {
  font-size: 1.6rem;
  color: #ff6f00;
}
@media (max-width: 600px) {
  .contador-icono {
   margin-top: -20px;
  }
}

#contador-numero {
  font-weight: bold;
  color: orange;
}

.section-title {
    font-size: 28px;
    text-align: center;
    font-weight: 900;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: -1px;
    position: relative;
    margin-bottom: 30px;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 5px;
    background: #16a34a; /* verde fuerte */
    border-radius: 2px;
    animation: expandLine 0.6s ease-out forwards;
}

@keyframes expandLine {
    from { width: 0; opacity: 0; }
    to   { width: 140px; opacity: 1; }
}

.icon {
    font-size: 2rem;
    margin-right: 10px;
}

/* ====== 1. Smartphones pequeños ====== */
@media (max-width: 480px) {
    .texto-responsive {
        text-align: justify;
        text-justify: auto;
        hyphens: auto;
        max-width: 100%;
        padding: 0 1rem;
    }
}

/* ====== 2. Móviles grandes / Phablets ====== */
@media (min-width: 481px) and (max-width: 768px) {
    .texto-responsive {
        text-align: justify;
        text-justify: auto;
        hyphens: auto;
        max-width: 100%;
        padding: 0 1rem;
    }
}

/* ====== 3. Tablets ====== */
@media (min-width: 769px) and (max-width: 1024px) {
    .texto-responsive {
        text-align: justify;
        text-justify: auto;
        hyphens: auto;
        max-width: 100%;
        padding: 0 1rem;
    }
}

/* Subtítulo */
.hero-subtitulo {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 400;
  margin: 0 0 12px;
  color: #E0E0E0;
  padding: 0 6px;
}

/* Título principal */
.hero-titulo {
  font-size: clamp(20px, 2.8vw, 28px);
  font-weight: 700;
  margin: 0 0 16px;
  line-height: 1.4;
  color: #fff;
  padding: 0 6px;
}

/* Beneficio económico */
.hero-beneficio {
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 400;
  margin: 0 0 12px;
  color: #E0E0E0;
  padding: 0 6px;
}

/* Colores de acento */
.hero-accent {
  color: #00E5FF;
}

.hero-tech {
  color: #FFD700;
  font-weight: 700;
}

/* Ajustes para móviles pequeños */
@media (max-width: 480px) {
  .hero-subtitulo {
    font-size: 22px !important;
    text-align: justify;
    line-height: 1.4;
    color: #E0E0E0;
    margin-bottom: 12px;
    text-align: left;
    margin-top: -50px;
  }

  .hero-titulo {
   text-align: left;               /* Evita los espacios feos de justify */
  font-size: clamp(30px, 2.5vw, 28px) !important; /* Se adapta a PC y mobile */
  line-height: 1.5;
  color: #fff;
  margin-bottom: 16px;
  word-break: break-word;
  hyphens: none;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
                 
  }

  .hero-beneficio {
   text-align: left !important;
    font-size: 20px !important;
    color: #E0E0E0;
   
  }
}

@media (max-width: 479px) {
   .hero-beneficio {
   text-align: left !important;
    font-size: 20px !important;
    color: #E0E0E0;
  }
}

/* Ajustes para móviles medianos (phablets) */
@media (max-width: 768px) {
  .hero-texto {
    text-align: center;
    padding: 0 24px;
  }

  .hero-subtitulo {
    font-size: 24px;
  }

  .hero-titulo {
    font-size: 22px;
  }

  .hero-beneficio {
    font-size: 20px;
  }
}
.image-linkedLn:hover{
  transform: scale(1.1);
  transition: transform 0.3s ease; 
}
