/* ==========================================
   VARIABLES
========================================== */

:root {

    --azul: #06284a;
    --azul-oscuro: #031d37;
    --azul-claro: #dceaf7;

    --naranja: #f45116;

    --rojo: #ff0000;

    --gris: #eeeeee;

    --texto: #111827;

}


/* ==========================================
   GENERAL
========================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {

    margin: 0;

    background: #e8edf2;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    color: var(--texto);

}


.catalogo {

    width: 100%;

    max-width: 1900px;

    margin: auto;

    background: white;

}


/* ==========================================
   HERO
========================================== */

.hero {

    min-height: 150px;

    display: flex;
    justify-content: flex-start;
    align-items: center;
    /* grid-template-columns:
        320px
        1fr
        470px
        360px;

    position: relative; */

    overflow: hidden;

    /* background:
        linear-gradient(
            110deg,
            var(--azul) 0%,
            var(--azul) 18%,
            white 18%
        ); */

}


/* Logo */

.hero-logo {

    display: flex;

    align-items: flex-start;

    justify-content: center;

    padding: 0 100px;

}


.hero-logo img {

    max-width: 250px;

    max-height: 100px;

    object-fit: contain;

}


/* Título */

.hero-titulo {

    padding: 25px 10px;

    z-index: 3;

}


.hero-titulo h1 {

    margin: 0;

    color: var(--azul);

    font-size: clamp(15px, 3vw, 28px);

    font-weight: 900;

    letter-spacing: -1px;

}


.hero-titulo h2 {

    margin: 0;

    color: var(--naranja);

    font-size: clamp(40px, 4vw, 70px);

    line-height: 1;

    font-weight: 900;

}


.hero-titulo p {

    margin:
        18px
        0
        0;

    font-size: 20px;

    font-weight: bold;

    color: var(--azul);

}


.hero-titulo span {

    font-size: 17px;

}


/* Imagen */

.hero-producto {

    display: flex;

    align-items: flex-end;

    justify-content: center;

    overflow: hidden;

}


.hero-producto img {

    width: 100%;

    height: 100%;

    object-fit: contain;

}


/* Características */

.hero-caracteristicas {

    background: var(--azul);

    color: white;

    padding: 20px;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 15px;

    align-content: center;

}


.feature {

    display: flex;

    align-items: center;

    gap: 10px;

}


.feature-icon {

    width: 48px;

    height: 48px;

    border: 2px solid white;

    border-radius: 10px;

    display: flex;

    justify-content: center;

    align-items: center;

    font-size: 24px;

}


.feature strong {

    display: block;

    font-size: 15px;

}


.feature small {

    display: block;

    margin-top: 4px;

    font-size: 12px;

}


/* ==========================================
   TÍTULO
========================================== */

.titulo-seccion {

    background: var(--azul);

    color: white;

    font-size: 23px;

    font-weight: bold;

    padding:
        13px
        30px;

    width: 400px;

    clip-path:
        polygon(
            0 0,
            92% 0,
            100% 50%,
            92% 100%,
            0 100%
        );

}


/* ==========================================
   TABLA
========================================== */

.tabla-container {

    width: 100%;

    overflow-x: auto;

}


table {

    width: 100%;

    border-collapse: collapse;

    table-layout: fixed;

    font-size: 12px;

}


thead th {

    background: #f7f9fb;

    color: var(--azul);

    font-size: 11px;

    font-weight: 900;

    padding: 12px 5px;

    border:
        1px solid #cbd5df;

    vertical-align: middle;

}


tbody td {

    border:
        1px solid #d0d7df;

    padding: 10px 5px;

    text-align: center;

    vertical-align: middle;

    line-height: 1.25;

}


tbody tr:nth-child(even) {

    background: #fafafa;

}


/* Modelo */

td.modelo {

    background:
        linear-gradient(
            120deg,
            #031d37,
            #0b3b64
        );

    color: white;

    text-align: left;

    padding: 12px;

}


.modelo strong {

    display: block;

    font-size: 13px;

}


.modelo b {

    display: block;

    font-size: 16px;

    margin-top: 3px;

}


.modelo span {

    display: block;

    font-size: 11px;

    margin-top: 3px;

}


/* Destacados */

.destacado {

    font-weight: bold;

    color: var(--azul);

}


.numero {

    font-weight: bold;

}


.rojo {

    color: var(--rojo);

    font-weight: bold;

}


/* ==========================================
   ANCHO DE COLUMNAS
========================================== */

th:nth-child(1),
td:nth-child(1) {
    width: 115px;
}

th:nth-child(2),
td:nth-child(2) {
    width: 80px;
}

th:nth-child(3),
td:nth-child(3) {
    width: 90px;
}

th:nth-child(4),
td:nth-child(4) {
    width: 100px;
}

