/* ==========================
   CONFIGURACIÓN GENERAL
========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#f4f7fb;
    overflow-x:hidden;
}

/* ==========================
   NAVBAR
========================== */

.navbar{
    position:relative;
    top:auto;
    left:auto;
    width:100%;
    height:80px;
  background:rgba(15, 109, 196, 0.85);
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:0 30px;
    z-index:9999;
}

.left-nav{
    display:flex;
    align-items:center;
    gap:18px;
}

.left-nav a{
    text-decoration:none;
    color:white;
    font-size:15px;
    font-weight:500;
    transition:.3s;
}

.left-nav a:hover{
    color:#4de28b;
}

.center-nav h1{
    color:white;
    font-size:28px;
    font-weight:700;
}

.right-nav{
    display:flex;
    gap:15px;
}

.right-nav i{
    color:white;
    font-size:20px;
    cursor:pointer;
    transition:.3s;
}

.right-nav i:hover{
    transform:scale(1.1);
}

.hero{
    position:relative;
    width:100%;
    height:100vh;
    overflow:hidden;
    background:#032149;
}

.slide{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    opacity:0;
    visibility:hidden;
    transition:opacity 1s ease-in-out;
}

.slide.active{
    opacity:1;
    visibility:visible;
    z-index:2;
}

.slide img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center top;
    display:block;
}

/* CELULAR Y TABLET */
@media(max-width:768px){

    .hero{
        height:70vh;
        min-height:420px;
    }

    .slide img{
        object-fit:contain;
        object-position:center;
        background:#032149;
    }

    .slider-btn{
        width:42px;
        height:42px;
        font-size:22px;
    }

    .prev{
        left:10px;
    }

    .next{
        right:10px;
    }
}

/* ==========================
   BOTONES DEL SLIDER
========================== */

.slider-btn{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:60px;
    height:60px;
    border:none;
    border-radius:50%;
    background:rgba(255,255,255,.20);
    color:white;
    font-size:30px;
    cursor:pointer;
    z-index:5;
    transition:.3s;
    backdrop-filter:blur(5px);
}

.slider-btn:hover{
    background:rgba(255,255,255,.4);
}

.prev{
    left:25px;
}

.next{
    right:25px;
}

/* OVERLAY OSCURO */
.hero-overlay{
    position: absolute;
    inset: 0;
     backdrop-filter:blur(1.8px);
    background: rgba(0,0,0,.45);
    z-index: 3;
}

/* CONTENIDO DEL HERO */
.hero-content{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    text-align: center;
    color: white;
}

.hero-content h2{
    font-size: 4rem;
    margin-bottom: 15px;
}

.hero-content p{
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* BOTÓN */
#scrollBtn{
    padding: 15px 35px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
}
/* ==========================
   PRODUCTOS
========================== */

.products{
    padding:120px 8%;
    background:#f4f7fb;
    position:relative;
    z-index:10;
}

.title-section{
    text-align:center;
    margin-bottom:50px;
}

.title-section h2{
    font-size:52px;
    color:#111827;
}

.title-section p{
    max-width:900px;
    margin:15px auto;
    color:#6b7280;
    font-size:18px;
}

.products-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:30px;
}

.product-card{
    background:white;
    border-radius:20px;
    overflow:hidden;
    position:relative;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
    transition:.3s;
}

.product-card:hover{
    transform:translateY(-8px);
}

.product-card img{
    width:100%;
    height:280px;
    object-fit:contain;
    background:white;
    padding:15px;
}

.badge{
    position:absolute;
    top:15px;
    right:15px;
    background:white;
    padding:8px 15px;
    border-radius:20px;
    font-size:12px;
    font-weight:600;
    box-shadow:0 2px 10px rgba(0,0,0,.1);
}

.product-info{
    padding:25px;
}

.product-info h3{
    font-size:24px;
    color:#111827;
}

.price{
    margin:10px 0 15px;
    font-size:22px;
    font-weight:bold;
    color:#032149;
}


*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background:#f5f7fa;
    padding:0px 0px;
}

/* CONTENEDOR */

