html{
    font-family: 'Montserrat', sans-serif;
    display: flex;
    flex-direction: column; 
    height: 100%;
 }

main {
    flex: 1; /* Hace que el contenido ocupe el espacio disponible */
}

body {
    background-color: black; /* #121212; Background gris oscuro*/
    display: flex;
    flex-direction: column;
    height: 100%;
    
}

header img {
    display: block;
    max-width: 7rem;
    margin: 0;
    align-items: top;
}

header {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
}

h1 {
    margin-bottom: 2rem;
    letter-spacing: 2px;
    font-size: 2.2rem;
    color: white;
    text-align: center;
    position: relative;
    padding: 0rem;
}

h1 span {
    position: relative;
    display: inline-block;
}

h1 span::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0em;
    width: 100%;
    height: 0.5em;
    /* background-color: rgba(255, 160, 64, 0.3); */
    background-color: rgba(255, 128, 0, 0.3);
    z-index: -1;
}


.first-section {
    max-width: 1000px;
    text-align: center;
}

.first-section h2{
    font-size: 1rem;
    font-weight: 400;
    margin: 0;
    color: white;
    background: rgba(255, 128, 0, 0.129); 
    border: solid 1px gray;
    border-radius: 5px;
    padding: 0.5rem 0.8rem;
    display: inline-block;
}

.first-section p {
    font-size: 1.1rem;
    color: white;
    margin-top: 0;
    margin-bottom: 4rem;
}

section {
    max-width: 95%;
    padding: 0 10px;
    margin: 0 auto;
    box-sizing: border-box;
}

section video{
    display: block;
    width: 100%;
    max-width: 1000px;
    border-radius: 10px;
    background-color: #232323;
    box-shadow: 0px 0px 15px 3px #ffffff;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    margin: 0 auto;
    padding: 0.6rem;
}

section video:hover {
    box-shadow: 0px 0px 20px 5px #ffffff;
}

.buttonLink {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 300px;
    height: 40px;
    margin: 3rem auto;
    border-radius: 10px;
    font-weight: bold;
    text-align: center;
    border: 2px solid #ffffff;
    box-shadow: 0px 0px 10px 2px #ffffff;
    background-color: #ffffff;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    color: black;
    font-size: 14px;
    text-decoration: none; /* Evita subrayado si es un enlace */
}

.buttonLink:hover {
    box-shadow: 0px 0px 20px 5px #ffffff;
    transform: scale(1.05);
}

section p {
    color: white;
    font-size: 1.8rem;
    text-align: center;
}

.seccion {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1.5s ease, transform 1.5s ease;
}

/* Cuando el elemento entra en el viewport */
.seccion.visible {
    opacity: 1;
    transform: translateY(0);
}

h2 {
    color: #ffffff;
    text-align: center;
    font-size: 2rem;
}

.global-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center; /* Cambiado de space-between a center */
    margin: 6rem auto;
    max-width: 100%;
    flex-wrap: wrap;
}

.left-container, .right-container {
    flex: 1;
}

.left-container {
    text-align: left;
    display: none; /* Oculto si no lo vas a usar ahora */
}

