/* =========================================
   HERO CALEFACCIÓN
========================================= */

.hero-calefaccion {
    position: relative;

    height: 650px;
    min-height: 550px;

    background-image: url("../images/hero-calefaccion.jpg");

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

    overflow: hidden;
}


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

.hero-calefaccion-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.74) 0%,
            rgba(0, 0, 0, 0.50) 40%,
            rgba(0, 0, 0, 0.18) 72%,
            rgba(0, 0, 0, 0.05) 100%
        );
}


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

.hero-calefaccion .container {
    z-index: 2;
}


.hero-calefaccion-tag {
    display: inline-block;

    margin-bottom: 18px;
    padding: 8px 16px;

    border-left: 3px solid #8b1e2d;

    background: rgba(255, 255, 255, 0.10);

    color: #ffffff;

    font-size: 13px;
    font-weight: 600;

    letter-spacing: 2px;
}


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

.hero-calefaccion-title {
    margin: 0 0 20px;

    color: #ffffff;

    font-size: clamp(55px, 7vw, 90px);
    font-weight: 700;

    line-height: 1.05;

    letter-spacing: -2px;
}


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

.hero-calefaccion-text {
    max-width: 610px;

    margin-bottom: 35px;

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

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

    line-height: 1.6;
}


/* =========================================
   BOTONES
========================================= */

.hero-calefaccion-buttons {
    display: flex;

    flex-wrap: wrap;

    gap: 14px;
}


/* BOTÓN PRINCIPAL */

.btn-calefaccion-primary,
.btn-calefaccion-secondary {
    display: inline-flex;

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

    min-height: 52px;

    padding: 0 28px;

    border-radius: 4px;

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

    letter-spacing: 0.5px;

    text-decoration: none;

    transition: all 0.3s ease;
}


.btn-calefaccion-primary {
    background-color: #8b1e2d;

    border: 1px solid #8b1e2d;

    color: #ffffff;
}


.btn-calefaccion-primary:hover {
    background-color: #ffffff;

    border-color: #ffffff;

    color: #8b1e2d;

    transform: translateY(-2px);
}


/* BOTÓN SECUNDARIO */

.btn-calefaccion-secondary {
    background-color: transparent;

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

    color: #ffffff;
}


.btn-calefaccion-secondary:hover {
    background-color: #ffffff;

    border-color: #ffffff;

    color: #222222;

    transform: translateY(-2px);
}


/* =========================================
   SCROLL
========================================= */

.hero-calefaccion-scroll {
    position: absolute;

    bottom: 25px;
    left: 50%;

    z-index: 3;

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 7px;

    transform: translateX(-50%);

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

    font-size: 10px;

    letter-spacing: 2px;

    text-align: center;
}


.hero-calefaccion-scroll i {
    font-size: 17px;

    animation: calefaccionScroll 1.8s infinite;
}


@keyframes calefaccionScroll {

    0% {
        transform: translateY(0);

        opacity: 0.5;
    }

    50% {
        transform: translateY(6px);

        opacity: 1;
    }

    100% {
        transform: translateY(0);

        opacity: 0.5;
    }

}


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

@media (max-width: 991px) {

    .hero-calefaccion {

        height: 600px;

        background-position: 65% center;
    }

    .hero-calefaccion-title {
        font-size: 65px;
    }

}


@media (max-width: 767px) {

    .hero-calefaccion {

        height: 600px;

        min-height: 500px;

        background-position: 65% center;
    }


    .hero-calefaccion-overlay {

        background:
            linear-gradient(
                90deg,
                rgba(0, 0, 0, 0.75),
                rgba(0, 0, 0, 0.38)
            );
    }


    .hero-calefaccion-title {

        font-size: 52px;

        letter-spacing: -1px;
    }


    .hero-calefaccion-text {

        font-size: 17px;
    }


    .hero-calefaccion-buttons {

        flex-direction: column;

        align-items: flex-start;
    }


    .btn-calefaccion-primary,
    .btn-calefaccion-secondary {

        width: auto;

        min-width: 210px;
    }


    .hero-calefaccion-scroll {

        display: none;
    }

}


