/* ============================================================
   MARINA GOLD · STYLESHEET PRINCIPAL
   Paleta: oro sobrio + neutros + tipografía Fraunces/Inter
   Estructura tipo Apple/inmobiliaria premium
============================================================ */

/* ============================================================
   1. TOKENS (variables CSS)
============================================================ */
:root {
    /* Color */
    --c-black: #0A0A0A;
    --c-ink: #1A1A1A;
    --c-graphite: #3A3A3A;
    --c-gray-700: #4F4F4F;
    --c-gray-500: #7A7A7A;
    --c-gray-300: #C8C8C8;
    --c-gray-200: #E5E5E5;
    --c-gray-100: #F2F2F2;
    --c-canvas: #FAFAFA;
    --c-white: #FFFFFF;
    --c-gold: #C5A572;
    --c-gold-soft: #D9C193;
    --c-gold-deep: #9F8550;

    /* Status (verde / amarillo / rojo / gris) */
    --st-available: #2BA15A;
    --st-available-bg: rgba(43, 161, 90, 0.12);
    --st-reserved: #E6A521;
    --st-reserved-bg: rgba(230, 165, 33, 0.15);
    --st-sold: #C5283D;
    --st-sold-bg: rgba(197, 40, 61, 0.13);
    --st-blocked: #8E8E8E;
    --st-blocked-bg: rgba(142, 142, 142, 0.18);

    /* Typography */
    --font-display: 'Fraunces', 'Georgia', serif;
    --font-body: 'Inter', 'Helvetica Neue', system-ui, -apple-system, sans-serif;

    --fs-xs: 0.75rem;
    --fs-sm: 0.875rem;
    --fs-base: 1rem;
    --fs-md: 1.125rem;
    --fs-lg: 1.375rem;
    --fs-xl: 2rem;
    --fs-2xl: 3rem;
    --fs-3xl: 4.5rem;
    --fs-4xl: 6rem;

    /* Spacing */
    --space-1: 0.5rem;
    --space-2: 1rem;
    --space-3: 1.5rem;
    --space-4: 2rem;
    --space-5: 3rem;
    --space-6: 4.5rem;
    --space-7: 6rem;
    --space-8: 8rem;

    /* Layout */
    --container-max: 1320px;
    --container-pad: clamp(1.25rem, 4vw, 3rem);
    --nav-height: 92px;

    /* Misc */
    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-pill: 999px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05), 0 4px 12px rgba(0,0,0,0.06);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.10);
    --shadow-lg: 0 30px 70px rgba(0,0,0,0.18);
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================================
   1.5. SCROLL PROGRESS BAR + STICKY CTA + COUNTERS
============================================================ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    width: 0;
    background: var(--c-gold);
    z-index: 9999;
    pointer-events: none;
    transition: width 0.05s linear;
    box-shadow: 0 0 8px rgba(197, 165, 114, 0.5);
}

/* Sticky CTA · solo móvil, aparece tras pasar el 30% del scroll */
.sticky-cta {
    display: none;
    position: fixed;
    bottom: 1rem;
    left: 50%;
    transform: translate(-50%, 80px);
    z-index: 1700;
    background: var(--c-ink);
    color: var(--c-white);
    border: 1px solid var(--c-gold);
    padding: 0.8rem 1.2rem 0.8rem 0.8rem;
    border-radius: 100px;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.22,1,0.36,1),
                opacity 0.4s ease,
                background 0.3s, color 0.3s;
    max-width: calc(100vw - 2rem);
    white-space: nowrap;
}
.sticky-cta.show {
    transform: translate(-50%, 0);
    opacity: 1;
}
.sticky-cta:hover { background: var(--c-gold); color: var(--c-ink); }
.sticky-cta-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--c-gold);
    color: var(--c-ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    flex-shrink: 0;
    transition: background 0.3s, color 0.3s;
}
.sticky-cta:hover .sticky-cta-icon {
    background: var(--c-ink);
    color: var(--c-gold);
}
.sticky-cta-arrow { font-size: 0.7rem; opacity: 0.7; }
@media (max-width: 900px) {
    .sticky-cta {
        display: inline-flex;
        bottom: calc(1rem + env(safe-area-inset-bottom, 0));
        padding: 0.75rem 1.1rem 0.75rem 0.7rem;
        font-size: 0.75rem;
        min-height: 48px; /* tap target */
    }
}
@media (max-width: 560px) {
    .sticky-cta {
        font-size: 0.72rem;
        max-width: calc(100vw - 7rem); /* deja espacio a brochure-fab izq y chatbot dcha */
    }
    .sticky-cta-icon { width: 28px; height: 28px; }
}

/* Parallax sutil sobre imágenes con la clase .parallax */
.parallax {
    will-change: transform;
    transition: transform 0.05s linear;
}

/* ============================================================
   2. RESET + BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    scroll-behavior: smooth;
    /* Reserva el espacio del scrollbar SÓLO en desktop donde la barra ocupa ancho real.
       En móvil los scrollbars son overlay → 'stable' deja una franja blanca fantasma. */
    scrollbar-gutter: stable;
    /* Bloqueo absoluto de overflow horizontal */
    overflow-x: clip;
    width: 100%;
    max-width: 100vw;
}
@media (max-width: 900px) {
    html { scrollbar-gutter: auto; }
}
body {
    font-family: var(--font-body);
    font-size: var(--fs-base);
    line-height: 1.6;
    color: var(--c-ink);
    background: var(--c-canvas);
    overflow-x: clip;
    width: 100%;
    max-width: 100vw;
    position: relative;
}
body.no-scroll { overflow: hidden; }
img, picture, svg, video { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--c-gold); color: var(--c-black); }

/* ============================================================
   3. TIPOGRAFÍA Y UTILIDADES
============================================================ */
.eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--c-gold-deep);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: var(--space-2);
}
.eyebrow--light { color: var(--c-gold-soft); }

.display {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.02em;
    font-size: clamp(2rem, 4.5vw, 3.6rem);
    color: inherit;
}
.display em { font-style: italic; color: var(--c-gold-deep); font-weight: 400; }

.lead {
    font-size: var(--fs-md);
    color: var(--c-gray-700);
    max-width: 60ch;
    line-height: 1.6;
}

.section-head {
    margin-bottom: var(--space-6);
}
.section-head--center { text-align: center; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }
.section-head--light { color: var(--c-white); }
.section-head--light .lead { color: rgba(255,255,255,0.7); }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
    color: var(--c-gold-deep);
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
    transition: gap var(--transition-fast), color var(--transition-fast);
}
.link-arrow:hover { gap: 1rem; color: var(--c-ink); }
.link-arrow i { font-size: 0.9em; transition: transform var(--transition-fast); }

/* ============================================================
   4. BOTONES
============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-family: var(--font-body);
    font-size: var(--fs-sm);
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 0.95rem 1.7rem;
    border-radius: var(--radius-pill);
    transition: transform var(--transition-fast), background var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
    cursor: pointer;
    white-space: nowrap;
}
.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    font-size: 0.7rem;
    margin-left: -0.4rem;
}

.btn--primary {
    background: var(--c-ink);
    color: var(--c-white);
}
.btn--primary:hover {
    background: var(--c-gold-deep);
    color: var(--c-white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn--gold {
    background: var(--c-gold);
    color: var(--c-ink);
}
.btn--gold:hover { background: var(--c-gold-deep); color: var(--c-white); }

.btn--ghost {
    background: transparent;
    color: var(--c-white);
    border: 1px solid rgba(255,255,255,0.4);
}
.btn--ghost:hover { background: var(--c-white); color: var(--c-ink); border-color: var(--c-white); }
.btn--ghost.btn--light { color: var(--c-ink); border-color: rgba(0,0,0,0.2); }
.btn--ghost.btn--light:hover { background: var(--c-ink); color: var(--c-white); }

.btn--full { width: 100%; }

/* ============================================================
   5. NAV + DRAWER
============================================================ */
/* ───────────────────────────────────────────────────────────
   NAV · minimalista estilo "viejita"
   3 columnas: logo · botón Contacto centro · hamburguesa
   Toda la navegación principal vive en el drawer lateral
   ─────────────────────────────────────────────────────────── */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-height);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4%;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background var(--transition-base),
                backdrop-filter var(--transition-base),
                border-color var(--transition-base),
                box-shadow var(--transition-base);
}
body.scrolled .nav {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom-color: rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.05);
}

.nav-col { flex: 1; display: flex; align-items: center; }
.nav-col--brand  { justify-content: flex-start; }
.nav-col--cta    { justify-content: center; }
.nav-col--burger { justify-content: flex-end; }

.nav-brand { display: flex; align-items: center; }
.nav-logo {
    height: 60px;
    width: auto;
    /* En el hero el logo grande hace de marca, así que el del navbar está oculto */
    opacity: 0;
    transform: scale(0.7);
    filter: brightness(0) invert(1);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.2,0.7,0.2,1), height var(--transition-fast), filter var(--transition-fast);
}
/* Al scroll (navbar blanco frosted): logo NEGRO original, ya visible */
body.scrolled .nav-logo {
    filter: none;
    height: 56px;
    opacity: 1;
    transform: scale(1);
}

/* CTA Contacto · pill negro estilo "high-ticket" como en la viejita */
.nav-cta {
    background: var(--c-ink);
    color: var(--c-white);
    border: 1px solid var(--c-ink);
    padding: 0.7rem 1.3rem;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all var(--transition-fast);
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}
.nav-cta:hover {
    background: var(--c-white);
    color: var(--c-ink);
    border-color: var(--c-white);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

/* Hamburguesa · SIEMPRE visible (no solo móvil) */
.nav-burger {
    display: flex;
    width: 28px;
    height: 20px;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
}
.nav-burger span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--c-white);
    border-radius: 1px;
    transition: transform var(--transition-fast), opacity var(--transition-fast), background var(--transition-fast);
}
body.scrolled .nav-burger span { background: var(--c-ink); }
.nav-burger.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Oculto: ya no se usan estos (todo va al drawer) */
.nav-links { display: none; }
.lang-pill { display: none; }

/* ───────────────────────────────────────────────────────────
   DRAWER · menú lateral editorial luxury
   ─────────────────────────────────────────────────────────── */

/* Backdrop oscuro detrás del drawer */
.drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 150;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.drawer-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

.drawer {
    position: fixed;
    top: 0; right: -100%;
    height: 100vh;
    width: min(420px, 92vw);
    background: #0a0a0a;
    z-index: 200;
    display: flex;
    flex-direction: column;
    transition: right 0.55s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.6);
    color: var(--c-white);
    overflow-y: auto;
}
.drawer.open { right: 0; }

/* Header del drawer · logo + cerrar */
.drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}
.drawer-head::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 2rem;
    width: 50px;
    height: 1px;
    background: var(--c-gold);
}
.drawer-logo {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1); /* blanco */
}
.drawer-close {
    width: 36px;
    height: 36px;
    position: relative;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-fast);
}
.drawer-close:hover {
    border-color: var(--c-gold);
    background: rgba(197, 165, 114, 0.1);
    transform: rotate(90deg);
}
.drawer-close span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 1.5px;
    background: var(--c-white);
    transform-origin: center;
}
.drawer-close span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.drawer-close span:nth-child(2) { transform: translate(-50%, -50%) rotate(-45deg); }

/* Navegación · links editorial con números */
.drawer-nav {
    display: flex;
    flex-direction: column;
    padding: 2rem 2rem 1.5rem;
    flex-grow: 1;
}
.drawer-section-label {
    display: block;
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
    margin-bottom: 1.2rem;
}
.drawer-nav a {
    display: flex;
    align-items: baseline;
    gap: 1.1rem;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: color var(--transition-fast), padding-left var(--transition-fast), border-color var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    position: relative;
}
.drawer-nav a:last-of-type { border-bottom: none; }
.drawer-nav a:hover {
    color: var(--c-gold);
    padding-left: 8px;
    border-bottom-color: rgba(197, 165, 114, 0.3);
}
.drawer-num {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--c-gold);
    letter-spacing: 0.05em;
    min-width: 22px;
    opacity: 0.7;
    font-feature-settings: 'tnum';
}
.drawer-nav a:hover .drawer-num { opacity: 1; }
.drawer-controls {
    padding: 1.5rem 2rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

/* Locale selector */
.drawer-locale {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.2rem;
}
.locale-btn {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.75rem 0.95rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-align: left;
    font-family: var(--font-body);
}
.locale-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
}
.locale-btn.active {
    background: rgba(197, 165, 114, 0.12);
    border-color: var(--c-gold);
    color: var(--c-white);
}
.locale-flag {
    width: 38px;
    height: 26px;
    border-radius: 3px;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    display: block;
}
.locale-meta {
    display: flex;
    flex-direction: column;
    gap: 1px;
    line-height: 1.2;
    flex: 1;
}
.locale-lang {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--c-white);
}
.locale-currency {
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 500;
}
.locale-btn.active .locale-currency { color: var(--c-gold-soft); }
.drawer-brochure {
    margin-top: 0.8rem;
    padding: 0.95rem 1.2rem;
    background: transparent;
    color: var(--c-white);
    border: 1px solid var(--c-gold);
    border-radius: 4px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.7rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: color 0.4s cubic-bezier(0.22,1,0.36,1);
}
.drawer-brochure::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--c-gold);
    transform: translateX(-101%);
    transition: transform 0.5s cubic-bezier(0.22,1,0.36,1);
    z-index: -1;
}
.drawer-brochure:hover { color: var(--c-ink); }
.drawer-brochure:hover::before { transform: translateX(0); }