.global-container .right-container {
    text-align: left;
    border: 1px solid #f3f3f3;
    border-radius: 20px;
    background: linear-gradient(to bottom, #121212, black);
    max-width: 550px;
    min-width: 350px;
    flex-shrink: 0;
    margin: 0 auto; /* Asegura el centrado */
}

.right-container div {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;

}

.right-container p {
    font-size: 1.2rem;
    padding: 1rem;
    text-align: center;
}

.global-container i {
    color: black;
    font-size: 10rem;
    text-shadow: 0 0 5px #ffffff, 0 0 25px #ffffff;
}

h3 {
    color: #ffffff;
    font-size: 6rem;
}

h4 {
    font-size: 1.5rem;
}

 .global-container h4 {
    color: white;
    text-shadow: 0 0 0px white;
    font-size: 1.5rem;
    text-align: center;
}

.highlight {
    font-weight: bold;
    display: inline;
    background: linear-gradient(to top, rgb(255, 255, 255) 40%, transparent 40%);
}

.extra-container {
    display: flex;
    max-width: 1000px;
    align-items: center;
    justify-content: center; 
    border: 2px solid #ffffff;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(18, 18, 18, 0.8), rgba(255, 128, 0, 0.12), rgba(18, 18, 18, 0.8)); 
    margin: 0 auto;
    padding: 1.5rem;
    position: relative;
    overflow: visible;
}

.extra-container i{
    color: #ffffff;
}

.extra-container .extra-container-left i{
    color: black;
    font-size: 14rem;
    align-items: center;
    text-shadow: 0 0 10px #ffffff, 0 0 25px #ffffff;
}

.extra-container p {
    margin: 1rem auto;
    width: 100%;
}

.testimonies {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
    margin: 0;
}

.title-section {
    color: white;
}

.title-section span{
    color: white;
    font-weight: bold;
    display: inline;
    background: linear-gradient(to top, rgb(255, 255, 255) 55%, transparent 40%);
}

.testimonies div {
    display: flex;
    border-radius: 30px;
    width: 100%;
    max-width: 800px;
    box-shadow: 0px 0px 10px 1px #ffffff;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    padding: 1rem;
    background: linear-gradient(135deg, rgb(255, 255, 255), rgba(18, 18, 18, 0.8), rgba(255, 128, 0, 0.1), rgba(18, 18, 18, 0.8)); 
    flex-direction: column;
}

.testimonies .seccion {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1.5s ease, transform 1.5s ease;
}

.testimonies .seccion.visible {
    opacity: 1;
    transform: translateY(0);
}

.testimonies div:hover {
    box-shadow: 0px 0px 20px 5px #ffffff;
}

.testimonies video {
    display: block;
    width: 100%;
    border-radius: 20px;
    box-shadow: none;
    margin: 0 auto;
    padding: 0;
}

.testimonies video:hover {
    box-shadow: none;
}

.testimonies article {
    display: flex;
    flex-direction: column;
    text-align: left;
    margin-left: 1rem;
}

.testimonies h4 {
    margin-top: 1rem;
    font-size: medium;
    font-weight: 400;
    color: gray;
    margin-bottom: 0.5rem;
}
.testimonies p {
    text-align: left;
    margin: 0;
    font-size: 0.8rem;
    color: rgb(102, 101, 101);
}

.will-get-container {
    display: grid;
    max-width: 1000px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 280px)); 
    justify-content: center;
    gap: 2rem;
}

.mini-container {
    display: flex;
    border: 1px solid #ffffff;
    border-radius: 20px;
    background: linear-gradient(to bottom, black, rgb(255, 255, 255));
    flex-direction: column;
    text-align: center;
}

.mini-container h5 {
    color: white;
    font-size: 18px;
    margin: 0.5rem;
    font-weight: bold;
}

.mini-container p {
    color: white;
    margin-bottom: 1rem;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    font-size: 16px;
}

