/*
Theme Name:  Belle Maison v4
Theme URI:   https://bellemaison.es
Description: Tema premium WordPress para agencia inmobiliaria de lujo en Alicante. Diseño elegante con paleta blanco, dorado y negro carbón. Sistema completo de gestión de propiedades, filtros avanzados y plantillas personalizadas.
Version:     4.0.0
Author:      Belle Maison Inmobiliaria
Author URI:  https://bellemaison.es
License:     GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: belle-maison
Tags:        real-estate, luxury, responsive, white, gold, minimal, premium
Requires at least: 5.8
Tested up to: 6.6
Requires PHP: 7.4
*/

/* ============================================================
   DESIGN TOKENS — BELLE MAISON v4
   ============================================================ */
:root {
    /* Brand Colors */
    --bm-white:         #FFFFFF;
    --bm-gold:          #C9A96E;
    --bm-gold-light:    #D4B87A;
    --bm-gold-dark:     #B8915A;
    --bm-gold-subtle:   rgba(201,169,110,0.12);
    --bm-black:         #000000;
    --bm-charcoal:      #0D0D0D;
    --bm-gray-dark:     #1a1a1a;
    --bm-gray:          #666666;
    --bm-gray-light:    #999999;
    --bm-gray-lighter:  #F2F2F2;
    --bm-cream:         #FAF8F5;
    --bm-cream-dark:    #F0EDE7;

    /* Shadows */
    --bm-shadow-xs:   0 2px 8px rgba(0,0,0,0.06);
    --bm-shadow-sm:   0 4px 16px rgba(0,0,0,0.10);
    --bm-shadow-md:   0 8px 32px rgba(0,0,0,0.14);
    --bm-shadow-lg:   0 16px 48px rgba(0,0,0,0.18);
    --bm-shadow-gold: 0 4px 24px rgba(201,169,110,0.28);

    /* Typography */
    --bm-font-body:   'Josefin Sans', sans-serif; /* UI Pro Max: Real Estate Luxury */
    --bm-font-titles: 'Cinzel', serif; /* UI Pro Max: Real Estate Luxury */

    /* Spacing scale */
    --bm-space-xs:  8px;
    --bm-space-sm:  16px;
    --bm-space-md:  32px;
    --bm-space-lg:  64px;
    --bm-space-xl:  96px;
    --bm-space-xxl: 128px;

    /* Legacy aliases (keep plugin compatibility) */
    --bm-spacing-xs: var(--bm-space-xs);
    --bm-spacing-sm: var(--bm-space-sm);
    --bm-spacing-md: var(--bm-space-md);
    --bm-spacing-lg: var(--bm-space-lg);

    /* Layout */
    --bm-container:  1280px;
    --bm-radius-sm:  4px;
    --bm-radius-md:  8px;
    --bm-radius-lg:  16px;
    --bm-transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --bm-transition-fast: all 0.18s ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--bm-font-body);
    color: var(--bm-gray-dark);
    background: var(--bm-white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--bm-transition-fast); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--bm-font-titles);
    font-weight: 600; /* Cinzel looks better at 600 */
    line-height: 1.25;
    color: var(--bm-charcoal);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.2rem; }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

.bm-text-gold  { color: var(--bm-gold); }
.bm-text-white { color: var(--bm-white); }
.bm-text-center { text-align: center; }
.bm-text-sm { font-size: 0.875rem; }

/* ============================================================
   HERO VIDEO
   ============================================================ */
.bm-hero-video-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}
.bm-hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}
@media (prefers-reduced-motion: reduce) {
    .bm-hero-video { display: none; }
    .bm-hero-video-wrap {
        background: url('assets/images/alicante-view.jpg') center/cover no-repeat;
    }
}

/* ============================================================
   LOADER
   ============================================================ */
.bm-loader {
    position: fixed; inset: 0;
    background: var(--bm-charcoal);
    z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.bm-loader.hidden { opacity: 0; visibility: hidden; }
.bm-loader-logo {
    font-family: var(--bm-font-titles);
    color: var(--bm-white);
    font-size: 2rem;
    letter-spacing: 0.1em;
    animation: loaderPulse 1.2s ease-in-out infinite;
}
.bm-loader-logo span { color: var(--bm-gold); }
@keyframes loaderPulse { 0%,100%{opacity:1} 50%{opacity:0.4} }

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.bm-container {
    max-width: var(--bm-container);
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}
.bm-container-sm { max-width: 860px; margin: 0 auto; padding: 0 24px; }

.bm-section {
    padding: var(--bm-space-xl) 0;
}
.bm-section-sm { padding: var(--bm-space-lg) 0; }

.bm-bg-cream  { background-color: var(--bm-cream); }
.bm-bg-dark   { background-color: var(--bm-charcoal); }
.bm-bg-gold   { background-color: var(--bm-gold); }

/* Section header */
.bm-section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto var(--bm-space-lg);
}
.bm-section-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--bm-gold);
    margin-bottom: var(--bm-space-sm);
}
.bm-section-title {
    margin-bottom: var(--bm-space-sm);
    font-family: var(--bm-font-titles);
}
.bm-section-description {
    color: var(--bm-gray);
    font-size: 1.05rem;
}

/* Gold divider */
.bm-divider {
    width: 56px; height: 2px;
    background: linear-gradient(90deg, var(--bm-gold), var(--bm-gold-light));
    margin: var(--bm-space-sm) auto;
}
.bm-divider-left { margin-left: 0; }

/* ============================================================
   BUTTONS
   ============================================================ */
.bm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 36px;
    font-family: var(--bm-font-body);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: var(--bm-radius-sm);
    transition: var(--bm-transition);
    cursor: pointer;
    white-space: nowrap;
}
.bm-btn-lg { padding: 18px 44px; font-size: 0.85rem; }
.bm-btn-sm { padding: 10px 24px; font-size: 0.78rem; }

