/* =========================================
   CONFIGURACIÓN GENERAL
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family: Arial, Helvetica, sans-serif;

    color: #10253b;

    background: #ffffff;
}


.container {
    width: 90%;

    max-width: 1200px;

    margin: 0 auto;
}



/* =========================================
   HEADER
========================================= */

.header {
    width: 100%;

    background: #ffffff;

    position: fixed;

    top: 0;
    left: 0;

    z-index: 1000;

    box-shadow:
        0 2px 15px rgba(0, 0, 0, 0.06);
}


.nav-container {
    height: 90px;

    display: flex;

    align-items: center;

    justify-content: space-between;
}



/* LOGO */

.logo {
    display: flex;

    align-items: center;
}


.logo img {
    width: 180px;

    height: auto;

    display: block;
}



/* =========================================
   MENÚ
========================================= */

.nav {
    display: flex;

    align-items: center;

    gap: 32px;
}


.nav a {
    position: relative;

    color: #10253b;

    text-decoration: none;

    font-size: 15px;

    font-weight: 600;

    padding: 35px 0 30px;

    transition: color 0.3s ease;
}


.nav a:hover {
    color: #27bcbc;
}


.nav a::after {
    content: "";

    position: absolute;

    left: 0;

    bottom: 22px;

    width: 0;

    height: 2px;

    background: #27bcbc;

    transition: width 0.3s ease;
}


.nav a:hover::after {
    width: 100%;
}



/* =========================================
   BANNER CON VIDEO
========================================= */

.hero {
    min-height: 100vh;

    padding-top: 90px;

    display: flex;

    align-items: center;

    position: relative;

    overflow: hidden;

    background: #102f4c;
}


.hero-video {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;

    height: 100%;

    object-fit: cover;

    z-index: 0;
}


.hero-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(9, 35, 55, 0.82),
            rgba(9, 35, 55, 0.50),
            rgba(9, 35, 55, 0.18)
        );

    z-index: 1;
}


.hero-content {
    width: 90%;

    max-width: 1200px;

    margin: 0 auto;

    color: #ffffff;

    position: relative;

    z-index: 2;
}


.hero-subtitle {
    margin-bottom: 22px;

    font-size: 14px;

    font-weight: 500;

    letter-spacing: 5px;
}


.hero h1 {
    max-width: 760px;

    margin-bottom: 25px;

    font-size: 58px;

    line-height: 1.08;

    font-weight: 700;
}


.hero-description {
    max-width: 600px;

    margin-bottom: 35px;

    font-size: 18px;

    line-height: 1.7;
}


.hero-buttons {
    display: flex;

    align-items: center;

    gap: 15px;
}



/* =========================================
   BOTONES
========================================= */

.btn-primary,
.btn-secondary {
    display: inline-block;

    padding: 15px 25px;

    border-radius: 6px;

    text-decoration: none;

    font-size: 15px;

    font-weight: 700;

    transition: 0.3s ease;
}


.btn-primary {
    background: #27bcbc;

    color: #ffffff;

    box-shadow:
        0 5px 15px rgba(39, 188, 188, 0.20);
}


.btn-primary:hover {
    background: #1da9ad;

    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(39, 188, 188, 0.30);
}


.btn-secondary {
    color: #ffffff;

    border: 2px solid #ffffff;

    background:
        rgba(255, 255, 255, 0.05);
}


.btn-secondary:hover {
    background: #ffffff;

    color: #10253b;

    transform: translateY(-2px);
}



/* =========================================
   SECCIONES
========================================= */

.section {
    padding: 100px 0;

    text-align: center;
}


.section-light {
    background: #f4f9f9;
}


.section-subtitle {
    margin-bottom: 15px;

    color: #27bcbc;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 3px;
}


.section h2 {
    margin-bottom: 20px;

    color: #102f4c;

    font-size: 42px;

    font-weight: 700;
}


.section-description {
    max-width: 650px;

    margin: 0 auto 50px;

    color: #647484;

    font-size: 16px;

    line-height: 1.7;
}