/* Footer del drawer · contacto rápido */
.drawer-foot {
    padding: 1.2rem 2rem 1.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}
.drawer-foot-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.65);
    transition: color var(--transition-fast);
}
.drawer-foot-item:hover { color: var(--c-gold); }
.drawer-foot-item i {
    width: 16px;
    text-align: center;
    color: var(--c-gold);
    font-size: 0.85rem;
}

/* Segmented control reutilizable */
.seg-control {
    display: inline-flex;
    background: var(--c-gray-100);
    border-radius: var(--radius-pill);
    padding: 4px;
}
.seg-control--sm { padding: 3px; }
.seg-btn {
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--c-gray-500);
    padding: 0.45rem 1.1rem;
    border-radius: var(--radius-pill);
    transition: background var(--transition-fast), color var(--transition-fast);
    white-space: nowrap;
}
.seg-control--sm .seg-btn { padding: 0.3rem 0.7rem; font-size: var(--fs-xs); }
.seg-btn:hover { color: var(--c-ink); }
.seg-btn.active {
    background: var(--c-white);
    color: var(--c-ink);
    box-shadow: var(--shadow-sm);
}

/* ============================================================
   6. HERO
============================================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 720px;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: var(--c-white);
    background: var(--c-ink);
}
/* Dos imágenes que se alternan con crossfade + Ken Burns sutil */
.hero::before,
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-size: 110% 110%;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}
.hero {
    --hero-img-1: url('MARINA GOLD DISEÑO/Renders/2. RN_ Vista Aerea Sur noche.png');
    --hero-img-2: url('MARINA GOLD DISEÑO/Renders/9. RA_Vista calle frente 3 atardecer.png');
}
.hero::before {
    background-image: var(--hero-img-1);
    animation: heroAlt1 18s ease-in-out infinite;
    transition: background-image 0.4s ease;
}
.hero::after {
    background-image: var(--hero-img-2);
    animation: heroAlt2 18s ease-in-out infinite;
    transition: background-image 0.4s ease;
}
@keyframes heroAlt1 {
    0%, 45%   { opacity: 1; transform: scale(1); }
    50%, 95%  { opacity: 0; transform: scale(1.06); }
    100%      { opacity: 1; transform: scale(1); }
}
@keyframes heroAlt2 {
    0%, 45%   { opacity: 0; transform: scale(1.06); }
    50%, 95%  { opacity: 1; transform: scale(1); }
    100%      { opacity: 0; transform: scale(1.06); }
}
.hero-veil {
    position: absolute;
    inset: 0;
    z-index: 1;
    /* Diagonal invertida (35°) → oscuro en ABAJO-izquierda,
       transparente hacia ARRIBA-derecha. Deja el cielo limpio. */
    background: linear-gradient(
        35deg,
        rgba(0, 0, 0, 0.92) 0%,
        rgba(0, 0, 0, 0.78) 30%,
        rgba(0, 0, 0, 0.50) 60%,
        rgba(0, 0, 0, 0.18) 85%,
        rgba(0, 0, 0, 0.05) 100%
    );
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: var(--nav-height) var(--container-pad) clamp(3rem, 8vh, 5rem);
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    min-height: 100%;
}

.hero-block {
    max-width: 720px;
    /* Sube ligeramente y se corre a la izquierda */
    transform: translate(-2.5rem, -3vh);
}

/* MARK · etiqueta editorial superior */
.hero-mark {
    display: inline-flex;
    align-items: center;
    gap: 1.1rem;
    margin-top: 1.6rem;
    margin-bottom: 2.4rem;
    opacity: 0;
    animation: heroIn 1.2s ease-out 0.3s forwards;
}
.hero-mark-line {
    width: 46px;
    height: 1px;
    background: var(--c-gold);
    flex-shrink: 0;
    box-shadow: 0 0 6px rgba(197, 165, 114, 0.6);
}
.hero-mark-text {
    font-family: var(--font-body);
    font-size: 0.72rem;
    color: #F5D896;
    letter-spacing: 0.36em;
    text-transform: uppercase;
    font-weight: 600;
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.95),
        0 2px 14px rgba(0, 0, 0, 0.8),
        0 0 30px rgba(0, 0, 0, 0.6);
}

/* TÍTULO · Playfair Display, alto contraste, estilo luxury real estate
   ───────────────────────────────────────────────────────────────────
   Para cambiar de fuente, modifica solo la propiedad font-family:
     · 'Playfair Display' → serif clásica de lujo (Vogue-style)        ← actual
     · 'Cormorant Garamond' → serif refinada y delgada
     · 'DM Serif Display' → serif modern de alto contraste
     · 'Italiana' → serif estilizada italiana, muy delgada
     · var(--font-display) → vuelve a Fraunces (original)
*/
.hero-title {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
    margin: 0 0 2rem 0;
    color: var(--c-white);
}
.hero-title-line {
    display: block;
    font-size: clamp(4rem, 11vw, 8.5rem);
    text-shadow: 0 6px 40px rgba(0,0,0,0.6), 0 2px 8px rgba(0,0,0,0.4);
    opacity: 0;
    animation: heroInTitle 1.4s ease-out forwards;
}
.hero-title-line:nth-child(1) { animation-delay: 0.5s; }
.hero-title-line:nth-child(2) { animation-delay: 0.75s; }
.hero-title-gold {
    color: var(--c-gold);
    font-weight: 500;
    text-shadow: 0 6px 40px rgba(0,0,0,0.5);
}

/* Logo grande del hero · sustituye al texto MARINA GOLD */
.hero-title--logo { margin-top: -3rem; margin-bottom: 0.4rem; }
.hero-logo {
    display: block;
    width: clamp(250px, 34vw, 485px);
    height: auto;
    /* LOGOAMARILLO forzado a blanco puro con CSS para el hero */
    filter: brightness(0) invert(1) drop-shadow(0 8px 40px rgba(0,0,0,0.55)) drop-shadow(0 2px 10px rgba(0,0,0,0.35));
    opacity: 0;
    transform: translateY(28px) scale(0.96);
    animation: heroLogoIn 1.4s cubic-bezier(0.2,0.7,0.2,1) 0.45s forwards;
    transition: transform 0.6s cubic-bezier(0.2,0.7,0.2,1), opacity 0.45s ease;
    transform-origin: left center;
    will-change: transform, opacity;
}
@keyframes heroLogoIn {
    to { opacity: 1; transform: translateY(0) scale(1); }
}
/* Al scrollear, el logo "viaja" al navbar: encoge y se desvanece */
body.scrolled .hero-logo {
    opacity: 0;
    transform: translateY(-180px) scale(0.18);
}

/* Línea divisora dorada */
.hero-divider {
    display: block;
    width: 64px;
    height: 1px;
    background: linear-gradient(90deg, var(--c-gold) 0%, transparent 100%);
    margin: 0 0 0.7rem 0;
    opacity: 0;
    animation: heroIn 1s ease-out 1s forwards;
}

.hero-sub {
    font-family: var(--font-body);
    font-size: clamp(0.98rem, 1.2vw, 1.1rem);
    max-width: 460px;
    color: rgba(255,255,255,0.88);
    font-weight: 300;
    line-height: 1.65;
    margin-bottom: 1.2rem;
    text-shadow: 0 2px 14px rgba(0,0,0,0.55);
    opacity: 0;
    animation: heroIn 1s ease-out 1.15s forwards;
}

/* BOTÓN EDITORIAL · estilo hotel boutique */
.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1rem 1.4rem 1rem 2rem;
    background: transparent;
    color: var(--c-white);
    border: 1px solid rgba(255,255,255,0.45);
    border-radius: 0;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
    isolation: isolate;
    opacity: 0;
    animation: heroIn 1s ease-out 1.3s forwards;
}
.btn-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--c-gold);
    transform: translateX(-101%);
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: -1;
}
.btn-hero:hover {
    color: var(--c-ink);
    border-color: var(--c-gold);
}
.btn-hero:hover::before { transform: translateX(0); }
.btn-hero-arrow {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.62rem;
    transition: background 0.4s, color 0.4s, transform 0.4s;
}
.btn-hero:hover .btn-hero-arrow {
    background: var(--c-ink);
    color: var(--c-gold);
    transform: translateX(4px);
}

/* SCROLL INDICATOR · más sutil y editorial */
.hero-scroll {
    position: absolute;
    bottom: 1.8rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
}
.hero-scroll-line {
    width: 1px;
    height: 56px;
    background: linear-gradient(to bottom, transparent 0%, var(--c-gold) 50%, transparent 100%);
    animation: scrollPulse 2.4s ease-in-out infinite;
}
.hero-scroll-text {
    font-size: 0.62rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; transform: scaleY(0.5); transform-origin: top; }
    50%      { opacity: 1;   transform: scaleY(1);   transform-origin: top; }
}

