/* =========================================
   VARIABLES GENERALES
========================================= */

:root {
    --color-azul-codel: #06349c;
    --color-azul-hover: #042878;
    --color-blanco: #ffffff;
    --color-texto: #002d93;
    --ancho-contenedor: 1420px;
}

/* =========================================
   RESETEO BÁSICO
========================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

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

.header {
    position: relative;
    z-index: 1000;

    width: 100%;
    min-height: 198px;

    background-color: #f4f6fa;
    background-image: url("../assets/fondo-header.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.header__container {
    width: min(100% - 48px, var(--ancho-contenedor));
    min-height: 198px;

    margin: 0 auto;

    display: grid;
    grid-template-columns: 220px 1fr 220px;
    align-items: center;
    gap: 40px;
}

/* =========================================
   LOGO
========================================= */

.header__logo {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    width: fit-content;
}

.header__logo-img {
    display: block;
    width: 125px;
    height: auto;
    object-fit: contain;
}

/* =========================================
   NAVEGACIÓN
========================================= */

.header__nav {
    display: flex;
    align-items: center;
    justify-content: center;
}

.header__menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
}

.header__link {
    position: relative;

    display: inline-block;

    color: var(--color-texto);

    font-size: 20px;
    font-weight: 600;
    line-height: 1;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.header__link::after {
    content: "";

    position: absolute;
    left: 50%;
    bottom: -10px;

    width: 0;
    height: 3px;

    border-radius: 20px;

    background-color: var(--color-azul-codel);

    transform: translateX(-50%);
    transition: width 0.25s ease;
}

.header__link:hover {
    color: var(--color-azul-hover);
    transform: translateY(-2px);
}

.header__link:hover::after,
.header__link.active::after {
    width: 100%;
}

/* Para que el inicio se vea activo sin línea,
   como en la referencia, puede eliminarse esto: */

.header__link.active::after {
    width: 0;
}

/* =========================================
   BOTÓN COTIZAR
========================================= */

.header__cta {
    min-width: 196px;
    min-height: 63px;

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

    justify-self: end;

    padding: 15px 29px;

    border: 2px solid var(--color-azul-codel);
    border-radius: 999px;

    color: var(--color-blanco);
    background-color: var(--color-azul-codel);

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

    box-shadow: 0 10px 25px rgba(0, 45, 147, 0.14);

    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.header__cta:hover {
    border-color: var(--color-azul-hover);
    background-color: var(--color-azul-hover);

    transform: translateY(-3px);

    box-shadow: 0 14px 30px rgba(0, 45, 147, 0.23);
}

/* =========================================
   MENÚ HAMBURGUESA
========================================= */

.header__menu-checkbox,
.header__menu-button {
    display: none;
}

/* =========================================
   TABLET
========================================= */

@media screen and (max-width: 1100px) {

    .header {
        min-height: 150px;
    }

    .header__container {
        min-height: 150px;

        grid-template-columns: 150px 1fr 170px;
        gap: 24px;
    }

    .header__logo-img {
        width: 105px;
    }

    .header__menu {
        gap: 20px;
    }

    .header__link {
        font-size: 16px;
    }

    .header__cta {
        min-width: 160px;
        min-height: 54px;
        padding: 12px 20px;
        font-size: 16px;
    }
}

/* =========================================
   MÓVIL
========================================= */

@media screen and (max-width: 820px) {

    .header {
        min-height: 100px;
        background-position: left center;
    }

    .header__container {
        position: relative;

        min-height: 100px;

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

        gap: 20px;
    }

    .header__logo {
        position: relative;
        z-index: 1002;
    }

    .header__logo-img {
        width: 82px;
    }

    .header__menu-button {
        position: relative;
        z-index: 1002;

        width: 46px;
        height: 46px;

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

        gap: 6px;

        border: 1px solid rgba(0, 45, 147, 0.15);
        border-radius: 12px;

        background-color: rgba(255, 255, 255, 0.85);

        cursor: pointer;
    }

    .header__menu-button span {
        display: block;

        width: 23px;
        height: 3px;

        border-radius: 20px;

        background-color: var(--color-azul-codel);

        transition:
            transform 0.25s ease,
            opacity 0.25s ease;
    }

    .header__nav {
        position: fixed;
        z-index: 1001;

        top: 0;
        right: -100%;

        width: min(85%, 360px);
        height: 100vh;

        padding: 135px 32px 40px;

        display: block;

        background-color: var(--color-blanco);

        box-shadow: -10px 0 35px rgba(0, 28, 88, 0.15);

        transition: right 0.35s ease;
    }

    .header__menu {
        align-items: flex-start;
        flex-direction: column;
        gap: 0;
    }

    .header__menu li {
        width: 100%;
    }

    .header__link {
        width: 100%;

        padding: 18px 0;

        border-bottom: 1px solid rgba(0, 45, 147, 0.1);

        font-size: 18px;
    }

    .header__link::after {
        display: none;
    }

    .header__cta {
        display: none;
    }

    .header__menu-checkbox:checked ~ .header__nav {
        right: 0;
    }

    .header__menu-checkbox:checked +
    .header__menu-button span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .header__menu-checkbox:checked +
    .header__menu-button span:nth-child(2) {
        opacity: 0;
    }

    .header__menu-checkbox:checked +
    .header__menu-button span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

/* =========================================
   MÓVILES PEQUEÑOS
========================================= */

@media screen and (max-width: 480px) {

    .header__container {
        width: min(100% - 28px, var(--ancho-contenedor));
    }

    .header__logo-img {
        width: 74px;
    }

    .header__menu-button {
        width: 42px;
        height: 42px;
    }
}

/* =========================================
   VARIABLES DEL HERO
========================================= */

:root {
    --hero-blue: #002f9d;
    --hero-blue-light: #009bd8;
    --hero-white: #ffffff;
    --hero-text: #00319b;
    --hero-background: #f6f8fc;
    --hero-container: 1000px;
}

/* =========================================
   HERO PRINCIPAL
========================================= */
/* =========================================
   HERO INDEX
========================================= */

.hero-index {
    --hero-blue: #06369f;
    --hero-cyan: #009bd8;
    --hero-white: #ffffff;
    --hero-background: #f3f6fb;

    position: relative;

    width: 100%;
    min-height: calc(100vh - 198px);

    overflow: hidden;

    background-color: var(--hero-background);
    background-image: url("../assets\fondo-hero-codel.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;

    border-bottom: 4px solid #0058dd;
}

/*
La composición usa todo el ancho del hero.
Solo se conserva un pequeño margen de seguridad.
*/

.hero-index__inner {
    position: relative;
    z-index: 2;

    width: calc(100% - 80px);
    max-width: 1680px;
    min-height: calc(100vh - 198px);

    margin: 0 auto;

    display: grid;
    grid-template-columns:
        minmax(330px, 1fr)
        minmax(380px, 0.9fr)
        minmax(280px, 0.72fr);

    align-items: stretch;
    gap: clamp(35px, 4vw, 80px);
}

/* =========================================
   TEXTO IZQUIERDO
========================================= */

.hero-index__content {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;

    padding: 55px 0 70px;
}

.hero-index__eyebrow {
    margin: 0 0 22px;

    color: var(--hero-blue);

    font-size: 15px;
    font-weight: 500;
    line-height: 1.3;

    text-transform: uppercase;
}

.hero-index__title {
    max-width: 650px;

    margin: 0 0 26px;

    color: var(--hero-blue);

    font-size: clamp(50px, 4.3vw, 78px);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -3px;
}

.hero-index__title span {
    display: block;
}

.hero-index__description {
    max-width: 490px;

    margin: 0 0 30px;

    color: var(--hero-blue);

    font-size: 17px;
    font-weight: 500;
    line-height: 1.58;
}

.hero-index__button {
    display: inline-flex;

    min-width: 190px;
    min-height: 54px;

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

    padding: 12px 28px;

    border-radius: 999px;

    color: var(--hero-white);
    background-color: var(--hero-cyan);

    font-size: 16px;
    font-weight: 700;
    text-decoration: underline;

    box-shadow: 0 14px 32px rgba(0, 155, 216, 0.22);

    transition:
        transform 0.25s ease,
        background-color 0.25s ease,
        box-shadow 0.25s ease;
}

.hero-index__button:hover {
    background-color: #007fb9;

    transform: translateY(-3px);

    box-shadow: 0 18px 38px rgba(0, 127, 185, 0.3);
}

/* =========================================
   PRODUCTO PERFECTAMENTE CENTRADO
========================================= */

.hero-index__product {
    position: relative;

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

    min-width: 0;
}

/*
La forma blanca queda centrada dentro de la
columna central y llega hasta la base del hero.
*/

.hero-index__product-shape {
    position: relative;

    width: min(100%, 470px);
    height: min(76vh, 650px);
    min-height: 520px;

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

    overflow: hidden;

    border-radius: 240px 240px 0 0;

    background:
        radial-gradient(
            circle at 50% 40%,
            #06369f 0%,
            #06369f 48%,
            #06369f 76%,
            #06369f 100%
        );

    box-shadow: 0 0 45px rgba(255, 255, 255, 0.72);
}

.hero-index__product-image {
    position: relative;
    z-index: 2;

    display: block;

    width: 86%;
    height: 88%;

    object-fit: contain;
    object-position: bottom center;

    filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.18));
}

/* =========================================
   ESTADÍSTICAS DERECHAS
========================================= */

.hero-index__aside {
    display: flex;
    justify-content: space-between;
    flex-direction: column;

    padding: 45px 0 88px;
}

.hero-index__stats {
    display: flex;
    align-items: center;
    flex-direction: column;

    gap: clamp(36px, 5vh, 72px);
}

.hero-index__stat {
    width: 100%;

    text-align: center;
}

.hero-index__stat strong {
    display: block;

    margin-bottom: 18px;

    color: var(--hero-blue);

    font-size: clamp(48px, 4vw, 72px);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -4px;
}

.hero-index__stat strong span {
    margin-left: 3px;

    font-size: 0.48em;
    letter-spacing: -1px;
}

.hero-index__stat p {
    margin: 0;

    color: var(--hero-blue);

    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
}

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

.hero-index__categories {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;

    gap: 10px;

    max-width: 390px;
    margin: 0 auto;
}

.hero-index__categories a {
    display: inline-flex;

    min-height: 39px;

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

    padding: 8px 21px;

    border: 1px solid rgba(6, 54, 159, 0.08);
    border-radius: 999px;

    color: var(--hero-blue);
    background-color: rgba(255, 255, 255, 0.94);

    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;

    box-shadow: 0 8px 20px rgba(6, 54, 159, 0.07);

    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        transform 0.25s ease;
}

.hero-index__categories a:hover {
    color: var(--hero-white);
    background-color: var(--hero-blue);

    transform: translateY(-3px);
}

/* =========================================
   PANTALLAS MUY GRANDES
========================================= */

@media screen and (min-width: 1800px) {

    .hero-index__inner {
        max-width: 1760px;
    }

    .hero-index__product-shape {
        width: 500px;
        height: 680px;
    }
}

/* =========================================
   LAPTOP
========================================= */

@media screen and (max-width: 1350px) {

    .hero-index {
        min-height: 720px;
    }

    .hero-index__inner {
        width: calc(100% - 56px);
        min-height: 720px;

        grid-template-columns:
            minmax(290px, 1fr)
            minmax(330px, 0.9fr)
            minmax(230px, 0.68fr);

        gap: 35px;
    }

    .hero-index__title {
        font-size: clamp(47px, 4.5vw, 64px);
    }

    .hero-index__description {
        max-width: 420px;
        font-size: 15px;
    }

    .hero-index__product-shape {
        width: min(100%, 410px);
        height: 570px;
        min-height: 500px;
    }

    .hero-index__stat strong {
        font-size: 55px;
    }

    .hero-index__categories a {
        padding-inline: 17px;
        font-size: 11px;
    }
}

/* =========================================
   TABLET
========================================= */

@media screen and (max-width: 950px) {

    .hero-index {
        min-height: auto;

        background-position: center;
    }

    .hero-index__inner {
        width: min(calc(100% - 40px), 820px);
        min-height: auto;

        grid-template-columns: 1fr 1fr;
        gap: 55px 35px;
    }

    .hero-index__content {
        padding: 75px 0 0;
    }

    .hero-index__title {
        font-size: clamp(44px, 7vw, 60px);
    }

    .hero-index__product {
        padding-top: 60px;
    }

    .hero-index__product-shape {
        height: 550px;
    }

    .hero-index__aside {
        grid-column: 1 / -1;

        padding: 0 0 65px;

        gap: 45px;
    }

    .hero-index__stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);

        gap: 18px;
    }

    .hero-index__stat {
        padding: 25px 12px;

        border-radius: 20px;

        background-color: rgba(255, 255, 255, 0.65);
    }

    .hero-index__categories {
        max-width: 620px;
    }
}

