/* Ajustes pedidos por Colomba (octubre 2026). Se carga después del resto de hojas en ES, EN y FR. */

/* Etiqueta VENTA / ALQUILER de las tarjetas: con width 40% la palabra se partía
   o se salía del fondo gris al estrechar la pantalla */
.card-header {
    width: auto !important;
    display: inline-block;
    white-space: nowrap;
    padding-left: 1em;
    padding-right: 1em;
}

/* Ficha del inmueble: el texto usaba Work Sans con grosor 100 y se leía muy tenue */
.descripcion_vivienda,
.nombre_propiedad,
.referencia,
.pisodescripcion,
.pisoinfo {
    font-weight: 400 !important;
    color: #333 !important;
}

/* Botón de menú con la palabra MENÚ junto al icono */
.menu-toggle {
    width: auto !important;
    min-width: 50px;
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    padding: 0 10px;
    cursor: pointer;
    text-decoration: none !important;
}

.menu-toggle .menu-label {
    color: #212529;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    line-height: 1;
}

/* En móvil el texto va debajo del icono para no tapar el logo */
@media (max-width: 767px) {
    .menu-toggle {
        flex-direction: column;
        justify-content: center;
        gap: 4px;
        min-width: 0;
        padding: 0 4px;
    }

    .menu-toggle .menu-label {
        font-size: 9px;
        letter-spacing: 0.1em;
    }
}

/* Página Prensa y redes */
.prensa .prensa-h1,
.prensa-redes .prensa-h2 {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.prensa-lead {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 1.5rem;
}

.prensa-demo {
    text-align: center;
    font-size: 0.85em;
    color: #9b918b;
    border: 1px dashed #BEBBB9;
    padding: 0.5em 1em;
    max-width: 640px;
    margin: 0 auto 3rem;
}

.prensa-item {
    margin-bottom: 3rem;
}

.prensa-imagen img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.prensa-tipo {
    display: inline-block;
    margin: 1rem 0 0.25rem;
    padding: 0.15em 0.8em;
    background-color: #F9EBE4;
    font-size: 0.8em;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.prensa-medio {
    font-size: 0.85em;
    color: #83766F;
    margin-bottom: 0.5rem;
}

.prensa-titulo {
    font-size: 1.25em;
    line-height: 1.3;
}

.prensa-texto {
    color: #333;
}

.prensa-boton {
    display: inline-block;
    border: 1px solid #83766F;
    padding: 0.5em 1.5em;
    color: #707070;
    font-size: 0.85em;
    letter-spacing: 0.1em;
}

.prensa-redes {
    background-color: #F9EBE4;
}

.prensa-redes-enlaces {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 2rem;
}

.prensa-redes-enlaces a {
    display: inline-flex;
    align-items: center;
    gap: 0.6em;
    color: #333;
    font-weight: 600;
}

.prensa-redes-enlaces img {
    width: 32px;
    height: 32px;
}

/* Botón de menú fijo: con fondo para que no se mezcle con el texto al hacer scroll */
.menu-toggle,
.menu-toggle:hover {
    background-color: rgba(255, 255, 255, 0.92) !important;
    border: 1px solid #BEBBB9 !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

/* «Quiero una casa»: pestañas Venta / Alquiler */
.pestanas-contrato {
    display: flex;
    justify-content: center;
    gap: 0;
    margin: 0 auto 2.5rem;
    max-width: 420px;
    border: 1px solid #83766F;
}

.pestanas-contrato button {
    flex: 1;
    padding: 0.7em 1em;
    border: 0;
    background: transparent;
    color: #83766F;
    font-size: 0.95em;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
}

.pestanas-contrato button.activa {
    background-color: #83766F;
    color: #fff;
}

.ver-mas-inmuebles {
    display: inline-block;
    border: 1px solid #83766F;
    background: transparent;
    color: #83766F;
    padding: 0.7em 3em;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
}

/* Ficha: botones bajo las fotos (descargar ficha, vídeo, preguntar) */
.ficha-acciones {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.ficha-boton {
    display: inline-block;
    padding: 0.6em 1.4em;
    border: 1px solid #83766F;
    background-color: #fff;
    color: #707070 !important;
    font-size: 0.85em;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none !important;
}

.ficha-boton-principal {
    background-color: #83766F;
    color: #fff !important;
}

@media (max-width: 767px) {
    .ficha-boton {
        flex: 1 1 100%;
        text-align: center;
    }
}

/* Logo e icono del menú: tamaño reservado (width/height en el HTML) sin deformarse */
img[src*="LOGO%20PRINCIPAL"],
img[src*="LOGO PRINCIPAL"] {
    height: auto;
}

.menu-toggle img {
    width: 29px;
    height: 11px;
}
