:root {
    --blue: #168fdf;
    --navy: #001d3a;
    --text: #075d98;
    --max: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}


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

.site-header {
    position: absolute;
    z-index: 10;

    top: 0;
    left: 0;

    width: 100%;

    box-sizing: border-box;

    display: flex;
    align-items: center;

    padding: 14px 2%;

    color: #fff;
}


/* LOGO */

.brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.brand img {
    display: block;
    width: 180px;
    height: auto;
}


/* CONTENEDOR CENTRAL */

.header-content {
    flex: 1;

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

    min-width: 0;
}

.nav {
    display: flex;
    align-items: center;

    gap: 15px;

    font-size: 24px;
    letter-spacing: 1.5px;
    font-weight: 700;

    white-space: nowrap;
}

.nav a {
    color: #fff;
    text-decoration: none;

    transition: opacity .2s;
}

.nav a:hover {
    opacity: .7;
}

.social {
    font-weight: 700;
    font-size: 24px;
    margin-left: 5px;
}


/* REDES SOCIALES */

.social-icons {
    display: flex;
    align-items: center;

    gap: 16px;

    margin-left: 30px;

    flex-shrink: 0;
}

.social-icons a {
    display: flex;
    align-items: center;

    color: #fff;
    text-decoration: none;
}

.contact-link {
    display: flex;
    align-items: center;

    gap: 6px;

    font-size: 20px;
    font-weight: 700;
}


/* BOTÓN MENÚ */

.menu-toggle {
    display: none;
}


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

.hero {
    min-height: 720px;

    background-image: url('assets/imagenes/PortadaNordik.jpg');
    background-size: cover;
    background-position: center;

    position: relative;

    display: grid;
    place-items: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(0,20,45,.28),
            rgba(0,20,45,.2) 55%,
            rgba(0,20,45,.65)
        );
}

.hero-content {
    position: relative;

    text-align: center;
    color: #fff;

    margin-top: 80px;

    position: absolute;
    top: 70%;
    left: 50%;

    transform: translate(-50%, -50%);
}

.hero-logo {
    width: min(360px, 65vw);

    filter: brightness(0) invert(1);

    margin-bottom: 18px;
}

.hero h1 {
    font-size: clamp(25px, 3vw, 43px);

    letter-spacing: 3px;

    margin: 0;

    font-weight: 800;
}


/* =========================================================
   SECCIONES GENERALES
========================================================= */

.section {
    max-width: var(--max);

    margin: auto;

    padding: 45px 24px;
}

.section h2 {
    text-align: center;

    font-size: clamp(28px, 4vw, 48px);

    color: var(--blue);

    margin: 0 0 28px;

    font-weight: 900;

    letter-spacing: .5px;
}


/* =========================================================
   CATEGORÍAS
========================================================= */

.category-grid {
    display: grid;

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

    gap: 18px;
}

.category-card img {
    width: 100%;

    aspect-ratio: 1.65;

    object-fit: cover;

    display: block;
}

.category-card span {
    display: block;

    text-align: center;

    font-weight: 700;

    font-size: 20px;

    padding: 9px 0 0;
}


/* =========================================================
   INSIDE
========================================================= */

.inside-grid {
    display: grid;

    grid-template-columns: 1fr 1.25fr;

    align-items: center;

    gap: 50px;
}

.cutaway img {
    width: 100%;

    display: block;
}

.features {
    font-size: 18px;

    line-height: 1.45;
}

.features p {
    margin: 0 0 24px;
}

.features strong {
    font-weight: 800;
}


/* =========================================================
   PURPOSE
========================================================= */

.purpose {
    text-align: center;
}

.purpose p {
    max-width: 1050px;

    margin: 0 auto 28px;

    font-size: 18px;

    line-height: 1.45;
}


/* =========================================================
   FOOTER MARK
========================================================= */

.footer-mark {
    margin: 45px auto 10px;
}

.footer-mark img {
    width: 50%;

    filter: none;
}