/* =========================================
   MÓVIL
========================================= */

@media screen and (max-width: 650px) {

    .hero-index__inner {
        width: min(calc(100% - 28px), 500px);

        display: flex;
        align-items: center;
        flex-direction: column;

        gap: 48px;

        text-align: center;
    }

    .hero-index__content {
        align-items: center;

        padding-top: 65px;
    }

    .hero-index__eyebrow {
        font-size: 12px;
    }

    .hero-index__title {
        max-width: 480px;

        font-size: clamp(42px, 13vw, 58px);
        line-height: 1.04;
        letter-spacing: -2px;
    }

    .hero-index__description {
        max-width: 440px;

        font-size: 14px;
    }

    .hero-index__product {
        width: 100%;

        padding-top: 0;
    }

    .hero-index__product-shape {
        width: min(100%, 410px);
        height: 520px;
        min-height: 0;

        margin: 0 auto;

        border-radius: 205px 205px 0 0;
    }

    .hero-index__product-image {
        width: 88%;
        height: 90%;
    }

    .hero-index__aside {
        width: 100%;

        padding-bottom: 55px;
    }

    .hero-index__stats {
        width: 100%;

        grid-template-columns: 1fr;
    }

    .hero-index__stat {
        padding: 22px;
    }

    .hero-index__stat strong {
        margin-bottom: 10px;

        font-size: 45px;
    }

    .hero-index__categories {
        width: 100%;
    }
}

/* =========================================
   MÓVILES PEQUEÑOS
========================================= */

@media screen and (max-width: 390px) {

    .hero-index__title {
        font-size: 40px;
    }

    .hero-index__product-shape {
        height: 440px;
    }

    .hero-index__categories a {
        padding-inline: 15px;
        font-size: 10px;
    }
}

/* =========================================
   SECCIÓN CALIDAD PARA TU HOGAR
========================================= */

.home-quality {
    --quality-blue: #06369f;
    --quality-pink: #e982c9;
    --quality-white: #ffffff;

    width: 100%;

    padding: 85px 0;

    background-color: var(--quality-white);
}

.home-quality__container {
    width: min(calc(100% - 80px), 1480px);

    margin: 0 auto;

    display: grid;
    grid-template-columns:
        minmax(440px, 0.95fr)
        minmax(470px, 1.05fr);

    align-items: center;

    gap: clamp(70px, 8vw, 145px);
}

/* =========================================
   IMAGEN
========================================= */

.home-quality__visual {
    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 0;
}

.home-quality__image {
    display: block;

    width: 100%;
    max-width: 620px;
    height: auto;

    border-radius: 16px;

    object-fit: contain;
}

/* =========================================
   CONTENIDO
========================================= */

.home-quality__content {
    max-width: 700px;
}

.home-quality__eyebrow {
    margin: 0 0 30px;

    color: var(--quality-blue);

    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;

    text-transform: uppercase;
}

.home-quality__title {
    max-width: 670px;

    margin: 0 0 34px;

    color: var(--quality-blue);

    font-size: clamp(48px, 4.3vw, 72px);
    font-weight: 700;
    line-height: 1.08;

    letter-spacing: -3px;
}

.home-quality__description {
    max-width: 660px;

    margin: 0 0 38px;

    color: var(--quality-blue);

    font-size: 20px;
    font-weight: 500;
    line-height: 1.55;
}

/* =========================================
   BENEFICIOS
========================================= */

.home-quality__benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 30px 65px;
}

.home-quality__benefit {
    display: flex;
    align-items: flex-start;
    flex-direction: column;

    gap: 16px;
}

.home-quality__benefit h3 {
    margin: 0;

    color: var(--quality-blue);

    font-size: 19px;
    font-weight: 500;
    line-height: 1.3;
}

.home-quality__icon {
    display: inline-flex;

    width: 62px;
    height: 62px;

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

    border-radius: 50%;

    color: var(--quality-pink);
    background-color: var(--quality-blue);

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

/* =========================================
   OPCIÓN PARA ICONOS SVG
========================================= */

.home-quality__icon svg {
    width: 26px;
    height: 26px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

/* =========================================
   LAPTOP
========================================= */

@media screen and (max-width: 1250px) {

    .home-quality {
        padding: 75px 0;
    }

    .home-quality__container {
        width: min(calc(100% - 56px), 1180px);

        grid-template-columns:
            minmax(380px, 0.95fr)
            minmax(420px, 1.05fr);

        gap: 65px;
    }

    .home-quality__title {
        font-size: clamp(43px, 4.5vw, 59px);
    }

    .home-quality__description {
        font-size: 17px;
    }

    .home-quality__benefits {
        gap: 28px 40px;
    }
}

/* =========================================
   TABLET
========================================= */

@media screen and (max-width: 900px) {

    .home-quality__container {
        width: min(calc(100% - 40px), 760px);

        grid-template-columns: 1fr;

        gap: 60px;
    }

    .home-quality__visual {
        order: 2;
    }

    .home-quality__content {
        order: 1;

        max-width: 100%;

        text-align: center;
    }

    .home-quality__title,
    .home-quality__description {
        margin-right: auto;
        margin-left: auto;
    }

    .home-quality__benefits {
        max-width: 620px;

        margin: 0 auto;

        text-align: left;
    }

    .home-quality__image {
        max-width: 650px;
    }
}

/* =========================================
   MÓVIL
========================================= */

@media screen and (max-width: 620px) {

    .home-quality {
        padding: 60px 0;
    }

    .home-quality__container {
        width: min(calc(100% - 28px), 500px);

        gap: 45px;
    }

    .home-quality__eyebrow {
        margin-bottom: 20px;

        font-size: 13px;
    }

    .home-quality__title {
        margin-bottom: 24px;

        font-size: clamp(38px, 11vw, 52px);
        line-height: 1.05;

        letter-spacing: -2px;
    }

    .home-quality__description {
        margin-bottom: 34px;

        font-size: 15px;
    }

    .home-quality__benefits {
        grid-template-columns: 1fr;

        gap: 22px;
    }

    .home-quality__benefit {
        align-items: center;

        padding: 20px;

        border: 1px solid rgba(6, 54, 159, 0.09);
        border-radius: 18px;

        background-color: #ffffff;

        box-shadow: 0 10px 25px rgba(6, 54, 159, 0.06);

        text-align: center;
    }

    .home-quality__benefit h3 {
        font-size: 17px;
    }

    .home-quality__icon {
        width: 56px;
        height: 56px;
    }

    .home-quality__image {
        border-radius: 12px;
    }
}

/* =========================================
   SERVICIO PENSADO PARA TI
========================================= */

.home-service {
    --service-blue: #0736a0;
    --service-background: #f4f6fa;
    --service-white: #ffffff;

    width: 100%;

    padding: 82px 0 90px;

    background-color: var(--service-background);
}

.home-service__container {
    width: min(calc(100% - 80px), 1420px);

    margin: 0 auto;
}

/* =========================================
   ENCABEZADO
========================================= */

.home-service__heading {
    display: grid;
    grid-template-columns:
        minmax(500px, 1.25fr)
        minmax(390px, 0.75fr);

    align-items: end;

    gap: clamp(60px, 8vw, 130px);

    margin-bottom: 70px;
}

.home-service__eyebrow {
    margin: 0 0 30px;

    color: var(--service-blue);

    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;

    text-transform: uppercase;
}

.home-service__title {
    max-width: 810px;

    margin: 0;

    color: var(--service-blue);

    font-size: clamp(48px, 4.2vw, 70px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -3px;
}

.home-service__heading-right {
    padding-bottom: 10px;
}

.home-service__description {
    max-width: 520px;

    margin: 0;

    color: var(--service-blue);

    font-size: 19px;
    font-weight: 500;
    line-height: 1.62;
}

/* =========================================
   TARJETAS
========================================= */

.home-service__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 28px;
}

.home-service__card {
    position: relative;

    min-height: 410px;

    overflow: hidden;

    border-radius: 14px;

    background-color: var(--service-white);

    box-shadow: 0 14px 35px rgba(7, 54, 160, 0.06);

    isolation: isolate;
}

.home-service__card-image {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition: transform 0.45s ease;
}

.home-service__card-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;

    background:
        linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0) 35%,
            rgba(255, 255, 255, 0.38) 58%,
            rgba(255, 255, 255, 0.96) 100%
        );
}

.home-service__card-content {
    position: absolute;
    z-index: 2;

    right: 0;
    bottom: 0;
    left: 0;

    padding: 30px 38px 38px;
}

.home-service__card-content h3 {
    margin: 0;

    color: var(--service-blue);

    font-size: clamp(24px, 2vw, 31px);
    font-weight: 700;
    line-height: 1.2;
}

.home-service__card:hover .home-service__card-image {
    transform: scale(1.045);
}

/* =========================================
   LAPTOP
========================================= */

@media screen and (max-width: 1250px) {

    .home-service {
        padding: 72px 0 82px;
    }

    .home-service__container {
        width: min(calc(100% - 56px), 1180px);
    }

    .home-service__heading {
        grid-template-columns:
            minmax(430px, 1.15fr)
            minmax(340px, 0.85fr);

        gap: 65px;

        margin-bottom: 58px;
    }

    .home-service__title {
        font-size: clamp(43px, 4.5vw, 58px);
    }

    .home-service__description {
        font-size: 17px;
    }

    .home-service__card {
        min-height: 360px;
    }

    .home-service__card-content {
        padding: 26px 28px 32px;
    }
}

/* =========================================
   TABLET
========================================= */

@media screen and (max-width: 900px) {

    .home-service__container {
        width: min(calc(100% - 40px), 760px);
    }

    .home-service__heading {
        grid-template-columns: 1fr;

        gap: 28px;

        margin-bottom: 48px;
    }

    .home-service__heading-right {
        padding-bottom: 0;
    }

    .home-service__description {
        max-width: 680px;
    }

    .home-service__cards {
        grid-template-columns: 1fr;

        gap: 24px;
    }

    .home-service__card {
        min-height: 440px;
    }

    .home-service__card-content h3 {
        font-size: 30px;
    }
}

/* =========================================
   MÓVIL
========================================= */

@media screen and (max-width: 620px) {

    .home-service {
        padding: 60px 0 65px;
    }

    .home-service__container {
        width: min(calc(100% - 28px), 500px);
    }

    .home-service__heading {
        margin-bottom: 38px;
    }

    .home-service__eyebrow {
        margin-bottom: 20px;

        font-size: 13px;
    }

    .home-service__title {
        font-size: clamp(38px, 11vw, 50px);
        line-height: 1.05;
        letter-spacing: -2px;
    }

    .home-service__description {
        font-size: 15px;
        line-height: 1.55;
    }

    .home-service__card {
        min-height: 350px;

        border-radius: 12px;
    }

    .home-service__card-content {
        padding: 24px;
    }

    .home-service__card-content h3 {
        font-size: 25px;
    }
}

/* =========================================
   SOLUCIONES PARA CADA ESPACIO
========================================= */

.home-solutions {
    --solutions-blue: #06369f;
    --solutions-cyan: #079bd4;
    --solutions-track: #d8d8d8;
    --solutions-white: #ffffff;

    width: 100%;
    padding: 32px 0 74px;

    background-color: var(--solutions-white);
}

.home-solutions__container {
    width: min(calc(100% - 80px), 1420px);
    margin: 0 auto;
}

/* =========================================
   PARTE PRINCIPAL
========================================= */

.home-solutions__main {
    display: grid;
    grid-template-columns:
        minmax(450px, 0.95fr)
        minmax(500px, 1.05fr);

    align-items: start;
    gap: clamp(70px, 8vw, 135px);
}

/* =========================================
   IMAGEN
========================================= */

.home-solutions__visual {
    display: flex;
    align-items: flex-start;
    justify-content: center;

    min-width: 0;
}

