/* ═══════════════════════════════════════════════════════════════════════
   LYVANTO — PROPERTY DETAIL PAGE  ·  propiedad.css
   ═══════════════════════════════════════════════════════════════════════ */

/* ── 0. Reset & Tokens ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; border-radius: 0; }

:root {
    --verde:  #1A2E22;
    --bronce: #9F835C;
    --hueso:  #F5F2E8;
    --crema:  #EDE9DD;
    --marron: #352016;
    --blanco: #FDFCF9;
    --gris:   #4A4A4A;
    --gris-l: rgba(53,32,22,0.38);

    --font-serif:  'EB Garamond', serif;
    --font-body:   'Inter', sans-serif;
    --nav-h:       80px;
    --anchor-h:    40px;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--hueso);
    color: var(--marron);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* ── 1. Main Nav ─────────────────────────────────────────────────────── */
nav {
    position: fixed;
    top: 0; left: 0; width: 100%; height: var(--nav-h);
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 60px; z-index: 1000;
    background-color: rgba(245, 242, 233, 0.85); /* Soft Cream #F5F2E8 with opacity */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(26, 46, 34, 0.1);
    transition: top 0.3s ease,
                background 0.35s ease-in-out,
                backdrop-filter 0.35s ease,
                border-color 0.35s ease,
                box-shadow 0.35s ease-in-out;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

nav.scrolled {
    background-color: rgba(245, 242, 232, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(26, 46, 34, 0.1);
}

.logo-img {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 1001;
    text-decoration: none;
    margin-left: 15px; /* Desplazado 15px hacia la derecha */
}

.logo-img img {
    height: 100%;
    width: auto;
    object-fit: contain;
    transform: scale(1.8);
    transform-origin: left center;
    transition: filter 0.3s ease-in-out;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
    z-index: 1001;
}

/* ── Logo Principal (mobile only) — hidden on desktop ── */
.logo-principal-mobile-link {
    display: none;
    text-decoration: none;
    line-height: 0;
}
.logo-principal-mobile {
    display: block;
}

.logo-wordmark {
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Align to the bottom to match the logo base */
    padding-left: 20px; /* Espacio limpio */
    line-height: 1;
    padding-bottom: 2px; /* Fine-tune baseline alignment with logo */
}

.logo-wordmark-grupo {
    display: none;
}

.logo-wordmark-name {
    font-family: 'EB Garamond', serif; /* Premium serif */
    font-size: 34px;
    font-weight: 400; /* Peso normal */
    font-style: normal; /* No cursiva */
    letter-spacing: 0.02em;
    color: #1A2E22;
    display: block;
    line-height: 1;
}

.nav-center { 
    display: flex; 
    gap: 32px; 
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.nav-link {
    font-size: 11px; font-weight: 500; letter-spacing: 2px;
    color: rgba(26,46,34,0.7); text-decoration: none; text-transform: uppercase;
    transition: color 0.3s;
}
.nav-link:hover { color: var(--verde); }

.nav-right { display: flex; gap: 16px; align-items: center; }
.mobile-nav-footer { display: none; }

.btn-nav-outline {
    font-size: 11px; font-weight: 600; letter-spacing: 2px;
    color: var(--verde); text-decoration: none; text-transform: uppercase;
    padding: 10px 20px; border: 1px solid rgba(26,46,34,0.2);
    transition: all 0.3s;
}
.btn-nav-outline:hover {
    border-color: var(--verde); background: rgba(26,46,34,0.03);
}

.btn-nav-solid {
    font-size: 11px; font-weight: 600; letter-spacing: 2px;
    color: var(--hueso); background: var(--verde); text-transform: uppercase;
    text-decoration: none; padding: 10px 20px;
    transition: background 0.3s;
}
.btn-nav-solid:hover { background: #254231; }

.mobile-menu-btn {
    display: none; background: none; border: none; cursor: pointer;
    color: var(--verde); z-index: 1001;
}

/* ── 2. Anchor Bar ───────────────────────────────────────────────────── */
.anchor-bar {
    position: sticky;
    top: var(--nav-h);
    height: var(--anchor-h);
    background: var(--blanco);
    border-bottom: 1px solid rgba(26, 46, 34, 0.08);
    z-index: 850;
}
.anchor-bar-inner {
    max-width: 1200px; margin: 0 auto;
    height: 100%;
    display: flex; align-items: center; gap: 0;
    padding: 0 48px;
}
.anchor-link {
    font-size: 11px; font-weight: 500; letter-spacing: 2.5px;
    text-transform: uppercase; color: var(--gris);
    text-decoration: none; padding: 0 20px; height: 100%;
    display: flex; align-items: center;
    border-bottom: 2px solid transparent;
    transition: color .2s, border-color .2s;
}
.anchor-link:hover, .anchor-link.active {
    color: var(--verde);
    border-bottom-color: var(--bronce);
}

/* ── 3. Hero Gallery ─────────────────────────────────────────────────── */
.hero-gallery {
    position: relative;
    margin-top: var(--nav-h);
    height: calc(100vh - var(--nav-h));
    min-height: 560px;
    overflow: hidden;
    background: var(--crema);
}
.gallery-track { position: absolute; inset: 0; }
.gallery-slide {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: 0;
    transition: opacity .7s ease;
}
.gallery-slide.active { opacity: 1; }

/* ── Slide de vídeo: fondo negro base ────────────────────────────────── */
.gallery-slide.video-slide {
    background: #0a0a0a;
}

/* ── Backdrop desenfocado: fondo premium de diseño de ultra-lujo ─────── */
.gallery-slide .video-backdrop {
    position: absolute;
    inset: -8%;          /* ligeramente más grande para evitar bordes del blur */
    width: 116%;
    height: 116%;
    background-image: url('https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?auto=format&fit=crop&w=1000&q=60');
    background-size: cover;
    background-position: center;
    filter: blur(24px) brightness(0.24) saturate(0.65);
    opacity: 0.88;
    pointer-events: none;
    z-index: 0;
}

/* ── Vídeo principal: contain respeta el ratio original ─────────────────── */
.gallery-slide .video-main {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* ← CLAVE: nunca recorta ni estira */
    pointer-events: none;
    z-index: 1;
}

/* ── Fallback por si aún hay vídeos con el estilo antiguo (inline) ─────── */
.gallery-slide > video:only-of-type {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    background: #0a0a0a;
}

/* ── Móvil landscape: igual que desktop (contain ya funciona bien) ─────── */
@media (max-width: 767px) and (orientation: landscape) {
    .gallery-slide .video-main {
        object-fit: contain;
    }
    .gallery-slide .video-backdrop {
        filter: blur(20px) brightness(0.4) saturate(0.6);
    }
}

/* ── Móvil portrait: el vídeo se ve de ancho completo, sin bandas ──────── */
@media (max-width: 767px) and (orientation: portrait) {
    .gallery-slide.video-slide {
        /* En portrait la altura del hero es menor, contain aún funciona */
        background: #0a0a0a;
    }
    .gallery-slide .video-main {
        object-fit: contain;
        object-position: center 18%;
    }
    .gallery-slide .video-backdrop {
        filter: blur(16px) brightness(0.35) saturate(0.5);
    }
}

/* ── Vídeo en el lightbox (grid) ─────────────────────────────────────── */
.lb-img video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── Badge de vídeo sobre el thumbnail en las tarjetas / admin ───────── */
.video-play-badge {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .35);
    pointer-events: none;
}
.video-play-badge svg {
    filter: drop-shadow(0 2px 8px rgba(0,0,0,.5));
}


.gallery-gradient {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(15,22,12,0.72) 0%, transparent 55%),
                linear-gradient(to bottom, rgba(0,0,0,.25) 0%, transparent 30%);
}
.gallery-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 52px; height: 52px;
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.25);
    color: #fff; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s;
    z-index: 10;
}
.gallery-nav:hover { background: rgba(255,255,255,.22); }
.gallery-nav--prev { left: 36px; }
.gallery-nav--next { right: 36px; }
.gallery-counter-hero {
    position: absolute; bottom: 36px; right: 48px;
    color: rgba(255,255,255,.7); font-size: 12px; letter-spacing: 1px;
    z-index: 10;
}
.gallery-actions {
    position: absolute; bottom: 28px; left: 36px;
    display: flex; gap: 10px; z-index: 10;
}
.action-btn {
    display: flex; align-items: center; gap: 7px;
    padding: 9px 18px;
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.3);
    color: #fff; font-family: var(--font-body);
    font-size: 11px; font-weight: 500; letter-spacing: 1.5px;
    text-transform: uppercase; cursor: pointer;
    transition: background .2s;
}
.action-btn:hover { background: rgba(255,255,255,.22); }
.action-btn--primary {
    background: var(--verde);
    border-color: var(--verde);
}
.action-btn--primary:hover { background: #243d2d; border-color: #243d2d; }
.hero-caption {
    position: absolute; bottom: 82px; left: 36px; z-index: 10;
    transition: all 0.3s ease;
}
/* ── Video Title glassmorphic card ───────────────────────────────────── */
.hero-gallery.has-video .hero-caption {
    background: rgba(10, 15, 12, 0.55);
    backdrop-filter: blur(12px) saturate(1.8);
    -webkit-backdrop-filter: blur(12px) saturate(1.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 28px;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.4);
    max-width: 540px;
}
@media (max-width: 768px) {
    .hero-gallery.has-video .hero-caption {
        max-width: calc(100% - 40px) !important;
        left: 20px !important;
        right: 20px !important;
        bottom: 145px !important;
        padding: 14px 20px !important;
        text-align: center;
    }
}
.hero-eyebrow {
    display: block; font-size: 10px; font-weight: 500;
    letter-spacing: 3px; text-transform: uppercase;
    color: var(--bronce); margin-bottom: 8px;
}
.hero-title {
    font-family: var(--font-serif); font-size: clamp(26px, 2.8vw, 38px);
    font-weight: 700; color: #fff; line-height: 1.15;
    text-shadow: 0 2px 16px rgba(0,0,0,.3);
}

/* ── 4. Lightbox — Carrusel pantalla completa ─────────────────────────── */
.lightbox {
    display: none;
    position: fixed; inset: 0;
    background: rgba(4, 8, 5, 0.97);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.lightbox.open { display: flex; }

/* Botón cerrar */
.lightbox-close {
    position: absolute; top: 20px; right: 24px;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
    color: #fff; font-size: 18px; cursor: pointer;
    width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s;
    z-index: 10;
}
.lightbox-close:hover { background: rgba(255,255,255,.18); }

/* Área del visor — ocupa todo el espacio entre top y bottom bars */
.lb-viewer {
    position: relative;
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}

/* Fondo desenfocado (misma imagen, llena el frame) */
.lb-blur-bg {
    position: absolute; inset: -5%;
    width: 110%; height: 110%;
    background-size: cover; background-position: center;
    filter: blur(32px) brightness(0.25) saturate(0.5);
    z-index: 0;
    transition: background-image .25s ease;
}

/* Imagen / vídeo principal — nunca se distorsiona */
.lb-media {
    position: relative; z-index: 1;
    max-width: 94vw;
    max-height: 88vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 8px 48px rgba(0,0,0,.6);
    display: block;
    transition: opacity .25s ease;
}
.lb-media.video { width: 90vw; max-height: 80vh; }

/* Flechas de navegación */
.lb-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
    color: #fff; width: 48px; height: 48px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 5; transition: background .2s;
    font-size: 20px; user-select: none;
}
.lb-arrow:hover { background: rgba(255,255,255,.22); }
.lb-arrow--prev { left: 20px; }
.lb-arrow--next { right: 20px; }

/* Contador e info */
.lb-footer {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 16px 24px;
    display: flex; align-items: center; justify-content: center;
    gap: 16px;
    z-index: 5;
}
.lb-counter {
    color: rgba(255,255,255,.6);
    font-size: 13px; font-family: var(--font-body);
    letter-spacing: 1px;
}

/* Miniaturas en la parte inferior */
.lb-thumbs {
    display: flex; gap: 6px; overflow-x: auto;
    padding: 0 24px; max-width: 100%;
    scrollbar-width: none;
}
.lb-thumbs::-webkit-scrollbar { display: none; }
.lb-thumb {
    flex: 0 0 56px; height: 42px;
    background-size: cover; background-position: center;
    border-radius: 3px; cursor: pointer;
    opacity: 0.45; transition: opacity .2s;
    border: 2px solid transparent;
}
.lb-thumb.active {
    opacity: 1;
    border-color: rgba(255,255,255,.7);
}

/* Responsive móvil */
@media (max-width: 767px) {
    .lb-arrow { width: 38px; height: 38px; font-size: 16px; }
    .lb-arrow--prev { left: 8px; }
    .lb-arrow--next { right: 8px; }
    .lb-media { max-width: 98vw; max-height: 75vh; }
    .lb-thumb { flex: 0 0 44px; height: 33px; }
    .lightbox-close { top: 12px; right: 12px; }
}


/* ── 5. Main Layout ──────────────────────────────────────────────────── */
.property-layout {
    max-width: 1200px; margin: 0 auto;
    padding: 60px 80px;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 60px;
    align-items: start;
}

/* ── 6. Summary Header ───────────────────────────────────────────────── */
.summary-header {
    background: #FAF9F6;
    border: 1px solid rgba(26, 46, 34, 0.1);
    padding: 48px;
    margin-bottom: 60px;
}
.summary-top {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 28px;
    gap: 20px;
    flex-wrap: nowrap;
}
.summary-title-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}
.summary-price {
    font-family: var(--font-serif);
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700; color: var(--verde);
    letter-spacing: 0.03em;
}
.summary-tags { display: flex; gap: 10px; flex-wrap: nowrap; align-items: center; }
.prop-tag {
    font-size: 10px; font-weight: 600; letter-spacing: 2px;
    text-transform: uppercase; padding: 8px 15px;
    border-radius: 50px;
    display: flex; align-items: center; justify-content: center;
    white-space: nowrap;
}
.prop-tag--offmarket { 
    background: var(--verde) !important; 
    color: var(--hueso) !important; 
    border: 1px solid rgba(201, 168, 76, 0.35) !important;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(26, 46, 34, 0.15);
}
.prop-tag--cert { 
    background: #81C784; 
    border: 1px solid #66BB6A; 
    color: var(--verde); 
    gap: 6px;
}
.prop-tag--default {
    background: var(--verde) !important;
    color: var(--hueso) !important;
    border: 1px solid rgba(201, 168, 76, 0.35) !important;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(26, 46, 34, 0.15);
}

