/* ============================================================
   CONFIGURACIÓN GENERAL
============================================================ */

body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #252525;
    background-color: #ffffff;
}


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

.hero-catalogos {

    position: relative;

    min-height: 420px;

    display: flex;
    align-items: center;

    background-image:
        url("../images/catalogos-background.png");

    background-size:cover;
    background-position: center;

    overflow: hidden;
}


.hero-catalogos-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.78) 0%,
            rgba(0, 0, 0, 0.50) 45%,
            rgba(0, 0, 0, 0.15) 100%
        );
}


.hero-catalogos .container {

    z-index: 2;
}


.hero-etiqueta {

    display: inline-block;

    margin-bottom: 18px;

    padding: 7px 15px;

    border-left: 3px solid #8b1e2d;

    color: #ffffff;

    font-size: 13px;

    font-weight: 600;

    letter-spacing: 2px;

    text-transform: uppercase;
}


.hero-catalogos h1 {

    margin-bottom: 20px;

    color: #ffffff;

    font-size: clamp(2.5rem, 5vw, 4.5rem);

    font-weight: 700;

    line-height: 1.05;
}


.hero-catalogos p {

    max-width: 650px;

    margin-bottom: 0;

    color: rgba(255, 255, 255, 0.88);

    font-size: 18px;

    line-height: 1.7;
}



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

.intro-catalogos {

    padding: 100px 0 60px;

    background-color: #ffffff;
}


.titulo-seccion {

    display: inline-block;

    margin-bottom: 12px;

    color: #8b1e2d;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 2px;
}


.intro-catalogos h2 {

    margin-bottom: 20px;

    font-size: clamp(2rem, 4vw, 3rem);

    font-weight: 700;

    line-height: 1.15;

    color: #252525;
}


.intro-catalogos h2 span {

    color: #8b1e2d;
}


.linea-roja {

    width: 60px;

    height: 3px;

    margin-bottom: 25px;

    background-color: #8b1e2d;
}


.intro-catalogos p {

    margin: 0 auto;

    max-width: 750px;

    color: #666666;

    font-size: 17px;

    line-height: 1.8;
}



/* ============================================================
   SECCIÓN CATÁLOGOS
============================================================ */

.seccion-catalogos {

    padding: 40px 0 110px;

    background-color: #f5f5f5;
}



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

.card-catalogo {

    height: 100%;

    display: flex;

    flex-direction: column;

    background-color: #ffffff;

    border: 1px solid #e8e8e8;

    border-radius: 18px;

    overflow: hidden;

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.05);

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


.card-catalogo:hover {

    transform: translateY(-7px);

    border-color: rgba(139, 30, 45, 0.25);

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.10);
}



/* ============================================================
   IMAGEN DEL CATÁLOGO
============================================================ */

.catalogo-imagen {

    position: relative;

    height: 390px;

    overflow: hidden;

    background-color: #eeeeee;
}


.catalogo-imagen img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center top;

    transition:
        transform 0.5s ease;
}


.card-catalogo:hover .catalogo-imagen img {

    transform: scale(1.04);
}



/* ============================================================
   OVERLAY
============================================================ */

.catalogo-overlay {

    position: absolute;

    inset: 0;

    display: flex;

    align-items: flex-end;

    padding: 25px;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.55),
            transparent 45%
        );

    pointer-events: none;
}


.catalogo-overlay span {

    color: #ffffff;

    font-size: 14px;

    font-weight: 700;

    letter-spacing: 2px;
}



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

.catalogo-contenido {

    flex: 1;

    display: flex;

    flex-direction: column;

    padding: 28px;
}


.catalogo-marca {

    margin-bottom: 8px;

    color: #8b1e2d;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1.8px;
}


.catalogo-contenido h3 {

    margin-bottom: 12px;

    color: #252525;

    font-size: 22px;

    font-weight: 700;
}


.catalogo-contenido p {

    margin-bottom: 25px;

    color: #707070;

    font-size: 15px;

    line-height: 1.7;
}



/* ============================================================
   BOTÓN CATÁLOGO
============================================================ */

