/*=========================================================
    CAL SOLUTIONS
    estilos.css
=========================================================*/

/*=========================
RESET
=========================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

:root{

    --azul:#2563EB;
    --azul-hover:#1D4ED8;
    --azul-claro:#DBEAFE;

    --oscuro:#0F172A;
    --gris:#64748B;
    --claro:#F8FAFC;
    --blanco:#FFFFFF;
    --borde:#E2E8F0;

    --radio:20px;

    --sombra:
        0 15px 40px rgba(15,23,42,.08);

    --sombra-hover:
        0 25px 60px rgba(37,99,235,.15);

    --transicion:.30s ease;

}

body{

    font-family:'Poppins',sans-serif;
    background:var(--claro);
    color:var(--oscuro);
    line-height:1.7;
    overflow-x:hidden;

}

img{

    display:block;
    max-width:100%;

}

a{

    text-decoration:none;
    color:inherit;

}

section{

    padding:110px 0;

}

.contenedor{

    width:min(92%,1280px);
    margin:auto;

}
/*=========================================================
HEADER
=========================================================*/

header{

    position:fixed;
    inset:0 0 auto 0;

    background:rgba(255,255,255,.90);

    backdrop-filter:blur(14px);

    border-bottom:1px solid var(--borde);

    z-index:1000;

}

.menu{

    height:85px;

    display:flex;
    justify-content:space-between;
    align-items:center;

    gap:40px;

}

.logo img{

    width:185px;

}

nav{

    display:flex;
    gap:35px;

}

nav a{

    font-weight:600;
    color:var(--oscuro);
    transition:var(--transicion);
    position:relative;

}

nav a:hover{

    color:var(--azul);

}

nav a::after{

    content:"";

    position:absolute;

    left:0;
    bottom:-8px;

    width:0;

    height:3px;

    background:var(--azul);

    transition:var(--transicion);

}

nav a:hover::after{

    width:100%;

}
/*=========================================================
BOTONES
=========================================================*/

.btn,
.btn-header{

    display:inline-flex;

    align-items:center;
    justify-content:center;

    gap:10px;

    border-radius:50px;

    transition:.30s;

    font-weight:600;

}

.btn{

    padding:16px 34px;

}

.btn-header{

    padding:14px 28px;

    background:var(--azul);

    color:white;

}

.btn-header:hover{

    background:var(--azul-hover);

}

.btn-azul{

    background:var(--azul);

    color:#FFF;

}

.btn-azul:hover{

    transform:translateY(-4px);

}

.btn-blanco{

    background:#FFF;

    color:var(--oscuro);

    border:1px solid var(--borde);

}

.btn-blanco:hover{

    transform:translateY(-4px);

}
/*=========================================================
HERO
=========================================================*/

.hero{

    min-height:100vh;

    display:flex;
    align-items:center;

    padding-top:170px;

    background:

    linear-gradient(
        135deg,
        #FFFFFF,
        #F5F9FF
    );

}

.hero-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:80px;

    align-items:center;

}

.hero-etiqueta{

    display:inline-flex;

    align-items:center;

    gap:10px;

    padding:10px 22px;

    background:var(--azul-claro);

    color:var(--azul);

    border-radius:50px;

    font-weight:600;

    margin-bottom:28px;

}

.hero-texto h1{

    font-size:clamp(3rem,5vw,4.7rem);

    line-height:1.1;

    margin-bottom:25px;

}

.hero-texto h1 span{

    color:var(--azul);

}

.hero-texto p{

    font-size:1.15rem;

    color:var(--gris);

    max-width:600px;

}

.hero-botones{

    display:flex;

    gap:18px;

    margin:40px 0;

    flex-wrap:wrap;

}

.hero-datos{

    display:flex;

    gap:15px;

    flex-wrap:wrap;

}

.hero-datos span{

    background:#FFF;

    padding:14px 20px;

    border-radius:50px;

    box-shadow:var(--sombra);

    display:flex;

    gap:10px;

    align-items:center;

}

.hero-datos i{

    color:var(--azul);

}
/*=========================================================
PANTALLA
=========================================================*/

.hero-imagen{

    display:flex;

    justify-content:center;

}

.pantalla{

    background:#FFF;

    border-radius:22px;

    overflow:hidden;

    box-shadow:0 35px 70px rgba(15,23,42,.15);

    transition:.35s;

}

.pantalla:hover{

    transform:translateY(-8px);

}

.pantalla-top{

    height:45px;

    display:flex;

    align-items:center;

    gap:8px;

    padding:0 18px;

    background:#EEF2F7;

}

.rojo,
.amarillo,
.verde{

    width:12px;
    height:12px;

    border-radius:50%;

}