.home-solutions__image {
    display: block;

    width: 100%;
    max-width: 550px;
    height: auto;
    aspect-ratio: 1 / 1;

    border-radius: 12px;

    object-fit: cover;
    object-position: center;
}

/* =========================================
   CONTENIDO
========================================= */

.home-solutions__content {
    padding-top: 0;
}

.home-solutions__eyebrow {
    margin: 0 0 32px;

    color: var(--solutions-blue);

    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;

    text-transform: uppercase;
}

.home-solutions__title {
    max-width: 670px;

    margin: 0 0 32px;

    color: var(--solutions-blue);

    font-size: clamp(48px, 4.15vw, 68px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -3px;
}

.home-solutions__description {
    max-width: 610px;

    margin: 0 0 26px;

    color: var(--solutions-blue);

    font-size: 18px;
    font-weight: 500;
    line-height: 1.6;
}

/* =========================================
   BARRAS DE PROGRESO
========================================= */

.home-solutions__progress-list {
    display: grid;
    gap: 26px;

    margin-top: 22px;
}

.home-solutions__progress-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    margin-bottom: 14px;

    color: var(--solutions-blue);

    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
}

.home-solutions__progress-header strong {
    flex: 0 0 auto;

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

.home-solutions__progress-track {
    width: 100%;
    height: 16px;

    overflow: hidden;

    background-color: var(--solutions-track);
}

.home-solutions__progress-track span {
    display: block;

    width: var(--progress-value);
    height: 100%;

    background-color: var(--solutions-cyan);
}

/* =========================================
   BENEFICIOS INFERIORES
========================================= */

.home-solutions__benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 38px;

    margin-top: 74px;
}

.home-solutions__benefit {
    display: grid;
    grid-template-columns: 27px 1fr;
    align-items: start;
    gap: 12px;
}

.home-solutions__check {
    display: inline-flex;

    width: 26px;
    height: 26px;

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

    border-radius: 50%;

    color: #ffffff;
    background-color: var(--solutions-blue);

    font-size: 14px;
    font-weight: 800;
    line-height: 1;
}

.home-solutions__benefit h3 {
    margin: 1px 0 13px;

    color: var(--solutions-blue);

    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
}

.home-solutions__benefit p {
    max-width: 230px;

    margin: 0;

    color: var(--solutions-blue);

    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
}

/* =========================================
   LAPTOP
========================================= */

@media screen and (max-width: 1250px) {

    .home-solutions {
        padding: 42px 0 70px;
    }

    .home-solutions__container {
        width: min(calc(100% - 56px), 1180px);
    }

    .home-solutions__main {
        grid-template-columns:
            minmax(380px, 0.95fr)
            minmax(420px, 1.05fr);

        gap: 65px;
    }

    .home-solutions__image {
        max-width: 500px;
    }

    .home-solutions__title {
        font-size: clamp(43px, 4.4vw, 58px);
    }

    .home-solutions__description,
    .home-solutions__progress-header {
        font-size: 16px;
    }

    .home-solutions__benefits {
        gap: 24px;
        margin-top: 60px;
    }
}

/* =========================================
   TABLET
========================================= */

@media screen and (max-width: 900px) {

    .home-solutions__container {
        width: min(calc(100% - 40px), 760px);
    }

    .home-solutions__main {
        grid-template-columns: 1fr;
        gap: 52px;
    }

    .home-solutions__visual {
        order: 2;
    }

    .home-solutions__content {
        order: 1;
    }

    .home-solutions__title,
    .home-solutions__description {
        max-width: 100%;
    }

    .home-solutions__image {
        max-width: 640px;
    }

    .home-solutions__benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 34px 28px;

        margin-top: 55px;
    }

    .home-solutions__benefit p {
        max-width: none;
    }
}

/* =========================================
   MÓVIL
========================================= */

@media screen and (max-width: 620px) {

    .home-solutions {
        padding: 55px 0 60px;
    }

    .home-solutions__container {
        width: min(calc(100% - 28px), 500px);
    }

    .home-solutions__main {
        gap: 42px;
    }

    .home-solutions__eyebrow {
        margin-bottom: 20px;

        font-size: 13px;
    }

    .home-solutions__title {
        margin-bottom: 24px;

        font-size: clamp(38px, 11vw, 50px);
        line-height: 1.05;
        letter-spacing: -2px;
    }

    .home-solutions__description {
        font-size: 15px;
        line-height: 1.55;
    }

    .home-solutions__progress-list {
        gap: 24px;
    }

    .home-solutions__progress-header {
        align-items: flex-start;

        font-size: 14px;
    }

    .home-solutions__progress-header span {
        max-width: 76%;
    }

    .home-solutions__progress-header strong {
        font-size: 14px;
    }

    .home-solutions__progress-track {
        height: 12px;
    }

    .home-solutions__benefits {
        grid-template-columns: 1fr;
        gap: 26px;

        margin-top: 48px;
    }

    .home-solutions__benefit {
        padding: 20px;

        border: 1px solid rgba(6, 54, 159, 0.08);
        border-radius: 16px;

        background-color: #ffffff;

        box-shadow: 0 10px 25px rgba(6, 54, 159, 0.05);
    }

    .home-solutions__benefit h3 {
        margin-bottom: 8px;

        font-size: 16px;
        font-weight: 600;
    }

    .home-solutions__benefit p {
        font-size: 14px;
    }
}

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

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

.footer{

    margin-top:80px;
    background:#ffffff;
    border-top:1px solid #dfe8f5;

}

.footer-container{

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

    padding:70px 0;

    display:grid;

    grid-template-columns:
    1.5fr
    1fr
    1fr
    1.3fr;

    gap:60px;

}

.footer-logo{

    width:170px;
    margin-bottom:25px;

}

.footer-about p{

    color:#0A379C;
    line-height:1.8;
    font-size:16px;

    margin-bottom:30px;

}

.footer-contact{

    display:flex;
    flex-direction:column;
    gap:15px;

}

.footer-contact a,
.footer-contact span{

    color:#0A379C;

    text-decoration:none;

    display:flex;
    align-items:center;
    gap:12px;

    transition:.3s;

}

.footer-contact a:hover{

    color:#0d8ee7;

}

.footer h3{

    color:#0A379C;
    margin-bottom:25px;
    font-size:24px;

}

.footer-links ul{

    list-style:none;

}

.footer-links li{

    margin-bottom:18px;

}

.footer-links a{

    text-decoration:none;
    color:#0A379C;

    transition:.3s;

}

.footer-links a:hover{

    padding-left:8px;
    color:#1098F7;

}

.footer-hours p{

    color:#777;

    margin-bottom:5px;

}

.footer-hours strong{

    color:#0A379C;

}

.footer-button{

    display:inline-block;

    margin-top:15px;

    padding:14px 30px;

    border-radius:40px;

    background:#0A379C;

    color:#fff;

    text-decoration:none;

    transition:.3s;

}

.footer-button:hover{

    background:#1098F7;

}

.social-icons{

    display:flex;
    gap:15px;

    margin-bottom:30px;

}

.social-icons a{

    width:45px;
    height:45px;

    border-radius:50%;

    background:#0A379C;

    color:#fff;

    display:flex;

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

    transition:.3s;

    text-decoration:none;

}

.social-icons a:hover{

    background:#1098F7;
    transform:translateY(-5px);

}

.footer-mini-gallery{

    display:grid;

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

    gap:10px;

}

.footer-mini-gallery img{

    width:100%;
    height:85px;

    object-fit:cover;

    border-radius:10px;

}

.footer-bottom{

    background:#0A379C;

    padding:22px;

    text-align:center;

}

.footer-bottom p{

    color:#fff;

    margin:0;

    font-size:15px;

}

.footer-bottom strong{

    font-weight:600;

}

.footer-bottom span{

    margin:0 10px;

}

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

@media(max-width:1100px){

.footer-container{

grid-template-columns:1fr 1fr;

}

}

@media(max-width:768px){

.footer-container{

grid-template-columns:1fr;

text-align:center;

}

.footer-contact{

align-items:center;

}

.social-icons{

justify-content:center;

}

.footer-mini-gallery{

grid-template-columns:repeat(3,90px);

justify-content:center;

}

}

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

/* ======================================================
   CATÁLOGO DE PRODUCTOS
   ====================================================== */

.products-hero {
    position: relative;
    min-height: 430px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 24px 90px;
    text-align: center;
    background:
        linear-gradient(
            rgba(2, 23, 44, 0.78),
            rgba(2, 23, 44, 0.82)
        ),
        url("assets/fondo-hero-productos.png")
        center / cover no-repeat;
}

.products-hero__content {
    width: min(760px, 100%);
    color: #ffffff;
}

.products-hero__eyebrow {
    margin: 0 0 14px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.products-hero__title {
    margin: 0;
    font-size: clamp(42px, 7vw, 76px);
    line-height: 1;
    font-weight: 800;
}

.products-hero__description {
    max-width: 620px;
    margin: 22px auto 0;
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
}


/* Contenedor principal */

.products-catalog {
    padding: 90px 24px;
    background: #f5f7fa;
}

.products-catalog__container {
    width: min(1240px, 100%);
    margin: 0 auto;
}

.products-catalog__heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 32px;
}

.products-catalog__eyebrow {
    margin: 0 0 8px;
    color: #1a4fb6;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.products-catalog__heading h2 {
    margin: 0;
    color: #02172c;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.1;
}


/* Buscador */

.products-search {
    width: min(400px, 100%);
}

.products-search input {
    width: 100%;
    min-height: 50px;
    padding: 0 18px;
    border: 1px solid #d8dee8;
    border-radius: 12px;
    outline: none;
    background: #ffffff;
    color: #02172c;
    font-family: inherit;
    font-size: 14px;
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.products-search input:focus {
    border-color: #1a4fb6;
    box-shadow: 0 0 0 4px rgba(26, 79, 182, 0.12);
}


/* Filtros */

.products-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 38px;
}

.products-filter {
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid #d9e0ea;
    border-radius: 999px;
    background: #ffffff;
    color: #344055;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.products-filter:hover {
    border-color: #1a4fb6;
    color: #1a4fb6;
    transform: translateY(-2px);
}

.products-filter.is-active {
    border-color: #1a4fb6;
    background: #1a4fb6;
    color: #ffffff;
}


/* Cuadrícula */

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}


/* Card */

.product-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(2, 23, 44, 0.08);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 14px 40px rgba(2, 23, 44, 0.08);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 22px 48px rgba(2, 23, 44, 0.14);
}

.product-card__image-wrapper {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #edf1f6;
}

.product-card__image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.product-card:hover .product-card__image {
    transform: scale(1.045);
}

.product-card__category {
    position: absolute;
    top: 16px;
    left: 16px;
    max-width: calc(100% - 32px);
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(2, 23, 44, 0.88);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
}

.product-card__content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 24px;
}

.product-card__brand {
    margin: 0 0 8px;
    color: #1a4fb6;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.product-card__title {
    margin: 0 0 14px;
    color: #02172c;
    font-size: 22px;
    line-height: 1.25;
}

.product-card__model,
.product-card__detail {
    margin: 0 0 8px;
    color: #606b7d;
    font-size: 14px;
    line-height: 1.55;
}

.product-card__model strong {
    color: #243044;
}

.product-card__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: auto;
    padding-top: 22px;
}

.product-card__button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 10px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition:
        transform 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease;
}

.product-card__button:hover {
    transform: translateY(-2px);
}

.product-card__button--details {
    border: 1px solid #1a4fb6;
    background: transparent;
    color: #1a4fb6;
}

.product-card__button--details:hover {
    background: #1a4fb6;
    color: #ffffff;
}

.product-card__button--whatsapp {
    border: 1px solid #25d366;
    background: #25d366;
    color: #ffffff;
}

.product-card__button--whatsapp:hover {
    border-color: #1eae54;
    background: #1eae54;
}


/* Estados */

.products-loading,
.products-empty,
.products-error {
    grid-column: 1 / -1;
    padding: 34px;
    border-radius: 16px;
    background: #ffffff;
    color: #606b7d;
    text-align: center;
}

.products-error strong {
    display: block;
    margin-bottom: 8px;
    color: #b42318;
}

.products-error p {
    margin: 0;
}


/* ======================================================
   MODAL
   ====================================================== */

.product-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.product-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.product-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(2, 15, 30, 0.76);
    backdrop-filter: blur(5px);
}