.bm-btn-primary {
    background: linear-gradient(135deg, var(--bm-gold), var(--bm-gold-dark));
    color: var(--bm-white);
    border: 2px solid transparent;
    box-shadow: var(--bm-shadow-gold);
}
.bm-btn-primary:hover {
    background: linear-gradient(135deg, var(--bm-gold-dark), #A07840);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(201,169,110,0.45);
    color: var(--bm-white);
}

.bm-btn-white {
    background: transparent;
    color: var(--bm-white);
    border: 2px solid rgba(255,255,255,0.7);
}
.bm-btn-white:hover {
    background: var(--bm-white);
    color: var(--bm-charcoal);
    border-color: var(--bm-white);
    transform: translateY(-2px);
}

.bm-btn-outline {
    background: transparent;
    color: var(--bm-gold);
    border: 2px solid var(--bm-gold);
}
.bm-btn-outline:hover {
    background: var(--bm-gold);
    color: var(--bm-white);
    transform: translateY(-2px);
}

.bm-btn-dark {
    background: var(--bm-charcoal);
    color: var(--bm-white);
    border: 2px solid var(--bm-charcoal);
}
.bm-btn-dark:hover {
    background: transparent;
    color: var(--bm-charcoal);
    transform: translateY(-2px);
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.bm-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 0;
    transition: var(--bm-transition);
}
.bm-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    padding: 0 32px;
    max-width: var(--bm-container);
    margin: 0 auto;
}

/* Transparent on top */
.bm-header--transparent .bm-header-inner {
    background: transparent;
}
/* Scrolled state */
.bm-header--scrolled .bm-header-inner {
    background: rgba(13,13,13,0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 32px rgba(0,0,0,0.3);
}
.bm-header--scrolled {
    /* no separate bg on header itself, handled by inner */
}

/* Logo */
.bm-logo { flex-shrink: 0; }
.bm-logo-text {
    font-family: var(--bm-font-titles);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--bm-white);
    letter-spacing: 0.04em;
    line-height: 1;
}
.bm-logo-text span { color: var(--bm-gold); }

/* Nav */
.bm-nav { display: flex; align-items: center; gap: 32px; }
.bm-nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}
.bm-nav-menu li a {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    padding: 8px 14px;
    border-radius: var(--bm-radius-sm);
    transition: var(--bm-transition-fast);
}
.bm-nav-menu li a:hover,
.bm-nav-menu li.current-menu-item > a {
    color: var(--bm-gold);
}

/* Dropdown */
.bm-nav-menu li { position: relative; }
.bm-nav-menu li ul {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    min-width: 220px;
    background: var(--bm-charcoal);
    border-top: 2px solid var(--bm-gold);
    border-radius: 0 0 var(--bm-radius-md) var(--bm-radius-md);
    box-shadow: var(--bm-shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: var(--bm-transition);
    z-index: 100;
}
.bm-nav-menu li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.bm-nav-menu li ul li a {
    display: block;
    padding: 12px 20px;
    border-radius: 0;
    color: rgba(255,255,255,0.75);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 0.8rem;
}
.bm-nav-menu li ul li:last-child a { border-bottom: none; }
.bm-nav-menu li ul li a:hover { color: var(--bm-gold); background: rgba(201,169,110,0.1); }

/* Language switcher */
.bm-lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}
.bm-lang-switcher a {
    color: rgba(255,255,255,0.6);
    padding: 4px 6px;
    border-radius: 3px;
}
.bm-lang-switcher a.active,
.bm-lang-switcher a:hover { color: var(--bm-gold); }
.bm-lang-sep { color: rgba(255,255,255,0.25); }

/* CTA button in nav */
.bm-nav-cta {
    background: linear-gradient(135deg, var(--bm-gold), var(--bm-gold-dark));
    color: var(--bm-white) !important;
    padding: 10px 22px !important;
    border-radius: var(--bm-radius-sm) !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em !important;
}
.bm-nav-cta:hover {
    background: var(--bm-gold-dark) !important;
    color: var(--bm-white) !important;
    transform: none !important;
}

/* Mobile hamburger */
.bm-mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    cursor: pointer;
}
.bm-mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--bm-white);
    transition: var(--bm-transition-fast);
}
.bm-mobile-menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.bm-mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.bm-mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO — FULL SCREEN
   ============================================================ */
.bm-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

/* Inner wrapper that flex-centers all content above the video */
.bm-hero-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 24px 140px;
    box-sizing: border-box;
}
.bm-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.05);
    transition: transform 8s ease-out;
}
.bm-hero-bg.loaded { transform: scale(1); }

.bm-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        180deg,
        rgba(0,0,0,0.35) 0%,
        rgba(0,0,0,0.55) 50%,
        rgba(0,0,0,0.80) 100%
    );
    backdrop-filter: blur(2px); /* UI Pro Max: Liquid Glass micro-effect */
}
.bm-hero-content {
    text-align: center;
    max-width: 900px;
    width: 100%;
    margin-bottom: 40px;
}
.bm-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--bm-gold);
    margin-bottom: 20px;
}
.bm-hero-eyebrow::before,
.bm-hero-eyebrow::after {
    content: '';
    display: block;
    width: 32px;
    height: 1px;
    background: var(--bm-gold);
}
.bm-hero-title { /* Cinzel — increased tracking for luxury feel */
    font-family: var(--bm-font-titles);
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 700;
    color: var(--bm-white);
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 2px 24px rgba(0,0,0,0.4);
}
.bm-hero-title em {
    font-style: italic;
    color: var(--bm-gold);
}
.bm-hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    max-width: 560px;
    margin: 0 auto 40px;
    font-weight: 400;
}

/* Hero Search Box */
.bm-hero-search {
    width: 100%;
    max-width: 820px;
    padding: 0;
}
.bm-hero-search-box {
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(20px);
    border-radius: var(--bm-radius-lg);
    padding: 28px 32px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 16px;
    align-items: end;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.bm-search-field label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--bm-gray);
    margin-bottom: 8px;
}
.bm-search-field input,
.bm-search-field select {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    border: 1.5px solid var(--bm-gray-lighter);
    border-radius: var(--bm-radius-sm);
    font-size: 0.9rem;
    color: var(--bm-charcoal);
    background: var(--bm-white);
    outline: none;
    transition: var(--bm-transition-fast);
    appearance: none;
}
.bm-search-field input:focus,
.bm-search-field select:focus {
    border-color: var(--bm-gold);
    box-shadow: 0 0 0 3px var(--bm-gold-subtle);
}
.bm-search-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}
.bm-search-btn-wrap { display: flex; align-items: flex-end; }
.bm-search-submit {
    height: 48px;
    padding: 0 28px;
    background: linear-gradient(135deg, var(--bm-gold), var(--bm-gold-dark));
    color: var(--bm-white);
    border: none;
    border-radius: var(--bm-radius-sm);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--bm-transition);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    box-shadow: var(--bm-shadow-gold);
}
.bm-search-submit:hover {
    background: linear-gradient(135deg, var(--bm-gold-dark), #A07840);
    transform: translateY(-2px);
}

/* Hero scroll indicator */
.bm-hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: scrollBounce 2s ease-in-out infinite;
}
.bm-hero-scroll span {
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
}
.bm-scroll-icon {
    width: 24px;
    height: 36px;
    border: 1.5px solid rgba(255,255,255,0.4);
    border-radius: 12px;
    position: relative;
}
.bm-scroll-icon::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--bm-gold);
    border-radius: 2px;
    animation: scrollDot 2s ease-in-out infinite;
}
@keyframes scrollBounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(6px)} }
@keyframes scrollDot { 0%,100%{opacity:1;top:6px} 50%{opacity:0.3;top:18px} }