/* ── Smart Share Menu ── */
.share-menu-container {
    position: relative;
}
.share-trigger {
    background: transparent;
    border: 1px solid rgba(26, 46, 34, 0.2);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--verde);
    cursor: pointer;
    transition: all 0.3s ease;
}
.share-trigger:hover {
    background: rgba(26, 46, 34, 0.05);
}
.share-popover {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: #FAF9F6;
    border: 1px solid rgba(26, 46, 34, 0.15);
    border-radius: 8px;
    min-width: 220px;
    padding: 8px 0;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
}
.share-popover.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.share-option {
    background: transparent;
    border: none;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--verde);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    width: 100%;
    transition: background 0.2s ease;
}
.share-option:hover {
    background: rgba(26, 46, 34, 0.05);
}
.summary-stats {
    display: grid; 
    grid-template-columns: repeat(5, 1fr); 
    gap: 24px;
    margin-bottom: 0;
    padding-top: 32px;
    border-top: 1px solid rgba(26, 46, 34, 0.08);
}
.stat-item { 
    display: flex; flex-direction: column; align-items: center; 
    justify-content: center; text-align: center;
    padding: 0;
}
.stat-icon {
    color: var(--verde);
    margin-bottom: 14px;
    display: flex;
    opacity: 0.8;
}
.stat-val { 
    font-family: var(--font-serif); font-size: 28px; font-weight: 700; 
    color: var(--verde); line-height: 1.1; margin-bottom: 8px;
}
.stat-lbl { 
    font-family: var(--font-body); font-size: 9px; color: var(--gris); 
    letter-spacing: 2px; text-transform: uppercase; 
    opacity: 0.8;
}