.footer-mark small {
    display: block;

    font-weight: 700;

    letter-spacing: 1px;

    margin-top: 5px;
}


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

footer {
    background: var(--navy);

    color: #fff;

    text-align: center;

    padding: 28px;

    line-height: 1.8;

    letter-spacing: 2px;
}


/* =========================================================
   PÁGINA PRODUCTOS
========================================================= */

.productos-page {
    background: #fff;

    color: #111;

    min-height: 100vh;

    padding-top: 0;
}


/* =========================================================
   HEADER AZUL - PRODUCTOS
========================================================= */

.productos-body .site-header {
    position: relative;

    top: auto;
    left: auto;

    width: 100%;

    height: 80px;
    min-height: 80px;

    padding: 0 2%;

    box-sizing: border-box;

    background: #0d4697;

    z-index: 10;
}


/* =========================================================
   BANNER
========================================================= */

.productos-page .productos-banner {
    width: 100%;

    margin: 0;

    padding: 0;

    overflow: hidden;

    line-height: 0;
}

.productos-page .productos-banner img {
    display: block;

    width: 100%;

    height: auto;

    margin: 0;

    padding: 0;
}


/* =========================================================
   INTRODUCCIÓN
========================================================= */

.productos-intro {
    width: 100%;

    max-width: 100%;

    margin: 0 auto;

    padding: 48px 5% 55px;

    text-align: left;
}


/* LINKS SUPERIORES */

.productos-kicker {
    width: 100%;

    margin: 0 0 28px;

    color: #272525;

    font-size: 24px;

    letter-spacing: 2px;

    font-weight: 700;

    text-transform: none;
}

.productos-kicker a {
    color: #272525;

    text-decoration: none;

    transition: opacity .2s ease;
}

.productos-kicker a:hover {
    opacity: .65;

    text-decoration: underline;

    color: #0d4697;
}

.productos-kicker span {
    margin: 0 8px;
}


/* TEXTO */

.productos-texto {
    width: 100%;

    max-width: 100%;

    margin-left: auto;
}

.productos-texto p {
    margin: 0 0 22px;

    color: #222;

    font-size: 20px;

    line-height: 1.7;

    text-align: justify;
}

.productos-texto p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   CATEGORÍAS DE PRODUCTOS
========================================================= */

.categoria-productos {
    width: 100%;

    max-width: 100%;

    margin: 0;

    padding: 55px 5% 70px;

    box-sizing: border-box;
}


/* =========================================================
   TÍTULO DE CATEGORÍA
========================================================= */

.titulo-categoria {
    width: calc(100% + 5.5556vw);

    margin-left: -5.5556vw;

    display: flex;

    align-items: center;

    gap: 14px;

    margin-bottom: 38px;
}


/* =========================================================
   TRAPEZOIDE AZUL
========================================================= */

.titulo-trapezoide {
    width: 5.5556vw;

    min-width: 70px;

    height: 34px;

    background: #0d4697;

    clip-path: polygon(
        0 0,
        100% 0,
        90% 100%,
        0 100%
    );
}


/* =========================================================
   TÍTULO
========================================================= */

.titulo-categoria h2 {
    margin: 0;

    color: #0d4697;

    font-size: 28px;

    font-weight: 700;

    letter-spacing: 1.5px;
}


/* =========================================================
   GRID — 3 PRODUCTOS
========================================================= */

.productos-grid {
    width: 100%;

    max-width: none;

    margin: 0;

    display: grid;

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

    gap: 50px;
}


/* =========================================================
   TARJETA
========================================================= */

.producto-card {
    display: block;

    width: 100%;

    text-decoration: none;

    color: inherit;

    text-align: left;

    background: #fff;
}


/* =========================================================
   IMAGEN DE PRODUCTO
========================================================= */


.producto-imagen {
    width: 100%;

    height: auto;

    overflow: hidden;

    background: #fff;

    padding: 0;

    margin: 0;
}