@keyframes heroIn {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
/* Para .hero-title-line que tiene su propio transform inicial */
.hero-title-line { animation-name: heroInTitle; }
@keyframes heroInTitle {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   8. BUILDING · sección "El proyecto"
   Split foto/texto arriba + 6 razones de inversión integradas abajo
============================================================ */
.building {
    background: var(--c-canvas);
    padding: 0;
    position: relative;
}
/* Variante sin imagen · texto centrado tipo editorial */
.building.building--text {
    padding: clamp(3.5rem, 8vh, 5.5rem) var(--container-pad);
}
.building.building--text .building-info {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
    padding: 0;
    align-items: center;
}
.building.building--text .building-divider {
    margin-left: auto;
    margin-right: auto;
}
.building.building--text .facts {
    justify-items: center;
    text-align: center;
}
.building-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    min-height: 465px;
}
.building-figure {
    position: relative;
    margin: 0;
    overflow: hidden;
    min-height: 100%;
}
.building-figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.building-info {
    padding: clamp(2rem, 6vh, 4.5rem) clamp(2rem, 5vw, 5rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 640px;
}
.building-info .display {
    margin: 0.5rem 0 0;
    font-size: clamp(2.2rem, 4vw, 3rem);
    line-height: 1.05;
    text-transform: uppercase;
    letter-spacing: 0.01em;
}
.building-divider {
    display: block;
    width: 70px;
    height: 2px;
    background: var(--c-gold);
    margin: 1.5rem 0 2rem;
}
.building-info .lead { margin-bottom: 1.4rem; color: var(--c-gray-700); }
/* Stats unificados del edificio · 6 cifras clave en grid compacto */
.building-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem 1.1rem;
    margin: 0 0 0.9rem;
    padding: 1.1rem 0 1.1rem;
    border-top: 1px solid var(--c-gray-300);
    border-bottom: 1px solid var(--c-gray-300);
}
.building-stats > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    text-align: left;
}
.building-stats dd {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.2vw, 1.9rem);
    line-height: 1;
    color: var(--c-gold-deep);
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}
.building-stats dt {
    font-size: 0.65rem;
    color: var(--c-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}
.building-stats-foot {
    margin: 0 0 1.8rem;
    font-size: 0.8rem;
    color: var(--c-gray-500);
    line-height: 1.5;
    font-style: italic;
}
.building-info .building-claim {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(1.1rem, 1.6vw, 1.35rem);
    color: var(--c-gold-deep);
    line-height: 1.3;
    margin-bottom: 2rem;
    padding-top: 0.3rem;
    border-top: 1px solid rgba(0,0,0,0.06);
    padding-top: 1.2rem;
}
.facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem 1.5rem;
    margin-bottom: 2rem;
    padding-top: 1.4rem;
    border-top: 1px solid var(--c-gray-300);
}
.facts > div { display: flex; flex-direction: column; gap: 0.3rem; }
.facts dt {
    font-size: var(--fs-xs);
    color: var(--c-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.facts dd {
    font-family: var(--font-display);
    font-size: 1.6rem;
    line-height: 1;
    color: var(--c-ink);
    margin: 0;
}

/* Bloque "6 razones" integrado dentro de la sección El proyecto */
.building-reasons {
    max-width: var(--container-max);
    margin: var(--space-7) auto 0;
    padding: 0 var(--container-pad);
}
.building-reasons-head {
    text-align: center;
    margin-bottom: var(--space-5);
}
.building-reasons-head .display {
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    margin-top: 0.4rem;
    color: var(--c-ink);
    text-transform: none;
}

.building-cta-bottom {
    display: inline-flex;
    margin: var(--space-5) auto 0;
    width: fit-content;
    padding: 0 var(--container-pad);
}
.building > .building-cta-bottom {
    display: flex;
    justify-content: center;
}

/* ============================================================
   9. AVAILABILITY · BUILDING EXPLORER 3D (sección estrella)
============================================================ */
.availability {
    padding: var(--space-7) var(--container-pad);
    background: linear-gradient(180deg, #0a0a0a 0%, #131313 100%);
    color: var(--c-white);
}
.availability > .section-head { max-width: var(--container-max); margin: 0 auto var(--space-5); }

/* Availability · catálogo de tipologías (24 cards reales) */

/* Hero del edificio · foto frontal + zonas interactivas */
.av-hero {
    position: relative;
    max-width: var(--container-max);
    margin: 0 auto var(--space-5);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 18px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05);
    background: #0c0c0c;
    isolation: isolate;
}
.av-hero-img {
    display: block;
    width: 100%;
    height: auto;
    user-select: none;
    pointer-events: none;
}

/* Viñeta sutil para legibilidad de etiquetas */
.av-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(180deg, rgba(0,0,0,0.20) 0%, transparent 25%, transparent 75%, rgba(0,0,0,0.25) 100%);
    pointer-events: none;
}

/* Capa interactiva (sólo visible cuando anchor=frontal) */
.av-hero-interactive {
    position: absolute;
    inset: 0;
    z-index: 3;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}
.av-hero[data-anchor="frontal"] .av-hero-interactive {
    opacity: 1;
    pointer-events: auto;
}

/* Zonas clickeables (calibradas a PERSPECTIVA 1) */
.av-zone {
    position: absolute;
    border: none;
    background: rgba(197,165,114,0);
    cursor: pointer;
    transition: background 0.3s ease, box-shadow 0.4s ease;
    border-radius: 6px;
    outline: none;
}
.av-zone:hover,
.av-zone.is-hover,
.av-zone:focus-visible {
    background: rgba(197,165,114,0.38);
    box-shadow:
        inset 0 0 0 3px var(--c-gold),
        inset 0 0 0 5px rgba(10,10,10,0.55),
        0 0 30px rgba(197,165,114,0.7),
        0 0 0 1px rgba(10,10,10,0.4);
    backdrop-filter: saturate(0.85) brightness(0.92);
    -webkit-backdrop-filter: saturate(0.85) brightness(0.92);
}
/* Cuando el filtro está activo: la zona queda iluminada permanentemente */
.av-zone.is-active {
    background: rgba(197,165,114,0.45);
    box-shadow:
        inset 0 0 0 3px var(--c-gold),
        inset 0 0 0 5px rgba(10,10,10,0.5),
        0 0 40px rgba(197,165,114,0.85);
}
/* Oscurecer la imagen del fondo cuando se hace hover sobre cualquier torre
   (zona o chip dorado). La torre activa queda destacada con su overlay dorado. */
.av-hero-img { transition: filter 0.45s ease; }
.av-hero.is-tower-hover .av-hero-img {
    filter: brightness(0.78) saturate(0.92);
}
/* Fallback moderno con :has para navegadores que soportan */
.av-hero:has(.av-zone:hover, .av-zone.is-hover, .av-tower-chip:hover) .av-hero-img {
    filter: brightness(0.78) saturate(0.92);
}

/* Cuando hay hover en torre, las otras dos zonas se atenúan sutilmente */
.av-hero.is-tower-hover .av-zone:not(.is-hover):not(:hover) {
    opacity: 0.5;
    transition: opacity 0.35s ease;
}

/* Calibrado a "7. RE_ Vista aerea central - copia.png" */
.av-zone--a { top: 40%; left: 10%; width: 26%; height: 38%; }
.av-zone--b { top: 27%; left: 35%; width: 30%; height: 36%; }
.av-zone--c { top: 40%; left: 64%; width: 26%; height: 38%; }

/* Etiquetas flotantes */
.av-tag {
    position: absolute;
    padding: 0.55rem 1rem 0.65rem;
    border-radius: 14px;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 500;
    color: var(--c-white);
    background: rgba(10,10,10,0.82);
    border: 1px solid rgba(197,165,114,0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    letter-spacing: 0.02em;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.1;
    gap: 0.15rem;
    transition: transform 0.35s cubic-bezier(0.22,1,0.36,1),
                border-color 0.35s ease,
                box-shadow 0.35s ease;
}
.av-tag strong {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 600;
    font-size: clamp(0.9rem, 1.4vw, 1.1rem);
    color: var(--c-white);
}
.av-tag small {
    font-family: var(--font-body);
    font-style: normal;
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--c-gold-soft, var(--c-gold));
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.15rem;
}
.av-tag small i { font-size: 0.7rem; opacity: 0.9; }
.av-tag::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -6px;
    transform: translateX(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background: inherit;
    border-right: 1px solid rgba(197,165,114,0.4);
    border-bottom: 1px solid rgba(197,165,114,0.4);
}
.av-tag.is-highlight {
    transform: translateY(-3px) scale(1.06);
    border-color: var(--c-gold);
    box-shadow: 0 12px 30px rgba(0,0,0,0.5),
                0 0 0 1px rgba(197,165,114,0.55);
}
.av-tag--b.is-highlight { transform: translateX(-50%) translateY(-3px) scale(1.06); }

.av-tag--a { top: 32%; left: 14%; }
.av-tag--b { top: 19%; left: 48%; transform: translateX(-50%); }
.av-tag--c { top: 32%; right: 14%; }

/* Grupos torre · etiqueta + chip dorado debajo */
.av-tower-group {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    z-index: 4;
    pointer-events: none; /* el chip recupera pointer-events */
}
.av-tower-group .av-tag {
    /* Anula el absolute heredado del selector .av-tag genérico */
    position: relative;
    top: auto; left: auto; right: auto;
    transform: none !important;
    pointer-events: auto;
}
/* Ocultar la flecha ::before del tag cuando va en grupo (el chip toma su lugar) */
.av-tower-group .av-tag::before { display: none; }

.av-tower-group--a { top: 30%; left: 22%;  transform: translateX(-50%); }
.av-tower-group--b { top: 19%; left: 48%;  transform: translateX(-50%); }
.av-tower-group--c { top: 30%; right: 18%; transform: translateX(50%);  }

.av-tower-chip {
    padding: 0.42rem 0.95rem;
    border-radius: 999px;
    border: 1px solid var(--c-gold);
    background: var(--c-gold);
    color: var(--c-ink);
    font-family: var(--font-body);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(197,165,114,0.45), 0 0 0 1px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    pointer-events: auto;
}
.av-tower-chip:hover:not(:disabled) {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 12px 26px rgba(197,165,114,0.6);
    background: #d4af6e;
}
.av-tower-chip:disabled {
    opacity: 0.95;
    cursor: not-allowed;
}
.av-tower-chip.is-active {
    background: var(--c-white);
    color: var(--c-ink);
    border-color: var(--c-white);
    box-shadow: 0 12px 26px rgba(255,255,255,0.35), 0 0 0 3px rgba(197,165,114,0.55);
    transform: translateY(-2px) scale(1.06);
}
.av-tower-chip.is-active::after {
    content: ' ✓';
    font-weight: 800;
}

/* Hint inferior */
.av-hero-hint {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 1.1rem;
    z-index: 4;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255,255,255,0.75);
    background: rgba(10,10,10,0.55);
    padding: 0.4rem 0.95rem;
    border-radius: 999px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* Filtros */
.av-filters {
    max-width: var(--container-max);
    margin: 0 auto 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
}
.av-filter-group {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}
.av-filter-label {
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.55);
}
.seg-control--dark {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
}
.seg-control--dark .seg-btn {
    color: rgba(255,255,255,0.6);
    background: transparent;
}
.seg-control--dark .seg-btn:hover { color: var(--c-white); background: rgba(255,255,255,0.06); }
.seg-control--dark .seg-btn.active {
    background: rgba(255,255,255,0.95);
    color: var(--c-ink);
    box-shadow: var(--shadow-sm);
}

/* Banner de resultados (aparece al filtrar) */
.av-result-bar {
    max-width: var(--container-max);
    margin: 0 auto 1.4rem;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.av-result-bar[hidden] { display: none; }
.av-result-bar.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.av-result-bar-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1rem 0.85rem 0.85rem;
    background: linear-gradient(135deg, rgba(197,165,114,0.18) 0%, rgba(197,165,114,0.08) 100%);
    border: 1px solid rgba(197,165,114,0.4);
    border-radius: var(--radius-md);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.av-result-badge {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--c-gold);
    color: var(--c-ink);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(197,165,114,0.5);
}
.av-result-text {
    flex: 1;
    color: var(--c-white);
    font-size: var(--fs-md);
    line-height: 1.3;
}
.av-result-text strong:first-of-type {
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: var(--c-gold);
    margin-right: 0.35rem;
}
.av-result-text strong:last-of-type {
    color: var(--c-white);
    font-weight: 600;
    margin-left: 0.25rem;
}
.av-result-clear {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1rem;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 999px;
    color: var(--c-white);
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.av-result-clear:hover {
    background: var(--c-white);
    color: var(--c-ink);
    border-color: var(--c-white);
}
.av-result-clear i { font-size: 0.7rem; }

/* Grid de 24 cards */
.av-grid {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.2rem;
}
.av-grid--empty::after {
    content: 'No hay tipologías que coincidan con los filtros.';
    grid-column: 1 / -1;
    text-align: center;
    color: rgba(255,255,255,0.45);
    padding: 3rem 1rem;
    font-style: italic;
}

.av-card {
    appearance: none;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
    color: inherit;
    text-align: left;
    padding: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    opacity: 1;
    transition: transform 0.4s cubic-bezier(0.22,1,0.36,1),
                opacity 0.35s ease,
                background 0.3s, border-color 0.3s, box-shadow 0.3s;
    animation: avCardIn 0.45s ease both;
    animation-delay: var(--av-stagger, 0ms);
}
.av-card:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,0.05);
    border-color: rgba(197,165,114,0.45);
    box-shadow: 0 18px 40px rgba(0,0,0,0.5);
}
.av-card--hidden {
    display: none !important;
}
@keyframes avCardIn {
    from { opacity: 0; transform: translateY(10px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.av-card-plan {
    aspect-ratio: 1 / 0.9;
    background: linear-gradient(135deg, #f8f6f1 0%, #ece6da 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.4rem;
    overflow: hidden;
}
.av-card-plan img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 6px 16px rgba(0,0,0,0.15));
    transition: transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
.av-card:hover .av-card-plan img { transform: scale(1.04); }

.av-card-body {
    padding: 1.1rem 1.2rem 1.3rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
}
.av-card-wing {
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--c-gold);
    font-weight: 600;
}
.av-card-id {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--c-white);
    margin: 0;
    line-height: 1.1;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.av-card-area {
    font-family: var(--font-body);
    font-size: var(--fs-sm);
    font-weight: 400;
    color: rgba(255,255,255,0.7);
}
.av-card-meta {
    font-size: var(--fs-sm);
    color: rgba(255,255,255,0.55);
    margin: 0;
}
.av-card-price {
    font-size: var(--fs-md);
    font-weight: 500;
    color: var(--c-white);
    margin: 0.25rem 0 0.4rem;
}
.av-card-inv {
    font-size: var(--fs-sm);
    color: var(--c-white);
    opacity: 0.85;
}
.av-card-inv strong {
    color: var(--c-gold);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.av-card-bar {
    height: 4px;
    background: rgba(255,255,255,0.08);
    border-radius: 2px;
    overflow: hidden;
    margin: 0.5rem 0 0.3rem;
}
.av-card-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #d97706 0%, #b91c1c 100%);
    transition: width 0.4s ease;
    border-radius: 2px;
}
.av-card--sold .av-card-bar-fill { background: #b91c1c; }

/* Mini-pills por torre dentro de la card (Norte / Centro / Sur) */
.av-card-towers {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.6rem;
    align-self: flex-start;
}
.av-card-tower-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.6rem;
    background: rgba(197,165,114,0.12);
    border: 1px solid rgba(197,165,114,0.28);
    border-radius: 999px;
    font-size: 0.64rem;
    color: var(--c-gold);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1;
}
.av-card-tower-pill--golf {
    background: rgba(197,165,114,0.08);
    border-color: rgba(197,165,114,0.22);
    color: var(--c-gold);
}

.av-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: var(--fs-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--c-gold);
    margin-top: 0.4rem;
    transition: gap 0.3s ease;
}
.av-card:hover .av-card-cta { gap: 0.8rem; }

/* Tag de estado SOLD/RESERVED sobre la card */
.av-card { position: relative; }
.av-card-statustag {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    z-index: 5;
    padding: 0.35rem 0.7rem;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--c-white);
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}
.av-card-statustag--sold {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
}
.av-card-statustag--reserved {
    background: linear-gradient(135deg, #d97706 0%, #92400e 100%);
}

/* Modificadores visuales del card según estado */
.av-card--sold {
    opacity: 0.92;
    position: relative;
}
.av-card--sold .av-card-plan {
    filter: grayscale(0.55) brightness(0.95);
}
/* Overlay rojo semi-transparente que aparece SOLO en hover */
.av-card--sold::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(220, 38, 38, 0.22);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: inherit;
    z-index: 4;
}
.av-card--sold:hover::after { opacity: 1; }
.av-card--sold:hover {
    border-color: rgba(220, 38, 38, 0.5);
    box-shadow: 0 18px 40px rgba(220, 38, 38, 0.25);
    transform: translateY(-4px);
}
/* El tag VENDIDO debe estar por encima del overlay */
.av-card--sold .av-card-statustag { z-index: 6; }

.av-card--sold .av-card-cta {
    color: rgba(255,255,255,0.4);
}
.av-card--sold .av-card-cta i { transform: rotate(-45deg); }
.av-card--reserved .av-card-plan {
    filter: brightness(0.98) saturate(0.9);
}
.av-card--reserved .av-card-cta { color: #d97706; }

/* Tag en el panel detalle */
.up-visual { position: relative; }
.up-statustag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 5;
    padding: 0.5rem 0.95rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--c-white);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.up-statustag--sold     { background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%); }
