/* MÁS BIENES H&M — OS Property | CSS depurado 2026-10-17
   Sustituye únicamente las reglas anteriores de OS Property.
   Conservar otros estilos globales del sitio si los hubiera.
*/
:root { --mb-magenta:#8B176A; --mb-navy:#24243E; }

/* CONTENEDOR PRINCIPAL */

#propertydetails {
    outline: none !important;
}

/* TÍTULO DEL INMUEBLE */

#propertydetails h1 {
    color: #24243E !important;
    font-size: 32px;
    font-weight: 700;
}

/* PRECIO DEL INMUEBLE */

#propertydetails .themedefault-box1 {
    background: #8B176A;
    color: #FFFFFF;
    padding: 25px;
    border-radius: 14px;
    font-size: 26px;
    font-weight: 700;
}

/* TARJETA DEL ASESOR */

#propertydetails .agent-info-container {
    background: #FFFFFF;
    border: 1px solid #EAEAEA;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
}


/* ==========================================
   GALERÍA DE INMUEBLES
========================================== */

#propertydetails .property-details-main-div {
    background: #FFFFFF;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(25,30,50,0.08);
    margin-bottom: 25px;
}

#propertydetails #slider1 {
    width: 100%;
    overflow: hidden;
    border-radius: 14px;
}

#propertydetails #slider1 img {
    display: block;
    width: 100%;
    height: 720px;
    object-fit: cover;
    border-radius: 14px;
}

#propertydetails #carousel1 {
    margin-top: 12px !important;
    padding: 8px 0;
}

#propertydetails #carousel1 img {
    width: 100%;
    height: 85px;
    object-fit: cover;
    border-radius: 9px;
    cursor: pointer;
    transition: opacity 0.25s ease;
}

#propertydetails #carousel1 img:hover {
    opacity: 0.75;
}


/* ==========================================
   INFORMACIÓN Y GENERALIDADES
========================================== */

/* Títulos */

#propertydetails h2,
#propertydetails h3,
#propertydetails h4 {
    color: #24243E;
    font-weight: 700;
    line-height: 1.35;
}

#propertydetails h3 {
    font-size: 22px;
    margin-bottom: 18px;
}

#propertydetailspage h4 {
    font-size: 22px;
}

/* Encabezado de información básica */

#propertydetails #baseFieldHeading h4 {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #ECEEF2;
}

/* ==========================================
   DESCRIPCIÓN DEL INMUEBLE
========================================== */

#propertydetailspage p {
    color: #4F5360;
    font-size: 16px;
    line-height: 1.8;
}


/* ==========================================
   TABLAS EXISTENTES
========================================== */

#propertydetails table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 20px;
}

#propertydetails table td,
#propertydetails table th {
    padding: 13px 15px;
    border-bottom: 1px solid #ECEEF2;
    vertical-align: middle;
    line-height: 1.5;
}

#propertydetails table th {
    color: #24243E;
    font-weight: 700;
}

#propertydetails table tr:nth-child(even) {
    background-color: #FAF9FC;
}


/* ==========================================
   ICONOS Y ENLACES
========================================== */

#propertydetails .fa,
#propertydetails .fas,
#propertydetails .far {
    color: #8B176A;
}

#propertydetails a {
    transition: color 0.2s ease;
}

#propertydetails a:hover {
    color: #8B176A;
}


/* ==========================================
   PESTAÑAS DE JOOMLA
========================================== */

#propertydetails #tablist {
    border-bottom: 1px solid #E8E8EF;
}

#propertydetails #tablist button {
    font-weight: 600;
    transition: background-color 0.2s ease,
                color 0.2s ease;
}

#propertydetails #tablist button[aria-selected="true"] {
    color: #8B176A;
    border-bottom-color: #8B176A;
}

/* Compatibilidad Bootstrap */

#propertydetails .nav-tabs {
    border-bottom: 1px solid #E8E8EF;
    gap: 6px;
}

#propertydetails .nav-tabs .nav-link,
#propertydetails .nav-tabs a {
    border-radius: 10px 10px 0 0;
    font-weight: 600;
}

#propertydetails .nav-tabs .active {
    color: #8B176A;
    border-bottom-color: #8B176A;
}

#propertydetails .tab-content {
    padding-top: 20px;
}


/* ==========================================
   DISEÑO RESPONSIVE
========================================== */

@media (max-width: 767px) {

    #propertydetails h1 {
        font-size: 25px;
    }

    #propertydetails #slider1 img {
        height: 260px;
    }

    #propertydetails #carousel1 img {
        height: 65px;
    }

    #propertydetails .property-details-main-div {
        border-radius: 12px;
    }

    #propertydetails .themedefault-box1 {
        padding: 18px;
        font-size: 22px;
    }

    #propertydetails h3,
    #propertydetailspage h4 {
        font-size: 20px;
    }

    #propertydetailspage #baseFieldHeading ~ .row > .col-md-12 {
        padding: 14px 16px !important;
        min-height: 64px;
    }

    #propertydetailspage #baseFieldHeading ~ .row .fieldvalue {
        font-size: 20px !important;
    }

    #propertydetails table td,
    #propertydetails table th {
        padding: 10px;
        font-size: 14px;
    }
}


/* Tarjetas: datos básicos, parqueadero y edificio */
#propertydetailspage #baseFieldHeading ~ .row > .col-lg-12,
#propertydetailspage #parkingHeading ~ .row > .col-lg-12,
#propertydetailspage #buildingInfoHeading ~ .row > .col-lg-12 {

    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 12px !important;

    background: #FFFFFF !important;
    border: 1px solid #E8E5ED !important;
    border-radius: 14px !important;

    padding: 18px 20px !important;
    min-height: 76px;

    box-shadow: 0 4px 16px rgba(36,36,62,0.04);

    transition: border-color .2s ease,
                box-shadow .2s ease;
}

/* Efecto hover */

#propertydetailspage #baseFieldHeading ~ .row > .col-lg-12:hover,
#propertydetailspage #parkingHeading ~ .row > .col-lg-12:hover,
#propertydetailspage #buildingInfoHeading ~ .row > .col-lg-12:hover {
    border-color: #CFA7C5 !important;
    box-shadow: 0 6px 20px rgba(139,23,106,0.08);
}

/* Etiquetas */

#propertydetailspage #baseFieldHeading ~ .row .fieldlabel,
#propertydetailspage #parkingHeading ~ .row .fieldlabel,
#propertydetailspage #buildingInfoHeading ~ .row .fieldlabel {
    float: none !important;
    width: auto !important;
    padding: 0 !important;
    margin: 0 !important;

    color: #42465A !important;
    font-size: 16px !important;
    font-weight: 600 !important;
}