.producto-imagen img {
    display: block;

    width: 100%;

    height: auto;

    max-width: 100%;

    margin: 0;

    padding: 0;

    background: #fff;

    transition:
        transform 0.35s ease,
        filter 0.35s ease;
}


/* =========================================================
   ANIMACIÓN AL PASAR CURSOR
========================================================= */

.producto-card:hover .producto-imagen img {
    transform: scale(1.02);

    filter: brightness(1.03);
}


/* =========================================================
   PRECIO
========================================================= */

.producto-precio {
    margin-top: 14px;

    color: #272525;

    font-size: 20px;

    font-weight: 700;

    text-align: right;
}


/* =========================================================
   CONTENEDORES ISOTÉRMICOS
========================================================= */

.categoria-isotermicos {
    padding-top: 25px;
}


/* =========================================================
   FAQ
========================================================= */

.productos-faq {
    max-width: 950px;

    margin: 0 auto;

    padding: 35px 30px 100px;
}

.productos-faq h2 {
    margin: 0 0 40px;

    color: #0d4697;

    text-align: center;

    font-size: 30px;

    letter-spacing: 2px;

    font-weight: 800;
}

.faq-item {
    border-top: 1px solid #d8d8d8;

    border-bottom: 1px solid #d8d8d8;
}

.faq-question {
    width: 100%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 22px 5px;

    background: none;

    border: none;

    cursor: pointer;

    text-align: left;

    font-family: inherit;

    font-size: 20px;

    font-weight: 600;
}

.faq-question span {
    font-size: 25px;

    font-weight: 400;

    transition: transform .25s ease;
}

.faq-answer {
    display: none;

    padding: 0 5px 22px;
}

.faq-answer p {
    margin: 0;

    color: #444;

    line-height: 1.7;

    font-size: 20px;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question span {
    transform: rotate(45deg);
}


/* =========================================================
   RESPONSIVE GENERAL
========================================================= */

@media (max-width: 1160px) {

    /* HEADER */

    .site-header {
        position: absolute;

        top: 0;
        left: 0;

        width: 100%;

        padding: 18px 22px;

        min-height: 70px;

        box-sizing: border-box;
    }

    .brand img {
        width: 120px;
    }

    .menu-toggle {
        display: block;

        position: absolute;

        top: 18px;
        right: 22px;

        margin: 0;
        padding: 0;

        background: none;

        border: none;

        color: #fff;

        font-size: 30px;

        line-height: 1;

        cursor: pointer;

        z-index: 30;
    }

    .header-content {
        position: absolute;

        top: 70px;
        left: 0;

        width: 100%;

        display: none;

        flex-direction: column;

        background: #0d4697;

        box-sizing: border-box;

        padding: 22px;

        z-index: 20;
    }

    .header-content.open {
        display: flex;
    }

    .nav {
        display: flex;

        flex-direction: column;

        align-items: center;

        gap: 14px;

        width: 100%;
    }

    .nav span {
        display: none;
    }

    .nav a {
        font-size: 18px;

        padding: 6px 0;
    }


    /* REDES EN MÓVIL */

    .social-icons {
        width: 100%;

        display: none;

        justify-content: center;

        align-items: center;

        gap: 18px;

        margin: 0;

        padding: 16px 22px;

        box-sizing: border-box;

        background: #0d4697;
        border-top: 1px solid rgba(255,255,255,.25);
    }

    .header-content.open + .social-icons {
        display: flex;
    }

    .contact-link {
        font-size: 17px;
    }

    .social-icons svg {
        width: 28px;

        height: 28px;
    }


    /* HERO */

    .hero {
        min-height: 620px;
    }

    .hero-content {
        top: 60%;
    }


    /* GENERAL */

    .category-grid,
    .inside-grid {
        grid-template-columns: 1fr;
    }

    .inside-grid {
        gap: 20px;
    }

    .features {
        font-size: 16px;
    }

    .purpose p {
        font-size: 16px;
    }
}


/* ==========================================
   SECCIÓN DE CONTACTO
   ========================================== */


.contacto {
    width: 100%;
    background: transparent;
    padding: 70px 5%;
    box-sizing: border-box;
}

.contacto-contenido {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

/* Título */

.contacto-titulo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 45px;
}

.contacto-titulo h2 {
    margin: 0;
    color: #168fdf;
    font-size: 28px;
    letter-spacing: 1.5px;
    font-weight: 700;
}

/* Elementos */

.contacto-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    justify-items: center;
}