.up-statustag--reserved { background: linear-gradient(135deg, #d97706 0%, #92400e 100%); }

/* Bloque "Modelo vendido" en el panel detalle */
.up-soldout {
    padding: 1.1rem 1.2rem;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.08) 0%, rgba(153, 27, 27, 0.06) 100%);
    border: 1px solid rgba(220, 38, 38, 0.25);
    border-radius: 8px;
    text-align: center;
}
.up-soldout strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: #991b1b;
    margin-bottom: 0.3rem;
    letter-spacing: 0.02em;
}
.up-soldout p {
    margin: 0 0 0.85rem;
    font-size: 0.85rem;
    color: var(--c-gray-700, #555);
    line-height: 1.4;
}

/* Nota inline cuando está RESERVADO */
.up-reserved-note {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.7rem 0.9rem;
    background: rgba(217, 119, 6, 0.08);
    border: 1px solid rgba(217, 119, 6, 0.25);
    border-radius: 6px;
    font-size: 0.8rem;
    color: #92400e;
    line-height: 1.4;
}
.up-reserved-note i { color: #d97706; margin-top: 2px; }

.av-disclaimer {
    max-width: var(--container-max);
    margin: 2.5rem auto 0;
    text-align: center;
    font-size: var(--fs-xs);
    color: rgba(255,255,255,0.4);
    font-style: italic;
    line-height: 1.6;
}

/* Tablet */
@media (max-width: 900px) {
    .av-tag { padding: 0.4rem 0.75rem; }
    .av-tag strong { font-size: 0.85rem; }
    .av-tag small { font-size: 0.6rem; letter-spacing: 0.08em; }
    .av-tag--a { top: 20%; left: 14%; }
    .av-tag--b { top: 4%; }
    .av-tag--c { top: 20%; right: 12%; }
    .av-tower-chip { padding: 0.32rem 0.7rem; font-size: 0.58rem; letter-spacing: 0.1em; }
    .av-tower-group { gap: 0.4rem; }
    .av-tower-group--a { top: 22%; left: 18%; }
    .av-tower-group--b { top: 8%; }
    .av-tower-group--c { top: 22%; right: 14%; }
}

/* Mobile */
@media (max-width: 640px) {
    .av-hero { border-radius: var(--radius-sm); }
    .av-tag { padding: 0.3rem 0.55rem; gap: 0.08rem; }
    .av-tag strong { font-size: 0.72rem; }
    .av-tag small { font-size: 0.52rem; }
    .av-tag--a { top: 18%; left: 10%; }
    .av-tag--b { top: 2%; }
    .av-tag--c { top: 18%; right: 8%; }
    .av-tower-chip { padding: 0.28rem 0.6rem; font-size: 0.52rem; }
    .av-tower-group { gap: 0.3rem; }
    .av-tower-group--a { top: 20%; left: 16%; }
    .av-tower-group--b { top: 6%; }
    .av-tower-group--c { top: 20%; right: 12%; }
    .av-hero-hint { font-size: 0.6rem; bottom: 0.7rem; padding: 0.3rem 0.7rem; }
    .av-filters { gap: 1rem; }
    .av-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0.9rem; }
    .av-result-bar-inner { padding: 0.7rem; gap: 0.65rem; flex-wrap: wrap; }
    .av-result-badge { width: 32px; height: 32px; font-size: 0.95rem; }
    .av-result-text { font-size: var(--fs-sm); flex: 1 1 auto; }
    .av-result-text strong:first-of-type { font-size: 1.1rem; }
    .av-result-clear { padding: 0.4rem 0.75rem; font-size: 0.65rem; }
    .av-result-clear span { display: none; }
}

/* Panel lateral con detalle de unidad */
/* ============================================================
   PANEL DE TIPOLOGÍA · modal split-screen estilo ficha inmobiliaria
============================================================ */
.unit-panel {
    position: fixed;
    inset: 0;
    z-index: 1500;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}
.unit-panel.open { display: flex; }

/* Modo split: el panel se centra en el espacio libre a la izquierda del chatbot */
@media (min-width: 901px) {
    .unit-panel.is-split {
        justify-content: center;
        padding-left: 2rem;
        padding-right: 380px; /* espacio reservado para el chatbot a la derecha */
        pointer-events: none; /* el card recupera pointer-events más abajo */
    }
    .unit-panel.is-split .unit-panel-backdrop {
        background: rgba(0,0,0,0.35);
        pointer-events: auto;
    }
    .unit-panel.is-split .unit-panel-card {
        pointer-events: auto;
        max-width: 820px;
        animation: panelSlideLeft 0.5s cubic-bezier(0.22, 1, 0.36, 1);
        transition: max-width 0.5s ease, transform 0.5s ease;
    }
    .unit-panel.is-split .unit-panel-body {
        grid-template-columns: 1fr 1fr;
    }
}
@keyframes panelSlideLeft {
    0%   { transform: translateX(3vw) scale(0.98); opacity: 0.7; }
    100% { transform: translateX(0) scale(1); opacity: 1; }
}

.unit-panel-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease;
    transition: background 0.5s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.unit-panel-card {
    position: relative;
    width: 100%;
    max-width: 1080px;
    max-height: calc(100vh - 4rem);
    background: var(--c-canvas);
    border-radius: var(--radius-md);
    box-shadow: 0 40px 100px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05);
    overflow: hidden;
    animation: panelIn 0.42s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    flex-direction: column;
}
@keyframes panelIn {
    from { opacity: 0; transform: translateY(20px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.unit-panel-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.95);
    font-size: 1.4rem;
    line-height: 1;
    box-shadow: var(--shadow-sm);
    color: var(--c-ink);
    z-index: 10;
    cursor: pointer;
    transition: transform 0.3s, background 0.3s;
}
.unit-panel-close:hover {
    transform: rotate(90deg);
    background: var(--c-gold);
}

.unit-panel-body {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    overflow: hidden;
    flex: 1;
    min-height: 0;
}

/* Columna izquierda · plano + ubicación */
.up-visual {
    background: linear-gradient(135deg, #f8f6f1 0%, #ece6da 100%);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow: hidden;
    border-right: 1px solid var(--c-gray-200);
}
.up-img {
    flex: 1;
    min-height: 0;
    width: 100%;
    object-fit: contain;
    margin: 0;
    background: transparent;
    padding: 0;
    filter: drop-shadow(0 12px 30px rgba(0,0,0,0.12));
}
.up-location {
    flex-shrink: 0;
    margin: 0;
    padding: 0.75rem;
    background: rgba(255,255,255,0.65);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 0.85rem;
}
.up-location-label {
    flex-shrink: 0;
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--c-gray-500);
    font-weight: 700;
    max-width: 110px;
    line-height: 1.3;
}
.up-location-img {
    flex: 1;
    max-height: 70px;
    width: auto;
    object-fit: contain;
    display: block;
    margin-left: auto;
}

/* Columna derecha · info compacta */
.up-info {
    padding: 2rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    overflow-y: auto;
}

.up-wing {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--c-ink);
    background: var(--c-gold);
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 14px rgba(197,165,114,0.4);
}
.up-code {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--c-ink);
    line-height: 1.1;
    margin: 0;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.up-area {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: var(--fs-md);
    color: var(--c-gray-500);
}
.up-price {
    font-family: var(--font-display);
    font-size: 1.45rem;
    color: var(--c-gold-deep);
    margin: 0 0 0.3rem;
    font-weight: 500;
}
.up-tower {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.2rem 0 0.8rem;
    padding: 0.4rem 0.85rem;
    background: rgba(197,165,114,0.10);
    border: 1px solid rgba(197,165,114,0.3);
    border-radius: 999px;
    color: var(--c-gold-deep);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.up-tower i { font-size: 0.78rem; opacity: 0.85; }
.up-tower-view { color: var(--c-gray-500); font-weight: 500; }

.up-specs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0.85rem 0;
    margin: 0;
    border-top: 1px solid var(--c-gray-200);
    border-bottom: 1px solid var(--c-gray-200);
}
.up-spec {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.6rem;
    padding: 0.4rem 0;
    border: none;
}
.up-spec dt {
    font-size: var(--fs-sm);
    color: var(--c-gray-500);
    text-transform: none;
    letter-spacing: 0;
    margin: 0;
}
.up-spec dd {
    font-size: var(--fs-md);
    color: var(--c-ink);
    font-weight: 500;
    margin: 0;
    font-variant-numeric: tabular-nums;
}
.up-spec--total {
    border-top: 1px dotted var(--c-gray-300, var(--c-gray-200));
    padding-top: 0.55rem;
    margin-top: 0.15rem;
}
.up-spec--total dt,
.up-spec--total dd {
    font-weight: 700;
    color: var(--c-ink);
    font-size: 1rem;
}

.up-desc {
    color: var(--c-gray-700, #555);
    font-size: var(--fs-sm);
    line-height: 1.55;
    margin: 0;
}

.up-actions {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-top: auto;
    padding-top: 0.5rem;
}
.up-actions .btn--full,
.up-actions .up-tour { width: 100%; }

/* Tour 360° · botón con presencia y movimiento que invita a hacer click */
.up-tour {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
    white-space: nowrap;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    color: var(--c-ink);
    cursor: pointer;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(197,165,114,0.18) 0%, rgba(197,165,114,0.08) 100%);
    border: 1px solid rgba(197,165,114,0.6);
    padding: 0.85rem 1.1rem;
    border-radius: var(--radius-pill);
    transition: background 0.35s ease, border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
    position: relative;
    overflow: hidden;
}
.up-tour i {
    font-size: 1rem;
    color: var(--c-gold-deep);
    transition: transform 0.5s cubic-bezier(0.22,1,0.36,1), color 0.35s ease;
}
.up-tour::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.5) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 1s ease;
    pointer-events: none;
}
.up-tour:hover {
    background: var(--c-gold);
    border-color: var(--c-gold);
    color: var(--c-ink);
    box-shadow: 0 8px 22px rgba(197,165,114,0.45);
    transform: translateY(-1px);
}
.up-tour:hover i {
    transform: rotate(-15deg) scale(1.15);
    color: var(--c-ink);
}
.up-tour:hover::after {
    transform: translateX(100%);
}

.up-disclaimer {
    margin: 0;
    font-size: 0.66rem;
    color: var(--c-gray-500);
    font-style: italic;
    line-height: 1.45;
}

/* Responsive · tablet (panel se mantiene split pero más compacto) */
@media (max-width: 960px) {
    .unit-panel { padding: 1rem; }
    .unit-panel-card { max-height: calc(100vh - 2rem); }
    .up-visual { padding: 1.25rem; }
    .up-info { padding: 1.5rem; gap: 0.7rem; }
    .up-code { font-size: 1.7rem; }
    .up-price { font-size: 1.25rem; }
}

/* Responsive · móvil (colapsa a vertical, plano arriba) */
@media (max-width: 720px) {
    .unit-panel { padding: 0; }
    .unit-panel-card {
        max-height: 100vh;
        height: 100vh;
        border-radius: 0;
        max-width: 100%;
    }
    .unit-panel-body {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
        overflow-y: auto;
    }
    .up-visual {
        padding: 1.2rem;
        border-right: none;
        border-bottom: 1px solid var(--c-gray-200);
        aspect-ratio: 4/3;
        max-height: 42vh;
    }
    .up-location { display: none; } /* En móvil ocultamos el iso para no quitar espacio del plano */
    .up-info { padding: 1.2rem 1.2rem 1.5rem; overflow: visible; }
    .up-actions { grid-template-columns: 1fr; }
    .up-actions .btn--primary { grid-column: auto; }
}

/* ============================================================
   10. SHOWROOM 360 · catálogo de cards por tipología
============================================================ */
.showroom {
    padding: var(--space-7) var(--container-pad);
    background: var(--c-ink);
    color: var(--c-white);
}
.showroom > .section-head {
    max-width: var(--container-max);
    margin: 0 auto var(--space-5);
}
.showroom > .section-head .eyebrow { color: var(--c-gold-soft); }
.showroom > .section-head .display { color: var(--c-white); }
.showroom > .section-head .lead { color: rgba(255,255,255,0.65); }

.showroom-grid {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

.showroom-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                background 0.3s, border-color 0.3s;
}
.showroom-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(197, 165, 114, 0.4);
}

.showroom-card-visual {
    position: relative;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #f8f6f1 0%, #ece6da 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 1.8rem;
}
.showroom-card-visual img {
    max-width: 92%;
    max-height: 92%;
    object-fit: contain;
    transition: transform 0.5s ease;
}
.showroom-card:hover .showroom-card-visual img {
    transform: scale(1.04);
}
.showroom-card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--c-gold);
    background: rgba(0, 0, 0, 0.55);
    padding: 0.35rem 0.75rem;
    border-radius: 2px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(197, 165, 114, 0.3);
}
.showroom-card-vr {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--c-gold);
    color: var(--c-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(197, 165, 114, 0.4);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.showroom-card:hover .showroom-card-vr {
    transform: rotate(360deg) scale(1.1);
}

.showroom-card-body {
    padding: 1.5rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.showroom-card-body h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--c-white);
    margin: 0 0 0.6rem;
    line-height: 1.1;
}
.showroom-card-body p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.55;
    margin: 0 0 1.4rem;
    flex: 1;
}
.showroom-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    background: transparent;
    color: var(--c-white);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: color 0.4s, border-color 0.4s;
}
.showroom-card-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--c-gold);
    transform: translateX(-101%);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: -1;
}
.showroom-card-btn:hover {
    color: var(--c-ink);
    border-color: var(--c-gold);
}
.showroom-card-btn:hover::before { transform: translateX(0); }
.showroom-card-btn i { font-size: 0.85em; }

/* ============================================================
   11. AMENITIES · grid 4x2 de cards estilo editorial
============================================================ */
.amenities {
    padding: var(--space-7) var(--container-pad);
    background: #0F0F0F;
    color: var(--c-white);
}
.amenities > .section-head { max-width: var(--container-max); margin: 0 auto var(--space-5); }
.amenities > .section-head .lead { color: rgba(255, 255, 255, 0.6); }

.amen-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.9rem;
    max-width: var(--container-max);
    margin: 0 auto;
}

