/* Plano interactivo de lotes de San Julián Urbano: la foto de dron y el plano, con el mismo selector. Paleta del sitio: verde #3D4437, arena #FAF6F1, cobre profundo #8A4E2E. */
.pista { margin: 0 0 8px; }
.solo-movil { display: none; }
/* Selector Foto real / Plano: dos botones pegados, el activo en cobre profundo. */
.selector { display: inline-flex; margin: 0 0 12px; border: 2px solid #8A4E2E; border-radius: 999px; overflow: hidden; background: #fff; }
.selector button { font: inherit; font-size: 15px; font-weight: 600; min-width: 112px; min-height: 44px; padding: 0 20px; border: 0; background: transparent; color: #8A4E2E; cursor: pointer; }
.selector button[aria-pressed="true"] { background: #8A4E2E; color: #fff; }
.selector button:focus-visible { outline: 3px solid #3D4437; outline-offset: -5px; }
/* Un display de autor le gana al atributo hidden del navegador: sin esto el selector y la vista inactiva se verían siempre. */
.selector[hidden], .plano-vista[hidden] { display: none !important; }
.leyenda { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0 0 12px; font-size: 14px; }
.leyenda > span { display: inline-flex; align-items: center; gap: 8px; }
.muestra { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #FAF6F1; box-shadow: 0 0 0 1px #3D4437; display: inline-block; }
.muestra[data-estado="disponible"] { background: #3D4437; }
.muestra[data-estado="vendido"] { background: #D9D4C9; box-shadow: 0 0 0 1px #8C887C; }
.plano { margin: 0; }
/* En pantallas angostas el plano conserva un ancho legible y se recorre deslizando: a 960 px cada círculo mide ~27 px. */
.plano-caja { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--linea); border-radius: 12px; background: #fff; }
.plano-lienzo { position: relative; min-width: 960px; }
.plano-lienzo img { width: 100%; height: auto; }
.plano-lienzo svg { position: absolute; inset: 0; width: 100%; height: 100%; }
/* Sobre la foto: el contorno punteado de cada etapa y su rótulo, bajo los círculos. Amarillo y celeste claros, con halo
   oscuro, para que no se confundan con las líneas blancas de cal que ya trae la foto, y para distinguir una etapa de la otra. */
.etapas { pointer-events: none; }
.etapa-halo { fill: none; stroke: #23281F; stroke-opacity: .6; stroke-width: 11; stroke-dasharray: 24 14; stroke-linejoin: round; }
.etapa-linea { fill: none; stroke-width: 5; stroke-dasharray: 24 14; stroke-linejoin: round; }
.etapa-linea[data-etapa="3"] { stroke: #FFE08A; }
.etapa-linea[data-etapa="4"] { stroke: #9EDCF2; }
.etapa-rotulo { font-family: inherit; font-weight: 700; font-size: 56px; paint-order: stroke; stroke: #23281F; stroke-opacity: .85; stroke-width: 12px; stroke-linejoin: round; }
.etapa-rotulo[data-etapa="3"] { fill: #FFE08A; }
.etapa-rotulo[data-etapa="4"] { fill: #9EDCF2; }
.plano figcaption { font-size: 13px; color: var(--suave); margin-top: 6px; }
@media (max-width: 995px) { .solo-movil { display: inline; } }
.lote { cursor: pointer; }
.lote text { font-family: inherit; font-weight: 700; pointer-events: none; }
.lote[data-estado="disponible"] circle { fill: #3D4437; stroke: #FAF6F1; stroke-width: 3; }
.lote[data-estado="disponible"] text { fill: #FAF6F1; }
.lote[data-estado="vendido"] circle { fill: #D9D4C9; fill-opacity: .9; stroke: #8C887C; stroke-width: 2; }
.lote[data-estado="vendido"] text { fill: #5E5A50; text-decoration: line-through; }
.lote-fuera circle { fill: #D9D4C9; fill-opacity: .9; stroke: #8C887C; stroke-width: 2; }
.lote-fuera text { font-family: inherit; font-weight: 700; fill: #5E5A50; pointer-events: none; }
.lote:hover circle { stroke-width: 6; }
.lote:focus { outline: none; }
.lote:focus-visible circle { stroke: #8A4E2E; stroke-width: 7; }
.fuera-de-venta { margin: 8px 0 0; }
.disponibles { list-style: none; padding: 0; display: grid; gap: 10px; }
.disponibles strong { display: block; margin-bottom: 4px; }
.lote-lista { display: inline-block; margin: 0 6px 6px 0; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--linea); color: var(--cobre-hondo); font-size: 14px; font-weight: 600; text-decoration: none; }
.lote-lista:hover, .lote-lista:focus-visible { border-color: var(--cobre-hondo); }
.ficha-lote { border: 0; border-radius: 16px; padding: 22px 22px 20px; width: min(92vw, 380px); background: var(--arena); color: var(--texto); box-shadow: 0 12px 40px rgba(35, 40, 31, .35); }
.ficha-lote::backdrop { background: rgba(35, 40, 31, .55); }
.ficha-lote form { position: absolute; top: 8px; right: 8px; margin: 0; }
.ficha-cerrar { width: 44px; height: 44px; border: 0; background: transparent; font-size: 20px; color: var(--texto); cursor: pointer; }
.ficha-titulo { margin: 0 36px 6px 0; font-size: 22px; }
.ficha-estado { margin: 0 0 12px; font-weight: 600; }
.ficha-estado[data-estado="disponible"] { color: #3D4437; }
.ficha-estado[data-estado="vendido"] { color: var(--suave); }
.ficha-datos { margin: 0 0 16px; }
.ficha-datos div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--linea); }
.ficha-datos dt { color: var(--suave); }
.ficha-datos dd { margin: 0; font-weight: 600; }
.ficha-whatsapp { display: block; }
/* Un display de arriba le gana al atributo hidden del navegador: sin esto el vendido mostraba el botón de WhatsApp. */
.ficha-lote [hidden] { display: none !important; }
