/* =================================================================
   MODERN.CSS — Rediseño frontend José Iena Inmobiliaria
   Se carga DESPUÉS de style.css / responsive.css / custom.css y
   sobreescribe/extiende lo necesario sin tocar el theme original.
================================================================= */

:root{
    --brand: #800000;
    --brand-dark: #5c0000;
    --brand-light: #a3132d;
    --ink: #1c1c1c;
    --ink-soft: #4a4a4a;
    --muted: #767676;
    --line: #e7e3e1;
    --bg-soft: #f7f5f4;
    --white: #ffffff;
    --radius: 14px;
    --radius-sm: 8px;
    --radius-btn: 10px;
    --shadow-sm: 0 2px 10px rgba(20,20,20,.06);
    --shadow-md: 0 12px 30px rgba(20,20,20,.10);
    --shadow-lg: 0 25px 60px rgba(20,20,20,.18);
    --ease: cubic-bezier(.22,.61,.36,1);
}

/* overflow-x sólo en html (no en body/.wrapper) para no romper position:sticky del header */
html{ overflow-x: hidden; }

body, .wrapper{ color: var(--ink); }

/* -----------------------------------------------------------
   Animación de entrada al scrollear (sobria: fade + leve subida).
   Se aplica directo sobre clases que ya existen en el markup, así
   no hace falta tocar cada página. modern.js agrega ".is-visible"
   con IntersectionObserver cuando el elemento entra en pantalla.
----------------------------------------------------------- */
.pc-card,
.mm-value-card,
.mm-feature,
.mm-cta,
.pd-card,
.val-card,
.val-step,
.mm-about-text,
.mm-about-media,
.mm-section-top,
.mm-section-head,
.pd-fact,
.pd-agent-card{
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
    transition-delay: var(--mm-delay, 0ms);
}
.pc-card.is-visible,
.mm-value-card.is-visible,
.mm-feature.is-visible,
.mm-cta.is-visible,
.pd-card.is-visible,
.val-card.is-visible,
.val-step.is-visible,
.mm-about-text.is-visible,
.mm-about-media.is-visible,
.mm-section-top.is-visible,
.mm-section-head.is-visible,
.pd-fact.is-visible,
.pd-agent-card.is-visible{
    opacity: 1;
    transform: none;
}
/* No animamos el hover del card (se supera con la opacidad ya en 1) */
.pc-card:hover{ opacity: 1; }
@media (prefers-reduced-motion: reduce){
    .pc-card, .mm-value-card, .mm-feature, .mm-cta, .pd-card, .val-card,
    .val-step, .mm-about-text, .mm-about-media, .mm-section-top,
    .mm-section-head, .pd-fact, .pd-agent-card{
        opacity: 1 !important; transform: none !important; transition: none !important;
    }
}

/* -----------------------------------------------------------
   Utilities
----------------------------------------------------------- */
.mm-eyebrow{
    font-family: 'Caveat', cursive;
    font-size: 26px;
    color: var(--brand);
    display: inline-block;
    line-height: 1;
}
.mm-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--brand);
    color: #fff;
    border: none;
    padding: 13px 24px;
    border-radius: var(--radius-btn);
    font-weight: 700;
    font-size: 13.5px;
    line-height: 1.3;
    letter-spacing: .2px;
    text-transform: none;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
    box-shadow: var(--shadow-sm);
}
.mm-btn:hover, .mm-btn:focus{
    background: var(--brand-dark);
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.mm-btn--outline{
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--line);
    box-shadow: none;
}
.mm-btn--outline:hover{
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}
.mm-btn--white{
    background: #fff;
    color: var(--brand);
}
.mm-btn--white:hover{
    background: var(--brand);
    color: #fff;
}
.mm-btn--wa{
    background: var(--brand);
    color: #fff;
}
.mm-btn--wa:hover{ background: var(--brand-dark); color: #fff; }

/* -----------------------------------------------------------
   Section headings (reused across the site)
----------------------------------------------------------- */
.mm-section-head{
    text-align: center;
    max-width: 640px;
    margin: 0 auto 45px;
}
.mm-section-head .mm-eyebrow{ margin-bottom: 6px; }
.mm-section-head h2{
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 10px;
    color: var(--ink);
}
.mm-section-head p{
    color: var(--muted);
    margin: 0;
}
.mm-section-head .mm-bar{
    width: 54px;
    height: 3px;
    background: var(--brand);
    margin: 14px auto 0;
    border-radius: 3px;
}
.mm-section-top{
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 35px;
}
.mm-section-top h2{ font-size: 28px; font-weight: 800; margin: 0 0 6px; }
.mm-section-top p{ color: var(--muted); margin: 0; }
.mm-section-top .mm-eyebrow{ margin-bottom: 4px; }
.mm-link-arrow{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--ink);
    border: 1px solid var(--line);
    padding: 10px 20px;
    border-radius: var(--radius-btn);
    white-space: nowrap;
    transition: all .25s var(--ease);
}
.mm-link-arrow:hover{
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
    text-decoration: none;
}