/* Valores destacados */

#propertydetailspage #baseFieldHeading ~ .row .fieldvalue,
#propertydetailspage #parkingHeading ~ .row .fieldvalue,
#propertydetailspage #buildingInfoHeading ~ .row .fieldvalue {
    float: none !important;
    width: auto !important;
    min-width: 44px;

    color: #8B176A !important;
    background: #F8F0F7 !important;

    border-radius: 10px !important;
    padding: 9px 13px !important;
    margin: 0 !important;

    font-size: 24px !important;
    font-weight: 800 !important;
    text-align: center !important;
}

/* Celulares */

@media (max-width: 767px) {

    #propertydetailspage #baseFieldHeading ~ .row > .col-lg-12,
    #propertydetailspage #parkingHeading ~ .row > .col-lg-12,
    #propertydetailspage #buildingInfoHeading ~ .row > .col-lg-12 {
        padding: 14px 16px !important;
        min-height: 64px;
    }

    #propertydetailspage #baseFieldHeading ~ .row .fieldvalue,
    #propertydetailspage #parkingHeading ~ .row .fieldvalue,
    #propertydetailspage #buildingInfoHeading ~ .row .fieldvalue {
        font-size: 20px !important;
    }
}


/* Comodidades */
#propertydetailspage .amenitygroup {
    width: 100%;
    padding: 8px 0 20px !important;
    margin: 0 !important;
}

/* Filas de comodidades */

#propertydetailspage .amenitygroup > .row {
    display: flex !important;
    flex-wrap: wrap !important;
    margin: 0 -6px !important;
}

#propertydetailspage .amenitygroup .fa {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;
    width: 40px;
    height: 40px;

    color: #8B176A !important;
    background: #F8F0F7 !important;
    border-radius: 10px;

    font-size: 19px !important;
    line-height: 1 !important;
}
/* MAS BIENES H&M - TARJETAS DE COMODIDADES */

#propertydetailspage .amenitygroup > .row {
    display: flex !important;
    flex-wrap: wrap !important;
    margin: 0 -6px 10px !important;
}

#propertydetailspage .amenitygroup > .row > .col-lg-6 {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;

    flex: 0 0 calc(50% - 12px) !important;
    width: calc(50% - 12px) !important;
    max-width: calc(50% - 12px) !important;

    background: #FFFFFF !important;
    border: 1px solid #E8E5ED !important;
    border-radius: 12px !important;
    padding: 14px 16px !important;
    margin: 6px !important;

    box-shadow: 0 3px 12px rgba(36,36,62,0.04);
    transition: border-color .2s ease,
                box-shadow .2s ease;
}

#propertydetailspage .amenitygroup > .row > .col-lg-6:hover {
    border-color: #CFA7C5 !important;
    box-shadow: 0 6px 18px rgba(139,23,106,0.08);
}

@media (max-width: 767px) {
    #propertydetailspage .amenitygroup > .row > .col-lg-6 {
        flex: 0 0 calc(100% - 12px) !important;
        width: calc(100% - 12px) !important;
        max-width: calc(100% - 12px) !important;
        padding: 12px 14px !important;
    }
}

/* Descripción */
/* Contenedor exclusivo de la descripción */
#propertydetailspage
.col-lg-12.noleftmargin:has(#baseFieldHeading)
> .row:first-child > .col-lg-12 {

    background: #FFFFFF !important;
    border: 1px solid #E8E5ED !important;
    border-radius: 16px !important;

    padding: 28px 30px !important;
    margin-bottom: 24px !important;

    color: #4F5360 !important;
    font-size: 16px !important;
    line-height: 1.85 !important;

    box-shadow: 0 5px 22px rgba(36,36,62,0.05);
}

/* Título de la descripción */
#propertydetailspage
.col-lg-12.noleftmargin:has(#baseFieldHeading)
> .row:first-child > .col-lg-12 > h4 {

    color: #24243E !important;
    font-size: 23px !important;
    font-weight: 800 !important;

    margin: 0 0 22px !important;
    padding-bottom: 16px !important;

    position: relative;
}

/* Línea decorativa magenta */
#propertydetailspage
.col-lg-12.noleftmargin:has(#baseFieldHeading)
> .row:first-child > .col-lg-12 > h4::after {

    content: "";
    position: absolute;
    left: 0;
    bottom: 0;

    width: 52px;
    height: 4px;

    background: #8B176A;
    border-radius: 10px;
}

/* Párrafos */
#propertydetailspage
.col-lg-12.noleftmargin:has(#baseFieldHeading)
> .row:first-child > .col-lg-12 > p {

    color: #515566 !important;
    font-size: 16px !important;
    line-height: 1.85 !important;
    margin: 12px 0 !important;
}

/* Efecto al pasar el cursor */
#propertydetailspage
.col-lg-12.noleftmargin:has(#baseFieldHeading)
> .row:first-child > .col-lg-12:hover {

    border-color: #D9B9D0 !important;
    box-shadow: 0 8px 28px rgba(139,23,106,0.07);
}

/* Adaptación para celulares */
@media (max-width: 767px) {

    #propertydetailspage
    .col-lg-12.noleftmargin:has(#baseFieldHeading)
    > .row:first-child > .col-lg-12 {

        padding: 20px 18px !important;
        border-radius: 13px !important;
        font-size: 15px !important;
        line-height: 1.75 !important;
    }

    #propertydetailspage
    .col-lg-12.noleftmargin:has(#baseFieldHeading)
    > .row:first-child > .col-lg-12 > h4 {

        font-size: 20px !important;
    }

    #propertydetailspage
    .col-lg-12.noleftmargin:has(#baseFieldHeading)
    > .row:first-child > .col-lg-12 > p {

        font-size: 15px !important;
        line-height: 1.75 !important;
    }
}


/* Contacto WhatsApp */
#propertydetailspage .mb-contactar-asesor { padding: 22px 0 12px; }
#propertydetailspage .mb-wa-card {
  width: 100%; max-width: 780px; margin: 0 auto;
  padding: 34px; background: #fff;
  border: 1px solid #e8e5ed; border-radius: 20px;
  box-shadow: 0 8px 30px rgba(36,36,62,.06);
}
#propertydetailspage .mb-wa-eyebrow {
  display: flex; align-items: center; gap: 8px;
  color: #8b176a; font-size: 12px; font-weight: 800;
  letter-spacing: .08em; margin-bottom: 12px;
}
#propertydetailspage .mb-wa-eyebrow i { color: #8b176a; font-size: 17px; }
#propertydetailspage .mb-wa-card h3 {
  margin: 0 0 12px !important; color: #24243e !important;
  font-size: clamp(23px,3vw,30px) !important; font-weight: 800;
}
#propertydetailspage .mb-wa-intro {
  margin: 0 0 25px !important; color: #56596a !important;
  font-size: 16px; line-height: 1.7;
}
#propertydetailspage .mb-wa-advisor {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 0; margin-bottom: 22px;
  border-top: 1px solid #eeebf0; border-bottom: 1px solid #eeebf0;
}
#propertydetailspage .mb-wa-avatar {
  flex: 0 0 62px; width: 62px; height: 62px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: #f8f0f7;
}
#propertydetailspage .mb-wa-avatar i { color: #8b176a; font-size: 26px; }
#propertydetailspage .mb-wa-advisor-info { min-width: 0; }
#propertydetailspage .mb-wa-advisor-info strong,
#propertydetailspage .mb-wa-advisor-info span,
#propertydetailspage .mb-wa-advisor-info small { display: block; }
#propertydetailspage .mb-wa-advisor-info strong { color: #24243e; font-size: 17px; }
#propertydetailspage .mb-wa-advisor-info span { color: #666a78; font-size: 14px; margin: 4px 0; }
#propertydetailspage .mb-wa-advisor-info small { color: #426b4c; font-size: 13px; }
#propertydetailspage .mb-wa-advisor-info small i { color: #268a51; }
#propertydetailspage a.mb-wa-button {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  width: 100%; padding: 16px 20px; min-height: 54px;
  border-radius: 12px; background: #8b176a; color: #fff !important;
  font-size: 16px; font-weight: 750; text-align: center;
  text-decoration: none !important; transition: background .2s, transform .2s;
}
#propertydetailspage a.mb-wa-button i { color: #fff !important; font-size: 19px; }
#propertydetailspage a.mb-wa-button:hover,
#propertydetailspage a.mb-wa-button:focus { background: #6f1054; color: #fff !important; transform: translateY(-1px); }
#propertydetailspage .mb-wa-footnote {
  margin: 15px 0 0 !important; color: #767889 !important;
  font-size: 12px !important; text-align: center; line-height: 1.5;
}
#propertydetailspage .mb-wa-footnote i { color: #8b176a; }
@media (max-width: 767px) {
  #propertydetailspage .mb-contactar-asesor { padding: 12px 0; }
  #propertydetailspage .mb-wa-card { padding: 22px 18px; border-radius: 15px; }
  #propertydetailspage .mb-wa-advisor { gap: 12px; }
  #propertydetailspage .mb-wa-avatar { flex-basis: 52px; width: 52px; height: 52px; }
  #propertydetailspage a.mb-wa-button { padding: 15px 12px; font-size: 15px; }
}

