    :root, [data-theme="light"] {
      --font-body: 'Satoshi', 'Inter', sans-serif;
      --font-display: 'Satoshi', 'Inter', sans-serif;
      --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
      --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
      --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
      --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
      --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
      --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
      --space-1:.25rem;--space-2:.5rem;--space-3:.75rem;--space-4:1rem;--space-5:1.25rem;--space-6:1.5rem;--space-8:2rem;--space-10:2.5rem;--space-12:3rem;--space-16:4rem;--space-20:5rem;
      --color-bg: #f7f6f2;
      --color-surface: #ffffff;
      --color-surface-2: #f4f7fa;
      --color-surface-offset: #e8eef3;
      --color-border: #d8e2ea;
      --color-divider: #e5ebf0;
      --color-text: #20303e;
      --color-text-muted: #607181;
      --color-text-faint: #8e9ba6;
      --color-primary: #348ac0;
      --color-primary-hover: #2b74a2;
      --color-primary-highlight: #d9eaf6;
      --color-accent: #c49a4b;
      --color-accent-soft: #f4ead7;
      --color-overlay: rgba(11,24,38,.58);
      --radius-sm:.4rem;--radius-md:.8rem;--radius-lg:1.2rem;--radius-xl:1.6rem;--radius-full:999px;
      --shadow-sm: 0 12px 24px rgba(18,35,52,.06);
      --shadow-md: 0 24px 56px rgba(18,35,52,.12);
      --content-wide: 1180px;
      --header-height: 88px;
    }
    [data-theme="dark"] {
      --color-bg:#111714;--color-surface:#19211d;--color-surface-2:#1f2924;--color-surface-offset:#24312b;
      --color-border:#314039;--color-divider:#2b3832;--color-text:#edf3ef;--color-text-muted:#bcc7c1;
      --color-text-faint:#8e9ba6;--color-primary:#62a5d0;--color-primary-hover:#4b90bc;
      --color-primary-highlight:#1e3342;--color-accent:#d8b06a;--color-accent-soft:#302719;
      --color-overlay:rgba(3,10,18,.7);--shadow-sm:0 8px 20px rgba(0,0,0,.2);--shadow-md:0 18px 40px rgba(0,0,0,.3);
    }
    *,:before,:after{box-sizing:border-box;margin:0;padding:0}
    html{-webkit-text-size-adjust:none;text-size-adjust:none;scroll-behavior:smooth;scroll-padding-top:var(--header-height)}
    body{font-family:var(--font-body);font-size:var(--text-base);line-height:1.6;background:var(--color-bg);color:var(--color-text)}
    img,svg{display:block;max-width:100%;height:auto}
    button,input,textarea{font:inherit}
    a{text-decoration:none;color:inherit}
    button{cursor:pointer;border:none;background:none}
    :focus-visible{outline:2px solid var(--color-primary);outline-offset:3px}
    .container{width:min(calc(100% - 2rem),var(--content-wide));margin-inline:auto}

    /* ── HEADER ── */
    .site-header{position:sticky;top:0;z-index:100;background:#fff;border-bottom:1px solid var(--color-border);box-shadow:0 2px 8px rgba(18,35,52,.06)}
    .header-inner{min-height:var(--header-height);display:flex;align-items:center;justify-content:space-between;gap:var(--space-4);padding:var(--space-4) 0}
    .logo-slot{display:flex;align-items:center;justify-content:flex-start;width:min(320px,60vw);min-height:54px}
    .logo-slot img{width:100%;max-height:54px;object-fit:contain;object-position:left center}
    .logo-placeholder{width:100%;max-height:54px;display:flex;align-items:center;font-weight:700;font-size:1.15rem;color:var(--color-text-muted)}
    .header-actions{display:flex;align-items:center;gap:var(--space-3)}
    .header-social{display:flex;align-items:center;gap:var(--space-2)}
    .social-icon{width:40px;height:40px;border-radius:50%;border:1.5px solid var(--color-border);display:inline-flex;align-items:center;justify-content:center;color:var(--color-text-muted);transition:.2s ease;background:var(--color-surface)}
    .social-icon:hover{background:var(--color-primary);border-color:var(--color-primary);color:#fff}
    .btn,.icon-btn{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:.6rem;border-radius:var(--radius-full);transition:.2s ease}
    .btn{padding:.9rem 1.3rem;font-size:var(--text-sm);font-weight:700}
    .btn-primary{background:var(--color-primary);color:#fff;box-shadow:var(--shadow-sm)}
    .btn-primary:hover{background:var(--color-primary-hover)}
    .btn-secondary{background:var(--color-surface);border:1px solid var(--color-border)}
    .btn-secondary:hover{background:var(--color-surface-offset)}

    /* ── HERO ── */
    .hero{position:relative;padding:0 0 var(--space-12)}
    .hero-banner{position:relative;min-height:36vh;overflow:hidden}
    .hero-banner::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,var(--color-overlay) 0%,rgba(18,38,58,.44) 46%,rgba(18,38,58,.16) 100%)}
    .hero-banner img{width:100%;height:120%;min-height:36vh;object-fit:cover;transform:translateY(var(--parallax-offset,0px)) scale(1.08);will-change:transform;filter:saturate(.92) contrast(.97)}
    .hero-copy{position:absolute;inset:0;z-index:1;display:flex;align-items:center;padding:clamp(1.5rem,4vw,4rem)}
    .hero-text{max-width:720px;color:#fff;margin-inline:auto;width:min(calc(100% - 2rem),var(--content-wide))}
    .eyebrow{display:inline-flex;align-items:center;gap:.5rem;margin-bottom:var(--space-4);padding:.45rem .85rem;border-radius:var(--radius-full);background:rgba(255,255,255,.14);font-size:var(--text-xs);letter-spacing:.08em;text-transform:uppercase}
    h1{font-family:var(--font-display);font-size:var(--text-2xl);line-height:1.05;margin-bottom:var(--space-4)}
    .hero-text p{font-size:var(--text-base);max-width:60ch}

    /* ── SECCIÓN ── */
    .section{padding:var(--space-12) 0}
    .section-head{display:flex;justify-content:space-between;align-items:end;gap:var(--space-4);margin-bottom:var(--space-8)}
    .section-head h2{font-size:var(--text-xl);line-height:1.1}
    .section-head p{color:var(--color-text-muted);max-width:62ch}
    .property-grid{display:grid;gap:var(--space-6)}

    /* ── REVEAL ── */
    .reveal{opacity:0;transform:translateY(24px);transition:opacity .55s ease,transform .55s ease}
    .reveal.is-visible{opacity:1;transform:none}

    /* ── SKELETON ── */
    @keyframes shimmer{0%{background-position:-200% 0}100%{background-position:200% 0}}
    .skeleton{background:linear-gradient(90deg,var(--color-surface-offset) 25%,var(--color-surface-2) 50%,var(--color-surface-offset) 75%);background-size:200% 100%;animation:shimmer 1.5s ease-in-out infinite;border-radius:var(--radius-md)}
    .skeleton-card{display:grid;grid-template-columns:minmax(280px,34%) 1fr;border-radius:var(--radius-xl);overflow:hidden;border:1px solid var(--color-border);min-height:320px}
    .skeleton-img{background:var(--color-surface-offset);animation:shimmer 1.5s ease-in-out infinite;background-size:200% 100%;background-image:linear-gradient(90deg,var(--color-surface-offset) 25%,var(--color-surface-2) 50%,var(--color-surface-offset) 75%)}
    .skeleton-body{padding:var(--space-6);display:flex;flex-direction:column;gap:var(--space-4);background:var(--color-surface)}
    .sk-line{height:1em;border-radius:var(--radius-sm)}.sk-title{width:60%;height:1.4em}.sk-loc{width:40%;height:.9em}.sk-sm{width:30%;height:.8em}

    /* ── PROPERTY CARD ── */
    .property-card{display:grid;grid-template-columns:minmax(280px,34%) 1fr;background:linear-gradient(180deg,color-mix(in srgb,var(--color-surface) 86%,white),var(--color-surface));border:1px solid color-mix(in srgb,var(--color-border) 86%,transparent);border-radius:var(--radius-xl);overflow:hidden;box-shadow:var(--shadow-sm);content-visibility:auto;contain-intrinsic-size:600px}
    .property-media{position:relative;aspect-ratio:1/1;background:var(--color-surface-2);overflow:hidden}
    .property-image-btn{position:absolute;inset:0;width:100%;height:100%;padding:0;border:none;background:none;cursor:pointer;display:block}
    .property-image-btn img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}
    .dots{position:absolute;left:50%;bottom:16px;transform:translateX(-50%);display:flex;gap:8px;padding:.5rem .8rem;border-radius:var(--radius-full);background:rgba(20,24,22,.35);backdrop-filter:blur(8px)}
    .dots span{width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,.55)}
    .dots span.active{background:#fff}
    .property-body{padding:var(--space-6);display:flex;flex-direction:column;gap:var(--space-4)}
    .property-head h3{font-size:clamp(1.12rem,1rem + .45vw,1.38rem);line-height:1.15;margin-bottom:var(--space-2);letter-spacing:.01em}
    .property-location{color:var(--color-text-muted);margin-bottom:var(--space-3);font-size:.95rem}
    .specs{display:grid;grid-template-columns:repeat(3,minmax(100px,1fr));gap:var(--space-3)}
    .spec{padding:.8rem .95rem;background:var(--color-surface-2);border-radius:var(--radius-md);border:1px solid color-mix(in srgb,var(--color-border) 70%,transparent)}
    .spec strong{display:block;font-size:var(--text-xs);text-transform:uppercase;letter-spacing:.07em;color:var(--color-text-muted);margin-bottom:.2rem}
    .spec span{font-size:.97rem;font-weight:700}
    .property-copy{color:var(--color-text-muted);font-size:.94rem;line-height:1.55}
    .property-copy ul{padding-left:1.2rem}
    .property-copy li+li{margin-top:.35rem}
    .property-footer{display:flex;justify-content:space-between;align-items:center;gap:var(--space-4);padding-top:var(--space-5);border-top:1px solid var(--color-divider);margin-top:auto;flex-wrap:wrap}
    .price-tag{display:flex;flex-direction:column}
    .price-tag small{font-size:var(--text-xs);text-transform:uppercase;letter-spacing:.08em;color:var(--color-text-muted)}
    .price-tag strong{font-size:1.06rem}
    .type-badge{display:inline-flex;padding:.25rem .75rem;border-radius:var(--radius-full);font-size:var(--text-xs);font-weight:700;text-transform:uppercase;letter-spacing:.06em;margin-bottom:var(--space-2)}
    .type-renta{background:#dbeef8;color:#1a5e8a}
    .type-venta{background:#dcfce7;color:#166534}
    .contact-actions{display:flex;gap:var(--space-3);flex-wrap:wrap}
    .icon-btn{width:46px;min-width:46px;padding:0;border:1px solid var(--color-border);background:var(--color-surface-2);font-weight:700;border-radius:50%}
    .icon-btn.whatsapp{background:#25D366;color:#fff;border-color:#25D366}
    .icon-btn.email{background:#ef7d24;color:#fff;border-color:#ef7d24}
    .icon{width:18px;height:18px;flex:0 0 18px}

    /* ── ERROR STATE ── */
    .load-error{text-align:center;padding:var(--space-16);color:var(--color-text-muted)}
    .load-error svg{margin:0 auto var(--space-4);opacity:.3}
    .load-error h3{font-size:var(--text-lg);margin-bottom:var(--space-2);color:var(--color-text)}
    .load-error p{max-width:42ch;margin:0 auto var(--space-6)}

    /* ── CTA BAND ── */
    .cta-band{background:linear-gradient(135deg,var(--color-primary-highlight),var(--color-accent-soft));border:1px solid color-mix(in srgb,var(--color-border) 70%,transparent);border-radius:var(--radius-xl);padding:var(--space-8);display:grid;grid-template-columns:1.2fr .8fr;gap:var(--space-6);align-items:center;box-shadow:var(--shadow-sm)}
    .cta-band h2{font-size:var(--text-xl);margin-bottom:var(--space-3)}
    .cta-band p{color:var(--color-text-muted)}

    /* ── FOOTER ── */
    .footer{margin-top:var(--space-12);padding:var(--space-8) 0;border-top:1px solid var(--color-divider)}
    .footer-inner{display:flex;justify-content:space-between;gap:var(--space-4);flex-wrap:wrap;color:var(--color-text-muted);font-size:var(--text-sm)}

    /* ── MODALES ── */
    .modal{position:fixed;inset:0;z-index:300;display:none;align-items:center;justify-content:center;padding:var(--space-4);background:rgba(8,11,10,.72)}
    .modal.is-open{display:flex}
    .modal-card{position:relative;width:min(100%,960px);max-height:min(90vh,900px);overflow:auto;background:var(--color-surface);border-radius:var(--radius-xl);box-shadow:var(--shadow-md);border:1px solid color-mix(in srgb,var(--color-border) 75%,transparent)}
    .modal-close{position:absolute;top:14px;right:14px;width:44px;height:44px;border-radius:50%;background:rgba(20,20,20,.72);color:#fff;z-index:2;display:flex;align-items:center;justify-content:center;font-size:1.1rem}
    .gallery-modal-body{display:grid;grid-template-columns:74px 1fr 74px;align-items:center;gap:var(--space-3);padding:var(--space-6)}
    .gallery-stage{display:flex;flex-direction:column;gap:var(--space-4)}
    .gallery-stage img{width:100%;max-height:52vh;object-fit:contain;border-radius:var(--radius-lg);background:var(--color-surface-2)}
    .gallery-caption{color:var(--color-text-muted);font-size:var(--text-sm)}
    .gallery-nav{width:56px;height:56px;border-radius:50%;background:var(--color-surface-2);border:1px solid var(--color-border);display:flex;align-items:center;justify-content:center;font-size:1.1rem}
    .gallery-nav:hover{background:var(--color-primary);color:#fff;border-color:var(--color-primary)}
    .thumb-row{display:flex;gap:var(--space-2);overflow-x:auto;padding-bottom:var(--space-1);scrollbar-width:thin;scrollbar-color:var(--color-border) transparent}
    .thumb-row::-webkit-scrollbar{height:3px}
    .thumb-row::-webkit-scrollbar-thumb{background:var(--color-border);border-radius:99px}
    .thumb-row button{padding:0;border-radius:var(--radius-md);border:2px solid transparent;overflow:hidden;flex:0 0 84px}
    .thumb-row button.active{border-color:var(--color-primary)}
    .thumb-row img{width:84px;height:62px;object-fit:cover;display:block}
    .form-modal-card{width:min(100%,720px);padding:var(--space-8)}
    .form-modal-card h2{font-size:var(--text-xl);margin-bottom:var(--space-2)}
    .form-modal-card > p{color:var(--color-text-muted);margin-bottom:var(--space-6)}
    form{display:grid;gap:var(--space-4)}
    .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-4)}
    label{display:grid;gap:.45rem;font-size:var(--text-sm);font-weight:700}
    input,textarea{width:100%;padding:1rem;border-radius:var(--radius-md);border:1px solid var(--color-border);background:var(--color-surface-2);color:var(--color-text)}
    input:focus,textarea:focus{outline:2px solid var(--color-primary);outline-offset:2px}
    textarea{min-height:150px;resize:vertical}
    .form-note{font-size:var(--text-xs);color:var(--color-text-muted)}
    .hidden{display:none !important}

    /* ── RESPONSIVE ── */
    @media(max-width:920px){
      .property-card,.cta-band,.gallery-modal-body{grid-template-columns:1fr}
      .property-media{aspect-ratio:4/3;max-height:300px}
      .gallery-nav{width:100%;height:48px;border-radius:var(--radius-full)}
      .gallery-modal-body{padding-top:var(--space-10)}
      .specs{grid-template-columns:repeat(2,minmax(0,1fr))}
      .skeleton-card{grid-template-columns:1fr}
    }
    @media(max-width:720px){
      .header-inner{align-items:flex-start;flex-wrap:wrap}
      .header-actions,.contact-actions{width:100%}
      .header-actions .btn-primary{flex:1}
      .hero-banner,.hero-banner img{min-height:42vh}
      .form-grid,.specs{grid-template-columns:1fr}
      .property-body{padding:var(--space-5)}
      .logo-slot{width:100%}
    }
    @media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none !important}}
 