/* =========================================
   SECTION 2 - SOLUCIONES DE CALEFACCIÓN
========================================= */

.soluciones-calefaccion {
    padding: 110px 0 120px;

    background-color: #f5f5f5;
}


/* =========================================
   CABECERA
========================================= */

.soluciones-calefaccion-header {
    max-width: 760px;

    margin: 0 auto 55px;

    text-align: center;
}


.soluciones-calefaccion-tag {
    display: inline-block;

    margin-bottom: 15px;

    color: #8b1e2d;

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

    letter-spacing: 2.5px;
}


.soluciones-calefaccion-header h2 {
    margin: 0 0 18px;

    color: #222222;

    font-size: clamp(36px, 4vw, 52px);
    font-weight: 700;

    line-height: 1.15;

    letter-spacing: -1px;
}


.soluciones-calefaccion-header p {
    max-width: 650px;

    margin: 0 auto;

    color: #666666;

    font-size: 17px;

    font-weight: 400;

    line-height: 1.7;
}


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

.solucion-calefaccion-card {
    position: relative;

    display: block;

    height: 390px;

    overflow: hidden;

    border-radius: 6px;

    background-color: #222222;

    text-decoration: none;
}


/* =========================================
   IMÁGENES
========================================= */

.solucion-calefaccion-image {
    position: absolute;

    inset: 0;

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;

    transition: transform 0.7s ease;
}


/* Calderas */

.solucion-calderas {
    background-image: url("../images/imagen-caldera.jpg");
}


/* Radiadores */

.solucion-radiadores {
    background-image: url("../images/imagen-radiador.jpg");
}


/* Aerotermia */

.solucion-aerotermia-calefaccion {
    background-image: url("../images/imagen-aerotermia.jpg");
}


/* Emisores */

.solucion-emisores {
    background-image: url("../images/imagen-accesorios.jpg");
}


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

.solucion-calefaccion-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.05) 10%,
            rgba(0, 0, 0, 0.28) 40%,
            rgba(0, 0, 0, 0.90) 100%
        );

    transition: background 0.4s ease;
}


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

.solucion-calefaccion-content {
    position: absolute;

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

    z-index: 2;

    padding: 35px;
}


.solucion-calefaccion-number {
    display: block;

    margin-bottom: 10px;

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

    font-size: 13px;
    font-weight: 600;

    letter-spacing: 2px;
}


.solucion-calefaccion-content h3 {
    margin: 0 0 10px;

    color: #ffffff;

    font-size: 30px;

    font-weight: 600;

    line-height: 1.2;
}


.solucion-calefaccion-content p {
    max-width: 520px;

    margin: 0 0 20px;

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

    font-size: 15px;

    line-height: 1.6;
}


/* =========================================
   ENLACE
========================================= */

.solucion-calefaccion-link {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    color: #ffffff;

    font-size: 13px;

    font-weight: 600;

    letter-spacing: 0.5px;

    transition: gap 0.3s ease;
}


.solucion-calefaccion-link i {
    color: #ffffff;

    font-size: 17px;
}


/* =========================================
   HOVER
========================================= */

.solucion-calefaccion-card:hover
.solucion-calefaccion-image {
    transform: scale(1.06);
}


.solucion-calefaccion-card:hover
.solucion-calefaccion-overlay {
    background:
        linear-gradient(
            180deg,
            rgba(139, 30, 45, 0.08) 0%,
            rgba(0, 0, 0, 0.35) 40%,
            rgba(0, 0, 0, 0.93) 100%
        );
}


.solucion-calefaccion-card:hover
.solucion-calefaccion-link {
    gap: 16px;
}


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