/* Ajustes móviles generales */
@media (max-width: 767px) {

    /* CONTENEDOR GENERAL */

    #propertydetails {
        width: 100%;
        max-width: 100%;
        overflow-x: clip;
    }

    #propertydetails h1 {
        font-size: 24px !important;
        line-height: 1.3 !important;
        margin-bottom: 12px !important;
    }

    #propertydetails h3,
    #propertydetails h4 {
        font-size: 19px !important;
        line-height: 1.35 !important;
    }

    /* GALERIA PRINCIPAL */

    #propertydetails .property-details-main-div {
        border-radius: 14px !important;
        overflow: hidden;
        margin-bottom: 18px !important;
    }

    #propertydetails #slider1 {
        width: 100% !important;
        max-width: 100%;
        border-radius: 12px !important;
        overflow: hidden;
    }

    #propertydetails #slider1 img {
        display: block;
        width: 100% !important;
        height: 250px !important;
        object-fit: cover !important;
        border-radius: 12px !important;
    }

    /* MINIATURAS */

    #propertydetails #carousel1 {
        margin-top: 10px !important;
    }

    #propertydetails #carousel1 img {
        width: 100%;
        height: 65px !important;
        object-fit: cover;
        border-radius: 8px !important;
    }

    /* PRECIO */

    #propertydetails .themedefault-box1 {
        width: 100%;
        padding: 20px 16px !important;
        border-radius: 14px !important;
        font-size: 24px !important;
        line-height: 1.3 !important;
        text-align: center;
        margin-bottom: 16px;
        overflow-wrap: anywhere;
    }

    /* TARJETA DEL ASESOR */

    #propertydetails .agent-info-container {
        padding: 18px 15px !important;
        border-radius: 14px !important;
        margin-bottom: 18px;
    }

    #propertydetails .profile-card {
        max-width: 100%;
    }

    #propertydetails .profile-img {
        max-width: 100%;
        height: auto;
    }

    /* INFORMACION GENERAL */

    #propertydetails #propertydetailspage {
        width: 100%;
        max-width: 100%;
    }

    #propertydetailspage {
        width: 100%;
        max-width: 100%;
    }

    #propertydetailspage p {
        font-size: 15px !important;
        line-height: 1.7 !important;
        overflow-wrap: anywhere;
    }

    /* PESTANAS */

    #propertydetailspage #tablist,
    #propertydetailspage [role="tablist"] {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
        width: 100%;
        max-width: 100%;
        padding-bottom: 8px;
    }

    #propertydetailspage #tablist button,
    #propertydetailspage [role="tablist"] button {
        font-size: 14px !important;
        line-height: 1.35 !important;
        padding: 12px 14px !important;
        white-space: normal !important;
        text-align: center;
        border-radius: 9px !important;
    }

    #propertydetailspage .tab-content {
        padding-top: 15px !important;
    }

    /* FORMULARIOS Y BOTONES */

    #propertydetailspage input:not([type="checkbox"]):not([type="radio"]),
    #propertydetailspage select,
    #propertydetailspage textarea {
        max-width: 100% !important;
        box-sizing: border-box;
    }

    #propertydetailspage a.btn,
    #propertydetailspage button.btn,
    #propertydetailspage input[type="submit"] {
        max-width: 100%;
        min-height: 46px;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    /* TABLAS RESPONSIVAS */

    #propertydetails table {
        max-width: 100%;
    }

    #propertydetails .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* CELULARES PEQUENOS */

@media (max-width: 390px) {

    #propertydetails h1 {
        font-size: 22px !important;
    }

    #propertydetails #slider1 img {
        height: 215px !important;
    }

    #propertydetails .themedefault-box1 {
        font-size: 21px !important;
    }

    #propertydetailspage #tablist button,
    #propertydetailspage [role="tablist"] button {
        font-size: 13px !important;
        padding: 10px !important;
    }
}