.producto-detalle{
    max-width:1200px;
    margin:auto;

    background:#fff;
    border-radius:25px;

    display:flex;
    align-items:center;
    gap:50px;

    padding:50px;

    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

/* IMAGEN */

.producto-imagen{
    flex:1;
}

.producto-imagen img{
    width:100%;
    max-width:450px;
    display:block;
    margin:auto;
}

/* TEXTO */

.producto-texto{
    flex:1;
}

.producto-texto h1{
    font-size:50px;
    color:#111827;
    margin-bottom:20px;
}

.descripcion{
    font-size:18px;
    color:#555;
    line-height:1.8;
    margin-bottom:25px;
}

.producto-texto h3{
    margin-top:20px;
    margin-bottom:10px;
    color:#111827;
}

.producto-texto ul{
    padding-left:20px;
}

.producto-texto li{
    margin-bottom:10px;
    color:#555;
}

.producto-texto p{
    color:#555;
    line-height:1.7;
}

.precio{
    margin-top:25px;
    color:#032149;
    font-size:35px;
}

/* BOTON */

.btn-whatsapp{
    margin-top:25px;

    background:#25D366;
    color:white;

    border:none;
    border-radius:12px;

    padding:15px 30px;

    font-size:18px;
    font-weight:bold;

    cursor:pointer;
    transition:.3s;
}

.btn-whatsapp:hover{
    transform:translateY(-3px);
}

/* CELULAR */

@media(max-width:768px){

    .producto-detalle{
        flex-direction:column;
        text-align:center;
        padding:30px;
    }

    .producto-texto h1{
        font-size:38px;
    }

    .precio{
        font-size:28px;
    }

    .producto-texto ul{
        text-align:left;
    }
}
/* ==========================
   BOTONES PRODUCTOS
========================== */

.botones-producto{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.botones-producto a{
    text-decoration:none;
}

.btn-comprar,
.btn-info{
    width:100%;
    padding:12px;
    border:none;
    border-radius:10px;
    color:white;
    font-weight:bold;
    cursor:pointer;
    transition:.3s;
}

.btn-comprar{
    background:#28a745;
}

.btn-comprar:hover{
    background:#218838;
}

.btn-info{
    background:#007bff;
}

.btn-info:hover{
    background:#0056b3;
}

/* ==========================
   FOOTER
========================== */

.footer{
   background:#ff6f00;
    color:white;
    margin-top:80px;
}

.footer-contenedor{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:40px;
    padding:60px 8%;
}

.footer-logo{
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
}

.footer-logo img{
    width:100%;
    max-width:160px;
    min-width:80px;
    height:auto;
    object-fit:contain;
    margin-bottom:15px;
}

.footer-logo h3{
    margin-bottom:10px;
}

.footer-links{
    display:flex;
    flex-direction:column;
}

.footer-links a{
    color:white;
    text-decoration:none;
    margin-bottom:10px;
    transition:.3s;
}

.footer-links a:hover{
    color:#00ff26;
}

.footer-redes a{
    color:white;
    font-size:32px;
    margin-right:15px;
    transition:.3s;
}

.footer-redes a:hover{
    color:#00d26a;
}

.footer-contacto p{
    margin-bottom:10px;
}


/* ==========================
   WHATSAPP FLOTANTE
========================== */

.whatsapp{
    position:fixed;
    bottom:20px;
    left:20px;
    width:65px;
    height:65px;
    background:#25D366;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    color:white;
    font-size:34px;
    text-decoration:none;
    z-index:9999;
    box-shadow:0 4px 15px rgba(0,0,0,.3);
    transition:.3s;
}

.whatsapp:hover{
    transform:scale(1.1);
}

/* ==========================
   TABLETS
========================== */

@media(max-width:1024px){

    .hero-content h2{
        font-size:50px;
    }

    .title-section h2{
        font-size:42px;
    }

    .footer-logo img{
        max-width:140px;
    }

}

/* ==========================
   CELULARES
========================== */

@media(max-width:768px){

.navbar{
    padding:0 10px;
    height:70px;
    position:relative;
    top:auto;
    left:auto;
    z-index:9999;
}

    .left-nav{
        gap:8px;
    }

    .left-nav a{
        font-size:11px;
    }

    .center-nav h1{
        font-size:20px;
    }

    .right-nav i{
        font-size:16px;
    }

    .hero-content h2{
        font-size:34px;
    }

    .hero-content p{
        font-size:16px;
    }

    .products-grid{
        grid-template-columns:1fr;
    }

    .footer{
        text-align:center;
    }

    .footer-contenedor{
        grid-template-columns:1fr;
    }

    .footer-logo img{
        max-width:120px;
    }

}

/* ==========================
   CELULARES PEQUEÑOS
========================== */

@media(max-width:480px){

    .navbar{
        padding:0 5px;
    }

    .left-nav a{
        font-size:10px;
    }

    .center-nav h1{
        font-size:16px;
    }

    .footer-logo img{
        max-width:100px;
    }

}




/* iPhone y Safari */

a[x-apple-data-detectors]{
    color:inherit !important;
    text-decoration:none !important;
    font-size:inherit !important;
    font-family:inherit !important;
    font-weight:inherit !important;
}




/* ==========================
   PAGINA PRODUCTOS
========================== */

.productos-page{
    padding:140px 8% 80px;
}

.productos-titulo{
    text-align:center;
    margin-bottom:60px;
}

.productos-titulo h1{
    font-size:52px;
    color:#111827;
    margin-bottom:15px;
}

.productos-titulo p{
    max-width:850px;
    margin:auto;
    color:#6b7280;
    line-height:1.8;
    font-size:18px;
}

/* GRID */

.productos-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(420px,1fr));
    gap:40px;
}