@media (max-width: 767px) {

    .soluciones-calefaccion {
        padding: 80px 0 90px;
    }


    .soluciones-calefaccion-header {
        margin-bottom: 40px;
    }


    .solucion-calefaccion-card {
        height: 350px;
    }


    .solucion-calefaccion-content {
        padding: 25px;
    }


    .solucion-calefaccion-content h3 {
        font-size: 26px;
    }


    .solucion-calefaccion-content p {
        font-size: 14px;
    }

}


/* =========================================
   SECTION 3 - MARCAS DE CALEFACCIÓN
========================================= */

.marcas-calefaccion {

    position: relative;

    padding: 110px 0;

    background-color: #ffffff;

}


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

.marcas-calefaccion-content {

    max-width: 480px;

    padding-right: 40px;

}


.marcas-calefaccion-tag {

    display: inline-block;

    margin-bottom: 16px;

    color: #8b1e2d;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 2.5px;

}


.marcas-calefaccion-content h2 {

    margin: 0 0 22px;

    color: #222222;

    font-size: clamp(36px, 4vw, 52px);

    font-weight: 700;

    line-height: 1.15;

    letter-spacing: -1px;

}


.marcas-calefaccion-content p {

    margin: 0 0 30px;

    color: #666666;

    font-size: 17px;

    line-height: 1.7;

}


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

.btn-marcas-calefaccion {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 14px 22px;

    border: 1px solid #8b1e2d;

    border-radius: 4px;

    background-color: #8b1e2d;

    color: #ffffff;

    font-size: 13px;

    font-weight: 600;

    text-decoration: none;

    transition: all 0.3s ease;

}


.btn-marcas-calefaccion i {

    font-size: 16px;

    transition: transform 0.3s ease;

}


.btn-marcas-calefaccion:hover {

    background-color: #ffffff;

    color: #8b1e2d;

}


.btn-marcas-calefaccion:hover i {

    transform: translateX(5px);

}


/* =========================================
   GRID DE MARCAS
========================================= */

.marcas-calefaccion-grid {

    display: grid;

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

    gap: 18px;

    padding-left: 30px;

}


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

.marca-calefaccion-item {

    height: 135px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 25px;

    border: 1px solid #e9e9e9;

    border-radius: 5px;

    background-color: #fafafa;

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

}


.marca-calefaccion-item img {

    display: block;

    max-width: 150px;

    max-height: 55px;

    width: auto;

    height: auto;

    object-fit: contain;

    filter: grayscale(100%);

    opacity: 0.65;

    transition:
        filter 0.3s ease,
        opacity 0.3s ease,
        transform 0.3s ease;

}


/* =========================================
   HOVER
========================================= */

.marca-calefaccion-item:hover {

    background-color: #ffffff;

    border-color: #dddddd;

    transform: translateY(-4px);

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.07);

}


.marca-calefaccion-item:hover img {

    filter: grayscale(0%);

    opacity: 1;

    transform: scale(1.05);

}


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

@media (max-width: 991px) {

    .marcas-calefaccion {

        padding: 85px 0;

    }


    .marcas-calefaccion-content {

        max-width: 700px;

        padding-right: 0;

        margin-bottom: 50px;

    }


    .marcas-calefaccion-grid {

        padding-left: 0;

    }

}


@media (max-width: 575px) {

    .marcas-calefaccion {

        padding: 70px 0;

    }


    .marcas-calefaccion-grid {

        grid-template-columns: 1fr;

        gap: 12px;

    }


    .marca-calefaccion-item {

        height: 110px;

    }


    .marca-calefaccion-item img {

        max-width: 135px;

        max-height: 48px;

    }

}


/* =========================================
   SECTION 4 - INSTALACIONES CALEFACCIÓN
========================================= */

.instalaciones-calefaccion {
    padding: 120px 0;
    background: #f5f5f5;
}


/* ---------- CABECERA ---------- */

.instalaciones-calefaccion-header {
    max-width: 760px;
    margin: 0 auto 65px;
    text-align: center;
}

.instalaciones-calefaccion-tag {
    display: inline-block;
    margin-bottom: 15px;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;

    color: #7a142c;
}