.product-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(900px, 100%);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.3);
}

.product-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: #02172c;
    color: #ffffff;
    font-size: 27px;
    line-height: 1;
    cursor: pointer;
}

.product-modal__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.product-modal__image-wrapper {
    min-height: 480px;
    background: #edf1f6;
}

.product-modal__image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.product-modal__information {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 45px 45px;
}

.product-modal__category {
    margin: 0 0 12px;
    color: #1a4fb6;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.product-modal__title {
    margin: 0 0 28px;
    color: #02172c;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.08;
}

.product-modal__item {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 0;
    padding: 14px 0;
    border-bottom: 1px solid #e5e9f0;
    color: #606b7d;
    font-size: 14px;
}

.product-modal__item strong {
    color: #02172c;
    text-align: right;
}

.product-modal__whatsapp {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 28px;
    padding: 12px 20px;
    border-radius: 12px;
    background: #25d366;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition:
        background-color 0.25s ease,
        transform 0.25s ease;
}

.product-modal__whatsapp:hover {
    background: #1eae54;
    transform: translateY(-2px);
}

body.modal-open {
    overflow: hidden;
}


/* Accesibilidad */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


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

@media (max-width: 980px) {

    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .products-catalog__heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .products-search {
        width: 100%;
    }

    .product-modal__layout {
        grid-template-columns: 1fr;
    }

    .product-modal__image-wrapper {
        min-height: auto;
        aspect-ratio: 16 / 10;
    }

}

@media (max-width: 640px) {

    .products-hero {
        min-height: 360px;
        padding: 125px 20px 70px;
    }

    .products-catalog {
        padding: 65px 18px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .products-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 8px;
    }

    .products-filter {
        flex: 0 0 auto;
    }

    .product-card__actions {
        grid-template-columns: 1fr;
    }

    .product-modal {
        padding: 12px;
    }

    .product-modal__dialog {
        max-height: calc(100vh - 24px);
    }

    .product-modal__information {
        padding: 38px 24px 28px;
    }

    .product-modal__image-wrapper {
        aspect-ratio: 4 / 3;
    }

}
/*======================================
PRODUCT SELECTION
======================================*/

.products-selection{

    padding:90px 0;

}

.products-selection__container{

    width:min(92%,1400px);

    margin:auto;

    display:grid;

    grid-template-columns:520px 1fr;

    gap:90px;

    align-items:center;

}

.products-selection__image img{

    width:100%;

    border-radius:12px;

    display:block;

}

.products-selection__subtitle{

    color:#0038A8;

    font-size:17px;

    font-weight:600;

    letter-spacing:.5px;

}

.products-selection h2{

    color:#0038A8;

    font-size:66px;

    font-weight:700;

    line-height:1.1;

    margin:20px 0 30px;

}

.products-selection h2 span{

    display:block;

}

.products-selection p{

    color:#0038A8;

    font-size:20px;

    line-height:1.8;

    max-width:680px;

}

/*=========================
PROGRESS
==========================*/

.products-progress{

    margin-top:40px;

}

.progress-item{

    margin-bottom:35px;

}

.progress-header{

    display:flex;

    justify-content:space-between;

    margin-bottom:12px;

    color:#0038A8;

    font-weight:600;

    font-size:20px;

}

.progress-bar{

    height:14px;

    background:#dedede;

    overflow:hidden;

}

.progress-bar span{

    display:block;

    height:100%;

    background:#0d9fe8;

}

/*=========================
FEATURES
==========================*/

.products-selection__features{

    width:min(92%,1400px);

    margin:70px auto 0;

    display:grid;

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

    gap:45px;

}

.products-selection__features article{

    display:flex;

    gap:18px;

}

.products-selection__features i{

    color:#0038A8;

    font-size:22px;

    margin-top:5px;

}

.products-selection__features h4{

    color:#0038A8;

    font-size:24px;

    margin-bottom:12px;

}

.products-selection__features p{

    font-size:18px;

    line-height:1.6;

}

/*=========================
TABLET
==========================*/

@media(max-width:992px){

.products-selection__container{

grid-template-columns:1fr;

gap:50px;

}

.products-selection h2{

font-size:48px;

}

.products-selection__features{

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

}

}

/*=========================
MOVIL
==========================*/

@media(max-width:768px){

.products-selection{

padding:60px 0;

}

.products-selection h2{

font-size:38px;

}

.products-selection p{

font-size:16px;

}

.products-selection__features{

grid-template-columns:1fr;

}

.progress-header{

font-size:16px;

}

}

/* =========================================
   INTRODUCCIÓN DE PRODUCTOS
========================================= */

.products-intro {
    --products-blue: #06369f;
    --products-background: #f4f6fa;

    width: 100%;
    padding: 64px 0 60px;

    background-color: var(--products-background);
}

.products-intro__container {
    width: min(calc(100% - 80px), 1460px);
    margin: 0 auto;

    display: grid;
    grid-template-columns:
        minmax(520px, 1.15fr)
        minmax(460px, 0.85fr);

    align-items: end;
    gap: clamp(80px, 10vw, 170px);
}

/* =========================================
   COLUMNA IZQUIERDA
========================================= */

.products-intro__eyebrow {
    margin: 0 0 32px;

    color: var(--products-blue);

    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;

    text-transform: uppercase;
}

.products-intro__title {
    max-width: 700px;
    margin: 0;

    color: var(--products-blue);

    font-size: clamp(50px, 4.6vw, 72px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -3px;
}

.products-intro__title span {
    display: block;
}

/* =========================================
   COLUMNA DERECHA
========================================= */

.products-intro__content {
    padding-bottom: 8px;
}

.products-intro__content p {
    max-width: 570px;
    margin: 0;

    color: var(--products-blue);

    font-size: 20px;
    font-weight: 500;
    line-height: 1.62;
}

/* =========================================
   LAPTOP
========================================= */

@media screen and (max-width: 1200px) {
    .products-intro {
        padding: 58px 0 56px;
    }

    .products-intro__container {
        width: min(calc(100% - 56px), 1160px);

        grid-template-columns:
            minmax(430px, 1.05fr)
            minmax(390px, 0.95fr);

        gap: 70px;
    }

    .products-intro__title {
        font-size: clamp(46px, 5vw, 60px);
    }

    .products-intro__content p {
        font-size: 17px;
    }
}

/* =========================================
   TABLET
========================================= */

@media screen and (max-width: 900px) {
    .products-intro__container {
        width: min(calc(100% - 40px), 760px);

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

    .products-intro__content {
        padding-bottom: 0;
    }

    .products-intro__content p {
        max-width: 680px;
    }
}

/* =========================================
   MÓVIL
========================================= */

@media screen and (max-width: 620px) {
    .products-intro {
        padding: 52px 0 48px;
    }

    .products-intro__container {
        width: min(calc(100% - 28px), 500px);
        gap: 24px;
    }

    .products-intro__eyebrow {
        margin-bottom: 20px;
        font-size: 13px;
    }

    .products-intro__title {
        font-size: clamp(38px, 11vw, 50px);
        line-height: 1.05;
        letter-spacing: -2px;
    }

    .products-intro__content p {
        font-size: 15px;
        line-height: 1.58;
    }
}
/* =========================================
   CATÁLOGO DE PRODUCTOS
========================================= */

.products-catalog {
    --catalog-blue: #0736a0;
    --catalog-button: #3f5df4;
    --catalog-button-hover: #2947df;
    --catalog-background: #f3f5f9;
    --catalog-white: #ffffff;

    width: 100%;
    padding: 40px 0 90px;

    background-color: var(--catalog-background);
}

.products-catalog__container {
    width: min(calc(100% - 80px), 1450px);
    margin: 0 auto;
}

.products-catalog__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

/* =========================================
   CARD
========================================= */

.product-card {
    display: flex;
    min-width: 0;
    height: 100%;
    overflow: hidden;
    flex-direction: column;

    border-radius: 18px;

    background-color: var(--catalog-white);

    box-shadow: 0 14px 34px rgba(7, 54, 160, 0.07);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-6px);

    box-shadow: 0 20px 42px rgba(7, 54, 160, 0.13);
}

/* =========================================
   IMAGEN
========================================= */

.product-card__image-wrapper {
    position: relative;

    width: 100%;
    aspect-ratio: 1 / 1;

    overflow: hidden;

    background-color: #edf1f7;
}

/*
Con object-fit cover todas las imágenes llenan el
mismo espacio sin deformarse.
*/

.product-card__image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    image-rendering: auto;

    transition: transform 0.45s ease;
}

.product-card:hover .product-card__image {
    transform: scale(1.025);
}

/* =========================================
   ETIQUETAS DE MARCAS
========================================= */