.amen-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/5;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 2px;
    isolation: isolate;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.amen-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.20) 0%,
        rgba(0, 0, 0, 0.40) 55%,
        rgba(0, 0, 0, 0.88) 100%
    );
    z-index: 1;
    transition: opacity 0.4s ease;
}
.amen-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    z-index: 0;
    transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.amen-card:hover::after { transform: scale(1.08); }
.amen-card:hover { transform: translateY(-3px); }

.amen-card-num {
    position: absolute;
    top: 1rem;
    left: 1.1rem;
    z-index: 2;
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--c-gold);
    opacity: 0.7;
    line-height: 1;
    letter-spacing: -0.02em;
    transition: opacity 0.4s, transform 0.4s;
}
.amen-card:hover .amen-card-num { opacity: 1; transform: translateY(-3px); }

.amen-card-icon {
    position: absolute;
    top: 1rem;
    right: 1.1rem;
    z-index: 2;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(197, 165, 114, 0.4);
    color: var(--c-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    backdrop-filter: blur(8px);
    transition: background 0.3s, color 0.3s, transform 0.3s;
}
.amen-card:hover .amen-card-icon {
    background: var(--c-gold);
    color: var(--c-ink);
    transform: scale(1.08);
}

.amen-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 1.4rem 1.3rem 1.3rem;
    color: var(--c-white);
}
.amen-card-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.1;
    margin: 0 0 0.3rem;
    color: var(--c-white);
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
}
.amen-card-meta {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--c-gold-soft);
    font-weight: 600;
}

/* ============================================================
   12. MOMENTOS (día / atardecer / noche)
============================================================ */
.moments {
    padding: var(--space-7) var(--container-pad);
    background: var(--c-black);
    color: var(--c-white);
}
.moments > .section-head { max-width: var(--container-max); margin: 0 auto var(--space-5); }
.moments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: var(--container-max);
    margin: 0 auto;
}
.moment {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    border-radius: var(--radius-md);
    cursor: default;
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-base);
}
.moment img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.9s ease, filter var(--transition-base);
    filter: brightness(0.82);
}
.moment:hover img { transform: scale(1.06); filter: brightness(1); }
.moment:hover { transform: translateY(-4px); }
.moment figcaption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 2rem 1.5rem 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0));
    color: var(--c-white);
}
.moment-label {
    display: block;
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--c-gold);
    margin-bottom: 0.3rem;
}
.moment-desc { display: block; font-size: var(--fs-sm); color: rgba(255,255,255,0.85); }

/* ============================================================
   13. LOCATION
============================================================ */
.location {
    padding: var(--space-7) var(--container-pad);
    background: var(--c-canvas);
}
.location-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: center;
    max-width: var(--container-max);
    margin: 0 auto;
}
.location-body .display { margin-bottom: 1.1rem; }
.location-body > p { margin-bottom: 1.4rem; color: var(--c-gray-700); max-width: 50ch; }
.poi-list {
    margin-bottom: 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.poi-list li {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    padding-bottom: 0.55rem;
    border-bottom: 1px solid var(--c-gray-200);
    font-size: var(--fs-md);
    color: var(--c-graphite);
}
.poi-list strong {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--c-gold-deep);
    font-weight: 500;
    min-width: 90px;
}

.value-callout {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 1.8rem;
    background: var(--c-ink);
    color: var(--c-white);
    border-radius: var(--radius-md);
}
.value-num {
    font-family: var(--font-display);
    font-size: 3rem;
    line-height: 1;
    color: var(--c-gold);
    font-weight: 400;
}
.value-num small { font-size: 0.4em; color: var(--c-gold-soft); vertical-align: super; }
.value-text { font-size: var(--fs-sm); color: rgba(255,255,255,0.75); }

.location-map {
    aspect-ratio: 4/5;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.location-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ============================================================
   14. GALLERY (masonry)
============================================================ */
.gallery {
    padding: var(--space-7) 0;
    background: var(--c-black);
    color: var(--c-white);
}
.gallery > .section-head {
    max-width: var(--container-max);
    margin: 0 auto var(--space-5);
    padding: 0 var(--container-pad);
}
.gallery > .section-head .lead { color: rgba(255,255,255,0.6); }

/* GRID 2x2 de paneles full-width */
.gal-categories {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    background: var(--c-black);
}

.gal-cat {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 16/10;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    isolation: isolate;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.gal-cat::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.20) 0%,
        rgba(0, 0, 0, 0.45) 60%,
        rgba(0, 0, 0, 0.85) 100%
    );
    z-index: 1;
    transition: opacity 0.6s ease;
}
.gal-cat::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    z-index: 0;
    transform: scale(1);
    transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.gal-cat:hover::after { transform: scale(1.06); }
.gal-cat:hover::before {
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.10) 0%,
        rgba(0, 0, 0, 0.30) 50%,
        rgba(0, 0, 0, 0.90) 100%
    );
}

.gal-cat-content {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: clamp(2rem, 4vw, 3.5rem);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    color: var(--c-white);
}
.gal-cat-num {
    position: absolute;
    top: clamp(2rem, 4vw, 3rem);
    left: clamp(2rem, 4vw, 3.5rem);
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    color: var(--c-gold);
    line-height: 1;
    opacity: 0.55;
    letter-spacing: -0.02em;
    transition: opacity 0.4s, transform 0.4s;
}
.gal-cat:hover .gal-cat-num { opacity: 1; transform: translateY(-4px); }

.gal-cat-eyebrow {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.32em;
    color: var(--c-gold-soft);
    font-weight: 600;
    margin-bottom: 0.8rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
.gal-cat-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 500;
    line-height: 1;
    margin: 0 0 0.5rem;
    color: var(--c-white);
    text-shadow: 0 4px 24px rgba(0,0,0,0.6);
}
.gal-cat-desc {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.78);
    max-width: 380px;
    line-height: 1.5;
    margin: 0 0 1.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.gal-cat-action {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.7rem 1.1rem;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.45);
    color: var(--c-white);
    border-radius: 2px;
    font-size: 0.68rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: color 0.4s, border-color 0.4s;
}
.gal-cat-action::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--c-gold);
    transform: translateX(-101%);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: -1;
}
.gal-cat:hover .gal-cat-action { color: var(--c-ink); border-color: var(--c-gold); }
.gal-cat:hover .gal-cat-action::before { transform: translateX(0); }
.gal-cat-count {
    font-family: var(--font-display);
    font-size: 0.85rem;
    color: var(--c-gold-soft);
    letter-spacing: 0.05em;
    margin-left: 0.6rem;
    opacity: 0.85;
}

.gal-video-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 0 var(--container-pad);
}
.gal-video-cta .btn { border-color: var(--c-gold); color: var(--c-gold); }
.gal-video-cta .btn:hover { background: var(--c-gold); color: var(--c-ink); border-color: var(--c-gold); }

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 6000;
    background: rgba(0,0,0,0.95);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    animation: fadeIn 0.3s ease;
}
.lightbox.open { display: flex; }
.lightbox img {
    max-width: 92vw;
    max-height: 88vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
}
.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: var(--c-white);
    font-size: 2.2rem;
    line-height: 1;
    transition: transform var(--transition-fast);
    z-index: 10;
}
.lightbox-close:hover { transform: rotate(90deg); color: var(--c-gold); }
.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--c-white);
    border-radius: 50%;
    font-size: 1.6rem;
    transition: all var(--transition-fast);
    backdrop-filter: blur(4px);
}
.lightbox-arrow:hover { background: var(--c-gold); color: var(--c-ink); border-color: var(--c-gold); }
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }
.lightbox-counter {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.6);
    font-size: var(--fs-xs);
    letter-spacing: 0.1em;
}

/* ============================================================
   15. TEAM (humaniza WhatsApp)
============================================================ */
.team {
    padding: var(--space-8) var(--container-pad);
    background: var(--c-canvas);
}
.team > .section-head { max-width: var(--container-max); margin: 0 auto var(--space-5); }
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    max-width: var(--container-max);
    margin: 0 auto;
}
.team-card {
    background: var(--c-white);
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--c-gray-200);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--c-gold-soft), var(--c-gold-deep));
    color: var(--c-white);
    font-family: var(--font-display);
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    overflow: hidden;
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--c-ink);
    margin-bottom: 0.3rem;
}
.team-role {
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--c-gray-500);
    margin-bottom: 1.2rem;
}
.team-bio {
    font-size: var(--fs-sm);
    color: var(--c-gray-700);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}
.team-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.3rem;
    background: #25D366;
    color: var(--c-white);
    border-radius: var(--radius-pill);
    font-size: var(--fs-sm);
    font-weight: 600;
    transition: background var(--transition-fast);
}
.team-cta:hover { background: #1da851; }

/* ============================================================
   16. CONTACT
============================================================ */
.contact {
    padding: var(--space-8) var(--container-pad);
    background: var(--c-ink);
    color: var(--c-white);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 4rem;
    max-width: var(--container-max);
    margin: 0 auto;
}
.contact-body .display { color: var(--c-white); margin-bottom: 1rem; }
.contact-body .lead { color: rgba(255,255,255,0.7); margin-bottom: 2.5rem; }
.contact-body .eyebrow { color: var(--c-gold); }

/* Mini-form reutilizable (contacto, brochure, lead) */
.mini-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.field label {
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.6);
}
.contact-form .field label { color: rgba(255,255,255,0.6); }
.mini-form input,
.mini-form select,
.mini-form textarea {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1rem;
    color: var(--c-white);
    font-size: var(--fs-base);
    transition: border-color var(--transition-fast), background var(--transition-fast);
}
.mini-form input:focus,
.mini-form select:focus,
.mini-form textarea:focus {
    border-color: var(--c-gold);
    background: rgba(255,255,255,0.1);
    outline: none;
}
.field--row {
    flex-direction: row;
    gap: 1rem;
}
.field-prefix { flex: 0 0 130px; display: flex; flex-direction: column; gap: 0.4rem; }
.field-phone { flex: 1; display: flex; flex-direction: column; gap: 0.4rem; }
.mini-form select option { background: var(--c-ink); color: var(--c-white); }
.form-disclaimer {
    font-size: var(--fs-xs);
    color: rgba(255,255,255,0.5);
    line-height: 1.5;
}
.form-disclaimer a { color: var(--c-gold); text-decoration: underline; }
.form-status {
    font-size: var(--fs-sm);
    margin-top: 0.5rem;
    text-align: center;
    min-height: 1.4em;
}
.form-status.success { color: #2BA15A; }
.form-status.error { color: #FF6B6B; }

/* Contact side */
.contact-side .contact-info {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    padding: 1.8rem;
    margin-bottom: 1.5rem;
}
.contact-info h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: var(--c-white);
}
.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    transition: color var(--transition-fast);
}
.contact-method:first-of-type { border-top: none; padding-top: 0; }
.contact-method:hover { color: var(--c-gold); }
.contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-gold);
    font-size: 1.1rem;
    transition: background var(--transition-fast);
}
.contact-method:hover .contact-icon { background: var(--c-gold); color: var(--c-ink); }
.contact-method--wa .contact-icon { color: #25D366; }
.contact-method--wa:hover .contact-icon { background: #25D366; color: var(--c-white); }
.contact-label {
    display: block;
    font-size: var(--fs-xs);
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.2rem;
}
.contact-value { font-size: var(--fs-base); color: var(--c-white); }
.contact-office {
    padding: 1.5rem 1.8rem;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
}
.contact-office p { color: rgba(255,255,255,0.7); margin-top: 0.5rem; }

/* ============================================================
   17. FOOTER
============================================================ */
.footer {
    background: var(--c-black);
    color: var(--c-white);
    padding: var(--space-6) var(--container-pad) 2rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1.2fr 1fr;
    gap: 3rem;
    max-width: var(--container-max);
    margin: 0 auto var(--space-4);
}
.footer-brand .footer-logo { width: 130px; margin-bottom: 1.1rem; }
.footer-tagline {
    font-size: var(--fs-sm);
    color: rgba(255,255,255,0.62);
    line-height: 1.55;
    margin-bottom: 1.2rem;
    max-width: 320px;
}
.footer-dev {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-size: var(--fs-xs);
}
.footer-dev span {
    color: rgba(255,255,255,0.45);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
    white-space: nowrap;
}
.footer-dev-logo {
    width: 130px;
    height: auto;
    opacity: 0.85;
    transition: opacity 0.3s ease;
    flex-shrink: 0;
}
.footer-dev-logo:hover { opacity: 1; }

/* ============================================================
   UNLOCK GATE · estilos para contenido bloqueado
============================================================ */
/* Amenidad bloqueada: foto un poco oscurecida + lock icon */
.amen-card--locked {
    position: relative;
}
.amen-card--locked::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.55) 100%);
    pointer-events: none;
    z-index: 1;
}
.amen-card--locked .amen-card-content,
.amen-card--locked .amen-card-num,
.amen-card--locked .amen-card-icon { z-index: 2; }
.amen-card--locked .amen-card-icon {
    background: rgba(197,165,114,0.95);
    color: var(--c-ink);
}

