:root {
    --azul-principal: #0C3B63;
    --azul-medio: #3E6E97;
    --gris-claro: #EEF3F7;
    --gris-oscuro: #5D6672;
    --blanco: #FFFFFF;
    --sombra:
        0 20px 40px rgba(12, 59, 99, .12);
    --transicion:
        all .35s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #fff;
    color: var(--gris-oscuro);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;

}

a {
    text-decoration: none;
    color: inherit;
}


.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
}

.navbar {
    width: 90%;
    margin: auto;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: .4s;
}

.header.scrolled .navbar {
    background: white;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, .08);
    padding: 0 30px;
    border-radius: 0 0 20px 20px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--azul-principal);
    transition: .3s;
}

/* animación */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}


.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}

.logo span {
    color: #0C3B63
}

.logo img {
    width: 160px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    font-weight: 500;
    color: var(--azul-principal);
    position: relative;
}

.nav-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0%;
    height: 3px;
    background: var(--azul-medio);
    transition: .3s;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-button a {
    background: var(--azul-principal);
    color: white;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transicion);
}

.nav-button a:hover {
    background: var(--azul-medio);
    transform: translateY(-3px);
}

.menu-toggle {
    display: none;
    font-size: 25px;
    color: var(--azul-principal);
}

.hero {
    min-height: 100vh;
    background:
        linear-gradient(135deg,
            #ffffff 40%,
            #EEF3F7);
    display: flex;
    align-items: center;
    padding-top: 100px;
}



.hero-container {

    width: 90%;

    max-width: 1200px;

    margin: auto;

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 60px;

    align-items: center;


}




.tag {


    display: inline-block;

    background: #dceaf6;

    color: var(--azul-principal);

    padding: 10px 20px;

    border-radius: 30px;

    font-size: 14px;

    font-weight: 600;

    margin-bottom: 25px;


}





.hero-text h1 {


    font-size: 55px;

    line-height: 1.15;

    color: var(--azul-principal);

    margin-bottom: 25px;


}



.hero-text h1 strong {

    color: var(--azul-medio);

}





.hero-text p {


    font-size: 18px;

    line-height: 1.7;

    margin-bottom: 35px;


}




.hero-buttons {


    display: flex;

    gap: 20px;


}



.btn-primary,
.btn-outline {


    padding: 15px 35px;

    border-radius: 35px;

    font-weight: 600;

    transition: .3s;


}



.btn-primary {


    background: var(--azul-principal);

    color: white;


}



.btn-primary:hover {


    background: var(--azul-medio);

    transform: translateY(-5px);


}



.btn-outline {


    border: 2px solid var(--azul-principal);

    color: var(--azul-principal);


}



.btn-outline:hover {

    background: var(--azul-principal);

    color: white;

}





.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;


}



.hero-image img {


    position: relative;

    z-index: 2;

    animation: floating 5s infinite ease-in-out;


}



.circle-animation {


    position: absolute;

    width: 400px;

    height: 400px;

    background: #dceaf6;

    border-radius: 50%;

    right: 0;

    top: 20px;

}





@keyframes floating {


    50% {

        transform: translateY(-15px);

    }

}









/* =====================================================
   TITULOS SECCIONES
===================================================== */


.section-title {


    text-align: center;

    max-width: 800px;

    margin: auto;

    margin-bottom: 70px;


}



.section-title span {


    color: var(--azul-medio);

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 2px;


}



.section-title h2 {


    font-size: 40px;

    color: var(--azul-principal);

    margin: 15px 0;


}





.section-title p {


    line-height: 1.7;


}










/* =====================================================
   ABOUT
===================================================== */


.about,
.services,
.process,
.clients {


    padding: 100px 8%;


}



.about-grid {


    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 30px;


}



.about-card {


    padding: 40px 30px;

    background: white;

    border-radius: 20px;

    box-shadow: var(--sombra);

    text-align: center;

    transition: .3s;


}



.about-card:hover {


    transform: translateY(-10px);


}



.about-card i {


    font-size: 40px;

    color: var(--azul-medio);

    margin-bottom: 20px;


}



.about-card h3 {


    color: var(--azul-principal);

    margin-bottom: 15px;


}








/* =====================================================
   SERVICIOS
===================================================== */


.services {

    background: var(--gris-claro);

}



.service-grid {


    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 25px;


}