.mini-container i {
    color: black;
    font-size: 10rem;
    margin-top: 1rem;
    align-items: center;
    text-shadow: 0 0 10px white, 0 0 25px white;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.faq-item {
    margin-bottom: 10px;
}

.faq-question {
    background-color: #121212;
    color: white;
    padding: 10px;
    width: 100%;
    text-align: left;
    border: none;
    cursor: pointer;
    font-size: 1.3rem;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: filter 0.5s ease;
}

.faq-question:hover {
    filter: brightness(1.5);
}

.faq-question .icon {
    font-weight: bold;
    color: #f9f9f9;
    transition: transform 0.3s ease; /* Transición suave para la rotación */
}

.faq-answer {
    padding: 0 10px;
    background: rgba(255, 128, 0, 0.1);
    color: white;
    margin-top: 5px;
    border-radius: 5px;
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease-out, padding 0.3s ease-out, filter 0.3s ease;
}

.faq-answer:hover {
    filter: brightness(1.4);
}

.faq-answer p {
    font-size: 1rem;
    text-align: left;
}

.faq-answer a {
    text-decoration: none;
    color: #ffffff;
}

.faq-answer a:hover {
    color: #888888;
}

.faq-answer span {
    font-weight: bold;
}

.faq-answer.show {
    height: auto;
    padding: 10px;
}

footer {
    margin-top: auto;
    width: 100%;
    margin-bottom: 1em;
}

footer p{
    color: gray;
    font-size: 1rem;
    text-align: center;
    margin-bottom: 1em;
}

@media (max-width: 850px) {
    .extra-container {
        flex-direction: column;
        align-items: center;
        max-width: 400px;
    }

    .extra-container p {
        font-size: 1rem;
    }
    .extra-container img {
        max-width: 200px;
    }
}

@media (max-width: 700px) {

    h1 {
        font-size: 1.4rem;
        margin-bottom: 0.5rem;
    }

    header img {
        max-width: 4rem;
    }

    .first-section h2{
        font-size: 0.8rem;
    }

    .first-section p {
        font-size: 1rem;
        margin-top: 0;
        margin-bottom: 2rem;
    }

    section video{
        padding: 0.2rem;
        box-sizing: border-box;
    }

    h2 {
        margin: 0;
        font-size: 1.4rem;
    }

    .right-container h4 {
        font-size: 1.2rem;
    }

    .fases {
        padding: 0;
        margin: 0 auto;
    }

    @media (max-width: 768px) {
        .fases .global-container {
          margin-bottom: 2.5rem; /* o ajusta a 3rem si quieres aún más aire */
        }
      }

    .global-container {
        flex-direction: column;
        align-items: center;
        margin: 0;
    }

    .global-container .right-container {
        min-width: 100px;
    }
    
    .right-container p {
        font-size: 1rem;
        padding: 1rem;
        text-align: center;
    }
    
    .global-container i {
        color: black;
        font-size: 8rem;
        text-shadow: 0 0 10px #ffffff, 0 0 25px #ffffff;
    }

    .extra-container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        margin-top: 2rem;
        max-width: 400px;
    }

    .extra-container p {
        font-size: 1rem;
        text-align: left;
        max-width: 280px;
        margin: 0 auto;
    }
    .extra-container .extra-container-left i{
        font-size: 8rem;
    }

    .testimonies {
        padding: 0;
        margin: 0 auto;
    }

    .testimonies div {
        border-radius: 20px;
        padding: 0.5rem;
    }

    .will-get{
        padding: 0;
        margin: 0 auto;
    }

    .will-get-container {
        margin-top: 2rem;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .mini-container {
        width: 100%;
    }

    .mini-container i {
        font-size: 8rem;
    }
    .mini-container p {
        font-size: 1rem;
    }

    footer p {
        font-size: 0.8rem;
    }
}

.fases .global-container .seccion div i {
    font-size: 60px; /* Ajusta este valor según el tamaño que necesites */
}

.global-container .seccion {
    transition: all 0.3s ease; /* Transición suave */
}

.global-container .seccion:hover {
    transform: scale(1.01); /* Zoom más suave (solo 2%) */
    box-shadow: 0 0 10px rgb(255, 255, 255); /* Sombra difusa y ligera, color naranja */
    cursor: default; /* Cambia el cursor */
}

.right-container p {
    font-size: 0.9rem; /* Ajusta el tamaño según lo que necesites */
}

/* Asegúrate de que las fases estén correctamente alineadas en pantallas móviles */
@media only screen and (max-width: 768px) {
    .fases .global-container {
        flex-direction: column; /* Apilar los elementos de forma vertical en pantallas pequeñas */
        align-items: flex-start;
    }

    .fases .seccion {
        width: 100%; /* Los elementos deben tomar todo el ancho disponible */
        margin-bottom: 20px; /* Añade separación entre las secciones */
    }

    .fases .extra-container {
        margin-top: 20px; /* Añadir separación al apilar los elementos */
    }

    .fases .right-container {
        display: flex;
        flex-direction: column;
    }
}

/* Asegura que haya suficiente espacio debajo del encabezado en pantallas pequeñas */
@media only screen and (max-width: 768px) {
    .first-section {
        margin-bottom: 30px; /* Añade un margen inferior adecuado */
    }
}


/* Ajusta el margen del logo en pantallas pequeñas */
@media only screen and (max-width: 768px) {
    header img {
        margin-bottom: 30px; /* Añade un margen superior adecuado */
    }
}

/* Ajustar el margen inferior del logo en pantallas grandes (solo en escritorio) */
@media only screen and (min-width: 1024px) {
    header img {
        margin-bottom: -80px !important; /* Ajustar el margen inferior de forma controlada */
    }
}

.bloque-wsp {
    display: flex;
    justify-content: center;
    margin: 2rem auto 1rem auto; /* buen margen arriba y controlado abajo */
  }
  
  @media (min-width: 768px) {
    .bloque-wsp {
      margin-top: 2.5rem;
      margin-bottom: 0.5rem; /* margen reducido en escritorio */
    }
  }
  
  .boton-wsp {
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 20px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s ease;
    border: none;
  }
  
  .boton-wsp:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }
  
  .boton-wsp i {
    font-size: 1rem;
  }