/* TARJETA */

.producto-card{

    background:white;

    border-radius:25px;

    padding:30px;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

    display:flex;
    flex-direction:column;

    transition:.3s;

    min-height:850px;
}

.producto-card:hover{
    transform:translateY(-8px);
}

/* IMAGEN */

.producto-card img{
    width:100%;
    height:300px;
    object-fit:contain;
    margin-bottom:25px;
}

/* TITULO */

.producto-card h2{
    font-size:32px;
    color:#111827;
    margin-bottom:20px;
    text-align:center;
}

/* TEXTO */

.producto-card p{
    color:#555;
    line-height:1.8;
    margin-bottom:15px;
    font-size:16px;
}

/* LISTAS */

.producto-card ul{
    margin-left:20px;
    margin-bottom:20px;
}

.producto-card li{
    margin-bottom:8px;
    color:#555;
}

/* PRECIO */

.precio-producto{

    margin-top:auto;

    text-align:center;

    font-size:32px;

    font-weight:bold;

    color:#2563eb;

    margin-bottom:20px;
}

/* BOTON */

.btn-producto{

    display:block;

    width:100%;

    text-align:center;

    background:#25D366;

    color:white;

    text-decoration:none;

    padding:16px;

    border-radius:12px;

    font-size:17px;

    font-weight:600;

    transition:.3s;
}

.btn-producto:hover{
    background:#1fb856;
}

/* ==========================
   TABLET
========================== */

@media(max-width:1024px){

    .productos-grid{
        grid-template-columns:1fr;
    }

    .producto-card{
        min-height:auto;
    }

}

/* ==========================
   CELULAR
========================== */

@media(max-width:768px){

    .productos-page{
        padding:120px 20px 60px;
    }

    .productos-titulo h1{
        font-size:36px;
    }

    .productos-titulo p{
        font-size:16px;
    }

    .producto-card{
        padding:25px;
        min-height:auto;
    }

    .producto-card img{
        height:240px;
    }

    .producto-card h2{
        font-size:26px;
    }

    .precio-producto{
        font-size:28px;
    }

}

/* ==========================
   CELULAR PEQUEÑO
========================== */

@media(max-width:480px){

    .productos-grid{
        grid-template-columns:1fr;
    }

    .producto-card{
        padding:20px;
    }

    .producto-card img{
        height:200px;
    }

    .producto-card h2{
        font-size:22px;
    }

    .precio-producto{
        font-size:24px;
    }

}



/* FInal de CSS */
/* FInal de CSS */

/* HERO RESPONSIVO */
.slide picture{
    width:100%;
    height:100%;
    display:block;
}

.slide picture img,
.slide img{
    width:100%;
    height:100%;
    display:block;
}

/* CELULAR */
@media(max-width:768px){

    .hero{
        height:70vh !important;
        min-height:420px !important;
        background:#032149 !important;
    }

    .slide picture img,
    .slide img{
        object-fit:cover !important;
        object-position:center center !important;
        background:#032149 !important;
    }
}

/* ==========================
   NOSOTROS
========================== */

.nosotros-page{
    padding:130px 8% 80px;
    background:#f4f7fb;
}

.nosotros-hero{
    text-align:center;
}

.nosotros-hero h1{
    font-size:60px;
    color:#111827;
    margin-bottom:15px;
}

.nosotros-hero p{
    max-width:850px;
    margin:0 auto 40px;
    font-size:18px;
    color:#6b7280;
    line-height:1.8;
}

.nosotros-hero img{
    width:100%;
    max-width:1300px;
    height:auto;
    border-radius:30px;
    box-shadow:0 15px 40px rgba(0,0,0,.15);
}