@media(max-width:767px){#propertydetailspage .amenitygroup .fa{width:36px;height:36px;font-size:17px!important}}

/* DISTRIBUCIÓN — galería arriba, precio debajo.
   El padre común de .col-lg-8 y .col-lg-4 es .row.
   Selector limitado a la fila que contiene la galería.
*/
#propertydetails .row:has(> .col-lg-8 > .property-details-main-div) {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
}
#propertydetails .row:has(> .col-lg-8 > .property-details-main-div) > .col-lg-8,
#propertydetails .row:has(> .col-lg-8 > .property-details-main-div) > .col-lg-4 {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}
#propertydetails .row:has(> .col-lg-8 > .property-details-main-div) > .col-lg-4 {
    margin-top: 16px;
}
#propertydetails .property-details-main-div,
#propertydetails #slider1,
#propertydetails #carousel1 {
    width: 100%;
    max-width: 100%;
}
#propertydetails .themedefault-box1 {
    width: 100%;
    text-align: center;
}




/* MÁS BIENES H&M — ETIQUETA VENTA DEFINITIVA */

#slider1 .property_type {
    background-color: #08B51B !important;
    border: 2px solid #FFFFFF !important;
    border-radius: 35px !important;
    overflow: hidden !important;
    box-shadow: 0 5px 16px rgba(0,0,0,.25) !important;
}

#slider1 .property_type a {
    display: inline-block !important;
    background-color: transparent !important;
    color: #FFFFFF !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    padding: 12px 22px !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
}

@media (max-width: 767px) {
    #slider1 .property_type a {
        font-size: 17px !important;
        padding: 9px 16px !important;
    }
}

/* ==========================================
   MÁS BIENES H&M — BUSCADOR HOME
========================================== */

/* Encabezado */
.mb-home-hero .mb-search-heading {
    margin-bottom: 22px;
}

.mb-home-hero .mb-search-heading h2 {
    color: #24243E !important;
    font-size: 27px !important;
    font-weight: 800 !important;
    line-height: 1.25;
    margin: 0 0 8px;
}

.mb-home-hero .mb-search-heading p {
    color: #70758A !important;
    font-size: 15px !important;
    line-height: 1.5;
    margin: 0;
}

/* Estilos limitados al buscador del Home */
.mb-home-hero .mb-home-search {
    border: 1px solid rgba(255,255,255,.75);
}

/* Controles */
.mb-home-hero .mb-home-search select,
.mb-home-hero .mb-home-search input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]) {
    min-height: 50px;
    max-width: 100%;
    background-color: #FFFFFF !important;
    color: #24243E !important;
    border: 1px solid #DCE0E8 !important;
    border-radius: 10px !important;
    padding: 10px 14px;
    font-size: 15px;
    box-sizing: border-box;
}

/* Etiquetas */
.mb-home-hero .mb-home-search label {
    color: #24243E !important;
    font-weight: 600;
    font-size: 14px;
}

/* Botones de búsqueda */
.mb-home-hero .mb-home-search button[type="submit"],
.mb-home-hero .mb-home-search input[type="submit"],
.mb-home-hero .mb-home-search button.btn-primary {
    background: #8B176A !important;
    color: #FFFFFF !important;
    border: 0 !important;
    border-radius: 10px !important;
    min-height: 50px;
    padding: 12px 24px !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    box-shadow: 0 5px 15px rgba(139,23,106,.18);
    transition: background .2s ease, transform .2s ease;
}

.mb-home-hero .mb-home-search button[type="submit"]:hover,
.mb-home-hero .mb-home-search input[type="submit"]:hover,
.mb-home-hero .mb-home-search button.btn-primary:hover {
    background: #701052 !important;
    transform: translateY(-1px);
}

/* Enlace de búsqueda avanzada */
.mb-home-hero .mb-home-search a {
    color: #8B176A;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 767px) {
    .mb-home-hero .mb-home-search {
        padding: 24px 18px !important;
    }

    .mb-home-hero .mb-search-heading h2 {
        font-size: 23px !important;
    }

    .mb-home-hero .mb-home-search select {
        width: 100%;
    }
}

/* ==========================================
   MÁS BIENES H&M - UNIFICAR BUSCADOR
========================================== */

/* Tarjeta exterior */
.mb-home-hero .mb-home-search {
    background: #FFFFFF !important;
    border-radius: 24px !important;
    padding: 35px 38px !important;
    box-shadow: 0 18px 50px rgba(0,0,0,.15) !important;
    overflow: hidden;
}

/* Quitar espacios excesivos entre addons */
.mb-home-hero .mb-home-search .sppb-addon-wrapper {
    margin-bottom: 0 !important;
}

.mb-home-hero .mb-home-search .sppb-addon-content {
    margin-bottom: 0 !important;
}

/* Encabezado */
.mb-home-hero .mb-search-heading {
    margin: 0 0 25px !important;
    padding: 0 0 20px !important;
    border-bottom: 1px solid #ECECF1;
}

/* Evitar fondo y sombra adicionales
   en contenedores internos del módulo */
.mb-home-hero .mb-home-search .card,
.mb-home-hero .mb-home-search .panel {
    box-shadow: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}

/* Encabezados del acordeón */
.mb-home-hero .mb-home-search .card-header,
.mb-home-hero .mb-home-search .panel-heading {
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
}

/* Contenido del buscador */
.mb-home-hero .mb-home-search .card-body,
.mb-home-hero .mb-home-search .panel-body {
    padding: 10px 0 !important;
}

/* Botón Buscar */
.mb-home-hero .mb-home-search button[type="submit"],
.mb-home-hero .mb-home-search input[type="submit"] {
    background: #8B176A !important;
    color: #FFFFFF !important;
    border-radius: 11px !important;
    min-height: 52px;
    font-size: 16px !important;
    font-weight: 700 !important;
}

/* Celulares */
@media (max-width: 767px) {
    .mb-home-hero .mb-home-search {
        padding: 24px 20px !important;
        border-radius: 18px !important;
    }
}

/* MÁS BIENES H&M — PROPIEDADES DESTACADAS */

.mb-featured-properties {
    background: #F8F7FA !important;
    padding-top: 85px !important;
    padding-bottom: 90px !important;
}

.mb-featured-properties .mb-featured-heading {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 45px;
}