.rojo{background:#FF5F56;}
.amarillo{background:#FFBD2E;}
.verde{background:#27C93F;}

.pantalla img{

    display:block;

}
/*=========================================================
SERVICIOS
=========================================================*/

.servicios{
    background:#FFFFFF;
}

.titulo{
    text-align:center;
    margin-bottom:60px;
}

.subtitulo{
    display:inline-block;
    padding:10px 20px;
    background:var(--azul-claro);
    color:var(--azul);
    border-radius:50px;
    font-weight:600;
    margin-bottom:20px;
}

.titulo h2{
    font-size:clamp(2rem,4vw,3rem);
    margin-bottom:20px;
}

.titulo p{
    max-width:700px;
    margin:auto;
    color:var(--gris);
}

.servicios-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:30px;

    margin-top:70px;

}

.servicio-card{

    background:#FFF;

    padding:35px;

    border-radius:22px;

    border:1px solid var(--borde);

    box-shadow:var(--sombra);

    transition:var(--transicion);

}

.servicio-card:hover{

    transform:translateY(-8px);

    box-shadow:var(--sombra-hover);

}

.icono-servicio{

    width:70px;

    height:70px;

    display:flex;

    justify-content:center;

    align-items:center;

    border-radius:18px;

    background:var(--azul-claro);

    color:var(--azul);

    font-size:30px;

    margin-bottom:25px;

}

.servicio-card h3{

    margin-bottom:15px;

    font-size:1.5rem;

}

.servicio-card p{

    color:var(--gris);

    line-height:1.8;

}

/*=========================================================
PRODUCTOS
=========================================================*/

.productos{

    background:#FFFFFF;

}

.productos-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:35px;

    margin-top:70px;

}

.producto-card{

    background:#FFF;

    border-radius:22px;

    overflow:hidden;

    box-shadow:var(--sombra);

    transition:var(--transicion);

    border:1px solid var(--borde);

    display:flex;

    flex-direction:column;

}

.producto-card:hover{

    transform:translateY(-10px);

    box-shadow:var(--sombra-hover);

}

.producto-card img{

    width:100%;

    height:240px;

    object-fit:cover;

    transition:.40s;

}

.producto-card:hover img{

    transform:scale(1.05);

}

.producto-info{

    padding:30px;

    display:flex;

    flex-direction:column;

    flex:1;

}

.categoria{

    display:inline-block;

    width:max-content;

    padding:8px 18px;

    border-radius:50px;

    background:var(--azul-claro);

    color:var(--azul);

    font-size:.85rem;

    font-weight:600;

    margin-bottom:18px;

}

.producto-info h3{

    font-size:1.7rem;

    margin-bottom:15px;

}

.producto-info p{

    color:var(--gris);

    margin-bottom:22px;

}

.producto-info ul{

    list-style:none;

    margin-bottom:30px;

    display:flex;

    flex-direction:column;

    gap:14px;

}

.producto-info ul li{

    position:relative;

    padding-left:28px;

    color:var(--oscuro);

    font-weight:500;

}

.producto-info ul li::before{

    content:"✔";

    position:absolute;

    left:0;

    top:0;

    color:var(--azul);

    font-weight:700;

}

.producto-info .btn{

    margin-top:auto;

    width:100%;

}
/*=========================================================
PROCESO
=========================================================*/

.proceso{

    background:linear-gradient(
        180deg,
        #F8FAFC,
        #FFFFFF
    );

}

.proceso-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;

    margin-top:70px;

}

.paso{

    background:#FFF;

    padding:40px 30px;

    border-radius:22px;

    text-align:center;

    border:1px solid var(--borde);

    box-shadow:var(--sombra);

    transition:var(--transicion);

    position:relative;

    overflow:hidden;

}

.paso:hover{

    transform:translateY(-10px);

    box-shadow:var(--sombra-hover);

}

.numero{

    width:75px;

    height:75px;

    margin:0 auto 25px;

    border-radius:50%;

    background:linear-gradient(
        135deg,
        var(--azul),
        var(--azul-hover)
    );

    color:#FFF;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:1.5rem;

    font-weight:700;

    box-shadow:0 15px 30px rgba(37,99,235,.25);

}

.paso h3{

    font-size:1.4rem;

    margin-bottom:15px;

    color:var(--oscuro);

}

.paso p{

    color:var(--gris);

    font-size:.98rem;

    line-height:1.8;

}

.paso::before{

    content:"";

    position:absolute;

    top:0;

    left:0;

    width:100%;

    height:5px;

    background:linear-gradient(
        90deg,
        var(--azul),
        #60A5FA
    );

    transform:scaleX(0);

    transition:.35s;

}

