
/* =============================================
   MÓDULO MEJORAS CERTIFICADO EFICIENCIA ENERGÉTICA
   ============================================= */

.modulo-mejoras-certificado {
    width: 100%;
    padding: 32px 16px;
    box-sizing: border-box;
    background-color: #ffffff;
}

.mejoras-inner {
    max-width: 1200px;
    margin: 0 auto;
}

/* TÍTULO PRINCIPAL */
.mejoras-titulo {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    color: #2C2C2C;
    text-align: center;
    margin: 0 0 24px 0;
    padding-bottom: 0rem;
}

/* CONTENIDO: imagen + texto apilados en móvil */
.mejoras-contenido {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* IMAGEN */
.mejoras-imagen-wrapper {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    height: 250px;
}

.mejoras-imagen {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    /* object-fit: cover; */
}

/* BLOQUE DE TEXTO */
.mejoras-texto {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mejoras-subtitulo {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: #2C2C2C;
    margin: 0;
    padding-bottom: 0rem;
}

.mejoras-descripcion {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #2C2C2C;
    margin: 0;
}

.mejoras-enlace {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 16px;
    font-weight: 500;
    color: #006b3c;
    text-decoration: underline;
    text-underline-offset: 3px;
    color: var(--Color-Content-Interactive-Active, #2F6852);

/* Button/Underline Text M */
    font-family: "IberPangeaText-Regular";
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px; /* 125% */
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

.mejoras-enlace:hover {
    color: #004d2b;
}

.mejoras-imagen-wrapper img{
    height:250px;
}
/* =============================================
   576px
   ============================================= */
@media (min-width: 576px) {
    .modulo-mejoras-certificado {
        padding: 40px 40px;
    }

    .mejoras-titulo {
        font-size: 24px;
    }

    .mejoras-subtitulo {
        font-size: 22px;
    }
}

/* =============================================
   768px
   ============================================= */
@media (min-width: 768px) {
    .modulo-mejoras-certificado {
        padding: 48px 48px;
    }

    .mejoras-titulo {
        font-size: 26px;
    }

    .mejoras-subtitulo {
        font-size: 22px;
    }
}

/* =============================================
   992px — layout en dos columnas (imagen | texto)
   ============================================= */
@media (min-width: 992px) {
    .modulo-mejoras-certificado {
        padding: 56px 82px;
    }

    .mejoras-titulo {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .mejoras-contenido {
        flex-direction: row;
        align-items: center;
        gap: 40px;
    }

    .mejoras-imagen-wrapper {
        flex: 0 0 45%;
        max-width: 45%;
    }

    .mejoras-texto {
        flex: 1;
        gap: 16px;
    }

    .mejoras-subtitulo {
        font-size: 24px;
    }
}

/* =============================================
   1200px
   ============================================= */
@media (min-width: 1200px) {
    .modulo-mejoras-certificado {
        padding: 64px 115px;
    }

    .mejoras-titulo {
        font-size: 30px;
        margin-bottom: 40px;
    }

    .mejoras-contenido {
        gap: 51px;
        height: 250px;
        /* width: 478px; */
    }

    .mejoras-imagen-wrapper {
        flex: 0 0 42%;
        max-width: 42%;
        /* height: 100%; */
    }

    .mejoras-subtitulo {
        font-size: 26px;
    }

    .mejoras-descripcion {
        font-size: 17px;
    }

    .mejoras-texto {
        flex: 1;
        gap: 16px;
    }
}

/* =============================================
   1920px
   ============================================= */
@media (min-width: 1920px) {
    .mejoras-inner {
        max-width: 1440px;
    }

    .mejoras-titulo {
        font-size: 34px;
    }

    .mejoras-subtitulo {
        font-size: 28px;
    }

    .mejoras-descripcion {
        font-size: 18px;
    }

    .modulo-mejoras-certificado {
        padding: 64px 64px;
    }

    .mejoras-texto {
        flex: 1;
        gap: 16px;
        margin-right:138px;
    }
}