/* ── 7. Description (Drop Cap) ───────────────────────────────────────── */
/* — Título: Sobre la Propiedad — */
.property-description .section-title {
    font-family: var(--font-serif);
    font-size: 28px; font-weight: 600;
    color: var(--verde); margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(26,46,34,.1);
}
/* — Título: Características — */
.features-section .section-title {
    font-family: var(--font-serif);
    font-size: 28px; font-weight: 600;
    color: var(--verde); margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(26,46,34,.1);
}
/* — Título: Historial de Precio — */
.history-section .section-title {
    font-family: var(--font-serif);
    font-size: 28px; font-weight: 600;
    color: var(--verde); margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(26,46,34,.1);
}
.property-description { margin-bottom: 72px; }
.property-description p {
    font-size: 15px; line-height: 1.9;
    color: rgba(53,32,22,.85); margin-bottom: 28px;
    text-align: justify;
}
.drop-cap::first-letter {
    font-family: var(--font-serif);
    font-size: 110px; font-weight: 700;
    line-height: .85; float: left;
    margin: 12px 20px 0 0;
    color: var(--verde);
}

/* ── 8. Features Grid ────────────────────────────────────────────────── */
.features-section { margin-bottom: 80px; }
.features-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 0 40px;
}
.feature-item {
    display: flex; align-items: center; gap: 18px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(26,46,34,.07);
    font-size: 15px; color: var(--gris);
}
.feature-icon { font-size: 8px; color: #888; opacity: .8; }

/* ── 9. History Table ────────────────────────────────────────────────── */
.history-section { margin-bottom: 56px; }
.history-table { width: 100%; border-collapse: collapse; }
.history-table th {
    text-align: left; font-size: 9px; font-weight: 600;
    letter-spacing: 2px; text-transform: uppercase;
    color: var(--gris-l); padding: 12px 16px;
    border-bottom: 1px solid rgba(26,46,34,.12);
}
.history-table td {
    padding: 16px; font-size: 13px; color: var(--gris);
    border-bottom: 1px solid rgba(26,46,34,.06);
}
.price-cell { font-weight: 600; color: var(--marron); }
.var-down { color: #c0392b; font-weight: 500; }
.var-up   { color: #27ae60; font-weight: 500; }
.var-neutral { color: var(--gris-l); }

/* ── 10. Sidebar ─────────────────────────────────────────────────────── */
.content-sidebar { position: relative; }
.sidebar-sticky {
    position: sticky;
    top: calc(var(--nav-h) + var(--anchor-h) + 24px);
    display: flex; flex-direction: column; gap: 28px;
}
.sidebar-card-title {
    font-family: var(--font-serif);
    font-size: 18px; font-weight: 600;
    color: var(--verde); margin-bottom: 24px;
    white-space: nowrap;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(26,46,34,.1);
}
.sidebar-card {
    background: var(--blanco);
    border: 1px solid rgba(26,46,34,.1);
    padding: 32px;
    box-shadow: 0 4px 24px rgba(26,46,34,.06);
}
.sidebar-card-header {
    display: flex; align-items: center; gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(26,46,34,.07);
}
.agent-avatar {
    width: 44px; height: 44px; background: var(--verde);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-serif); font-size: 14px; font-weight: 700;
    color: var(--hueso); letter-spacing: 1px;
    flex-shrink: 0;
}
.agent-name { font-size: 14px; font-weight: 600; color: var(--marron); }
.agent-role { font-size: 11px; color: var(--gris-l); margin-top: 2px; letter-spacing: .5px; }

/* ── Premium Invitation Sidebar ── */
.premium-invitation {
    padding: 28px;
}
.human-hook {
    text-align: center;
    margin-bottom: 32px;
}
.hook-headline {
    font-family: var(--font-serif);
    color: var(--verde);
    font-size: 24px;
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 14px;
}
.hook-subtext {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--gris);
    line-height: 1.6;
}
.btn-master-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 72px;
    background: var(--verde);
    color: #FAF9F6;
    border: none;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-bottom: 20px;
}
.btn-master-cta:hover {
    background: #243d2d;
}
.btn-master-cta .whatsapp-icon {
    flex-shrink: 0;
}
.form-disclaimer {
    font-size: 13px; color: rgba(26,46,34,0.65); margin-top: 16px;
    line-height: 1.5; text-align: center;
}
.fast-stats { display: flex; flex-direction: column; gap: 0; }
.fast-stat {
    display: flex; justify-content: space-between; align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid rgba(26,46,34,.07);
}
.fast-stat:last-child { border-bottom: none; }
.fs-label { font-size: 13px; color: rgba(26,46,34,0.65); letter-spacing: .5px; }
.fs-val { font-size: 16px; font-weight: 600; color: var(--marron); }
.cert-b {
    background: #2ecc71; color: #fff;
    padding: 3px 10px; font-size: 12px; font-weight: 700;
}
.ref-mono { font-family: 'Courier New', monospace; font-size: 13px; letter-spacing: 1px; }