/* ============================================================
   STATS BAR
   ============================================================ */
.bm-stats-bar {
    background: var(--bm-charcoal);
    padding: 0;
}
.bm-stats-bar-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-left: 1px solid rgba(255,255,255,0.06);
}
.bm-stat-bar-item {
    padding: 28px 32px;
    border-right: 1px solid rgba(255,255,255,0.06);
    text-align: center;
    transition: var(--bm-transition);
}
.bm-stat-bar-item:hover { background: rgba(201,169,110,0.08); }
.bm-stat-bar-number {
    font-family: var(--bm-font-titles);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--bm-gold);
    line-height: 1;
}
.bm-stat-bar-label {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-top: 4px;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.bm-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    background: var(--bm-gray-lighter);
}
.bm-service-card {
    background: var(--bm-white);
    padding: 48px 36px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--bm-transition);
}
.bm-service-card::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--bm-gold), var(--bm-gold-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--bm-transition);
}
.bm-service-card:hover { transform: translateY(-6px); box-shadow: var(--bm-shadow-lg); }
.bm-service-card:hover::before { transform: scaleX(1); }

.bm-service-icon-wrap {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--bm-gold-subtle);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--bm-gold);
    transition: var(--bm-transition);
}
.bm-service-card:hover .bm-service-icon-wrap {
    background: var(--bm-gold);
    color: var(--bm-white);
}
.bm-service-title {
    font-family: var(--bm-font-titles);
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--bm-charcoal);
}
.bm-service-text {
    font-size: 0.9rem;
    color: var(--bm-gray);
    line-height: 1.7;
}
.bm-service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--bm-gold);
}
.bm-service-link:hover { gap: 10px; }

/* ============================================================
   LIFESTYLE GRID
   ============================================================ */
.bm-lifestyle {
    padding: var(--bm-space-xl) 0;
    background: var(--bm-cream);
}
.bm-lifestyle-mosaic {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: 320px 320px;
    gap: 4px;
    max-width: 100%;
    overflow: hidden;
}
.bm-lifestyle-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.bm-lifestyle-item:nth-child(1) { grid-column: span 6; grid-row: span 2; }
.bm-lifestyle-item:nth-child(2) { grid-column: span 3; }
.bm-lifestyle-item:nth-child(3) { grid-column: span 3; }
.bm-lifestyle-item:nth-child(4) { grid-column: span 3; }
.bm-lifestyle-item:nth-child(5) { grid-column: span 3; }

.bm-lifestyle-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}
.bm-lifestyle-item:hover .bm-lifestyle-bg { transform: scale(1.08); }

.bm-lifestyle-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.1) 60%);
    transition: var(--bm-transition);
}
.bm-lifestyle-item:hover .bm-lifestyle-overlay { background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.25) 60%); }

.bm-lifestyle-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px;
    color: var(--bm-white);
    transform: translateY(8px);
    transition: var(--bm-transition);
}
.bm-lifestyle-item:hover .bm-lifestyle-content { transform: translateY(0); }
.bm-lifestyle-icon {
    font-size: 1.6rem;
    color: var(--bm-gold);
    margin-bottom: 8px;
}
.bm-lifestyle-title {
    font-family: var(--bm-font-titles);
    font-size: 1.25rem;
    margin-bottom: 4px;
    color: var(--bm-white);
}
.bm-lifestyle-desc {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.75);
    opacity: 0;
    transform: translateY(8px);
    transition: var(--bm-transition);
    max-height: 0;
    overflow: hidden;
}
.bm-lifestyle-item:hover .bm-lifestyle-desc {
    opacity: 1;
    transform: translateY(0);
    max-height: 80px;
    margin-top: 6px;
}

/* ============================================================
   VIVIR EN ALICANTE SECTION
   ============================================================ */
.bm-zones-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.bm-zone-card {
    background: var(--bm-white);
    border-radius: var(--bm-radius-lg);
    overflow: hidden;
    box-shadow: var(--bm-shadow-sm);
    transition: var(--bm-transition);
}
.bm-zone-card:hover { transform: translateY(-8px); box-shadow: var(--bm-shadow-lg); }
.bm-zone-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}
.bm-zone-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent 60%);
}
.bm-zone-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--bm-gold);
    color: var(--bm-white);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 2px;
    z-index: 1;
}
.bm-zone-body {
    padding: 28px;
}
.bm-zone-title {
    font-family: var(--bm-font-titles);
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--bm-charcoal);
}
.bm-zone-text {
    font-size: 0.9rem;
    color: var(--bm-gray);
    line-height: 1.75;
    margin-bottom: 20px;
}
.bm-zone-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}
.bm-zone-tag {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--bm-gold-dark);
    background: var(--bm-gold-subtle);
    padding: 4px 12px;
    border-radius: 20px;
}

/* ============================================================
   PROPERTIES GRID
   ============================================================ */
.bm-properties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.bm-property-card {
    background: var(--bm-white);
    border-radius: var(--bm-radius-lg);
    overflow: hidden;
    box-shadow: var(--bm-shadow-sm);
    transition: var(--bm-transition);
    position: relative;
}
.bm-property-card:hover { transform: translateY(-8px); box-shadow: var(--bm-shadow-lg); }

.bm-property-image {
    position: relative;
    overflow: hidden;
    height: 240px;
}
.bm-property-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.bm-property-card:hover .bm-property-image img { transform: scale(1.06); }