.instalaciones-calefaccion-header h2 {
    margin-bottom: 20px;

    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.1;
    font-weight: 700;

    color: #222;
}

.instalaciones-calefaccion-header p {
    margin: 0 auto;

    max-width: 680px;

    font-size: 16px;
    line-height: 1.8;

    color: #666;
}


/* ---------- CONTENEDOR PRINCIPAL ---------- */

.instalaciones-calefaccion-wrapper {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;

    min-height: 650px;

    background: #fff;

    border-radius: 30px;
    overflow: hidden;

    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
}


/* ---------- IMAGEN ---------- */

.instalaciones-calefaccion-image {
    position: relative;

    min-height: 650px;

    overflow: hidden;
}

.instalaciones-calefaccion-image img {
    width: 100%;
    height: 650px;

    object-fit: cover;

    transition: transform 0.7s ease;
}

.instalaciones-calefaccion-wrapper:hover
.instalaciones-calefaccion-image img {
    transform: scale(1.04);
}


/* Overlay */

.instalaciones-calefaccion-image-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.05) 20%,
            rgba(0, 0, 0, 0.72) 100%
        );
}


/* Texto sobre imagen */

.instalaciones-calefaccion-image-content {
    position: absolute;

    left: 40px;
    right: 40px;
    bottom: 40px;

    color: #fff;
}

.instalaciones-calefaccion-image-content span {
    display: block;

    margin-bottom: 12px;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
}

.instalaciones-calefaccion-image-content h3 {
    max-width: 400px;

    margin: 0;

    font-size: 32px;
    line-height: 1.2;
    font-weight: 600;
}


/* ---------- OPCIONES ---------- */

.instalaciones-calefaccion-options {
    display: grid;
    grid-template-columns: 1fr 1fr;

    padding: 35px;
}


/* ---------- ITEM ---------- */

.instalacion-calefaccion-item {
    position: relative;

    display: flex;
    align-items: flex-start;
    gap: 20px;

    padding: 35px 25px;

    border-bottom: 1px solid #e8e8e8;

    transition: all 0.3s ease;
}


/* Quitamos bordes inferiores de los últimos */

.instalacion-calefaccion-item:nth-child(3),
.instalacion-calefaccion-item:nth-child(4) {
    border-bottom: none;
}


/* Línea vertical */

.instalacion-calefaccion-item:nth-child(odd) {
    border-right: 1px solid #e8e8e8;
}


/* Icono */

.instalacion-calefaccion-icon {
    flex-shrink: 0;

    width: 52px;
    height: 52px;

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

    border-radius: 50%;

    background: #f7f1f3;

    color: #7a142c;

    font-size: 21px;

    transition: all 0.3s ease;
}


/* Contenido */

.instalacion-calefaccion-info {
    padding-right: 25px;
}

.instalacion-calefaccion-info > span {
    display: block;

    margin-bottom: 8px;

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

    color: #7a142c;
}

.instalacion-calefaccion-info h3 {
    margin-bottom: 12px;

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

    color: #222;
}

.instalacion-calefaccion-info p {
    margin: 0;

    font-size: 14px;
    line-height: 1.7;

    color: #707070;
}


/* ---------- FLECHA ---------- */

.instalacion-calefaccion-arrow {
    position: absolute;

    right: 22px;
    top: 35px;

    font-size: 17px;

    color: #aaa;

    transition: all 0.3s ease;
}


/* ---------- HOVER ---------- */

.instalacion-calefaccion-item:hover {
    background: #fafafa;
}

.instalacion-calefaccion-item:hover
.instalacion-calefaccion-icon {
    background: #7a142c;
    color: #fff;

    transform: translateY(-3px);
}

.instalacion-calefaccion-item:hover
.instalacion-calefaccion-arrow {
    color: #7a142c;
    transform: translate(3px, -3px);
}


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