/* =================================================================
   HERO
================================================================= */
.mm-hero{
    position: relative;
    overflow: hidden;
    background: #111;
}
.mm-hero-slides{ position: relative; height: 88vh; min-height: 560px; }
.mm-hero-slide{
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.1s var(--ease);
}
.mm-hero-slide.is-active{ opacity: 1; visibility: visible; z-index: 1; }
.mm-hero-slide img{
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover;
    transform: scale(1.04);
    transition: transform 8s linear;
}
.mm-hero-slide.is-active img{ transform: scale(1); }
.mm-hero-overlay{
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(10,10,10,.72) 0%, rgba(10,10,10,.45) 45%, rgba(10,10,10,.15) 100%),
                linear-gradient(0deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 35%);
}
.mm-hero-content{
    position: relative; z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    padding: 0 8%;
    max-width: 760px;
}
.mm-hero-eyebrow{
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 13px;
    font-weight: 700;
    color: #f1c9c9;
    margin-bottom: 18px;
    display: inline-block;
}
.mm-hero-title{
    font-size: 54px;
    line-height: 1.12;
    font-weight: 800;
    margin: 0 0 18px;
    color: #fff;
    text-shadow: 0 4px 24px rgba(0,0,0,.35);
}
.mm-hero-desc{
    font-size: 17px;
    line-height: 1.6;
    color: #f1ede9;
    max-width: 520px;
    margin: 0 0 34px;
}
.mm-hero-actions{ display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
@keyframes mmFadeUp{
    from{ opacity: 0; transform: translateY(24px); }
    to{ opacity: 1; transform: none; }
}
.mm-hero-slide.is-active .mm-hero-eyebrow{ animation: mmFadeUp .8s var(--ease) .15s both; }
.mm-hero-slide.is-active .mm-hero-title{ animation: mmFadeUp .8s var(--ease) .28s both; }
.mm-hero-slide.is-active .mm-hero-desc{ animation: mmFadeUp .8s var(--ease) .42s both; }
.mm-hero-slide.is-active .mm-hero-actions{ animation: mmFadeUp .8s var(--ease) .56s both; }
.mm-hero-slide.is-active .mm-hero-tag{ animation: mmFadeUp .8s var(--ease) .5s both; }
@media (prefers-reduced-motion: reduce){
    .mm-hero-slide.is-active .mm-hero-eyebrow,
    .mm-hero-slide.is-active .mm-hero-title,
    .mm-hero-slide.is-active .mm-hero-desc,
    .mm-hero-slide.is-active .mm-hero-actions,
    .mm-hero-slide.is-active .mm-hero-tag{ animation: none; }
}
.mm-hero-play{
    width: 62px; height: 62px;
    border-radius: 50%;
    background: rgba(255,255,255,.16);
    border: 1.5px solid rgba(255,255,255,.7);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex: none;
    cursor: pointer;
    transition: all .3s var(--ease);
}
.mm-hero-play:hover{ background: var(--brand); border-color: var(--brand); transform: scale(1.07); }
.mm-hero-play-group{ display: flex; align-items: center; gap: 16px; cursor: pointer; }
.mm-hero-play-text b{ display: block; font-size: 14px; }
.mm-hero-play-text span{ font-size: 13px; color: #e6dedb; }

.mm-hero-tag{
    position: absolute;
    bottom: 120px; right: 6%;
    z-index: 2;
    text-align: right;
    color: #fff;
    font-family: 'Caveat', cursive;
    font-size: 30px;
    line-height: 1.1;
}
.mm-hero-tag .mm-tag-line{
    display: block;
    width: 70px;
    height: 2px;
    background: #fff;
    margin: 6px 0 0 auto;
    opacity: .8;
}

.mm-hero-dots{
    position: absolute;
    z-index: 3;
    bottom: 30px;
    left: 8%;
    display: flex;
    gap: 8px;
}
.mm-hero-dots button{
    width: 26px; height: 4px; border-radius: 4px;
    background: rgba(255,255,255,.4);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background .3s;
}
.mm-hero-dots button.is-active{ background: #fff; }

/* Video modal */
.mm-video-modal{
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(10,10,10,.9);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.mm-video-modal.is-open{ display: flex; }
.mm-video-modal .mm-video-inner{
    position: relative;
    width: 100%; max-width: 960px;
    aspect-ratio: 16/9;
    background: #000;
}
.mm-video-modal .mm-video-inner.is-vertical{ max-width: 420px; aspect-ratio: 9/16; }
.mm-video-modal iframe, .mm-video-modal video{
    width: 100%; height: 100%; border: 0; display:block;
}
.mm-video-close{
    position: absolute; top: -46px; right: 0;
    background: transparent; border: none;
    color: #fff; font-size: 30px; cursor: pointer; line-height: 1;
}

/* =================================================================
   BUSCADOR (search card superpuesto al hero)
================================================================= */
.mm-search-wrap{
    position: relative;
    z-index: 5;
    margin-top: -78px;
    padding: 0 15px;
}
.mm-search-card{
    max-width: 1160px;
    margin: 0 auto;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.mm-tabs{
    display: flex;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--line);
}
.mm-tab{
    flex: 1;
    text-align: center;
    padding: 18px 10px;
    font-weight: 700;
    font-size: 14px;
    color: var(--muted);
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-bottom: 3px solid transparent;
    transition: all .25s var(--ease);
}
.mm-tab i{ font-size: 15px; }
.mm-tab.is-active{
    background: #fff;
    color: var(--brand);
    border-bottom-color: var(--brand);
}
.mm-tab-panels{ padding: 26px 26px 28px; }
.mm-tab-panel{ display: none; }
.mm-tab-panel.is-active{ display: block; }

/* Botón "Buscar propiedad" que colapsa el buscador en mobile (ver
   media query más abajo) — en desktop no se muestra. */
.mm-search-toggle{ display: none; }

.mm-search-grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr) auto;
    gap: 14px;
    align-items: end;
}
.mm-field label{
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--muted);
    font-weight: 700;
    margin-bottom: 6px;
}
.mm-field select,
.mm-field input[type="text"]{
    width: 100%;
    height: 48px;
    margin: 0;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: var(--bg-soft) url("../images/icons/down-arrow.png") no-repeat right 14px center;
    background-size: 11px;
    padding: 0 34px 0 14px;
    font-size: 14px;
    color: var(--ink);
    appearance: none;
    -webkit-appearance: none;
    transition: border-color .2s;
}
.mm-field input[type="text"]{ background-image: none; padding-right: 14px; }
.mm-field select:focus,
.mm-field input[type="text"]:focus{
    outline: none;
    border-color: var(--brand);
    background-color: #fff;
}
.mm-price-group{ display: flex; gap: 8px; }
.mm-search-submit{
    height: 48px;
    padding: 0 26px;
    border-radius: var(--radius-sm);
    background: var(--brand);
    color: #fff;
    border: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: .4px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    cursor: pointer;
    transition: all .25s var(--ease);
}
.mm-search-submit:hover{ background: var(--brand-dark); transform: translateY(-1px); }

.mm-panel-cta{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
}
.mm-panel-cta p{ margin: 0; color: var(--ink-soft); max-width: 520px; }
.mm-panel-cta h4{ margin: 0 0 6px; font-size: 18px; font-weight: 800; }

/* =================================================================
   FEATURE STRIP
================================================================= */
.mm-features{
    max-width: 1160px;
    margin: 46px auto 0;
    padding: 0 15px 10px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.mm-feature{
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 8px 6px;
}
.mm-feature-icon{
    width: 48px; height: 48px;
    border-radius: 50%;
    background: rgba(128,0,0,.08);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    flex: none;
}
.mm-feature h6{ margin: 0 0 2px; font-size: 14px; font-weight: 700; }
.mm-feature p{ margin: 0; font-size: 12.5px; color: var(--muted); line-height: 1rem; }

/* =================================================================
   PROPERTY CARDS
================================================================= */
/* .pc-grid: fila de tarjetas con igual altura siempre (bootstrap .row
   no es flex por defecto, así que sin esto las columnas quedan cada
   una con su propia altura de contenido y las filas se ven escalonadas). */
.pc-grid{ display: flex; flex-wrap: wrap; }
.pc-grid > [class*="col-"]{ display: flex; }
.pc-card{
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
    width: 100%;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}
.pc-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-md); }
.pc-media{ position: relative; overflow: hidden; aspect-ratio: 4/3; background: #eee; }
.pc-media img{ width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pc-card:hover .pc-media img{ transform: scale(1.08); }
.pc-media-link{ display: block; height: 100%; }
.pc-badge{
    position: absolute; top: 14px; left: 14px; z-index: 2;
    background: var(--brand);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
    padding: 6px 14px;
    border-radius: var(--radius-btn);
}
.pc-badge--alquiler{ background: #1c1c1c; }
.pc-badge--retasado{ left: auto; right: 60px; top: 14px; background: #d99a00; }
.pc-fav{
    position: absolute; top: 12px; right: 12px; z-index: 3;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,.9);
    border: none;
    color: var(--brand);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: transform .2s;
}
.pc-fav:hover{ transform: scale(1.1); }
.pc-view{
    position: absolute; left: 0; right: 0; bottom: 0;
    z-index: 2;
    text-align: center;
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    padding: 12px;
    background: linear-gradient(0deg, rgba(15,15,15,.94), rgba(15,15,15,0));
    transform: translateY(100%);
    transition: transform .3s var(--ease);
}
.pc-card:hover .pc-view{ transform: translateY(0); }
.pc-view:hover{ color: #fff; text-decoration: none; }
.pc-body{ padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.pc-title{ font-size: 16px; font-weight: 700; margin: 0 0 8px; line-height: 1.35; }
.pc-title a{ color: var(--ink); }
.pc-title a:hover{ color: var(--brand); text-decoration: none; }
.pc-location{
    font-size: 12.5px; color: var(--muted); margin: 0 0 12px;
    display: flex; align-items: flex-start; gap: 6px;
    line-height: 1.32;
}
.pc-location i{ color: var(--brand); font-size: 14px; margin-top: 1px; flex: none; }
.pc-meta{
    list-style: none; margin: 0 0 16px; padding: 12px 0;
    display: flex; gap: 16px;
    border-top: 1px dashed var(--line);
    border-bottom: 1px dashed var(--line);
}
.pc-meta li{ font-size: 12.5px; color: var(--ink-soft); display: flex; align-items: center; gap: 6px; }
.pc-meta i{ color: var(--brand); }
.pc-footer{ margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pc-price{ font-size: 17px; font-weight: 800; color: var(--brand); }
.pc-actions{ display: flex; align-items: center; gap: 8px; flex: none; }
.pc-arrow{
    width: 34px; height: 34px; border-radius: 50%;
    background: var(--bg-soft);
    color: var(--ink);
    display: flex; align-items: center; justify-content: center;
    transition: all .25s var(--ease);
}
.pc-arrow:hover{ background: var(--brand); color: #fff; }
.pc-arrow--wa{ color: var(--brand); }
.pc-arrow--wa:hover{ background: var(--brand); color: #fff; }

/* =================================================================
   CTA BANNERS
================================================================= */
.mm-cta{
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    margin: 10px auto;
    max-width: 1160px;
    padding: 55px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    color: #fff;
    background: linear-gradient(120deg, var(--brand-dark), var(--brand));
}
.mm-cta.mm-cta--dark{ background: linear-gradient(120deg, #1c1c1c, #3a3a3a); }
.mm-cta-text{ max-width: 620px; }
.mm-cta-text .mm-eyebrow{ color: #f3d6d6; margin-bottom: 6px; }
.mm-cta-text h3{ font-size: 26px; font-weight: 800; margin: 0 0 8px; color: #fff; }
.mm-cta-text p{ margin: 0; color: rgba(255,255,255,.85); }

/* =================================================================
   HEADER (desktop)
================================================================= */
/* El position:sticky va en .header-wrapper (el <header>), no en #mm-header:
   #mm-header es el único hijo visible en desktop y su padre directo
   colapsa a su misma altura, así que un sticky ahí no tiene recorrido
   para quedar fijo. En .header-wrapper el "containing block" es todo
   el alto de la página. Se limita a desktop/tablet (donde #mm-header
   es el header visible) para no tocar el comportamiento mobile. */
@media (min-width: 768px){
    .header-wrapper{ position: sticky; top: 0; z-index: 1000; }
}
.mm-header{
    background: #fff;
    border-bottom: 1px solid var(--line);
    transition: box-shadow .3s ease;
}
.mm-header.is-scrolled{ box-shadow: var(--shadow-md); }
.mm-header-inner{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 15px 0;
}
.mm-logo{ display: block; flex: none; }
.mm-logo img{ height: 60px; width: auto; display: block; }
.mm-nav{ flex: 1; }
.mm-nav > ul{ display: flex; align-items: center; justify-content: center; gap: 32px; list-style: none; margin: 0; padding: 0; }
.mm-nav li{ position: relative; }
.mm-nav li > a{
    display: inline-block;
    padding: 10px 2px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .3px;
    color: var(--ink);
    position: relative;
}
.mm-nav li > a:hover{ color: var(--brand); text-decoration: none; }
.mm-nav li > a:after{
    content: "";
    position: absolute; left: 0; right: 0; bottom: 2px;
    height: 2px; background: var(--brand);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s var(--ease);
}
.mm-nav li.is-active > a:after, .mm-nav li:hover > a:after{ transform: scaleX(1); }
.mm-nav li.mm-has-drop > a:after{ bottom: -2px; }
.mm-drop{
    position: absolute; top: 100%; left: 50%; transform: translate(-50%,8px);
    min-width: 220px;
    background: #fff;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    padding: 8px;
    list-style: none;
    margin: 0;
    opacity: 0; visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
    z-index: 30;
}
.mm-has-drop:hover .mm-drop{ opacity: 1; visibility: visible; transform: translate(-50%,0); }
.mm-drop li a{ display: block; padding: 10px 14px; border-radius: 6px; font-size: 13px; font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--ink); }
.mm-drop li a:hover{ background: var(--bg-soft); color: var(--brand); text-decoration: none; }
.mm-header-actions{ display: flex; align-items: center; gap: 18px; flex: none; }
.mm-header-search{
    display: flex; align-items: center;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius-btn);
    padding: 4px 4px 4px 14px;
    height: 42px;
}
.mm-header-search input{
    border: none; background: transparent; outline: none; box-shadow: none;
    appearance: none; -webkit-appearance: none;
    width: 168px; height: 34px; line-height: 34px; padding: 0; margin: 0;
    font-size: 13px; color: var(--ink);
}
.mm-header-search input:focus,
.mm-header-search input:active{
    border: none; outline: none; box-shadow: none;
}
.mm-header-search:focus-within{
    border-color: var(--brand);
}
.mm-header-search button{
    width: 32px; height: 32px; border-radius: calc(var(--radius-btn) - 2px);
    border: none; background: var(--brand); color: #fff;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; flex: none;
    transition: background .2s;
}
.mm-header-search button:hover{ background: var(--brand-dark); }
.mm-header-phone{ display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--ink); white-space: nowrap; }
.mm-header-phone i{ color: var(--brand); }
.mm-header-phone:hover{ color: var(--brand); text-decoration: none; }
.mm-btn-sm{ padding: 12px 22px; font-size: 12.5px; }
@media (max-width: 1199px){
    .mm-nav ul{ gap: 18px; }
    .mm-header-phone span{ display: none; }
    .mm-header-search input{ width: 120px; }
}
@media (max-width: 991px){
    .mm-nav ul{ gap: 10px; }
    .mm-nav li > a{ font-size: 12px; }
    .mm-header-actions{ gap: 10px; }
    .mm-header-search input{ width: 90px; }
}

/* -----------------------------------------------------------
   Slick carousel arrows (el tema no trae estilos propios)
----------------------------------------------------------- */
.slick-slider{ position: relative; }
.slick-prev, .slick-next{
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 42px; height: 42px;
    margin-top: -21px;
    background: rgba(0,0,0,.45);
    border: none;
    border-radius: 50%;
    color: transparent;
    font-size: 0;
    line-height: 0;
    cursor: pointer;
    padding: 0;
    transition: background .25s;
}
.slick-prev:hover, .slick-next:hover{ background: var(--brand); }
.slick-prev{ left: 16px; }
.slick-next{ right: 16px; }
.slick-prev:before, .slick-next:before{
    font-family: "FontAwesome";
    font-size: 16px;
    color: #fff;
    opacity: 1;
    line-height: 42px;
}
.slick-prev:before{ content: "\f104"; }
.slick-next:before{ content: "\f105"; }
.slick-dots{
    position: absolute;
    bottom: 14px; left: 0; right: 0;
    display: flex !important;
    justify-content: center;
    gap: 6px;
    list-style: none;
    padding: 0; margin: 0;
    z-index: 5;
}
.slick-dots li{ list-style: none; }
.slick-dots li button{
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,.6);
    border: none;
    color: transparent;
    font-size: 0;
    padding: 0;
    cursor: pointer;
}
.slick-dots li.slick-active button{ background: var(--brand); }

/* =================================================================
   PROPERTY DETAIL PAGE
================================================================= */
.pd-gallery{
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: #000;
}
.pd-main-slider .slick-slide{ position: relative; }
.pd-main-slider img,
.pd-main-slider video{ width: 100%; height: 520px; object-fit: cover; display: block; }
.pd-main-slider img.pd-zoomable{ cursor: zoom-in; }
.pd-video-slide{ position: relative; }
.pd-video-sound{
    position: absolute; bottom: 18px; right: 18px; z-index: 3;
    width: 42px; height: 42px; border-radius: 50%; border: none;
    background: rgba(0,0,0,.55); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; cursor: pointer;
    transition: background .2s;
}
.pd-video-sound:hover{ background: rgba(0,0,0,.75); }
/* El video (vertical u horizontal) nunca se recorta: se ajusta por
   ancho o por alto según su propia proporción real, que modern.js
   calcula apenas carga el video y aplica como aspect-ratio inline
   (ver mmAdaptVideoAspect). object-fit:contain evita el recorte;
   la franja de fondo se ve sólo si la proporción no calza exacto. */
.pd-video-slide video{ object-fit: contain; background:#111; }
.pd-thumbs{ padding: 14px; background: #fff; }
.pd-thumbs .slick-slide{ padding: 0 5px; cursor: pointer; }
.pd-thumb{
    border-radius: 8px; overflow: hidden; border: 2px solid transparent;
    aspect-ratio: 4/3; position: relative;
}
.pd-thumb img, .pd-thumb video{ width: 100%; height: 100%; object-fit: cover; }
.pd-thumb .fa-play-circle{
    position: absolute; inset: 0; display:flex; align-items:center; justify-content:center;
    color:#fff; font-size: 22px; background: rgba(0,0,0,.25);
}
.slick-current .pd-thumb{ border-color: var(--brand); }

/* -----------------------------------------------------------
   Lightbox de imágenes (zoom con los dedos en mobile, rueda/
   arrastre en desktop). Se abre al tocar cualquier foto de la
   galería principal de la ficha de propiedad.
----------------------------------------------------------- */
body.pd-lb-locked{ overflow: hidden; }
.pd-lightbox{
    position: fixed; inset: 0; z-index: 4000;
    background: rgba(8,8,8,.97);
    opacity: 0;
    visibility: hidden;
    transition: opacity .28s ease;
}
.pd-lightbox.is-open{ opacity: 1; visibility: visible; }
.pd-lb-stage{
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    touch-action: none;
}
.pd-lb-img{
    max-width: 94vw; max-height: 90vh;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
    will-change: transform, opacity;
    border-radius: 4px;
    opacity: 0;
    transform: scale(.94);
    transition: opacity .22s ease, transform .22s ease;
}
.pd-lightbox.is-open .pd-lb-img.is-loaded{ opacity: 1; transform: scale(1); }
.pd-lb-img.pd-lb-no-transition{ transition: none !important; }
.pd-lb-spinner{
    position: absolute; z-index: 1;
    width: 34px; height: 34px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,.2);
    border-top-color: #fff;
    animation: pd-lb-spin .7s linear infinite;
    opacity: 0;
    transition: opacity .15s ease .1s;
}
.pd-lb-spinner.is-visible{ opacity: 1; }
@keyframes pd-lb-spin{ to{ transform: rotate(360deg); } }
.pd-lb-close, .pd-lb-prev, .pd-lb-next{
    position: absolute; z-index: 4001;
    border: none; background: rgba(255,255,255,.1);
    backdrop-filter: blur(6px);
    color: #fff; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s, transform .15s;
}
.pd-lb-close:hover, .pd-lb-prev:hover, .pd-lb-next:hover{ background: rgba(255,255,255,.22); }
.pd-lb-close:active, .pd-lb-prev:active, .pd-lb-next:active{ transform: scale(.92); }
.pd-lb-prev:active{ transform: translateY(-50%) scale(.92); }
.pd-lb-next:active{ transform: translateY(-50%) scale(.92); }
.pd-lb-close{
    top: 18px; right: 18px;
    width: 44px; height: 44px; border-radius: 50%;
    font-size: 24px; line-height: 1;
}
.pd-lb-prev, .pd-lb-next{
    top: 50%; transform: translateY(-50%);
    width: 50px; height: 50px; border-radius: 50%;
    font-size: 18px;
}
.pd-lb-prev{ left: 18px; }
.pd-lb-next{ right: 18px; }
.pd-lb-count{
    position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
    color: #fff; font-size: 13px; font-weight: 700;
    background: rgba(255,255,255,.1); backdrop-filter: blur(6px);
    padding: 5px 14px; border-radius: 50px;
}
@media (max-width: 640px){
    .pd-lb-prev, .pd-lb-next{ width: 40px; height: 40px; font-size: 15px; }
    .pd-lb-prev{ left: 8px; }
    .pd-lb-next{ right: 8px; }
    .pd-lb-close{ top: 10px; right: 10px; }
}

.pd-fact-row{
    display: flex; flex-wrap: wrap; gap: 12px;
    margin: 22px 0 6px;
}
.pd-fact{
    flex: 1 1 130px;
    background: var(--bg-soft);
    border-radius: var(--radius-sm);
    padding: 16px;
    text-align: center;
}
.pd-fact i{ color: var(--brand); font-size: 20px; margin-bottom: 8px; display: block; }
.pd-fact span{ display: block; font-weight: 700; font-size: 14px; }
.pd-fact small{ color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .3px; }

.pd-card{
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px;
    margin-bottom: 28px;
}
.pd-card h5{ font-size: 17px; font-weight: 800; margin: 0 0 16px; }
.pd-desc p{ color: var(--ink-soft); line-height: 1.75; }

.pd-datos-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}
.pd-datos-grid dt{ color: var(--muted); font-size: 12.5px; font-weight: 400; padding: 11px 0; border-bottom: 1px solid var(--line); }
.pd-datos-grid dd{ margin: 0; font-weight: 400; font-size: 13.5px; padding: 11px 0; border-bottom: 1px solid var(--line); text-align: right; }

.pd-map-wrap{ position: relative; width: 100%; padding-top: 46%; border-radius: var(--radius-sm); overflow: hidden; }
.pd-map-wrap iframe{ position: absolute; inset: 0; width: 100% !important; height: 100% !important; border: 0; }
.pd-map-link{ display:inline-flex; align-items:center; gap:8px; margin-bottom:14px; font-weight:700; color: var(--brand); }

/* Sidebar sticky price card */
.pd-sidebar{ position: sticky; top: 20px; }
.pd-price-card{
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    margin-bottom: 24px;
}
.pd-price-top{ padding: 20px 24px 16px; display:flex; align-items:center; justify-content:space-between; }
.pd-op-badge{
    background: var(--brand); color:#fff; font-size: 11px; font-weight:700;
    text-transform: uppercase; padding: 6px 14px; border-radius: var(--radius-btn);
}
.pd-price-actions{ display:flex; gap:10px; }
.pd-icon-btn{
    width:34px; height:34px; border-radius:50%; background: var(--bg-soft);
    display:flex; align-items:center; justify-content:center; color: var(--ink);
    border: none; cursor:pointer;
}
.pd-icon-btn:hover{ background: var(--brand); color:#fff; }
.pd-price-value{ padding: 0 24px 18px; font-size: 26px; font-weight: 800; color: var(--brand); }
.pd-info-list{ list-style:none; margin:0; padding: 6px 24px 20px; }
.pd-info-list li{
    display:flex; align-items:flex-start; gap:12px;
    padding: 12px 0; border-top: 1px solid var(--line);
}
.pd-info-list li:first-child{ border-top: none; }
.pd-info-list i{ color: var(--brand); margin-top: 3px; width: 16px; }
.pd-info-list b{ display:block; font-size: 11.5px; text-transform: uppercase; letter-spacing:.3px; color: var(--muted); font-weight:700; }
.pd-info-list span{ font-size: 13.5px; font-weight: 400; }
.pd-price-cta{ padding: 0 24px 24px; display: flex; flex-direction: column; gap: 10px; }
.pd-price-cta .mm-btn{ width: 100%; justify-content: center; }
.pd-consultar-cta .mm-btn{ width: 100%; justify-content: center; }
.pd-trust-strip{
    display:flex; justify-content: space-between; padding: 18px 24px 22px;
    border-top: 1px solid var(--line);
}
.pd-trust-item{ text-align:center; flex:1; }
.pd-trust-item i{ color: var(--brand); font-size: 17px; display:block; margin-bottom:6px; }
.pd-trust-item span{ font-size: 10.5px; color: var(--muted); line-height:1.3; display:block; }

.pd-agent-card{
    background: #fff; border:1px solid var(--line); border-radius: var(--radius);
    padding: 22px; text-align:center; margin-bottom: 24px;
}
.pd-agent-card img{ width: 74px; height:74px; border-radius:50%; object-fit:cover; margin: 0 auto 12px; display:block; }
.pd-agent-card h6{ margin:0; font-weight:800; }
.pd-agent-card p{ color: var(--muted); font-size:12.5px; margin: 2px 0 0; }


@media (max-width: 991px){
    .pd-sidebar{ position: static; margin-top: 30px; }
}

/* =================================================================
   TASACIONES
================================================================= */
.val-hero{
    position: relative;
    padding: 90px 0 130px;
    background: linear-gradient(120deg, var(--brand-dark), var(--brand));
    color: #fff;
    text-align: center;
    overflow: hidden;
}
.val-hero:after{
    content:"";
    position:absolute; left:0; right:0; bottom:-1px; height: 80px;
    background: #fff;
    border-radius: 100% 100% 0 0 / 60px 60px 0 0;
}
.val-hero .mm-eyebrow{ color:#f3d6d6; }
.val-hero h1{ font-size: 40px; font-weight: 800; margin: 8px 0 14px; color: #fff; }
.val-hero p{ max-width: 600px; margin: 0 auto; color: rgba(255,255,255,.9); }

.val-wrap{ max-width: 1000px; margin: -70px auto 60px; position: relative; z-index: 2; padding: 0 15px; }
.val-card{
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 44px;
}
.val-steps{ display:flex; gap: 18px; margin-bottom: 40px; flex-wrap: wrap; }
.val-step{ flex:1 1 200px; text-align:center; padding: 18px 12px; }
.val-step .val-step-num{
    width: 42px; height:42px; border-radius:50%; background: rgba(128,0,0,.08); color: var(--brand);
    display:flex; align-items:center; justify-content:center; font-weight:800; margin: 0 auto 12px;
}
.val-step h6{ margin:0 0 4px; font-weight:700; font-size:13.5px; }
.val-step p{ margin:0; font-size:12px; color: var(--muted); }

.val-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.val-grid .full{ grid-column: 1 / -1; }
.val-field label{ display:block; font-size:12px; font-weight:700; color: var(--ink-soft); margin-bottom:6px; }
.val-field input,
.val-field select,
.val-field textarea{
    width:100%; margin:0; border:1px solid var(--line); border-radius: var(--radius-sm);
    padding: 13px 14px; font-size: 14px; background: var(--bg-soft);
    transition: border-color .2s, background .2s;
}
.val-field textarea{ min-height: 110px; resize: vertical; }
.val-field input:focus, .val-field select:focus, .val-field textarea:focus{
    outline:none; border-color: var(--brand); background:#fff;
}
.val-submit{ margin-top: 10px; }
.val-note{ font-size: 12px; color: var(--muted); margin-top: 14px; }
.val-card .form-messege{ margin-top: 16px; font-weight: 700; }
.val-card .form-messege.success{ color: #1a7d3a; }
.val-card .form-messege.error{ color: #b00020; }

/* -----------------------------------------------------------
   Header y menú mobile — implementación propia (reemplaza al
   plugin meanmenu, que generaba un bug de texto duplicado en el
   encabezado y anidaba la lista dentro de la barra sin dar control
   fino de layout). Una sola franja de lado a lado: logo a la
   izquierda, hamburguesa a la derecha; el panel se abre flotando
   por ENCIMA del contenido (position:absolute), sin empujarlo.
----------------------------------------------------------- */
.mm-mobile-bar{
    display: none;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 16px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    position: relative;
    z-index: 1001;
    box-sizing: border-box;
}
.mm-mobile-logo img{ max-height: 40px; width: auto; display: block; }
.mm-mobile-toggle{
    width: 42px; height: 42px;
    border: none;
    border-radius: 50%;
    background: var(--brand);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    flex-shrink: 0;
}
.mm-mobile-toggle span{
    display: block;
    width: 18px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.mm-mobile-toggle.is-open span:nth-child(1){ transform: translateY(6px) rotate(45deg); }
.mm-mobile-toggle.is-open span:nth-child(2){ opacity: 0; }
.mm-mobile-toggle.is-open span:nth-child(3){ transform: translateY(-6px) rotate(-45deg); }

.mm-mobile-panel{
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    box-shadow: var(--shadow-md);
    border-radius: 0 0 var(--radius) var(--radius);
    max-height: calc(100vh - 62px);
    overflow-y: auto;
    z-index: 1001;
    padding: 8px;
    box-sizing: border-box;
}
.mm-mobile-panel.is-open{ display: block; }
.mm-mobile-backdrop{
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(20,16,15,.45);
    z-index: 1000;
}
.mm-mobile-backdrop.is-open{ display: block; }

.mm-mobile-list{ list-style: none; margin: 0; padding: 0; }
.mm-mobile-list li{ position: relative; }
.mm-mobile-list > li > a{
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: .2px;
    border-radius: var(--radius-sm);
    padding: 14px 46px 14px 14px;
    margin: 2px 0;
}
.mm-mobile-list > li > a i{ color: var(--brand); font-size: 15px; width: 18px; text-align: center; flex-shrink: 0; }
.mm-mobile-list > li > a:hover,
.mm-mobile-list > li > a:active{ background: var(--bg-soft); color: var(--brand); }
.mm-mobile-expand{
    position: absolute;
    top: 5px; right: 4px;
    width: 40px; height: 40px;
    border: none;
    background: transparent;
    color: var(--brand);
    font-size: 13px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform .2s var(--ease), background .2s var(--ease);
}
.mm-mobile-expand:hover{ background: var(--bg-soft); }
.mm-mobile-haskids.is-open .mm-mobile-expand{ transform: rotate(180deg); }
.mm-mobile-submenu{
    list-style: none;
    margin: 0 0 4px 30px;
    padding: 0;
    display: none;
}
.mm-mobile-haskids.is-open .mm-mobile-submenu{ display: block; }
.mm-mobile-submenu a{
    display: block;
    padding: 12px 14px;
    color: var(--ink-soft);
    font-size: 12.5px;
    font-weight: 600;
    border-radius: var(--radius-sm);
}
.mm-mobile-submenu a:hover{ background: var(--bg-soft); color: var(--brand); }

/* Buscador por ID, al final del menú: sutil, como el del header de
   escritorio, no el input plano y grande que había antes siempre
   visible arriba de la página. */
.mm-mobile-search-item{ padding: 10px 4px 4px; }
.mm-mobile-search-item form{
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 50px;
    padding: 0 14px;
    height: 42px;
}
.mm-mobile-search-item i{ color: var(--muted); font-size: 13px; }
.mm-mobile-search-item input{
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 13px;
    color: var(--ink);
    height: 100%;
    margin: 0;
    padding: 0;
}
.mm-mobile-search-item input::placeholder{ color: var(--muted); }

@media (max-width: 767px){
    .mm-mobile-bar{ display: flex; }
}
@media (min-width: 768px){
    .mm-mobile-panel, .mm-mobile-backdrop{ display: none !important; }
}

/* =================================================================
   NOSOTROS
================================================================= */
.mm-about-grid{
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 70px;
}
.mm-about-text h2{ font-size: 30px; font-weight: 800; margin: 8px 0 20px; line-height: 1.3; }
.mm-about-text p{ color: var(--ink-soft); line-height: 1.8; margin-bottom: 18px; }
.mm-about-media{ position: relative; }
.mm-about-media img{
    width: 100%; height: 460px; object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}
.mm-about-media-badge{
    position: absolute; left: -20px; bottom: -20px;
    background: var(--brand);
    color: #fff;
    border-radius: var(--radius);
    padding: 18px 22px;
    box-shadow: var(--shadow-md);
    text-align: center;
    line-height: 1.2;
}
.mm-about-media-badge span{ display: block; font-size: 30px; font-weight: 800; }
.mm-about-media-badge small{ font-size: 11px; opacity: .9; }

.mm-values-area{ background: var(--bg-soft); padding: 70px 0; }
.mm-values-grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.mm-value-card{
    background: #fff;
    border-radius: var(--radius);
    padding: 30px 24px;
    box-shadow: var(--shadow-sm);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.mm-value-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-md); }
.mm-value-card .mm-feature-icon{ width: 52px; height: 52px; font-size: 21px; margin-bottom: 16px; }
.mm-value-card h6{ font-size: 15px; font-weight: 800; margin: 0 0 10px; }
.mm-value-card p{ font-size: 13px; color: var(--muted); line-height: 1.7; margin: 0; }

@media (max-width: 991px){
    .mm-about-grid{ grid-template-columns: 1fr; gap: 40px; }
    .mm-about-media{ order: -1; }
    .mm-values-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px){
    .mm-about-media img{ height: 300px; }
    .mm-about-media-badge{ left: 12px; bottom: -16px; padding: 12px 16px; }
    .mm-about-media-badge span{ font-size: 22px; }
    .mm-values-grid{ grid-template-columns: 1fr; }
    .mm-about-text h2{ font-size: 24px; }
}

/* =================================================================
   FOOTER
================================================================= */
.mm-footer{ background: #181818; color: #cfcaca; }
.mm-footer-top{ padding: 60px 0 40px; }
.mm-footer-logo{ display: inline-block; margin-bottom: 18px; }
.mm-footer-logo img{ height: 46px; width: auto; }
.mm-footer-tagline{ color: #a9a3a3; font-size: 13.5px; line-height: 1.7; max-width: 260px; margin: 0 0 20px; }
.mm-footer-social{ display: flex; gap: 10px; }
.mm-footer-social a{
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,.08);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px;
    transition: background .2s, color .2s;
}
.mm-footer-social a:hover{ background: var(--brand); color: #fff; }
.mm-footer-title{ color: #fff; font-size: 15px; font-weight: 800; margin: 0 0 20px; }
.mm-footer-links{ list-style: none; margin: 0; padding: 0; }
.mm-footer-links li{ margin-bottom: 12px; }
.mm-footer-links a{ color: #b7b2b2; font-size: 13.5px; transition: color .2s, padding-left .2s; }
.mm-footer-links a:hover{ color: #fff; text-decoration: none; padding-left: 4px; }
.mm-footer-contact{ list-style: none; margin: 0; padding: 0; }
.mm-footer-contact li{ display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; font-size: 13.5px; color: #b7b2b2; min-width: 0; }
.mm-footer-contact li > span{ min-width: 0; overflow-wrap: break-word; word-break: break-word; }
.mm-footer-contact li > a{ min-width: 0; overflow-wrap: break-word; word-break: break-word; }
.mm-footer-contact i{ color: var(--brand-light); margin-top: 3px; width: 14px; flex: none; }
.mm-footer-contact a{ color: #b7b2b2; }
.mm-footer-contact a:hover{ color: #fff; text-decoration: none; }
.mm-footer-quote{
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    text-align: right;
}
.mm-footer-quote span{
    font-family: 'Caveat', cursive;
    font-size: 30px;
    line-height: 1.25;
    color: #fff;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}
.mm-footer-quote span:after{
    content: "";
    position: absolute; right: 0; bottom: 0;
    width: 70px; height: 2px;
    background: var(--brand-light);
}
.mm-footer-bottom{ border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; }
.mm-footer-bottom-inner{
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 10px;
}
.mm-footer-bottom-inner p{ margin: 0; font-size: 12px; color: #8a8585; }
@media (max-width: 767px){
    .mm-footer-quote{ justify-content: flex-start; text-align: left; margin-top: 20px; }
    .mm-footer-quote span:after{ left: 0; right: auto; }
    .mm-footer-bottom-inner{ flex-direction: column; text-align: center; }
    .mm-footer-top{ padding: 46px 0 26px; }
}

.pc-loading{
    text-align: center;
    padding: 24px 0 6px;
    color: var(--muted);
    font-size: 13.5px;
}
.pc-loading i{ color: var(--brand); margin-right: 8px; }
#pc-sentinel{ height: 1px; }

/* -----------------------------------------------------------
   Botón "volver arriba": el tema lo hace un rombo (rotate 45deg),
   lo pasamos a circular con un hover más prolijo.
----------------------------------------------------------- */
#scrollUp{
    background: #fff !important;
    color: var(--brand) !important;
    border: 1px solid var(--line);
    border-radius: 50% !important;
    box-shadow: var(--shadow-md);
    transform: none !important;
    transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease) !important;
}
#scrollUp i{
    transform: none !important;
}
#scrollUp:hover{
    background: var(--brand) !important;
    color: #fff !important;
    transform: translateY(-4px) !important;
    box-shadow: var(--shadow-lg);
}

/* =================================================================
   RESPONSIVE
================================================================= */
@media (max-width: 1199px){
    .mm-hero-title{ font-size: 42px; }
    .mm-search-grid{ grid-template-columns: repeat(2, 1fr); }
    .mm-search-submit{ grid-column: 1 / -1; width: 100%; justify-content: center; }
}
@media (max-width: 991px){
    .mm-hero-slides{ height: 74vh; }
    .mm-features{ grid-template-columns: repeat(2, 1fr); }
    .mm-hero-tag{ display: none; }
    .val-grid{ grid-template-columns: 1fr; }
}
@media (max-width: 767px){
    .mm-hero-slides{ height: 64vh; min-height: 480px; }
    .mm-hero-content{ padding: 0 24px; max-width: 100%; }
    .mm-hero-title{ font-size: 30px; }
    .mm-hero-desc{ font-size: 15px; }
    .mm-search-wrap{ margin-top: -50px; }
    .mm-tab{ font-size: 12px; padding: 14px 6px; }
    .mm-tab span{ display:none; }
    .mm-tab-panels{ padding: 20px 16px 22px; }
    .mm-search-grid{ grid-template-columns: 1fr; }
    .mm-price-group{ flex-direction: column; }

    /* Buscador de propiedades.php: en mobile no lo mostramos abierto
       de entrada (ocupaba toda la pantalla apenas se entraba) — queda
       colapsado atrás de un botón grande y claro, y sólo la búsqueda
       de propiedades (sin las tabs de Tasaciones/Emprendimientos, que
       en mobile no aportan tanto ahí). Al desplegarse usa exactamente
       los mismos campos .mm-field que en desktop. */
    .mm-search-card--inline{ border-radius: var(--radius); box-shadow: var(--shadow-sm); }
    .mm-search-card--inline .mm-search-toggle{
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
        padding: 16px 18px;
        background: var(--brand);
        color: #fff;
        border: none;
        font-weight: 700;
        font-size: 14.5px;
        cursor: pointer;
    }
    .mm-search-card--inline .mm-search-toggle-caret{ margin-left: auto; transition: transform .25s var(--ease); }
    .mm-search-card--inline.is-open .mm-search-toggle-caret{ transform: rotate(180deg); }
    .mm-search-card--inline .mm-tabs{ display: none; }
    .mm-search-card--inline .mm-tab-panels{ display: none; padding: 18px 16px 20px; }
    .mm-search-card--inline.is-open .mm-tab-panels{ display: block; }
    .mm-cta{ padding: 34px 26px; text-align:center; justify-content:center; }
    /* La galería es lo que más vende una propiedad: en mobile la
       sacamos del gutter general de la página para que ocupe todo el
       ancho de la pantalla (edge-to-edge) y le damos más alto para
       que las fotos tengan protagonismo real, no una tira chica. */
    .pd-gallery{
        width: 100vw;
        margin-left: calc(50% - 50vw);
        border-radius: 0;
        box-shadow: none;
    }
    .pd-main-slider img, .pd-main-slider video{ height: auto; aspect-ratio: 1 / 1; max-height: 70vh; }
    .pd-thumbs{ padding: 10px; }
    .pd-thumb{ aspect-ratio: 1 / 1; }
    .pd-fact-row{ gap: 8px; }
    .pd-fact{ flex: 1 1 45%; padding: 12px; }
    .val-hero{ padding: 60px 0 110px; }
    .val-hero h1{ font-size: 28px; }
    .val-card{ padding: 26px 20px; }
    .mm-features{ grid-template-columns: 1fr; }

    /* El theme original fija .container a un ancho fijo en mobile
       (300px / 450px, ver css/responsive.css) en vez de a 100% — por
       eso quedaba tanto margen sin usar sin importar el ancho real de
       pantalla. Lo volvemos fluido y le damos nuestro propio gutter,
       más chico que el de bootstrap (15px) pero sin pegarse al borde. */
    .container{ width: 100% !important; max-width: 100% !important; padding-left: 10px; padding-right: 10px; }
    .row{ margin-left: -10px; margin-right: -10px; }
    [class*="col-"]{ padding-left: 10px; padding-right: 10px; }
    .mm-search-wrap{ padding: 0 10px; }
    .mm-features{ padding-left: 10px; padding-right: 10px; }
}