.boton-mentorias {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.083); /* Fondo oscuro y limpio */
    color: white;
    padding: 6px 16px;
    font-size: 0.85rem;
    border-radius: 12px; /* Bordes suaves como los del footer */
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
  }
  
  .boton-mentorias:hover {
    background-color: rgba(255, 255, 255, 0.1); /* Efecto sutil al pasar el cursor */
    color: white;
  }

/* Centrado en el contenedor */
.right-container {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centra el contenido */
}


/* Estilo del footer */
footer {
    text-align: center;
    padding: 20px 0;
}

/* Estilo para los enlaces de las redes sociales */
footer a {
    font-size: 22px; /* Tamaño más pequeño para los iconos */
    margin: 0 10px; /* Reducido el margen entre los iconos */
    color: #cccccc; /* Color naranja */
    text-decoration: none;
    transition: color 0.3s;
}

/* Efecto hover */
footer a:hover {
    color: #ccccccc5; /* Naranja más oscuro para hover */
}

/* Opcional: Si quieres que los iconos se alineen mejor en pantallas pequeñas */
footer div {
    display: flex;
    justify-content: center;
    align-items: center;
}


.mentorias-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
    color: #222;
    padding: 15px;
    box-sizing: border-box;
    background-color: #000; /* para que el h5 blanco se vea, ajusta si quieres */
  }
  
  .mentorias-wrapper > h5 {
    font-weight: 700;
    font-size: 1rem;
    margin: 0 0 12px 0;
    color: #fff;
    text-align: center;
  }
  
  .mentorias-wrapper .ml-embedded {
    width: 100%;
  }
  
  .mentorias-wrapper .ml-embedded input[type="checkbox"] {
    margin-right: 6px !important;
    vertical-align: middle !important;
    position: relative !important;
    top: 1px !important;
  }
  
  .mentorias-wrapper .ml-embedded label {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    justify-content: flex-start !important;
    cursor: pointer !important;
    margin-left: 20px !important; /* Ajusta este valor para dar espacio a la izquierda */
    padding-left: 0 !important;
    text-align: left !important;
    width: auto !important; /* Que no ocupe todo el ancho */
    max-width: 100%;
  }

  .mentorias-wrapper h5 {
    all: unset;
    font-weight: 700;
    font-size: 1rem;
    margin: 0;
    color: #fff;
    text-align: center;
  }


  #boton-wsp-container {
    margin: 15px auto;
    width: max-content;
    display: flex;
    justify-content: center;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  
  .boton-wsp-centro {
    background-color: #25d366;
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    cursor: pointer;
    user-select: none;
  }
  
  .boton-wsp-centro i {
    font-size: 22px;
  }
  
  /* Oculto por defecto con scroll */
  #boton-wsp-container.oculto {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .mentorias-wrapper p {
    font-size: 0.9rem;         /* Tamaño pequeño */
    color: #b3b3b3;             /* Gris claro y legible */
    margin-top: 0.5rem;         /* Espacio superior opcional */
    line-height: 1.4;           /* Altura de línea para mejor lectura */
  }

  .footer-buttons-clean {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
  }
  
  .footer-buttons-clean a {
    background-color: rgba(255, 255, 255, 0.04);
    color: white;
    padding: 5px 10px;
    border-radius: 10px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    transition: background-color 0.3s ease;
  }
  
  .footer-buttons-clean a:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: white;
  }
  
  .footer-buttons-clean i {
    font-size: 0.85rem;
  }
  
  
  .footer-copy {
    font-size: 0.7rem;
    color: #aaa;
    font-weight: 400;
    text-align: center;
    margin-top: 1rem;
  }