  :root{
    --bg:#0a0a0a;
    --bg-2:#121212;
    --surface:#1a1a1a;
    --surface-2:#242424;
    --text:#f2f2f2;
    --text-dim:#a3a3a3;
    --gold:#d4a85a;
    --gold-2:#f0c987;
    --accent:#3a3a3a;
    --accent-2:#525252;
    --border:rgba(255,255,255,0.08);
    --shadow:0 20px 60px rgba(0,0,0,0.6);
  }
  *{box-sizing:border-box;margin:0;padding:0}
  html{scroll-behavior:smooth}
  body{
    font-family:'Inter',system-ui,-apple-system,sans-serif;
    background:var(--bg);
    color:var(--text);
    line-height:1.6;
    overflow-x:hidden;
  }
  body::before{
    content:'';
    position:fixed;inset:0;
    background:
      radial-gradient(1200px 600px at 80% -10%, rgba(212,168,90,0.10), transparent 60%),
      radial-gradient(900px 500px at -10% 30%, rgba(255,255,255,0.04), transparent 60%),
      radial-gradient(800px 400px at 50% 100%, rgba(212,168,90,0.06), transparent 60%);
    z-index:-1;pointer-events:none;
  }
  ::selection{background:var(--gold);color:var(--bg)}
  ::-webkit-scrollbar{width:10px}
  ::-webkit-scrollbar-track{background:var(--bg)}
  ::-webkit-scrollbar-thumb{background:linear-gradient(180deg,var(--gold),var(--accent));border-radius:6px}

  a{color:inherit;text-decoration:none}
  img{display:block;max-width:100%}

  /* NAV */
  nav{
    position:fixed;top:0;left:0;right:0;z-index:100;
    padding:1.2rem 2rem;
    display:flex;justify-content:space-between;align-items:center;
    transition:all .3s ease;
  }
  nav.scrolled{
    background:rgba(10,25,41,0.75);
    backdrop-filter:blur(20px) saturate(180%);
    -webkit-backdrop-filter:blur(20px) saturate(180%);
    border-bottom:1px solid var(--border);
    padding:0.8rem 2rem;
  }
  .brand{display:flex;align-items:center;gap:.6rem;font-family:'Playfair Display',serif;font-weight:700;font-size:1.3rem;letter-spacing:.3px}
  .brand-mark{
    width:38px;height:38px;border-radius:10px;
    background:linear-gradient(135deg,var(--gold) 0%,var(--gold-2) 100%);
    display:grid;place-items:center;
    color:var(--bg);font-weight:800;font-size:1rem;font-family:'Inter',sans-serif;
    box-shadow:0 4px 14px rgba(212,168,90,0.35);
  }
  .nav-links{display:flex;gap:2rem;font-size:.92rem;font-weight:500}
  .nav-links a{color:var(--text-dim);transition:color .2s}
  .nav-links a:hover{color:var(--gold)}
  .nav-cta{
    background:var(--gold);color:var(--bg);
    padding:.55rem 1.1rem;border-radius:8px;font-weight:600;font-size:.9rem;
    transition:transform .2s,box-shadow .2s;
  }
  .nav-cta:hover{transform:translateY(-1px);box-shadow:0 8px 24px rgba(212,168,90,0.4)}
  @media(max-width:768px){.nav-links{display:none}}

  /* HERO */
  .hero{
    min-height:100vh;
    padding:8rem 2rem 5rem;
    display:flex;flex-direction:column;align-items:center;justify-content:center;
    position:relative;
  }
  .hero-bg{
    position:absolute;inset:0;overflow:hidden;z-index:0;
  }
  .hero-bg::before{
    content:'';position:absolute;
    width:600px;height:600px;border-radius:50%;
    top:-200px;right:-150px;
    background:radial-gradient(circle, rgba(212,168,90,0.18), transparent 70%);
    filter:blur(40px);
    animation:float 20s ease-in-out infinite;
  }
  .hero-bg::after{
    content:'';position:absolute;
    width:500px;height:500px;border-radius:50%;
    bottom:-100px;left:-150px;
    background:radial-gradient(circle, rgba(255,255,255,0.08), transparent 70%);
    filter:blur(40px);
    animation:float 25s ease-in-out infinite reverse;
  }
  @keyframes float{
    0%,100%{transform:translateY(0) translateX(0)}
    50%{transform:translateY(-30px) translateX(20px)}
  }

  /* IG Card */
  .ig-card{
    position:relative;z-index:1;
    width:100%;max-width:540px;
    background:linear-gradient(180deg,var(--surface) 0%,var(--surface-2) 100%);
    border:1px solid var(--border);
    border-radius:24px;
    padding:2rem;
    box-shadow:var(--shadow);
    overflow:hidden;
  }
  .ig-card::before{
    content:'';position:absolute;top:0;left:0;right:0;height:1px;
    background:linear-gradient(90deg,transparent,var(--gold),transparent);
  }
  .ig-header{
    display:flex;gap:1.4rem;align-items:flex-start;
  }
  .ig-avatar-wrap{
    position:relative;flex-shrink:0;
    padding:3px;border-radius:50%;
    background:conic-gradient(from 0deg, #fdc468, #df4996, #b03cff, #5fa8e0, #fdc468);
    animation:rotate-ring 6s linear infinite;
  }
  @keyframes rotate-ring{
    to{transform:rotate(360deg)}
  }
  .ig-avatar{
    width:96px;height:96px;border-radius:50%;
    background:var(--bg) center/cover no-repeat;
    border:3px solid var(--surface);
    display:block;
  }
  .ig-info{flex:1;min-width:0}
  .ig-name-row{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;margin-bottom:.2rem}
  .ig-name{font-size:1.15rem;font-weight:700;letter-spacing:.2px}
  .verified{
    width:20px;height:20px;border-radius:50%;
    background:linear-gradient(135deg,var(--gold),var(--gold-2));
    display:grid;place-items:center;color:var(--bg);font-size:.7rem;
    box-shadow:0 2px 8px rgba(212,168,90,0.5);
  }
  .ig-handle{
    display:inline-block;color:var(--text-dim);font-size:.9rem;margin-bottom:.6rem;
    transition:color .2s;
  }
  .ig-handle:hover{color:var(--gold)}
  .ig-stats{
    display:flex;gap:1.5rem;margin:.8rem 0 1rem;font-size:.88rem;
  }
  .ig-stats div{display:flex;flex-direction:column;gap:.1rem}
  .ig-stats b{font-weight:700;color:var(--text);font-size:1.05rem}
  .ig-stats span{color:var(--text-dim);font-size:.78rem;text-transform:lowercase}
  .ig-category{
    display:inline-block;font-size:.78rem;color:var(--gold);font-weight:600;
    text-transform:uppercase;letter-spacing:1.2px;margin-bottom:.5rem;
  }
  .ig-bio{font-size:.92rem;line-height:1.5;color:var(--text);white-space:pre-line}
  .ig-bio b{color:var(--gold)}
  .ig-actions{
    display:flex;gap:.5rem;margin-top:1.2rem;
  }
  .ig-btn{
    flex:1;text-align:center;padding:.6rem;border-radius:10px;font-weight:600;font-size:.85rem;
    transition:transform .2s,background .2s;cursor:pointer;
  }
  .ig-btn.primary{background:var(--gold);color:var(--bg)}
  .ig-btn.primary:hover{background:var(--gold-2)}
  .ig-btn.secondary{background:var(--surface-2);color:var(--text);border:1px solid var(--border)}
  .ig-btn.secondary:hover{background:var(--surface)}
  .ig-grid{
    display:grid;grid-template-columns:repeat(3,1fr);gap:3px;margin-top:1.4rem;
    border-radius:8px;overflow:hidden;
  }
  .ig-grid-item{
    aspect-ratio:1;
    background:linear-gradient(135deg,var(--surface-2),var(--surface));
    background-size:cover;background-position:center;
    position:relative;overflow:hidden;
  }
  .ig-grid-item.placeholder{
    display:grid;place-items:center;
    background:linear-gradient(135deg,var(--surface-2),var(--bg-2));
  }
  .ig-grid-item.placeholder::before{
    content:'';width:24px;height:24px;border-radius:50%;
    border:2px solid var(--gold);opacity:.4;
  }
  @media(max-width:520px){
    .ig-header{flex-direction:column;align-items:center;text-align:center}
    .ig-stats{justify-content:center}
  }

  /* Hero title below card */
  .hero-tagline{
    margin-top:3rem;text-align:center;max-width:780px;
    position:relative;z-index:1;
  }
  .hero-tagline h1{
    font-family:'Playfair Display',serif;
    font-size:clamp(2rem, 5vw, 3.5rem);
    font-weight:700;line-height:1.15;
    margin-bottom:1rem;letter-spacing:-.5px;
  }
  .hero-tagline h1 em{
    font-style:italic;color:var(--gold);
    background:linear-gradient(135deg,var(--gold),var(--gold-2));
    -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
  }
  .hero-tagline p{
    color:var(--text-dim);font-size:1.1rem;max-width:560px;margin:0 auto;
  }
  .community-badge{
    display:inline-flex;align-items:center;gap:.5rem;
    background:rgba(212,168,90,0.12);
    border:1px solid rgba(212,168,90,0.3);
    color:var(--gold);
    padding:.5rem 1rem;border-radius:99px;
    font-size:.85rem;font-weight:600;
    margin-top:1.5rem;
  }

  /* Generic section */
  section{
    padding:6rem 2rem;
    max-width:1200px;margin:0 auto;
    position:relative;
  }
  .section-label{
    display:inline-block;
    font-size:.78rem;letter-spacing:2px;text-transform:uppercase;
    color:var(--gold);font-weight:700;margin-bottom:1rem;
  }
  .section-title{
    font-family:'Playfair Display',serif;
    font-size:clamp(1.8rem,4vw,2.8rem);
    font-weight:700;line-height:1.2;margin-bottom:1rem;letter-spacing:-.3px;
  }
  .section-title em{
    font-style:italic;color:var(--gold);
    background:linear-gradient(135deg,var(--gold),var(--gold-2));
    -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
  }
  .section-intro{color:var(--text-dim);max-width:640px;margin-bottom:3rem;font-size:1.05rem}

  /* SOBRE NOSOTROS */
  .about-grid{
    display:grid;grid-template-columns:1.1fr 1fr;gap:4rem;align-items:center;
  }
  @media(max-width:860px){.about-grid{grid-template-columns:1fr}}
  .about-text p{margin-bottom:1.2rem;color:var(--text-dim);font-size:1.02rem}
  .about-text p strong{color:var(--text)}
  .about-pills{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:1.5rem}
  .pill{
    padding:.5rem 1rem;border:1px solid var(--border);
    background:var(--surface);border-radius:99px;
    font-size:.85rem;color:var(--text-dim);
  }
  .pill.gold{border-color:rgba(212,168,90,0.4);color:var(--gold);background:rgba(212,168,90,0.08)}
  .about-visual{
    aspect-ratio:1;
    border-radius:24px;overflow:hidden;
    background:linear-gradient(135deg,var(--surface),var(--bg-2));
    border:1px solid var(--border);
    position:relative;
    display:grid;place-items:center;
  }
  .about-visual::before{
    content:'';position:absolute;inset:0;
    background:
      radial-gradient(circle at 30% 30%, rgba(212,168,90,0.22), transparent 50%),
      radial-gradient(circle at 70% 70%, rgba(255,255,255,0.06), transparent 50%);
  }
  .about-visual-num{
    font-family:'Playfair Display',serif;
    font-size:clamp(5rem,15vw,9rem);font-weight:800;
    background:linear-gradient(135deg,var(--gold),var(--gold-2));
    -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
    line-height:1;position:relative;z-index:1;
  }
  .about-visual-label{
    position:absolute;bottom:2rem;left:0;right:0;text-align:center;
    color:var(--text-dim);font-size:.95rem;letter-spacing:1px;text-transform:uppercase;
    z-index:1;
  }

  /* SERVICIOS */
  .services-grid{
    display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1.5rem;
  }
  .service-card{
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:18px;
    padding:2rem;
    transition:transform .3s,border-color .3s,background .3s;
    position:relative;overflow:hidden;
  }
  .service-card::before{
    content:'';position:absolute;top:0;left:0;width:60px;height:2px;
    background:linear-gradient(90deg,var(--gold),transparent);
  }
  .service-card:hover{
    transform:translateY(-4px);
    border-color:rgba(212,168,90,0.3);
    background:var(--surface-2);
  }
  .service-icon{
    width:48px;height:48px;border-radius:12px;
    background:linear-gradient(135deg,rgba(212,168,90,0.18),rgba(255,255,255,0.04));
    display:grid;place-items:center;
    font-size:1.5rem;margin-bottom:1.2rem;
  }
  .service-card h3{
    font-family:'Playfair Display',serif;font-size:1.4rem;font-weight:600;margin-bottom:.5rem;
  }
  .service-card p{color:var(--text-dim);font-size:.95rem}

  /* ZONAS */
  .zones-wrap{
    display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem;
  }
  .zone-card{
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:14px;
    padding:1.3rem 1.5rem;
    display:flex;flex-direction:column;gap:.3rem;
    transition:all .3s;
  }
  .zone-card:hover{
    border-color:var(--gold);
    transform:translateY(-2px);
    background:var(--surface-2);
  }
  .zone-card .zone-name{font-weight:600;font-size:1.05rem}
  .zone-card .zone-sub{color:var(--text-dim);font-size:.82rem}

  /* PROPIEDAD DESTACADA */
  .featured-property{
    background:linear-gradient(135deg,var(--surface),var(--bg-2));
    border:1px solid var(--border);
    border-radius:24px;
    overflow:hidden;
    display:grid;grid-template-columns:1fr 1fr;gap:0;
    box-shadow:var(--shadow);
  }
  @media(max-width:860px){.featured-property{grid-template-columns:1fr}}
  .featured-img{
    aspect-ratio:4/3;
    background:linear-gradient(135deg,#5a7a4e,#3d5a3a) center/cover;
    position:relative;
  }
  .featured-img::after{
    content:'En venta';
    position:absolute;top:1.2rem;left:1.2rem;
    background:var(--gold);color:var(--bg);
    padding:.35rem .9rem;border-radius:6px;
    font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:1px;
  }
  .featured-content{padding:2.5rem;display:flex;flex-direction:column;justify-content:center}
  .featured-content h3{
    font-family:'Playfair Display',serif;font-size:1.8rem;line-height:1.2;margin-bottom:.4rem;
  }
  .featured-location{color:var(--gold);font-size:.9rem;font-weight:600;margin-bottom:1rem;letter-spacing:.5px}
  .featured-price{
    font-family:'Playfair Display',serif;
    font-size:2.2rem;font-weight:700;color:var(--gold);margin-bottom:1.5rem;
  }
  .featured-specs{display:flex;gap:1.5rem;margin-bottom:1.5rem;flex-wrap:wrap}
  .featured-specs div{display:flex;flex-direction:column}
  .featured-specs b{font-size:1.2rem;font-weight:700}
  .featured-specs span{font-size:.8rem;color:var(--text-dim);text-transform:uppercase;letter-spacing:1px}
  .featured-desc{color:var(--text-dim);margin-bottom:1.5rem;font-size:.95rem;line-height:1.6}

  /* MÉTRICAS */
  .metrics{
    display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:2rem;
    text-align:center;
    padding:3rem 2rem;
    background:linear-gradient(135deg,var(--surface),var(--bg-2));
    border-radius:24px;border:1px solid var(--border);
  }
  .metric{display:flex;flex-direction:column;gap:.4rem}
  .metric-num{
    font-family:'Playfair Display',serif;
    font-size:clamp(2.5rem,5vw,3.5rem);font-weight:700;line-height:1;
    background:linear-gradient(135deg,var(--gold),var(--gold-2));
    -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
  }
  .metric-label{color:var(--text-dim);font-size:.88rem;letter-spacing:1px;text-transform:uppercase}

  /* CONTACTO */
  .contact-wrap{
    display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:start;
    background:linear-gradient(135deg,var(--surface),var(--bg-2));
    border:1px solid var(--border);border-radius:24px;
    padding:3rem;
  }
  @media(max-width:860px){.contact-wrap{grid-template-columns:1fr;padding:2rem}}
  .contact-info h3{
    font-family:'Playfair Display',serif;font-size:1.6rem;margin-bottom:1.2rem;
  }
  .contact-list{list-style:none;display:flex;flex-direction:column;gap:1rem}
  .contact-list li{
    display:flex;align-items:flex-start;gap:1rem;color:var(--text-dim);font-size:.95rem;
  }
  .contact-list .ci{
    width:40px;height:40px;border-radius:10px;flex-shrink:0;
    background:rgba(212,168,90,0.12);color:var(--gold);
    display:grid;place-items:center;font-size:1.1rem;
  }
  .contact-list b{display:block;color:var(--text);font-weight:600;font-size:.85rem;margin-bottom:.2rem;text-transform:uppercase;letter-spacing:.5px}
  .contact-list a{color:var(--text-dim);transition:color .2s}
  .contact-list a:hover{color:var(--gold)}
  .whatsapp-buttons{
    display:flex;flex-direction:column;gap:.7rem;margin-top:1.5rem;
  }
  .wa-btn{
    display:flex;align-items:center;gap:.8rem;
    padding:.85rem 1.1rem;border-radius:12px;
    background:linear-gradient(135deg,#25d366,#128c7e);
    color:#fff;font-weight:600;font-size:.95rem;
    transition:transform .2s,box-shadow .2s;
    box-shadow:0 4px 14px rgba(37,211,102,0.25);
  }
  .wa-btn:hover{
    transform:translateY(-2px);
    box-shadow:0 8px 24px rgba(37,211,102,0.4);
  }
  .wa-btn svg{width:22px;height:22px;flex-shrink:0;fill:#fff}
  .wa-btn span.wa-num{font-family:'Inter',sans-serif;letter-spacing:.3px}
  .wa-btn small{display:block;font-size:.72rem;opacity:.85;font-weight:500;margin-top:2px}
  .socials{display:flex;gap:.8rem;margin-top:1.5rem;flex-wrap:wrap}
  .social-link{
    width:44px;height:44px;border-radius:12px;
    background:var(--surface-2);border:1px solid var(--border);
    display:grid;place-items:center;font-size:1.1rem;
    transition:all .2s;
  }
  .social-link:hover{transform:translateY(-2px);border-color:var(--gold);color:var(--gold)}

  .contact-form{display:flex;flex-direction:column;gap:.9rem}
  .contact-form input,
  .contact-form textarea,
  .contact-form select{
    background:var(--bg-2);
    border:1px solid var(--border);
    border-radius:10px;
    padding:.85rem 1rem;
    color:var(--text);font-family:inherit;font-size:.95rem;
    transition:border-color .2s;
    width:100%;
  }
  .contact-form input:focus,
  .contact-form textarea:focus,
  .contact-form select:focus{
    outline:none;border-color:var(--gold);
  }
  .contact-form select{
    appearance:none;-webkit-appearance:none;-moz-appearance:none;
    background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='%23a3a3a3' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat:no-repeat;background-position:right 1rem center;background-size:12px;
    padding-right:2.5rem;cursor:pointer;
  }
  .contact-form select option{background:var(--bg-2);color:var(--text)}
  .contact-form textarea{min-height:110px;resize:vertical;font-family:inherit}
  .form-row{display:grid;grid-template-columns:1fr 1fr;gap:.9rem}
  @media(max-width:560px){.form-row{grid-template-columns:1fr}}
  .form-label{
    font-size:.78rem;color:var(--text-dim);
    text-transform:uppercase;letter-spacing:1px;font-weight:600;
    margin-bottom:-.3rem;margin-top:.3rem;
  }
  .file-wrap{
    border:1px dashed var(--border);
    border-radius:10px;
    padding:.95rem 1rem;
    background:var(--bg-2);
    display:flex;align-items:center;gap:.8rem;
    cursor:pointer;
    transition:border-color .2s,background .2s;
  }
  .file-wrap:hover{border-color:var(--gold);background:rgba(212,168,90,0.04)}
  .file-wrap input[type=file]{display:none}
  .file-icon{
    width:36px;height:36px;border-radius:8px;
    background:rgba(212,168,90,0.12);color:var(--gold);
    display:grid;place-items:center;font-size:1.1rem;flex-shrink:0;
  }
  .file-text{flex:1;min-width:0}
  .file-text b{display:block;font-size:.9rem;color:var(--text);font-weight:600}
  .file-text small{display:block;color:var(--text-dim);font-size:.78rem;margin-top:2px}
  .file-list{
    display:flex;flex-wrap:wrap;gap:.4rem;margin-top:.5rem;
  }
  .file-chip{
    background:var(--surface-2);border:1px solid var(--border);
    border-radius:99px;padding:.25rem .7rem;font-size:.78rem;
    color:var(--text-dim);
  }
  .contact-form button[type=submit]{
    background:var(--gold);color:var(--bg);
    padding:1rem;border:none;border-radius:10px;
    font-weight:700;font-size:.98rem;cursor:pointer;
    transition:transform .2s,box-shadow .2s;font-family:inherit;
    letter-spacing:.3px;
  }
  .contact-form button[type=submit]:hover{transform:translateY(-1px);box-shadow:0 8px 24px rgba(212,168,90,0.4)}
  .form-disclaimer{
    font-size:.75rem;color:var(--text-dim);
    line-height:1.5;margin-top:.2rem;
  }
  .form-disclaimer a{color:var(--gold)}
  .honeypot{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}

  /* Consent checkbox */
  .consent-row{
    display:flex;align-items:flex-start;gap:.7rem;
    padding:.6rem 0;font-size:.85rem;color:var(--text-dim);line-height:1.5;
  }
  .consent-row input[type=checkbox]{
    width:18px;height:18px;flex-shrink:0;margin-top:2px;
    accent-color:var(--gold);cursor:pointer;
  }
  .consent-row label{cursor:pointer}
  .consent-row a{color:var(--gold);text-decoration:underline}

  /* Cookie banner */
  .cookie-banner{
    position:fixed;bottom:1.2rem;left:1.2rem;right:1.2rem;
    max-width:560px;margin:0 auto;
    background:rgba(20,20,20,0.96);
    backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);
    border:1px solid var(--border);border-radius:16px;
    padding:1.3rem 1.5rem;
    box-shadow:0 20px 60px rgba(0,0,0,0.6);
    z-index:300;
    transform:translateY(150%);transition:transform .5s cubic-bezier(.16,1,.3,1);
  }
  .cookie-banner.show{transform:translateY(0)}
  .cookie-banner h4{
    font-family:'Playfair Display',serif;font-size:1.1rem;
    margin-bottom:.4rem;color:var(--text);
  }
  .cookie-banner p{
    color:var(--text-dim);font-size:.85rem;line-height:1.5;margin-bottom:1rem;
  }
  .cookie-banner p a{color:var(--gold);text-decoration:underline}
  .cookie-actions{display:flex;gap:.6rem;flex-wrap:wrap}
  .cookie-actions button{
    flex:1;min-width:120px;
    padding:.7rem 1rem;border:none;border-radius:10px;
    font-weight:600;font-size:.85rem;cursor:pointer;
    font-family:inherit;transition:transform .2s,background .2s;
  }
  .cookie-actions .accept{background:var(--gold);color:var(--bg)}
  .cookie-actions .accept:hover{background:var(--gold-2)}
  .cookie-actions .reject{background:var(--surface-2);color:var(--text);border:1px solid var(--border)}
  .cookie-actions .reject:hover{background:var(--surface)}
  @media(max-width:520px){.cookie-banner{left:.6rem;right:.6rem;padding:1rem}}

  /* Legal modal */
  .modal-overlay{
    position:fixed;inset:0;z-index:400;
    background:rgba(0,0,0,0.75);
    backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
    display:none;align-items:center;justify-content:center;
    padding:1rem;
    opacity:0;transition:opacity .3s;
  }
  .modal-overlay.show{display:flex;opacity:1}
  .modal{
    background:var(--surface);
    border:1px solid var(--border);border-radius:18px;
    max-width:760px;width:100%;max-height:88vh;
    display:flex;flex-direction:column;
    box-shadow:0 30px 80px rgba(0,0,0,0.6);
    transform:translateY(20px);transition:transform .3s;
  }
  .modal-overlay.show .modal{transform:none}
  .modal-header{
    display:flex;align-items:center;justify-content:space-between;
    padding:1.3rem 1.6rem;border-bottom:1px solid var(--border);
  }
  .modal-tabs{display:flex;gap:.2rem;flex-wrap:wrap}
  .modal-tab{
    background:none;border:none;
    color:var(--text-dim);font-family:inherit;font-size:.85rem;font-weight:600;
    padding:.5rem .9rem;border-radius:8px;cursor:pointer;
    transition:background .2s,color .2s;
  }
  .modal-tab:hover{color:var(--text)}
  .modal-tab.active{background:var(--surface-2);color:var(--gold)}
  .modal-close{
    background:none;border:none;color:var(--text-dim);
    font-size:1.6rem;cursor:pointer;padding:.3rem;line-height:1;
    transition:color .2s;
  }
  .modal-close:hover{color:var(--gold)}
  .modal-body{
    padding:1.5rem 1.8rem 2rem;overflow-y:auto;
    color:var(--text-dim);font-size:.92rem;line-height:1.65;
  }
  .modal-body h3{
    font-family:'Playfair Display',serif;font-size:1.5rem;
    color:var(--text);margin-bottom:1rem;
  }
  .modal-body h4{
    color:var(--gold);font-size:.85rem;text-transform:uppercase;
    letter-spacing:1.2px;margin:1.5rem 0 .6rem;
  }
  .modal-body p{margin-bottom:.8rem}
  .modal-body ul{margin:.6rem 0 1rem 1.2rem}
  .modal-body li{margin-bottom:.4rem}
  .modal-body strong{color:var(--text)}
  .modal-body table{
    width:100%;border-collapse:collapse;margin:1rem 0;
    font-size:.85rem;
  }
  .modal-body th,.modal-body td{
    border:1px solid var(--border);padding:.6rem .8rem;text-align:left;
  }
  .modal-body th{background:var(--surface-2);color:var(--text);font-weight:600}
  .modal-tab-content{display:none}
  .modal-tab-content.active{display:block}
  .modal-pane{display:none}
  .modal-pane.active{display:block;animation:fade .3s}
  @keyframes fade{from{opacity:0}to{opacity:1}}

  /* === PROPERTIES SECTION === */
  .props-section{padding-bottom:4rem}
  .props-toolbar{
    display:grid;grid-template-columns:1fr auto;gap:1rem;
    margin-bottom:2rem;align-items:center;
  }
  @media(max-width:720px){.props-toolbar{grid-template-columns:1fr}}
  .props-search{
    position:relative;
  }
  .props-search input{
    width:100%;padding:.85rem 1rem .85rem 2.8rem;
    background:var(--surface);border:1px solid var(--border);
    border-radius:12px;color:var(--text);font-family:inherit;font-size:.95rem;
    transition:border-color .2s;
  }
  .props-search input:focus{outline:none;border-color:var(--gold)}
  .props-search::before{
    content:'🔍';position:absolute;left:1rem;top:50%;transform:translateY(-50%);
    opacity:.6;font-size:1rem;pointer-events:none;
  }
  .props-count{
    color:var(--text-dim);font-size:.9rem;font-weight:500;
    white-space:nowrap;
  }
  .props-count b{color:var(--gold);font-weight:700}

  .props-filters{
    display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:2rem;
  }
  .filter-chip{
    background:var(--surface);border:1px solid var(--border);
    color:var(--text-dim);
    padding:.5rem 1rem;border-radius:99px;
    font-size:.85rem;font-weight:500;cursor:pointer;
    transition:all .2s;font-family:inherit;
    display:inline-flex;align-items:center;gap:.4rem;
  }
  .filter-chip:hover{color:var(--text);border-color:rgba(255,255,255,0.2)}
  .filter-chip.active{
    background:var(--gold);color:var(--bg);border-color:var(--gold);
    font-weight:600;
  }
  .filter-chip .badge{
    background:rgba(0,0,0,0.15);padding:.05rem .45rem;border-radius:99px;
    font-size:.72rem;font-weight:700;
  }
  .filter-chip.active .badge{background:rgba(255,255,255,0.25);color:var(--bg)}

  .props-grid{
    display:grid;grid-template-columns:repeat(auto-fill,minmax(310px,1fr));
    gap:1.5rem;
  }
  .prop-card{
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:16px;
    overflow:hidden;
    cursor:pointer;
    transition:transform .3s,border-color .3s,box-shadow .3s;
    display:flex;flex-direction:column;
  }
  .prop-card:hover{
    transform:translateY(-4px);
    border-color:rgba(212,168,90,0.4);
    box-shadow:0 16px 40px rgba(0,0,0,0.4);
  }
  .prop-img{
    aspect-ratio:16/10;
    background:linear-gradient(135deg,var(--surface-2),var(--bg-2)) center/cover;
    position:relative;overflow:hidden;
  }
  .prop-img img{
    width:100%;height:100%;object-fit:cover;
    transition:transform .6s ease;
  }
  .prop-card:hover .prop-img img{transform:scale(1.05)}
  .prop-tag{
    position:absolute;top:.9rem;left:.9rem;
    background:rgba(0,0,0,0.75);color:#fff;
    padding:.25rem .7rem;border-radius:6px;
    font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:1px;
    backdrop-filter:blur(8px);
  }
  .prop-tag.gold{background:var(--gold);color:var(--bg)}
  .prop-photos-count{
    position:absolute;bottom:.9rem;right:.9rem;
    background:rgba(0,0,0,0.7);color:#fff;
    padding:.2rem .6rem;border-radius:6px;
    font-size:.75rem;display:flex;align-items:center;gap:.3rem;
    backdrop-filter:blur(8px);
  }
  .prop-body{padding:1.2rem 1.3rem 1.4rem;display:flex;flex-direction:column;gap:.5rem;flex:1}
  .prop-zone{
    color:var(--gold);font-size:.78rem;font-weight:700;
    text-transform:uppercase;letter-spacing:1.2px;
  }
  .prop-title{
    font-family:'Playfair Display',serif;font-size:1.15rem;
    font-weight:600;line-height:1.3;color:var(--text);
    display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  }
  .prop-price{
    font-family:'Playfair Display',serif;
    font-size:1.5rem;font-weight:700;
    color:var(--gold);margin-top:.2rem;
  }
  .prop-specs{
    display:flex;flex-wrap:wrap;gap:.8rem;
    color:var(--text-dim);font-size:.85rem;
    border-top:1px solid var(--border);padding-top:.8rem;margin-top:auto;
  }
  .prop-specs span{display:inline-flex;align-items:center;gap:.3rem}
  .prop-specs b{color:var(--text);font-weight:600}

  /* PROPERTY DETAIL MODAL */
  .pd-overlay{
    position:fixed;inset:0;z-index:500;
    background:rgba(0,0,0,0.85);
    backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
    display:none;align-items:center;justify-content:center;
    padding:1rem;opacity:0;transition:opacity .3s;
  }
  .pd-overlay.show{display:flex;opacity:1}
  .pd-modal{
    background:var(--surface);border:1px solid var(--border);
    border-radius:18px;max-width:1100px;width:100%;max-height:92vh;
    display:flex;flex-direction:column;overflow:hidden;
    box-shadow:0 30px 80px rgba(0,0,0,0.7);
    transform:translateY(20px);transition:transform .3s;
  }
  .pd-overlay.show .pd-modal{transform:none}
  .pd-close{
    position:absolute;top:1.2rem;right:1.2rem;z-index:10;
    width:40px;height:40px;border-radius:50%;
    background:rgba(0,0,0,0.6);border:none;color:#fff;
    font-size:1.4rem;cursor:pointer;backdrop-filter:blur(10px);
    display:grid;place-items:center;line-height:1;
    transition:background .2s,transform .2s;
  }
  .pd-close:hover{background:var(--gold);color:var(--bg);transform:scale(1.05)}
  .pd-content{display:grid;grid-template-columns:1.3fr 1fr;overflow:hidden;flex:1;min-height:0}
  /* CRÍTICO: sin min-width:0, las miniaturas (flex-shrink:0) inflan la galería
     y la info colapsa a 64px. Esto mantiene la columna info en su 1fr correcta. */
  .pd-content > .pd-gallery,
  .pd-content > .pd-info{min-width:0}
  @media(max-width:900px){.pd-content{grid-template-columns:1fr;overflow-y:auto}}
  /* Móvil horizontal: side-by-side para que la info no quede atrapada bajo las fotos */
  @media(max-width:900px) and (orientation:landscape){
    .pd-content{grid-template-columns:1fr 1fr;overflow-y:hidden}
    .pd-gallery,.pd-info{overflow-y:auto;min-height:0}
    .pd-gallery-main{aspect-ratio:auto;min-height:0;max-height:none}
    .pd-info{padding:1rem}
    .pd-title{font-size:1.2rem}
    .pd-price{font-size:1.5rem}
  }
  /* Móvil vertical: limita la altura de la galería para que SIEMPRE haya info visible debajo */
  @media(max-width:900px) and (orientation:portrait){
    .pd-gallery-main{max-height:55vh}
  }
  .pd-gallery{
    position:relative;background:#000;
    display:flex;flex-direction:column;min-height:0;
  }
  .pd-gallery-main{
    flex:1;position:relative;overflow:hidden;
    display:grid;place-items:center;min-height:300px;
  }
  .pd-gallery-main img{
    max-width:100%;max-height:100%;width:100%;height:100%;
    object-fit:cover;
    display:block;
  }
  @media(max-width:900px){.pd-gallery-main{aspect-ratio:4/3;max-height:none}}
  .pd-gallery-nav{
    position:absolute;top:50%;transform:translateY(-50%);
    width:42px;height:42px;border-radius:50%;
    background:rgba(0,0,0,0.6);border:none;color:#fff;
    font-size:1.4rem;cursor:pointer;backdrop-filter:blur(10px);
    display:grid;place-items:center;
    transition:background .2s;z-index:2;
  }
  .pd-gallery-nav:hover{background:var(--gold);color:var(--bg)}
  .pd-gallery-nav.prev{left:1rem}
  .pd-gallery-nav.next{right:1rem}
  .pd-gallery-thumbs{
    display:flex;gap:.4rem;padding:.6rem;background:#000;
    overflow-x:auto;
  }
  .pd-thumb{
    width:80px;height:54px;border-radius:6px;
    background-size:cover;background-position:center;
    flex-shrink:0;cursor:pointer;border:2px solid transparent;
    transition:border-color .2s,opacity .2s;opacity:.6;
  }
  .pd-thumb:hover{opacity:1}
  .pd-thumb.active{opacity:1;border-color:var(--gold)}
  .pd-counter{
    position:absolute;bottom:.8rem;left:.8rem;z-index:2;
    background:rgba(0,0,0,0.6);color:#fff;
    padding:.25rem .7rem;border-radius:99px;
    font-size:.82rem;font-weight:600;
    backdrop-filter:blur(8px);
  }
  /* Caption sobre la foto activa */
  .pd-caption{
    position:absolute;bottom:0;left:0;right:0;z-index:2;
    background:linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0));
    color:#fff;padding:1.6rem 1rem .8rem;
    font-size:.92rem;line-height:1.35;font-weight:500;
    text-shadow:0 1px 2px rgba(0,0,0,0.6);
    pointer-events:none;
  }
  .pd-info{
    padding:2rem;overflow-y:auto;
    display:flex;flex-direction:column;gap:1.2rem;
  }
  .pd-tag{
    align-self:flex-start;
    background:var(--gold);color:var(--bg);
    padding:.3rem .8rem;border-radius:6px;
    font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:1.2px;
  }
  .pd-title{
    font-family:'Playfair Display',serif;
    font-size:1.6rem;font-weight:700;line-height:1.25;color:var(--text);
  }
  .pd-zone{color:var(--text-dim);font-size:.95rem;display:flex;align-items:center;gap:.4rem}
  .pd-price{
    font-family:'Playfair Display',serif;
    font-size:2.2rem;font-weight:700;color:var(--gold);line-height:1;
  }
  .pd-specs{
    display:grid;grid-template-columns:repeat(auto-fit,minmax(90px,1fr));
    gap:.8rem;padding:1rem 0;
    border-top:1px solid var(--border);border-bottom:1px solid var(--border);
  }
  .pd-spec{display:flex;flex-direction:column;text-align:center}
  .pd-spec b{font-size:1.2rem;color:var(--text);font-weight:700;font-family:'Playfair Display',serif}
  .pd-spec span{color:var(--text-dim);font-size:.72rem;text-transform:uppercase;letter-spacing:1px;margin-top:.15rem}
  .pd-section-title{
    color:var(--gold);font-size:.78rem;text-transform:uppercase;letter-spacing:1.5px;
    font-weight:700;margin-top:.5rem;
  }
  .pd-desc{
    color:var(--text-dim);font-size:.92rem;line-height:1.65;
  }
  .pd-features{
    display:flex;flex-wrap:wrap;gap:.4rem;
  }
  .pd-feature{
    background:var(--surface-2);border:1px solid var(--border);
    color:var(--text-dim);font-size:.78rem;
    padding:.35rem .7rem;border-radius:99px;
  }
  .pd-actions{
    display:grid;grid-template-columns:1fr 1fr;gap:.5rem;margin-top:.5rem;
  }
  /* En móviles y modales estrechos, una columna para que el número entre
     en una sola línea junto al label */
  @media(max-width:760px){.pd-actions{grid-template-columns:1fr}}
  .pd-btn{
    display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
    padding:.85rem .9rem;border-radius:10px;
    font-weight:600;font-size:.88rem;text-decoration:none;
    cursor:pointer;transition:transform .2s,background .2s;
    font-family:inherit;border:none;
    white-space:nowrap;       /* nunca romper el texto del botón */
    min-width:0;              /* permite que flex/grid lo encoja */
    overflow:hidden;text-overflow:ellipsis;
  }
  .pd-btn-wa{background:linear-gradient(135deg,#25d366,#128c7e);color:#fff}
  .pd-btn-wa:hover{transform:translateY(-1px);box-shadow:0 8px 24px rgba(37,211,102,0.35)}
  .pd-btn-call{background:var(--gold);color:var(--bg)}
  .pd-btn-call:hover{background:var(--gold-2)}
  .pd-btn-form{
    background:var(--gold);color:var(--bg);width:100%;font-weight:700;
  }
  .pd-btn-form:hover{background:var(--gold-2)}
  .pd-btn-form:disabled{opacity:.6;cursor:not-allowed}
  .pd-fc-link{
    color:var(--text-dim);font-size:.78rem;text-align:center;
    margin-top:.5rem;
  }
  .pd-fc-link a{color:var(--gold);text-decoration:underline}

  /* === Lead capture form === */
  .pd-lead{
    margin-top:1.25rem;padding:1.1rem 1.1rem 1rem;
    background:linear-gradient(180deg,rgba(193,154,77,0.06),rgba(193,154,77,0.02));
    border:1px solid rgba(193,154,77,0.25);
    border-radius:12px;
  }
  .pd-lead-head{display:flex;flex-direction:column;gap:.15rem;margin-bottom:.85rem}
  .pd-lead-head strong{font-size:1rem;color:var(--text)}
  .pd-lead-head span{color:var(--text-dim);font-size:.82rem}
  .pd-lead-form{display:flex;flex-direction:column;gap:.5rem;position:relative}
  .pd-lead-row{display:grid;grid-template-columns:1fr 1fr;gap:.5rem}
  @media(max-width:520px){.pd-lead-row{grid-template-columns:1fr}}
  .pd-lead-form input[type="text"],
  .pd-lead-form input[type="tel"],
  .pd-lead-form input[type="email"],
  .pd-lead-form textarea{
    width:100%;padding:.7rem .85rem;border-radius:8px;
    border:1px solid var(--border);background:var(--surface-2);color:var(--text);
    font-family:inherit;font-size:.9rem;
    transition:border-color .15s;
  }
  .pd-lead-form input:focus,
  .pd-lead-form textarea:focus{outline:none;border-color:var(--gold)}
  .pd-lead-form textarea{resize:vertical;min-height:60px}
  .pd-lead-msg{
    margin:.3rem 0 0;padding:.55rem .7rem;border-radius:6px;
    font-size:.85rem;text-align:center;
  }
  .pd-lead-msg[data-kind="ok"]{background:rgba(37,211,102,0.12);color:#1e9c50;border:1px solid rgba(37,211,102,0.3)}
  .pd-lead-msg[data-kind="err"]{background:rgba(220,40,40,0.10);color:#d73a3a;border:1px solid rgba(220,40,40,0.3)}
  .pd-lead-legal{
    color:var(--text-dim);font-size:.72rem;text-align:center;
    margin:.25rem 0 0;line-height:1.4;
  }

  /* === Responsive móvil del detalle de propiedad === */
  @media(max-width:600px){
    .pd-info{
      padding:1.1rem 1rem 2rem;gap:1rem;
    }
    .pd-title{font-size:1.25rem;line-height:1.3;word-break:break-word}
    .pd-price{font-size:1.7rem;line-height:1.1}
    .pd-zone{font-size:.85rem}
    .pd-tag{font-size:.65rem;padding:.25rem .6rem;letter-spacing:1px}
    .pd-specs{gap:.5rem;padding:.7rem 0;grid-template-columns:repeat(auto-fit,minmax(70px,1fr))}
    .pd-spec b{font-size:1rem}
    .pd-spec span{font-size:.62rem;letter-spacing:.8px}
    .pd-section-title{font-size:.7rem;letter-spacing:1.2px}
    .pd-desc{font-size:.86rem;line-height:1.55}
    .pd-features{gap:.3rem}
    .pd-feature{font-size:.7rem;padding:.25rem .55rem}
    .pd-actions{gap:.5rem}
    .pd-btn{
      padding:.75rem .8rem;font-size:.84rem;gap:.4rem;
      min-width:0;white-space:nowrap;
    }
    .pd-btn svg{flex-shrink:0}
    .pd-fc-link{font-size:.72rem;margin-top:.3rem}
    /* Galería más compacta */
    .pd-gallery-thumbs{padding:.4rem}
    .pd-thumb{width:60px;height:42px}
    .pd-counter{font-size:.7rem;padding:.2rem .55rem}
    .pd-gallery-nav{width:34px;height:34px;font-size:1.1rem}
    .pd-gallery-nav.prev{left:.5rem}
    .pd-gallery-nav.next{right:.5rem}
    /* Asegurar mapa */
    .pd-map{height:200px}
    /* Cierre */
    .pd-close{width:34px;height:34px;font-size:1.1rem;top:.5rem;right:.5rem}
  }

  .props-empty{
    grid-column:1/-1;text-align:center;padding:3rem 1rem;
    color:var(--text-dim);
  }
  .props-empty h4{
    font-family:'Playfair Display',serif;font-size:1.4rem;
    color:var(--text);margin-bottom:.5rem;
  }

  /* Footer legal links */
  .footer-legal{
    display:flex;justify-content:center;gap:.4rem 1.4rem;flex-wrap:wrap;
    margin-top:1rem;font-size:.82rem;
  }
  .footer-legal a{
    color:var(--text-dim);text-decoration:none;
    transition:color .2s;cursor:pointer;
  }
  .footer-legal a:hover{color:var(--gold)}
  .footer-legal span{color:var(--border)}

  /* FOOTER */
  footer{
    border-top:1px solid var(--border);
    padding:2.5rem 2rem;
    text-align:center;
    color:var(--text-dim);font-size:.88rem;
  }
  footer .brand{justify-content:center;margin-bottom:.8rem}

  /* Reveal animations (cinematic) */
  .reveal{
    opacity:0;transform:translateY(40px) scale(.98);
    transition:opacity .9s cubic-bezier(.16,1,.3,1),transform .9s cubic-bezier(.16,1,.3,1);
    will-change:transform,opacity;
  }
  .reveal.in{opacity:1;transform:translateY(0) scale(1)}
  .reveal-left{opacity:0;transform:translateX(-50px);transition:opacity 1s cubic-bezier(.16,1,.3,1),transform 1s cubic-bezier(.16,1,.3,1)}
  .reveal-left.in{opacity:1;transform:translateX(0)}
  .reveal-right{opacity:0;transform:translateX(50px);transition:opacity 1s cubic-bezier(.16,1,.3,1),transform 1s cubic-bezier(.16,1,.3,1)}
  .reveal-right.in{opacity:1;transform:translateX(0)}
  .reveal-scale{opacity:0;transform:scale(.85);transition:opacity 1s cubic-bezier(.16,1,.3,1),transform 1s cubic-bezier(.16,1,.3,1)}
  .reveal-scale.in{opacity:1;transform:scale(1)}
  .reveal-stagger > *{
    opacity:0;transform:translateY(30px) scale(.96);
    transition:opacity .8s cubic-bezier(.16,1,.3,1),transform .8s cubic-bezier(.16,1,.3,1);
  }
  .reveal-stagger.in > *{opacity:1;transform:translateY(0) scale(1)}
  @media (prefers-reduced-motion: reduce){
    .reveal,.reveal-left,.reveal-right,.reveal-scale,.reveal-stagger > *{
      opacity:1 !important;transform:none !important;transition:none !important;
    }
  }
  .reveal-stagger.in > *:nth-child(1){transition-delay:0s}
  .reveal-stagger.in > *:nth-child(2){transition-delay:.08s}
  .reveal-stagger.in > *:nth-child(3){transition-delay:.16s}
  .reveal-stagger.in > *:nth-child(4){transition-delay:.24s}
  .reveal-stagger.in > *:nth-child(5){transition-delay:.32s}
  .reveal-stagger.in > *:nth-child(6){transition-delay:.40s}
  .reveal-stagger.in > *:nth-child(7){transition-delay:.48s}
  .reveal-stagger.in > *:nth-child(8){transition-delay:.56s}

  /* === LOGO IMG NAV === */
  .brand img.brand-mark{
    width:44px;height:44px;border-radius:10px;
    object-fit:cover;
    box-shadow:0 4px 14px rgba(212,168,90,0.25);
    background:transparent;
  }
  nav.scrolled .brand img.brand-mark{
    width:38px;height:38px;
  }
  footer .brand img.brand-mark{
    width:52px;height:52px;border-radius:12px;
  }

  /* === MAP === */
  .map-wrap{
    margin:2rem 0 3rem;
    border-radius:18px;overflow:hidden;
    border:1px solid var(--border);
    background:var(--surface);
    box-shadow:0 20px 60px rgba(0,0,0,0.4);
  }
  #map{
    width:100%;height:520px;
    background:#0a0a0a;
  }
  @media(max-width:720px){#map{height:380px}}
  .leaflet-container{
    background:#0a0a0a !important;
    font-family:'Inter',system-ui,sans-serif !important;
  }
  /* Tiles ya son oscuros nativos (ESRI Dark Gray Canvas) — sin filtros */
  .leaflet-popup-content-wrapper{
    background:var(--surface) !important;
    color:var(--text) !important;
    border:1px solid var(--border) !important;
    border-radius:12px !important;
    box-shadow:0 10px 30px rgba(0,0,0,0.6) !important;
  }
  .leaflet-popup-tip{
    background:var(--surface) !important;
  }
  .leaflet-popup-content{
    margin:.9rem 1.1rem !important;
    color:var(--text) !important;
  }
  .leaflet-popup-content h4{
    font-family:'Playfair Display',serif;
    color:var(--gold);font-size:1.05rem;margin-bottom:.3rem;
  }
  .leaflet-popup-content p{
    color:var(--text-dim);font-size:.85rem;margin:0;
  }
  .leaflet-popup-content a{
    display:inline-block;margin-top:.5rem;
    color:var(--gold);font-size:.82rem;font-weight:600;
    text-decoration:none;
  }
  .leaflet-popup-content a:hover{text-decoration:underline}
  .leaflet-popup-close-button{color:var(--text-dim) !important}
  .leaflet-control-attribution{
    background:rgba(0,0,0,0.7) !important;
    color:var(--text-dim) !important;
    font-size:.7rem !important;
  }
  .leaflet-control-attribution a{color:var(--gold) !important}
  .leaflet-bar a{
    background:var(--surface) !important;
    color:var(--text) !important;
    border-color:var(--border) !important;
  }
  .leaflet-bar a:hover{background:var(--surface-2) !important;color:var(--gold) !important}
  .map-marker{
    background:var(--gold);
    color:var(--bg);
    border-radius:50%;
    width:32px;height:32px;
    display:grid;place-items:center;
    font-weight:700;font-size:.85rem;
    box-shadow:0 4px 14px rgba(212,168,90,0.5);
    border:2px solid var(--bg);
  }

  /* === ZONES PAGE === */
  .zone-section{
    margin-bottom:3rem;padding-top:1.5rem;
    border-top:1px solid var(--border);
  }
  .zone-section:first-child{border-top:none;padding-top:0}
  .zone-header{
    display:flex;align-items:baseline;justify-content:space-between;
    flex-wrap:wrap;gap:1rem;margin-bottom:1.2rem;
  }
  .zone-header h3{
    font-family:'Playfair Display',serif;font-size:1.8rem;font-weight:700;
    color:var(--text);
  }
  .zone-header h3 em{
    font-style:italic;color:var(--gold);font-weight:600;font-size:.65em;margin-left:.6rem;
  }
  .zone-header .zone-info{
    color:var(--text-dim);font-size:.92rem;
  }

  /* === PAGE HERO (compact for inner pages) === */
  .page-hero{
    padding:9rem 2rem 3rem;
    text-align:center;
  }
  .page-hero h1{
    font-family:'Playfair Display',serif;
    font-size:clamp(2rem,5vw,3.2rem);font-weight:700;
    line-height:1.15;margin-bottom:.8rem;
  }
  .page-hero h1 em{
    font-style:italic;color:var(--gold);
    background:linear-gradient(135deg,var(--gold),var(--gold-2));
    -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
  }
  .page-hero p{
    color:var(--text-dim);font-size:1.1rem;
    max-width:640px;margin:0 auto;
  }
  .breadcrumb{
    color:var(--text-dim);font-size:.85rem;
    margin-bottom:1rem;
    display:flex;justify-content:center;gap:.5rem;align-items:center;
  }
  .breadcrumb a{color:var(--gold);text-decoration:none}
  .breadcrumb a:hover{text-decoration:underline}
  .breadcrumb span{opacity:.5}

  /* Nav link active state */
  .nav-links a.active{color:var(--gold)}

  /* === INSTAGRAM FEED === */
  .ig-feed-section{padding:5rem 2rem;max-width:1200px;margin:0 auto}
  .ig-feed-header{
    display:flex;align-items:center;justify-content:space-between;
    flex-wrap:wrap;gap:1rem;margin-bottom:2rem;
  }
  .ig-feed-header .left{display:flex;align-items:center;gap:1rem}
  .ig-feed-header img.ig-feed-avatar{
    width:64px;height:64px;border-radius:50%;
    border:2px solid var(--gold);object-fit:cover;
    box-shadow:0 4px 14px rgba(212,168,90,0.3);
  }
  .ig-feed-header h2{
    font-family:'Playfair Display',serif;
    font-size:1.6rem;font-weight:700;line-height:1.2;
    margin-bottom:.2rem;
  }
  .ig-feed-header h2 em{font-style:italic;color:var(--gold)}
  .ig-feed-header .ig-handle{color:var(--text-dim);font-size:.92rem}
  .ig-feed-header .ig-handle a{color:var(--gold);text-decoration:none;font-weight:600}
  .ig-feed-header .ig-handle a:hover{text-decoration:underline}
  .ig-follow-btn{
    display:inline-flex;align-items:center;gap:.5rem;
    background:linear-gradient(45deg,#feda75,#fa7e1e,#d62976,#962fbf,#4f5bd5);
    color:#fff;
    padding:.7rem 1.3rem;border-radius:10px;
    font-weight:700;font-size:.9rem;text-decoration:none;
    transition:transform .2s,box-shadow .2s;
  }
  .ig-follow-btn:hover{transform:translateY(-1px);box-shadow:0 8px 24px rgba(214,41,118,0.35)}

  .ig-feed-grid{
    display:grid;grid-template-columns:repeat(4,1fr);gap:.6rem;
  }
  @media(max-width:900px){.ig-feed-grid{grid-template-columns:repeat(3,1fr)}}
  @media(max-width:560px){.ig-feed-grid{grid-template-columns:repeat(2,1fr)}}
  .ig-feed-item{
    position:relative;aspect-ratio:1;overflow:hidden;
    border-radius:10px;background:var(--surface);
    display:block;cursor:pointer;
    border:1px solid var(--border);
    transition:transform .3s,border-color .3s;
  }
  .ig-feed-item:hover{
    transform:translateY(-2px);
    border-color:var(--gold);
  }
  .ig-feed-item img{
    width:100%;height:100%;object-fit:cover;
    display:block;
    transition:transform .5s;
  }
  .ig-feed-item:hover img{transform:scale(1.05)}
  .ig-feed-item .ig-badge{
    position:absolute;top:.5rem;right:.5rem;
    background:rgba(0,0,0,0.6);color:#fff;
    padding:.2rem .45rem;border-radius:6px;
    font-size:.8rem;font-weight:600;
    backdrop-filter:blur(8px);
  }
  .ig-feed-overlay{
    position:absolute;inset:0;
    background:linear-gradient(180deg,transparent 30%,rgba(0,0,0,0.85) 100%);
    color:#fff;
    padding:1rem;
    display:flex;flex-direction:column;justify-content:flex-end;
    opacity:0;transition:opacity .25s;
  }
  .ig-feed-item:hover .ig-feed-overlay{opacity:1}
  .ig-feed-overlay p{
    font-size:.78rem;line-height:1.4;margin-bottom:.5rem;
    display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;
  }
  .ig-feed-overlay .ig-feed-cta{
    color:var(--gold);font-size:.8rem;font-weight:700;
  }

  .ig-feed-empty{
    text-align:center;padding:3rem 1rem;
    color:var(--text-dim);
    background:var(--surface);border:1px dashed var(--border);
    border-radius:12px;
  }
  .ig-feed-empty h4{
    font-family:'Playfair Display',serif;color:var(--text);
    font-size:1.2rem;margin-bottom:.5rem;
  }
  .ig-feed-empty a{color:var(--gold);font-weight:700;text-decoration:none}

  /* === HERO CLEAN (sin tarjeta IG simulada) === */
  .hero.hero-clean{
    min-height:auto;
    padding:9rem 2rem 5rem;
    display:flex;flex-direction:column;align-items:center;justify-content:center;
  }
  .hero-tagline-lg{
    text-align:center;max-width:820px;
    position:relative;z-index:1;
  }
  .hero-brand-row{
    display:flex;justify-content:center;align-items:center;
    margin-bottom:1.5rem;
  }
  .hero-brand-logo{
    width:clamp(160px,22vw,220px);
    height:auto;
    border-radius:18px;
    box-shadow:0 12px 40px rgba(0,0,0,0.5),0 0 0 1px rgba(212,168,90,0.18);
  }
  .hero-tagline-lg h1{
    font-family:'Playfair Display',serif;
    font-size:clamp(2.2rem,5.5vw,3.8rem);
    font-weight:700;line-height:1.1;letter-spacing:-.5px;
    margin-bottom:1.2rem;
  }
  .hero-tagline-lg h1 em{
    font-style:italic;color:var(--gold);
    background:linear-gradient(135deg,var(--gold),var(--gold-2));
    -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
  }
  .hero-tagline-lg p{
    color:var(--text-dim);font-size:1.1rem;max-width:620px;margin:0 auto 2rem;
  }
  .hero-cta-row{
    display:flex;gap:.7rem;justify-content:center;flex-wrap:wrap;
    margin-bottom:2rem;
  }
  .hero-cta{
    padding:.95rem 1.7rem !important;
    text-decoration:none;display:inline-block;
    font-size:.98rem;
  }

  /* === MOBILE NAV — burger + drawer === */
  .nav-burger{
    display:none;
    background:none;border:none;cursor:pointer;
    width:44px;height:44px;
    padding:0;flex-direction:column;justify-content:center;align-items:center;gap:5px;
    border-radius:8px;
    transition:background .2s;
  }
  .nav-burger:hover{background:rgba(255,255,255,0.06)}
  .nav-burger span{
    display:block;width:24px;height:2px;background:var(--text);
    border-radius:2px;transition:transform .3s,opacity .3s;
  }
  .nav-burger.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  .nav-burger.open span:nth-child(2){opacity:0}
  .nav-burger.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

  .nav-drawer{
    position:fixed;inset:0;z-index:500;
    background:rgba(10,10,10,0.6);
    backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
    opacity:0;pointer-events:none;
    transition:opacity .35s ease;
  }
  .nav-drawer.open{opacity:1;pointer-events:auto}
  .nav-drawer-inner{
    position:absolute;right:0;top:0;bottom:0;
    width:88%;max-width:380px;
    background:linear-gradient(180deg,var(--surface) 0%,var(--bg-2) 100%);
    border-left:1px solid var(--border);
    padding:5rem 2rem 2rem;
    display:flex;flex-direction:column;gap:.2rem;
    transform:translateX(100%);
    transition:transform .4s cubic-bezier(.16,1,.3,1);
    box-shadow:-20px 0 60px rgba(0,0,0,0.5);
    overflow-y:auto;
  }
  .nav-drawer.open .nav-drawer-inner{transform:translateX(0)}
  .nav-drawer-close{
    position:absolute;top:1.2rem;right:1.2rem;z-index:1;
    width:42px;height:42px;border-radius:50%;
    background:rgba(255,255,255,0.06);
    border:1px solid var(--border);
    color:var(--text);font-size:1.5rem;
    cursor:pointer;display:grid;place-items:center;line-height:1;
    transition:background .2s,transform .2s;
  }
  .nav-drawer-close:hover{background:var(--gold);color:var(--bg);transform:scale(1.05)}
  .nav-drawer-brand{
    display:flex;align-items:center;gap:.7rem;
    padding-bottom:1.5rem;margin-bottom:1rem;
    border-bottom:1px solid var(--border);
  }
  .nav-drawer-brand img{
    width:48px;height:48px;border-radius:12px;
    object-fit:cover;
  }
  .nav-drawer-brand span{
    font-family:'Playfair Display',serif;font-weight:700;font-size:1.1rem;
  }
  .nav-drawer-inner a{
    color:var(--text);text-decoration:none;
    padding:.95rem 1rem;border-radius:10px;
    font-size:1.05rem;font-weight:500;
    transition:background .2s,color .2s;
    display:flex;align-items:center;gap:.5rem;
  }
  .nav-drawer-inner a:hover{background:rgba(255,255,255,0.05);color:var(--gold)}
  .nav-drawer-inner a.active{
    background:rgba(212,168,90,0.12);color:var(--gold);
  }
  .nav-drawer-cta{
    margin-top:1rem !important;
    background:var(--gold) !important;color:var(--bg) !important;
    justify-content:center;font-weight:700 !important;
    text-transform:uppercase;letter-spacing:1.5px;font-size:.85rem !important;
  }
  .nav-drawer-cta:hover{background:var(--gold-2) !important;color:var(--bg) !important}
  .nav-drawer-contact{
    margin-top:auto;padding-top:1.5rem;
    border-top:1px solid var(--border);
    display:flex;flex-direction:column;gap:.5rem;
  }
  .nav-drawer-contact a{
    background:rgba(255,255,255,0.04);
    border:1px solid var(--border);
    font-size:.92rem !important;padding:.7rem 1rem !important;
  }

  @media(max-width:880px){
    .nav-links{display:none !important}
    .nav-cta-desktop{display:none}
    .nav-burger{display:flex}
  }

  /* === MARQUEE de zonas === */
  .marquee-wrap{
    overflow:hidden;
    padding:2rem 0;
    margin:1rem 0;
    border-top:1px solid var(--border);
    border-bottom:1px solid var(--border);
    background:linear-gradient(180deg,rgba(212,168,90,0.02),transparent,rgba(212,168,90,0.02));
    position:relative;
    -webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);
    mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);
  }
  .marquee-track{
    display:flex;width:max-content;
    animation:marquee 50s linear infinite;
  }
  .marquee-track:hover{animation-play-state:paused}
  .marquee-item{
    flex-shrink:0;padding:0 2.5rem;
    font-family:'Playfair Display',serif;
    font-size:clamp(1.4rem,3vw,2rem);
    font-weight:700;
    color:var(--text-dim);
    letter-spacing:-.3px;
    display:flex;align-items:center;gap:1.5rem;
    transition:color .3s;
  }
  .marquee-item:hover{color:var(--gold)}
  .marquee-item::after{
    content:'';width:6px;height:6px;border-radius:50%;
    background:var(--gold);opacity:.6;
  }
  @keyframes marquee{
    to{transform:translateX(-50%)}
  }

  /* === H2 con underline animado === */
  .section-title{position:relative;display:inline-block;padding-bottom:.4rem}
  .section-title::after{
    content:'';position:absolute;bottom:-.2rem;left:0;height:3px;width:0;
    background:linear-gradient(90deg,var(--gold),var(--gold-2));
    border-radius:2px;
    transition:width 1.2s cubic-bezier(.16,1,.3,1) .3s;
  }
  .section-title.in::after,
  .reveal.section-title.in::after{width:60px}

  /* === PARALLAX layers === */
  .parallax-layer{
    position:absolute;inset:0;pointer-events:none;
    will-change:transform;
  }
  .hero-orb{
    position:absolute;border-radius:50%;filter:blur(60px);
    pointer-events:none;will-change:transform;
  }
  .hero-orb-1{
    top:-150px;right:-100px;
    width:500px;height:500px;
    background:radial-gradient(circle,rgba(212,168,90,0.25),transparent 70%);
  }
  .hero-orb-2{
    bottom:-100px;left:-150px;
    width:400px;height:400px;
    background:radial-gradient(circle,rgba(255,255,255,0.06),transparent 70%);
  }
  .hero-orb-3{
    top:40%;left:50%;transform:translate(-50%,-50%);
    width:300px;height:300px;
    background:radial-gradient(circle,rgba(212,168,90,0.08),transparent 70%);
  }

  /* === Image parallax en prop-cards === */
  .prop-card .prop-img img{
    transition:transform 1s cubic-bezier(.2,.8,.2,1);
  }
  .prop-card:hover .prop-img img{transform:scale(1.08) translateY(-4px)}

  /* === Hover lift sutil en cards === */
  .service-card,.zone-card{
    transition:transform .4s cubic-bezier(.2,.8,.2,1),border-color .4s,background .4s,box-shadow .4s;
  }
  .service-card:hover{
    transform:translateY(-6px);
    box-shadow:0 20px 50px rgba(0,0,0,0.4);
  }

  /* === Animated gradient en headlines del hero === */
  @keyframes shine{
    0%{background-position:0% 50%}
    100%{background-position:200% 50%}
  }
  .hero-tagline-lg h1 em{
    background:linear-gradient(90deg,var(--gold) 0%,var(--gold-2) 50%,var(--gold) 100%);
    background-size:200% auto;
    -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
    animation:shine 6s linear infinite;
  }

  /* === Scroll indicator en hero === */
  .scroll-hint{
    position:absolute;bottom:2rem;left:50%;transform:translateX(-50%);
    color:var(--text-dim);font-size:.78rem;letter-spacing:2px;text-transform:uppercase;
    display:flex;flex-direction:column;align-items:center;gap:.6rem;
    opacity:.5;animation:bounce 2.4s ease-in-out infinite;
    pointer-events:none;
  }
  .scroll-hint .arrow{
    width:1px;height:32px;background:linear-gradient(180deg,transparent,var(--gold));
  }
  @keyframes bounce{
    0%,100%{transform:translate(-50%,0);opacity:.4}
    50%{transform:translate(-50%,8px);opacity:.7}
  }

  /* === HERO con imagen de fondo === */
  .hero.hero-clean{
    overflow:hidden;
  }
  .hero-photo-bg{
    position:absolute;inset:-10% 0 0 0;
    z-index:-1;
    background-image:url('assets/hero/hero-main.jpg');
    background-size:cover;background-position:center 60%;
    will-change:transform;
    transform:translateZ(0);
  }
  .hero-photo-overlay{
    position:absolute;inset:0;z-index:0;pointer-events:none;
    background:
      linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.75) 50%, var(--bg) 100%),
      linear-gradient(180deg, transparent 70%, var(--bg) 100%);
  }
  .hero.hero-clean .hero-tagline-lg,
  .hero.hero-clean .scroll-hint{
    position:relative;z-index:2;
  }
  .hero-photo-bg{z-index:-2}
  .hero.hero-clean .hero-orb{
    opacity:.4;
    mix-blend-mode:screen;
  }

  /* Refuerzo de legibilidad sobre la foto */
  .hero-tagline-lg h1{
    text-shadow:0 4px 30px rgba(0,0,0,0.4);
  }
  .hero-tagline-lg p{
    color:#e8eef5;
    text-shadow:0 2px 20px rgba(0,0,0,0.5);
  }
  .hero-brand-row{
    background:transparent;
    backdrop-filter:none;-webkit-backdrop-filter:none;
  }

  /* ============ TOUR VIRTUAL 360° ============ */
  .pd-tours{
    display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));
    gap:.8rem;margin-top:.8rem;
  }
  .pd-tour-card{
    display:flex;flex-direction:column;gap:.5rem;align-items:stretch;
    background:var(--surface);
    border:1px solid var(--gold);
    border-radius:12px;padding:.6rem;
    cursor:pointer;
    transition:transform .2s, box-shadow .2s;
    font-family:'Inter',sans-serif;color:var(--text);
  }
  .pd-tour-card:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(212,168,90,0.3)}
  .pd-tour-thumb{
    aspect-ratio:16/9;border-radius:8px;overflow:hidden;
    background:#1a1a1a;background-size:cover;background-position:center;
    position:relative;display:grid;place-items:center;
  }
  .pd-tour-thumb video{width:100%;height:100%;object-fit:cover}
  .pd-tour-play{
    position:absolute;
    width:50px;height:50px;border-radius:50%;
    background:rgba(212,168,90,0.95);color:#0a0a0a;
    display:grid;place-items:center;font-size:1.4rem;font-weight:700;
    box-shadow:0 6px 20px rgba(212,168,90,0.5);
  }
  .pd-tour-label{
    font-size:.78rem;color:var(--text-dim);letter-spacing:.3px;text-align:left;
    padding:0 .2rem;
  }

  /* Overlay del visor */
  .tour-overlay{
    position:fixed;inset:0;z-index:2000;
    background:rgba(0,0,0,0.96);
    display:none;flex-direction:column;
    padding:1rem;
  }
  .tour-overlay.show{display:flex}
  .tour-close{
    position:absolute;top:1rem;right:1rem;z-index:10;
    width:44px;height:44px;border-radius:50%;
    background:rgba(255,255,255,0.1);color:#fff;
    border:none;font-size:1.6rem;cursor:pointer;
    display:grid;place-items:center;line-height:1;
    transition:background .2s;
  }
  .tour-close:hover{background:rgba(212,168,90,0.95);color:#0a0a0a}
  .tour-title{
    position:absolute;top:1rem;left:1.2rem;z-index:10;
    color:#fff;font-family:'Playfair Display',serif;
    font-weight:500;font-size:1rem;
    max-width:calc(100% - 7rem);
  }
  .tour-viewer{
    flex:1;min-height:0;width:100%;
    border-radius:16px;overflow:hidden;
    background:#000;position:relative;
  }
  .tour-viewer a-scene{width:100%;height:100%}
  .tour-hint{
    color:var(--text-dim);text-align:center;
    font-size:.8rem;padding:.6rem 0 0;letter-spacing:.5px;
  }
  .tour-loading, .tour-error{
    width:100%;height:100%;display:grid;place-items:center;
    color:var(--gold);font-family:'Inter',sans-serif;
    font-size:.95rem;text-align:center;padding:2rem;
  }
  .tour-sound{
    position:absolute;bottom:1rem;right:1rem;z-index:10;
    width:44px;height:44px;border-radius:50%;
    background:rgba(0,0,0,0.6);border:1px solid var(--gold);
    color:#fff;font-size:1.2rem;cursor:pointer;
  }

  /* ============ VÍDEOS NORMALES EN LA FICHA ============ */
  .pd-videos{
    display:grid;grid-template-columns:1fr;gap:.8rem;
    margin-top:.8rem;
  }
  .pd-video{
    width:100%;border-radius:12px;background:#000;
    box-shadow:0 12px 30px rgba(0,0,0,0.4);
  }
  @media(min-width:720px){
    .pd-videos{grid-template-columns:repeat(auto-fit,minmax(360px,1fr))}
  }

  /* ============ MAPA DE ZONA APROXIMADA (iframe OSM) ============ */
  .pd-map{
    width:100%;height:280px;display:block;
    border-radius:14px;
    border:1px solid var(--border);
    background:#1a1a1a;
    margin-top:.8rem;
  }
  iframe.pd-map{border:1px solid var(--border)}
  .pd-map-disclaimer{
    margin-top:.6rem;font-size:.78rem;color:var(--text-dim);
    line-height:1.5;font-style:italic;
  }
  .pd-map-disclaimer a{color:var(--gold);text-decoration:none;font-style:normal}
  .pd-map-disclaimer a:hover{text-decoration:underline}

  /* ═══════════════════════════════════════════════════════════════════
     PÁGINAS DE ZONA — /zona/{slug}.html
     ═══════════════════════════════════════════════════════════════════ */
  .zone-intro{padding-top:0}
  .zone-intro-grid{
    display:grid;grid-template-columns:1.6fr 1fr;gap:2.5rem;
    align-items:start;
  }
  @media(max-width:900px){.zone-intro-grid{grid-template-columns:1fr;gap:1.5rem}}
  .zone-intro-text p{
    line-height:1.7;color:var(--text);
    margin-bottom:1rem;
  }
  .zone-intro-text h3{
    font-family:var(--font-display,'Playfair Display',Georgia,serif);
    font-size:1.4rem;font-weight:600;
    color:var(--text);margin-bottom:.8rem;
  }
  .zone-highlights{
    list-style:none;padding:0;margin:0;
    display:flex;flex-direction:column;gap:.6rem;
  }
  .zone-highlights li{
    padding-left:1.5rem;position:relative;color:var(--text);
    line-height:1.5;
  }
  .zone-highlights li::before{
    content:"✦";position:absolute;left:0;top:0;
    color:var(--gold);font-weight:bold;
  }
  .zone-intro-side{
    background:var(--surface);border:1px solid var(--border);
    border-radius:14px;padding:1.5rem;
    position:sticky;top:1.5rem;
  }
  @media(max-width:900px){.zone-intro-side{position:static}}
  .zone-map{margin-bottom:1.2rem}
  .zone-stats{
    display:flex;gap:1rem;
    background:var(--surface-2);border:1px solid var(--border);
    border-radius:10px;padding:1rem;
  }
  .zone-stats > div{flex:1;text-align:center}
  .zone-stats b{
    display:block;font-family:var(--font-display,'Playfair Display',Georgia,serif);
    font-size:1.6rem;font-weight:700;color:var(--gold);
    line-height:1.1;margin-bottom:.25rem;
  }
  .zone-stats span{
    font-size:.7rem;color:var(--text-dim);
    text-transform:uppercase;letter-spacing:.08em;
  }

  /* === Grid de propiedades en la página de zona === */
  .zone-props-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill, minmax(290px, 1fr));
    gap:1.5rem;margin-top:1.5rem;
  }
  .zone-prop-card{
    background:var(--surface);border:1px solid var(--border);
    border-radius:14px;overflow:hidden;
    text-decoration:none;color:inherit;
    display:flex;flex-direction:column;
    transition:transform .25s,border-color .25s,box-shadow .25s;
  }
  .zone-prop-card:hover{
    transform:translateY(-4px);
    border-color:var(--gold);
    box-shadow:0 16px 36px rgba(0,0,0,.4);
  }
  .zone-prop-photo{
    position:relative;aspect-ratio:4/3;
    background:var(--surface-2);overflow:hidden;
  }
  .zone-prop-photo img{
    width:100%;height:100%;object-fit:cover;
    transition:transform .4s;
  }
  .zone-prop-card:hover .zone-prop-photo img{transform:scale(1.05)}
  .zone-prop-noimg{
    width:100%;height:100%;display:grid;place-items:center;
    color:var(--text-dim);font-size:.85rem;
  }
  .zone-prop-tag{
    position:absolute;bottom:.6rem;left:.6rem;
    background:rgba(0,0,0,.75);backdrop-filter:blur(4px);
    color:var(--gold);font-size:.65rem;font-weight:700;
    letter-spacing:.08em;padding:.3rem .6rem;border-radius:4px;
  }
  .zone-prop-body{padding:1rem}
  .zone-prop-body h3{
    font-size:1rem;font-weight:500;
    font-family:var(--font-display,'Playfair Display',Georgia,serif);
    line-height:1.3;margin:0 0 .4rem;color:var(--text);
    display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
    overflow:hidden;min-height:2.6em;
  }
  .zone-prop-loc{
    font-size:.75rem;color:var(--text-dim);
    margin:0 0 .6rem;
  }
  .zone-prop-price{
    font-family:var(--font-display,'Playfair Display',Georgia,serif);
    font-size:1.15rem;font-weight:600;color:var(--gold);
    margin:0 0 .3rem;
  }
  .zone-prop-specs{
    font-size:.75rem;color:var(--text-dim);margin:0;
  }

  /* === Selector de idioma en el nav drawer === */
  .nav-drawer-lang{
    margin-top:1.5rem;padding-top:1.2rem;
    border-top:1px solid var(--border);
  }
  .nav-drawer-lang-label{
    display:block;font-size:.7rem;
    text-transform:uppercase;letter-spacing:.12em;
    color:var(--text-dim);margin-bottom:.6rem;
  }
  .nav-drawer-lang-grid{
    display:grid;grid-template-columns:repeat(5,1fr);gap:.4rem;
  }
  .nav-drawer-lang-grid a{
    padding:.55rem .3rem;border-radius:8px;
    background:var(--surface-2);border:1px solid var(--border);
    color:var(--text);text-align:center;text-decoration:none;
    font-size:.78rem;font-weight:600;transition:all .15s;
  }
  .nav-drawer-lang-grid a:hover{border-color:var(--gold)}
  .nav-drawer-lang-grid a.active{
    background:var(--gold);color:var(--bg);border-color:var(--gold);
  }

  /* === Selector de idioma en el nav superior (desktop) === */
  .nav-lang{position:relative;display:flex}
  @media(max-width:880px){.nav-lang{display:none}}
  .nav-lang-current{
    display:inline-flex;align-items:center;gap:.4rem;
    padding:.45rem .7rem;
    background:rgba(255,255,255,0.04);
    border:1px solid var(--border);border-radius:8px;
    color:var(--text);font-size:.85rem;font-weight:600;
    font-family:inherit;cursor:pointer;
    transition:border-color .15s,background .15s;
  }
  .nav-lang-current:hover{border-color:var(--gold);background:rgba(255,255,255,0.06)}
  .nav-lang-flag{font-size:1.05rem;line-height:1}
  .nav-lang-arrow{font-size:.65rem;opacity:.6;margin-left:.1rem;transition:transform .2s}
  .nav-lang-current[aria-expanded="true"] .nav-lang-arrow{transform:rotate(180deg)}
  .nav-lang-menu{
    position:absolute;top:calc(100% + .4rem);right:0;
    min-width:180px;
    background:var(--surface);border:1px solid var(--border);
    border-radius:10px;padding:.35rem;
    box-shadow:0 12px 36px rgba(0,0,0,.45);
    opacity:0;transform:translateY(-6px);pointer-events:none;
    transition:opacity .15s,transform .15s;
    z-index:200;
  }
  .nav-lang.open .nav-lang-menu{
    opacity:1;transform:translateY(0);pointer-events:auto;
  }
  .nav-lang-menu a{
    display:flex;align-items:center;gap:.6rem;
    padding:.55rem .7rem;border-radius:6px;
    color:var(--text);text-decoration:none;font-size:.88rem;
  }
  .nav-lang-menu a:hover{background:rgba(193,154,77,.1);color:var(--gold)}
  .nav-lang-menu a.active{
    background:rgba(193,154,77,.18);color:var(--gold);font-weight:600;
  }