@media (max-width: 991px) {

    .instalaciones-calefaccion {
        padding: 90px 0;
    }

    .instalaciones-calefaccion-header {
        margin-bottom: 50px;
    }

    .instalaciones-calefaccion-wrapper {
        grid-template-columns: 1fr;
    }

    .instalaciones-calefaccion-image {
        min-height: 500px;
    }

    .instalaciones-calefaccion-options {
        padding: 20px;
    }

}


@media (max-width: 767px) {

    .instalaciones-calefaccion {
        padding: 75px 0;
    }

    .instalaciones-calefaccion-header h2 {
        font-size: 34px;
    }

    .instalaciones-calefaccion-header p {
        font-size: 15px;
    }

    .instalaciones-calefaccion-image {
        min-height: 430px;
    }

    .instalaciones-calefaccion-image-content {
        left: 25px;
        right: 25px;
        bottom: 30px;
    }

    .instalaciones-calefaccion-image-content h3 {
        font-size: 27px;
    }

    .instalaciones-calefaccion-options {
        grid-template-columns: 1fr;
        padding: 10px;
    }

    .instalacion-calefaccion-item {
        border-right: none !important;
        border-bottom: 1px solid #e8e8e8 !important;

        padding: 30px 20px;
    }

    .instalacion-calefaccion-item:last-child {
        border-bottom: none !important;
    }

}


@media (max-width: 575px) {

    .instalaciones-calefaccion-image {
        min-height: 380px;
    }

    .instalaciones-calefaccion-image-content h3 {
        font-size: 24px;
    }

    .instalacion-calefaccion-item {
        gap: 15px;
    }

    .instalacion-calefaccion-icon {
        width: 45px;
        height: 45px;

        font-size: 18px;
    }

    .instalacion-calefaccion-info h3 {
        font-size: 18px;
    }

    .instalacion-calefaccion-info p {
        font-size: 13px;
    }

}


/* =========================================
   SECTION 6 - POR QUÉ YBREA CALEFACCIÓN
========================================= */

.porque-ybrea-calefaccion {
    padding: 120px 0;

    background: #f5f5f5;
}


/* ---------- CONTENEDOR ---------- */

.porque-ybrea-calefaccion-wrapper {
    display: grid;

    grid-template-columns: 0.9fr 1.1fr;

    min-height: 650px;

    background: #fff;

    border-radius: 30px;

    overflow: hidden;

    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.07);
}


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

.porque-ybrea-calefaccion-image {
    position: relative;

    min-height: 650px;

    overflow: hidden;
}

.porque-ybrea-calefaccion-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.7s ease;
}

.porque-ybrea-calefaccion-wrapper:hover
.porque-ybrea-calefaccion-image img {
    transform: scale(1.04);
}


/* ---------- OVERLAY ---------- */

.porque-ybrea-calefaccion-image-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.05) 20%,
            rgba(0, 0, 0, 0.70) 100%
        );
}


/* ---------- TEXTO SOBRE IMAGEN ---------- */

.porque-ybrea-calefaccion-image-text {
    position: absolute;

    left: 40px;
    bottom: 40px;

    color: #fff;
}

.porque-ybrea-calefaccion-image-text span {
    display: block;

    margin-bottom: 8px;

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

    letter-spacing: 3px;
}

.porque-ybrea-calefaccion-image-text p {
    margin: 0;

    font-size: 17px;

    font-weight: 400;
}


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

.porque-ybrea-calefaccion-content {
    padding: 65px 60px;
}


/* ---------- TAG ---------- */

.porque-ybrea-calefaccion-tag {
    display: inline-block;

    margin-bottom: 15px;

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

    letter-spacing: 2px;

    color: #7a142c;
}


/* ---------- TÍTULO ---------- */

.porque-ybrea-calefaccion-content h2 {
    max-width: 600px;

    margin: 0 0 22px;

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

    line-height: 1.12;

    font-weight: 700;

    color: #222;
}


/* ---------- INTRO ---------- */