.bm-property-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 2px;
    z-index: 1;
}
.bm-badge-venta  { background: var(--bm-gold); color: var(--bm-white); }
.bm-badge-alquiler { background: var(--bm-charcoal); color: var(--bm-white); }
.bm-badge-nuevo  { background: #2D7D46; color: var(--bm-white); }

.bm-property-wishlist {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--bm-gray-light);
    cursor: pointer;
    transition: var(--bm-transition-fast);
    z-index: 1;
}
.bm-property-wishlist:hover { color: #e74c3c; background: var(--bm-white); }

.bm-property-body { padding: 24px; }

.bm-property-price {
    font-family: var(--bm-font-titles);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bm-gold);
    margin-bottom: 8px;
}
.bm-property-title {
    font-family: var(--bm-font-titles);
    font-size: 1.05rem;
    margin-bottom: 8px;
    color: var(--bm-charcoal);
    font-weight: 600;
}
.bm-property-location {
    font-size: 0.82rem;
    color: var(--bm-gray);
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 16px;
}
.bm-property-location i { color: var(--bm-gold); }

.bm-property-features {
    display: flex;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--bm-gray-lighter);
    font-size: 0.8rem;
    color: var(--bm-gray);
}
.bm-property-feature {
    display: flex;
    align-items: center;
    gap: 5px;
}
.bm-property-feature i { color: var(--bm-gold); }

.bm-property-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--bm-gray-lighter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bm-cream);
}
.bm-property-ref {
    font-size: 0.72rem;
    color: var(--bm-gray-light);
    letter-spacing: 0.08em;
}

/* ============================================================
   ABOUT / NOSOTROS
   ============================================================ */
.bm-about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 600px;
}
.bm-about-image-panel {
    position: relative;
    overflow: hidden;
}
.bm-about-image-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}
.bm-about-image-panel:hover img { transform: scale(1.04); }
.bm-about-image-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(201,169,110,0.15), transparent);
}
.bm-about-content-panel {
    padding: 80px 72px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--bm-charcoal);
}
.bm-about-content-panel .bm-section-title { color: var(--bm-white); }
.bm-about-text {
    color: rgba(255,255,255,0.75);
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 16px;
}
.bm-about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 32px 0;
}
.bm-about-value-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.bm-about-value-icon {
    width: 44px; height: 44px;
    background: var(--bm-gold-subtle);
    border-radius: var(--bm-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bm-gold);
    font-size: 1.1rem;
    flex-shrink: 0;
}
.bm-about-value-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--bm-white);
    margin-bottom: 2px;
}
.bm-about-value-text {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.55);
}

/* Stats row */
.bm-about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.bm-stat-item {
    text-align: center;
    padding: 48px 24px;
    border-right: 1px solid var(--bm-gray-lighter);
}
.bm-stat-item:last-child { border-right: none; }
.bm-stat-number {
    font-family: var(--bm-font-titles);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--bm-gold);
    line-height: 1;
    margin-bottom: 8px;
}
.bm-stat-label {
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--bm-gray);
}

/* ============================================================
   WHY US — FEATURES
   ============================================================ */
.bm-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.bm-feature-item {
    text-align: center;
    padding: 40px 28px;
    border-radius: var(--bm-radius-lg);
    background: var(--bm-white);
    border: 1px solid var(--bm-gray-lighter);
    transition: var(--bm-transition);
}
.bm-feature-item:hover {
    border-color: var(--bm-gold);
    box-shadow: var(--bm-shadow-gold);
    transform: translateY(-4px);
}
.bm-feature-icon {
    width: 72px; height: 72px;
    background: var(--bm-gold-subtle);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--bm-gold);
    transition: var(--bm-transition);
}
.bm-feature-item:hover .bm-feature-icon {
    background: var(--bm-gold);
    color: var(--bm-white);
}
.bm-feature-title {
    font-family: var(--bm-font-titles);
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--bm-charcoal);
}
.bm-feature-text { font-size: 0.88rem; color: var(--bm-gray); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.bm-testimonials { background: var(--bm-cream); }
.bm-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.bm-testimonial-card {
    background: var(--bm-white);
    padding: 40px;
    border-radius: var(--bm-radius-lg);
    box-shadow: var(--bm-shadow-sm);
    position: relative;
    transition: var(--bm-transition);
}
.bm-testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--bm-shadow-md); }
.bm-testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 20px;
    right: 30px;
    font-family: var(--bm-font-titles);
    font-size: 5rem;
    line-height: 1;
    color: var(--bm-gold-subtle);
    color: rgba(201,169,110,0.25);
}
.bm-testimonial-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 16px;
    color: var(--bm-gold);
    font-size: 0.85rem;
}
.bm-testimonial-text {
    font-size: 0.95rem;
    color: var(--bm-gray);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 24px;
}
.bm-testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}
.bm-testimonial-avatar {
    width: 52px; height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--bm-gold);
}
.bm-testimonial-info h4 {
    font-size: 0.9rem;
    font-family: var(--bm-font-body);
    font-weight: 700;
    color: var(--bm-charcoal);
    margin-bottom: 2px;
}
.bm-testimonial-info span {
    font-size: 0.78rem;
    color: var(--bm-gray-light);
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.bm-contact-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 64px;
    align-items: start;
}
.bm-contact-items { margin: 32px 0; }
.bm-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--bm-gray-lighter);
}
.bm-contact-item:last-child { border-bottom: none; }
.bm-contact-icon {
    width: 48px; height: 48px;
    background: var(--bm-gold-subtle);
    border-radius: var(--bm-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bm-gold);
    font-size: 1.1rem;
    flex-shrink: 0;
}
.bm-contact-details h4 {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--bm-gray-light);
    margin-bottom: 4px;
    font-family: var(--bm-font-body);
}
.bm-contact-details p,
.bm-contact-details a {
    font-size: 0.95rem;
    color: var(--bm-charcoal);
}
.bm-contact-details a:hover { color: var(--bm-gold); }