/* Card grande de bloqueo en el catálogo · sustituye al grid completo cuando NO hay unlock */
.av-locked-card {
    grid-column: 1 / -1;
    max-width: 620px;
    margin: 2rem auto;
    padding: 3rem 2.5rem;
    text-align: center;
    border: 1px solid rgba(197,165,114,0.35);
    background: linear-gradient(145deg, rgba(20,18,16,0.85) 0%, rgba(30,26,22,0.85) 100%);
    border-radius: 18px;
    backdrop-filter: blur(8px);
}
.av-locked-icon {
    width: 78px;
    height: 78px;
    margin: 0 auto 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(197,165,114,0.22);
    border: 1.5px solid rgba(197,165,114,0.55);
    color: var(--c-gold);
    font-size: 2rem;
    box-shadow: 0 0 0 6px rgba(197,165,114,0.08), inset 0 1px 0 rgba(255,255,255,0.06);
}
.av-locked-icon i { line-height: 1; }
.av-locked-title {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
    color: var(--c-white);
    margin: 0 0 0.7rem;
    letter-spacing: 0.01em;
}
.av-locked-text {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0 0 1.6rem;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
}
.av-locked-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.footer-nav, .footer-contact, .footer-connect {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.footer-nav h4, .footer-contact h4, .footer-connect h4 {
    font-family: var(--font-body);
    font-size: var(--fs-xs);
    color: var(--c-gold);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 0.9rem;
    font-weight: 600;
}
.footer-nav a {
    font-size: var(--fs-sm);
    color: rgba(255,255,255,0.65);
    transition: color var(--transition-fast), padding-left var(--transition-fast);
}
.footer-nav a:hover { color: var(--c-gold); padding-left: 0.35rem; }

.footer-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-size: var(--fs-sm);
    color: rgba(255,255,255,0.65);
    transition: color var(--transition-fast);
    padding: 0.15rem 0;
}
.footer-contact-item:hover { color: var(--c-gold); }
.footer-contact-item--static { color: rgba(255,255,255,0.5); cursor: default; }
.footer-contact-item--static:hover { color: rgba(255,255,255,0.5); }
.footer-contact-item i {
    width: 16px;
    color: var(--c-gold);
    font-size: 0.82rem;
    text-align: center;
}

.footer-brochure-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 0.4rem;
    padding: 0.5rem 0.9rem;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 999px;
    color: rgba(255,255,255,0.85);
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}
.footer-brochure-link:hover {
    background: var(--c-gold);
    color: var(--c-ink);
    border-color: var(--c-gold);
}
.footer-brochure-link i { font-size: 0.78rem; }

.social-row { display: flex; gap: 1rem; margin-bottom: 1rem; }
.social-row a {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast), color var(--transition-fast);
}
.social-row a:hover { background: var(--c-gold); color: var(--c-ink); }
.footer-legal {
    font-size: var(--fs-xs);
    color: rgba(255,255,255,0.4);
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color var(--transition-fast);
}
.footer-legal:hover { color: var(--c-gold); }

.footer-bottom {
    max-width: var(--container-max);
    margin: 0 auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    font-size: var(--fs-xs);
    color: rgba(255,255,255,0.35);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.footer-disclaimer {
    flex: 1 1 auto;
    text-align: center;
    font-style: italic;
    color: rgba(255,255,255,0.28);
    max-width: 560px;
    line-height: 1.4;
}
.footer-admin {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.18);
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: color var(--transition-fast);
    padding: 4px 8px;
}
.footer-admin:hover { color: var(--c-gold); }

/* ============================================================
   18. MODALES
============================================================ */
.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    animation: fadeIn 0.25s ease;
}
.modal.open { display: flex; }
.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.modal-content {
    position: relative;
    background: var(--c-canvas);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    max-width: 950px;
    width: 100%;
    max-height: 92vh;
    overflow-y: auto;
    animation: modalIn 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes modalIn {
    from { opacity: 0; transform: scale(0.96) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--c-white);
    color: var(--c-ink);
    font-size: 1.5rem;
    line-height: 1;
    box-shadow: var(--shadow-sm);
    z-index: 10;
    transition: transform var(--transition-fast);
}
.modal-close:hover { transform: rotate(90deg); }

.modal-content--video {
    background: var(--c-black);
    aspect-ratio: 16/9;
    padding: 0;
    overflow: hidden;
}
.modal-content--video iframe { width: 100%; height: 100%; border: 0; }
.modal-content--video .modal-close { background: rgba(0,0,0,0.6); color: var(--c-white); }

.modal-content--showroom {
    width: 90vw;
    height: 90vh;
    max-width: 1400px;
    max-height: none;
    padding: 0;
    background: var(--c-ink);
    color: var(--c-white);
    display: flex;
    flex-direction: column;
}
.showroom-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: var(--c-graphite);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-size: var(--fs-sm);
    color: var(--c-white);
}
.showroom-modal-head a {
    color: var(--c-gold);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color var(--transition-fast);
}
.showroom-modal-head a:hover { color: var(--c-white); }
.showroom-modal-head .modal-close {
    position: static;
    background: transparent;
    color: var(--c-white);
    box-shadow: none;
    margin-left: 1rem;
}
.modal-content--showroom iframe { flex: 1; width: 100%; border: 0; }

.modal-content--mini {
    max-width: 460px;
    padding: 2.5rem 2rem 2rem;
}
.mini-modal-head { text-align: center; margin-bottom: 1.5rem; }
.mini-logo { width: 90px; margin: 0 auto 1rem; }
.mini-modal-head h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--c-ink);
    margin-bottom: 0.5rem;
}
.mini-modal-head p { color: var(--c-gray-500); font-size: var(--fs-sm); }
.modal-content--mini .mini-form input,
.modal-content--mini .mini-form select {
    background: var(--c-white);
    border-color: var(--c-gray-300);
    color: var(--c-ink);
}
.modal-content--mini .field label { color: var(--c-gray-500); }
.modal-content--mini .mini-form select option { background: var(--c-white); color: var(--c-ink); }

.modal-content--lead {
    max-width: 1000px;
    padding: 0;
    overflow: hidden;
}
.lead-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 540px;
}
.lead-left {
    background: var(--c-ink);
    color: var(--c-white);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
}
.lead-left .eyebrow { color: var(--c-gold); }
.lead-left h3 {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 400;
    line-height: 1;
    margin-bottom: 0.5rem;
}
.lead-meta { color: rgba(255,255,255,0.6); margin-bottom: 0.5rem; font-size: var(--fs-sm); }
.lead-price {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--c-gold);
    margin-bottom: 1.5rem;
}
.lead-img-wrap {
    flex: 1;
    background: rgba(255,255,255,0.03);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    max-height: 240px;
}
.lead-img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lead-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: var(--fs-sm);
    color: rgba(255,255,255,0.7);
}
.lead-specs li { display: flex; justify-content: space-between; }
.lead-specs li strong { color: var(--c-white); font-weight: 500; }

.lead-right {
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
}
.lead-right h4 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--c-ink);
    margin-bottom: 0.5rem;
}
.lead-right .lead-sub { font-size: var(--fs-sm); color: var(--c-gray-500); margin-bottom: 1.5rem; }
.lead-right .mini-form input,
.lead-right .mini-form select {
    background: var(--c-canvas);
    border-color: var(--c-gray-300);
    color: var(--c-ink);
}
.lead-right .field label { color: var(--c-gray-500); }
.lead-disclaimer { font-size: var(--fs-xs); color: var(--c-gray-500); text-align: center; margin-top: 0.5rem; }

.modal-content--legal {
    max-width: 760px;
    padding: 2.5rem;
}
.legal-head { margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--c-gray-200); }
.legal-head h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    color: var(--c-ink);
    margin-bottom: 0.5rem;
}
.legal-body {
    font-size: var(--fs-sm);
    color: var(--c-gray-700);
    line-height: 1.8;
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 0.5rem;
}
.legal-body p { margin-bottom: 1rem; }
.legal-body strong { color: var(--c-ink); }
.legal-body ul { padding-left: 1.2rem; list-style: disc; margin-bottom: 1rem; }

/* ============================================================
   18.5. BROCHURE FAB · editorial cuadrado, lenguaje del btn-hero
============================================================ */
.brochure-fab {
    position: fixed;
    bottom: 1.8rem;
    left: 1.8rem;
    z-index: 1800;
    display: inline-flex;
    align-items: center;
    gap: 1.1rem;
    background: rgba(10, 10, 10, 0.82);
    backdrop-filter: saturate(180%) blur(18px);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    color: var(--c-white);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 0.9rem 1.4rem 0.9rem 1.4rem;
    border-radius: 2px;
    cursor: pointer;
    overflow: hidden;
    isolation: isolate;
    transition: color 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}
.brochure-fab::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--c-gold);
    transform: translateX(-101%);
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: -1;
}
.brochure-fab:hover {
    color: var(--c-ink);
    border-color: var(--c-gold);
}
.brochure-fab:hover::before { transform: translateX(0); }

.brochure-fab-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    text-align: left;
}
.brochure-fab-meta {
    font-size: 0.55rem;
    color: var(--c-gold-soft);
    text-transform: uppercase;
    letter-spacing: 0.32em;
    font-weight: 500;
    transition: color 0.4s;
}
.brochure-fab:hover .brochure-fab-meta { color: rgba(10, 10, 10, 0.65); }
.brochure-fab-label {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--c-white);
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    transition: color 0.4s;
}
.brochure-fab:hover .brochure-fab-label { color: var(--c-ink); }

.brochure-fab-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: var(--c-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    flex-shrink: 0;
    transition: background 0.4s, color 0.4s, transform 0.4s;
}
.brochure-fab:hover .brochure-fab-icon {
    background: var(--c-ink);
    color: var(--c-gold);
    transform: translateY(2px);
}

/* Móvil grande (tablet portrait) */
@media (max-width: 900px) {
    .brochure-fab {
        bottom: 1.1rem;
        left: 1.1rem;
        padding: 0.7rem 1.05rem;
        gap: 0.85rem;
    }
    .brochure-fab-icon { width: 30px; height: 30px; }
    .brochure-fab-label { font-size: 0.7rem; letter-spacing: 0.18em; }
    .brochure-fab-meta { font-size: 0.5rem; letter-spacing: 0.24em; }
}

/* Móvil chico: colapsar brochure a solo ícono para no chocar con chatbot/sticky-cta */
@media (max-width: 560px) {
    .brochure-fab {
        bottom: 0.9rem;
        left: 0.9rem;
        gap: 0;
        padding: 0;
        width: 48px;
        height: 48px;
        border-radius: 50%;
        justify-content: center;
    }
    .brochure-fab-content { display: none; }
    .brochure-fab-icon {
        width: 100%;
        height: 100%;
        background: transparent;
        font-size: 1rem;
        color: var(--c-white);
    }
}

/* ────────────────────────────────────────────────
   ALTERNATIVAS · descomenta una y comenta la versión actual arriba
   ──────────────────────────────────────────────── */

/* ALT 1 · Etiqueta editorial minimalista (estilo museum/Aman)
.brochure-fab {
    position: fixed; bottom: 2rem; left: 2rem; z-index: 1800;
    display: inline-flex; align-items: center; gap: 0.9rem;
    background: transparent;
    color: var(--c-white);
    padding: 0.6rem 0;
    border: none;
    cursor: pointer;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
.brochure-fab::before {
    content: ''; width: 38px; height: 1px; background: var(--c-gold);
    transition: width 0.35s;
}
.brochure-fab:hover::before { width: 56px; }
.brochure-fab-icon { display: none; }
.brochure-fab-content { gap: 1px; }
.brochure-fab-label { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.32em; text-transform: uppercase; color: var(--c-white); }
.brochure-fab-meta { font-size: 0.6rem; color: var(--c-gold-soft); letter-spacing: 0.18em; text-transform: uppercase; }
*/

/* ALT 2 · Pill expandible · solo ícono colapsado, texto al hover
.brochure-fab {
    position: fixed; bottom: 2rem; left: 2rem; z-index: 1800;
    display: inline-flex; align-items: center; gap: 0;
    background: var(--c-ink); color: var(--c-white);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 0; border-radius: 100px;
    width: 56px; height: 56px; justify-content: center;
    overflow: hidden;
    cursor: pointer;
    transition: width 0.4s cubic-bezier(0.22,1,0.36,1), gap 0.4s, padding 0.4s, background 0.3s;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}
.brochure-fab:hover {
    width: 220px; gap: 0.7rem; padding: 0 1.2rem 0 0.5rem;
    justify-content: flex-start; background: var(--c-gold); color: var(--c-ink);
}
.brochure-fab-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--c-gold); color: var(--c-ink); flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.brochure-fab:hover .brochure-fab-icon { background: var(--c-ink); color: var(--c-gold); }
.brochure-fab-content { opacity: 0; transform: translateX(-10px); transition: opacity 0.3s 0.1s, transform 0.3s 0.1s; white-space: nowrap; }
.brochure-fab:hover .brochure-fab-content { opacity: 1; transform: translateX(0); }
.brochure-fab-label { font-weight: 600; font-size: 0.78rem; }
.brochure-fab-meta { font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.7; }
*/

/* ============================================================
   19. CHATBOT WIDGET · estilo luxury (paleta dorada/negra)
============================================================ */
.chatbot {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1800;
    font-family: var(--font-body);
}

/* Toast informativo cerca del chatbot FAB */
.chat-hint-toast {
    position: fixed;
    bottom: 6rem;
    right: 1.5rem;
    z-index: 1799;
    background: var(--c-ink);
    color: var(--c-white);
    padding: 0.7rem 1rem;
    border-radius: 10px;
    border-left: 3px solid var(--c-gold);
    font-size: 0.78rem;
    max-width: 260px;
    line-height: 1.4;
    box-shadow: 0 12px 28px rgba(0,0,0,0.35);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: none;
}
.chat-hint-toast.show {
    opacity: 1;
    transform: translateY(0);
}
@media (max-width: 560px) {
    .chat-hint-toast {
        right: 1rem;
        left: 1rem;
        max-width: none;
        bottom: 5.5rem;
    }
}

