.catalog-head {
  min-height: 76px;
  background: #faf9f4;
}
.wordmark {
  color: #203d33;
  text-decoration: none;
  font:
    600 2.15rem/1 Georgia,
    serif;
  letter-spacing: -0.075em;
}
.wordmark span {
  color: #b9643c;
}
.catalog-head nav a {
  font-size: 0.94rem;
}

.atlas {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  isolation: isolate;
}
.atlas-intro,
.model {
  grid-row: 1;
  grid-column: 1;
}
.atlas-intro {
  z-index: 2;
  align-self: center;
  margin-left: max(6%, calc((100vw - 1180px) / 2));
  max-width: min(36vw, 460px);
  color: #fff9eb;
  pointer-events: none;
  text-shadow: 0 2px 24px #13261c80;
}
.kicker,
.model-heading > span {
  font:
    700 0.7rem/1.3 system-ui,
    sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.kicker {
  color: #566955;
}
.atlas-intro .kicker {
  color: #fff0c9;
}
.atlas-intro h1 {
  font:
    500 clamp(3.6rem, 6.3vw, 6.8rem) / 0.92 Georgia,
    serif;
  letter-spacing: -0.07em;
  margin: 16px 0;
}
.atlas-intro h1 em {
  color: #fff1c4;
  font-weight: 400;
}
.atlas-intro > p:not(.kicker) {
  max-width: 30ch;
  font-size: 1.07rem;
}
.atlas-intro .button {
  background: #f1e6c9;
  color: #253f32;
  pointer-events: auto;
  margin-top: 22px;
  text-shadow: none;
}
.model {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #abc0b3;
  color: #fff;
  min-width: 0;
}
.model:after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #12251be0 0%, #1c2a1c91 29%, transparent 58%),
    linear-gradient(0deg, #1a2f244a, transparent 17%);
  pointer-events: none;
}
.model-heading,
.model-bottom {
  position: absolute;
  left: 18px;
  right: 18px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  pointer-events: none;
}
.model-heading {
  top: 16px;
}
.model-heading > span {
  font-size: 0.61rem;
  letter-spacing: 0.15em;
  color: #f2efd9;
}
.model-modes,
.map-tools {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}
.model-modes {
  border-radius: 30px;
  padding: 3px;
  background: #142e26ed;
  border: 1px solid #ffffff32;
}
.model button {
  color: #f5f1df;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 0.78rem;
  line-height: 1.2;
}
.model-modes button {
  padding: 7px 13px;
  border-radius: 30px;
  font-weight: 650;
}
.model-modes button[aria-pressed='true'] {
  background: #efe9d4;
  color: #203e34;
}
.model-bottom {
  bottom: 14px;
  font-size: 0.72rem;
  color: #eee9db;
}
.map-tools button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #ffffff55;
  background: #193a31;
  font-size: 1.15rem;
  line-height: 1;
}
.map-tools button:disabled {
  opacity: 0.45;
}
.viewport {
  position: relative;
  height: clamp(415px, 41vw, 620px);
}
.viewport canvas,
.model-poster,
.map-pins {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.model-poster {
  object-fit: cover;
}
.viewport canvas {
  touch-action: pan-y;
  cursor: grab;
}
.viewport canvas:active {
  cursor: grabbing;
}
.map-pins {
  pointer-events: none;
}
.pin {
  position: absolute;
  transform: translate(-50%, calc(-100% - 8px));
  pointer-events: auto;
  color: #29392e;
  background: #fff9e9;
  box-shadow: 0 2px 12px #15291c55;
  border-radius: 8px;
  padding: 5px 10px;
  white-space: nowrap;
  text-decoration: none;
  font-weight: 680;
  font-size: 0.79rem;
}
.pin:after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  border: 5px solid transparent;
  border-top-color: #fff9e9;
  transform: translateX(-50%);
}
.pin:before {
  content: '';
  position: absolute;
  top: calc(100% + 3px);
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #bc593a;
  border: 2px solid #fff3d8;
  transform: translateX(-50%);
}
.pin small {
  display: block;
  font-size: 0.64rem;
  font-weight: 500;
}
.cartografia {
  grid-column: 1;
  margin-inline: max(4%, calc((100vw - 1180px) / 2));
  margin-top: 9px;
  color: #526557;
  font-size: 0.72rem;
}
.cartografia summary {
  cursor: pointer;
  width: fit-content;
}
.cartografia p {
  padding-top: 5px;
}
.listings {
  padding-block: 45px 64px;
  scroll-margin-top: 14px;
}
.listing-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid #d5d9cf;
  padding-bottom: 15px;
  gap: 12px;
}
.listing-head h2 {
  font-size: clamp(2rem, 3.6vw, 3.15rem);
}
.listing-head > span {
  color: #536558;
  font-size: 0.84rem;
}
.cards {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}
.house-card {
  display: grid;
  grid-template-columns: minmax(225px, 0.75fr) minmax(0, 1fr);
  background: #fffefa;
  border: 1px solid #dce0d4;
  border-radius: 16px;
  overflow: hidden;
}
.house-photo {
  display: block;
  min-height: 210px;
  position: relative;
}
.house-photo img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.house-info {
  padding: clamp(20px, 3vw, 38px);
  max-width: 65ch;
}
.house-info h3 {
  font:
    500 clamp(1.95rem, 3.2vw, 3rem) / 1.14 Georgia,
    serif;
  letter-spacing: -0.045em;
  margin: 8px 0 12px;
}
.house-info h3 a {
  text-decoration: none;
  color: inherit;
}
.house-info > p:not(.kicker) {
  color: #475a4d;
}
.facts {
  font-size: 0.88rem;
}
.facts span {
  color: #abb5a6;
}
.house-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 17px;
  font-weight: 700;
  text-underline-offset: 5px;
}
.breadcrumb {
  padding-top: 22px;
  font-size: 0.85rem;
  color: #536557;
}
.breadcrumb span {
  padding: 0 6px;
}
.property > h3 {
  margin-top: 22px;
}
.catalog-head a:focus-visible,
.model button:focus-visible,
.pin:focus-visible {
  outline: 3px solid #e6a86b;
  outline-offset: 2px;
}
.foot .wordmark {
  font-size: 1.6rem;
}