.bm-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: #25D366;
    color: var(--bm-white);
    border-radius: var(--bm-radius-md);
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--bm-transition);
    margin-top: 8px;
}
.bm-whatsapp-btn:hover { background: #1EBF5A; transform: translateY(-2px); color: var(--bm-white); }

/* Form styles */
.bm-form-card {
    background: var(--bm-white);
    border-radius: var(--bm-radius-lg);
    padding: 48px;
    box-shadow: var(--bm-shadow-md);
    border: 1px solid var(--bm-gray-lighter);
}
.bm-form-title {
    font-family: var(--bm-font-titles);
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--bm-charcoal);
}
.bm-form-subtitle {
    font-size: 0.9rem;
    color: var(--bm-gray);
    margin-bottom: 32px;
}
.bm-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bm-form-group { margin-bottom: 20px; }
.bm-form-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--bm-gray);
    margin-bottom: 8px;
}
.bm-form-input,
.bm-form-select,
.bm-form-textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid var(--bm-gray-lighter);
    border-radius: var(--bm-radius-md);
    font-size: 0.9rem;
    color: var(--bm-charcoal);
    background: var(--bm-cream);
    outline: none;
    transition: var(--bm-transition-fast);
    appearance: none;
}
.bm-form-input:focus,
.bm-form-select:focus,
.bm-form-textarea:focus {
    border-color: var(--bm-gold);
    background: var(--bm-white);
    box-shadow: 0 0 0 3px var(--bm-gold-subtle);
}
.bm-form-textarea { resize: vertical; min-height: 120px; }
.bm-form-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
    cursor: pointer;
}

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */
.bm-whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 500;
    width: 60px; height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--bm-white);
    box-shadow: 0 4px 20px rgba(37,211,102,0.45);
    transition: var(--bm-transition);
    animation: floatPulse 3s ease-in-out infinite;
}
.bm-whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 32px rgba(37,211,102,0.55);
    color: var(--bm-white);
}
@keyframes floatPulse {
    0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,0.45); }
    50% { box-shadow: 0 4px 28px rgba(37,211,102,0.7), 0 0 0 8px rgba(37,211,102,0.12); }
}

/* ============================================================
   FOOTER
   ============================================================ */
.bm-footer { background: #080808; padding-top: var(--bm-space-xl); }
.bm-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: var(--bm-space-lg);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.bm-footer-brand .bm-logo-text { font-size: 2rem; margin-bottom: 16px; display: inline-block; }
.bm-footer-text {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.75;
    max-width: 320px;
    margin-bottom: 24px;
}
.bm-footer-title {
    font-family: var(--bm-font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--bm-gold);
    margin-bottom: 20px;
}
.bm-footer-menu li { margin-bottom: 10px; }
.bm-footer-menu a {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.5);
    transition: var(--bm-transition-fast);
}
.bm-footer-menu a:hover { color: var(--bm-gold); padding-left: 4px; }
.bm-footer-contact p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
}
.bm-footer-contact p i { color: var(--bm-gold); margin-top: 3px; }
.bm-footer-contact a { color: rgba(255,255,255,0.5); }
.bm-footer-contact a:hover { color: var(--bm-gold); }

.bm-social-links { display: flex; gap: 10px; }
.bm-social-link {
    width: 38px; height: 38px;
    background: rgba(255,255,255,0.07);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    transition: var(--bm-transition);
}
.bm-social-link:hover {
    background: var(--bm-gold);
    color: var(--bm-white);
    transform: translateY(-3px);
}

.bm-footer-bottom {
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.bm-footer-bottom p {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.3);
    margin: 0;
}
.bm-footer-bottom a {
    color: rgba(255,255,255,0.3);
    transition: var(--bm-transition-fast);
}
.bm-footer-bottom a:hover { color: var(--bm-gold); }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.bm-reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}
.bm-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.bm-reveal-delay-1 { transition-delay: 0.1s; }
.bm-reveal-delay-2 { transition-delay: 0.2s; }
.bm-reveal-delay-3 { transition-delay: 0.3s; }
.bm-reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   SINGLE PROPERTY
   ============================================================ */
.bm-property-hero { position: relative; height: 520px; overflow: hidden; }
.bm-property-hero-bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
}
.bm-property-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.2));
}
.bm-property-hero-content {
    position: absolute;
    bottom: 48px; left: 0; right: 0;
    padding: 0 48px;
    max-width: var(--bm-container);
    margin: 0 auto;
}
.bm-property-meta-bar {
    background: var(--bm-white);
    border-radius: var(--bm-radius-lg);
    padding: 24px 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-shadow: var(--bm-shadow-lg);
    margin-bottom: 32px;
    flex-wrap: wrap;
}
.bm-property-content-grid {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 48px;
    align-items: start;
}
.bm-property-sidebar {
    position: sticky;
    top: 100px;
}
.bm-sidebar-card {
    background: var(--bm-white);
    border-radius: var(--bm-radius-lg);
    overflow: hidden;
    box-shadow: var(--bm-shadow-md);
    border: 1px solid var(--bm-gray-lighter);
}
.bm-sidebar-card-header {
    background: var(--bm-charcoal);
    padding: 24px 28px;
    color: var(--bm-white);
}
.bm-sidebar-card-body { padding: 28px; }

/* ============================================================
   ARCHIVE PROPERTY
   ============================================================ */
.bm-archive-header {
    background: var(--bm-charcoal);
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
}
.bm-archive-header::before {
    content: '';
    position: absolute; inset: 0;
    background: url('../images/properties-header.jpg') center/cover;
    opacity: 0.2;
}
.bm-archive-header .bm-container { position: relative; z-index: 1; }
.bm-archive-filters {
    background: var(--bm-white);
    border-radius: var(--bm-radius-lg);
    padding: 28px 36px;
    box-shadow: var(--bm-shadow-sm);
    margin-bottom: 48px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.bm-filter-select {
    flex: 1;
    min-width: 160px;
    height: 44px;
    padding: 0 14px;
    border: 1.5px solid var(--bm-gray-lighter);
    border-radius: var(--bm-radius-sm);
    font-size: 0.85rem;
    color: var(--bm-charcoal);
    appearance: none;
    outline: none;
    background: var(--bm-cream)
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E")
        no-repeat right 12px center;
    padding-right: 36px;
    cursor: pointer;
    transition: var(--bm-transition-fast);
}
.bm-filter-select:focus { border-color: var(--bm-gold); background-color: var(--bm-white); }

/* ============================================================
   CTA BAND
   ============================================================ */
.bm-cta-band {
    background: linear-gradient(135deg, var(--bm-charcoal), #1a1008);
    position: relative;
    overflow: hidden;
    padding: var(--bm-space-lg) 0;
    text-align: center;
}
.bm-cta-band::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at center, rgba(201,169,110,0.12) 0%, transparent 70%);
}
.bm-cta-band .bm-container { position: relative; z-index: 1; }
.bm-cta-band h2 { color: var(--bm-white); margin-bottom: var(--bm-space-sm); }
.bm-cta-band p { color: rgba(255,255,255,0.65); max-width: 560px; margin: 0 auto var(--bm-space-md); }

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.bm-page-header {
    padding: 140px 0 60px;
    background: var(--bm-charcoal);
    position: relative;
    overflow: hidden;
    text-align: center;
}
.bm-page-header-bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.18;
}
.bm-page-header .bm-container { position: relative; z-index: 1; }
.bm-page-header h1 { color: var(--bm-white); }
.bm-page-header p { color: rgba(255,255,255,0.6); margin-top: 12px; }