.porque-ybrea-calefaccion-intro {
    max-width: 620px;

    margin-bottom: 40px;

    font-size: 15px;

    line-height: 1.8;

    color: #6d6d6d;
}


/* =========================================
   VENTAJAS
========================================= */

.ventajas-ybrea-calefaccion {
    display: grid;

    grid-template-columns: 1fr 1fr;

    column-gap: 35px;

    row-gap: 30px;
}


/* ---------- VENTAJA ---------- */

.ventaja-ybrea-calefaccion {
    display: flex;

    align-items: flex-start;

    gap: 16px;
}


/* ---------- ICONO ---------- */

.ventaja-ybrea-calefaccion-icon {
    flex-shrink: 0;

    width: 46px;
    height: 46px;

    display: flex;

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

    border-radius: 50%;

    background: #f7f1f3;

    color: #7a142c;

    font-size: 19px;

    transition: all 0.3s ease;
}

.ventaja-ybrea-calefaccion:hover
.ventaja-ybrea-calefaccion-icon {
    background: #7a142c;

    color: #fff;

    transform: translateY(-3px);
}


/* ---------- TEXTO ---------- */

.ventaja-ybrea-calefaccion h3 {
    margin: 2px 0 7px;

    font-size: 17px;

    line-height: 1.3;

    font-weight: 600;

    color: #222;
}

.ventaja-ybrea-calefaccion p {
    margin: 0;

    font-size: 13px;

    line-height: 1.65;

    color: #747474;
}


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

.porque-ybrea-calefaccion-button {
    margin-top: 42px;
}

.btn-porque-ybrea-calefaccion {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 13px 23px;

    border-radius: 5px;

    background: #7a142c;

    border: 1px solid #7a142c;

    color: #fff;

    font-size: 13px;

    font-weight: 600;

    text-decoration: none;

    transition: all 0.3s ease;
}

.btn-porque-ybrea-calefaccion:hover {
    background: #5f0f22;

    border-color: #5f0f22;

    color: #fff;

    transform: translateY(-2px);
}

.btn-porque-ybrea-calefaccion i {
    transition: transform 0.3s ease;
}

.btn-porque-ybrea-calefaccion:hover i {
    transform: translateX(4px);
}


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

@media (max-width: 1100px) {

    .porque-ybrea-calefaccion-content {
        padding: 55px 40px;
    }

    .ventajas-ybrea-calefaccion {
        column-gap: 25px;
    }

}


@media (max-width: 991px) {

    .porque-ybrea-calefaccion {
        padding: 90px 0;
    }

    .porque-ybrea-calefaccion-wrapper {
        grid-template-columns: 1fr;
    }

    .porque-ybrea-calefaccion-image {
        min-height: 500px;
    }

    .porque-ybrea-calefaccion-content {
        padding: 55px 45px;
    }

}


@media (max-width: 767px) {

    .porque-ybrea-calefaccion {
        padding: 75px 0;
    }

    .porque-ybrea-calefaccion-image {
        min-height: 430px;
    }

    .porque-ybrea-calefaccion-image-text {
        left: 25px;
        bottom: 30px;
    }

    .porque-ybrea-calefaccion-content {
        padding: 45px 25px;
    }

    .porque-ybrea-calefaccion-content h2 {
        font-size: 34px;
    }

    .ventajas-ybrea-calefaccion {
        grid-template-columns: 1fr;

        row-gap: 25px;
    }

}


@media (max-width: 575px) {

    .porque-ybrea-calefaccion-image {
        min-height: 380px;
    }

    .porque-ybrea-calefaccion-content {
        padding: 40px 22px;
    }

    .porque-ybrea-calefaccion-content h2 {
        font-size: 31px;
    }

    .porque-ybrea-calefaccion-intro {
        font-size: 14px;
    }

}


/* =========================================
   SECTION 7 - CTA FINAL CALEFACCIÓN
========================================= */