.contacto-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    color: #000;
    text-decoration: none;
    text-align: center;
}

.contacto-icono {
    width: 55px;
    height: 55px;
    border: 2px solid #168fdf;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    color: #168fdf;
    flex-shrink: 0;
}

.contacto-item h3 {
    margin: 0 0 7px;
    color: #000;
    font-size: 17px;
    letter-spacing: 1px;
}

.contacto-item p {
    margin: 0;
    color: #000;
    font-size: 17px;
    line-height: 1.4;
}

/* Hover */

.contacto-item:hover {
    opacity: .8;
}

.contacto-item:hover .contacto-icono {
    transform: scale(1.05);
}

/* ==========================================
   CELULAR
   ========================================== */

@media (max-width: 850px) {

    .contacto {
        padding: 50px 22px;
    }

    .contacto-titulo {
        margin-bottom: 35px;
    }

    .contacto-titulo h2 {
        font-size: 23px;
    }

    .contacto-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .contacto-item {
        gap: 12px;
    }

    .contacto-icono {
        width: 48px;
        height: 48px;
        font-size: 22px;
    }

    .contacto-item h3 {
        font-size: 15px;
    }

    .contacto-item p {
        font-size: 15px;
    }
}


/* =========================================================
   Boton REgresar en productos
========================================================= */

.boton-regresar {
    display: inline-block;
    margin: 20px 5% 50px;
    padding: 12px 24px;
    color: #0d4697;
    border: 2px solid #0d4697;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.25s ease;
}

.boton-regresar:hover {
    background: #0d4697;
    color: #fff;
}


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

@media (max-width: 850px) {

    .productos-banner {
        width: 100%;

        overflow: hidden;
    }

    .productos-banner img {
        width: 100%;

        height: auto;

        display: block;
    }


    /* INTRO */

    .productos-intro {
        padding: 40px 22px 45px;

        text-align: left;
    }

    .productos-kicker {
        font-size: 18px;

        line-height: 1.7;
    }

    .productos-texto p {
        font-size: 16px;

        line-height: 1.65;

        text-align: justify;
    }

    .productos-intro h1 {
        font-size: 30px;
    }

    .productos-description {
        font-size: 15px;

        line-height: 1.6;
    }


    /* CATEGORÍAS */

    .categoria-productos {
        padding: 40px 22px 60px;
    }


    /* TÍTULO */

    .titulo-categoria {
        width: 100%;

        margin-left: 0;

        gap: 10px;

        margin-bottom: 30px;
    }

    .titulo-trapezoide {
        width: 18px;

        min-width: 18px;

        height: 28px;
    }

    .titulo-categoria h2 {
        font-size: 23px;

        letter-spacing: 1px;
    }


    /* GRID */

    .productos-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }


    /* IMAGEN */


   .producto-imagen {
    width: 100%;
    height: auto;
    background: #fff;
    display: flex;
    justify-content: center;
}

.producto-imagen img {
    width: 85%;
    height: auto;
    max-width: 85%;
}

    /* PRECIO */

    .producto-precio {
        font-size: 20px;

        margin-top: 14px;
    }


    /* FAQ */

    .productos-faq {
        padding: 25px 22px 70px;
    }

    .productos-faq h2 {
        font-size: 23px;
    }
}


/* =========================================================
   PRODUCTOS — PANTALLAS MUY PEQUEÑAS
========================================================= */