/* ──────────────────────────────────────────────────────────────
   Botón flotante de WhatsApp (FAB) — fixed bottom-right
   Al pulsar despliega 2 opciones (Jose / Bernardo).
   Verde WhatsApp + halo dorado BJ. Respeta safe-area-inset.
   ────────────────────────────────────────────────────────────── */
.wa-fab-wrap{
  position:fixed;
  bottom:calc(20px + env(safe-area-inset-bottom));
  right:calc(20px + env(safe-area-inset-right));
  z-index:90;
  display:flex;flex-direction:column;align-items:flex-end;gap:.6rem;
}
.wa-fab{
  width:60px;height:60px;
  display:flex;align-items:center;justify-content:center;
  background:#25D366;
  color:#fff;
  border-radius:50%;
  border:none;
  cursor:pointer;
  box-shadow:0 10px 28px rgba(37,211,102,.45),
             0 0 0 4px rgba(212,168,90,.12),
             0 0 0 1px rgba(255,255,255,.08) inset;
  position:relative;
  transition:transform .25s cubic-bezier(.34,1.56,.64,1),
             box-shadow .25s;
}
.wa-fab:hover{
  transform:translateY(-3px) scale(1.04);
  box-shadow:0 14px 34px rgba(37,211,102,.55),
             0 0 0 6px rgba(212,168,90,.18),
             0 0 0 1px rgba(255,255,255,.12) inset;
}
.wa-fab:active{transform:translateY(0) scale(.97)}
.wa-fab svg{display:block;pointer-events:none}