/* =========================================
   PRODUCTOS
========================================= */

.cards {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 28px;
}


.card {
    overflow: hidden;

    background: #ffffff;

    border-radius: 14px;

    text-align: left;

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.08);

    transition: 0.3s ease;
}


.card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.12);
}


.card-image {
    height: 230px;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        linear-gradient(
            135deg,
            #edf8f8,
            #dfeeee
        );

    color: #829292;

    font-size: 13px;
}


.card-content {
    padding: 25px;
}


.card-content h3 {
    margin-bottom: 12px;

    color: #102f4c;

    font-size: 20px;
}


.card-content p {
    margin-bottom: 20px;

    color: #647484;

    font-size: 15px;

    line-height: 1.6;
}


.card-content a {
    color: #27bcbc;

    text-decoration: none;

    font-size: 14px;

    font-weight: 700;
}



/* =========================================
   SERVICIOS
========================================= */

.services-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 22px;

    margin-top: 45px;
}


.service-card {
    background: #ffffff;

    padding: 35px 22px;

    border-radius: 14px;

    text-align: center;

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.06);

    transition: 0.3s ease;
}


.service-card:hover {
    transform: translateY(-7px);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.10);
}


.service-icon {
    width: 60px;

    height: 60px;

    margin: 0 auto 20px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #e9f8f8;

    font-size: 28px;
}


.service-card h3 {
    min-height: 50px;

    margin-bottom: 15px;

    color: #102f4c;

    font-size: 18px;

    line-height: 1.4;
}


.service-card p {
    margin-bottom: 20px;

    color: #647484;

    font-size: 14px;

    line-height: 1.6;
}


.service-card a {
    color: #27bcbc;

    text-decoration: none;

    font-size: 14px;

    font-weight: 700;
}



/* =========================================
   NOSOTROS
========================================= */

.about-text {
    max-width: 720px;

    margin: 0 auto;

    color: #647484;

    font-size: 17px;

    line-height: 1.8;
}



/* =========================================
   CONTACTO
========================================= */

.contact-section {
    padding-bottom: 120px;
}



/* =========================================
   FOOTER
========================================= */

.footer {
    background: #102f4c;

    color: #ffffff;

    padding-top: 70px;
}


.footer-grid {
    display: grid;

    grid-template-columns:
        1.3fr 1.2fr 0.8fr;

    gap: 70px;

    padding-bottom: 55px;
}


.footer-logo {
    width: 190px;

    margin-bottom: 20px;

    background: #ffffff;

    padding: 10px;

    border-radius: 8px;
}


.footer-brand p {
    max-width: 350px;
}


.footer h3 {
    margin-bottom: 20px;

    color: #ffffff;

    font-size: 17px;
}


.footer p {
    color:
        rgba(255, 255, 255, 0.78);

    font-size: 14px;

    line-height: 1.8;
}


.footer-info p {
    margin-bottom: 9px;
}


.maps-link {
    display: inline-block;

    margin-top: 12px;

    color: #27bcbc;

    text-decoration: none;

    font-size: 14px;

    font-weight: 700;
}


.maps-link:hover {
    color: #ffffff;
}



/* =========================================
   REDES SOCIALES
========================================= */

.social-description {
    margin-bottom: 20px;
}


.social-links {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 12px;
}


.social-links a {
    color:
        rgba(255, 255, 255, 0.85);

    text-decoration: none;

    font-size: 14px;

    transition: 0.3s ease;
}


.social-links a:hover {
    color: #27bcbc;

    transform: translateX(3px);
}



/* =========================================
   PROVEEDORES
========================================= */

.providers {
    padding: 40px 0;

    border-top:
        1px solid rgba(255, 255, 255, 0.10);

    text-align: center;
}


.providers-subtitle {
    margin-bottom: 8px;

    color: #27bcbc !important;

    font-size: 11px !important;

    font-weight: 700;

    letter-spacing: 3px;
}


.providers h3 {
    margin-bottom: 30px;

    font-size: 18px;
}