/* ── 11. Investment Section ───────────────────────────────────────────── */
.investment-section {
    background: var(--crema);
    border-top: 1px solid rgba(26,46,34,.08);
    border-bottom: 1px solid rgba(26,46,34,.08);
    padding: 96px 48px;
}
.investment-inner { max-width: 1320px; margin: 0 auto; }
.investment-header { text-align: center; margin-bottom: 60px; }
/* — Eyebrow: Inversión — */
.investment-section .eyebrow-green {
    font-size: 12px; font-weight: 500; letter-spacing: 4px;
    text-transform: uppercase; color: var(--bronce); margin-bottom: 14px;
}
/* — Eyebrow: Entorno — */
.entorno-section .eyebrow-green {
    font-size: 12px; font-weight: 500; letter-spacing: 4px;
    text-transform: uppercase; color: var(--bronce); margin-bottom: 14px;
}
.investment-title {
    font-family: var(--font-serif); font-size: clamp(28px, 3vw, 40px);
    font-weight: 700; color: var(--verde); margin-bottom: 16px;
}
.investment-sub { font-size: 14px; color: var(--gris-l); max-width: 560px; margin: 0 auto; line-height: 1.7; }
.investment-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px;
}
.inv-card {
    background: var(--blanco); padding: 40px 32px;
    border: 1px solid rgba(26,46,34,.08);
    transition: box-shadow .25s, transform .25s;
}
.inv-card:hover {
    box-shadow: 0 12px 40px rgba(26,46,34,.1);
    transform: translateY(-4px);
}
.inv-metric {
    font-family: var(--font-serif); font-size: 34px; font-weight: 700;
    color: var(--verde); margin-bottom: 8px; line-height: 1;
}
.inv-label {
    font-size: 11px; font-weight: 600; letter-spacing: 1px;
    text-transform: uppercase; color: var(--bronce); margin-bottom: 14px;
}
.inv-desc { font-size: 12px; color: var(--gris-l); line-height: 1.6; }