@media (max-width: 500px) {

    .productos-banner {
        width: 100%;

        overflow: hidden;
    }

    .productos-banner img {
        width: 100%;

        height: auto;

        display: block;
    }

    .productos-kicker {
        font-size: 16px;

        letter-spacing: 1.5px;
    }

    .productos-intro h1 {
        font-size: 27px;
    }

    .producto-imagen {
        height: auto;

        background: #fff;
    }

    .producto-imagen img {
        width: 100%;

        height: auto;
    }

    .producto-precio {
        font-size: 18px;
    }
}

/*===========================================================================
   REsponsive para areglar el menu
   ============================================================================*/
/* ==========================================
   CORRECCIÓN RESPONSIVE - EVITAR DESPLAZAMIENTO
   ========================================== */

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

@media (max-width: 850px) {

    .site-header {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .header-content {
        max-width: 100vw;
        box-sizing: border-box;
    }

    .header-content.open {
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }

    .social-icons {
        max-width: 100%;
        box-sizing: border-box;
    }

    .hero,
    .hero-section,
    .hero-banner,
    .productos-page,
    .productos-banner {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .productos-banner img {
        width: 100%;
        max-width: 100%;
    }
}

/* ==========================================
   MENÚ MÓVIL - EVITAR TRASLAPE
   ========================================== */

@media (max-width: 850px) {

    .site-header {
        position: relative;
        width: 100%;
        min-height: 80px;
        box-sizing: border-box;
    }

    /* Botón hamburguesa */
    .menu-toggle {
        position: absolute;
        top: 18px;
        right: 20px;
        z-index: 1005;
        margin: 0;
        padding: 0;
        width: 42px;
        height: 42px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Redes sociales */
    .social-icons {
        position: absolute;
        top: 18px;
        right: 75px;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 10px;
        max-width: calc(100% - 130px);
        box-sizing: border-box;
        white-space: nowrap;
    }

    .social-icons a {
        flex-shrink: 0;
    }

    .social-icons .contact-link span {
        white-space: nowrap;
    }
}

@media (max-width: 500px) {

    .menu-toggle {
        right: 12px;
        width: 38px;
        height: 38px;
        font-size: 26px;
    }

    .social-icons {
        right: 58px;
        gap: 7px;
        max-width: calc(100% - 105px);
    }

    .social-icons .contact-link span {
        font-size: 14px;
    }

    .social-icons a {
        transform: scale(0.9);
    }
}

@media (max-width: 380px) {

    .social-icons {
        right: 55px;
        gap: 4px;
        max-width: calc(100% - 95px);
    }

    .social-icons .contact-link span {
        font-size: 12px;
    }

    .social-icons a {
        transform: scale(0.82);
    }

    .menu-toggle {
        right: 8px;
    }
}

@media (max-width: 850px) {

    .site-header {
        position: relative;
        width: 100%;
        min-height: 80px;
        background: #0d4697;
        box-sizing: border-box;
        z-index: 1000;
    }

    .site-header .brand {
        position: relative;
        z-index: 1010;
    }

    .site-header .menu-toggle {
        z-index: 1020;
        color: #fff;
        background: transparent;
        border: none;
    }

    .site-header .social-icons {
        z-index: 1002;
        background: transparent;
    }

    .site-header .header-content {
        background:  #0d4697;
        z-index: 1005;
    }

    .site-header .header-content.open {
        background:  #0d4697;
    }

    .site-header .header-content.open .nav {
        background: #0d4697;
    }
}

@media (max-width: 850px) {

    .site-header .social-icons {
        background: transparent !important;
        border: none !important;
        border-top: none !important;
        border-bottom: none !important;
        box-shadow: none !important;
        outline: none !important;
    }

}
@media (max-width: 850px) {

    .site-header .social-icons {
        z-index: 1002;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        outline: none !important;
    }

    .site-header .social-icons a {
        border: none !important;
        box-shadow: none !important;
        outline: none !important;
    }

}