/* Breadcrumb */
.bm-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.4);
    justify-content: center;
    margin-bottom: 16px;
}
.bm-breadcrumb a { color: rgba(255,255,255,0.4); }
.bm-breadcrumb a:hover { color: var(--bm-gold); }
.bm-breadcrumb-sep { color: rgba(255,255,255,0.2); }

/* ============================================================
   UTILITIES
   ============================================================ */
.bm-main { min-height: 60vh; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
    .bm-about-split { grid-template-columns: 1fr; }
    .bm-about-image-panel { height: 400px; }
    .bm-about-content-panel { padding: 56px 48px; }
    .bm-services-grid { grid-template-columns: repeat(2, 1fr); }
    .bm-features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
    .bm-hero-search-box { grid-template-columns: 1fr 1fr; }
    .bm-search-btn-wrap { grid-column: span 2; }
    .bm-search-submit { width: 100%; justify-content: center; }
    .bm-properties-grid { grid-template-columns: repeat(2, 1fr); }
    .bm-zones-grid { grid-template-columns: repeat(2, 1fr); }
    .bm-contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .bm-testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .bm-footer-grid { grid-template-columns: 1fr 1fr; }
    .bm-stats-bar-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    :root { --bm-space-xl: 64px; --bm-space-lg: 40px; }

    .bm-header-inner { padding: 0 20px; }
    .bm-nav-menu,
    .bm-lang-switcher { display: none; }
    .bm-mobile-menu-toggle { display: flex; }

    .bm-nav.mobile-open .bm-nav-menu {
        display: flex;
        flex-direction: column;
        position: fixed;
        inset: 0;
        background: var(--bm-charcoal);
        z-index: 999;
        padding: 100px 32px 40px;
        gap: 0;
    }
    .bm-nav.mobile-open .bm-nav-menu li a {
        display: block;
        padding: 16px 0;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    .bm-nav.mobile-open .bm-lang-switcher {
        display: flex;
        position: fixed;
        bottom: 40px;
        left: 32px;
        z-index: 1000;
    }

    .bm-hero-search-box { grid-template-columns: 1fr; padding: 20px; }
    .bm-search-btn-wrap { grid-column: auto; }

    .bm-lifestyle-mosaic { grid-template-rows: auto; grid-template-columns: 1fr; }
    .bm-lifestyle-item:nth-child(1),
    .bm-lifestyle-item:nth-child(2),
    .bm-lifestyle-item:nth-child(3),
    .bm-lifestyle-item:nth-child(4),
    .bm-lifestyle-item:nth-child(5) {
        grid-column: span 12;
        height: 200px;
    }

    .bm-zones-grid { grid-template-columns: 1fr; }
    .bm-properties-grid { grid-template-columns: 1fr; }
    .bm-services-grid { grid-template-columns: 1fr; gap: 0; }
    .bm-features-grid { grid-template-columns: 1fr; }
    .bm-testimonials-grid { grid-template-columns: 1fr; }
    .bm-footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .bm-about-stats { grid-template-columns: repeat(2, 1fr); }
    .bm-stat-item:nth-child(2) { border-right: 1px solid var(--bm-gray-lighter); }
    .bm-stat-item:nth-child(3) { border-right: none; }
    .bm-form-row { grid-template-columns: 1fr; }
    .bm-form-card { padding: 28px 20px; }
    .bm-stats-bar-inner { grid-template-columns: repeat(2, 1fr); }
    .bm-about-values { grid-template-columns: 1fr; }
    .bm-footer-bottom { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
    .bm-hero-title { /* Cinzel — increased tracking for luxury feel */ font-size: 2.2rem; }
    .bm-about-stats { grid-template-columns: 1fr 1fr; }
    .bm-property-meta-bar { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   INTEGRACIÓN PLUGINS — Belle Maison PRO + Leads + Comparador
   ============================================================ */

/* ── Property overlay actions (favoritos + comparar) ── */
.bm-property-overlay-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}
/* Botón favoritos nativo */
.bm-property-wishlist {
    width: 34px;
    height: 34px;
    background: rgba(255,255,255,.92);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    color: var(--bm-gray-light);
    cursor: pointer;
    border: none;
    box-shadow: var(--bm-shadow-xs);
    transition: var(--bm-transition-fast);
}
.bm-property-wishlist:hover { color: #e74c3c; }
.bm-property-wishlist.active i { font-weight: 900; color: #e74c3c; }

/* ── PRO: Filtros AJAX ── */
.bmp-filter-wrap, .bmp-filters-form {
    background: var(--bm-white) !important;
    border-radius: var(--bm-radius-lg) !important;
    padding: 24px 32px !important;
    box-shadow: var(--bm-shadow-sm) !important;
    margin-bottom: 40px !important;
    border: 1px solid var(--bm-gray-lighter) !important;
}
.bmp-filter-select,
.bmp-filter-input {
    border: 1.5px solid var(--bm-gray-lighter) !important;
    border-radius: var(--bm-radius-sm) !important;
    font-family: var(--bm-font-body) !important;
    height: 44px !important;
    padding: 0 14px !important;
    background: var(--bm-cream) !important;
    color: var(--bm-charcoal) !important;
    font-size: .875rem !important;
    transition: var(--bm-transition-fast) !important;
}
.bmp-filter-select:focus,
.bmp-filter-input:focus {
    border-color: var(--bm-gold) !important;
    box-shadow: 0 0 0 3px rgba(201,169,110,.15) !important;
    outline: none !important;
    background: var(--bm-white) !important;
}
.bmp-filter-btn,
.bmp-search-btn,
.bmp-reset-btn {
    font-family: var(--bm-font-body) !important;
    font-weight: 700 !important;
    font-size: .75rem !important;
    letter-spacing: .1em !important;
    text-transform: uppercase !important;
    border-radius: var(--bm-radius-sm) !important;
    height: 44px !important;
    padding: 0 24px !important;
    transition: var(--bm-transition) !important;
    border: none !important;
    cursor: pointer !important;
}
.bmp-filter-btn,
.bmp-search-btn {
    background: linear-gradient(135deg, var(--bm-gold), var(--bm-gold-dark)) !important;
    color: var(--bm-white) !important;
}
.bmp-filter-btn:hover,
.bmp-search-btn:hover {
    background: var(--bm-gold-dark) !important;
    transform: translateY(-1px) !important;
}
.bmp-reset-btn {
    background: transparent !important;
    color: var(--bm-gray) !important;
    border: 1.5px solid var(--bm-gray-lighter) !important;
}
.bmp-reset-btn:hover {
    border-color: var(--bm-charcoal) !important;
    color: var(--bm-charcoal) !important;
}

/* ── PRO: Mapa interactivo ── */
.bmp-map-wrap,
#bmp-map {
    border-radius: var(--bm-radius-lg) !important;
    overflow: hidden !important;
    min-height: 480px !important;
}
.bmp-map-popup {
    font-family: var(--bm-font-body) !important;
    border-radius: var(--bm-radius-md) !important;
    overflow: hidden !important;
}
.bmp-map-popup-price {
    color: var(--bm-gold) !important;
    font-weight: 700 !important;
    font-family: var(--bm-font-titles) !important;
}
.bmp-map-btn {
    background: var(--bm-gold) !important;
    color: var(--bm-white) !important;
    font-family: var(--bm-font-body) !important;
    font-size: .75rem !important;
    font-weight: 700 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
    border-radius: var(--bm-radius-sm) !important;
    border: none !important;
}
.bmp-map-marker {
    background: var(--bm-gold) !important;
    border: 2px solid var(--bm-white) !important;
    border-radius: 50% 50% 50% 0 !important;
    box-shadow: var(--bm-shadow-sm) !important;
}

/* ── PRO: Favoritos ── */
.bmp-fav-btn {
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,.92) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    cursor: pointer !important;
    transition: var(--bm-transition-fast) !important;
    box-shadow: var(--bm-shadow-xs) !important;
    color: var(--bm-gray-light) !important;
}
.bmp-fav-btn:hover,
.bmp-fav-btn.active { color: #e74c3c !important; }

/* ── Comparador: botón en tarjeta ── */
.bmc-add-btn {
    font-family: var(--bm-font-body) !important;
    font-size: .68rem !important;
    font-weight: 700 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
    color: var(--bm-gold) !important;
    border: 1.5px solid var(--bm-gold) !important;
    border-radius: var(--bm-radius-sm) !important;
    background: rgba(255,255,255,.92) !important;
    padding: 4px 10px !important;
    cursor: pointer !important;
    transition: var(--bm-transition-fast) !important;
    white-space: nowrap !important;
}
.bmc-add-btn:hover,
.bmc-add-btn.active {
    background: var(--bm-gold) !important;
    color: var(--bm-white) !important;
}

/* ── Comparador: barra inferior ── */
.bmc-compare-bar {
    background: var(--bm-charcoal) !important;
    border-top: 2px solid var(--bm-gold) !important;
    font-family: var(--bm-font-body) !important;
    z-index: 400 !important;
    box-shadow: 0 -4px 24px rgba(0,0,0,.3) !important;
}
.bmc-compare-bar-item {
    border-right: 1px solid rgba(255,255,255,.08) !important;
}
.bmc-compare-bar-title {
    color: var(--bm-white) !important;
    font-family: var(--bm-font-titles) !important;
    font-size: .9rem !important;
}
.bmc-compare-bar-price {
    color: var(--bm-gold) !important;
    font-weight: 700 !important;
}
.bmc-compare-btn {
    background: linear-gradient(135deg, var(--bm-gold), var(--bm-gold-dark)) !important;
    color: var(--bm-white) !important;
    border: none !important;
    border-radius: var(--bm-radius-sm) !important;
    font-family: var(--bm-font-body) !important;
    font-weight: 700 !important;
    letter-spacing: .1em !important;
    text-transform: uppercase !important;
    font-size: .75rem !important;
    cursor: pointer !important;
    transition: var(--bm-transition) !important;
}
.bmc-compare-btn:hover { background: var(--bm-gold-dark) !important; }
.bmc-remove-btn {
    color: rgba(255,255,255,.4) !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    font-size: 1.1rem !important;
    transition: var(--bm-transition-fast) !important;
}
.bmc-remove-btn:hover { color: #e74c3c !important; }

/* ── Comparador: tabla de comparación ── */
.bmc-compare-table {
    font-family: var(--bm-font-body) !important;
    border-collapse: collapse !important;
    width: 100% !important;
}
.bmc-compare-table th {
    background: var(--bm-charcoal) !important;
    color: var(--bm-gold) !important;
    font-family: var(--bm-font-titles) !important;
    padding: 16px 20px !important;
    font-size: 1rem !important;
}
.bmc-compare-table td {
    padding: 12px 20px !important;
    border-bottom: 1px solid var(--bm-gray-lighter) !important;
    font-size: .875rem !important;
    color: var(--bm-charcoal) !important;
}
.bmc-compare-table tr:hover td { background: var(--bm-cream) !important; }
.bmc-compare-table .bmc-highlight td {
    background: rgba(201,169,110,.08) !important;
    font-weight: 700 !important;
    color: var(--bm-gold-dark) !important;
}

/* ── Leads: formulario rápido bml_quick_form ── */
.bml-quick-form-wrap {
    background: var(--bm-cream) !important;
    border-radius: var(--bm-radius-lg) !important;
    border: 1px solid var(--bm-gray-lighter) !important;
    padding: 32px !important;
}
.bml-quick-form-title {
    font-family: var(--bm-font-titles) !important;
    color: var(--bm-charcoal) !important;
    font-size: 1.4rem !important;
    margin-bottom: 6px !important;
}
.bml-quick-form-subtitle {
    color: var(--bm-gray) !important;
    font-size: .875rem !important;
    margin-bottom: 24px !important;
}
.bml-quick-input {
    border: 1.5px solid var(--bm-gray-lighter) !important;
    border-radius: var(--bm-radius-md) !important;
    font-family: var(--bm-font-body) !important;
    padding: 12px 16px !important;
    font-size: .9rem !important;
    background: var(--bm-white) !important;
    color: var(--bm-charcoal) !important;
    transition: var(--bm-transition-fast) !important;
}
.bml-quick-input:focus {
    border-color: var(--bm-gold) !important;
    box-shadow: 0 0 0 3px rgba(201,169,110,.15) !important;
    outline: none !important;
}
.bml-quick-btn {
    background: linear-gradient(135deg, var(--bm-gold), var(--bm-gold-dark)) !important;
    color: var(--bm-white) !important;
    font-family: var(--bm-font-body) !important;
    font-weight: 700 !important;
    font-size: .8rem !important;
    letter-spacing: .1em !important;
    text-transform: uppercase !important;
    border: none !important;
    border-radius: var(--bm-radius-sm) !important;
    padding: 13px 28px !important;
    cursor: pointer !important;
    transition: var(--bm-transition) !important;
    box-shadow: var(--bm-shadow-gold) !important;
}
.bml-quick-btn:hover {
    background: var(--bm-gold-dark) !important;
    transform: translateY(-1px) !important;
}

/* ── Leads: popup lead magnet ── */
.bml-popup-overlay {
    font-family: var(--bm-font-body) !important;
    background: rgba(0,0,0,.7) !important;
    backdrop-filter: blur(4px) !important;
    z-index: 9000 !important;
}
.bml-popup-container {
    border-radius: var(--bm-radius-lg) !important;
    overflow: hidden !important;
    box-shadow: var(--bm-shadow-lg) !important;
    max-width: 860px !important;
}
.bml-popup-left {
    background: var(--bm-charcoal) !important;
}
.bml-popup-badge {
    background: var(--bm-gold) !important;
    color: var(--bm-white) !important;
    font-family: var(--bm-font-body) !important;
    font-weight: 700 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    font-size: .68rem !important;
    border-radius: 2px !important;
}
.bml-popup-title {
    font-family: var(--bm-font-titles) !important;
    color: var(--bm-white) !important;
}
.bml-popup-items li::before {
    color: var(--bm-gold) !important;
    font-weight: 700 !important;
}
.bml-popup-right {
    background: var(--bm-white) !important;
}
.bml-popup-input {
    border: 1.5px solid var(--bm-gray-lighter) !important;
    border-radius: var(--bm-radius-md) !important;
    font-family: var(--bm-font-body) !important;
}
.bml-popup-input:focus {
    border-color: var(--bm-gold) !important;
    box-shadow: 0 0 0 3px rgba(201,169,110,.15) !important;
    outline: none !important;
}
.bml-popup-submit {
    background: linear-gradient(135deg, var(--bm-gold), var(--bm-gold-dark)) !important;
    font-family: var(--bm-font-body) !important;
    font-weight: 700 !important;
    letter-spacing: .1em !important;
    text-transform: uppercase !important;
    border: none !important;
    border-radius: var(--bm-radius-sm) !important;
    box-shadow: var(--bm-shadow-gold) !important;
}
.bml-popup-close {
    color: rgba(255,255,255,.5) !important;
    transition: var(--bm-transition-fast) !important;
}
.bml-popup-close:hover { color: var(--bm-gold) !important; }

/* ── Leads: WhatsApp botón en propiedad ── */
.bml-wa-property-btn,
.bml-property-wa-wrap a {
    background: #25D366 !important;
    color: var(--bm-white) !important;
    font-family: var(--bm-font-body) !important;
    font-weight: 700 !important;
    font-size: .78rem !important;
    letter-spacing: .08em !important;
    border-radius: var(--bm-radius-sm) !important;
    padding: 9px 18px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    text-decoration: none !important;
    transition: var(--bm-transition-fast) !important;
}
.bml-wa-property-btn:hover,
.bml-property-wa-wrap a:hover {
    background: #1EB256 !important;
    color: var(--bm-white) !important;
    transform: translateY(-1px) !important;
}

/* ============================================================
   ELEMENTOS DESACTIVADOS — ocultar aunque los inyecte un plugin
   ============================================================ */
.bm-hero-search,
.bm-hero-search-box,
.bm-stats-bar,
.bm-stat-bar-item,
.bm-hero-scroll,
.bm-whatsapp-float,
.bm-whatsapp-btn,
.bml-wa-float,
#bml-wa-float,
.bml-wa-float-tooltip,
.bml-property-wa-wrap,
.bm-contact-item .fab.fa-whatsapp,
a[href*="wa.me"],
a[href*="whatsapp"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* ============================================================
   UI PRO MAX — Recomendaciones aplicadas
   Skill: ui-ux-pro-max v1 | Dominio: style, typography, color, ux
   ============================================================ */

/* ── Typography: Cinzel ajustes premium (Real Estate Luxury) ── */
h1, h2, h3 {
    letter-spacing: 0.02em; /* Cinzel tiene trazos anchos — tracking ligero */
}
.bm-hero-title {
    letter-spacing: 0.01em;
    font-weight: 600;
}
.bm-logo-text {
    letter-spacing: 0.08em; /* Logo con más tracking — estilo premium */
}
.bm-section-label {
    font-family: 'Josefin Sans', sans-serif;
    letter-spacing: 0.25em; /* Josefin Sans espaciado — estilo editorial */
}
.bm-btn {
    font-family: 'Josefin Sans', sans-serif;
    letter-spacing: 0.15em;
}
.bm-nav-menu li a {
    font-family: 'Josefin Sans', sans-serif;
    letter-spacing: 0.12em;
}

/* ── Color: E-commerce Luxury palette validation ──
   UI Pro Max confirma: #1C1917 charcoal + #A16207 gold accent ✓
   Nuestro gold #C9A96E está dentro del rango — validado
   ── */

/* ── UX Anti-pattern fix: No continuous decorative animations ── */
/* Solo el pulse del WhatsApp float está desactivado (ya eliminado) */
/* Loader pulse: solo en carga, se detiene automáticamente ✓ */

/* ── UX Best practice: prefers-reduced-motion completo ── */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .bm-loader { display: none !important; }
}

/* ── Liquid Glass micro-effect en hero search card (UI Pro Max: premium SaaS) ── */
.bm-hero-search-box {
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    background: rgba(255,255,255,0.94) !important;
    border: 1px solid rgba(255,255,255,0.6);
}

/* ── Cinzel italic elegance para hero em ── */
.bm-hero-title em {
    font-family: 'Cinzel', serif;
    font-style: italic;
    font-weight: 400;
}

/* ── Josefin Sans body: ajuste line-height para mejor legibilidad ── */
body {
    font-family: 'Josefin Sans', sans-serif;
    letter-spacing: 0.02em;
    line-height: 1.75;
}

/* ── Property card title: Cinzel elegance ── */
.bm-property-title a {
    letter-spacing: 0.03em;
}