.btn-catalogo {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    width: 100%;

    margin-top: auto;

    padding: 13px 20px;

    border: 1px solid #8b1e2d;

    border-radius: 7px;

    background-color: #8b1e2d;

    color: #ffffff;

    font-size: 14px;

    font-weight: 600;

    text-decoration: none;

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


.btn-catalogo:hover {

    background-color: transparent;

    color: #8b1e2d;

    transform: translateY(-2px);
}


.btn-catalogo i {

    font-size: 17px;
}


/* ============================================================
   CTA CATÁLOGOS
============================================================ */

.cta-catalogos {

    padding: 90px 0;

    background-color: #ffffff;
}


/* Contenedor principal */

.cta-box {

    position: relative;

    display: grid;

    grid-template-columns:
        1.1fr
        1px
        1.3fr
        auto;

    align-items: center;

    gap: 50px;

    padding: 55px 60px;

    background-color: #f6f6f6;

    border-radius: 18px;

    border: 1px solid #e7e7e7;

    overflow: hidden;

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.06);
}


/* Detalle burgundy lateral */

.cta-box::before {

    content: "";

    position: absolute;

    left: 0;
    top: 0;
    bottom: 0;

    width: 5px;

    background-color: #8b1e2d;
}


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

.cta-titulo {

    padding-left: 15px;
}


.cta-etiqueta {

    display: block;

    margin-bottom: 15px;

    color: #8b1e2d;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;
}


.cta-titulo h2 {

    margin: 0;

    color: #252525;

    font-size: clamp(2rem, 3.2vw, 3.1rem);

    font-weight: 700;

    line-height: 1.08;

    letter-spacing: -1px;
}


.cta-titulo h2 span {

    color: #8b1e2d;
}



/* ============================================================
   SEPARADOR
============================================================ */

.cta-separador {

    width: 1px;

    height: 100px;

    background-color: #d5d5d5;
}



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

.cta-texto {

    max-width: 430px;
}


.cta-texto p {

    margin: 0;

    color: #626262;

    font-size: 16px;

    line-height: 1.8;
}



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

.cta-boton {

    display: flex;

    justify-content: center;
}


.btn-cta {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    min-width: 190px;

    padding: 17px 20px 17px 25px;

    border-radius: 7px;

    background-color: #8b1e2d;

    color: #ffffff;

    text-decoration: none;

    font-size: 14px;

    font-weight: 600;

    line-height: 1.4;

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


.btn-cta i {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 34px;

    height: 34px;

    border: 1px solid rgba(255, 255, 255, 0.35);

    border-radius: 50%;

    font-size: 17px;

    transition: transform 0.25s ease;
}


.btn-cta:hover {

    background-color: #731725;

    color: #ffffff;

    transform: translateY(-3px);

    box-shadow:
        0 10px 25px rgba(139, 30, 45, 0.25);
}


.btn-cta:hover i {

    transform: translateX(4px);
}



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

@media (max-width: 991px) {

    .cta-box {

        grid-template-columns:
            1fr
            1fr;

        gap: 35px;

        padding: 45px;
    }


    .cta-separador {

        display: none;
    }


    .cta-texto {

        max-width: 100%;
    }


    .cta-boton {

        justify-content: flex-start;
    }

}



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

@media (max-width: 767px) {

    .cta-catalogos {

        padding: 65px 0;
    }


    .cta-box {

        display: flex;

        flex-direction: column;

        align-items: flex-start;

        gap: 25px;

        padding: 40px 30px;
    }


    .cta-titulo {

        padding-left: 5px;
    }


    .cta-titulo h2 {

        font-size: 2.2rem;
    }


    .cta-texto {

        max-width: 100%;
    }


    .cta-texto p {

        font-size: 15px;
    }


    .cta-boton {

        width: 100%;

        justify-content: flex-start;
    }


    .btn-cta {

        width: 100%;

        max-width: 260px;
    }

}



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

@media (max-width: 991px) {

    .hero-catalogos {

        min-height: 380px;
    }

    .catalogo-imagen {

        height: 360px;
    }

}


@media (max-width: 767px) {

    .hero-catalogos {

        min-height: 350px;

        background-position: center;
    }


    .hero-catalogos h1 {

        font-size: 2.5rem;
    }


    .hero-catalogos p {

        font-size: 16px;
    }


    .intro-catalogos {

        padding: 70px 0 40px;
    }


    .seccion-catalogos {

        padding: 30px 0 70px;
    }


    .catalogo-imagen {

        height: 420px;
    }


    .cta-catalogos {

        padding: 75px 0;
    }

}


@media (max-width: 575px) {

    .hero-catalogos {

        min-height: 320px;
    }


    .hero-catalogos h1 {

        font-size: 2.2rem;
    }


    .catalogo-imagen {

        height: 380px;
    }


    .catalogo-contenido {

        padding: 24px;
    }

}