.cta-calefaccion {
    position: relative;

    min-height: 520px;

    display: flex;
    align-items: center;

    overflow: hidden;
}


/* ---------- IMAGEN DE FONDO ---------- */

.cta-calefaccion-background {
    position: absolute;

    inset: 0;

    background-image: url("../images/nuestra-historia.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    transform: scale(1.02);
}


/* ---------- OVERLAY ---------- */

.cta-calefaccion-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(20, 20, 20, 0.88) 0%,
            rgba(20, 20, 20, 0.72) 45%,
            rgba(20, 20, 20, 0.35) 100%
        );
}


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

.cta-calefaccion-content {
    position: relative;

    max-width: 720px;

    padding: 90px 0;
}


/* ---------- TAG ---------- */

.cta-calefaccion-tag {
    display: inline-block;

    margin-bottom: 18px;

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

    letter-spacing: 2.5px;

    color: #fff;
}


/* ---------- TÍTULO ---------- */

.cta-calefaccion-content h2 {
    margin: 0 0 22px;

    max-width: 700px;

    font-size: clamp(38px, 5vw, 62px);

    line-height: 1.08;

    font-weight: 700;

    color: #fff;
}


/* ---------- TEXTO ---------- */

.cta-calefaccion-content p {
    max-width: 600px;

    margin: 0 0 35px;

    font-size: 16px;

    line-height: 1.8;

    color: rgba(255, 255, 255, 0.82);
}


/* =========================================
   BOTONES
========================================= */

.cta-calefaccion-buttons {
    display: flex;

    align-items: center;

    gap: 14px;

    flex-wrap: wrap;
}


/* ---------- BOTÓN PRINCIPAL ---------- */

.btn-cta-calefaccion-primary {
    display: inline-flex;

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

    gap: 10px;

    padding: 14px 25px;

    border: 1px solid #7a142c;
    border-radius: 5px;

    background: #7a142c;

    color: #fff;

    font-size: 13px;
    font-weight: 600;

    text-decoration: none;

    transition: all 0.3s ease;
}

.btn-cta-calefaccion-primary:hover {
    background: #fff;

    border-color: #fff;

    color: #7a142c;

    transform: translateY(-2px);
}

.btn-cta-calefaccion-primary i {
    transition: transform 0.3s ease;
}

.btn-cta-calefaccion-primary:hover i {
    transform: translateX(4px);
}


/* ---------- BOTÓN SECUNDARIO ---------- */

.btn-cta-calefaccion-secondary {
    display: inline-flex;

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

    gap: 9px;

    padding: 14px 24px;

    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 5px;

    background: transparent;

    color: #fff;

    font-size: 13px;
    font-weight: 600;

    text-decoration: none;

    transition: all 0.3s ease;
}

.btn-cta-calefaccion-secondary:hover {
    background: #fff;

    border-color: #fff;

    color: #222;

    transform: translateY(-2px);
}


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

@media (max-width: 991px) {

    .cta-calefaccion {
        min-height: 500px;
    }

    .cta-calefaccion-content {
        padding: 80px 0;
    }

    .cta-calefaccion-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(20, 20, 20, 0.88) 0%,
                rgba(20, 20, 20, 0.68) 100%
            );
    }

}


@media (max-width: 767px) {

    .cta-calefaccion {
        min-height: 480px;
    }

    .cta-calefaccion-content {
        padding: 70px 0;
    }

    .cta-calefaccion-content h2 {
        font-size: 39px;
    }

    .cta-calefaccion-content p {
        font-size: 14px;
    }

}


@media (max-width: 575px) {

    .cta-calefaccion {
        min-height: 520px;
    }

    .cta-calefaccion-content {
        padding: 65px 0;
    }

    .cta-calefaccion-content h2 {
        font-size: 34px;
    }

    .cta-calefaccion-buttons {
        flex-direction: column;

        align-items: stretch;
    }

    .btn-cta-calefaccion-primary,
    .btn-cta-calefaccion-secondary {
        width: 100%;
    }

}