.historia{
    max-width:1000px;
    margin:80px auto;
    text-align:center;
}

.historia h2,
.valores h2{
    font-size:42px;
    color:#111827;
    margin-bottom:20px;
}

.historia p{
    color:#555;
    font-size:18px;
    line-height:1.9;
}

.mision-vision{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:35px;
    margin-bottom:80px;
}

.info-card{
    background:white;
    padding:40px;
    border-radius:25px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    text-align:center;
}

.info-card i{
    font-size:45px;
    color:#25D366;
    margin-bottom:20px;
}

.info-card h2{
    font-size:34px;
    color:#111827;
    margin-bottom:15px;
}

.info-card p{
    color:#555;
    line-height:1.8;
}

.valores{
    text-align:center;
}

.valores-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
    margin-top:40px;
}

.valor-card{
    background:white;
    padding:30px;
    border-radius:22px;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
}

.valor-card i{
    font-size:35px;
    color:#00aa4f;
    margin-bottom:15px;
}

.valor-card h3{
    color:#111827;
    margin-bottom:10px;
}

.valor-card p{
    color:#555;
    line-height:1.7;
}

.frase-nosotros{
    margin-top:90px;
    background:#032149;
    color:white;
    text-align:center;
    padding:60px 30px;
    border-radius:30px;
}

.frase-nosotros h2{
    font-size:42px;
    margin-bottom:10px;
}

.frase-nosotros p{
    font-size:22px;
}

/* RESPONSIVE */
@media(max-width:1024px){
    .valores-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:768px){
    .nosotros-page{
        padding:120px 20px 60px;
    }

    .nosotros-hero h1{
        font-size:42px;
    }

    .mision-vision{
        grid-template-columns:1fr;
    }

    .valores-grid{
        grid-template-columns:1fr;
    }
}




/* ==========================
   TESTIMONIOS
========================== */

.testimonios-page{
    padding:130px 8% 80px;
    background:#f4f7fb;
}

.testimonios-hero{
    text-align:center;
    margin-bottom:70px;
}

.testimonios-hero h1{
    font-size:60px;
    color:#111827;
    margin-bottom:15px;
}

.testimonios-hero p{
    max-width:850px;
    margin:auto;
    font-size:18px;
    color:#6b7280;
    line-height:1.8;
}

.testimonio-bloque{
    max-width:1200px;
    margin:0 auto 80px;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:45px;
    align-items:center;
}

.testimonio-bloque.invertido .testimonio-texto{
    order:2;
}

.testimonio-texto{
    background:white;
    padding:45px;
    border-radius:28px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.testimonio-texto span{
    color:#00aa4f;
    font-weight:700;
    letter-spacing:1px;
}

.testimonio-texto h2{
    font-size:36px;
    color:#111827;
    margin:15px 0;
}

.testimonio-texto p{
    color:#555;
    font-size:17px;
    line-height:1.8;
}

.testimonio-video video{
    width:100%;
    border-radius:28px;
    box-shadow:0 12px 35px rgba(0,0,0,.18);
    background:#032149;
}

.frases-compra{
    max-width:1200px;
    margin:90px auto 0;
    background:#032149;
    color:white;
    text-align:center;
    padding:70px 40px;
    border-radius:35px;
}

.frases-compra h2{
    font-size:46px;
    margin-bottom:15px;
}

.frases-compra > p{
    font-size:19px;
    margin-bottom:40px;
}

.frases-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
    margin-bottom:45px;
}

.frases-grid div{
    background:rgba(255,255,255,.08);
    padding:30px;
    border-radius:22px;
}

.frases-grid i{
    font-size:38px;
    color:#4de28b;
    margin-bottom:15px;
}

.frases-grid h3{
    font-size:22px;
    margin-bottom:10px;
}

.frases-grid p{
    color:#e5e7eb;
    line-height:1.7;
}

.btn-testimonios{
    display:inline-block;
    background:#25D366;
    color:white;
    text-decoration:none;
    padding:16px 40px;
    border-radius:40px;
    font-weight:700;
    transition:.3s;
}

.btn-testimonios:hover{
    background:#1fb856;
    transform:translateY(-3px);
}

/* RESPONSIVE */
@media(max-width:900px){
    .testimonio-bloque{
        grid-template-columns:1fr;
    }

    .testimonio-bloque.invertido .testimonio-texto{
        order:0;
    }

    .frases-grid{
        grid-template-columns:1fr;
    }
}

