@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Chewy&family=Michroma&family=Rubik+Glitch&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Chewy&family=Michroma&family=Play:wght@400;700&family=Rubik+Glitch&display=swap');
*{margin: 0; padding: 0; box-sizing: border-box;}
h3{ font-size: clamp(1.4rem, 3.5vw, 1.5rem);}
h1 {
              font-family: "Michroma", sans-serif;
            color: black;
             font-size: clamp(1.8rem, 5vw, 2rem); /* Mín 1.8rem - Máx 2.5rem */
    line-height: 1.2;
            text-align: center;
            margin-bottom: 30px;
        }

          h1, h2, h3, p {
            text-align: center;
        }
p { font-size: clamp(1rem, 2.2vw, 1.2rem);margin-bottom: 15px;}


.sticky
{width: auto;
    
text-align: center;
max-width: 250px;
background: linear-gradient(135deg, #ff5f6d, #ffc371);
position: sticky; 
top: 0; 
margin-top: -15%;
padding: 20px; margin-left: -80%;
z-index: 100; 

border-radius: 15px;
            box-shadow: 0 10px 25px rgba(0,0,0,0.2);
            color: white;
          box-shadow: 0 10px 25px rgba(0,0,0,0.2);}


.stickyimg{max-width: 200px;  animation: constantMove 1.5s infinite ease-in-out;
        
        /* Efecto de sombra para hacerlo más visible */
        filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3)); }

.sticky p{font-size: clamp(1rem, 2.2vw, 1.2rem);}

/* ===== VERSIÓN DESKTOP ===== */
.sticky2 {
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    width: 200px;
    height: 100vh;
    background: lightgray;
    z-index: 100;
    overflow-y: auto;
}

.mobile-menu {
    display: none; /* Oculto en desktop */
}

.informes{ width: 100%}

   
    @keyframes constantMove {
        0%, 100% {
            transform: translateY(-5px);
        }
        50% {
            transform: translateY(15px);
        }
    }






 body {
            font-family: "Play", sans-serif;
            background-color: #f5f5f5;
            color: #333;
            background-image: url("../img/wallpaper-para-web.jpg");
            background-size: cover;
            background-attachment: fixed;
            line-height: 1.6;
            display: flex;
            flex-direction: column;
            align-items: center;
            min-height: 100vh;
            padding: 20px;
        } 