/* ── 12. Entorno / Map ───────────────────────────────────────────────── */
.entorno-section { padding: 0 48px 96px; background: var(--hueso); margin-top: -32px; }
.entorno-inner { max-width: 1320px; margin: 0 auto; }
.entorno-header { margin-bottom: 48px; text-align: center; }
.entorno-title {
    font-family: var(--font-serif); font-size: clamp(32px, 4vw, 52px);
    font-weight: 700; color: var(--verde);
}
.entorno-layout {
    display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start;
}
.map-container {
    height: 380px; overflow: hidden;
    border: 1px solid rgba(26,46,34,.1);
    box-shadow: 0 8px 32px rgba(26,46,34,.08);
}
.poi-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 40px;
}
.poi-title {
    grid-column: 1 / -1;
    text-align: center;
    font-family: var(--font-serif); font-size: 24px; font-weight: 600;
    color: var(--verde); margin-bottom: 24px;
}
.poi-item {
    display: flex; align-items: flex-start; gap: 20px;
    padding: 24px 0; border-bottom: 1px solid rgba(26,46,34,.07);
}
.poi-item:nth-last-child(1), .poi-item:nth-last-child(2) { border-bottom: none; }
.poi-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.poi-name { font-size: 15px; font-weight: 500; color: var(--marron); margin-bottom: 6px; }
.poi-dist { font-size: 13px; color: var(--gris-l); }
.poi-available { color: #27ae60; font-weight: 500; }

/* ── 13. Footer ──────────────────────────────────────────────────────── */
        footer {
            background-color: var(--verde);
            padding: 35px 60px 14px;
            color: var(--hueso);
            position: relative;
            background-image:
                repeating-linear-gradient(45deg, rgba(245,242,232,0.035) 0px, rgba(245,242,232,0.035) 1px, transparent 1px, transparent 10px),
                repeating-linear-gradient(-45deg, rgba(245,242,232,0.035) 0px, rgba(245,242,232,0.035) 1px, transparent 1px, transparent 10px);
        }
        .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 22px; }
        .footer-brand { padding-bottom: 0; }
        .footer-links h5, .footer-links h4 { margin-bottom: 14px; }
        .footer-links li { margin-bottom: 8px; }
        .footer-logo {
            font-family: 'EB Garamond', serif;
            font-size: 28px;
            letter-spacing: 4px;
            margin-bottom: 16px;
            color: #F5F2E8;
            -webkit-text-fill-color: #F5F2E8;
            background: transparent !important;
            background-clip: unset !important;
            -webkit-background-clip: unset !important;
            filter: drop-shadow(0 1px 2px rgba(0,0,0,0.4));
            display: inline-block;
        }
        /* Separadores verticales entre columnas */
        .footer-links {
            border-left: 0.5px solid rgba(245, 242, 232, 0.12);
            padding-left: 40px;
        }
        .footer-links h5, .footer-links h4 {
            font-size: 11px;
            letter-spacing: 3px;
            text-transform: uppercase;
            font-variant: small-caps;
            margin-bottom: 30px;
            color: #C9A84C;
            text-shadow: 0 0 8px rgba(201,168,76,0.25);
        }
        .footer-links ul { list-style: none; }
        .footer-links li { margin-bottom: 15px; }
        .footer-links a { color: rgba(223, 216, 196, 0.6); text-decoration: none; font-size: 15px; transition: 0.3s; }
        .footer-links a:hover { color: var(--hueso); }

        /* ── NEWSLETTER BOUTIQUE ────────────────────────────────────────── */
        .newsletter-section {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 60px;
            padding-bottom: 35px;
            margin-bottom: 0;
        }
        .newsletter-text {
            flex: 0 0 38%;
        }
        .newsletter-text h4, .newsletter-text h3 {
            font-family: 'Playfair Display', serif;
            font-size: 36px;
            margin: 0 0 14px;
            font-weight: 500;
            line-height: 1.15;
            color: #F5F2E8 !important;
            filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3));
        }
        .newsletter-text p {
            font-family: 'Inter', sans-serif;
            font-size: 14px;
            color: rgba(245, 242, 232, 0.65);
            line-height: 1.65;
            margin: 0;
            font-weight: 300;
        }
        .newsletter-form-container {
            flex: 0 0 54%;
        }
        .newsletter-form {
            display: flex;
            flex-direction: column;
            gap: 14px;
        }
        /* Barra input+botón con borde exterior único */
        .newsletter-input-group {
            display: flex;
            align-items: stretch;
            gap: 10px;
            border: 1px solid rgba(245, 242, 232, 0.55);
            transition: border-color 0.3s ease;
        }
        .newsletter-input-group:focus-within {
            border-color: #F5F2E8;
        }
        #newsletter-input {
            flex: 1;
            background: transparent !important;
            background-color: transparent !important;
            -webkit-appearance: none;
            border: none;
            color: #F5F2E8 !important;
            font-family: 'Inter', sans-serif;
            font-size: 14px;
            padding: 13px 20px;
            outline: none;
            min-width: 0;
            box-shadow: none !important;
        }
        #newsletter-input:-webkit-autofill,
        #newsletter-input:-webkit-autofill:hover,
        #newsletter-input:-webkit-autofill:focus {
            -webkit-box-shadow: 0 0 0 1000px #1A2E22 inset !important;
            -webkit-text-fill-color: #F5F2E8 !important;
            transition: background-color 5000s ease-in-out 0s;
        }
        #newsletter-input::placeholder {
            color: rgba(245, 242, 232, 0.45);
            font-weight: 300;
        }
        .newsletter-btn {
            background: #F5F2E8;
            color: #1a2e22;
            border: none;
            padding: 0 32px;
            font-family: 'Inter', sans-serif;
            font-size: 11px;
            font-weight: 800;
            letter-spacing: 2.5px;
            text-transform: uppercase;
            cursor: pointer;
            transition: background-color 0.3s ease, color 0.3s ease, opacity 0.3s ease;
            white-space: nowrap;
            flex-shrink: 0;
            box-shadow: 0 2px 10px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.15);
        }
        .newsletter-btn:disabled {
            opacity: 0.45;
            cursor: not-allowed;
        }
        .newsletter-btn:not(:disabled):hover {
            background-color: #ffffff;
            color: #111f17;
        }
        .newsletter-privacy {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            cursor: pointer;
        }
        .newsletter-privacy input[type="checkbox"] {
            margin-top: 2px;
            accent-color: #F5F2E8;
            cursor: pointer;
            width: 15px;
            height: 15px;
            flex-shrink: 0;
        }
        .newsletter-privacy span {
            font-family: 'Inter', sans-serif;
            font-size: 10px;
            color: rgba(245, 242, 232, 0.65);
            line-height: 1.5;
            font-weight: 300;
        }
        .newsletter-divider {
            width: 100%;
            height: 0.5px;
            background: rgba(245, 242, 232, 0.18);
            margin-bottom: 45px;
        }