@media(max-width:768px){
    .testimonios-page{
        padding:120px 20px 60px;
    }

    .testimonios-hero h1{
        font-size:42px;
    }

    .testimonio-texto{
        padding:30px;
    }

    .testimonio-texto h2{
        font-size:28px;
    }

    .frases-compra h2{
        font-size:34px;
    }
}









/* ==========================
   IMAGEN LABORATORIO
========================== */

.laboratorio{
    max-width:850px;
    margin:0 auto 85px;
    text-align:center;
}

.laboratorio img{
    width:100%;
    max-width:520px;
    height:280px;
    object-fit:cover;
    display:block;
    margin:0 auto 25px;
    border-radius:25px;
    box-shadow:0 12px 30px rgba(0,0,0,.15);
}

.laboratorio p{
    max-width:700px;
    margin:auto;
    color:#555;
    font-size:18px;
    line-height:1.8;
}

@media(max-width:768px){

    .laboratorio{
        margin:0 auto 60px;
    }

    .laboratorio img{
        max-width:100%;
        height:230px;
        border-radius:20px;
    }

    .laboratorio p{
        font-size:16px;
        padding:0 10px;
    }

}

/* TÍTULO CENTRAL DEL NAVBAR */

.center-nav a {
    color: white;
    text-decoration: none;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Evita que cambie a morado después de visitarlo */

.center-nav a:visited {
    color: white;
    text-decoration: none;
}

/* Efecto al pasar el mouse */

.center-nav a:hover {
    color: white;
    text-decoration: none;
    transform: scale(1.05);
    opacity: 0.9;
}

/* Evita el subrayado al presionarlo */

.center-nav a:active {
    color: white;
    text-decoration: none;
}






/* ==========================
   BOTÓN GUARDAR IMAGEN
========================== */

.botones-producto{
    margin-top:15px;
}

.btn-guardar{
    width:100%;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:8px;

    padding:12px 15px;

    background:#1b75d0;
    color:#fff;

    border-radius:10px;
    text-decoration:none;

    font-family:'Poppins',sans-serif;
    font-size:14px;
    font-weight:600;

    transition:.25s;
}

.btn-guardar:hover{
    background:#155da5;
    transform:translateY(-2px);
    box-shadow:0 8px 18px rgba(0,0,0,.18);
}

.btn-guardar i{
    font-size:16px;
}

.btn-guardar:visited,
.btn-guardar:active{
    color:white;
    text-decoration:none;
}














/* ==========================
   MENÚ DE CATEGORÍAS
========================== */
.menu-categorias{
    position:relative;

    width:100%;
    max-width:none;

    margin:0;
    padding:0 30px;

    z-index:2000;

    background:#ffffff;
    box-shadow:0 6px 18px rgba(0,0,0,.08);
}

.boton-categorias{
    width:100%;
    min-height:58px;

    padding:14px 0;

    display:flex;
    align-items:center;
    gap:12px;

    background:#ffffff;
    color:#10182d;

    border:none;
    border-bottom:1px solid #dfe5ec;
    border-radius:0;

    font-family:'Poppins',sans-serif;
    font-size:16px;
    font-weight:600;

    cursor:pointer;

    box-shadow:none;
}

.flecha-menu{
    margin-left:auto;
    transition:transform .3s ease;
}

.boton-categorias.activo .flecha-menu{
    transform:rotate(180deg);
}

.lista-categorias{
    display:none;

    position:absolute;

    top:100%;
    left:30px;
    right:30px;

    grid-template-columns:repeat(3,1fr);
    gap:10px;

    padding:18px;

    background:#ffffff;
    border:1px solid #e1e5ec;
    border-radius:0 0 16px 16px;

    box-shadow:0 18px 40px rgba(15,23,42,.18);

    z-index:3000;
}

.lista-categorias.mostrar{
    display:grid;
}

.lista-categorias a{
    min-height:48px;
    padding:12px 15px;

    display:flex;
    align-items:center;

    color:#17213a;
    background:#f4f6fa;

    border-radius:10px;
    text-decoration:none;

    font-family:'Poppins',sans-serif;
    font-size:14px;
    font-weight:500;

    transition:.2s ease;
}

.lista-categorias a:hover{
    background:#3189d1;
    color:#ffffff;
    transform:translateY(-2px);
}

@media(max-width:900px){

    .lista-categorias{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:600px){

    .menu-categorias{
        margin-top:90px;
        padding:0 15px;
    }

    .lista-categorias{
        left:15px;
        right:15px;

        grid-template-columns:1fr;

        max-height:65vh;
        overflow-y:auto;
    }

}