.model-heading,
.model-bottom {
  left: max(3%, 24px);
  right: max(3%, 24px);
}
.model-heading {
  justify-content: flex-end;
}
.model-heading > span {
  display: none;
}
.model-bottom {
  font-weight: 650;
  text-shadow: 0 1px 4px #193120;
  z-index: 3;
}
.map-pins {
  z-index: 2;
}
.pin {
  padding: 8px 14px;
  background: #fff8e8;
  color: #23392e;
  box-shadow: 0 3px 18px #15291c55;
}
.pin:before {
  background: #e38149;
  width: 10px;
  height: 10px;
}
.pin-respaldo {
  position: absolute;
  top: 61%;
  left: 64%;
  transform: translate(-50%, -50%);
  z-index: 2;
  background: #fff5db;
  color: #263e32;
  border-radius: 8px;
  padding: 8px 14px;
  font-weight: 650;
  font-size: 0.85rem;
  text-decoration: none;
  white-space: nowrap;
}
.interactiva .pin-respaldo {
  display: none;
}
@media (max-width: 760px) {
  .atlas-intro {
    grid-row: auto;
    grid-column: auto;
    max-width: none;
    margin: 0;
    padding: 17px 5%;
    text-shadow: none;
    color: #243d30;
    background: #f7f6ef;
  }
  .atlas-intro .kicker {
    color: #526b52;
  }
  .atlas-intro h1 {
    font-size: 2.8rem;
    margin: 6px 0;
  }
  .atlas-intro h1 br {
    display: none;
  }
  .atlas-intro h1 em {
    color: #46694c;
  }
  .atlas-intro > p:not(.kicker) {
    max-width: none;
    font-size: 0.92rem;
  }
  .atlas-intro .button {
    display: none;
  }
  .model {
    grid-row: auto;
    grid-column: auto;
  }
  .viewport {
    height: clamp(350px, 87vw, 475px);
  }
  .model:after {
    background: linear-gradient(0deg, #13231885, transparent 17%);
  }
  .model-heading,
  .model-bottom {
    left: 10px;
    right: 10px;
  }
  .model-bottom > span {
    font-size: 0.65rem;
    max-width: 13ch;
  }
  .map-tools {
    gap: 3px;
  }
  .map-tools button {
    width: 35px;
    height: 35px;
  }
  .pin-respaldo {
    left: 50%;
  }
  .cartografia {
    margin-inline: 5%;
    font-size: 0.65rem;
  }
}
@media (max-width: 650px) {
  .catalog-head {
    min-height: 64px;
    padding-block: 10px;
    flex-direction: row;
  }
  .catalog-head nav {
    display: flex;
    gap: 14px;
  }
  .wordmark {
    font-size: 1.85rem;
  }
  .listings {
    padding-block: 28px 40px;
  }
  .house-card {
    grid-template-columns: 1fr;
  }
  .house-photo {
    min-height: 0;
    aspect-ratio: 1.85;
  }
  .cartografia {
    margin-top: 6px;
  }
  .house-info {
    padding: 18px;
  }
  .listing-head > span {
    font-size: 0.75rem;
  }
  .catalog-head nav a {
    font-size: 0.83rem;
  }
}

.cartografia {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 14px;
}
.cartografia details[open] {
  flex-basis: 100%;
}
.cartografia a {
  color: inherit;
}

#photo-count {
  text-transform: none;
}