.paso:hover::before{

    transform:scaleX(1);

}
/*=========================================================
CTA
=========================================================*/

.cta{

    background:linear-gradient(
        135deg,
        #2563EB,
        #1D4ED8
    );

    color:#FFF;

    text-align:center;

}

.cta .subtitulo{

    display:inline-block;

    background:rgba(255,255,255,.15);

    color:#FFF;

    padding:10px 22px;

    border-radius:50px;

    margin-bottom:25px;

    font-weight:600;

}

.cta h2{

    font-size:clamp(2.3rem,4vw,3.3rem);

    margin-bottom:25px;

}

.cta p{

    max-width:760px;

    margin:auto;

    opacity:.95;

    font-size:1.08rem;

    line-height:1.8;

}

.cta .hero-botones{

    justify-content:center;

    margin-top:45px;

}

.cta .btn-blanco{

    background:#FFF;

    color:var(--azul);

}

.cta .btn-blanco:hover{

    background:#F8FAFC;

}

.cta .btn-azul{

    background:#0F172A;

}

.cta .btn-azul:hover{

    background:#020617;

}
/*=========================================================
FOOTER
=========================================================*/

footer{

    background:#0F172A;

    color:#CBD5E1;

    padding:80px 0 30px;

}

.footer{

    display:grid;

    grid-template-columns:2fr 1fr 1fr;

    gap:60px;

}

.footer-logo{

    width:180px;

    margin-bottom:20px;

}

.footer-col p{

    color:#94A3B8;

    line-height:1.9;

    margin-bottom:12px;

}

.footer-col h3{

    color:#FFF;

    margin-bottom:22px;

    font-size:1.25rem;

}

.footer-col a{

    display:block;

    color:#CBD5E1;

    margin-bottom:12px;

    transition:.3s;

}

.footer-col a:hover{

    color:#60A5FA;

    transform:translateX(5px);

}

.footer-col i{

    color:#60A5FA;

    width:22px;

}

.redes{

    display:flex;

    gap:15px;

    margin-top:25px;

}

.redes a{

    width:45px;

    height:45px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    background:rgba(255,255,255,.08);

    transition:.3s;

}

.redes a:hover{

    background:var(--azul);

    color:#FFF;

    transform:translateY(-5px);

}

.copyright{

    margin-top:60px;

    padding-top:25px;

    border-top:1px solid rgba(255,255,255,.10);

    text-align:center;

    color:#94A3B8;

    font-size:.95rem;

}
/*=========================================================
WHATSAPP
=========================================================*/

.whatsapp{

    position:fixed;

    right:30px;

    bottom:30px;

    width:65px;

    height:65px;

    border-radius:50%;

    background:#25D366;

    color:#FFF;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:2rem;

    box-shadow:0 18px 40px rgba(37,211,102,.35);

    z-index:999;

    transition:.3s;

}

.whatsapp:hover{

    transform:scale(1.12);

    box-shadow:0 22px 50px rgba(37,211,102,.45);

}
/*=========================================================
RESPONSIVE
=========================================================*/

@media(max-width:992px){

    .hero-grid,
    .productos-grid,
    .proceso-grid,
    .footer{

        grid-template-columns:1fr;

    }

    .servicios-grid{

        grid-template-columns:repeat(2,1fr);

    }

    nav{

        display:none;

    }

    .hero{

        text-align:center;

    }

    .hero-botones,
    .hero-datos{

        justify-content:center;

    }

}

@media(max-width:768px){

    section{

        padding:80px 0;

    }

    .hero-texto h1{

        font-size:2.6rem;

    }

    .servicios-grid{

        grid-template-columns:1fr;

    }

    .hero-botones{

        flex-direction:column;

    }

    .btn{

        width:100%;

    }

    .btn-header{

        display:none;

    }

    .whatsapp{

        width:58px;

        height:58px;

        font-size:1.8rem;

        right:20px;

        bottom:20px;

    }

}
.producto-img{
    position:relative;
    overflow:hidden;
}

.producto-img img{
    width:100%;
    height:320px;
    object-fit:contain;
    background:#f8fbff;
    padding:20px;
    transition:.4s;
}

.producto-card:hover .producto-img img{
    transform:scale(1.03);
}

.estado{
    position:absolute;
    top:18px;
    right:18px;
    background:#2563eb;
    color:#fff;
    padding:8px 18px;
    border-radius:50px;
    font-size:.8rem;
    font-weight:700;
    box-shadow:0 10px 20px rgba(37,99,235,.25);
}

.producto-img{
    height:230px;
    overflow:hidden;
    border-radius:20px 20px 0 0;
    background:#f5f8ff;
}

.producto-img img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.4s;
}

.producto-card:hover .producto-img img{
    transform:scale(1.05);
}