.product-card__brands {
    position: absolute;
    z-index: 2;

    top: 24px;
    left: 24px;

    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-card__brands span {
    display: inline-flex;
    min-height: 38px;

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

    padding: 8px 20px;

    border-radius: 999px;

    color: var(--catalog-blue);
    background-color: rgba(255, 255, 255, 0.94);

    font-size: 14px;
    font-weight: 700;

    box-shadow: 0 6px 18px rgba(7, 54, 160, 0.07);
}

/* =========================================
   CONTENIDO
========================================= */

.product-card__body {
    display: flex;
    min-height: 180px;

    flex: 1;
    flex-direction: column;

    padding: 30px 38px;
}

.product-card__title {
    margin: 0 0 22px;

    color: var(--catalog-blue);

    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
}

/* =========================================
   BOTÓN
========================================= */

.product-card__button {
    display: inline-flex;
    width: 100%;
    min-height: 62px;

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

    margin-top: auto;
    padding: 14px 24px;

    border-radius: 4px;

    color: #ffffff;
    background-color: var(--catalog-button);

    font-size: 18px;
    font-weight: 600;
    line-height: 1;

    text-decoration: none;

    box-shadow: 0 10px 22px rgba(63, 93, 244, 0.2);

    transition:
        background-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.product-card__button:hover {
    color: #ffffff;
    background-color: var(--catalog-button-hover);

    text-decoration: none;

    transform: translateY(-2px);

    box-shadow: 0 14px 28px rgba(41, 71, 223, 0.28);
}

.product-card__button:visited,
.product-card__button:focus,
.product-card__button:active {
    color: #ffffff;
    text-decoration: none;
}

/* =========================================
   LAPTOP
========================================= */

@media screen and (max-width: 1200px) {
    .products-catalog__container {
        width: min(calc(100% - 56px), 1120px);
    }

    .products-catalog__grid {
        gap: 24px;
    }

    .product-card__body {
        min-height: 165px;
        padding: 26px 28px;
    }

    .product-card__title {
        font-size: 26px;
    }
}

/* =========================================
   TABLET
========================================= */

@media screen and (max-width: 900px) {
    .products-catalog__container {
        width: min(calc(100% - 40px), 760px);
    }

    .products-catalog__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* =========================================
   MÓVIL
========================================= */

@media screen and (max-width: 620px) {
    .products-catalog {
        padding: 30px 0 65px;
    }

    .products-catalog__container {
        width: min(calc(100% - 28px), 500px);
    }

    .products-catalog__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .product-card__brands {
        top: 18px;
        left: 18px;
    }

    .product-card__brands span {
        min-height: 34px;
        padding: 7px 16px;

        font-size: 12px;
    }

    .product-card__body {
        min-height: 150px;
        padding: 24px;
    }

    .product-card__title {
        margin-bottom: 18px;

        font-size: 25px;
    }

    .product-card__button {
        min-height: 56px;

        font-size: 16px;
    }
}

/* =========================================
   HERO DE PROMOCIONES
========================================= */

.promotions-hero {
    position: relative;

    width: 100%;
    min-height: 320px;

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

    overflow: hidden;

    background-color: #eef4fb;
    background-image: url("assets/fondo-hero-codel.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

/* Capa ligera para mejorar la lectura */
.promotions-hero::before {
    content: "";

    position: absolute;
    inset: 0;

    background: rgba(255, 255, 255, 0.02);
}

.promotions-hero__content {
    position: relative;
    z-index: 2;

    width: min(calc(100% - 40px), 1400px);
    margin: 0 auto;

    text-align: center;
}

.promotions-hero__title {
    margin: 0;

    color: #06369f;

    font-size: clamp(58px, 5vw, 82px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -3px;
}

/* =========================================
   LAPTOP
========================================= */

@media screen and (max-width: 1200px) {
    .promotions-hero {
        min-height: 280px;
    }

    .promotions-hero__title {
        font-size: clamp(52px, 6vw, 70px);
    }
}

/* =========================================
   TABLET
========================================= */

@media screen and (max-width: 900px) {
    .promotions-hero {
        min-height: 235px;
        background-position: 58% center;
    }

    .promotions-hero__content {
        width: min(calc(100% - 36px), 760px);
    }

    .promotions-hero__title {
        font-size: clamp(48px, 8vw, 62px);
    }
}

/* =========================================
   MÓVIL
========================================= */

@media screen and (max-width: 620px) {
    .promotions-hero {
        min-height: 190px;
        background-position: 62% center;
    }

    .promotions-hero__content {
        width: min(calc(100% - 28px), 500px);
    }

    .promotions-hero__title {
        font-size: clamp(40px, 12vw, 52px);
        letter-spacing: -2px;
    }
}

/* =========================================
   INTRODUCCIÓN DE PROMOCIONES
========================================= */

.promotions-intro {
    --promotions-blue: #06369f;
    --promotions-background: #f4f6fa;

    width: 100%;
    padding: 145px 0 105px;

    background-color: var(--promotions-background);
}

.promotions-intro__container {
    width: min(calc(100% - 80px), 1100px);
    margin: 0 auto;

    text-align: center;
}

.promotions-intro__eyebrow {
    margin: 0 0 34px;

    color: var(--promotions-blue);

    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;

    text-transform: uppercase;
}

.promotions-intro__title {
    max-width: 850px;
    margin: 0 auto 34px;

    color: var(--promotions-blue);

    font-size: clamp(50px, 4.7vw, 72px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -3px;
}

.promotions-intro__title span {
    display: block;
}

.promotions-intro__description {
    max-width: 900px;
    margin: 0 auto;

    color: var(--promotions-blue);

    font-size: 20px;
    font-weight: 500;
    line-height: 1.62;
}

/* =========================================
   LAPTOP
========================================= */

@media screen and (max-width: 1200px) {
    .promotions-intro {
        padding: 110px 0 90px;
    }

    .promotions-intro__container {
        width: min(calc(100% - 56px), 980px);
    }

    .promotions-intro__title {
        font-size: clamp(46px, 5vw, 62px);
    }

    .promotions-intro__description {
        font-size: 18px;
    }
}

/* =========================================
   TABLET
========================================= */

@media screen and (max-width: 900px) {
    .promotions-intro {
        padding: 90px 0 75px;
    }

    .promotions-intro__container {
        width: min(calc(100% - 40px), 760px);
    }

    .promotions-intro__title {
        font-size: clamp(42px, 7vw, 56px);
    }

    .promotions-intro__description {
        max-width: 680px;
    }
}

/* =========================================
   MÓVIL
========================================= */

@media screen and (max-width: 620px) {
    .promotions-intro {
        padding: 70px 0 60px;
    }

    .promotions-intro__container {
        width: min(calc(100% - 28px), 500px);
    }

    .promotions-intro__eyebrow {
        margin-bottom: 22px;

        font-size: 13px;
    }

    .promotions-intro__title {
        margin-bottom: 26px;

        font-size: clamp(38px, 11vw, 50px);
        line-height: 1.06;
        letter-spacing: -2px;
    }

    .promotions-intro__description {
        font-size: 15px;
        line-height: 1.58;
    }
}

/* =========================================
   GALERÍA DE PROMOCIONES
========================================= */

.promotions-gallery {
    --promotion-background: #f4f6fa;
    --promotion-radius: 14px;

    width: 100%;
    padding: 45px 0 90px;

    background-color: var(--promotion-background);
}

.promotions-gallery__container {
    width: min(calc(100% - 80px), 1460px);
    margin: 0 auto;
}

.promotions-gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

/* =========================================
   TARJETAS
========================================= */

.promotion-card {
    position: relative;

    width: 100%;
    aspect-ratio: 1 / 1;

    overflow: hidden;

    border-radius: var(--promotion-radius);
    background-color: #071b3d;

    box-shadow: 0 14px 34px rgba(7, 54, 160, 0.08);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.promotion-card:hover {
    transform: translateY(-5px);

    box-shadow: 0 20px 42px rgba(7, 54, 160, 0.14);
}

.promotion-card__image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    image-rendering: auto;

    transition: transform 0.45s ease;
}

.promotion-card:hover .promotion-card__image {
    transform: scale(1.025);
}

/* =========================================
   LAPTOP
========================================= */

@media screen and (max-width: 1200px) {
    .promotions-gallery__container {
        width: min(calc(100% - 56px), 1120px);
    }

    .promotions-gallery__grid {
        gap: 22px;
    }
}

/* =========================================
   TABLET
========================================= */

@media screen and (max-width: 900px) {
    .promotions-gallery {
        padding: 40px 0 70px;
    }

    .promotions-gallery__container {
        width: min(calc(100% - 40px), 760px);
    }

    .promotions-gallery__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* =========================================
   MÓVIL
========================================= */

@media screen and (max-width: 620px) {
    .promotions-gallery {
        padding: 30px 0 60px;
    }

    .promotions-gallery__container {
        width: min(calc(100% - 28px), 500px);
    }

    .promotions-gallery__grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .promotion-card {
        border-radius: 12px;
    }
}

/* =========================================
   HERO PÁGINA NOSOTROS
========================================= */

.about-hero {
    position: relative;

    width: 100%;
    min-height: 400px;

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

    overflow: hidden;

    background-color: #f4f8fc;
    background-image: url("assets/fondo-hero-codel.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.about-hero::before {
    content: "";
    position: absolute;
    inset: 0;

    background: rgba(255, 255, 255, 0.02);
}

.about-hero__content {
    position: relative;
    z-index: 2;

    width: min(calc(100% - 40px), 1400px);
    margin: 0 auto;

    text-align: center;
}

.about-hero__title {
    margin: 0;

    color: #06369f;

    font-size: clamp(60px, 6vw, 88px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -4px;
}

/* =========================================
   LAPTOP
========================================= */

@media screen and (max-width: 1200px) {
    .about-hero {
        min-height: 340px;
    }

    .about-hero__title {
        font-size: clamp(54px, 6vw, 74px);
    }
}

/* =========================================
   TABLET
========================================= */

@media screen and (max-width: 900px) {
    .about-hero {
        min-height: 280px;
        background-position: 45% center;
    }

    .about-hero__content {
        width: min(calc(100% - 36px), 760px);
    }

    .about-hero__title {
        font-size: clamp(48px, 8vw, 64px);
    }
}

/* =========================================
   MÓVIL
========================================= */

@media screen and (max-width: 620px) {
    .about-hero {
        min-height: 220px;
        background-position: 38% center;
    }

    .about-hero__content {
        width: min(calc(100% - 28px), 500px);
    }

    .about-hero__title {
        font-size: clamp(42px, 12vw, 54px);
        letter-spacing: -2px;
    }
}

/* =========================================
   SECCIÓN QUIÉNES SOMOS
========================================= */

.about-company {
    --about-blue: #06369f;
    --about-white: #ffffff;

    width: 100%;
    padding: 48px 0 90px;

    background-color: var(--about-white);
}

.about-company__container {
    width: min(calc(100% - 80px), 1480px);
    margin: 0 auto;

    display: grid;
    grid-template-columns:
        minmax(480px, 0.95fr)
        minmax(520px, 1.05fr);

    align-items: start;
    gap: clamp(70px, 8vw, 135px);
}

/* =========================================
   COLUMNA IZQUIERDA
========================================= */

.about-company__main-title {
    max-width: 680px;
    margin: 0 0 40px;

    color: var(--about-blue);

    font-size: clamp(36px, 3vw, 50px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -2px;

    text-align: center;
}

.about-company__main-title span {
    display: block;
}

.about-company__image {
    display: block;

    width: 100%;
    max-width: 620px;
    aspect-ratio: 1 / 1;

    border-radius: 14px;

    object-fit: cover;
    object-position: center;
}

/* =========================================
   COLUMNA DERECHA
========================================= */

.about-company__content {
    padding-top: 4px;
}

.about-company__eyebrow {
    margin: 0 0 24px;

    color: var(--about-blue);

    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;

    text-transform: uppercase;
}

.about-company__description {
    max-width: 620px;
    margin: 0 0 110px;

    color: var(--about-blue);

    font-size: 19px;
    font-weight: 500;
    line-height: 1.62;
}

/* =========================================
   BENEFICIOS
========================================= */

.about-company__features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 34px 60px;
}

.about-company__feature {
    display: flex;
    align-items: flex-start;
    flex-direction: column;

    gap: 18px;
}

.about-company__icon {
    display: inline-flex;

    width: 62px;
    height: 62px;

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

    border-radius: 50%;

    color: var(--about-white);
    background-color: var(--about-blue);

    font-size: 24px;
    line-height: 1;

    box-shadow: 0 10px 25px rgba(6, 54, 159, 0.14);
}

.about-company__icon i {
    color: #ffffff;
}

.about-company__feature p {
    max-width: 290px;
    margin: 0;

    color: var(--about-blue);

    font-size: 18px;
    font-weight: 500;
    line-height: 1.6;
}

/* =========================================
   LAPTOP
========================================= */

@media screen and (max-width: 1250px) {
    .about-company {
        padding: 45px 0 80px;
    }

    .about-company__container {
        width: min(calc(100% - 56px), 1160px);

        grid-template-columns:
            minmax(400px, 0.95fr)
            minmax(450px, 1.05fr);

        gap: 70px;
    }

    .about-company__main-title {
        font-size: clamp(34px, 3.2vw, 44px);
    }

    .about-company__description {
        margin-bottom: 70px;
        font-size: 17px;
    }

    .about-company__features {
        gap: 30px 38px;
    }

    .about-company__feature p {
        font-size: 16px;
    }
}

/* =========================================
   TABLET
========================================= */

@media screen and (max-width: 900px) {
    .about-company__container {
        width: min(calc(100% - 40px), 760px);

        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-company__main-title {
        max-width: 650px;
        margin-right: auto;
        margin-left: auto;
    }

    .about-company__image {
        max-width: 650px;
        margin: 0 auto;
    }

    .about-company__content {
        text-align: center;
    }

    .about-company__description {
        max-width: 680px;
        margin: 0 auto 55px;
    }

    .about-company__features {
        max-width: 650px;
        margin: 0 auto;

        text-align: left;
    }

    .about-company__feature p {
        max-width: none;
    }
}

/* =========================================
   MÓVIL
========================================= */

@media screen and (max-width: 620px) {
    .about-company {
        padding: 55px 0 65px;
    }

    .about-company__container {
        width: min(calc(100% - 28px), 500px);
        gap: 45px;
    }

    .about-company__main-title {
        margin-bottom: 28px;

        font-size: clamp(34px, 10vw, 46px);
        line-height: 1.07;
        letter-spacing: -1.5px;
    }

    .about-company__eyebrow {
        margin-bottom: 20px;

        font-size: 13px;
    }

    .about-company__description {
        margin-bottom: 38px;

        font-size: 15px;
        line-height: 1.58;
    }

    .about-company__features {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .about-company__feature {
        align-items: center;

        padding: 22px;

        border: 1px solid rgba(6, 54, 159, 0.08);
        border-radius: 18px;

        background-color: #ffffff;

        box-shadow: 0 10px 25px rgba(6, 54, 159, 0.05);

        text-align: center;
    }

    .about-company__icon {
        width: 58px;
        height: 58px;

        font-size: 22px;
    }

    .about-company__feature p {
        font-size: 15px;
    }

    .about-company__image {
        border-radius: 12px;
    }
}

/* =========================================
   SECCIÓN NUESTRO CAMINO
========================================= */

.about-journey {
    --journey-blue: #06369f;
    --journey-background: #f3f5f9;
    --journey-white: #ffffff;
    --journey-line: #d8dfeb;

    width: 100%;
    padding: 70px 0 90px;

    background-color: var(--journey-background);
}

.about-journey__container {
    width: min(calc(100% - 80px), 1480px);
    margin: 0 auto;
}

/* =========================================
   ENCABEZADO
========================================= */

.about-journey__header {
    display: grid;
    grid-template-columns:
        minmax(560px, 1.12fr)
        minmax(430px, 0.88fr);

    align-items: end;
    gap: clamp(80px, 9vw, 150px);

    margin-bottom: 78px;
}

.about-journey__eyebrow {
    margin: 0 0 28px;

    color: var(--journey-blue);

    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;

    text-transform: uppercase;
}

.about-journey__title {
    max-width: 760px;
    margin: 0;

    color: var(--journey-blue);

    font-size: clamp(52px, 4.6vw, 72px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -3px;
}

.about-journey__title span {
    display: block;
}

.about-journey__intro {
    max-width: 560px;
    margin: 0 0 8px;

    color: var(--journey-blue);

    font-size: 19px;
    font-weight: 500;
    line-height: 1.62;
}

/* =========================================
   CONTENIDO INFERIOR
========================================= */

.about-journey__content {
    display: grid;
    grid-template-columns:
        minmax(480px, 0.9fr)
        minmax(520px, 1.1fr);

    align-items: center;
    gap: clamp(70px, 8vw, 130px);
}

/* =========================================
   LÍNEA DE TIEMPO
========================================= */

.about-journey__timeline {
    position: relative;

    display: grid;
    gap: 52px;
}

.about-journey__timeline::before {
    content: "";

    position: absolute;
    top: 34px;
    bottom: 34px;
    left: 32px;

    width: 1px;

    background-color: var(--journey-line);
}

.journey-step {
    position: relative;
    z-index: 1;

    display: grid;
    grid-template-columns: 66px 1fr;
    align-items: start;
    gap: 28px;
}

.journey-step__marker {
    display: inline-flex;

    width: 66px;
    height: 66px;

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

    border-radius: 50%;

    color: var(--journey-white);
    background-color: var(--journey-blue);

    font-size: 23px;

    box-shadow: 0 10px 24px rgba(6, 54, 159, 0.14);
}

.journey-step__marker i {
    color: #ffffff;
}

.journey-step__content {
    padding-top: 6px;
}

.journey-step__content h3 {
    margin: 0 0 16px;

    color: var(--journey-blue);

    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
}

.journey-step__content p {
    max-width: 470px;
    margin: 0;

    color: var(--journey-blue);

    font-size: 17px;
    font-weight: 500;
    line-height: 1.62;
}

/* =========================================
   IMAGEN
========================================= */

.about-journey__visual {
    min-width: 0;
}

.about-journey__image {
    display: block;

    width: 100%;
    max-width: 730px;
    aspect-ratio: 1.5 / 1;

    border-radius: 14px;

    object-fit: cover;
    object-position: center;

    box-shadow: 0 16px 38px rgba(6, 54, 159, 0.08);
}

/* =========================================
   LAPTOP
========================================= */

@media screen and (max-width: 1250px) {

    .about-journey__container {
        width: min(calc(100% - 56px), 1160px);
    }

    .about-journey__header {
        grid-template-columns:
            minmax(460px, 1.05fr)
            minmax(390px, 0.95fr);

        gap: 70px;
    }

    .about-journey__title {
        font-size: clamp(46px, 4.8vw, 60px);
    }

    .about-journey__intro {
        font-size: 17px;
    }

    .about-journey__content {
        grid-template-columns:
            minmax(400px, 0.9fr)
            minmax(460px, 1.1fr);

        gap: 65px;
    }

    .journey-step__content h3 {
        font-size: 25px;
    }

    .journey-step__content p {
        font-size: 16px;
    }
}

/* =========================================
   TABLET
========================================= */

@media screen and (max-width: 900px) {

    .about-journey {
        padding: 65px 0 75px;
    }

    .about-journey__container {
        width: min(calc(100% - 40px), 760px);
    }

    .about-journey__header {
        grid-template-columns: 1fr;
        gap: 28px;

        margin-bottom: 58px;
    }

    .about-journey__intro {
        max-width: 680px;
    }

    .about-journey__content {
        grid-template-columns: 1fr;
        gap: 58px;
    }

    .about-journey__visual {
        order: 1;
    }

    .about-journey__timeline {
        order: 2;
    }

    .about-journey__image {
        max-width: 100%;
    }
}

/* =========================================
   MÓVIL
========================================= */

@media screen and (max-width: 620px) {

    .about-journey {
        padding: 55px 0 65px;
    }

    .about-journey__container {
        width: min(calc(100% - 28px), 500px);
    }

    .about-journey__header {
        margin-bottom: 42px;
    }

    .about-journey__eyebrow {
        margin-bottom: 20px;

        font-size: 13px;
    }

    .about-journey__title {
        font-size: clamp(38px, 11vw, 50px);
        line-height: 1.05;
        letter-spacing: -2px;
    }

    .about-journey__intro {
        font-size: 15px;
        line-height: 1.58;
    }

    .about-journey__content {
        gap: 42px;
    }

    .about-journey__timeline {
        gap: 28px;
    }

    .about-journey__timeline::before {
        left: 27px;
    }

    .journey-step {
        grid-template-columns: 56px 1fr;
        gap: 18px;
    }

    .journey-step__marker {
        width: 56px;
        height: 56px;

        font-size: 19px;
    }

    .journey-step__content {
        padding-top: 3px;
    }

    .journey-step__content h3 {
        margin-bottom: 10px;

        font-size: 21px;
    }

    .journey-step__content p {
        font-size: 14px;
    }

    .about-journey__image {
        aspect-ratio: 1.2 / 1;
        border-radius: 12px;
    }
}
/* =========================================
   SECCIÓN NUESTROS VALORES
========================================= */

.about-values {
    --values-blue: #06369f;
    --values-blue-hover: #0a46c4;
    --values-white: #ffffff;

    width: 100%;
    padding: 70px 0 90px;

    background-color: var(--values-white);
}

.about-values__container {
    width: min(calc(100% - 80px), 1480px);
    margin: 0 auto;
}

/* =========================================
   PARTE SUPERIOR
========================================= */

.about-values__top {
    display: grid;
    grid-template-columns:
        minmax(500px, 0.95fr)
        minmax(520px, 1.05fr);

    align-items: center;
    gap: clamp(80px, 9vw, 145px);

    margin-bottom: 82px;
}

/* =========================================
   IMAGEN
========================================= */

.about-values__visual {
    min-width: 0;
}

.about-values__image {
    display: block;

    width: 100%;
    max-width: 650px;
    aspect-ratio: 1.48 / 1;

    border-radius: 14px;

    object-fit: cover;
    object-position: center;

    box-shadow: 0 16px 38px rgba(6, 54, 159, 0.08);
}

/* =========================================
   TEXTO
========================================= */

.about-values__eyebrow {
    margin: 0 0 30px;

    color: var(--values-blue);

    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;

    text-transform: uppercase;
}

.about-values__title {
    max-width: 680px;
    margin: 0 0 36px;

    color: var(--values-blue);

    font-size: clamp(50px, 4.4vw, 68px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -3px;
}

.about-values__title span {
    display: block;
}

.about-values__description {
    max-width: 650px;
    margin: 0;

    color: var(--values-blue);

    font-size: 19px;
    font-weight: 500;
    line-height: 1.62;
}

/* =========================================
   CUADRÍCULA DE VALORES
========================================= */

.about-values__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 46px;
}

.about-values__item {
    min-width: 0;
}

.about-values__icon {
    display: inline-flex;

    width: 64px;
    height: 64px;

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

    margin-bottom: 24px;

    border-radius: 50%;

    color: #ffffff;
    background-color: var(--values-blue);

    font-size: 25px;
    line-height: 1;

    box-shadow: 0 10px 25px rgba(6, 54, 159, 0.15);

    transition:
        transform 0.3s ease,
        background-color 0.3s ease,
        box-shadow 0.3s ease;
}

.about-values__icon i {
    color: #ffffff;
}

.about-values__item:hover .about-values__icon {
    background-color: var(--values-blue-hover);

    transform: translateY(-4px);

    box-shadow: 0 15px 30px rgba(6, 54, 159, 0.22);
}

.about-values__item h3 {
    margin: 0 0 18px;

    color: var(--values-blue);

    font-size: 25px;
    font-weight: 700;
    line-height: 1.25;
}

.about-values__item p {
    max-width: 300px;
    margin: 0;

    color: var(--values-blue);

    font-size: 16px;
    font-weight: 500;
    line-height: 1.68;
}

/* =========================================
   LAPTOP
========================================= */

@media screen and (max-width: 1250px) {

    .about-values {
        padding: 65px 0 80px;
    }

    .about-values__container {
        width: min(calc(100% - 56px), 1160px);
    }

    .about-values__top {
        grid-template-columns:
            minmax(420px, 0.95fr)
            minmax(450px, 1.05fr);

        gap: 70px;

        margin-bottom: 68px;
    }

    .about-values__title {
        font-size: clamp(45px, 4.6vw, 58px);
    }

    .about-values__description {
        font-size: 17px;
    }

    .about-values__grid {
        gap: 30px;
    }

    .about-values__item h3 {
        font-size: 22px;
    }

    .about-values__item p {
        font-size: 15px;
    }
}

/* =========================================
   TABLET
========================================= */

@media screen and (max-width: 900px) {

    .about-values__container {
        width: min(calc(100% - 40px), 760px);
    }

    .about-values__top {
        grid-template-columns: 1fr;
        gap: 52px;

        margin-bottom: 60px;
    }

    .about-values__visual {
        order: 2;
    }

    .about-values__content {
        order: 1;
        text-align: center;
    }

    .about-values__title,
    .about-values__description {
        margin-right: auto;
        margin-left: auto;
    }

    .about-values__image {
        max-width: 680px;
        margin: 0 auto;
    }

    .about-values__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 38px 32px;
    }

    .about-values__item p {
        max-width: none;
    }
}

/* =========================================
   MÓVIL
========================================= */

@media screen and (max-width: 620px) {

    .about-values {
        padding: 55px 0 65px;
    }

    .about-values__container {
        width: min(calc(100% - 28px), 500px);
    }

    .about-values__top {
        gap: 42px;
        margin-bottom: 48px;
    }

    .about-values__eyebrow {
        margin-bottom: 20px;

        font-size: 13px;
    }

    .about-values__title {
        margin-bottom: 24px;

        font-size: clamp(38px, 11vw, 50px);
        line-height: 1.05;
        letter-spacing: -2px;
    }

    .about-values__description {
        font-size: 15px;
        line-height: 1.58;
    }

    .about-values__image {
        aspect-ratio: 1.2 / 1;
        border-radius: 12px;
    }

    .about-values__grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .about-values__item {
        padding: 24px;

        border: 1px solid rgba(6, 54, 159, 0.08);
        border-radius: 18px;

        background-color: #ffffff;

        box-shadow: 0 10px 25px rgba(6, 54, 159, 0.05);

        text-align: center;
    }

    .about-values__icon {
        width: 58px;
        height: 58px;

        margin-bottom: 18px;

        font-size: 22px;
    }

    .about-values__item h3 {
        margin-bottom: 12px;

        font-size: 21px;
    }

    .about-values__item p {
        font-size: 15px;
    }
}

/* =========================================
   HERO PÁGINA CONTACTO
========================================= */

.contact-hero {
    position: relative;

    width: 100%;
    min-height: 410px;

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

    overflow: hidden;

    background-color: #f3f8fd;
    background-image: url("assets/fondo-hero-codel.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

/* Capa muy ligera para mantener buena lectura */
.contact-hero::before {
    content: "";

    position: absolute;
    inset: 0;

    background: rgba(255, 255, 255, 0.02);
}

.contact-hero__content {
    position: relative;
    z-index: 2;

    width: min(calc(100% - 40px), 1400px);
    margin: 0 auto;

    text-align: center;
}

.contact-hero__title {
    margin: 0;

    color: #06369f;

    font-size: clamp(58px, 6vw, 86px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -4px;
}

/* =========================================
   LAPTOP
========================================= */

@media screen and (max-width: 1200px) {

    .contact-hero {
        min-height: 350px;
    }

    .contact-hero__title {
        font-size: clamp(52px, 6vw, 72px);
    }
}

/* =========================================
   TABLET
========================================= */

@media screen and (max-width: 900px) {

    .contact-hero {
        min-height: 290px;

        background-position: 58% center;
    }

    .contact-hero__content {
        width: min(calc(100% - 36px), 760px);
    }

    .contact-hero__title {
        font-size: clamp(48px, 8vw, 64px);
        letter-spacing: -3px;
    }
}

/* =========================================
   MÓVIL
========================================= */

@media screen and (max-width: 620px) {

    .contact-hero {
        min-height: 225px;

        background-position: 65% center;
    }

    .contact-hero__content {
        width: min(calc(100% - 28px), 500px);
    }

    .contact-hero__title {
        font-size: clamp(42px, 12vw, 54px);
        letter-spacing: -2px;
    }
}
/* =========================================
   INTRODUCCIÓN DE CONTACTO
========================================= */

.contact-intro {
    --contact-blue: #06369f;
    --contact-white: #ffffff;

    width: 100%;
    padding: 145px 0 115px;

    background-color: var(--contact-white);
}

.contact-intro__container {
    width: min(calc(100% - 80px), 1420px);
    margin: 0 auto;

    display: grid;
    grid-template-columns:
        minmax(560px, 1.15fr)
        minmax(450px, 0.85fr);

    align-items: center;
    gap: clamp(90px, 10vw, 180px);
}

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

.contact-intro__title {
    max-width: 760px;
    margin: 0;

    color: var(--contact-blue);

    font-size: clamp(50px, 4.5vw, 72px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -3px;

    text-align: center;
}

.contact-intro__title span {
    display: block;
}

/* =========================================
   TEXTO
========================================= */

.contact-intro__content p {
    max-width: 610px;
    margin: 0;

    color: var(--contact-blue);

    font-size: 20px;
    font-weight: 500;
    line-height: 1.62;
}

/* =========================================
   LAPTOP
========================================= */

@media screen and (max-width: 1200px) {

    .contact-intro {
        padding: 110px 0 90px;
    }

    .contact-intro__container {
        width: min(calc(100% - 56px), 1140px);

        grid-template-columns:
            minmax(470px, 1.05fr)
            minmax(400px, 0.95fr);

        gap: 75px;
    }

    .contact-intro__title {
        font-size: clamp(46px, 5vw, 60px);
    }

    .contact-intro__content p {
        font-size: 17px;
    }
}

/* =========================================
   TABLET
========================================= */

@media screen and (max-width: 900px) {

    .contact-intro {
        padding: 90px 0 75px;
    }

    .contact-intro__container {
        width: min(calc(100% - 40px), 760px);

        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-intro__title {
        max-width: 680px;
        margin: 0 auto;

        text-align: center;
    }

    .contact-intro__content p {
        max-width: 680px;
        margin: 0 auto;

        text-align: center;
    }
}

/* =========================================
   MÓVIL
========================================= */

@media screen and (max-width: 620px) {

    .contact-intro {
        padding: 70px 0 60px;
    }

    .contact-intro__container {
        width: min(calc(100% - 28px), 500px);
        gap: 24px;
    }

    .contact-intro__title {
        font-size: clamp(38px, 11vw, 50px);
        line-height: 1.05;
        letter-spacing: -2px;
    }

    .contact-intro__content p {
        font-size: 15px;
        line-height: 1.58;
    }
}


/* =========================================
   SISTEMA GLOBAL DE ANIMACIONES CODEL
   Agregado para dar movimiento elegante
========================================= */

:root {
    --animation-duration: 0.85s;
    --animation-easing: cubic-bezier(0.22, 1, 0.36, 1);
    --animation-distance: 42px;
}

/* Evita saltos horizontales durante las entradas */
html,
body {
    overflow-x: hidden;
}

/* Elementos revelados mediante JavaScript */
[data-animate] {
    opacity: 0;
    will-change: opacity, transform;
    transition:
        opacity var(--animation-duration) var(--animation-easing),
        transform var(--animation-duration) var(--animation-easing);
}

/* Entrada desde abajo */
[data-animate="fade-up"] {
    transform: translate3d(0, var(--animation-distance), 0);
}

/* Entrada desde arriba */
[data-animate="fade-down"] {
    transform: translate3d(0, calc(var(--animation-distance) * -1), 0);
}

/* Entrada desde la izquierda */
[data-animate="fade-left"] {
    transform: translate3d(calc(var(--animation-distance) * -1), 0, 0);
}

/* Entrada desde la derecha */
[data-animate="fade-right"] {
    transform: translate3d(var(--animation-distance), 0, 0);
}

/* Escala suave */
[data-animate="zoom-in"] {
    transform: scale(0.94);
}

/* Estado visible */
[data-animate].is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

/* Retrasos reutilizables */
[data-delay="100"] { transition-delay: 0.1s; }
[data-delay="200"] { transition-delay: 0.2s; }
[data-delay="300"] { transition-delay: 0.3s; }
[data-delay="400"] { transition-delay: 0.4s; }
[data-delay="500"] { transition-delay: 0.5s; }
[data-delay="600"] { transition-delay: 0.6s; }

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

.header {
    animation: headerEntrance 0.75s var(--animation-easing) both;
}

.header__logo-img {
    transition:
        transform 0.35s var(--animation-easing),
        filter 0.35s ease;
}

.header__logo:hover .header__logo-img {
    transform: scale(1.045);
    filter: drop-shadow(0 8px 16px rgba(6, 52, 156, 0.16));
}

@keyframes headerEntrance {
    from {
        opacity: 0;
        transform: translateY(-18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.hero-index__eyebrow {
    animation: heroFadeUp 0.75s 0.12s var(--animation-easing) both;
}

.hero-index__title {
    animation: heroFadeUp 0.9s 0.22s var(--animation-easing) both;
}

.hero-index__description {
    animation: heroFadeUp 0.85s 0.34s var(--animation-easing) both;
}

.hero-index__button {
    text-decoration: none;
    animation: heroFadeUp 0.8s 0.46s var(--animation-easing) both;
}

.hero-index__product-shape {
    animation:
        heroProductEntrance 1s 0.25s var(--animation-easing) both,
        heroShapeFloat 5.5s 1.25s ease-in-out infinite;
}

.hero-index__product-image {
    animation: productFloat 4.5s 1.2s ease-in-out infinite;
}

.hero-index__stat {
    animation: heroFadeRight 0.75s var(--animation-easing) both;
}

.hero-index__stat:nth-child(1) { animation-delay: 0.32s; }
.hero-index__stat:nth-child(2) { animation-delay: 0.44s; }
.hero-index__stat:nth-child(3) { animation-delay: 0.56s; }

.hero-index__categories a {
    animation: categoryEntrance 0.6s var(--animation-easing) both;
}

.hero-index__categories a:nth-child(1) { animation-delay: 0.62s; }
.hero-index__categories a:nth-child(2) { animation-delay: 0.70s; }
.hero-index__categories a:nth-child(3) { animation-delay: 0.78s; }
.hero-index__categories a:nth-child(4) { animation-delay: 0.86s; }
.hero-index__categories a:nth-child(5) { animation-delay: 0.94s; }
.hero-index__categories a:nth-child(6) { animation-delay: 1.02s; }

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(34px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroFadeRight {
    from {
        opacity: 0;
        transform: translateX(34px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes heroProductEntrance {
    from {
        opacity: 0;
        transform: translateY(45px) scale(0.94);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes productFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

@keyframes heroShapeFloat {
    0%,
    100% {
        box-shadow: 0 0 45px rgba(255, 255, 255, 0.72);
    }

    50% {
        box-shadow:
            0 0 58px rgba(255, 255, 255, 0.92),
            0 18px 40px rgba(6, 54, 159, 0.12);
    }
}

@keyframes categoryEntrance {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* =========================================
   IMÁGENES GENERALES
========================================= */

.home-quality__image,
.home-solutions__image,
.products-selection__image img,
.about-company__image,
.about-journey__image,
.about-values__image {
    transition:
        transform 0.65s var(--animation-easing),
        box-shadow 0.65s ease,
        filter 0.65s ease;
}

.home-quality__visual:hover .home-quality__image,
.home-solutions__visual:hover .home-solutions__image,
.products-selection__image:hover img,
.about-company__left:hover .about-company__image,
.about-journey__visual:hover .about-journey__image,
.about-values__visual:hover .about-values__image {
    transform: scale(1.025);
    filter: saturate(1.04);
    box-shadow: 0 22px 48px rgba(6, 54, 159, 0.14);
}

/* =========================================
   ICONOS Y BENEFICIOS
========================================= */

.home-quality__icon,
.about-company__icon,
.about-values__icon,
.journey-step__marker,
.home-solutions__check {
    transition:
        transform 0.35s var(--animation-easing),
        box-shadow 0.35s ease,
        background-color 0.35s ease;
}

.home-quality__benefit:hover .home-quality__icon,
.about-company__feature:hover .about-company__icon,
.about-values__item:hover .about-values__icon,
.journey-step:hover .journey-step__marker,
.home-solutions__benefit:hover .home-solutions__check {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(6, 54, 159, 0.22);
}

/* =========================================
   TARJETAS
========================================= */

.home-service__card,
.product-card,
.promotion-card,
.about-values__item,
.home-quality__benefit,
.home-solutions__benefit {
    backface-visibility: hidden;
}

.home-service__card,
.product-card,
.promotion-card {
    transition:
        transform 0.42s var(--animation-easing),
        box-shadow 0.42s ease;
}

.home-service__card:hover,
.product-card:hover,
.promotion-card:hover {
    transform: translateY(-9px);
}

.home-service__card:hover {
    box-shadow: 0 25px 48px rgba(7, 54, 160, 0.14);
}

.home-service__card-content {
    transition: transform 0.4s var(--animation-easing);
}

.home-service__card:hover .home-service__card-content {
    transform: translateY(-5px);
}

/* =========================================
   BARRAS DE PROGRESO ANIMADAS
========================================= */

.home-solutions__progress-track span,
.progress-bar span {
    width: 0 !important;
    transform-origin: left center;
    transition: width 1.25s var(--animation-easing);
}

.home-solutions__progress-track span.is-progress-visible {
    width: var(--progress-value) !important;
}

/*
Para las barras .progress-bar se conserva el valor
original mediante JavaScript en --target-width.
*/
.progress-bar span.is-progress-visible {
    width: var(--target-width) !important;
}

/* =========================================
   TÍTULOS DE HERO INTERNOS
========================================= */

.products-hero__title,
.promotions-hero__title,
.about-hero__title,
.contact-hero__title {
    animation: pageHeroTitle 0.95s 0.12s var(--animation-easing) both;
}

.products-hero::after,
.promotions-hero::after,
.about-hero::after,
.contact-hero::after {
    content: "";

    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;

    height: 3px;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 88, 221, 0.95),
        transparent
    );

    transform: scaleX(0);
    transform-origin: center;

    animation: heroLineExpand 1.15s 0.45s var(--animation-easing) forwards;
}

@keyframes pageHeroTitle {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes heroLineExpand {
    to {
        transform: scaleX(1);
    }
}

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

.header__cta,
.hero-index__button,
.product-card__button {
    position: relative;
    overflow: hidden;
}

.header__cta::before,
.hero-index__button::before,
.product-card__button::before {
    content: "";

    position: absolute;
    top: 0;
    left: -130%;

    width: 75%;
    height: 100%;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.35),
        transparent
    );

    transform: skewX(-22deg);
    transition: left 0.65s ease;
}

.header__cta:hover::before,
.hero-index__button:hover::before,
.product-card__button:hover::before {
    left: 145%;
}

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

.site-footer__logo img {
    transition: transform 0.35s var(--animation-easing);
}

.site-footer__logo:hover img {
    transform: scale(1.05);
}

/* =========================================
   RESPETO A PREFERENCIAS DE ACCESIBILIDAD
========================================= */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0ms !important;
    }

    [data-animate] {
        opacity: 1 !important;
        transform: none !important;
    }

    .home-solutions__progress-track span,
    .progress-bar span {
        width: var(--progress-value, var(--target-width, 100%)) !important;
    }
}

/* En móvil reducimos la distancia para evitar movimientos exagerados */
@media screen and (max-width: 620px) {
    :root {
        --animation-distance: 25px;
        --animation-duration: 0.7s;
    }

    .hero-index__product-image {
        animation-duration: 5.5s;
    }
}
[data-animate] {
  opacity: 0;
  visibility: hidden;
  transform: translateY(40px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.8s ease;
  transition-delay: var(--animation-delay, 0ms);
  will-change: opacity, transform;
}

[data-animate="fade-left"] {
  transform: translateX(-45px);
}

[data-animate="fade-right"] {
  transform: translateX(45px);
}

[data-animate="fade-down"] {
  transform: translateY(-40px);
}

[data-animate="zoom-in"] {
  transform: scale(0.92);
}

[data-animate].is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  [data-animate] {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }
}
/* =========================================
   PANEL DE CONTACTO
========================================= */

.contact-panel {
    --contact-blue: #06369f;
    --contact-cyan: #069bd3;
    --contact-card: #f3f5f9;
    --contact-white: #ffffff;
    --contact-red: #e00000;
    --contact-line: #cfd6df;

    width: 100%;
    padding: 45px 0 85px;

    background-color: var(--contact-white);
}

.contact-panel__container {
    width: min(calc(100% - 80px), 1160px);
    margin: 0 auto;

    display: grid;
    grid-template-columns:
        minmax(360px, 0.85fr)
        minmax(460px, 1.15fr);

    align-items: start;
    gap: clamp(55px, 7vw, 95px);
}

/* =========================================
   FORMULARIO
========================================= */

.contact-panel__form-card {
    padding: 35px 32px 38px;

    border-radius: 10px;

    background-color: var(--contact-card);
}

.contact-panel__form {
    display: grid;
    gap: 20px;
}

.contact-panel__field {
    display: grid;
    gap: 9px;
}

.contact-panel__field label {
    color: var(--contact-blue);

    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.contact-panel__field label span {
    color: var(--contact-red);
}

.contact-panel__field input,
.contact-panel__field textarea {
    width: 100%;

    border: 1px solid transparent;
    border-radius: 5px;
    outline: none;

    color: var(--contact-blue);
    background-color: var(--contact-white);

    font-family: inherit;
    font-size: 13px;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.contact-panel__field input {
    min-height: 52px;
    padding: 13px 16px;
}

.contact-panel__field textarea {
    min-height: 180px;
    padding: 15px 16px;

    resize: vertical;
}

.contact-panel__field input::placeholder,
.contact-panel__field textarea::placeholder {
    color: var(--contact-blue);
    opacity: 1;
}

.contact-panel__field input:focus,
.contact-panel__field textarea:focus {
    border-color: var(--contact-cyan);

    box-shadow: 0 0 0 3px rgba(6, 155, 211, 0.12);
}

/* =========================================
   BOTÓN
========================================= */

.contact-panel__button {
    display: inline-flex;
    width: 100%;
    min-height: 50px;

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

    padding: 12px 24px;

    border: 0;
    border-radius: 999px;

    color: var(--contact-blue);
    background-color: var(--contact-cyan);

    font-family: inherit;
    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.contact-panel__button:hover {
    color: var(--contact-white);
    background-color: var(--contact-blue);

    transform: translateY(-2px);

    box-shadow: 0 10px 24px rgba(6, 54, 159, 0.18);
}

/* =========================================
   INFORMACIÓN
========================================= */

.contact-panel__information {
    min-width: 0;
}

.contact-panel__details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 34px;

    margin-bottom: 24px;
}

.contact-panel__detail {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);

    align-items: center;
    gap: 14px;

    color: var(--contact-blue);
    text-decoration: none;
}

.contact-panel__detail-icon {
    display: inline-flex;

    width: 58px;
    height: 58px;

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

    border-radius: 50%;

    color: var(--contact-white);
    background-color: var(--contact-blue);

    font-size: 20px;

    transition:
        background-color 0.25s ease,
        transform 0.25s ease;
}

.contact-panel__detail:hover .contact-panel__detail-icon {
    background-color: var(--contact-cyan);

    transform: translateY(-3px);
}

.contact-panel__detail-text {
    min-width: 0;
}

.contact-panel__detail-text small,
.contact-panel__detail-text strong {
    display: block;
}

.contact-panel__detail-text small {
    margin-bottom: 4px;

    color: var(--contact-blue);

    font-size: 11px;
    font-weight: 700;

    text-transform: uppercase;
}

.contact-panel__detail-text strong {
    color: var(--contact-blue);

    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;

    overflow-wrap: anywhere;
}

/* =========================================
   IMAGEN
========================================= */

.contact-panel__image {
    display: flex;
    align-items: center;
    justify-content: center;

    margin-top: 6px;
}

.contact-panel__image img {
    display: block;

    width: 100%;
    max-width: 520px;
    height: auto;

    object-fit: contain;
}

/* =========================================
   REDES SOCIALES
========================================= */

.contact-panel__social {
    margin-top: 20px;
}

.contact-panel__social h3 {
    margin: 0 0 10px;

    color: var(--contact-blue);

    font-size: 13px;
    font-weight: 700;

    text-transform: uppercase;
}

.contact-panel__social-line {
    width: 100%;
    height: 1px;

    margin-bottom: 14px;

    background-color: var(--contact-line);
}

.contact-panel__social-links {
    display: flex;
    gap: 10px;
}

.contact-panel__social-links a {
    display: inline-flex;

    width: 34px;
    height: 34px;

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

    border-radius: 50%;

    color: var(--contact-white);
    background-color: var(--contact-blue);

    font-size: 14px;
    text-decoration: none;

    transition:
        background-color 0.25s ease,
        transform 0.25s ease;
}

.contact-panel__social-links a:hover {
    background-color: var(--contact-cyan);

    transform: translateY(-3px);
}

/* =========================================
   LAPTOP
========================================= */

@media screen and (max-width: 1050px) {

    .contact-panel__container {
        width: min(calc(100% - 56px), 950px);

        grid-template-columns:
            minmax(340px, 0.9fr)
            minmax(420px, 1.1fr);

        gap: 50px;
    }

    .contact-panel__form-card {
        padding: 30px 26px;
    }

    .contact-panel__details {
        gap: 22px;
    }

    .contact-panel__detail {
        grid-template-columns: 52px 1fr;
    }

    .contact-panel__detail-icon {
        width: 52px;
        height: 52px;
    }

    .contact-panel__detail-text strong {
        font-size: 14px;
    }
}

/* =========================================
   TABLET
========================================= */

@media screen and (max-width: 820px) {

    .contact-panel__container {
        width: min(calc(100% - 40px), 680px);

        grid-template-columns: 1fr;
        gap: 55px;
    }

    .contact-panel__form-card {
        max-width: 520px;
        margin: 0 auto;
    }

    .contact-panel__information {
        width: 100%;
    }

    .contact-panel__details {
        max-width: 620px;
        margin-right: auto;
        margin-left: auto;
    }

    .contact-panel__image img {
        max-width: 540px;
    }

    .contact-panel__social {
        max-width: 620px;
        margin-right: auto;
        margin-left: auto;
    }
}

/* =========================================
   MÓVIL
========================================= */

@media screen and (max-width: 560px) {

    .contact-panel {
        padding: 35px 0 60px;
    }

    .contact-panel__container {
        width: min(calc(100% - 28px), 470px);
        gap: 42px;
    }

    .contact-panel__form-card {
        width: 100%;
        padding: 24px 18px;

        border-radius: 9px;
    }

    .contact-panel__form {
        gap: 17px;
    }

    .contact-panel__field label {
        font-size: 14px;
    }

    .contact-panel__field input {
        min-height: 50px;
    }

    .contact-panel__field textarea {
        min-height: 160px;
    }

    .contact-panel__details {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .contact-panel__detail {
        grid-template-columns: 52px 1fr;
    }

    .contact-panel__detail-text strong {
        font-size: 15px;
    }

    .contact-panel__image img {
        max-width: 400px;
    }

    .contact-panel__social {
        text-align: center;
    }

    .contact-panel__social-links {
        justify-content: center;
    }
}

/* ======================================================
   CORRECCIÓN FINAL CATÁLOGO DE PRODUCTOS
   Mantener este bloque al final del CSS
====================================================== */

.products-catalog {
    display: block !important;
    width: 100% !important;
    min-height: 500px !important;
    padding: 80px 24px !important;
    background-color: #f3f5f9 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.products-catalog__container {
    display: block !important;
    width: min(1240px, 100%) !important;
    margin: 0 auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.products-catalog__heading {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
    gap: 30px !important;
    margin-bottom: 30px !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.products-catalog__heading h2 {
    margin: 0 !important;
    color: #06369f !important;
    font-size: clamp(32px, 4vw, 48px) !important;
    line-height: 1.1 !important;
}

.products-catalog__eyebrow {
    margin-bottom: 10px !important;
    color: #06369f !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
}

/* Buscador */

.products-search {
    display: block !important;
    width: min(400px, 100%) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.products-search input {
    display: block !important;
    width: 100% !important;
    min-height: 52px !important;
    padding: 0 18px !important;
    border: 1px solid #d8dee8 !important;
    border-radius: 12px !important;
    outline: none !important;
    background-color: #ffffff !important;
    color: #06369f !important;
}

/* Filtros */

.products-filters {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin-bottom: 35px !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.products-filter {
    min-height: 42px !important;
    padding: 0 18px !important;
    border: 1px solid #d9e0ea !important;
    border-radius: 999px !important;
    background-color: #ffffff !important;
    color: #06369f !important;
    font-family: inherit !important;
    font-weight: 700 !important;
    cursor: pointer !important;
}

.products-filter.is-active {
    border-color: #06369f !important;
    background-color: #06369f !important;
    color: #ffffff !important;
}

/* Cuadrícula que utiliza productos.js */

.products-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 26px !important;
    width: 100% !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

/* Cards generadas por JavaScript */

.products-grid .product-card {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 100% !important;
    overflow: hidden !important;
    border: 1px solid rgba(6, 54, 159, 0.08) !important;
    border-radius: 18px !important;
    background-color: #ffffff !important;
    box-shadow: 0 14px 34px rgba(7, 54, 160, 0.08) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.product-card__image-wrapper {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 4 / 3 !important;
    overflow: hidden !important;
    background-color: #edf1f7 !important;
}

.product-card__image {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    padding: 18px !important;
}

.product-card__category {
    position: absolute !important;
    top: 15px !important;
    left: 15px !important;
    max-width: calc(100% - 30px) !important;
    padding: 8px 12px !important;
    border-radius: 999px !important;
    background-color: rgba(6, 54, 159, 0.92) !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
}

.product-card__content {
    display: flex !important;
    flex: 1 !important;
    flex-direction: column !important;
    padding: 24px !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.product-card__brand {
    margin: 0 0 8px !important;
    color: #069bd3 !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
}

.product-card__title {
    margin: 0 0 14px !important;
    color: #06369f !important;
    font-size: 24px !important;
    line-height: 1.25 !important;
}

.product-card__model,
.product-card__detail {
    margin: 0 0 8px !important;
    color: #53627a !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
}

/* Dos botones */

.product-card__actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    margin-top: auto !important;
    padding-top: 22px !important;
}

.product-card__button {
    display: inline-flex !important;
    width: 100% !important;
    min-height: 48px !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 10px 12px !important;
    border-radius: 9px !important;
    font-family: inherit !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    text-align: center !important;
    text-decoration: none !important;
    cursor: pointer !important;
}

.product-card__button--details {
    border: 1px solid #06369f !important;
    background-color: #ffffff !important;
    color: #06369f !important;
}

.product-card__button--details:hover {
    background-color: #06369f !important;
    color: #ffffff !important;
}

.product-card__button--whatsapp {
    border: 1px solid #25d366 !important;
    background-color: #25d366 !important;
    color: #ffffff !important;
}

.product-card__button--whatsapp:hover {
    border-color: #1eae54 !important;
    background-color: #1eae54 !important;
}

/* Estados */

.products-loading,
.products-empty,
.products-error {
    display: block;
    width: 100%;
    padding: 30px;
    border-radius: 15px;
    background-color: #ffffff;
    color: #06369f;
    text-align: center;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.products-loading[hidden],
.products-empty[hidden] {
    display: none !important;
}

/* Evitar que el sistema de animaciones oculte el catálogo */

.products-catalog [data-animate],
.products-catalog .reveal,
.products-catalog .product-card {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

/* Responsive */

@media screen and (max-width: 980px) {

    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .products-catalog__heading {
        align-items: flex-start !important;
        flex-direction: column !important;
    }

    .products-search {
        width: 100% !important;
    }
}

@media screen and (max-width: 640px) {

    .products-catalog {
        padding: 60px 18px !important;
    }

    .products-grid {
        grid-template-columns: 1fr !important;
    }

    .products-filters {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        padding-bottom: 8px !important;
    }

    .products-filter {
        flex: 0 0 auto !important;
    }

    .product-card__actions {
        grid-template-columns: 1fr !important;
    }
}