.pin.casa {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 5px;
  border-radius: 8px;
}
.pin.casa img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 5px;
}
.pin.casa small {
  color: #55705c;
}
.filtro-casas {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px;
  margin-top: 20px;
}
.filtro-casas label {
  display: grid;
  gap: 4px;
  font-weight: 600;
}
.filtro-casas select,
.filtro-casas input {
  min-height: 42px;
  padding: 6px 9px;
}
.cards.varias {
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
}
.varias .house-card {
  display: flex;
  flex-direction: column;
}
.varias .house-photo {
  aspect-ratio: 1.65;
  min-height: 0;
}
.varias .house-info {
  padding: 20px;
}
.varias h3 {
  font-size: 1.95rem;
}

.acciones-ficha { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem 1.25rem; }
.acciones-ficha .house-link { margin-top: 0; }
.enlace-recorridos { display: inline-block; padding-block: .7rem; text-underline-offset: .25em; }
.recorridos {
  display: grid; grid-template-columns: minmax(210px, 290px) minmax(0, 1fr);
  grid-template-areas: "visor titulo" "visor lista"; grid-template-rows: auto 1fr;
  align-items: start; gap: 1.2rem clamp(1.5rem, 5vw, 4.5rem);
  margin-block: 2rem; padding: clamp(1rem, 3vw, 2.25rem); border-radius: 22px;
  background: #193e35; color: #fffaf1; scroll-margin-top: 1rem;
}
.recorridos h2 { grid-area: titulo; color: inherit; margin: .3em 0 0; }
#video-casa {
  grid-area: visor; display: block; justify-self: center; width: 100%; height: auto;
  aspect-ratio: 9 / 16; border-radius: 12px; background: #102c24;
}
.lista-recorridos { grid-area: lista; list-style: none; padding: 0; margin: 0; }
.lista-recorridos li + li { margin-top: .4rem; }
.lista-recorridos a {
  display: flex; align-items: center; gap: .9rem; padding: .5rem .75rem;
  color: inherit; text-decoration: none; border: 1px solid transparent; border-radius: 10px;
}
.lista-recorridos a:hover,.lista-recorridos a:focus-visible { background: #285245; }
.lista-recorridos a[aria-current] { border-color: #a9c0aa; background: #2c5145; }
.lista-recorridos img { width: 48px; height: 58px; border-radius: 5px; object-fit: cover; }
.lista-recorridos small { display: block; color: #dfebdf; font-variant-numeric: tabular-nums; }
.reproducir { margin-left: auto; padding-inline: .3rem; }
@media(max-width:620px) {
  .recorridos { grid-template-columns: minmax(0,1fr); grid-template-areas: "titulo" "visor" "lista"; grid-template-rows: auto; gap: .85rem; }
  .recorridos h2 { margin: 0; }
  #video-casa { width: min(100%, 29vh, 256px); }
  .lista-recorridos img { width: 40px; height: 45px; }
}