/* FAB · botón flotante */
.chatbot-fab {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--c-ink);
    color: var(--c-gold);
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(197, 165, 114, 0.3) inset;
    position: relative;
    transition: transform 0.35s cubic-bezier(0.22,1,0.36,1),
                background 0.3s, color 0.3s;
    border: 1px solid rgba(197, 165, 114, 0.45);
}
.chatbot-fab:hover {
    background: var(--c-gold);
    color: var(--c-ink);
    transform: translateY(-2px);
}
.chatbot-fab-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--c-gold);
    opacity: 0.35;
    animation: chatbotPulse 2.4s infinite;
    pointer-events: none;
    z-index: -1;
}
@keyframes chatbotPulse {
    0%   { transform: scale(1);   opacity: 0.35; }
    100% { transform: scale(1.6); opacity: 0; }
}
.chatbot-fab-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    background: var(--c-gold);
    color: var(--c-ink);
    border-radius: 50%;
    font-size: 0.62rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--c-canvas);
    padding: 0 5px;
    font-family: var(--font-body);
}
.chatbot[data-state="open"] .chatbot-fab-badge,
.chatbot[data-state="open"] .chatbot-fab-pulse,
.chatbot[data-state="open"] .chatbot-fab-icon { display: none; }
.chatbot[data-state="open"] .chatbot-fab {
    background: var(--c-gold);
    color: var(--c-ink);
}
.chatbot[data-state="open"] .chatbot-fab::before {
    content: '\f00d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 1.2rem;
}

/* Panel */
.chatbot-panel {
    position: absolute;
    bottom: calc(100% + 1rem);
    right: 0;
    width: min(380px, calc(100vw - 3rem));
    background: var(--c-canvas);
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(197, 165, 114, 0.15) inset;
    display: flex;
    flex-direction: column;
    height: 560px;
    max-height: calc(100vh - 9rem);
    overflow: hidden;
    transform-origin: bottom right;
    opacity: 0;
    transform: scale(0.94) translateY(15px);
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.22,1,0.36,1),
                transform 0.35s cubic-bezier(0.22,1,0.36,1);
}
.chatbot[data-state="open"] .chatbot-panel {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: auto;
}

/* Header · oscuro editorial con línea dorada */
.chatbot-head {
    background: var(--c-ink);
    color: var(--c-white);
    padding: 1.1rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    position: relative;
    border-bottom: 1px solid rgba(197, 165, 114, 0.2);
}
.chatbot-head::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    height: 1px;
    width: 70px;
    background: var(--c-gold);
}
.chatbot-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--c-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: 0 0 0 2px rgba(197,165,114,0.25), 0 4px 12px rgba(0,0,0,0.25);
}
.chatbot-avatar img {
    width: 70%;
    height: auto;
    /* Logo negro sobre fondo dorado: máximo contraste */
}
.chatbot-head-meta { flex: 1; line-height: 1.2; }
.chatbot-head-meta strong {
    display: block;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--c-white);
    letter-spacing: 0.02em;
    margin-bottom: 3px;
}
.chatbot-status {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 500;
}
.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--c-gold);
    box-shadow: 0 0 8px var(--c-gold);
    animation: statusPulse 2s ease-in-out infinite;
}
@keyframes statusPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.5; transform: scale(0.85); }
}
.chatbot-close,
.chatbot-reset {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.4rem;
    line-height: 1;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: color var(--transition-fast), background var(--transition-fast);
}
.chatbot-reset { font-size: 0.85rem; margin-right: 0.2rem; }
.chatbot-close:hover,
.chatbot-reset:hover {
    color: var(--c-white);
    background: rgba(255, 255, 255, 0.08);
}

/* Messages · ambiente cálido, conversación real */
.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.4rem 1rem;
    background:
        radial-gradient(ellipse at top, rgba(197,165,114,0.08) 0%, transparent 60%),
        linear-gradient(180deg, #f5f1ea 0%, #ebe6dc 100%);
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,0.15) transparent;
}
.chatbot-messages::-webkit-scrollbar { width: 5px; }
.chatbot-messages::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.15); border-radius: 3px; }

.cb-msg {
    max-width: 78%;
    padding: 0.7rem 0.95rem;
    font-size: 0.88rem;
    line-height: 1.45;
    word-wrap: break-word;
    animation: cbMsgIn 0.3s cubic-bezier(0.22,1,0.36,1) both;
    position: relative;
}
@keyframes cbMsgIn {
    from { opacity: 0; transform: translateY(6px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Bot · burbuja blanca con cola izquierda (estilo iMessage entrante) */
.cb-msg--bot {
    background: var(--c-white);
    color: var(--c-ink);
    align-self: flex-start;
    border-radius: 16px 16px 16px 4px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.06), 0 2px 8px rgba(0,0,0,0.04);
}

/* User · burbuja dorada con cola derecha (estilo iMessage saliente) */
.cb-msg--user {
    background: linear-gradient(135deg, var(--c-gold) 0%, #b89764 100%);
    color: var(--c-ink);
    align-self: flex-end;
    border-radius: 16px 16px 4px 16px;
    font-weight: 500;
    box-shadow: 0 2px 6px rgba(197,165,114,0.35);
}

/* Mensajes consecutivos del mismo emisor: bordes más redondos arriba */
.cb-msg--bot + .cb-msg--bot { border-top-left-radius: 6px; }
.cb-msg--user + .cb-msg--user { border-top-right-radius: 6px; }

/* Typing indicator · burbuja blanca con dots */
.cb-typing {
    background: var(--c-white);
    align-self: flex-start;
    padding: 0.85rem 1rem;
    border-radius: 16px 16px 16px 4px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.06), 0 2px 8px rgba(0,0,0,0.04);
    display: inline-flex;
    gap: 5px;
    width: fit-content;
}
.cb-typing span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(0,0,0,0.35);
    animation: cbTyping 1.3s infinite ease-in-out;
}
.cb-typing span:nth-child(2) { animation-delay: 0.18s; }
.cb-typing span:nth-child(3) { animation-delay: 0.36s; }
@keyframes cbTyping {
    0%, 60%, 100% { transform: translateY(0);   opacity: 0.35; }
    30%           { transform: translateY(-5px); opacity: 1; }
}

/* Input zone */
.chatbot-input-zone {
    padding: 0.85rem 0.9rem;
    background: var(--c-white);
    border-top: 1px solid rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cb-choices {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.cb-choice {
    background: var(--c-white);
    border: 1px solid var(--c-gold);
    color: var(--c-gold-deep);
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
    flex: 1 1 auto;
    text-align: center;
}
.cb-choice:hover {
    background: var(--c-gold);
    color: var(--c-ink);
    transform: translateY(-1px);
}

.cb-text-input {
    display: flex;
    gap: 0.5rem;
    width: 100%;
    align-items: center;
}
.cb-text-input input {
    flex: 1;
    border: 1px solid rgba(0,0,0,0.08);
    background: #f5f1ea;
    border-radius: 999px;
    padding: 0.7rem 1.1rem;
    font-size: 0.88rem;
    color: var(--c-ink);
    font-family: var(--font-body);
    transition: border-color var(--transition-fast), background var(--transition-fast);
}
.cb-text-input input::placeholder { color: var(--c-gray-500); }
.cb-text-input input:focus {
    outline: none;
    border-color: var(--c-gold);
    background: var(--c-white);
}
.cb-send {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--c-gold);
    color: var(--c-ink);
    font-size: 0.9rem;
    border: none;
    transition: background 0.3s, transform 0.3s;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(197,165,114,0.4);
}
.cb-send:hover {
    background: var(--c-gold-deep, #b89764);
    transform: scale(1.05);
}
.cb-input-error input { border-color: #d11; background: rgba(220,38,38,0.06) !important; }
.cb-input-err {
    color: #b91c1c;
    font-size: 0.78rem;
    padding: 0.35rem 0.6rem 0;
    font-weight: 500;
    min-height: 0;
    line-height: 1.3;
}
.cb-input-err:empty { padding: 0; }

/* Footer · línea editorial */
.chatbot-foot {
    background: var(--c-ink);
    padding: 0.65rem 1rem;
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.55);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 500;
}
.chatbot-foot i { color: var(--c-gold); font-size: 0.9rem; }

@media (max-width: 560px) {
    .chatbot { bottom: 1rem; right: 1rem; }
    .chatbot-fab { width: 54px; height: 54px; font-size: 1.4rem; }
    .chatbot-panel {
        width: calc(100vw - 2rem);
        height: calc(100vh - 7rem);
        max-height: calc(100vh - 5rem);
        bottom: calc(100% + 0.6rem);
    }
    .chatbot-bubble {
        max-width: calc(100vw - 6rem);
        right: 4.5rem;
    }
}

/* ──────────────────────────────────────────────
   WELCOME BUBBLE · preview message del chatbot
   ────────────────────────────────────────────── */
.chatbot-bubble {
    position: absolute;
    bottom: 8px;
    right: 78px;
    background: var(--c-white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    padding: 0.85rem 2rem 0.85rem 0.85rem;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    max-width: 280px;
    cursor: pointer;
    opacity: 0;
    transform: translateX(20px) scale(0.92);
    transform-origin: right center;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.22,1,0.36,1),
                transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
.chatbot-bubble.show {
    opacity: 1;
    transform: translateX(0) scale(1);
    pointer-events: auto;
    animation: bubbleBounce 0.6s ease 0.4s;
}
@keyframes bubbleBounce {
    0%, 100% { transform: translateX(0) scale(1); }
    50%      { transform: translateX(0) scale(1.03); }
}
.chatbot-bubble:hover { box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22); }
.chatbot-bubble::after {
    content: '';
    position: absolute;
    right: -7px;
    bottom: 16px;
    width: 14px;
    height: 14px;
    background: var(--c-white);
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    transform: rotate(45deg);
}
.chatbot-bubble-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--c-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 0 2px rgba(197,165,114,0.25);
}
.chatbot-bubble-avatar img { width: 70%; }
.chatbot-bubble-content {
    display: flex;
    flex-direction: column;
    gap: 1px;
    line-height: 1.25;
}
.chatbot-bubble-content strong {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--c-ink);
}
.chatbot-bubble-content span {
    font-size: 0.74rem;
    color: var(--c-gray-700);
}
.chatbot-bubble-close {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    color: var(--c-gray-700);
    font-size: 0.85rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.chatbot-bubble-close:hover {
    background: var(--c-ink);
    color: var(--c-white);
}
/* Al abrir el chat, ocultar el bubble */
.chatbot[data-state="open"] .chatbot-bubble {
    opacity: 0;
    pointer-events: none;
}

/* ──────────────────────────────────────────────
   CTAs DENTRO DEL CHAT (botones de acción)
   ────────────────────────────────────────────── */
.cb-cta-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    width: 100%;
}
.cb-cta {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    background: var(--c-ink);
    color: var(--c-white);
    border: 1px solid var(--c-ink);
    padding: 0.75rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 500;
    text-align: left;
    transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.2s;
    text-decoration: none;
    width: 100%;
    text-transform: none;
    letter-spacing: 0.01em;
}
.cb-cta:hover {
    background: var(--c-gold);
    color: var(--c-ink);
    border-color: var(--c-gold);
    transform: translateY(-1px);
}
.cb-cta-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(197, 165, 114, 0.15);
    color: var(--c-gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
    transition: background 0.3s, color 0.3s;
}
.cb-cta:hover .cb-cta-icon {
    background: rgba(0, 0, 0, 0.15);
    color: var(--c-ink);
}
.cb-cta-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
    flex: 1;
}
.cb-cta-text strong {
    font-size: 0.82rem;
    font-weight: 600;
}
.cb-cta-text small {
    font-size: 0.66rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Variante secundaria (outline) */
.cb-cta--ghost {
    background: transparent;
    color: var(--c-ink);
    border-color: var(--c-gray-300);
}
.cb-cta--ghost:hover {
    background: var(--c-gold);
    color: var(--c-ink);
    border-color: var(--c-gold);
}
.cb-cta--ghost .cb-cta-icon {
    background: var(--c-canvas);
    color: var(--c-gold-deep);
}

/* Quick reply chips (choices con íconos) */
.cb-choices--icons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
}
.cb-choices--icons .cb-choice {
    flex: 1;
    text-align: left;
    padding: 0.7rem 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
}
.cb-choice-emoji { font-size: 1.1rem; flex-shrink: 0; }

/* ============================================================
   20. ANIMACIONES SCROLL
============================================================ */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-up.in-view { opacity: 1; transform: translateY(0); }

/* ============================================================
   20.5. REASONS · 6 razones para invertir
============================================================ */
.reasons {
    padding: var(--space-8) var(--container-pad);
    background: var(--c-canvas);
}
.reasons > .section-head { max-width: 720px; margin: 0 auto var(--space-5); }
.reasons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: var(--container-max);
    margin: 0 auto;
}
.reason-card {
    position: relative;
    background: var(--c-white);
    border-radius: var(--radius-md);
    padding: 2rem 1.8rem 1.8rem;
    border: 1px solid var(--c-gray-200);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}
.reason-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--c-gold-soft);
}
.reason-num {
    position: absolute;
    top: 1.4rem;
    right: 1.6rem;
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--c-gray-200);
    line-height: 1;
    font-weight: 400;
    letter-spacing: -0.02em;
}
.reason-icon {
    font-size: 1.5rem;
    color: var(--c-gold-deep);
    margin-bottom: 1.2rem;
    display: block;
}
.reason-card h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--c-ink);
    line-height: 1.2;
}
.reason-card p {
    font-size: var(--fs-sm);
    color: var(--c-gray-700);
    line-height: 1.55;
}