/* ── 14. Responsive ──────────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .property-layout { grid-template-columns: 1fr; gap: 0; }
    .content-sidebar { margin-top: 48px; }
    .sidebar-sticky { position: static; }
    .investment-grid { grid-template-columns: repeat(2, 1fr); }
    .entorno-layout { grid-template-columns: 1fr; }
    .map-container { height: 360px; }
}
@media (max-width: 768px) {
    nav { padding: 0 24px; }
    .nav-center, .nav-right { display: none; }
    .mobile-menu-btn { display: block; }
    .logo-wordmark { display: none; }
    .logo-img { display: none !important; }
    .logo-principal-mobile-link { display: block; flex-shrink: 0; z-index: 1001; }
    .logo-principal-mobile {
        display: block;
        height: 22px;
        width: auto;
        object-fit: contain;
        flex-shrink: 0;
        z-index: 1001;
    }
    
    /* Open State */
    nav.menu-open {
        background: var(--hueso);
        height: 100vh;
        align-items: flex-start;
        padding-top: 24px;
        flex-direction: column;
    }
    nav.menu-open .logo-img, nav.menu-open .mobile-menu-btn {
        position: absolute;
        top: 20px;
    }
    nav.menu-open .logo-img { left: 24px; }
    nav.menu-open .mobile-menu-btn { right: 24px; }

    nav.menu-open .nav-center {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin-top: 80px;
        gap: 24px;
        text-align: center;
        position: relative;
        left: 0;
        transform: none;
    }
    nav.menu-open .nav-link {
        font-size: 18px;
        letter-spacing: 2px;
    }
    nav.menu-open .nav-right {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin-top: 40px;
        gap: 16px;
        align-items: center;
    }
    nav.menu-open .btn-nav-outline, nav.menu-open .btn-nav-solid {
        width: 100%;
        text-align: center;
        padding: 16px;
    }

    /* 1. VIEWPORT & NAVIGATION RECTIFICATION */
    .anchor-bar { overflow: visible !important; position: sticky !important; }
    .anchor-bar::after {
        display: none !important; /* Eliminate right horizontal scroll shadow */
    }
    .anchor-bar-inner { 
        padding: 0 !important;
        gap: 0 !important;
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-around !important;
        width: 100% !important;
        overflow-x: visible !important;
    }
    .anchor-link { 
        flex: 1 !important;
        justify-content: center !important;
        text-align: center !important;
        padding: 0 !important;
        white-space: nowrap !important;
        font-size: 10px !important;
        letter-spacing: 1.2px !important;
        border-bottom: 2px solid transparent !important; 
    }
    .anchor-link.active { border-bottom-color: var(--verde) !important; }

    /* 2. HEADER & BUTTONS */
    .gallery-actions { 
        left: 25px !important; right: 25px !important; bottom: 30px !important; 
        display: grid !important; grid-template-columns: 1fr 1fr; gap: 8px; 
        width: calc(100% - 50px); 
    }
    .action-btn { 
        justify-content: center; border-width: 0.5px !important; 
        font-size: 10px !important; letter-spacing: 2px !important; 
        padding: 12px 10px !important; text-transform: uppercase;
    }
    .action-btn--primary { grid-column: 1 / -1; }
    .hero-caption { bottom: 135px; left: 25px; right: 25px; text-align: center; }
    .hero-title { font-size: clamp(28px, 8vw, 36px); }
    .gallery-counter-hero { 
        right: 25px; top: calc(var(--nav-h) + 16px); bottom: auto; 
        background: rgba(0,0,0,0.3); padding: 4px 12px; border-radius: 20px; 
    }

    /* 3. PROPERTY INFO BLOCK (PRICE & SPECS) */
    .property-layout { padding: 40px 25px !important; overflow-x: hidden; width: 100%; } 
    
    .summary-header { padding: 0 !important; border: none !important; background: transparent !important; margin-bottom: 40px !important; }
    .summary-top { flex-direction: column; align-items: center; text-align: center; gap: 24px; }
    .summary-title-row { justify-content: center; width: 100%; position: relative; }
    .summary-price { font-size: 34px !important; }
    .share-menu-container { position: absolute; right: 0; top: 50%; transform: translateY(-50%); }
    .share-trigger { width: 36px; height: 36px; border-width: 0.5px; }
    .summary-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
    
    .summary-stats { 
        grid-template-columns: repeat(2, 1fr) !important; 
        gap: 24px 16px !important; 
        padding: 24px 0 !important; margin-top: 24px !important;
        border-top: 0.5px solid rgba(26,46,34,0.15) !important; 
        border-bottom: 0.5px solid rgba(26,46,34,0.15) !important;
    }

    /* 4. EDITORIAL & RESPONSIVE TABLES */
    .history-table, .history-table tbody, .history-table tr, .history-table td { display: block; width: 100%; }
    .history-table thead { display: none; }
    .history-table tr { 
        display: flex; flex-wrap: wrap; padding: 16px 0; 
        border-bottom: 0.5px solid rgba(26,46,34,.1) !important;
    }
    .history-table td { padding: 4px 0 !important; border: none !important; }
    .history-table td:nth-child(1) { width: 50%; font-weight: 600; font-size: 13px; color: var(--marron); }
    .history-table td:nth-child(2) { width: 50%; text-align: right; font-size: 11px; color: var(--gris-l); }
    .history-table td:nth-child(3) { width: 50%; font-size: 15px; font-weight: 700; color: var(--verde); }
    .history-table td:nth-child(4) { width: 50%; text-align: right; font-size: 11px; }

    /* Datos Fiscales */
    .sidebar-stats-card { 
        background: var(--crema) !important; border: none !important; 
        border-radius: 12px; padding: 24px !important; box-shadow: none !important;
    }
    .fast-stat { border-bottom: 0.5px solid rgba(26,46,34,0.08) !important; }
    .sidebar-card-title { font-size: 18px; text-align: center; margin-bottom: 20px; font-family: var(--font-serif); }

    /* Lyvanto Intelligence */
    .investment-section { padding: 60px 25px !important; }
    .investment-header { margin-bottom: 40px !important; }
    .investment-title { text-align: center; }
    .investment-grid { grid-template-columns: 1fr !important; gap: 16px !important; }

    /* 5. VISUAL REFINEMENTS */
    html, body { overflow-x: hidden; width: 100%; }
    .entorno-section { padding: 60px 25px !important; }
    footer {
        padding: 24px 24px 20px;
        background-color: var(--verde);
        background-image:
            repeating-linear-gradient(45deg, rgba(245,242,232,0.035) 0px, rgba(245,242,232,0.035) 1px, transparent 1px, transparent 10px),
            repeating-linear-gradient(-45deg, rgba(245,242,232,0.035) 0px, rgba(245,242,232,0.035) 1px, transparent 1px, transparent 10px);
    }

    /* ── Newsletter ── */
    .newsletter-section {
        flex-direction: column;
        gap: 0;
        padding-bottom: 0;
        margin-bottom: 0;
    }
    .newsletter-text {
        flex: none;
        width: 100%;
        margin-bottom: 14px;
    }
    .newsletter-text h4::before, .newsletter-text h3::before {
        content: '\2726';
        display: block;
        font-size: 16px;
        color: #F5F2E8;
        margin-bottom: 10px;
        -webkit-text-fill-color: #F5F2E8;
        text-shadow: 0 0 8px rgba(245, 242, 232, 0.4);
    }
    .newsletter-text h4, .newsletter-text h3 {
        font-size: 26px;
        font-weight: 600;
        line-height: 1.2;
        color: #F5F2E8 !important;
        margin: 0 0 14px;
        filter: drop-shadow(0 1px 2px rgba(0,0,0,0.4));
        background-color: transparent !important;
    }
    .newsletter-text p {
        font-size: 13px;
        line-height: 1.8;
        color: rgba(245,242,232,0.65);
    }
    .newsletter-form-container {
        flex: none;
        width: 100%;
        background: rgba(201,168,76,0.04);
        border: 0.5px solid rgba(201,168,76,0.2);
        padding: 14px;
        margin-bottom: 18px;
        box-sizing: border-box;
    }
    .newsletter-form { gap: 18px; }
    .newsletter-input-group {
        flex-direction: column;
        gap: 16px;
        border: none;
        background: transparent;
    }
    #newsletter-input {
        border: none !important;
        border-bottom: 1px solid rgba(201,168,76,0.45) !important;
        padding: 10px 0 !important;
        font-size: 14px;
    }
    #newsletter-input:-webkit-autofill,
    #newsletter-input:-webkit-autofill:focus {
        -webkit-box-shadow: 0 0 0 1000px #111f17 inset !important;
    }
    .newsletter-btn {
        width: 100%;
        padding: 14px;
        background: #F5F2E8;
        color: #1a2e22;
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 3px;
        border: none;
        box-shadow: 0 2px 12px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.2);
    }
    .newsletter-btn:not(:disabled):hover {
        background-color: #ffffff;
        color: #111f17;
    }
    .newsletter-privacy { gap: 10px; align-items: center; }
    .newsletter-privacy input[type="checkbox"] { display: none; }
    .newsletter-privacy::before {
        content: '';
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 16px;
        height: 16px;
        min-width: 16px;
        background: #F5F2E8;
        color: #1a2e22;
        font-size: 10px;
        font-weight: 900;
        border-radius: 2px;
        box-shadow: 0 1px 4px rgba(0,0,0,0.15);
        transition: background-color 0.2s ease, border-color 0.2s ease;
    }
    .newsletter-privacy:has(input[type="checkbox"]:checked)::before {
        content: '\2713';
    }
    .newsletter-privacy span { font-size: 10px; color: rgba(245,242,232,0.55); }
    .newsletter-divider {
        background: linear-gradient(90deg, transparent, rgba(201,168,76,0.3), transparent);
        height: 1px;
        margin-bottom: 18px;
    }

    /* ── Identidad de Marca (footer-brand full-width) ── */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
        gap: 0;
        margin-bottom: 14px;
    }
    /* footer-brand ocupa las 2 columnas */
    .footer-grid > .footer-brand {
        grid-column: 1 / -1;
        grid-row: 1;
    }
    /* EXPLORAR — columna izquierda, abarca filas 2 y 3 */
    .footer-grid > .footer-links:nth-child(2) {
        grid-column: 1;
        grid-row: 2 / 4;
        border-right: 0.5px solid rgba(201,168,76,0.12);
        padding-right: 14px;
        margin-bottom: 0;
    }
    /* COMPAÑÍA — columna derecha, fila 2 */
    .footer-grid > .footer-links:nth-child(3) {
        grid-column: 2;
        grid-row: 2;
        padding-left: 14px;
        border-top: 0.5px solid rgba(201,168,76,0.15);
        margin-bottom: 0;
    }
    /* CONTACTO — columna derecha, fila 3 */
    .footer-grid > .footer-links:nth-child(4) {
        grid-column: 2;
        grid-row: 3;
        padding-left: 14px;
        border-top: 0.5px solid rgba(201,168,76,0.15);
        margin-bottom: 0;
    }
    .footer-logo {
        font-size: 30px;
        letter-spacing: 7px;
        color: #F5F2E8;
        -webkit-text-fill-color: #F5F2E8;
        background: transparent !important;
        background-clip: unset !important;
        -webkit-background-clip: unset !important;
        filter: drop-shadow(0 1px 3px rgba(0,0,0,0.5));
        margin-bottom: 10px;
    }
    #footer-p {
        font-size: 13px !important;
        line-height: 1.7 !important;
        color: rgba(223,216,196,0.5) !important;
        padding-bottom: 14px;
    }
    #footer-p::after {
        content: ' \2726';
        color: rgba(245, 242, 232, 0.6);
        font-size: 10px;
    }

    /* ── Capítulos de Autor (estilos comunes) ── */
    .footer-links {
        border-left: none;
        border-top: 0.5px solid rgba(201,168,76,0.15);
        padding-left: 0;
        padding-top: 10px;
        margin-bottom: 0;
    }
    .footer-links:nth-child(2) h5::before, .footer-links:nth-child(2) h4::before { content: '\25CE\0020'; }
    .footer-links:nth-child(3) h5::before, .footer-links:nth-child(3) h4::before { content: '\2767\0020'; }
    .footer-links:nth-child(4) h5::before, .footer-links:nth-child(4) h4::before { content: '\25C8\0020'; }
    .footer-links h5, .footer-links h4 {
        color: #C9A84C;
        font-size: 10px;
        letter-spacing: 4px;
        margin-bottom: 14px;
        text-shadow: 0 0 8px rgba(201,168,76,0.25);
    }
    .footer-links li {
        margin-bottom: 6px;
        padding-left: 0;
        position: relative;
    }
    .footer-links li::before {
        content: '';
    }
    .footer-links a {
        font-family: 'EB Garamond', serif;
        font-size: 16px;
        color: rgba(223,216,196,0.7);
        letter-spacing: 0.02em;
    }
    .footer-links a:hover { color: #C9A84C; }
    
    /* Center bottom legal bar */
    .footer-bottom-bar {
        flex-direction: column !important;
        justify-content: center !important;
        text-align: center !important;
        gap: 16px !important;
        padding-bottom: 20px;
    }
    .footer-bottom-bar > #footer-copy {
        order: 1 !important;
    }
    .footer-bottom-bar > .footer-legal-links {
        order: 2 !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
    }
    .footer-bottom-bar > .footer-credit {
        order: 3 !important;
    }
    
    .map-container { height: 320px !important; border-radius: 12px; }
    .features-grid { grid-template-columns: 1fr; }
    .section-title { text-align: center; padding-bottom: 20px; border-bottom: 0.5px solid rgba(26,46,34,.1); }
    .property-description p { margin-left: 0; margin-right: 0; }
}

