
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }

/* Navegación añadida sin alterar el bloque original de teléfono, logo o hero. */
.adana-nav-holder {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.adana-nav {
  position: absolute;
  right: 30px;
  top: 18px;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 6px 15px;
  border-radius: 999px;
  background: rgba(246,241,230,.90);
  color: #4b4b3b;
  font-family: "Mark Pro", sans-serif;
  font-size: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,.12);
  backdrop-filter: blur(4px);
}
.adana-nav a { color: inherit; text-decoration: none; white-space: nowrap; }
.adana-nav a:hover { color: #7a6a4a; }
.adana-nav-toggle { display: none; }
@media (min-width: 1024px) { .adana-nav { right: 60px; } }
@media (min-width: 1536px) { .adana-nav { right: 80px; } }
@media (max-width: 767px) {
  .adana-nav-holder { position: static; }
  .adana-nav-toggle {
    display: flex;
    position: absolute;
    right: 15px;
    top: 18px;
    width: 34px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: rgba(246,241,230,.92);
    color: #4b4b3b;
    font-size: 17px;
    z-index: 3;
  }
  .adana-nav {
    display: none;
    top: 56px;
    right: 15px;
    left: auto;
    width: max-content;
    max-width: calc(100vw - 30px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 14px;
    border-radius: 12px;
  }
  .adana-nav.is-open { display: flex; }
  .adana-nav a { padding: 7px 4px; }
}

/* El color de cada lote depende de la clase aplicada desde data/lotes.json. */
#masterplan .st3.disponible { fill: rgba(11,149,45,.53) !important; cursor: pointer !important; }
#masterplan .st3.apartado { fill: rgba(189,154,0,.60) !important; cursor: default !important; }
#masterplan .st3.vendido { fill: rgba(189,0,0,.63) !important; cursor: default !important; }
#masterplan g[role="button"]:focus .st3 { stroke: #fff; stroke-width: 4px; outline: none; }
#masterplan g[role="button"]:hover .st3 { filter: brightness(1.08); }

.modal-lote[hidden] { display: none; }
.modal-lote { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; padding: 20px; }
.modal-lote__backdrop { position: absolute; inset: 0; background: rgba(35,42,36,.65); }
.modal-lote__panel {
  position: relative; z-index: 1; width: min(430px, 100%); padding: 34px 32px 28px;
  background: #edece5; color: #445147; text-align: center; box-shadow: 0 18px 55px rgba(0,0,0,.25);
  font-family: "Mark Pro", sans-serif;
}
.modal-lote__close { position: absolute; right: 12px; top: 8px; border: 0; background: transparent; color: #445147; font-size: 30px; line-height: 1; cursor: pointer; }
.modal-lote__eyebrow { margin: 0 0 6px; text-transform: uppercase; letter-spacing: .24em; font-size: 11px; }
.modal-lote__title { margin: 0 0 22px; font-family: "Trajan Pro", serif; font-size: 24px; text-transform: uppercase; }
.modal-lote__data { display: grid; gap: 12px; margin: 0; }
.modal-lote__data div { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 9px; border-bottom: 1px solid rgba(68,81,71,.25); }
.modal-lote__data dt { font-weight: 700; }
.modal-lote__data dd { margin: 0; text-align: right; }
body.modal-open { overflow: hidden; }
