/* Real Estate Luxury Properties CDMX - hoja de estilos propia
   Sin plantilla, sin Bootstrap, sin Font Awesome, sin Google Fonts: todo se sirve desde este hosting. */

/* ---------- FUENTES (auto-alojadas, licencia SIL OFL) ---------- */
@font-face { font-family: "Poppins"; font-weight: 300; font-style: normal; font-display: swap; src: url(../fuentes/poppins-300.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap; src: url(../fuentes/poppins-400.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url(../fuentes/poppins-600.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap; src: url(../fuentes/poppins-700.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 800; font-style: normal; font-display: swap; src: url(../fuentes/poppins-800.woff2) format("woff2"); }
@font-face { font-family: "Playfair Display"; font-weight: 400 900; font-style: normal; font-display: swap; src: url(../fuentes/playfair-700.woff2) format("woff2"); }

:root {
    --oro: #b3966a;
    --oro-2: #b59461;
    --oro-claro: #eed6b4;
    --negro: #1a1a1a;
    --negro-2: #111;
    --texto: #333;
    --gris: #888;
    --linea: #f2f2f2;
    --sans: "Poppins", "Segoe UI", Helvetica, Arial, sans-serif;
    --serif: "Playfair Display", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.6;
    color: var(--texto);
    background: #fff;
    overflow-x: hidden;
}
body.sin-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; }
.icono { width: 1em; height: 1em; fill: currentColor; flex-shrink: 0; }

.contenedor { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Encabezado de sección: número + título */
.sec-titulo { display: flex; align-items: center; gap: 20px; margin-bottom: 60px; }
.sec-titulo .numero { font-size: 60px; font-weight: 300; color: var(--oro); line-height: 1; }
.sec-titulo h2 { font-size: 24px; font-weight: 300; letter-spacing: 3px; line-height: 1.2; color: var(--texto); text-transform: uppercase; }
.sec-titulo h2 strong { display: block; font-weight: 800; }
.sec-titulo .etiqueta { display: block; font-size: 12px; font-weight: 700; letter-spacing: 2px; color: var(--oro-2); margin-bottom: 4px; }

/* ---------- ENCABEZADO ---------- */
.header {
    position: absolute;
    top: 0; left: 0; right: 0;
    z-index: 50;
    padding: 30px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header .logo img { height: 35px; width: auto; }
.header-der { display: flex; align-items: center; gap: 30px; }
.header-tel { display: flex; align-items: center; gap: 10px; color: var(--oro-claro); text-decoration: none; font-weight: 600; font-size: 1.1rem; }
.header-tel .icono { width: 20px; height: 20px; }
.header-tel:hover { color: #fff; }
.menu-btn { background: none; border: 0; padding: 6px 0; cursor: pointer; display: flex; flex-direction: column; gap: 6px; }
.menu-btn span { display: block; width: 28px; height: 2px; background: #fff; }

/* Panel lateral */
.panel {
    position: fixed;
    top: 0; left: 0;
    width: 400px; max-width: 85%;
    height: 100%;
    background: var(--negro-2);
    color: #fff;
    z-index: 1001;
    transform: translateX(-105%);
    transition: transform .5s cubic-bezier(.77, 0, .175, 1);
    box-shadow: 10px 0 30px rgba(0, 0, 0, .5);
    overflow-y: auto;
    visibility: hidden;
}
.panel.abierto { transform: none; visibility: visible; }
.panel-cerrar { position: absolute; top: 14px; right: 20px; background: none; border: 0; color: #fff; font-size: 45px; line-height: 1; cursor: pointer; }
.panel-cont { padding: 80px 50px 50px; }
.panel-cont .logo-panel { width: 150px; margin-bottom: 40px; }
.panel nav ul { list-style: none; margin: 0; padding: 0; }
.panel nav li { margin-bottom: 20px; }
.panel nav a { color: #fff; text-decoration: none; font-size: 20px; font-weight: 700; transition: color .3s; }
.panel nav a:hover, .panel nav a:focus-visible { color: var(--oro-claro); }
.panel-pie { margin-top: 40px; }
.panel-pie .t { color: var(--oro-claro); font-weight: 700; text-transform: uppercase; font-size: 14px; margin-bottom: 8px; }
.panel-pie a, .panel-pie span { display: block; color: var(--oro-claro); font-weight: 600; text-decoration: none; }
.velo {
    position: fixed; inset: 0;
    background: rgba(0, 0, 0, .8);
    z-index: 1000;
    opacity: 0; visibility: hidden;
    transition: opacity .4s, visibility .4s;
}
.velo.activo { opacity: 1; visibility: visible; }

/* ---------- HERO ---------- */
.hero { position: relative; height: 100vh; min-height: 560px; overflow: hidden; background: #000; }
.hero-slide {
    position: absolute; inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    padding-left: 10%;
}
.hero-slide.activo { opacity: 1; z-index: 1; }
.hero-fondo { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-velo { position: absolute; inset: 0; background: rgba(0, 0, 0, .7); }
.hero-texto { position: relative; z-index: 2; max-width: 600px; margin-left: 60px; padding: 0 20px; }
.hero-texto .hero-titulo {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 5rem;
    line-height: 1;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.hero-texto p:not(.hero-titulo) { font-size: 22px; font-weight: 300; color: #fff; margin-bottom: 40px; }

.btn-linea {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #fff;
    padding: 15px 30px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color .4s, border-color .4s;
}
.btn-linea .icono { width: 20px; height: 20px; }
.btn-linea:hover, .btn-linea:focus-visible { background: var(--oro-2); border-color: var(--oro-2); }

.hero-nav {
    position: absolute;
    right: 40px; top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}
.hero-nav button {
    writing-mode: vertical-rl;
    background: none; border: 0;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    padding: 4px;
    transition: color .3s;
}
.hero-nav button:hover { color: var(--oro-claro); }
.hero-nav .linea { width: 1px; height: 80px; background: rgba(255, 255, 255, .3); }

/* ---------- 01 BROKER / FORMULARIO / ABANICO ---------- */
.broker { padding: 120px 0; overflow: hidden; }
.broker-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 30px; align-items: center; }

.caja-form {
    padding: 30px;
    background: rgba(255, 255, 255, .95);
    border-radius: 12px;
    max-width: 500px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .2);
    position: relative;
    z-index: 10;
}
.caja-form h3 { font-size: 25px; font-weight: 700; line-height: 1.2; color: var(--oro); margin-bottom: 5px; }
.caja-form h3 span { color: #000; font-weight: 400; }
.caja-form .sub { font-size: 14px; color: var(--texto); margin-bottom: 25px; }

.btn-form {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 10px;
    min-height: 50px;
    padding: 15px 10px;
    text-align: center;
    text-decoration: none;
    background: var(--negro);
    color: var(--oro);
    border: 1px solid var(--oro);
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color .4s, color .4s, transform .4s, box-shadow .4s;
}
.btn-form:hover { background: var(--oro); color: #fff; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(179, 150, 106, .4); }

.abanico { position: relative; width: 360px; height: 480px; margin: 0 auto; }
.abanico-carta {
    position: absolute; inset: 0;
    border-radius: 4px;
    background: #f4f1ec;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .15);
    transition: transform .8s cubic-bezier(.4, 0, .2, 1), opacity .8s;
    transform: scale(.5);
    opacity: 0;
    overflow: hidden;
}
.abanico-carta img { width: 100%; height: 100%; object-fit: cover; }
.abanico-carta.centro { transform: none; opacity: 1; z-index: 10; }
.abanico-carta.izq { transform: translateX(-120px) scale(.85) rotate(-10deg); opacity: .7; z-index: 5; }
.abanico-carta.der { transform: translateX(120px) scale(.85) rotate(10deg); opacity: .7; z-index: 5; }
.btn-oro {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    height: 45px;
    padding: 0 30px;
    background: var(--oro);
    color: #fff;
    border: 0;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .2);
    transition: background-color .3s;
}
.btn-oro:hover { background: var(--oro-2); filter: brightness(.95); }
.abanico-carta .btn-oro { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); opacity: 0; transition: opacity .4s; }
.abanico-carta.centro .btn-oro { opacity: 1; }

/* ---------- 02 SERVICIOS ---------- */
.servicios { padding: 40px 0 100px; }
.iconos-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.icono-card { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.icono-card img { position: relative; z-index: 2; width: 50px; height: 50px; object-fit: contain; margin-bottom: 20px; }
.icono-card .t { position: relative; z-index: 2; min-height: 40px; display: flex; align-items: center; font-size: 16px; letter-spacing: 1px; color: var(--gris); text-transform: uppercase; }
.icono-card .d { font-size: 13px; color: #666; line-height: 1.4; }
.pulso {
    position: absolute;
    top: 25px; left: 50%;
    width: 85px; height: 85px;
    border-radius: 50%;
    background: rgba(191, 163, 124, .4);
    transform: translate(-50%, -50%) scale(.6);
    animation: pulso 3s ease-in-out infinite;
}
@keyframes pulso {
    0%, 100% { transform: translate(-50%, -50%) scale(.6); opacity: 0; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

/* ---------- 03 GALERÍA DETALLADA ---------- */
.detalle { padding-bottom: 100px; }
.visor-wrap { display: flex; gap: 20px; height: 600px; }
.miniaturas {
    width: 120px;
    flex-shrink: 0;
    background: #000;
    border-radius: 20px;
    padding: 15px 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
}
.miniaturas-scroll { height: 100%; display: flex; flex-direction: column; gap: 15px; overflow-y: auto; overflow-x: hidden; scrollbar-width: thin; scrollbar-color: var(--oro) transparent; }
.miniaturas-scroll::-webkit-scrollbar { width: 5px; height: 5px; }
.miniaturas-scroll::-webkit-scrollbar-thumb { background: var(--oro); border-radius: 10px; }
.mini {
    flex-shrink: 0;
    width: 80px; height: 80px;
    margin: 0 auto;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 10px;
    background: #222;
    opacity: .5;
    cursor: pointer;
    transition: opacity .3s, border-color .3s;
    overflow: hidden;
}
.mini img { width: 100%; height: 100%; object-fit: cover; }
.mini:hover { opacity: .8; }
.mini.activa { opacity: 1; border-color: var(--oro); }

.visor { position: relative; flex: 1; perspective: 1500px; }
.visor-img {
    position: absolute;
    top: 50%; left: 50%;
    width: 75%; height: 85%;
    object-fit: contain;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -50%);
    transition: transform .7s cubic-bezier(.2, 1, .3, 1), opacity .7s, visibility .7s;
    pointer-events: none;
}
.visor-img.activa { opacity: 1; visibility: visible; z-index: 3; transform: translate(-50%, -50%) scale(1); }
.visor-img.previa { opacity: .4; visibility: visible; z-index: 1; transform: translate(-88%, -50%) rotateY(20deg) scale(.8); }
.visor-img.siguiente { opacity: .4; visibility: visible; z-index: 1; transform: translate(-12%, -50%) rotateY(-20deg) scale(.8); }
.flecha-oro {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    background: none; border: 0;
    color: var(--oro);
    width: 60px; height: 80px;
    cursor: pointer;
    padding: 0;
}
.flecha-oro .icono { width: 100%; height: 100%; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .3)); }
.flecha-oro.prev { left: 2%; }
.flecha-oro.next { right: 2%; }
.visor .btn-oro { position: absolute; bottom: 30px; left: 15%; z-index: 6; }

/* ---------- 04 AMENIDADES ---------- */
.amenidades { padding: 100px 0; }
.amen-grid { display: grid; grid-template-columns: 4fr 8fr; gap: 30px; align-items: center; }
.lista-num { list-style: none; margin: 0 0 30px; padding: 0; }
.lista-num li { display: flex; align-items: flex-start; padding: 8px 0; border-bottom: 1px solid var(--linea); font-size: 14px; color: #444; }
.lista-num li span { color: var(--oro-2); font-weight: 700; font-size: 11px; margin: 3px 15px 0 0; min-width: 14px; }
.nota { font-size: 14px; color: #666; border-left: 3px solid var(--oro-2); padding-left: 15px; }
.tarjeta {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .08);
    border: 1px solid rgba(181, 148, 97, .1);
    transition: transform .3s;
}
.tarjeta:hover { transform: translateY(-5px); }
.tarjeta picture img { width: 100%; height: auto; border-radius: 8px; margin-bottom: 40px; }
.tarjeta .iconos-grid { grid-template-columns: repeat(3, 1fr); }

/* ---------- 05 UBICACIÓN ---------- */
.ubicacion { padding: 80px 0; overflow: hidden; }
.ubi-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; align-items: start; }
.ubi-grid > *, .amen-grid > *, .broker-grid > * { min-width: 0; }
.progreso { height: 3px; background: #f0f0f0; border-radius: 10px; margin-bottom: 40px; }
.progreso-barra { width: 0; height: 100%; background: var(--oro-2); border-radius: 10px; transition: width .5s ease; }
.ubi-viewport { overflow: hidden; }
.ubi-pista { display: flex; transition: transform .6s ease; }
.ubi-bloque { flex: 0 0 100%; padding-right: 15px; }
.ubi-cab { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.ubi-cab img { width: 35px; height: 35px; object-fit: contain; }
.ubi-cab h3 { font-size: 14px; font-weight: 700; color: var(--oro-2); text-transform: uppercase; }
.ubi-lista { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.ubi-lista li { width: 50%; display: flex; align-items: flex-start; padding: 8px 0; border-bottom: 1px solid var(--linea); font-size: 13px; color: var(--texto); }
.ubi-lista li span { color: var(--oro-2); font-weight: 800; font-size: 10px; min-width: 25px; margin-top: 2px; }
.ubi-controles { margin-top: 30px; padding-top: 20px; border-top: 1px solid #eee; display: flex; align-items: center; justify-content: space-between; }
.ubi-controles .lbl { font-weight: 800; color: #000; font-size: 13px; letter-spacing: 1px; }
.btn-circulo {
    width: 44px; height: 44px;
    border: 2px solid var(--oro-2);
    border-radius: 50%;
    background: #fff;
    color: var(--oro-2);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: background-color .3s, color .3s;
}
.btn-circulo .icono { width: 18px; height: 18px; }
.btn-circulo:hover { background: var(--oro-2); color: #fff; }
.btn-circulo.chico { width: 35px; height: 35px; }

.mapa-card { background: #fff; border-radius: 20px; padding: 20px; box-shadow: 0 30px 60px rgba(0, 0, 0, .08); height: 600px; display: flex; flex-direction: column; }
.pestana { align-self: flex-start; padding: 8px 20px; background: var(--oro-2); color: #fff; border-radius: 50px; font-size: 10px; font-weight: 700; margin-bottom: 15px; }
.mapa-cuerpo { position: relative; flex: 1; overflow: hidden; border-radius: 12px; background: #f9f9f9; }
.mapa-cuerpo.con-zoom { touch-action: none; cursor: grab; }
.mapa-cuerpo.arrastrando { cursor: grabbing; }
.mapa-cuerpo img { width: 100%; height: 100%; object-fit: cover; transform-origin: center; transition: transform .3s ease; user-select: none; -webkit-user-drag: none; }
.mapa-cuerpo.arrastrando img { transition: none; }
.mapa-zoom { position: absolute; top: 10px; right: 10px; z-index: 2; display: flex; flex-direction: column; gap: 5px; }

/* ---------- SLIDER DE AMENIDADES ---------- */
.amen-slider { max-width: 1459px; margin: 40px auto; padding: 0 15px; }
.amen-marco { position: relative; aspect-ratio: 1459 / 820; overflow: hidden; border-radius: 15px; background: #000; }
.amen-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease-in-out; }
.amen-slide.activo { opacity: 1; z-index: 1; }
.amen-slide img { width: 100%; height: 100%; object-fit: cover; }
.amen-tag { position: absolute; top: 30px; left: 30px; z-index: 2; background: var(--oro-2); color: #fff; padding: 12px 30px; font-weight: 700; font-size: 18px; border-radius: 5px; box-shadow: 0 4px 15px rgba(0, 0, 0, .4); }
.amen-flecha {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    z-index: 3;
    background: rgba(0, 0, 0, .4);
    color: #fff;
    border: 0;
    padding: 18px 12px;
    cursor: pointer;
    display: flex;
}
.amen-flecha .icono { width: 24px; height: 24px; }
.amen-flecha:hover { background: var(--oro-2); }
.amen-flecha.prev { left: 0; border-radius: 0 5px 5px 0; }
.amen-flecha.next { right: 0; border-radius: 5px 0 0 5px; }
.puntos { position: absolute; bottom: 25px; left: 0; right: 0; z-index: 3; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; padding: 0 50px; }
.punto { width: 12px; height: 12px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .4); cursor: pointer; transition: transform .3s, background-color .3s; }
.punto.activo { background: var(--oro-2); transform: scale(1.3); }

/* ---------- FOOTER ---------- */
.footer { padding-top: 40px; }
.footer-oro {
    position: relative;
    z-index: 2;
    max-width: 80%;
    margin: 0 auto;
    padding: 50px 40px;
    background: var(--oro);
    border-radius: 4px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .1);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}
.dato { flex: 1 1 250px; display: flex; align-items: flex-start; gap: 15px; color: #fff; }
.dato img { width: 50px; height: 50px; object-fit: contain; flex-shrink: 0; }
.dato h3 { font-size: 1.4rem; font-weight: 700; line-height: 1.2; margin-bottom: 5px; color: #fff; }
.dato p { font-size: 1rem; line-height: 1.5; }

.footer-negro { background: var(--negro); margin-top: -40px; padding: 100px 0 60px; color: #fff; }
.footer-negro .contenedor { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; }
.footer-marca { flex: 1; min-width: 260px; }
.footer-marca img { width: 200px; height: auto; margin-bottom: 20px; }
.footer-marca p { font-size: .95rem; color: #999; max-width: 300px; }
.footer-links { flex: 1; min-width: 240px; display: flex; justify-content: space-evenly; gap: 30px; }
.footer-links a { display: block; color: #fff; text-decoration: none; margin-bottom: 12px; font-size: .95rem; }
.footer-links a:hover { color: var(--oro-claro); }
.footer-contacto { flex: 1; min-width: 260px; text-align: right; }
.footer-contacto .lbl { display: block; font-size: .85rem; letter-spacing: 2px; margin-bottom: 10px; }
.footer-contacto .tel { display: block; color: var(--oro-claro); text-decoration: none; font-size: 1.7rem; font-weight: 700; margin-bottom: 10px; }
.footer-contacto .mail { color: #999; text-decoration: none; transition: color .3s; }
.footer-contacto .mail:hover { color: var(--oro-claro); }
.redes { display: flex; justify-content: flex-end; gap: 12px; margin-top: 25px; }
.redes a, .redes span { width: 35px; height: 35px; display: flex; align-items: center; justify-content: center; background: #333; color: #fff; border-radius: 2px; transition: background-color .3s; }
.redes .icono { width: 15px; height: 15px; }
.redes a:hover { background: var(--oro); }
.footer-copy { background: var(--negro-2); color: #999; text-align: center; padding: 25px 0; border-top: 1px solid rgba(255, 255, 255, .05); font-size: 14px; }

/* ---------- POPUP + WHATSAPP FLOTANTE ---------- */
.popup {
    position: fixed; inset: 0;
    z-index: 900;
    background: rgba(0, 0, 0, .7);
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
    opacity: 0; visibility: hidden;
    transition: opacity .3s, visibility .3s;
}
.popup.visible { opacity: 1; visibility: visible; }
.popup-caja {
    position: relative;
    max-width: 400px;
    padding: 30px 40px;
    background: var(--negro);
    border-radius: 10px;
    text-align: center;
    color: #ccc;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .3);
    transform: scale(.9);
    transition: transform .3s;
}
.popup.visible .popup-caja { transform: none; }
.popup-caja img { max-width: 150px; margin: 0 auto 20px; }
.popup-caja h2 { font-size: 24px; font-weight: 700; line-height: 1.3; color: var(--oro); margin-bottom: 15px; }
.popup-caja p { font-size: 16px; margin-bottom: 25px; }
.popup-caja .btn-linea { width: 100%; justify-content: center; min-height: 50px; }
.popup-cerrar { position: absolute; top: 6px; right: 12px; background: none; border: 0; font-size: 30px; line-height: 1; color: #999; cursor: pointer; }
.popup-cerrar:hover { color: var(--oro-claro); }

.wa-flotante {
    position: fixed;
    right: 25px; bottom: 25px;
    z-index: 800;
    width: 60px; height: 60px;
    border-radius: 50%;
    background: var(--oro-claro);
    color: var(--negro);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .2);
    transition: transform .3s, background-color .3s;
}
.wa-flotante .icono { width: 30px; height: 30px; }
.wa-flotante:hover { transform: scale(1.1); background: #d8b88d; }

/* ---------- VISOR DE IMÁGENES (reemplaza Magnific Popup) ---------- */
.lightbox {
    position: fixed; inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, .92);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transition: opacity .3s, visibility .3s;
    touch-action: pan-y;
}
.lightbox.abierto { opacity: 1; visibility: visible; }
.lightbox img { max-width: 90vw; max-height: 85vh; object-fit: contain; box-shadow: 0 0 30px rgba(0, 0, 0, .6); }
.lb-btn { position: absolute; background: none; border: 0; color: #fff; cursor: pointer; padding: 10px; transition: color .3s; }
.lb-btn:hover { color: var(--oro); }
.lb-btn .icono { width: 44px; height: 44px; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .8)); }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }
.lb-cerrar { top: 10px; right: 14px; font-size: 44px; line-height: 1; }
.lb-contador { position: absolute; left: 20px; bottom: 20px; color: #fff; font-size: 14px; font-weight: 600; }

:focus-visible { outline: 2px solid var(--oro); outline-offset: 2px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 991px) {
    .broker-grid, .amen-grid, .ubi-grid { grid-template-columns: 1fr; }
    .caja-form { max-width: none; }
    .abanico { margin-top: 40px; }
    .tarjeta { padding: 20px; }
    .lista-num { display: grid; grid-auto-flow: column; grid-template-rows: repeat(4, auto); grid-auto-columns: 180px; column-gap: 16px; overflow-x: auto; padding-bottom: 15px; scrollbar-color: var(--oro-2) #f1f1f1; }
    .footer-oro { max-width: 90%; gap: 30px; }
}

@media (max-width: 767px) {
    .header { padding: 25px; }
    .header-tel { display: none; }

    .hero-slide { padding: 0 20px 120px; justify-content: center; text-align: center; }
    .hero-texto { margin: 0; padding: 80px 0 0; display: flex; flex-direction: column; align-items: center; }
    .hero-texto .hero-titulo { font-size: clamp(1.6rem, 8vw, 2.2rem); line-height: 1.1; }
    .hero-texto p:not(.hero-titulo) { font-size: .9rem; max-width: 300px; margin-bottom: 20px; }
    .btn-linea { padding: 12px 25px; font-size: 11px; }
    .hero-nav {
        top: auto; bottom: 40px; right: auto; left: 50%;
        transform: translateX(-50%);
        height: auto;
        flex-direction: row;
        gap: 20px;
        background: #000;
        padding: 12px 36px;
        border-radius: 50px;
    }
    .hero-nav button { writing-mode: horizontal-tb; font-size: 12px; }
    .hero-nav .linea { height: 20px; }

    .sec-titulo { margin-bottom: 40px; }
    .sec-titulo .numero { font-size: 46px; }
    .sec-titulo h2 { font-size: 19px; letter-spacing: 2px; }

    .broker { padding: 60px 0; }
    .caja-form { padding: 20px; }
    .caja-form h3 { font-size: 22px; }
    .abanico { width: 250px; height: 350px; }
    .abanico-carta.izq { transform: translateX(-60px) scale(.8) rotate(-8deg); }
    .abanico-carta.der { transform: translateX(60px) scale(.8) rotate(8deg); }
    .abanico-carta.centro { transform: scale(.95); }
    .btn-oro { min-width: 140px; height: 40px; padding: 0 15px; font-size: 10px; }

    .iconos-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 10px; }
    .icono-card .t { font-size: 12px; min-height: 30px; }
    .tarjeta .iconos-grid { grid-template-columns: repeat(3, 1fr); }

    .visor-wrap { flex-direction: column; height: auto; }
    .visor { flex: none; height: 420px; }
    .visor-img { width: 100%; height: 100%; }
    .visor-img.previa, .visor-img.siguiente { opacity: 0; visibility: hidden; }
    .visor .btn-oro { left: 50%; transform: translateX(-50%); bottom: 10px; }
    .flecha-oro { width: 44px; height: 60px; }
    .miniaturas { width: 100%; height: 110px; padding: 10px; border-radius: 15px; }
    .miniaturas-scroll { flex-direction: row; overflow-x: auto; overflow-y: hidden; gap: 12px; }

    .amenidades, .ubicacion { padding: 60px 0; }
    .ubi-lista li { width: 100%; }
    .ubi-bloque .ubi-lista { max-height: 152px; overflow-y: auto; }
    .mapa-card { height: 400px; }

    .amen-marco { aspect-ratio: 4 / 3; }
    .amen-tag { top: 15px; left: 15px; font-size: 14px; padding: 8px 20px; }
    .puntos { gap: 7px; bottom: 15px; }
    .punto { width: 9px; height: 9px; }

    .footer-oro { padding: 40px 25px; }
    .dato { min-width: 0; }
    .footer-negro .contenedor { flex-direction: column; align-items: center; text-align: center; }
    .footer-marca p { margin: 0 auto; }
    .footer-links { width: 100%; justify-content: center; }
    .footer-contacto { text-align: center; }
    .redes { justify-content: center; }

    .lb-btn .icono { width: 34px; height: 34px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