/* ── SKELETON LOADER (SHIMMER) ────────────────────────────────────────── */
.skeleton {
    position: relative;
    overflow: hidden;
    background-color: rgba(26, 46, 34, 0.08); /* Subtle brand tint */
    border-radius: 4px;
    color: transparent !important;
    min-height: 1.2em;
    width: 100%;
}
.skeleton::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: shimmer 1.5s infinite;
}
@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}
/* Specific skeleton sizing based on context */
.summary-price.skeleton { width: 40%; max-width: 200px; height: 48px; }
.stat-val.skeleton { width: 60%; height: 24px; margin: 0 auto 4px auto; }
.card-price.skeleton { width: 50%; height: 20px; margin-bottom: 10px; }
.card-name.skeleton { width: 80%; height: 16px; margin-bottom: 10px; }

/* ── Unified Premium Mobile Nav Overlay (Lyvanto Boutique Style) ── */
.mobile-only-link {
    display: none !important;
}

@media (max-width: 992px) {
    /* 1. Backdrop Navigation container with fade-in and 10px slide-down */
    nav.menu-open {
        height: 100vh !important;
        background: #1A2E22 !important; /* Deep Forest Green luxury backdrop */
        backdrop-filter: blur(16px) !important;
        -webkit-backdrop-filter: blur(16px) !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        border-bottom: 1px solid rgba(166, 137, 102, 0.15) !important;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2) !important;
        padding-top: 0 !important;
        opacity: 0;
        transform: translateY(-10px) !important;
        animation: menuOverlayFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
    }

    @keyframes menuOverlayFadeIn {
        to {
            opacity: 1;
            transform: translateY(0) !important;
        }
    }

    /* 2. Top Header alignment: Logo on the left, "X" on the right */
    nav.menu-open .logo-group {
        position: absolute !important;
        top: 32px !important;
        left: 24px !important;
        transform: none !important;
        display: flex !important;
        align-items: center !important;
        margin: 0 !important;
        padding: 0 !important;
        z-index: 1002 !important;
    }
    
    nav.menu-open .logo-img {
        margin: 0 !important;
        padding: 0 !important;
        display: none !important;
    }

    nav.menu-open .logo-img img {
        height: 38px !important;
        filter: brightness(0) invert(1) !important;
        transform: scale(1.4) !important;
        transform-origin: left center !important;
    }

    nav.menu-open .logo-principal-mobile {
        display: block !important;
        height: 26px !important;
        width: auto !important;
        filter: brightness(0) invert(1) !important;
    }

    nav.menu-open .mobile-menu-btn {
        position: absolute !important;
        top: 32px !important;
        right: 24px !important;
        color: #F5F2E8 !important; /* Premium cream color for close icon */
        background: transparent !important;
        border: none !important;
        z-index: 1002 !important;
        display: block !important;
        padding: 6px !important;
    }

    /* Animation of rotation on appear for close icon */
    nav.menu-open .mobile-menu-btn svg {
        width: 24px !important;
        height: 24px !important;
        stroke: currentColor !important;
        stroke-width: 1.2 !important;
        transform: rotate(-90deg);
        opacity: 0;
        animation: rotateX 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards !important;
    }

    @keyframes rotateX {
        to {
            transform: rotate(0);
            opacity: 1;
        }
    }

    /* 3. Center Section: Links (Generous padding, EB Garamond, fine line under active/hover) */
    nav.menu-open .nav-center {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        position: absolute !important;
        top: 44% !important;
        left: 0 !important;
        width: 100% !important;
        gap: 11px !important;
        padding: 0 20px !important;
        transform: translateY(-50%) !important;
        background: transparent !important;
        opacity: 0;
        animation: menuCenterSlideDown 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards !important;
    }

    @keyframes menuCenterSlideDown {
        from {
            opacity: 0;
            transform: translateY(calc(-50% - 10px)) !important;
        }
        to {
            opacity: 1;
            transform: translateY(-50%) !important;
        }
    }

    nav.menu-open .nav-link {
        font-family: 'EB Garamond', serif !important; /* High-end brand typography */
        font-size: 19px !important; /* Slightly smaller size as requested to fit perfectly */
        font-weight: 400 !important;
        letter-spacing: 2.5px !important; /* Elegant slightly reduced letter spacing */
        color: #F5F2E8 !important; /* Cream text */
        text-transform: uppercase !important;
        text-decoration: none !important;
        padding: 6px 0 !important; /* Generous breathing room */
        position: relative !important;
        transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
        opacity: 0.8 !important;
        line-height: 1.3 !important;
        text-align: center !important;
        display: block !important;
        width: 100% !important;
    }

    /* Long and fine horizontal line that appears under hover / active */
    nav.menu-open .nav-link::after {
        content: "" !important;
        position: absolute !important;
        bottom: 2px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 0% !important;
        height: 1px !important;
        background-color: #A68966 !important; /* Bronze/gold color */
        transition: width 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
        display: block !important;
    }

    nav.menu-open .nav-link::before {
        display: none !important;
    }

    nav.menu-open .nav-link:hover::after,
    nav.menu-open .nav-link.active-link::after {
        width: 120px !important; /* Long and fine horizontal line */
    }

    nav.menu-open .nav-link:hover,
    nav.menu-open .nav-link.active-link {
        color: #A68966 !important; /* Luxury bronze color on hover / active */
        opacity: 1 !important;
        letter-spacing: 4px !important;
    }

    nav.menu-open .mobile-only-link {
        display: block !important;
    }

    /* 4. Bottom Section: Social Icons (no contact button on mobile) */
    nav.menu-open .nav-right {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-end !important;
        position: absolute !important;
        bottom: 75px !important;
        left: 0 !important;
        width: 100% !important;
        padding: 0 40px !important;
        gap: 20px !important;
        background: transparent !important;
        border: none !important;
    }

    /* Hide contact button on mobile menu */
    nav.menu-open .btn-nav-solid {
        display: none !important;
    }

    nav.menu-open .btn-nav-outline {
        display: none !important;
    }

    /* Social icons — 4 icons row */
    nav.menu-open .mobile-nav-footer {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 16px !important;
        margin-top: 0 !important;
    }

    nav.menu-open .mnf-socials {
        display: flex !important;
        gap: 28px !important;
        align-items: center !important;
    }

    nav.menu-open .mnf-socials a {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 44px !important;
        height: 44px !important;
        border: 1px solid rgba(245, 242, 232, 0.15) !important;
        border-radius: 50% !important;
        color: rgba(245, 242, 232, 0.6) !important;
        text-decoration: none !important;
        transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    }

    nav.menu-open .mnf-socials a:hover {
        color: #A68966 !important;
        border-color: rgba(166, 137, 102, 0.4) !important;
        background: rgba(166, 137, 102, 0.08) !important;
        transform: translateY(-2px) !important;
    }

    nav.menu-open .mnf-copyright {
        font-family: 'Inter', sans-serif !important;
        font-size: 10px !important;
        letter-spacing: 1.5px !important;
        color: rgba(245, 242, 232, 0.25) !important;
        text-transform: uppercase !important;
    }
}

/* ── FOOTER CONTACT NUMBERS BOOST ── */
.footer-links a[href^="tel:"] {
    font-size: 18px !important;
}
.footer-links a[href^="tel:"] span {
    font-size: 11px !important;
}
@media (max-width: 768px) {
    .footer-links a[href^="tel:"] {
        font-size: 20px !important;
    }
    .footer-links a[href^="tel:"] span {
        font-size: 12px !important;
    }
}

/* ── NEWSLETTER TITLE COLOR BY USER REQUEST ── */
.newsletter-text h4, .newsletter-text h3, #newsletter-h4 {
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: #F5F2E8 !important; /* Beautiful premium bone white/crema */
    color: #F5F2E8 !important;
    background-clip: initial !important;
}


/* ── High-Quality Cropped Branding Wordmark Image styling ── */
.logo-wordmark-name-img {
    height: 28px;
    width: auto;
    display: block;
    object-fit: contain;
    transition: opacity 0.3s ease;
}
.logo-wordmark:hover .logo-wordmark-name-img {
    opacity: 0.8;
}