th:nth-child(5),
td:nth-child(5) {
    width: 120px;
}

th:nth-child(6),
td:nth-child(6) {
    width: 75px;
}

th:nth-child(7),
td:nth-child(7) {
    width: 70px;
}

th:nth-child(8),
td:nth-child(8) {
    width: 105px;
}

th:nth-child(9),
td:nth-child(9) {
    width: 75px;
}

th:nth-child(10),
td:nth-child(10) {
    width: 135px;
}

th:nth-child(11),
td:nth-child(11) {
    width: 90px;
}

th:nth-child(12),
td:nth-child(12) {
    width: 80px;
}

th:nth-child(13),
td:nth-child(13) {
    width: 90px;
}

th:nth-child(14),
td:nth-child(14) {
    width: 75px;
}

th:nth-child(15),
td:nth-child(15) {
    width: 125px;
}

th:nth-child(16),
td:nth-child(16) {
    width: 145px;
}


/* ==========================================
   APLICACIONES
========================================== */

.aplicaciones {

    display: grid;

    grid-template-columns:
        repeat(6, 1fr);

    gap: 5px;

    padding: 8px;

}


.aplicacion {

    height: 170px;

    position: relative;

    overflow: hidden;

}


.aplicacion img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

    transition:
        transform .5s ease;

}


.aplicacion:hover img {

    transform: scale(1.08);

}


.aplicacion::after {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            transparent 45%,
            rgba(0,0,0,.8)
        );

}


.aplicacion span {

    position: absolute;

    bottom: 12px;

    left: 0;

    width: 100%;

    text-align: center;

    z-index: 2;

    color: white;

    font-size: 17px;

    font-weight: 900;

}


/* ==========================================
   FOOTER
========================================== */

footer {

    background: var(--azul);

    color: white;

    min-height: 90px;

    padding: 15px 25px;

    display: grid;

    grid-template-columns:
        1.2fr
        2fr
        1fr
        1.2fr;

    gap: 20px;

    align-items: center;

    font-size: 13px;

}


.footer-nota strong {

    color: white;

}


.footer-transferencia {

    line-height: 1.5;

}


.footer-whatsapp {

    display: flex;

    align-items: center;

    gap: 10px;

}

.whatsapp-icon {
    width: 45px;
    height: 45px;

    background: #25D366;
    color: white;

    border-radius: 50%;

    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 27px;

    flex-shrink: 0;
}



.footer-whatsapp strong {

    font-size: 14px;

}


.footer-contacto {

    line-height: 1.6;

    text-align: right;

}


/* ==========================================
   COPYRIGHT
========================================== */

.copyright {

    text-align: center;

    font-size: 12px;

    padding: 7px;

    background: white;

}


/* ==========================================
   BOTÓN PDF
========================================== */

.btn-imprimir {

    position: fixed;

    right: 25px;

    bottom: 25px;

    z-index: 1000;

    background: var(--naranja);

    color: white;

    border: none;

    border-radius: 50px;

    padding:
        14px
        22px;

    font-size: 15px;

    font-weight: bold;

    cursor: pointer;

    box-shadow:
        0 5px 20px rgba(0,0,0,.25);

    transition:
        transform .2s,
        background .2s;

}


.btn-imprimir:hover {

    transform: translateY(-3px);

    background: #d83d0b;

}


/* ==========================================
   RESPONSIVE
========================================== */

@media(max-width:1200px) {

    .hero {

        grid-template-columns:
            220px
            1fr
            300px;

    }

    .hero-caracteristicas {

        display: none;

    }

}


@media(max-width:800px) {

    .hero {

        display: block;

        background: white;

    }

    .hero-logo {

        background: var(--azul);

    }

    .hero-titulo {

        padding: 20px;

    }

    .hero-producto {

        height: 200px;

    }

    .titulo-seccion {

        width: 100%;

        clip-path: none;

    }

    .aplicaciones {

        grid-template-columns:
            repeat(2, 1fr);

    }

    footer {

        grid-template-columns: 1fr;

    }

    .footer-contacto {

        text-align: left;

    }

}


/* ==========================================
   IMPRESIÓN / PDF
========================================== */

@media print {

    @page {

        size: A3 landscape;

        margin: 5mm;

    }


    body {

        background: white;

    }


    .catalogo {

        max-width: none;

        width: 100%;

    }


    .btn-imprimir {

        display: none !important;

    }


    .hero {

        min-height: 210px;

    }


    table {

        font-size: 9px;

    }


    thead th {

        font-size: 9px;

        padding: 7px 3px;

    }


    tbody td {

        padding: 7px 3px;

    }


    .aplicacion {

        height: 120px;

    }


    footer {

        min-height: 70px;

        font-size: 10px;

    }


    .copyright {

        font-size: 9px;

    }

}

.contact-link {
    font-size: 14px;
}