/* ============================================================
   20.6. FAQ
============================================================ */
.faq {
    padding: var(--space-8) var(--container-pad);
    background: var(--c-white);
}
.faq > .section-head { max-width: 720px; margin: 0 auto var(--space-5); }
.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.faq-item {
    border: 1px solid var(--c-gray-200);
    border-radius: var(--radius-md);
    background: var(--c-canvas);
    overflow: hidden;
    transition: border-color var(--transition-fast);
}
.faq-item[open] { border-color: var(--c-gold-soft); }
.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 1.2rem 1.6rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--c-ink);
    font-weight: 500;
    transition: color var(--transition-fast);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--c-gold-deep); }
.faq-item summary i {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--c-white);
    color: var(--c-gold-deep);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: transform var(--transition-fast), background var(--transition-fast);
    border: 1px solid var(--c-gray-200);
    flex-shrink: 0;
}
.faq-item[open] summary i {
    transform: rotate(45deg);
    background: var(--c-gold);
    color: var(--c-ink);
    border-color: var(--c-gold);
}
.faq-answer {
    padding: 0 1.6rem 1.4rem;
    color: var(--c-gray-700);
    font-size: var(--fs-base);
    line-height: 1.6;
}

/* ============================================================
   21. RESPONSIVE
============================================================ */
/* iPad landscape / tablets grandes */
@media (max-width: 1200px) {
    .reasons-grid { grid-template-columns: repeat(3, 1fr); }
    .building-info { padding: 3rem 2.5rem; }
    .building-info .display { font-size: 2.2rem; }
}

/* iPad portrait */
@media (max-width: 1024px) {
    .reasons-grid { grid-template-columns: repeat(2, 1fr); }
    .showroom-grid { grid-template-columns: repeat(2, 1fr); }
    .amen-grid { grid-template-columns: repeat(3, 1fr); }
    .av-grid { grid-template-columns: repeat(3, 1fr); }

    /* iPad: hero un poco más compacto */
    .hero { min-height: 680px; }
    .hero-title-line { font-size: clamp(3.5rem, 9vw, 5rem); }
    .hero-sub { font-size: 1rem; }
    .nav-logo { height: 52px; }
}

/* iPad portrait / tablet pequeña */
@media (max-width: 820px) {
    .amen-grid { grid-template-columns: repeat(3, 1fr); gap: 0.7rem; }
    .av-grid { grid-template-columns: repeat(2, 1fr); }
    .hero { min-height: 640px; }
    .hero-title-line { font-size: clamp(3rem, 11vw, 4.5rem); }
    .nav-logo { height: 48px; }
    .nav-cta { padding: 0.5rem 0.85rem; font-size: 0.6rem; }

    /* Building en tablet portrait: stack pero con imagen más alta */
    .building-figure { aspect-ratio: 16 / 9; }
    .building-info { padding: 2.5rem 2rem 3rem; max-width: 720px; margin: 0 auto; }
}

@media (max-width: 900px) {
    /* Nav · móvil: logo proporcionado, hamburguesa tap-friendly */
    .nav { padding: 0.55rem 1rem; }
    .nav-logo { height: 42px; }
    body.scrolled .nav-logo { height: 38px; }
    .nav-cta { padding: 0.5rem 0.85rem; font-size: 0.58rem; letter-spacing: 0.12em; }
    .nav-burger { width: 44px; height: 44px; padding: 0.6rem; }

    /* Hero · ocupa pantalla real (svh evita corte por barra URL móvil) */
    .hero {
        min-height: 580px;
        height: 100svh;
    }
    /* En móvil las imágenes son horizontales pero el viewport vertical:
       'cover' mantiene proporción (sin estirar), background-position ajustada
       para mostrar la parte superior con cielo/edificio. */
    .hero::before,
    .hero::after {
        background-size: cover;
        background-position: center 35%;
    }
    .hero-inner {
        padding-bottom: calc(clamp(2rem, 6vh, 3.5rem) + env(safe-area-inset-bottom, 0));
    }
    .hero-block {
        transform: translate(0, -2vh); /* sin offset X en móvil para no salirse */
        max-width: 100%;
    }
    .hero-title-line { font-size: clamp(2.8rem, 13vw, 4.8rem); }
    .hero-mark { margin-bottom: 1.2rem; }
    .hero-mark-text { font-size: 0.55rem; letter-spacing: 0.26em; }
    .hero-mark-line { width: 28px; }
    .hero-sub { font-size: 0.9rem; margin-bottom: 1.6rem; max-width: 92%; line-height: 1.45; }
    .btn-hero {
        padding: 0.85rem 1.1rem 0.85rem 1.35rem;
        font-size: 0.62rem;
        letter-spacing: 0.18em;
        gap: 0.75rem;
        min-height: 48px; /* tap target accesible */
    }
    .btn-hero-arrow { width: 26px; height: 26px; }
    .hero-scroll { display: none; } /* scroll natural, lo ocultamos */

    /* Drawer móvil: cómodo de usar con el pulgar */
    .drawer { width: min(380px, 88vw); }
    .drawer-head { padding: 1.1rem 1.4rem; }
    .drawer-close { width: 44px; height: 44px; } /* tap-friendly */
    .drawer-nav { padding: 1.2rem 1.4rem; }
    .drawer-nav a {
        padding: 1rem 0;
        font-size: 1rem;
        min-height: 48px; /* tap target */
        display: flex;
        align-items: center;
    }
    .drawer-controls { padding: 1.2rem 1.4rem; }
    .drawer-locale { gap: 0.5rem; }
    .drawer-brochure {
        padding: 1rem;
        min-height: 48px;
        font-size: 0.7rem;
    }

    /* Building · stack vertical en móvil/tablet (imagen arriba, texto abajo) */
    .building-split {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .building-figure {
        aspect-ratio: 4 / 3;
        min-height: auto;
        max-height: none;
    }
    .building-figure img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 45%; /* muestra el edificio + marina, no el cielo */
    }
    .building-info {
        padding: 2.2rem 1.4rem 2.5rem;
        max-width: 100%;
        text-align: left;
    }
    .building-info .display { font-size: clamp(1.6rem, 6vw, 2rem); }
    .building-divider { margin: 0.9rem 0 1.2rem; width: 40px; }
    .building-info .lead { font-size: 0.92rem; margin-bottom: 1rem; }
    .building-info .building-claim { font-size: 1.05rem; padding-top: 0.9rem; margin-bottom: 1.4rem; }
    .facts { grid-template-columns: 1fr 1fr; gap: 0.85rem 1.2rem; margin-bottom: 1.4rem; }
    .facts dt { font-size: 0.65rem; }
    .facts dd { font-size: 1.35rem; }
    .building-stats { grid-template-columns: repeat(3, 1fr); gap: 0.9rem 0.5rem; padding: 0.9rem 0; }
    .building-stats dd { font-size: 1.3rem; }
    .building-stats-foot { font-size: 0.75rem; margin-bottom: 1.4rem; }

    /* Availability · catálogo en móvil */
    /* TIPO a la izquierda · RECÁMARAS a la derecha (en la misma fila) */
    .av-filters {
        gap: 0.7rem;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        flex-wrap: nowrap;
    }
    .av-filter-group {
        flex-direction: column;
        gap: 0.4rem;
        align-items: center;
        flex: 1 1 0;
        min-width: 0;
    }
    .av-filter-group .seg-control { flex-wrap: nowrap; }
    .av-filter-group .seg-btn { padding: 0.45rem 0.6rem; font-size: 0.7rem; }
    .av-filter-label { text-align: center; }
    .av-grid { grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }
    .av-card-id { font-size: 1.25rem; }

    /* Unit panel: full screen móvil */
    .unit-panel-card { width: 100vw; }
    .unit-panel-body { padding: 1.5rem; }
    .up-code { font-size: 2.4rem; }

    /* Reasons */
    .reasons-grid { grid-template-columns: 1fr; gap: 0.8rem; }
    .reason-card { padding: 1.5rem 1.5rem 1.3rem; }
    .reason-num { font-size: 1.6rem; top: 1.2rem; right: 1.3rem; }

    /* FAQ */
    .faq { padding: var(--space-6) var(--container-pad); }
    .faq-item summary { padding: 1rem 1.2rem; font-size: 1rem; gap: 1rem; }
    .faq-answer { padding: 0 1.2rem 1.1rem; font-size: 0.92rem; }

    /* Unit panel: full screen móvil */
    .unit-panel-card { width: 100vw; }
    .unit-panel-body { padding: 1.5rem; }
    .up-code { font-size: 2.4rem; }

    /* Showroom · móvil: 1 columna */
    .showroom { padding: var(--space-5) var(--container-pad); }
    .showroom-grid { grid-template-columns: 1fr; gap: 0.9rem; }
    .showroom-card-visual { aspect-ratio: 16/10; padding: 1.2rem; }
    .showroom-card-body { padding: 1.2rem; }
    .showroom-card-body h3 { font-size: 1.3rem; }

    /* Moments */
    .moments-grid { grid-template-columns: 1fr; }
    .moment { aspect-ratio: 16/9; }

    /* Location */
    .location-grid { grid-template-columns: 1fr; gap: 2rem; }
    .location-map { aspect-ratio: 16/10; }

    /* Amenidades · móvil 2 cols */
    .amen-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
    .amen-card { aspect-ratio: 3/4; }
    .amen-card-title { font-size: 1.05rem; }
    .amen-card-num { font-size: 1.1rem; top: 0.7rem; left: 0.8rem; }
    .amen-card-icon { width: 26px; height: 26px; font-size: 0.6rem; top: 0.7rem; right: 0.8rem; }
    .amen-card-content { padding: 1rem 0.9rem 0.9rem; }
    .amen-card-meta { font-size: 0.55rem; letter-spacing: 0.16em; }

    /* Gallery · móvil: 1 columna stack */
    .gal-categories { grid-template-columns: 1fr; }
    .gal-cat { aspect-ratio: 4/3; }
    .gal-cat-title { font-size: 1.7rem; }
    .gal-cat-num { font-size: 2.2rem; }
    .gal-cat-content { padding: 1.5rem; }
    .gal-cat-num { top: 1.2rem; left: 1.5rem; }

    /* Team */
    .team-grid { grid-template-columns: 1fr 1fr; }

    /* Contact */
    .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }

    /* Footer */
    .footer-inner { grid-template-columns: 1fr 1fr; text-align: left; gap: 2rem; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-tagline { max-width: 100%; }
    .footer-bottom { flex-direction: column; gap: 0.8rem; text-align: center; }
    .footer-disclaimer { text-align: center; max-width: 100%; }

    /* Modal lead: stack */
    .lead-grid { grid-template-columns: 1fr; min-height: auto; }
    .lead-left { padding: 1.5rem; }
    .lead-right { padding: 1.5rem; }

    /* Modal showroom mobile */
    .modal-content--showroom { width: 100vw; height: 100vh; max-width: none; border-radius: 0; }
    .showroom-modal-head { padding: 0.7rem 1rem; font-size: var(--fs-xs); }

    /* Chatbot */
    .chatbot {
        bottom: calc(0.9rem + env(safe-area-inset-bottom, 0));
        right: 0.9rem;
    }
    .chatbot-fab { width: 52px; height: 52px; font-size: 1.4rem; }
    .chatbot-panel {
        width: calc(100vw - 2rem);
        height: 75vh;
        bottom: calc(100% + 0.6rem);
        right: 0;
    }

    /* Lightbox */
    .lightbox-arrow { width: 42px; height: 42px; }
    .lightbox-prev { left: 0.6rem; }
    .lightbox-next { right: 0.6rem; }
}

@media (max-width: 560px) {
    :root { --container-pad: 1.1rem; }
    .hero-title-line { font-size: clamp(2.6rem, 14vw, 3.8rem); }
    .hero-sub { font-size: 0.85rem; }
    .btn-hero { padding: 0.7rem 0.9rem 0.7rem 1.1rem; font-size: 0.58rem; gap: 0.55rem; }
    .btn-hero-arrow { width: 22px; height: 22px; }
    .display { font-size: 1.7rem; }
    .lead { font-size: 0.95rem; }

    /* Availability · móvil pequeño */
    .av-grid { grid-template-columns: 1fr; }
    .av-card-id { font-size: 1.4rem; }

    /* Drawer en móvil pequeño · ocupa casi toda la pantalla */
    .drawer { width: 92vw; }
    .drawer-nav a { font-size: 0.95rem; padding: 0.75rem 0; }

    /* Footer en móvil chico: una columna */
    .footer-inner { grid-template-columns: 1fr; gap: 1.8rem; }
    .footer-brand { grid-column: auto; }

    .team-grid { grid-template-columns: 1fr; }
    .field--row { flex-direction: column; }
    .field-prefix { flex: 1 1 auto; }

    .reason-card { padding: 1.4rem 1.3rem 1.2rem; }
    .reason-num { font-size: 1.4rem; }
    .reason-card h3 { font-size: 1.2rem; }

    .facts { grid-template-columns: 1fr 1fr; gap: 0.7rem 1rem; }
    .facts dd { font-size: 1.2rem; }

    /* Building info · padding compacto */
    .building-figure { aspect-ratio: 4 / 3; }
    .building-info { padding: 1.8rem 1.2rem 2rem; }
    .building-info .display { font-size: 1.5rem; }
    .building-info .lead { font-size: 0.88rem; }
    .building-info .building-claim { font-size: 0.98rem; }
}

@media (max-width: 380px) {
    .hero-title { font-size: 2.6rem; }
    .display { font-size: 1.6rem; }
    .modal-close { width: 34px; height: 34px; font-size: 1.2rem; top: 0.6rem; right: 0.6rem; }
}