/* Pulso suave para llamar la atención (se detiene cuando se abre el menú) */
.wa-fab::before{
  content:"";
  position:absolute;inset:-4px;
  border-radius:50%;
  border:2px solid rgba(37,211,102,.5);
  animation:wa-pulse 2.4s ease-out infinite;
  pointer-events:none;
}
.wa-fab-wrap.open .wa-fab::before{animation:none}
/* Cuando está abierto, el botón gira el icono 45° y cambia color sutil */
.wa-fab-wrap.open .wa-fab{
  background:#1ea952;
  transform:rotate(0deg);
}
@keyframes wa-pulse{
  0%{transform:scale(.95);opacity:.7}
  70%{transform:scale(1.35);opacity:0}
  100%{transform:scale(1.4);opacity:0}
}

/* Opciones del menú (Jose / Bernardo) */
.wa-fab-options{
  display:flex;flex-direction:column;gap:.5rem;align-items:flex-end;
  opacity:0;transform:translateY(8px) scale(.95);transform-origin:bottom right;
  pointer-events:none;
  transition:opacity .2s,transform .25s cubic-bezier(.34,1.56,.64,1);
}
.wa-fab-wrap.open .wa-fab-options{
  opacity:1;transform:translateY(0) scale(1);pointer-events:auto;
}
.wa-fab-opt{
  display:flex;flex-direction:column;align-items:flex-end;
  background:#25D366;
  color:#fff;
  padding:.55rem 1rem;
  border-radius:14px 14px 4px 14px;
  text-decoration:none;
  min-width:140px;
  box-shadow:0 6px 18px rgba(37,211,102,.35),
             0 0 0 1px rgba(255,255,255,.1) inset;
  transition:transform .18s,box-shadow .18s,background .15s;
}
.wa-fab-opt:hover{
  background:#1ea952;
  transform:translateX(-2px);
  box-shadow:0 8px 22px rgba(37,211,102,.5);
}
.wa-fab-opt-name{
  font-weight:600;font-size:.95rem;line-height:1.1;
}
.wa-fab-opt-phone{
  font-size:.78rem;opacity:.85;margin-top:1px;
  font-feature-settings:"tnum";
}