.provider-logos {
    display: flex;

    justify-content: center;

    align-items: center;

    gap: 35px;

    flex-wrap: wrap;
}


.provider-item {
    width: 170px;

    height: 80px;

    padding: 12px 20px;

    display: flex;

    justify-content: center;

    align-items: center;

    background: #ffffff;

    border-radius: 10px;

    transition: 0.3s ease;
}


.provider-item:hover {
    transform: translateY(-4px);

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.20);
}


.provider-item img {
    max-width: 100%;

    max-height: 55px;

    object-fit: contain;
}



/* =========================================
   COPYRIGHT
========================================= */

.footer-bottom {
    padding: 20px 0;

    background: #0a263b;

    border-top:
        1px solid rgba(255, 255, 255, 0.07);

    text-align: center;
}


.footer-bottom p {
    color:
        rgba(255, 255, 255, 0.65);

    font-size: 13px;
}



/* =========================================
   WHATSAPP
========================================= */

.whatsapp-float {
    position: fixed !important;

    right: 28px !important;

    bottom: 28px !important;

    width: 64px !important;

    height: 64px !important;

    display: flex !important;

    align-items: center !important;

    justify-content: center !important;

    background: #25D366 !important;

    color: #ffffff !important;

    border-radius: 50% !important;

    text-decoration: none !important;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.25);

    z-index: 9999 !important;

    transition: 0.3s ease;
}


.whatsapp-float:hover {
    transform: scale(1.08);

    box-shadow:
        0 10px 30px rgba(37, 211, 102, 0.45);
}


.whatsapp-float svg {
    width: 34px !important;

    height: 34px !important;

    max-width: 34px !important;

    max-height: 34px !important;

    display: block !important;

    color: #ffffff !important;

    flex: none !important;
}


.whatsapp-tooltip {
    position: absolute;

    right: 0;

    bottom: 78px;

    padding: 10px 16px;

    background: #ffffff;

    color: #10253b;

    border-radius: 22px;

    font-size: 14px;

    font-weight: 600;

    white-space: nowrap;

    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.15);

    opacity: 0;

    transform: translateY(8px);

    pointer-events: none;

    transition: 0.3s ease;
}


.whatsapp-tooltip::after {
    content: "";

    position: absolute;

    right: 22px;

    bottom: -6px;

    width: 12px;

    height: 12px;

    background: #ffffff;

    transform: rotate(45deg);
}


.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;

    transform: translateY(0);
}



/* =========================================
   TABLET
========================================= */

@media (max-width: 1000px) {

    .nav {
        gap: 18px;
    }


    .cards {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .services-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .hero h1 {
        font-size: 45px;
    }


    .footer-grid {
        grid-template-columns:
            repeat(2, 1fr);

        gap: 40px;
    }

}



/* =========================================
   CELULAR
========================================= */

@media (max-width: 650px) {

    .nav-container {
        height: 75px;
    }


    .logo img {
        width: 145px;
    }


    .nav {
        display: none;
    }


    .hero {
        padding-top: 75px;

        min-height: 90vh;
    }


    .hero h1 {
        font-size: 37px;
    }


    .hero-description {
        font-size: 16px;
    }


    .hero-buttons {
        flex-direction: column;

        align-items: flex-start;
    }


    .cards {
        grid-template-columns: 1fr;
    }


    .services-grid {
        grid-template-columns: 1fr;
    }


    .section {
        padding: 70px 0;
    }


    .section h2 {
        font-size: 32px;
    }


    .footer {
        padding-top: 50px;
    }


    .footer-grid {
        grid-template-columns: 1fr;

        gap: 40px;

        padding-bottom: 45px;
    }


    .provider-logos {
        gap: 15px;
    }


    .provider-item {
        width: 140px;

        height: 70px;
    }


    .whatsapp-float {
        width: 57px !important;

        height: 57px !important;

        right: 18px !important;

        bottom: 18px !important;
    }


    .whatsapp-float svg {
        width: 30px !important;

        height: 30px !important;

        max-width: 30px !important;

        max-height: 30px !important;
    }

}