.mb-featured-properties .mb-featured-eyebrow {
    display: block;
    color: #8B176A;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.mb-featured-properties .mb-featured-heading h2 {
    color: #24243E !important;
    font-size: clamp(30px, 3vw, 43px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

.mb-featured-properties .mb-featured-heading p {
    color: #6B6D7C;
    font-size: 17px;
    line-height: 1.7;
}

/* Adaptación móvil */
@media (max-width: 767px) {
    .mb-featured-properties {
        padding: 55px 18px !important;
    }

    .mb-featured-properties .mb-featured-heading {
        margin-bottom: 30px;
    }

    .mb-featured-properties .mb-featured-heading h2 {
        font-size: 29px;
    }
}

/* ==========================================
   MÁS BIENES H&M — SERVICIOS HOME
========================================== */

.mb-home-services {
    background: #FFFFFF !important;
    padding: 90px 20px !important;
}

.mb-services-wrap {
    max-width: 1320px;
    margin: 0 auto;
}

/* Encabezado */
.mb-services-heading {
    max-width: 800px;
    margin: 0 auto 48px;
    text-align: center;
}

.mb-services-heading > span {
    display: block;
    color: #8B176A;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.mb-services-heading h2 {
    color: #24243E !important;
    font-size: clamp(30px, 3vw, 44px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 18px;
}

.mb-services-heading p {
    color: #696D7B;
    font-size: 17px;
    line-height: 1.7;
}

/* Cuadrícula */
.mb-services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

/* Tarjetas */
.mb-service-card {
    background: #FFFFFF;
    border: 1px solid #EAE7ED;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(36,36,62,.06);
    transition: transform .25s ease,
                box-shadow .25s ease;
}

.mb-service-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 16px 40px rgba(36,36,62,.12);
}

/* Fotografías */
.mb-service-photo {
    height: 270px;
    overflow: hidden;
}

.mb-service-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.mb-service-card:hover .mb-service-photo img {
    transform: scale(1.05);
}

/* Contenido */
.mb-service-body {
    padding: 30px;
}

.mb-service-number {
    display: block;
    color: #8B176A;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 14px;
}

.mb-service-body h3 {
    color: #24243E !important;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 14px;
}

.mb-service-body p {
    color: #686C79;
    font-size: 15px;
    line-height: 1.75;
    min-height: 80px;
    margin-bottom: 24px;
}

/* Enlaces */
.mb-service-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #8B176A !important;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none !important;
}

.mb-service-link span {
    font-size: 23px;
    transition: transform .2s ease;
}

.mb-service-link:hover span {
    transform: translateX(5px);
}

/* Tablet */
@media (max-width: 991px) {
    .mb-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Móvil */
@media (max-width: 767px) {
    .mb-home-services {
        padding: 60px 16px !important;
    }

    .mb-services-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .mb-services-heading {
        margin-bottom: 32px;
    }

    .mb-services-heading h2 {
        font-size: 30px;
    }

    .mb-service-photo {
        height: 230px;
    }

    .mb-service-body {
        padding: 24px;
    }

    .mb-service-body p {
        min-height: 0;
    }
}

/* ==========================================
   MÁS BIENES H&M
   PROPIEDADES DESTACADAS - HOME
========================================== */

/* TARJETA PRINCIPAL */
.mb-featured-properties .element_property {
    background: #FFFFFF !important;
    border: 1px solid #E9E6EE !important;
    border-radius: 18px !important;
    padding: 0 !important;
    overflow: hidden !important;
    box-shadow: 0 8px 28px rgba(36,36,62,.08);
    transition: transform .25s ease,
                box-shadow .25s ease;
}

.mb-featured-properties .element_property:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 35px rgba(36,36,62,.14);
}

/* IMAGEN DEL INMUEBLE */
.mb-featured-properties .element_property .image_property {
    position: relative;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden;
}

.mb-featured-properties .image_property img {
    display: block;
    width: 100% !important;
    height: 245px !important;
    object-fit: cover !important;
    transition: transform .4s ease;
}

.mb-featured-properties .element_property:hover .image_property img {
    transform: scale(1.05);
}

/* ETIQUETA VENTA / ARRIENDO */
.mb-featured-properties .randompropertytype {
    position: absolute !important;
    right: 14px !important;
    bottom: 14px !important;
    top: auto !important;
    left: auto !important;
    z-index: 5;

    background: #16A34A !important;
    color: #FFFFFF !important;
    border-radius: 7px !important;
    padding: 7px 13px !important;

    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: .5px;
    text-transform: uppercase;
}

/* PRECIO */
.mb-featured-properties .property_price {
    color: #8B176A !important;
    font-size: 25px !important;
    font-weight: 800 !important;
    line-height: 1.3;
}

/* ENLACES */
.mb-featured-properties .element_property a {
    text-decoration: none;
    transition: color .2s ease;
}

.mb-featured-properties .element_property a:hover {
    color: #8B176A;
}

/* CONTENIDO Y TEXTOS */
.mb-featured-properties .element_property p {
    color: #626779;
    line-height: 1.6;
}

/* TABLET */
@media (max-width: 991px) {
    .mb-featured-properties .image_property img {
        height: 220px !important;
    }
}

/* MÓVIL */
@media (max-width: 767px) {
    .mb-featured-properties .element_property {
        margin-bottom: 22px !important;
    }

    .mb-featured-properties .image_property img {
        height: 235px !important;
    }

    .mb-featured-properties .property_price {
        font-size: 22px !important;
    }
}

/* ==========================================
   MÁS BIENES H&M - REFINAMIENTO TARJETAS
========================================== */

/* Espacio interior para textos */
.mb-featured-properties .element_property
  > :not(.image_property) {
    padding-left: 20px;
    padding-right: 20px;
}

/* Títulos de inmuebles */
.mb-featured-properties .element_property a {
    color: #24243E;
    text-decoration: none !important;
}

.mb-featured-properties .element_property a:hover {
    color: #8B176A;
}

/* Precio */
.mb-featured-properties .property_price {
    color: #8B176A !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    letter-spacing: -.5px;
}

/* Descripciones */
.mb-featured-properties .element_property p {
    font-size: 14px;
    line-height: 1.65;
    color: #6B7080;
}

/* Imágenes */
.mb-featured-properties .image_property img {
    height: 250px !important;
    object-fit: cover !important;
}

/* Etiqueta */
.mb-featured-properties .randompropertytype {
    background: #16A34A !important;
    color: #FFFFFF !important;
    border-radius: 8px !important;
    padding: 8px 15px !important;
}

/* Pie con características */
.mb-featured-properties .element_property
  .property_details {
    border-top: 1px solid #ECECF0;
    padding-top: 15px;
    padding-bottom: 15px;
}

/* Móvil */
@media (max-width: 767px) {
    .mb-featured-properties .property_price {
        font-size: 21px !important;
    }
}

/* ==========================================
   MÁS BIENES H&M
   AJUSTES TARJETAS - OS PROPERTY HOME
========================================== */

/* Espacio interior del título */
.mb-featured-properties .element_property .element_title {
    padding: 20px 20px 8px !important;
}

/* Título del inmueble */
.mb-featured-properties .element_property .element_title h4 {
    margin: 0 !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
}

.mb-featured-properties .element_property .element_title h4 a {
    color: #24243E !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    text-decoration: none !important;
}

.mb-featured-properties .element_property .element_title h4 a:hover {
    color: #8B176A !important;
}

/* Precio */
.mb-featured-properties .element_property .property_price {
    color: #8B176A !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
}

/* Espacio lateral para el contenido */
.mb-featured-properties .element_property .element_title ~ .row {
    padding-left: 12px;
    padding-right: 12px;
}

/* Ajuste de la imagen */
.mb-featured-properties .element_property .image_property img {
    width: 100% !important;
    height: 245px !important;
    object-fit: cover !important;
}

/* Etiqueta Venta */
.mb-featured-properties .element_property .randompropertytype {
    background: #16A34A !important;
    color: #FFFFFF !important;
    font-weight: 800 !important;
    border-radius: 8px !important;
}

/* Adaptación móvil */
@media (max-width: 767px) {
    .mb-featured-properties .element_property .element_title h4 {
        font-size: 19px !important;
    }

    .mb-featured-properties .element_property .property_price {
        font-size: 22px !important;
    }
}

/* ==========================================
   MÁS BIENES H&M
   BOTÓN WHATSAPP - HELIX ULTIMATE
========================================== */

/* Menú escritorio y móvil */
a.mb-menu-whatsapp,
.sp-megamenu-parent .sp-menu-item > a.mb-menu-whatsapp,
.offcanvas-menu a.mb-menu-whatsapp {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;

    background: #990075 !important;
    color: #FFFFFF !important;

    padding: 14px 22px !important;
    border: 0 !important;
    border-radius: 10px !important;

    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    height: auto !important;

    text-decoration: none !important;
    transition: background .2s ease,
                transform .2s ease;
}

/* Hover */
a.mb-menu-whatsapp:hover,
.sp-megamenu-parent .sp-menu-item > a.mb-menu-whatsapp:hover,
.offcanvas-menu a.mb-menu-whatsapp:hover {
    background: #75005A !important;
    color: #FFFFFF !important;
    transform: translateY(-2px);
}

/* Icono */
a.mb-menu-whatsapp i {
    color: #FFFFFF !important;
    font-size: 21px !important;
}

/* Separación del menú */
.sp-megamenu-parent .sp-menu-item > a.mb-menu-whatsapp {
    margin-left: 15px !important;
}

/* Menú móvil */
@media (max-width: 991px) {
    .offcanvas-menu a.mb-menu-whatsapp {
        width: 100% !important;
        margin: 12px 0 !important;
    }
}

/* ==========================================
   MÁS BIENES H&M - SECCIÓN CONFIANZA
   AJUSTE DE DISTRIBUCIÓN Y DISEÑO
========================================== */

.mb-home-trust.mb-trust-wrap {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 85px 5% !important;
    background: #171C36 !important;
    box-sizing: border-box !important;
}

/* Encabezado centrado */
.mb-home-trust .mb-trust-heading {
    max-width: 780px !important;
    margin: 0 auto 50px !important;
    text-align: center !important;
}

.mb-home-trust .mb-trust-heading h2 {
    color: #FFFFFF !important;
    font-size: clamp(30px, 3vw, 44px) !important;
    line-height: 1.2 !important;
    margin-bottom: 18px !important;
}

.mb-home-trust .mb-trust-heading p {
    color: #CFD3E1 !important;
    font-size: 17px !important;
    line-height: 1.7 !important;
}

/* Cuadrícula de cuatro columnas */
.mb-home-trust .mb-trust-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 22px !important;
    max-width: 1320px !important;
    margin: 0 auto !important;
}