/* En móvil, un pelo más pequeño y separado de la home bar */
@media (max-width:600px){
  .wa-fab-wrap{
    bottom:calc(16px + env(safe-area-inset-bottom));
    right:16px;
  }
  .wa-fab{
    width:54px;height:54px;
  }
  .wa-fab svg{width:24px;height:24px}
  .wa-fab-opt{min-width:130px;padding:.5rem .9rem}
}
/* No interferir con impresión */
@media print{ .wa-fab-wrap{display:none} }

/* ──────────────────────────────────────────────────────────────
   Sección testimonios — social proof clave en home
   3 cards con cita + autor + zona. Avatar genera con iniciales
   sobre fondo dorado si no hay foto.
   ────────────────────────────────────────────────────────────── */
.testimonials-section{
  padding:6rem 0 5rem;
  text-align:center;
  position:relative;
}
.testimonials-section .section-label{display:inline-block;margin-bottom:.5rem}
.testimonials-section .section-title{margin-bottom:1rem}
.testimonials-section .section-sub{
  max-width:640px;margin:0 auto 3rem;
  color:var(--text-muted,#a3a3a3);
  font-size:1rem;line-height:1.6;
}
.testimonials-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1.5rem;
  max-width:1100px;margin:0 auto;
}
.testimonial{
  background:var(--surface,#141414);
  border:1px solid var(--border,#2a2a2a);
  border-radius:18px;
  padding:1.75rem 1.5rem 1.5rem;
  text-align:left;
  position:relative;
  transition:transform .25s,border-color .25s,box-shadow .25s;
}
.testimonial:hover{
  transform:translateY(-4px);
  border-color:rgba(212,168,90,.4);
  box-shadow:0 18px 40px rgba(0,0,0,.4),0 0 0 1px rgba(212,168,90,.1);
}
.testimonial::before{
  content:"❝";
  position:absolute;top:-12px;left:18px;
  font-size:60px;line-height:1;
  font-family:var(--display,'Playfair Display',serif);
  color:var(--gold,#d4a85a);
  opacity:.5;
  pointer-events:none;
}
.testimonial-rating{
  color:var(--gold,#d4a85a);
  font-size:.95rem;letter-spacing:.1em;
  margin-bottom:.7rem;
  font-feature-settings:"tnum";
}
.testimonial-quote{
  font-family:var(--display,'Playfair Display',serif);
  font-style:italic;
  color:var(--text,#f2f2f2);
  font-size:1.05rem;line-height:1.55;
  margin:0 0 1.5rem 0;
  position:relative;z-index:1;
}
.testimonial-author{
  display:flex;align-items:center;gap:.85rem;
  padding-top:1rem;
  border-top:1px dashed rgba(212,168,90,.18);
}
.testimonial-avatar{
  width:44px;height:44px;
  border-radius:50%;
  overflow:hidden;
  flex-shrink:0;
  box-shadow:0 0 0 2px rgba(212,168,90,.25);
}
.testimonial-avatar img{width:100%;height:100%;object-fit:cover}
.testimonial-avatar .avatar-initials{
  display:flex;align-items:center;justify-content:center;
  width:100%;height:100%;
  font-family:var(--display,'Playfair Display',serif);
  font-weight:600;font-size:1.05rem;
  color:#0a0a0a;
}
.testimonial-meta{display:flex;flex-direction:column;gap:2px}
.testimonial-name{
  font-weight:600;font-size:.95rem;
  color:var(--text,#f2f2f2);
}
.testimonial-role{
  font-size:.78rem;
  color:var(--text-muted,#a3a3a3);
  letter-spacing:.02em;
}
.testimonials-cta{
  margin-top:2.5rem;
  font-size:1rem;
  color:var(--text-muted,#a3a3a3);
}
.testimonials-cta a{
  color:var(--gold,#d4a85a);
  text-decoration:none;
  font-weight:500;
  border-bottom:1px solid rgba(212,168,90,.3);
  transition:border-color .2s;
}
.testimonials-cta a:hover{border-bottom-color:var(--gold,#d4a85a)}

/* Responsive: 1 columna en móvil */
@media (max-width:900px){
  .testimonials-grid{grid-template-columns:1fr;max-width:520px;gap:1.2rem}
  .testimonials-section{padding:4rem 0 3rem}
}

/* ──────────────────────────────────────────────────────────────
   Sección "Recibe propiedades nuevas" — captura email RGPD
   Layout: texto + perks a la izquierda · form a la derecha
   Honeypot oculto. Validación client-side. Submit POST a CRM.
   ────────────────────────────────────────────────────────────── */
.buyer-alerts-section{
  padding:5rem 0 6rem;
  position:relative;
  background:linear-gradient(180deg,transparent 0%,rgba(212,168,90,.04) 100%);
}
.buyer-alerts-wrap{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:3.5rem;
  align-items:center;
  max-width:1100px;
  margin:0 auto;
}
.buyer-alerts-text .section-label{display:inline-block;margin-bottom:.5rem}
.buyer-alerts-text .section-title{margin-bottom:1rem}
.buyer-alerts-text p{color:var(--text-muted,#a3a3a3);font-size:1rem;line-height:1.65;margin:0 0 1.5rem}
.buyer-alerts-perks{
  list-style:none;padding:0;margin:0;
  display:flex;flex-direction:column;gap:.55rem;
}
.buyer-alerts-perks li{
  color:var(--gold,#d4a85a);
  font-size:.92rem;font-weight:500;
}

/* Form */
.buyer-alerts-form{
  background:var(--surface,#141414);
  border:1px solid var(--border,#2a2a2a);
  border-radius:18px;
  padding:2rem;
  box-shadow:0 24px 56px rgba(0,0,0,.4);
  position:relative;
}
.buyer-alerts-form::before{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius:18px;
  background:linear-gradient(135deg,rgba(212,168,90,.4),rgba(212,168,90,0) 50%);
  z-index:-1;
  opacity:.6;
}
.ba-row{margin-bottom:1.1rem}
.ba-row-2{display:grid;grid-template-columns:1fr 1fr;gap:.9rem;margin-bottom:1.1rem}
.ba-row label,
.ba-row-2 label{
  display:block;
  font-size:.8rem;
  font-weight:500;
  color:var(--text-muted,#a3a3a3);
  margin-bottom:.4rem;
  letter-spacing:.02em;
}
.ba-opt{
  font-weight:400;
  font-size:.75rem;
  color:var(--text-dim,#6e6e6e);
  margin-left:.2rem;
}
.ba-row input[type="text"],
.ba-row input[type="email"],
.ba-row input[type="number"],
.ba-row-2 input,
.ba-row select,
.ba-row-2 select{
  width:100%;
  background:#0a0a0a;
  border:1px solid rgba(212,168,90,.18);
  border-radius:10px;
  padding:.75rem 1rem;
  color:var(--text,#f2f2f2);
  font-family:inherit;
  font-size:.95rem;
  transition:border-color .15s,box-shadow .15s;
}
.ba-row select[multiple]{
  padding:.5rem .8rem;
  min-height:90px;
}
.ba-row input:focus,
.ba-row select:focus,
.ba-row-2 input:focus,
.ba-row-2 select:focus{
  outline:none;
  border-color:var(--gold,#d4a85a);
  box-shadow:0 0 0 3px rgba(212,168,90,.15);
}
.ba-help{
  display:block;
  margin-top:.35rem;
  font-size:.72rem;
  color:var(--text-dim,#6e6e6e);
}
.ba-honeypot{
  position:absolute!important;
  left:-9999px;top:-9999px;
  width:1px;height:1px;
  overflow:hidden;
}
.ba-consent label{
  display:flex;align-items:flex-start;gap:.6rem;
  cursor:pointer;
  color:var(--text-muted,#a3a3a3);
  font-size:.82rem;
  line-height:1.5;
}
.ba-consent input[type="checkbox"]{
  margin-top:.2rem;
  accent-color:var(--gold,#d4a85a);
  flex-shrink:0;
}
.ba-consent a{color:var(--gold,#d4a85a);text-decoration:underline}
.ba-submit{
  width:100%;
  background:linear-gradient(135deg,#d4a85a 0%,#a87922 100%);
  color:#0a0a0a;
  border:none;
  padding:.95rem 1.4rem;
  border-radius:12px;
  font-weight:600;
  font-size:.95rem;
  font-family:inherit;
  cursor:pointer;
  letter-spacing:.01em;
  transition:transform .15s,box-shadow .2s,filter .15s;
  box-shadow:0 10px 26px rgba(212,168,90,.32);
}
.ba-submit:hover{transform:translateY(-1px);filter:brightness(1.08)}
.ba-submit:active{transform:translateY(0)}
.ba-submit:disabled{
  opacity:.6;cursor:not-allowed;transform:none;
}
.ba-feedback{
  margin-top:.85rem;
  font-size:.85rem;
  color:var(--text-muted,#a3a3a3);
  text-align:center;
  min-height:1.2em;
}
.ba-feedback.ok{color:#22c55e}
.ba-feedback.err{color:#ef4444}

/* Responsive: 1 columna en móvil */
@media (max-width:900px){
  .buyer-alerts-wrap{grid-template-columns:1fr;gap:2rem;padding:0 1rem}
  .buyer-alerts-section{padding:4rem 0 4rem}
  .buyer-alerts-form{padding:1.5rem}
}

/* ─────────────────────── Property Detail Page (PDP) ───────────────────────
   Página completa en /p/{slug} — sustituye al modal flotante anterior.
   Layout estilo Fotocasa: hero galería + columna sticky con precio/CTA. */

.pdp{max-width:1200px;margin:0 auto;padding:1.2rem 1rem 4rem}
.pdp-back{display:inline-flex;align-items:center;gap:.4rem;color:var(--text-dim);font-size:.9rem;margin:0 0 1rem;text-decoration:none;transition:color .15s}
.pdp-back:hover{color:var(--gold)}

/* Hero galería — main grande + 4 thumbs en grid 2x2 (desktop)
   En móvil: solo la foto principal grande, el resto se ve en lightbox. */
.pdp-gallery{margin-bottom:2rem}
.pdp-gallery-grid{
  display:grid;grid-template-columns:2fr 1fr;gap:.5rem;
  border-radius:14px;overflow:hidden;background:var(--bg-2);
  aspect-ratio:16/9;max-height:540px;
}
.pdp-gallery-main, .pdp-gallery-cell{
  position:relative;display:block;width:100%;height:100%;
  background:#000;border:0;padding:0;cursor:zoom-in;overflow:hidden;
}
.pdp-gallery-main img, .pdp-gallery-cell img{
  width:100%;height:100%;object-fit:cover;transition:transform .4s ease;
}
.pdp-gallery-main:hover img, .pdp-gallery-cell:hover img{transform:scale(1.04)}
.pdp-gallery-side{
  display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:.5rem;
}
.pdp-gallery-empty{display:flex;align-items:center;justify-content:center;color:var(--text-dim);font-size:1.1rem}
.pdp-gallery-more{position:relative}
.pdp-gallery-more-overlay{
  position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  background:rgba(10,10,10,.55);color:#fff;font-weight:600;font-size:1.05rem;
  letter-spacing:.02em;text-shadow:0 2px 8px rgba(0,0,0,.7);
  backdrop-filter:blur(2px);
}
.pdp-gallery-all{
  margin:.8rem 0 0;background:transparent;color:var(--text);
  border:1px solid var(--border);padding:.6rem 1rem;border-radius:24px;
  font-size:.85rem;cursor:pointer;transition:all .15s;
}
.pdp-gallery-all:hover{border-color:var(--gold);color:var(--gold)}
@media (max-width:768px){
  .pdp-gallery-grid{grid-template-columns:1fr;aspect-ratio:4/3;max-height:none}
  .pdp-gallery-side{display:none}
}

/* Grid principal: contenido (2/3) + aside sticky (1/3) */
.pdp-grid{
  display:grid;grid-template-columns:1fr 380px;gap:2.5rem;align-items:start;
}
@media (max-width:1024px){.pdp-grid{grid-template-columns:1fr;gap:1.5rem}}

/* Header de la propiedad */
.pdp-head{padding-bottom:1.5rem;border-bottom:1px solid var(--border);margin-bottom:1.5rem}
.pdp-eyebrow{margin-bottom:.7rem}
.pdp-type-tag{
  display:inline-block;background:rgba(212,168,90,.12);color:var(--gold);
  padding:.3rem .8rem;border-radius:20px;font-size:.75rem;font-weight:600;
  letter-spacing:.06em;text-transform:uppercase;
}
.pdp-title{
  font-family:'Playfair Display',serif;font-weight:700;font-size:2rem;
  line-height:1.15;margin:.3rem 0 .6rem;color:var(--text);
}
@media (max-width:768px){.pdp-title{font-size:1.5rem}}
.pdp-zone{color:var(--text-dim);font-size:1rem;margin-bottom:.8rem}
.pdp-price-inline{
  display:none;font-family:'Playfair Display',serif;color:var(--gold);
  font-size:1.8rem;font-weight:700;margin-top:.4rem;
}
@media (max-width:1024px){.pdp-price-inline{display:block}}

/* Quick specs en fila */
.pdp-quickspecs{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:1rem;
  padding:1.2rem 0;margin-bottom:1.5rem;
  border-bottom:1px solid var(--border);
}
.pdp-spec{display:flex;flex-direction:column;align-items:center;text-align:center}
.pdp-spec b{
  font-family:'Playfair Display',serif;font-size:1.4rem;color:var(--text);
  font-weight:700;line-height:1;
}
.pdp-spec span{
  color:var(--text-dim);font-size:.7rem;text-transform:uppercase;
  letter-spacing:.08em;margin-top:.3rem;
}

/* Secciones de contenido (descripción, características, etc.) */
.pdp-section{margin-bottom:2rem}
.pdp-section-title{
  font-family:'Playfair Display',serif;font-size:1.3rem;font-weight:700;
  margin:0 0 .8rem;color:var(--text);
}
.pdp-desc{
  color:var(--text-dim);line-height:1.7;font-size:1rem;white-space:pre-wrap;
}
.pdp-features{display:flex;flex-wrap:wrap;gap:.5rem}
.pdp-feature{
  background:var(--bg-2);border:1px solid var(--border);
  color:var(--text);padding:.45rem .9rem;border-radius:20px;
  font-size:.85rem;
}

.pdp-videos{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}
.pdp-video{width:100%;border-radius:10px;background:#000;max-height:400px}

.pdp-tours{display:grid;gap:.8rem;grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}
.pdp-tour-card{
  background:var(--bg-2);border:1px solid var(--border);border-radius:10px;
  overflow:hidden;cursor:pointer;padding:0;text-align:left;color:var(--text);
  transition:border-color .15s,transform .15s;
}
.pdp-tour-card:hover{border-color:var(--gold);transform:translateY(-2px)}
.pdp-tour-thumb{
  position:relative;width:100%;aspect-ratio:16/10;background:#111 center/cover no-repeat;
}
.pdp-tour-thumb video{width:100%;height:100%;object-fit:cover}
.pdp-tour-play{
  position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  font-size:2.5rem;background:rgba(0,0,0,.35);color:#fff;
}
.pdp-tour-label{display:block;padding:.6rem .8rem;font-size:.82rem;color:var(--text-dim)}

.pdp-map{width:100%;height:300px;border:0;border-radius:10px;background:#000}
.pdp-map-disclaimer{color:var(--text-dim);font-size:.8rem;margin-top:.5rem}

.pdp-fc-link{
  margin-top:2rem;padding:1rem;color:var(--text-dim);font-size:.85rem;
  text-align:center;border-top:1px solid var(--border);
}
.pdp-fc-link a{color:var(--gold)}

/* ─── Aside: tarjeta sticky con precio + CTA + lead form ─── */
.pdp-aside{position:sticky;top:90px;z-index:5}
@media (max-width:1024px){.pdp-aside{position:static}}
.pdp-price-card{
  background:linear-gradient(180deg,rgba(212,168,90,.06) 0%,rgba(20,20,20,.6) 100%);
  border:1px solid var(--border);border-radius:14px;padding:1.5rem;
}
.pdp-price-card-price{
  font-family:'Playfair Display',serif;font-size:2rem;font-weight:700;
  color:var(--gold);line-height:1;
}
@media (max-width:1024px){.pdp-price-card-price{display:none}}
.pdp-price-card-subline{
  color:var(--text-dim);font-size:.88rem;margin:.4rem 0 1.2rem;
}
@media (max-width:1024px){.pdp-price-card-subline{display:none}}

.pdp-actions{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1.5rem}
.pdp-cta{
  display:flex;align-items:center;justify-content:center;gap:.5rem;
  padding:.75rem 1rem;border-radius:10px;font-weight:600;font-size:.92rem;
  text-decoration:none;transition:filter .15s,transform .1s;
}
.pdp-cta:active{transform:scale(.98)}
.pdp-cta-wa{background:#25D366;color:#fff}
.pdp-cta-wa:hover{filter:brightness(1.08)}
.pdp-cta-call{background:var(--gold);color:var(--bg)}
.pdp-cta-call:hover{filter:brightness(1.08)}

.pdp-lead-card{
  border-top:1px solid var(--border);padding-top:1.2rem;
}
.pdp-lead-head strong{display:block;font-size:1rem;margin-bottom:.15rem}
.pdp-lead-head span{display:block;color:var(--text-dim);font-size:.82rem;margin-bottom:.9rem}
#pdpLeadForm{display:flex;flex-direction:column;gap:.6rem;position:relative}
.pdp-lead-row{display:grid;grid-template-columns:1fr 1fr;gap:.5rem}
#pdpLeadForm input, #pdpLeadForm textarea{
  background:var(--bg);border:1px solid var(--border);border-radius:8px;
  padding:.6rem .8rem;color:var(--text);font-family:inherit;font-size:.92rem;
  transition:border-color .15s;
}
#pdpLeadForm input:focus, #pdpLeadForm textarea:focus{outline:none;border-color:var(--gold)}
#pdpLeadForm textarea{resize:vertical;min-height:60px}
#pdpLeadSubmit{
  background:linear-gradient(135deg,var(--gold) 0%,var(--gold-2) 100%);
  color:var(--bg);border:0;padding:.8rem 1rem;border-radius:10px;
  font-weight:700;font-size:.92rem;cursor:pointer;transition:filter .15s;
}
#pdpLeadSubmit:hover:not(:disabled){filter:brightness(1.08)}
#pdpLeadSubmit:disabled{opacity:.6;cursor:wait}
.pdp-lead-msg{margin:0;font-size:.85rem;padding:.5rem .7rem;border-radius:6px}
.pdp-lead-msg[data-kind="ok"]{background:rgba(37,211,102,.12);color:#5bd897}
.pdp-lead-msg[data-kind="err"]{background:rgba(220,80,80,.12);color:#ff8a8a}
.pdp-lead-legal{color:var(--text-dim);font-size:.72rem;margin:.3rem 0 0;line-height:1.45}

/* Sticky bottom bar — solo móvil */
.pdp-sticky-bar{
  display:none;position:fixed;bottom:0;left:0;right:0;z-index:50;
  padding:.6rem 1rem calc(.6rem + env(safe-area-inset-bottom));gap:.5rem;
  background:rgba(10,10,10,.96);border-top:1px solid var(--border);
  backdrop-filter:blur(8px);align-items:center;
}
@media (max-width:768px){.pdp-sticky-bar{display:flex}}
.pdp-sticky-price{
  flex:1;font-family:'Playfair Display',serif;color:var(--gold);
  font-size:1.15rem;font-weight:700;
}
.pdp-sticky-cta{
  display:flex;align-items:center;justify-content:center;
  width:44px;height:44px;border-radius:50%;text-decoration:none;
  font-size:1.1rem;transition:filter .15s;
}
.pdp-sticky-cta-wa{background:#25D366;color:#fff}
.pdp-sticky-cta-call{background:var(--gold);color:var(--bg)}

/* Padding extra al final para que la sticky bar no tape contenido */
@media (max-width:768px){.pdp{padding-bottom:6rem}}

/* ─── Lightbox (galería fullscreen) ─── */
.pdp-lightbox{
  display:none;position:fixed;inset:0;z-index:100;background:rgba(0,0,0,.96);
  flex-direction:column;align-items:center;justify-content:center;
}
.pdp-lightbox.show{display:flex}
.pdp-lightbox-stage{
  flex:1;width:100%;max-width:1400px;display:flex;align-items:center;justify-content:center;
  padding:3rem 4rem;min-height:0;
}
.pdp-lightbox-img{max-width:100%;max-height:100%;object-fit:contain;border-radius:6px}
.pdp-lightbox-close{
  position:absolute;top:1rem;right:1rem;width:48px;height:48px;border-radius:50%;
  background:rgba(255,255,255,.1);color:#fff;border:0;font-size:1.6rem;cursor:pointer;
  display:flex;align-items:center;justify-content:center;line-height:1;
}
.pdp-lightbox-close:hover{background:var(--gold);color:var(--bg)}
.pdp-lightbox-prev, .pdp-lightbox-next{
  position:absolute;top:50%;transform:translateY(-50%);width:52px;height:52px;border-radius:50%;
  background:rgba(255,255,255,.1);color:#fff;border:0;font-size:2rem;cursor:pointer;
  display:flex;align-items:center;justify-content:center;line-height:1;
}
.pdp-lightbox-prev{left:1rem}
.pdp-lightbox-next{right:1rem}
.pdp-lightbox-prev:hover, .pdp-lightbox-next:hover{background:var(--gold);color:var(--bg)}
.pdp-lightbox-caption{
  color:#eee;font-size:.9rem;text-align:center;padding:.5rem 1rem;max-width:800px;
}
.pdp-lightbox-counter{color:var(--text-dim);font-size:.85rem;padding:.5rem 0 1rem}
@media (max-width:768px){
  .pdp-lightbox-stage{padding:3rem 1rem}
  .pdp-lightbox-prev, .pdp-lightbox-next{width:42px;height:42px;font-size:1.4rem}
}

/* ─── Tour 360° overlay (mismo patrón que el lightbox) ─── */
.pdp-tour-overlay{
  display:none;position:fixed;inset:0;z-index:110;background:#000;
  flex-direction:column;
}
.pdp-tour-overlay.show{display:flex}
.pdp-tour-close{
  position:absolute;top:1rem;right:1rem;z-index:2;width:44px;height:44px;border-radius:50%;
  background:rgba(255,255,255,.12);color:#fff;border:0;font-size:1.6rem;cursor:pointer;
}
.pdp-tour-title{
  position:absolute;top:1rem;left:1rem;z-index:2;color:#fff;font-size:.9rem;
  background:rgba(0,0,0,.4);padding:.4rem .8rem;border-radius:18px;
}
.pdp-tour-viewer{flex:1;width:100%;height:100%;position:relative}
.pdp-tour-hint{
  text-align:center;color:var(--text-dim);font-size:.8rem;padding:.6rem;
  background:rgba(0,0,0,.6);
}
.pdp-tour-loading, .pdp-tour-error{
  display:flex;align-items:center;justify-content:center;height:100%;color:var(--text-dim);
}
.pdp-tour-sound{
  position:absolute;bottom:4rem;right:1rem;z-index:2;width:48px;height:48px;border-radius:50%;
  background:rgba(255,255,255,.12);color:#fff;border:0;font-size:1.3rem;cursor:pointer;
}

/* Popovers de selección de teléfono (sticky-bar móvil) */
.pdp-sticky-popup{
  display:none;position:fixed;bottom:calc(64px + env(safe-area-inset-bottom));
  right:.6rem;z-index:51;
  background:rgba(20,20,20,.98);border:1px solid var(--border);
  border-radius:12px;overflow:hidden;min-width:220px;
  box-shadow:0 10px 30px rgba(0,0,0,.6);
  flex-direction:column;
  animation:pdpPopupIn .15s ease;
}
.pdp-sticky-popup.show{display:flex}
.pdp-sticky-popup a{
  display:flex;align-items:center;gap:.6rem;padding:.85rem 1rem;
  color:var(--text);text-decoration:none;font-size:.95rem;font-weight:500;
  border-bottom:1px solid var(--border);
}
.pdp-sticky-popup a:last-child{border-bottom:0}
.pdp-sticky-popup a:active{background:rgba(212,168,90,.12)}
.pdp-sticky-popup a svg{flex-shrink:0;color:#25D366}
@keyframes pdpPopupIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}

/* Los CTAs del sticky-bar son <button> ahora, no <a> — limpiamos el reset */
.pdp-sticky-bar button.pdp-sticky-cta{border:0;cursor:pointer}

/* ─── Override layout PDP: galería + aside lado a lado desde arriba ─── */
.pdp-grid > .pdp-left{display:flex;flex-direction:column;min-width:0}
.pdp-grid > .pdp-left > .pdp-gallery{margin-bottom:1.5rem}
/* La galería ahora vive dentro de la columna izquierda, ya no full-width */
.pdp-left .pdp-gallery-grid{aspect-ratio:4/3;max-height:480px}
@media (max-width:1024px){
  .pdp-left .pdp-gallery-grid{aspect-ratio:16/10;max-height:none}
}
@media (max-width:768px){
  .pdp-left .pdp-gallery-grid{aspect-ratio:4/3}
}

/* Breadcrumb (sustituye al link suelto "Volver al catálogo") */
.pdp-breadcrumb{
  display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;
  color:var(--text-dim);font-size:.85rem;margin:0 0 1.2rem;
}
.pdp-breadcrumb a{color:var(--text-dim);text-decoration:none;transition:color .15s}
.pdp-breadcrumb a:hover{color:var(--gold)}
.pdp-breadcrumb span{opacity:.5;font-size:.75rem}
.pdp-breadcrumb-current{
  color:var(--text);font-weight:500;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:40ch;
}
@media (max-width:768px){
  .pdp-breadcrumb-current{max-width:18ch}
}

/* Quitamos el viejo botón flotante "Volver al catálogo" — ahora usamos breadcrumb */
.pdp > .pdp-back{display:none}

/* Card sticky de precio: pegada arriba en desktop */
.pdp-aside{position:sticky;top:88px;align-self:start}
@media (max-width:1024px){.pdp-aside{position:static}}

/* El nav del template es position:fixed top:0 → la página de propiedad
   arranca DETRÁS del nav. En el resto de páginas hay un hero a pantalla
   completa que oculta esto, pero la PDP es contenido directo. Damos un
   padding-top que limpie el nav (≈ 80px) y, ya puestos, el breadcrumb se
   mete en una pill propia para no encajar visualmente con los links. */
main.pdp{padding-top:6rem !important}
@media (max-width:768px){main.pdp{padding-top:5rem !important}}

/* Breadcrumb: pasamos a una sola línea con scroll horizontal en móvil para
   evitar que se solape feo cuando el título es largo. */
.pdp-breadcrumb{
  flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;
  padding-bottom:.3rem;
}
.pdp-breadcrumb::-webkit-scrollbar{height:0}
.pdp-breadcrumb a, .pdp-breadcrumb span{white-space:nowrap}

/* ─── Descripción de propiedad: párrafos justificados + bullets dorados ─── */
.pdp-desc p{
  color:var(--text-dim);line-height:1.75;font-size:1rem;
  text-align:justify;hyphens:auto;-webkit-hyphens:auto;
  margin:0 0 1rem;
}
.pdp-desc p:last-child{margin-bottom:0}

/* Subtítulo dentro de la descripción (ej: "A destacar:") */
.pdp-desc-subhead{
  font-family:'Playfair Display',serif;font-weight:700;
  font-size:1.1rem;color:var(--gold);
  margin:1.5rem 0 .8rem;letter-spacing:.01em;
}

/* Lista de bullets con check dorado */
.pdp-bullets{
  list-style:none;padding:0;margin:0 0 1rem;
  display:grid;gap:.55rem;
}
.pdp-bullets li{
  position:relative;padding-left:1.8rem;
  color:var(--text);line-height:1.55;font-size:.95rem;
  text-align:left;
}
.pdp-bullets li::before{
  content:'';position:absolute;left:0;top:.45em;
  width:14px;height:14px;border-radius:50%;
  background:linear-gradient(135deg,var(--gold) 0%,var(--gold-2) 100%);
  box-shadow:0 0 0 3px rgba(212,168,90,.12);
}
.pdp-bullets li::after{
  content:'✓';position:absolute;left:2px;top:.35em;
  color:var(--bg);font-size:.7rem;font-weight:800;line-height:1;
}
@media (max-width:640px){
  .pdp-desc p{text-align:left}  /* en móvil justified queda raro con líneas cortas */
  .pdp-bullets li{font-size:.92rem}
}

/* Google Maps embed: altura un poco mayor y bordes redondeados */
.pdp-map{height:340px;border-radius:12px}
.pdp-map-disclaimer{display:flex;flex-wrap:wrap;align-items:baseline;gap:.6rem;margin-top:.7rem}
.pdp-map-link{
  color:var(--gold);font-size:.85rem;text-decoration:none;font-weight:500;
  white-space:nowrap;
}
.pdp-map-link:hover{text-decoration:underline}