.service-card {


    background: white;

    padding: 35px;

    border-radius: 20px;

    transition: .3s;

    box-shadow: var(--sombra);


}



.service-card:hover {


    transform: translateY(-10px);

}



.service-card .icon {


    width: 70px;

    height: 70px;

    background: #dceaf6;

    display: flex;

    justify-content: center;

    align-items: center;

    border-radius: 20px;

    margin-bottom: 25px;


}



.service-card i {

    font-size: 30px;

    color: var(--azul-principal);

}



.service-card h3 {

    color: var(--azul-principal);

    margin-bottom: 15px;

}



.service-card a {


    display: inline-block;

    margin-top: 20px;

    color: var(--azul-medio);

    font-weight: 600;


}








/* =====================================================
   ESTADISTICAS
===================================================== */


.numbers {


    background:

        linear-gradient(120deg,
            #0C3B63,
            #3E6E97);

    padding: 70px 8%;

    color: white;


}



.numbers-container {


    display: grid;

    grid-template-columns: repeat(4, 1fr);

    text-align: center;

}



.numbers h2 {


    font-size: 50px;

}



.numbers p {


    opacity: .9;

}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.step {
    padding: 35px;
    background: var(--gris-claro);
    border-radius: 20px;
}

.step strong {
    font-size: 50px;
    color: #c9dbea;
}

.step h3 {
    color: var(--azul-principal);
}

.client-box {
    text-align: center;
}

.contact {
    background: var(--gris-claro);
    padding: 100px 8%;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact h2 {
    font-size: 45px;
    color: var(--azul-principal);
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input,
textarea {
    padding: 18px;
    border: none;
    border-radius: 12px;
    outline: none;
}

textarea {
    height: 150px;
}

button {
    padding: 18px;
    border: none;
    background: var(--azul-principal);
    color: white;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
}

/*=========================================
            FOOTER PREMIUM
=========================================*/

footer {

    background: linear-gradient(180deg, #071f36 0%, #051524 100%);
    color: #fff;
    padding: 80px 8% 30px;

}

.footer-content {

    max-width: 1300px;
    margin: auto;

    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 70px;
    align-items: flex-start;

}

.footer-logo {

    width: 180px;
    margin-bottom: 25px;

}

.footer-about p {

    color: #C7D4E0;
    line-height: 1.9;
    max-width: 420px;
    font-size: 15px;

}

footer h3 {

    font-size: 22px;
    margin-bottom: 25px;
    color: #fff;
    position: relative;

}

footer h3::after {

    content: "";
    width: 45px;
    height: 3px;
    background: #3E6E97;
    position: absolute;
    left: 0;
    bottom: -10px;
    border-radius: 50px;

}

.footer-links {

    list-style: none;

}

.footer-links li {

    margin-bottom: 16px;

}

.footer-links a {

    color: #C7D4E0;
    text-decoration: none;
    transition: .3s;

}

.footer-links a:hover {

    color: #fff;
    padding-left: 8px;

}

.footer-contact p {

    color: #C7D4E0;
    line-height: 1.8;
    margin-bottom: 30px;

}

.social {

    display: flex;
    gap: 18px;

}

.social a {

    width: 55px;
    height: 55px;

    display: flex;
    justify-content: center;
    align-items: center;

    border-radius: 16px;

    background: rgba(255, 255, 255, .05);

    border: 1px solid rgba(255, 255, 255, .08);

    color: #fff;

    font-size: 22px;

    transition: .35s;

}

.social a:hover {

    background: #0C3B63;
    border-color: #3E6E97;
    transform: translateY(-6px);

    box-shadow: 0 12px 30px rgba(0, 0, 0, .35);

}

.footer-line {

    margin: 60px auto 25px;
    max-width: 1300px;

    border: none;
    border-top: 1px solid rgba(255, 255, 255, .08);

}

.copyright {

    max-width: 1300px;
    margin: auto;

    text-align: center;

    color: #AAB8C5;

    font-size: 14px;
    letter-spacing: .3px;

}

.copyright strong {

    color: #fff;

}

/*=============================
        RESPONSIVE
=============================*/

@media(max-width:900px) {

    .footer-content {

        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;

    }

    .footer-logo {

        margin: auto auto 25px;

    }

    .footer-about p {

        margin: auto;

    }

    footer h3::after {

        left: 50%;
        transform: translateX(-50%);

    }

    .social {

        justify-content: center;

    }

}


/* =====================================================
   RESPONSIVE
===================================================== */


@media(max-width:1000px) {


    .hero-container,
    .contact-container {


        grid-template-columns: 1fr;


    }



    .about-grid,
    .service-grid,
    .process-grid {


        grid-template-columns: 1fr 1fr;


    }



    .numbers-container {


        grid-template-columns: 1fr 1fr;


    }


}





@media(max-width:700px) {


    logo {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: row;
    }

    .logo span {
        width: 40%;
    }

    .logo img {
        width: 40%;
    }

    .circle-animation {
        display: none;
    }

    .hero-image {
        display: none;
    }

















    .nav-menu {


        position: absolute;

        top: 90px;

        left: -100%;

        background: white;

        width: 100%;

        flex-direction: column;

        text-align: center;

        padding: 30px;

        transition: .4s;


    }



    .nav-menu.active {

        left: 0;

    }



    .menu-toggle {

        display: block;

    }



    .nav-button {

        display: none;

    }



    .hero-text h1 {


        font-size: 38px;

    }



    .about-grid,
    .service-grid,
    .process-grid,
    /* .footer-content, */
    .numbers-container {


        grid-template-columns: 1fr;


    }



    .hero-buttons {
        flex-direction: column;

    }

    .nav-menu {
        position: fixed;
        /* mejor que absolute */
        top: 90px;
        left: -100%;
        height: calc(100vh - 90px);
    }





}

/* Animaciones JS */

.hidden {

    opacity: 0;
    transform: translateY(40px);
    transition: all .8s ease;

}


.show {

    opacity: 1;
    transform: translateY(0);

}


/*=========================================
            CLIENTES
=========================================*/

.clients {

    padding: 100px 8%;
    background: #fff;

}

.client-box {

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 60px;

}

.client-card {

    background: #fff;
    border-radius: 18px;
    padding: 30px;
    height: 180px;

    display: flex;
    justify-content: center;
    align-items: center;

    box-shadow: 0 10px 30px rgba(12, 59, 99, .08);

    transition: .35s;

    border: 1px solid #EEF3F7;

}

.client-card:hover {

    transform: translateY(-8px);

    box-shadow: 0 18px 45px rgba(12, 59, 99, .15);

}

.client-card img {

    max-width: 170px;
    max-height: 90px;

    width: auto;
    height: auto;

    object-fit: contain;

    transition: .35s;

    filter: grayscale(100%);
    opacity: .8;

}

.client-card:hover img {

    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.05);

}

/*=============================
        TABLET
=============================*/

@media(max-width:992px) {

    .client-box {

        grid-template-columns: repeat(2, 1fr);

    }

}

/*=============================
        CELULAR
=============================*/

@media(max-width:576px) {

    .client-box {

        grid-template-columns: 1fr;

    }

    .client-card {

        height: 150px;

    }

    .client-card img {

        max-width: 150px;

    }

}




@media(max-width:700px) {


    logo {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: row;
    }

    .logo span {
        width: 40%;
    }

    .logo img {
        width: 40%;
    }

    .circle-animation {
        display: none;
    }

    .hero-image {
        display: none;
    }

















    .nav-menu {


        position: absolute;

        top: 90px;

        left: -100%;

        background: white;

        width: 100%;

        flex-direction: column;

        text-align: center;

        padding: 30px;

        transition: .4s;


    }



    .nav-menu.active {

        left: 0;

    }



    .menu-toggle {

        display: block;

    }



    .nav-button {

        display: none;

    }



    .hero-text h1 {


        font-size: 38px;

    }



    .about-grid,
    .service-grid,
    .process-grid,
    /* .footer-content, */
    .numbers-container {


        grid-template-columns: 1fr;


    }



    .hero-buttons {
        flex-direction: column;

    }

    .nav-menu {
        position: fixed;
        /* mejor que absolute */
        top: 90px;
        left: -100%;
        height: calc(100vh - 90px);
    }





}


/*=========================================
        BOTÓN FLOTANTE WHATSAPP
=========================================*/

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;

    width: 65px;
    height: 65px;

    background: #25D366;
    color: #fff;

    border-radius: 50%;

    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 36px;

    text-decoration: none;

    box-shadow: 0 8px 25px rgba(0, 0, 0, .25);

    z-index: 9999;

    transition: .3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #1ebe5d;
}

.whatsapp-float i {
    line-height: 1;
}