/* Tarjetas */
.mb-home-trust .mb-trust-grid > .mb-trust-card {
    display: block !important;
    min-width: 0 !important;
    background: #252B48 !important;
    border: 1px solid rgba(255,255,255,.08) !important;
    border-radius: 18px !important;
    padding: 30px 25px !important;
    box-sizing: border-box !important;
    transition: transform .25s ease !important;
}

.mb-home-trust .mb-trust-card:hover {
    transform: translateY(-5px);
}

/* Iconos */
.mb-home-trust .mb-trust-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 58px !important;
    height: 58px !important;
    background: rgba(217,54,181,.16) !important;
    color: #F0A8DF !important;
    border-radius: 14px !important;
    font-size: 26px !important;
    margin-bottom: 24px !important;
}

/* Textos de tarjetas */
.mb-home-trust .mb-trust-card h3 {
    color: #FFFFFF !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
    margin: 0 0 14px !important;
}

.mb-home-trust .mb-trust-card p {
    color: #CFD3E1 !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
    margin: 0 !important;
}

/* Llamado a la acción */
.mb-home-trust .mb-trust-bottom {
    text-align: center !important;
    margin-top: 45px !important;
}

.mb-home-trust .mb-trust-bottom p {
    color: #FFFFFF !important;
    font-size: 18px !important;
    margin-bottom: 22px !important;
}

.mb-home-trust a.mb-trust-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    background: #990075 !important;
    color: #FFFFFF !important;
    border-radius: 11px !important;
    padding: 16px 30px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

/* Tablet */
@media (max-width: 991px) {
    .mb-home-trust .mb-trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* Móvil */
@media (max-width: 767px) {
    .mb-home-trust.mb-trust-wrap {
        padding: 60px 18px !important;
    }

    .mb-home-trust .mb-trust-grid {
        grid-template-columns: 1fr !important;
    }

    .mb-home-trust .mb-trust-grid > .mb-trust-card {
        padding: 25px !important;
    }
}

/* ==========================================
   MÁS BIENES H&M — CONTACTO HOME
========================================== */

.mb-home-contact.mb-contact-wrap {
    width: 100%;
    max-width: 100%;
    padding: 90px 5%;
    margin: 0 auto;
    background: #F8F7FA;
    box-sizing: border-box;
}

/* Dos columnas */
.mb-home-contact .mb-contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
    align-items: center;
    gap: 75px;
    max-width: 1320px;
    margin: 0 auto;
}

/* Encabezado */
.mb-home-contact .mb-contact-eyebrow {
    display: block;
    color: #8B176A;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 22px;
}