/* cuenta regresiva */
        .countdown-container {
           
            text-align: center;
            max-width: 600px;
            margin: 30px auto;
            padding: 25px;
            background: linear-gradient(135deg, #ff5f6d, #ffc371);
            border-radius: 15px;
            box-shadow: 0 10px 25px rgba(0,0,0,0.2);
            color: white;
        }
        
        .countdown-title {
            font-size: 24px;
            margin-bottom: 15px;
            font-weight: bold;
            text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
        }
        
        .countdown-display {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin: 20px 0;
        }
        
        .countdown-box {
            background: rgba(0,0,0,0.2);
            border-radius: 10px;
            padding: 15px 10px;
            min-width: 80px;
            backdrop-filter: blur(5px);
        }
        
        .countdown-value {
            font-size: 36px;
            font-weight: bold;
            line-height: 1;
        }
        
        .countdown-label {
            font-size: 14px;
            text-transform: uppercase;
            margin-top: 5px;
            opacity: 0.8;
        }
        
        .offer-message {
            font-size: 18px;
            margin-top: 20px;
            line-height: 1.5;
        }
        
        .highlight {
            background: rgba(255,255,255,0.3);
            padding: 2px 8px;
            border-radius: 5px;
            font-weight: bold;
        }

/* estilo de links */
/* unvisited link */
a:link {color: black;text-decoration:none;}

/* visited link */
a:visited {color: blueviolet;}

/* mouse over link */
a:hover {color: hotpink;}

/* selected link */
a:active {color: blue;}


/* contenedores principales 
          
          .main-container {
            width: 100%;            
            display: flex;
            flex-direction: column;
            align-items: center;
             box-sizing: border-box; 
        }*/


.main-container {
  width: calc(100% - 200px); /* 100% del ancho menos los 200px de .sticky2 */
  margin-left: 200px;        /* Empuja el contenido a la derecha de .sticky2 */
  display: flex;
  flex-direction: column;
  align-items: center;       /* Centra el contenido en el espacio restante */
  box-sizing: border-box;
}

          .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
            background-color: white;        
            margin-top: 25px;
            clear: both;
            border-radius: 20px;
            box-sizing: border-box; /* Asegura que el padding no afecte el ancho total */
    overflow-wrap: break-word; /* Rompe palabras largas */
    word-break: break-word; /* Alternativa para algunos navegadores */
        }

      .container2 {
   display: flex;
    justify-content: center; /* Centrado horizontal */
    align-items: center;
    margin: 2rem 0;
    width: 100%; /* Ocupa el 100% del contenedor padre */
    max-width: 1200px; /* Límite máximo (igual al .container padre) */
    margin-left: auto;
    margin-right: auto;
    overflow: hidden; /* Evita que cualquier elemento hijo se desborde */
}

        .container3
        {
      
        margin: 0 auto;
        padding: 20px;
        border-radius: 20px;
       
        background-color: white;
        margin-top: 30px;
        display: block;          /* Activa Flexbox */
        width: 100%;            /* Ocupa el ancho disponible */
        height: auto;
        
        }

        .container4
        {
        
        margin: 0 auto;
        padding: 20px;
        border-radius: 20px;
       
        background-color: white;
        margin-top: 0px;
        display: flex;          /* Activa Flexbox */
        width: 100%;            /* Ocupa el ancho disponible */
        
        }

        .container5{display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px; /* Espacio entre cuadrados */
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;


}


  .video-container {
        position: relative;
        width: 100%;
        max-width: 800px;
        margin: 0 auto;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 4px 8px rgba(0,0,0,0.8);
    }
    
    video {
        width: 100%;
        display: block;
        transition: all 0.3s ease;
    }
    
    /* Mensaje de pausa */
    .paused-message {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: white;
        font-size: 24px;
        font-weight: bold;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
        opacity: 0;
        transition: opacity 0.3s ease;
        z-index: 100;
        background: rgba(0,0,0,0.7);
        padding: 15px 30px;
        border-radius: 50px;
        pointer-events: none;
    }
    
    /* Overlay de pausa */
    .paused-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('../img/ADVERTENCIA2.jpg');
        background-size: cover;
        background-position: center;
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
        z-index: 1;
    }
    
    /* Mostrar elementos cuando el video está pausado */
    .video-container.paused .paused-message,
    .video-container.paused .paused-overlay {
        opacity: 1;
    }
    
    /* Oscurecer video cuando está pausado */
    .video-container.paused video {
        filter: brightness(0.6);
    }








        .titulo {

                     

        box-shadow: 0 0 10px rgba(238,157,218,1);
        border: 3px solid hotpink; 
        border-radius: 20px;
        }

        .chiquito {font-size: 18px}

         .boton2 {
        display: flex;
        justify-content: center;
        align-items: center ;
        text-align: center;
        width: 100%;
      

        }

        

         .boton {
        box-shadow: 0 0 10px rgba(238,157,218,1);
        border: 3px solid darkgoldenrod; 
        border-radius: 20px;
        justify-content: center;
        align-items: center ;
        text-align: center;
        width: 500px;
         background: linear-gradient(135deg, #ff5f6d, #ffc371);
         box-shadow: 0 10px 25px rgba(0,0,0,0.2);
            color: white;
           transition: all 0.3s ease;  

        }

        .boton:hover
        { transform: scale(1.05);
        box-shadow: 0 0 15px rgba(79, 172, 254, 0.6);}
        
        
        
        .highlight {
            font-weight: bold;
            color: #ff6600;
        }
        
        .course-title {
            font-size: 24px;
            color: #0066cc;
            margin: 20px 0;
            text-align: center;
        }
            
        
       
        
        .blender-highlight {
            font-weight: bold;
            color: #ff6600;
        }
   
  

       .garantia {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.garantia img {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(56, 182, 248, 0.5));
    transition: transform 0.3s ease;
}

.garantia img:hover {
    transform: scale(1.05);
}

        ..textogarantia {
    text-align: center;
    font-size: 1rem;
    color: #94a3b8;
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(30, 41, 59, 0.7);
    border-radius: 8px;
    border: 1px dashed #38bdf8;
}

          .garantia img
        {
             width:100%;
             height:auto;
                 
        }

      .foto2 {
   
  width: 100%; /* Se adapta al ancho de .container2 */
    height: auto; /* Altura proporcional */
    min-height: 300px; /* Altura mínima para móviles */
    max-width: 1200px; /* Máximo igual al contenedor */
    border-radius: 10px;
    background-image: url(../img/mockup.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    aspect-ratio: 16/9; /* Relación de aspecto (ajusta según tu imagen) */


   /* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);*/
}


        .testimonios {
        width: 100%;
        display: flex;          /* Activa Flexbox */
        flex-wrap: wrap;       /* Permite que los items se muevan a la siguiente línea si no caben */
        justify-content: center; /* Centra horizontalmente los items */
        gap: 20px;            /* Espacio entre imágenes */
    }

    .foto {
        width: auto;          /* Ancho ajustado al contenido */
        max-width: 100%;      /* Evita que se desborde */
        height: auto;         /* Altura automática (opcional) */
        display: flex;        /* Para alinear la imagen internamente si es necesario */
        justify-content: center;
    }

    .foto img {
        max-height: 300px;    /* Altura máxima (ajusta según necesites) */
        width: auto;          /* Ancho proporcional */
        border-radius: 8px;   /* Opcional: bordes redondeados */
        box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* Opcional: sombra */}



        .circulo

        {

             width: 120px;              /* Diámetro del círculo */
    height: 120px;             /* Mismo valor que width para ser perfecto */
    border-radius: 50%;        /* Hace el div circular */
    overflow: hidden;          /* Recorta la foto si es más grande */
    margin: 0 auto;            /* Centra horizontalmente */
    border: 3px solid #ffc371; /* Borde opcional */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* Sombra suave */
    background-image: url("../img/autoretratoweb.jpg");
    background-size: cover;    /* Cubre todo el fondo manteniendo proporciones */
    background-position: center center; /* Centra la imagen perfectamente */
    background-repeat: no-repeat; /* Evita que se repita la imagen */


}

        .texto{width: 100%;}
         .textogarantia{width: 100%;}

      .testimonios{width: 100%; display: flex;}

        .logos

        {
           border-collapse: separate; /* Necesario para que funcione border-spacing */
    border-spacing: 0px 30px; /* Espacio horizontal (20px) y vertical (15px) */
        text-align: center;
            width: 100%;
          
             
        }

         .tabla-logos td {
            
            vertical-align: middle; /* Alinea verticalmente el contenido */
            border: 1px solid #ddd; /* Borde opcional */
        }
  .logos img

        {
            width: 50px;
            height: 50px;
             
        }

     .testimonio-cuadrado {
    width: 300px;
    min-height: 200px;
    background: #f8f9fa;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin: 15px;
  }
  
  .texto-testimonio {
    font-size: 1rem;
    line-height: 1.5;
    color: #555;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.4s ease;
    margin-bottom: 15px;
  }
  
  .texto-testimonio.expandido {
    -webkit-line-clamp: unset;
    display: block;
  }
  
  .btn-ver-mas {
    background: linear-gradient(135deg, #ff5f6d, #ffc371);
    border: none;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s;
  }






/* ===== VERSIÓN MÓVIL (menú hamburguesa) ===== */
@media (max-width: 768px) {


   .main-container {
        width: 100vw;
        overflow-x: hidden;
        margin-left: 0;
        padding-top: 60px; /* Compensa la barra fija */
    }


    .container {
        margin-top: 60px; /* Espacio para la barra fija */


          width: calc(100% - 30px); /* 15px de padding a cada lado */
        padding: 15px;
    }


    /* Barra superior fija */
    .mobile-menu {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        
        z-index: 1000;

 
        width: 100vw; /* Ocupa exactamente el ancho visible */
        max-width: 100%; /* Previene overflow */
        box-sizing: border-box; /* Incluye padding en el ancho total */
        z-index: 1000;
        overflow-x: hidden; 

    }

    .top-bar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        height: 60px;
        background: white;
        padding: 0 15px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);

        max-width: 100vw;
        padding: 0 15px;
        box-sizing: border-box;
    }

    /* Botón hamburguesa */
    .hamburger {
        background: linear-gradient(135deg, #ff5f6d, #ffc371);
        border: none;
        padding: 10px;
        border-radius: 5px;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 40px;
        height: 40px;
    }

    .hamburger .bar {
        width: 100%;
        height: 3px;
        background: white;
        transition: all 0.3s ease;
    }

    /* Contenedor de logos centrados */
    .header-logos {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 25px; /* Más espacio entre logos */
    }

    .header-logos img {
        width: 30px;
        height: 30px;
        transition: transform 0.3s ease;
    }

    .header-logos img:hover {
        transform: scale(1.1);
    }

    /* Foto de perfil derecha */
    .user-logo {
        width: 40px;
        height: 40px;
    }

    .profile-pic {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        background-size: cover;
        background-position: center;
        border: 2px solid #ffc371;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    }

    /* Menú desplegable */
    .menu-content {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 85%;
        height: calc(100vh - 60px);
        background: white;
        box-shadow: 5px 0 25px rgba(0,0,0,0.15);
        padding: 25px;
        transition: all 0.3s ease;
        overflow-y: auto;
        z-index: 999;
    }

     .menu-content {
        width: 85vw; /* Ancho relativo al viewport */
        max-width: 300px; /* Límite máximo */
    }

    .menu-content.active {
        left: 0;
    }

    .close-menu {
        position: absolute;
        top: 15px;
        right: 15px;
        background: transparent;
        border: none;
        font-size: 32px;
        color: #ff5f6d;
        cursor: pointer;
    }

    /* Ocultar barra lateral original */
    .sticky2 {
        display: none !important;
    }


}

@media (min-width: 769px) {
    .mobile-menu {
        display: none;
    }
}


@media (max-width: 480px) {
  .logos {
    border-spacing: 0px 15px;
  }

  .logos img {
    width: 40px;
    height: 40px;
  }

  .countdown-value {
    font-size: 24px;
  }

  .countdown-label {
    font-size: 12px;
  }

  .offer-message {
    font-size: 16px;
  }

  .video-container {
    border-radius: 0;
  }



/* Optimizaciones CSS generales */
.main-container {
  transition: margin 0.3s ease;
}



.video-container {
  aspect-ratio: 16/9;
}

.countdown-container, .boton {
  transition: transform 0.3s ease;
}

.countdown-container:hover, .boton:hover {
  transform: scale(1.02);
}

.testimonio-cuadrado {
  transition: box-shadow 0.3s ease;
}

.testimonio-cuadrado:hover {
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Mejora de legibilidad */
body {
  line-height: 1.5;
}

p {
  hyphens: auto;
}

/* Optimización de selectores */
[class*="container"] {
  box-sizing: border-box;
}

}






    .garantia
        {
            
            float: none;           
            justify-content: center;
            align-items: center ;
            width: 100%;
            display: flex;       

        }

    .foto img{max-width: 600px}



  


        .garantia img

        {
          width: 50%;
         height: auto;       
        }



}



@media screen and (max-width: 540px) 
{
 



 .garantia, .foto2 {
  display: flex;
  justify-content: center;
  align-items: center;
}

.garantia img,  {
 width: 70%;
}






  .countdown-container {max-width: 400px; }


         .countdown-box {
            
            min-width: 70px;
           
        }


        .countdown-label {
            font-size: 10px;
          
        }




}

@media screen and (max-width: 430px) 

{
    .boton{width: 250px}


 

  .countdown-container { max-width: 310px;}
    .countdown-box { min-width: 60px;}


        .countdown-label { font-size: 8px;}

.container{width: 95%}
} */