.mb-home-contact .mb-contact-intro h2 {
    color: #24243E !important;
    font-size: clamp(34px, 3.5vw, 52px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 25px;
}

.mb-home-contact .mb-contact-intro h2 span {
    color: #8B176A;
}

.mb-home-contact .mb-contact-intro > p {
    color: #697080;
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 28px;
}

/* Beneficios */
.mb-home-contact .mb-contact-promise {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #24243E;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 14px;
}

.mb-home-contact .mb-contact-check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #F5E2EF;
    color: #8B176A;
    font-weight: 800;
}

/* Botón WhatsApp */
.mb-home-contact a.mb-contact-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 25px;
    padding: 17px 25px;
    background: #990075 !important;
    color: #FFFFFF !important;
    border-radius: 11px;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none !important;
    transition: background .2s ease,
                transform .2s ease;
}

.mb-home-contact a.mb-contact-whatsapp:hover {
    background: #75005A !important;
    transform: translateY(-2px);
}

.mb-contact-whatsapp span {
    font-size: 23px;
}

/* Tarjeta de contacto */
.mb-home-contact .mb-contact-card {
    background: #FFFFFF;
    border: 1px solid #EAE7ED;
    border-radius: 24px;
    padding: 42px;
    box-shadow: 0 18px 55px rgba(36,36,62,.08);
}

.mb-home-contact .mb-contact-card h3 {
    color: #24243E !important;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 12px;
}

.mb-home-contact .mb-contact-card-subtitle {
    color: #727786;
    font-size: 15px;
    margin-bottom: 30px;
}

/* Teléfono y correo */
.mb-home-contact a.mb-contact-method {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 0;
    color: #24243E !important;
    text-decoration: none !important;
    border-bottom: 1px solid #ECECF1;
}

.mb-home-contact .mb-contact-method-icon {
    width: 54px;
    height: 54px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F7EAF3;
    color: #8B176A;
    border-radius: 14px;
    font-size: 22px;
}

.mb-home-contact .mb-contact-method small {
    display: block;
    color: #858A98;
    font-size: 13px;
    margin-bottom: 5px;
}

.mb-home-contact .mb-contact-method strong {
    display: block;
    color: #24243E;
    font-size: 17px;
    font-weight: 800;
    overflow-wrap: anywhere;
}

/* Redes sociales */
.mb-home-contact .mb-contact-social-title {
    color: #24243E;
    font-size: 15px;
    font-weight: 800;
    margin: 32px 0 18px;
}

.mb-home-contact .mb-contact-socials {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.mb-home-contact a.mb-contact-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #F8F7FA;
    border: 1px solid #ECE8EF;
    border-radius: 11px;
    padding: 15px;
    color: #8B176A !important;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
    transition: background .2s ease;
}

.mb-home-contact a.mb-contact-social:hover {
    background: #F5E2EF;
}

/* Tablet */
@media (max-width: 991px) {
    .mb-home-contact .mb-contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Móvil */
@media (max-width: 767px) {
    .mb-home-contact.mb-contact-wrap {
        padding: 60px 18px;
    }

    .mb-home-contact .mb-contact-intro h2 {
        font-size: 34px;
    }

    .mb-home-contact .mb-contact-card {
        padding: 26px 20px;
        border-radius: 18px;
    }

    .mb-home-contact .mb-contact-card h3 {
        font-size: 23px;
    }

    .mb-home-contact a.mb-contact-whatsapp {
        width: 100%;
        text-align: center;
    }

    .mb-home-contact .mb-contact-socials {
        grid-template-columns: 1fr 1fr;
    }
}

/* MÁS BIENES H&M - NOSOTROS - PORTADA */

.mb-about-hero {
    background: #171C36;
    color: #FFFFFF;
    width: 100%;
}

.mb-about-hero *,
.mb-about-hero *::before,
.mb-about-hero *::after {
    box-sizing: border-box;
}

.mb-about-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 570px;
}

.mb-about-copy {
    padding: 90px max(35px, 8%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.mb-about-eyebrow {
    color: #F0A8DF;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.mb-about-hero .mb-about-copy h1 {
    color: #FFFFFF !important;
    font-size: clamp(38px, 4vw, 66px);
    line-height: 1.12;
    font-weight: 800;
    margin: 0 0 25px;
}

.mb-about-copy h1 span {
    color: #E43BBB;
}

.mb-about-copy p {
    color: #D8D9E3 !important;
    font-size: 19px;
    line-height: 1.75;
    max-width: 550px;
    margin-bottom: 30px;
}

.mb-about-hero a.mb-about-cta {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: #990075;
    color: #FFFFFF !important;
    border-radius: 10px;
    padding: 16px 25px;
    font-weight: 700;
    text-decoration: none !important;
}

.mb-about-hero a.mb-about-cta:hover {
    background: #B80C91;
}

.mb-about-image {
    min-height: 470px;
    overflow: hidden;
}

.mb-about-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 991px) {
    .mb-about-hero-content {
        grid-template-columns: 1fr;
    }

    .mb-about-copy {
        padding: 65px 30px;
    }

    .mb-about-image {
        height: 360px;
        min-height: 0;
    }
}

@media (max-width: 575px) {
    .mb-about-copy {
        padding: 55px 22px;
    }

    .mb-about-hero .mb-about-copy h1 {
        font-size: 38px;
    }

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

    .mb-about-image {
        height: 280px;
    }
}

/* ==========================================
   MÁS BIENES H&M - NOSOTROS
   SECCIÓN 2: QUIÉNES SOMOS
========================================== */

.mb-about-intro {
    background: #F8F7FA !important;
    padding: 105px 5% !important;
    width: 100%;
    box-sizing: border-box;
}

.mb-about-intro *,
.mb-about-intro *::before,
.mb-about-intro *::after {
    box-sizing: border-box;
}

.mb-about-intro-container {
    max-width: 1320px;
    margin: 0 auto;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 90px;
    align-items: center;
}

/* IMAGEN */

.mb-about-intro-visual {
    position: relative;
    padding: 0 35px 40px 0;
}

.mb-about-intro-photo {
    overflow: hidden;
    border-radius: 22px;
    height: 570px;
    box-shadow: 0 18px 50px rgba(36,36,62,.10);
}

.mb-about-intro-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* TARJETA DE EXPERIENCIA */

.mb-about-experience {
    position: absolute;
    right: 0;
    bottom: 0;
    background: #8B176A;
    color: #FFFFFF;
    padding: 25px 32px;
    border-radius: 18px;
    box-shadow: 0 15px 35px rgba(139,23,106,.20);
    display: flex;
    align-items: center;
    gap: 16px;
}

.mb-about-experience strong {
    font-size: 55px;
    line-height: 1;
    font-weight: 900;
    color: #FFFFFF;
}

.mb-about-experience span {
    color: #FFFFFF;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 600;
}

/* CONTENIDO */

.mb-about-intro-eyebrow {
    display: block;
    color: #8B176A;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 22px;
}

.mb-about-intro .mb-about-intro-content h2 {
    color: #24243E !important;
    font-size: clamp(32px, 3vw, 47px);
    font-weight: 850;
    line-height: 1.18;
    letter-spacing: -.8px;
    margin-bottom: 26px;
}

.mb-about-intro-content h2 span {
    color: #8B176A;
}

.mb-about-intro .mb-about-intro-content p {
    color: #656B7A !important;
    font-size: 16px;
    line-height: 1.85;
    margin-bottom: 17px;
}

/* BENEFICIOS */

.mb-about-intro-features {
    margin-top: 30px;
    display: grid;
    gap: 20px;
}

.mb-about-intro-feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.mb-about-feature-check {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #F3E0EF;
    color: #8B176A;
    font-size: 17px;
    font-weight: 800;
}

.mb-about-intro-feature strong {
    display: block;
    color: #24243E;
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 5px;
}

.mb-about-intro-feature small {
    display: block;
    color: #737888;
    font-size: 14px;
    line-height: 1.6;
}

/* FIRMA */

.mb-about-intro-signature {
    border-left: 3px solid #8B176A;
    padding-left: 18px;
    margin-top: 35px;
}

.mb-about-intro-signature span {
    display: block;
    color: #8B176A;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 5px;
}

.mb-about-intro-signature strong {
    display: block;
    color: #24243E;
    font-size: 17px;
}

/* TABLET */

@media (max-width: 991px) {
    .mb-about-intro {
        padding: 75px 5% !important;
    }

    .mb-about-intro-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .mb-about-intro-photo {
        height: 460px;
    }
}

/* MÓVIL */

@media (max-width: 575px) {
    .mb-about-intro {
        padding: 60px 20px !important;
    }

    .mb-about-intro-visual {
        padding: 0 15px 35px 0;
    }

    .mb-about-intro-photo {
        height: 340px;
        border-radius: 16px;
    }

    .mb-about-experience {
        padding: 18px 20px;
        border-radius: 13px;
    }

    .mb-about-experience strong {
        font-size: 40px;
    }

    .mb-about-experience span {
        font-size: 12px;
    }

    .mb-about-intro .mb-about-intro-content h2 {
        font-size: 33px;
    }

    .mb-about-intro-container {
        gap: 45px;
    }
}

/* ==========================================
   MÁS BIENES H&M - NOSOTROS
   SECCIÓN 3: FILOSOFÍA Y VALORES
========================================== */

.mb-about-philosophy {
    background: #F8F7FA !important;
    padding: 95px 5% !important;
    width: 100%;
    box-sizing: border-box;
}

.mb-about-philosophy *,
.mb-about-philosophy *::before,
.mb-about-philosophy *::after {
    box-sizing: border-box;
}

.mb-philosophy-container {
    max-width: 1320px;
    margin: 0 auto;
}

/* ENCABEZADO */
.mb-philosophy-heading,
.mb-values-heading {
    text-align: center;
    max-width: 790px;
    margin: 0 auto 45px;
}

.mb-philosophy-heading > span,
.mb-values-heading > span {
    display: block;
    color: #8B176A;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.mb-about-philosophy .mb-philosophy-heading h2,
.mb-about-philosophy .mb-values-heading h2 {
    color: #24243E !important;
    font-size: clamp(30px, 3vw, 44px) !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    margin-bottom: 18px !important;
}

.mb-philosophy-heading p,
.mb-values-heading p {
    color: #697080 !important;
    font-size: 17px;
    line-height: 1.75;
}

/* MISIÓN Y VISIÓN */
.mb-about-philosophy .mb-philosophy-main {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 25px;
}

.mb-philosophy-panel {
    border-radius: 22px;
    padding: 45px;
    color: #FFFFFF;
    min-width: 0;
}

.mb-mission {
    background: #171C36 !important;
}

.mb-vision {
    background: #8B176A !important;
}

.mb-philosophy-icon {
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(255,255,255,.13);
    color: #FFFFFF;
    font-size: 27px;
    margin-bottom: 30px;
}

.mb-philosophy-number {
    display: block;
    color: #F2C3E7;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.mb-about-philosophy .mb-philosophy-panel h3 {
    color: #FFFFFF !important;
    font-size: 29px !important;
    font-weight: 800 !important;
    margin-bottom: 22px !important;
}

.mb-about-philosophy .mb-philosophy-panel p {
    color: #E4E3EC !important;
    font-size: 16px !important;
    line-height: 1.8 !important;
    margin-bottom: 15px;
}

/* ENCABEZADO VALORES */
.mb-values-heading {
    margin-top: 85px;
}

/* CUADRÍCULA DE VALORES */
.mb-about-philosophy .mb-values-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 22px;
}

.mb-value-card {
    background: #FFFFFF !important;
    border: 1px solid #EAE6EF;
    border-radius: 18px;
    padding: 32px 28px;
    min-width: 0;
    box-shadow: 0 8px 25px rgba(36,36,62,.04);
    transition: transform .25s ease,
                box-shadow .25s ease;
}

.mb-value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(36,36,62,.09);
}

.mb-value-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F6E6F0;
    color: #8B176A;
    border-radius: 14px;
    font-size: 25px;
    margin-bottom: 22px;
}

.mb-about-philosophy .mb-value-card h3 {
    color: #24243E !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    margin-bottom: 12px !important;
}

.mb-about-philosophy .mb-value-card p {
    color: #697080 !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
    margin: 0 !important;
}

/* TABLET */
@media (max-width: 991px) {
    .mb-about-philosophy .mb-values-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .mb-philosophy-panel {
        padding: 32px;
    }
}

/* MÓVIL */
@media (max-width: 767px) {
    .mb-about-philosophy {
        padding: 65px 20px !important;
    }

    .mb-about-philosophy .mb-philosophy-main,
    .mb-about-philosophy .mb-values-grid {
        grid-template-columns: 1fr !important;
    }

    .mb-philosophy-panel {
        padding: 30px 25px;
    }

    .mb-values-heading {
        margin-top: 65px;
    }

    .mb-value-card {
        padding: 28px 24px;
    }
}
