:root {
  --black: #050505;
  --ink: #171717;
  --muted: #6c6c6c;
  --line: #dedbd4;
  --soft: #f5f3ee;
  --white: #ffffff;
  --sand: #d8d0c2;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  padding-top: 76px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
}

.main-nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 clamp(18px, 4vw, 72px) 0 clamp(168px, 12vw, 220px);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 22px rgba(0, 0, 0, .06);
}

.nav-logo {
  position: absolute;
  left: clamp(28px, 5vw, 70px);
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 116px;
  height: 116px;
  padding: 12px;
  background: var(--black);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .18);
}

.nav-logo img {
  width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.nav-logo span {
  color: var(--white);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 19px;
  text-align: center;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  margin-left: auto;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nav-links a {
  padding: 12px 0;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.nav-links > a:not(.nav-cta):hover {
  color: #5d5d5d;
}

.nav-links a.active {
  border-bottom: 2px solid var(--black);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--soft);
}

.language-switch a {
  min-width: 38px;
  padding: 8px 10px !important;
  color: var(--muted);
  text-align: center;
  font-size: 12px;
}

.language-switch a.active {
  color: var(--white);
  background: var(--black);
  border-bottom: 0;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px !important;
  color: var(--white);
  background: var(--black);
}

.nav-cta:hover {
  background: #333;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--black);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: center;
  background: var(--black);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.18), rgba(0,0,0,.08));
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#properties,
#zones,
#advisory,
#contact {
  scroll-margin-top: 112px;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 680px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(48px, 7vw, 88px);
  line-height: .95;
  font-weight: 400;
}

.hero p:not(.eyebrow),
.page-hero p {
  max-width: 610px;
  margin: 24px 0 0;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid var(--black);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.btn-dark {
  color: var(--white);
  background: var(--black);
}

.btn-light {
  color: var(--black);
  background: var(--white);
  border-color: var(--white);
}

.btn-outline {
  color: var(--black);
  background: var(--white);
}

.btn.full {
  width: 100%;
}

.detail-side .btn + .btn {
  margin-top: 12px;
}

.search-band {
  width: min(var(--max), calc(100% - 40px));
  margin: -44px auto 0;
  position: relative;
  z-index: 5;
}

.property-search {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, 1fr) auto;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .08);
}

.property-search label {
  display: grid;
  gap: 8px;
  padding: 16px;
  background: var(--white);
}

.property-search span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.property-search input,
.property-search select {
  width: 100%;
  min-height: 36px;
  border: 1px solid transparent;
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--black);
}

.property-search input:focus,
.property-search select:focus {
  border-color: var(--black);
  background: #fafafa;
}

.property-search select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--black) 50%), linear-gradient(135deg, var(--black) 50%, transparent 50%);
  background-position: calc(100% - 16px) 16px, calc(100% - 11px) 16px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.native-select-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.custom-select {
  position: relative;
}

.custom-select-button {
  width: 100%;
  min-width: 0;
  min-height: 38px;
  padding: 0 34px 0 0;
  border: 0;
  background: transparent;
  color: var(--black);
  text-align: left;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
}

.custom-select-button::after {
  content: '';
  position: absolute;
  right: 2px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
  transform: translateY(-65%) rotate(45deg);
}

.custom-select-list {
  position: absolute;
  left: -16px;
  right: -16px;
  top: calc(100% + 15px);
  z-index: 20;
  display: none;
  max-height: 260px;
  overflow: auto;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .12);
}

.custom-select.open .custom-select-list {
  display: grid;
}

.custom-select-option {
  min-width: 0;
  min-height: 38px;
  padding: 8px 10px;
  border: 0;
  color: var(--ink);
  background: transparent;
  text-align: left;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
}

.custom-select-option:hover,
.custom-select-option.selected {
  background: var(--soft);
}

.property-search > button {
  min-width: 170px;
  border: 0;
  color: var(--white);
  background: var(--black);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.property-search > button:hover,
.btn:hover {
  filter: brightness(.92);
}

.section,
.detail-content,
.detail-wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 74px 0;
}

.section-heading {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 38px;
}

.section-heading h2,
.advisory-copy h2,
.detail-side h1,
.info-list h2 {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
}

.section-heading h2 {
  font-size: 34px;
}

.section-heading p:last-child {
  color: var(--muted);
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.property-card {
  background: var(--white);
  border: 1px solid var(--line);
}

.property-image {
  position: relative;
  display: block;
  aspect-ratio: 1.42;
  overflow: hidden;
  background: var(--soft);
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.property-card:hover .property-image img {
  transform: scale(1.035);
}

.property-badge,
.property-price-card {
  position: absolute;
  color: var(--white);
  background: rgba(0, 0, 0, .86);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.property-badge {
  left: 0;
  top: 0;
  padding: 9px 12px;
}

.property-price-card {
  right: 0;
  bottom: 0;
  min-width: 185px;
  padding: 12px 16px;
  text-align: right;
  border-top-left-radius: 18px;
}

.property-price-card strong,
.property-price-card em {
  display: block;
}

.property-price-card strong {
  font-size: 15px;
}

.property-price-card em {
  margin-top: 3px;
  font-style: normal;
  text-transform: none;
  font-size: 13px;
}

.property-body {
  padding: 20px 22px 18px;
}

.property-body h3 {
  margin: 0 0 8px;
  font-size: 19px;
  text-transform: uppercase;
}

.property-city,
.property-zone {
  margin: 0;
}

.property-city {
  margin-top: 5px;
  font-weight: 800;
}

.property-zone {
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.property-specs,
.detail-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.property-specs div,
.detail-specs div {
  padding: 0 9px;
  border-right: 1px solid var(--line);
}

.property-specs div:first-child,
.detail-specs div:first-child {
  padding-left: 0;
}

.property-specs div:last-child,
.detail-specs div:last-child {
  border-right: 0;
}

dt {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

dd {
  margin: 3px 0 0;
  font-weight: 800;
}

sup {
  font-size: .68em;
  line-height: 0;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 42px;
  flex-wrap: wrap;
}

.pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: var(--white);
  font-weight: 800;
}

.pagination a.active {
  color: var(--white);
  background: var(--black);
  border-color: var(--black);
}

.zones-section {
  padding: 74px 20px;
  background: var(--black);
}

.inverted {
  color: var(--white);
}

.inverted p:last-child {
  color: #c5c5c5;
}

.zone-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.zone-card {
  min-height: 145px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.24);
  color: var(--white);
  background: linear-gradient(135deg, rgba(255,255,255,.05), rgba(255,255,255,0));
}

.zone-card strong,
.zone-card small,
.zone-card em {
  display: block;
}

.zone-card strong {
  margin-top: 18px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 25px;
  font-weight: 400;
}

.zone-card small {
  margin-top: 6px;
  color: #d2d2d2;
}

.zone-card em {
  margin-top: 14px;
  color: var(--sand);
  font-style: normal;
  font-size: 13px;
}

.pin {
  width: 22px;
  height: 22px;
  display: block;
  border: 2px solid var(--white);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.advisory {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  min-height: 280px;
}

.advisory-image {
  background-color: var(--soft);
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

.advisory-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.advisory-copy {
  padding: 54px clamp(28px, 6vw, 82px);
  background: var(--soft);
}

.advisory-copy h2 {
  max-width: 560px;
  font-size: 36px;
}

.advisory-copy p:not(.eyebrow) {
  max-width: 540px;
  color: var(--muted);
}

.contact-line {
  display: flex;
  gap: 24px;
  margin-top: 20px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  padding: 54px clamp(20px, 5vw, 70px) 28px;
  color: var(--white);
  background: var(--black);
}

.footer-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 48px;
}

.footer-logo img {
  width: 168px;
  filter: brightness(0) invert(1);
}

.footer-contact-list {
  display: grid;
  gap: 15px;
}

.footer-contact-item {
  display: grid !important;
  gap: 4px;
  margin: 0 !important;
  color: #c9c9c9;
  font-size: 14px;
  font-style: normal;
  line-height: 1.45;
}

.footer-contact-item a {
  margin: 0;
  color: inherit;
}

.footer-contact-label {
  color: #858585;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .11em;
  line-height: 1.2;
  text-transform: uppercase;
}

.footer-logo span {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 24px;
}

.footer-brand-block {
  display: grid;
  justify-items: center;
  max-width: 330px;
  text-align: center;
}

.footer-brand-block p {
  max-width: 300px;
}

.site-footer .social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 250px;
  margin-top: 24px;
}

.site-footer .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 48px;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  margin: 0;
  color: #a9a9a9;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 2px;
  background: rgba(255,255,255,.03);
  font-size: 0;
  line-height: 1;
  transition: color .18s ease, border-color .18s ease, background-color .18s ease, transform .18s ease;
}

.site-footer .social-links a:hover {
  color: var(--white);
  border-color: rgba(255,255,255,.64);
  background: rgba(255,255,255,.08);
  transform: translateY(-1px);
}

.site-footer .social-links svg {
  display: block;
  width: 21px;
  height: 21px;
  margin: 0;
  fill: currentColor;
  pointer-events: none;
}

.site-footer .social-links svg path {
  fill: currentColor;
}

.site-footer h2 {
  margin: 0 0 16px;
  font-size: 13px;
  text-transform: uppercase;
}

.site-footer p,
.site-footer a {
  display: block;
  margin: 0 0 9px;
  color: #c9c9c9;
  font-size: 14px;
}

.footer-bottom {
  width: min(var(--max), 100%);
  margin: 34px auto 0;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(255,255,255,.18);
  color: #bdbdbd;
  font-size: 13px;
}

.page-hero {
  padding: 80px 20px;
  text-align: center;
  background: var(--soft);
}

.page-hero.compact h1 {
  margin: 0 auto;
  max-width: 820px;
  color: var(--black);
}

.page-hero.compact p {
  margin-left: auto;
  margin-right: auto;
}

.detail-wrap {
  padding: 34px 0 0;
}

.breadcrumb {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 24px;
}

.breadcrumb span::before {
  content: '/';
  margin-right: 10px;
  color: #b2b2b2;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(330px, .72fr);
  gap: 36px;
  align-items: start;
}

.gallery-panel,
.detail-side,
.info-list {
  border: 1px solid var(--line);
  background: var(--white);
}

.gallery-stage {
  position: relative;
  background: var(--soft);
}

.main-photo {
  width: 100%;
  aspect-ratio: 1280 / 853;
  object-fit: cover;
  background: var(--soft);
}

.thumb-row {
  display: flex;
  gap: 1px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  background: var(--line);
  border-top: 1px solid var(--line);
}

.thumb {
  flex: 0 0 142px;
  padding: 0;
  border: 0;
  aspect-ratio: 1280 / 853;
  cursor: pointer;
  background: var(--soft);
  opacity: .72;
  outline: 3px solid transparent;
  outline-offset: -3px;
  scroll-snap-align: start;
  transition: opacity .2s ease, outline-color .2s ease;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb:hover,
.thumb.active {
  opacity: 1;
  outline-color: var(--black);
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 25px rgba(0,0,0,.18);
  cursor: pointer;
  transform: translateY(-50%);
}

.gallery-arrow::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--black);
  border-left: 2px solid var(--black);
}

.gallery-arrow.prev {
  left: 16px;
}

.gallery-arrow.prev::before {
  transform: translate(-35%, -50%) rotate(-45deg);
}

.gallery-arrow.next {
  right: 16px;
}

.gallery-arrow.next::before {
  transform: translate(-65%, -50%) rotate(135deg);
}

.gallery-count {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 7px 10px;
  color: var(--white);
  background: rgba(0,0,0,.72);
  font-size: 12px;
  font-weight: 800;
}

.detail-side {
  position: sticky;
  top: 110px;
  padding: 22px;
}

.video-card {
  margin: -22px -22px 20px;
  background: var(--black);
}

.video-card.after-actions {
  margin: 22px -22px -22px;
}

.video-card video,
.video-card iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.video-placeholder {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  padding: 26px;
  color: var(--white);
  text-align: center;
  background:
    linear-gradient(rgba(0,0,0,.58), rgba(0,0,0,.58)),
    radial-gradient(circle at 30% 20%, #3b3b3b, #050505);
}

.video-thumb {
  background:
    linear-gradient(rgba(0,0,0,.34), rgba(0,0,0,.34)),
    var(--video-thumb) center / cover no-repeat,
    var(--black);
}

.video-placeholder span {
  display: inline-grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin: 0;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 50%;
  font-size: 0;
  background: rgba(0,0,0,.18);
  backdrop-filter: blur(2px);
}

.video-placeholder span::before {
  content: '';
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid var(--white);
}

.detail-badge {
  display: inline-flex;
  padding: 8px 10px;
  color: var(--white);
  background: var(--black);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.detail-side h1 {
  margin-top: 16px;
  font-size: 30px;
  line-height: 1.1;
}

.detail-price {
  margin: 10px 0 0;
  font-size: 24px;
}

.detail-delivery {
  margin: 4px 0 0;
  color: var(--black);
  font-weight: 800;
}

.detail-location {
  margin-top: 12px;
  color: var(--muted);
}

.detail-specs {
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 18px;
}

.btn-whatsapp {
  color: var(--white);
  background: #25d366;
  border-color: #25d366;
  gap: 10px;
}

.btn-whatsapp:hover {
  filter: brightness(.94);
}

.wa-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.52 3.48A11.88 11.88 0 0 0 12 0C5.37 0 0 5.37 0 12c0 2.11.56 4.16 1.62 5.98L.08 24l6.21-1.62A12.06 12.06 0 0 0 12 24c6.63 0 12-5.37 12-12 0-3.19-1.24-6.2-3.48-8.52ZM12 22c-1.83 0-3.62-.49-5.18-1.42l-.37-.22-3.69.96.98-3.59-.24-.37A9.99 9.99 0 1 1 22 12c0 5.52-4.48 10-10 10Zm5.27-7.35c-.29-.14-1.74-.86-2.01-.96-.27-.1-.46-.14-.65.15-.19.29-.75.96-.92 1.15-.17.19-.34.21-.63.07-.29-.14-1.22-.45-2.32-1.43-.86-.77-1.44-1.73-1.61-2.02-.17-.29-.02-.44.13-.58.13-.13.29-.34.44-.51.15-.17.19-.29.29-.48.1-.19.05-.36-.03-.51-.08-.14-.65-1.56-.89-2.13-.23-.56-.47-.49-.65-.5l-.56-.01c-.19 0-.49.07-.75.36-.26.29-.98.95-.98 2.32 0 1.36 1.01 2.68 1.15 2.87.14.19 2 3.05 4.85 4.15.68.29 1.2.46 1.61.58.68.22 1.31.19 1.81.12.55-.08 1.74-.71 1.99-1.4.25-.69.25-1.28.18-1.4-.07-.12-.26-.19-.54-.32Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.advisor-strip {
  width: min(var(--max), calc(100% - 40px));
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(330px, .72fr);
  gap: 36px;
}

.advisor-card {
  grid-column: 2;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: var(--soft);
}

.advisor-card img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}

.advisor-avatar {
  width: 64px;
  height: 64px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--black);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 28px;
}

.advisor-card h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

.advisor-card p {
  margin: 5px 0;
}

.detail-content {
  padding: 52px 0 0;
}

.rich-text {
  max-width: 840px;
  font-size: 17px;
  color: #333;
}

.detail-lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 38px;
}

.info-list {
  padding: 28px;
}

.info-list.dark {
  color: var(--white);
  background: var(--black);
  border-color: var(--black);
}

.info-list h2 {
  margin-bottom: 20px;
  font-size: 22px;
}

.info-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
}

.info-list li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.info-list.dark li {
  border-bottom-color: rgba(255,255,255,.2);
}

.related {
  padding-top: 58px;
}

@media (max-width: 1050px) {
  .property-search {
    grid-template-columns: repeat(2, 1fr);
  }

  .property-search button {
    min-height: 62px;
  }

  .property-grid,
  .zone-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-hero {
    grid-template-columns: 1fr;
  }

  .advisor-strip {
    grid-template-columns: 1fr;
  }

  .advisor-card {
    grid-column: 1;
  }

  .detail-side {
    position: static;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  body {
    padding-top: 72px;
  }

  .main-nav {
    min-height: 72px;
    padding: 0 18px 0 118px;
  }

  .nav-logo {
    left: 16px;
    width: 88px;
    height: 88px;
    padding: 9px;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    padding: 16px 20px 22px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }

  .nav-links.open {
    display: grid;
    gap: 8px;
  }

  .nav-cta {
    width: 100%;
  }

  .hero {
    min-height: 520px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 48px;
  }

  .search-band {
    margin-top: 0;
    width: 100%;
  }

  .property-search,
  .property-grid,
  .zone-grid,
  .advisory,
  .detail-lists,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .detail-content,
  .detail-wrap {
    width: min(100% - 28px, var(--max));
  }

  .property-specs {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 0;
  }

  .detail-specs {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 0;
  }

  .property-specs div:nth-child(2),
  .detail-specs div:nth-child(2) {
    border-right: 0;
  }

  .advisor-card {
    grid-template-columns: auto 1fr;
  }

  .advisor-card .btn {
    grid-column: 1 / -1;
  }

  .info-list ul {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    display: grid;
  }
}

/* Ajustes finales de la versión desplegable */
body {
  overflow-x: hidden;
}

.destination-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.destination-card {
  position: relative;
  isolation: isolate;
  min-height: 390px;
  overflow: hidden;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.24);
}

.destination-card > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.destination-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.82));
}

.destination-card:hover > img {
  transform: scale(1.035);
}

.destination-overlay {
  position: absolute;
  inset: auto 0 0;
  display: block;
  padding: 34px;
}

.destination-overlay strong,
.destination-overlay small,
.destination-overlay em {
  display: block;
}

.destination-overlay strong {
  margin-top: 18px;
  font: 400 clamp(30px, 4vw, 48px)/1 Georgia, 'Times New Roman', serif;
}

.destination-overlay small {
  margin-top: 9px;
  color: #e7e7e7;
  font-size: 15px;
}

.destination-overlay em {
  margin-top: 18px;
  color: var(--sand);
  font-style: normal;
}

.story-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 480px;
  background: var(--soft);
}

.story-image {
  min-height: 420px;
  overflow: hidden;
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(44px, 7vw, 96px);
}

.story-copy h2,
.detail-heading h1 {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
}

.story-copy h2 {
  max-width: 560px;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.02;
}

.story-copy > p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  font-size: 17px;
}

.story-values {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.story-values span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.detail-heading {
  max-width: 980px;
  margin: 0 0 30px;
}

.detail-heading h1 {
  margin-top: 14px;
  font-size: clamp(44px, 7vw, 82px);
  line-height: .98;
  overflow-wrap: anywhere;
}

.detail-heading p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.detail-hero > *,
.gallery-panel,
.gallery-stage,
.detail-side,
.advisor-card {
  min-width: 0;
}

.detail-side h1 {
  display: none;
}

.main-photo {
  max-width: 100%;
}

.rich-text,
.detail-location,
.advisor-card,
.site-footer p,
.site-footer a {
  overflow-wrap: anywhere;
}

.breadcrumb.centered {
  justify-content: center;
  margin-bottom: 24px;
}

.empty-state {
  padding: 70px 24px;
  text-align: center;
  background: var(--soft);
}

.empty-state h2 {
  margin: 0;
  font: 400 34px Georgia, 'Times New Roman', serif;
}

@media (max-width: 980px) {
  .main-nav {
    min-height: 72px;
    padding-right: 18px;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    padding: 16px 20px 22px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(0,0,0,.1);
  }

  .nav-links.open {
    display: grid;
    gap: 8px;
  }

  .nav-cta {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .destination-grid,
  .story-section {
    grid-template-columns: 1fr;
  }

  .destination-card {
    min-height: 320px;
  }

  .destination-overlay {
    padding: 26px;
  }

  .story-image,
  .advisory-image {
    min-height: 280px;
  }

  .story-copy {
    padding: 46px 22px;
  }

  .detail-wrap {
    padding-top: 26px;
  }

  .detail-heading {
    margin-bottom: 22px;
  }

  .detail-heading h1 {
    font-size: clamp(39px, 13vw, 58px);
  }

  .detail-hero {
    gap: 20px;
  }

  .gallery-arrow {
    width: 40px;
    height: 40px;
  }

  .thumb {
    flex-basis: 96px;
  }

  .detail-side {
    padding: 18px;
  }

  .video-card {
    margin: -18px -18px 18px;
  }

  .video-card.after-actions {
    margin: 20px -18px -18px;
  }

  .section {
    padding: 54px 0;
  }
}

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

/* Pulido editorial de tarjetas, historia y contacto */
.property-price-card {
  border-radius: 0;
}

.story-section {
  width: min(var(--max), calc(100% - 40px));
  min-height: 0;
  margin: 92px auto;
  padding: clamp(48px, 7vw, 88px);
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(42px, 7vw, 92px);
  align-items: start;
  background: #f1eee7;
  border-top: 4px solid var(--black);
}

.story-intro {
  position: sticky;
  top: 126px;
}

.story-intro h2 {
  max-width: 520px;
  margin: 0;
  font: 400 clamp(40px, 5vw, 66px)/1 Georgia, 'Times New Roman', serif;
}

.story-copy {
  display: block;
  padding: 0;
}

.story-copy > p:not(.eyebrow) {
  max-width: 680px;
  margin: 0;
  color: #3f3f3f;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.75;
}

.story-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 42px;
}

.story-value {
  min-width: 0;
  padding-top: 18px;
  border-top: 1px solid #8b867d;
}

.story-value strong,
.story-value span,
.story-value small {
  display: block;
}

.story-value strong {
  color: #8b867d;
  font-size: 11px;
  letter-spacing: 1.6px;
}

.story-values .story-value span {
  margin-top: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.story-value small {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.advisory {
  width: min(var(--max), calc(100% - 40px));
  min-height: 0;
  margin: 0 auto 92px;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
  align-items: stretch;
  background: #ddd6ca;
  border: 1px solid #c9c0b2;
}

.advisory-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 7vw, 86px);
  background: transparent;
}

.advisory-copy h2 {
  max-width: 620px;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.03;
}

.advisory-copy p:not(.eyebrow) {
  max-width: 600px;
  color: #514d46;
  font-size: 17px;
  line-height: 1.7;
}

.advisory-promises {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.advisory-promises span {
  padding: 9px 12px;
  color: #39352f;
  background: rgba(255,255,255,.48);
  border: 1px solid rgba(5,5,5,.14);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.contact-card {
  min-width: 0;
  margin: 24px;
  padding: clamp(26px, 4vw, 42px);
  color: var(--white);
  background: var(--black);
}

.contact-card-label {
  margin: 0 0 8px;
  color: #aaa;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.contact-method {
  display: block;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,.2);
}

.contact-method small,
.contact-method strong,
.contact-method span {
  display: block;
}

.contact-method small {
  color: #9d9d9d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.contact-method strong {
  margin-top: 7px;
  color: var(--white);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(20px, 2.2vw, 29px);
  font-weight: 400;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.contact-method span {
  margin-top: 10px;
  color: #c9c9c9;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-method:hover span {
  color: var(--white);
}

.contact-whatsapp {
  gap: 10px;
  margin-top: 28px;
}

.video-card {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.video-card video,
.video-card iframe,
.video-card .video-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}

@media (max-width: 760px) {
  .story-section {
    width: min(100% - 28px, var(--max));
    margin: 54px auto;
    padding: 42px 22px;
    gap: 34px;
  }

  .story-intro {
    position: static;
  }

  .story-values {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }

  .advisory {
    width: min(100% - 28px, var(--max));
    margin-bottom: 54px;
    grid-template-columns: 1fr;
  }

  .advisory-copy {
    padding: 44px 22px 34px;
  }

  .contact-card {
    margin: 0 16px 16px;
    padding: 26px 22px;
  }
}

/* Pulido de interfaz: tarjetas, métricas, filtros y listas de la ficha */
.property-grid {
  margin: -9px;
  padding: 9px;
  overflow: visible;
}

.property-card {
  position: relative;
  isolation: isolate;
}

.property-card-link {
  position: relative;
  display: flex;
  flex-direction: column;
}

.property-card-link::after {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: 4;
  border: 1px solid transparent;
  pointer-events: none;
  transition: border-color .24s ease;
}

.property-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

.property-specs {
  margin-top: auto;
}

.property-price-card strong {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  white-space: nowrap;
}

.property-price-currency {
  font-size: .67em;
  font-weight: 800;
  letter-spacing: .04em;
}

.property-specs > span {
  display: flex;
  min-height: 44px;
  flex-direction: column;
  justify-content: space-between;
}

.property-specs .spec-label {
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: -.01em;
  white-space: nowrap;
}

.spec-reading {
  display: inline-flex !important;
  align-items: baseline;
  gap: 4px;
  min-width: 0;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.spec-unit {
  flex: 0 0 auto;
  font-size: .78em;
  font-weight: 700;
  white-space: nowrap;
}

.spec-unit sup {
  position: relative;
  top: -.18em;
  font-size: .66em;
}

@media (hover: hover) and (pointer: fine) {
  .property-card:hover {
    z-index: 5;
    border-color: #bdb7ad;
    box-shadow: 0 18px 38px rgba(0,0,0,.12), inset 0 0 0 1px rgba(5,5,5,.06);
    translate: 0 -3px;
    scale: 1.006;
  }

  .property-card:hover .property-card-link::after {
    border-color: #bdb7ad;
  }
}

.custom-select-list {
  top: calc(100% + 10px);
  min-width: min(230px, calc(100vw - 24px));
  max-height: var(--select-max-height, min(420px, calc(100vh - 104px)));
  overflow-x: hidden;
  overflow-y: auto;
  padding: 6px;
  overscroll-behavior: contain;
  scrollbar-gutter: auto;
}

.custom-select.opens-up .custom-select-list {
  top: auto;
  bottom: calc(100% + 10px);
  transform-origin: bottom center;
  transform: translateY(7px) scale(.985);
}

.custom-select.opens-up.open .custom-select-list {
  transform: translateY(0) scale(1);
}

.custom-select-option {
  position: relative;
  min-height: 42px;
  padding: 10px 38px 10px 13px;
  line-height: 1.35;
  white-space: nowrap;
}

.custom-select-option::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  width: 6px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  opacity: 0;
  transform: translateY(-65%) rotate(45deg);
}

.custom-select-option:hover,
.custom-select-option:focus-visible,
.custom-select-option.selected {
  padding-left: 13px;
}

.custom-select-option.selected::after {
  opacity: 1;
}

.detail-price,
.detail-delivery {
  text-align: center;
}

.detail-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: .24em;
  font-variant-numeric: tabular-nums;
}

.detail-price-currency {
  font-size: .48em;
  font-weight: 800;
  letter-spacing: .06em;
}

.detail-specs div {
  align-items: center;
  text-align: center;
}

.detail-specs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-top: 0;
}

.detail-specs div,
.detail-specs div:first-child {
  min-height: 76px;
  justify-content: center;
  padding: 13px 12px;
}

.detail-specs div:nth-child(2n) {
  border-right: 0;
}

.detail-specs div:nth-child(n + 3) {
  border-top: 1px solid var(--line);
}

.detail-specs dd.spec-reading {
  justify-content: center;
  font-size: clamp(18px, 1.7vw, 22px);
}

.detail-specs dt {
  font-size: 10px;
  letter-spacing: -.01em;
  white-space: nowrap;
}

.info-list li {
  grid-template-columns: 36px minmax(0, 1fr);
  column-gap: 16px;
  align-items: start;
}

.info-list .feature-quantity {
  grid-column: 1;
  min-height: 1px;
  color: inherit;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.info-list li.without-quantity .feature-quantity {
  grid-column: 1;
}

.info-list .feature-quantity strong {
  display: block;
  color: inherit;
  font-size: 17px;
  line-height: 1.35;
}

.info-list .feature-name,
.info-list li.without-quantity .feature-name {
  grid-column: 2;
  min-width: 0;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  .property-grid {
    margin: -6px;
    padding: 6px;
  }

  .property-specs .spec-label,
  .detail-specs dt {
    font-size: 10px;
  }

  .detail-price {
    font-size: clamp(29px, 8.7vw, 38px);
  }

  .info-list li {
    grid-template-columns: 32px minmax(0, 1fr);
    column-gap: 13px;
  }
}

/* Tarjetas completas, proporción fotográfica y microinteracciones */
.property-card {
  min-width: 0;
  border-color: #e5e1da;
  box-shadow: 0 8px 24px rgba(0,0,0,0);
  transform-origin: center;
  transition: box-shadow .24s ease, translate .24s ease, scale .24s ease, border-color .24s ease;
}

.property-card-link {
  display: block;
  height: 100%;
  color: inherit;
  background: var(--white);
}

.property-image {
  aspect-ratio: 1280 / 853;
}

.property-image img {
  object-fit: contain;
  transform: none !important;
  transition: none;
}

.property-card:hover .property-image img {
  transform: none;
}

.property-badge {
  padding: 8px 10px;
  border-right: 1px solid rgba(255,255,255,.18);
  border-bottom: 1px solid rgba(255,255,255,.18);
}

.property-price-card {
  width: max-content;
  min-width: 0;
  max-width: calc(100% - 12px);
  padding: 9px 11px 8px;
  text-align: left;
  border-top: 1px solid rgba(255,255,255,.24);
  border-left: 1px solid rgba(255,255,255,.24);
}

.property-price-card strong {
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.05;
  letter-spacing: .1px;
}

.property-price-card em {
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.1;
  letter-spacing: .2px;
}

.property-body {
  display: block;
}

.property-body h3 {
  color: var(--ink);
}

.property-zone,
.property-city {
  display: block;
}

.property-specs > span {
  min-width: 0;
  padding: 0 9px;
  border-right: 1px solid var(--line);
}

.property-specs > span:first-child {
  padding-left: 0;
}

.property-specs > span:last-child {
  border-right: 0;
}

.property-specs .spec-label,
.property-specs strong {
  display: block;
}

.property-specs .spec-label {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.property-specs strong {
  margin-top: 3px;
  font-size: 14px;
}

@media (hover: hover) and (pointer: fine) {
  .property-card:hover {
    z-index: 2;
    border-color: #cbc5ba;
    box-shadow: 0 16px 34px rgba(0,0,0,.105);
    translate: 0 -3px;
    scale: 1.008;
  }
}

/* Selector animado con una transición ligera tipo interfaz de escritorio */
.custom-select-button {
  position: relative;
  transition: color .18s ease;
}

.custom-select-list {
  display: grid;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-7px) scale(.985);
  transform-origin: top center;
  border-color: #c9c4bb;
  box-shadow: 0 22px 46px rgba(0,0,0,.15);
  scrollbar-width: thin;
  scrollbar-color: #202020 #efede8;
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
}

.custom-select.open .custom-select-list {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  transition-delay: 0s;
}

.custom-select.open .custom-select-button::after {
  transform: translateY(-35%) rotate(225deg);
}

.custom-select-option {
  border-bottom: 1px solid #eeebe5;
  transition: color .14s ease, background-color .14s ease, padding-left .14s ease;
}

.custom-select-option:last-child {
  border-bottom: 0;
}

.custom-select-option:hover,
.custom-select-option:focus-visible,
.custom-select-option.selected {
  padding-left: 14px;
  color: var(--white);
  background: var(--black);
  outline: 0;
}

/* Indicador que acompaña la sección activa del menú */
.nav-links {
  --indicator-x: 0px;
  --indicator-width: 0px;
  position: relative;
}

.nav-links::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 6px;
  width: var(--indicator-width);
  height: 2px;
  background: var(--black);
  transform: translateX(var(--indicator-x));
  transition: transform .34s cubic-bezier(.2,.75,.25,1), width .34s cubic-bezier(.2,.75,.25,1);
  pointer-events: none;
}

.nav-links a.active {
  border-bottom: 0;
}

/* Aparición discreta al entrar en pantalla */
.reveal-ready {
  opacity: 0;
  translate: 0 14px;
  transition: opacity .46s ease, translate .46s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-ready.is-visible {
  opacity: 1;
  translate: 0 0;
}

@media (hover: hover) and (pointer: fine) {
  .property-card.reveal-ready.is-visible:hover {
    translate: 0 -3px;
  }
}

@media (max-width: 980px) {
  .nav-links::after {
    display: none;
  }
}

@media (max-width: 760px) {
  .property-specs > span:nth-child(2) {
    border-right: 0;
  }
}

/* Composición final de la ficha de propiedad */
.detail-heading {
  width: 100%;
  max-width: none;
  margin-bottom: 26px;
}

.detail-heading h1 {
  max-width: none;
  margin-top: 12px;
  font-size: clamp(36px, 4.7vw, 56px);
  line-height: 1.04;
  overflow-wrap: break-word;
  text-wrap: pretty;
}

.detail-heading p {
  margin-top: 10px;
}

.detail-heading .detail-address {
  max-width: 920px;
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.detail-heading .detail-location {
  margin: 4px 0 0;
  color: var(--black);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.detail-hero {
  grid-template-columns: minmax(0, 1.58fr) minmax(330px, .72fr);
  gap: 28px;
  align-items: stretch;
}

.gallery-panel {
  height: 100%;
  overflow: hidden;
}

.gallery-stage {
  overflow: hidden;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
}

.gallery-stage.is-dragging {
  cursor: grabbing;
}

.main-photo,
.thumb img {
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.thumb-row {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: none;
  touch-action: pan-y;
  cursor: grab;
}

.thumb-row::-webkit-scrollbar {
  display: none;
}

.thumb-row.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.detail-side {
  position: static;
  top: auto;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  gap: 20px;
  padding: 0;
  border: 0;
  background: transparent;
}

.detail-side .video-card {
  order: 1;
  flex: 0 0 auto;
  width: 100%;
  margin: 0;
  border: 1px solid var(--line);
  background: var(--black);
}

.detail-summary {
  order: 2;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: clamp(22px, 2.4vw, 30px);
  border: 1px solid var(--line);
  background: var(--white);
}

.detail-price {
  margin: 0;
  color: var(--black);
  font-size: clamp(31px, 2.5vw, 38px);
  font-weight: 850;
  letter-spacing: -.035em;
  line-height: 1.04;
  white-space: nowrap;
}

.detail-price-block {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
}

.detail-price-block .detail-price {
  justify-content: flex-start;
  text-align: left;
}

.detail-price-block .detail-price-validity,
.detail-price-block .detail-delivery {
  text-align: center;
}

.detail-price.is-consult {
  font-size: clamp(27px, 2.2vw, 34px);
  letter-spacing: -.02em;
  white-space: normal;
}

.detail-delivery {
  margin-top: 8px;
  font-size: 14px;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: none;
}

.detail-price-validity {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.detail-specs {
  margin: 24px 0 0;
  padding-top: 18px;
}

.detail-specs div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.detail-specs dd {
  order: 1;
  margin: 0;
  color: var(--black);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.15;
}

.detail-specs dt {
  order: 2;
  margin-top: 5px;
  line-height: 1.2;
}

.detail-actions {
  margin-top: auto;
  padding-top: 24px;
}

.detail-content {
  padding-top: 48px;
}

.rich-text {
  width: 100%;
  max-width: none;
}

.info-list li {
  display: grid;
  grid-template-columns: minmax(34px, max-content) minmax(0, 1fr);
  align-items: baseline;
  justify-content: initial;
}

.info-list li.has-quantity strong {
  color: inherit;
  font-size: 18px;
  line-height: 1;
}

.info-list li.without-quantity span {
  grid-column: 1 / -1;
}

@media (max-width: 1050px) {
  .detail-hero {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .detail-side {
    min-height: 0;
  }

  .detail-summary {
    order: 1;
  }

  .detail-side .video-card {
    order: 2;
  }
}

@media (max-width: 760px) {
  .detail-heading h1 {
    font-size: clamp(32px, 10.5vw, 44px);
    line-height: 1.06;
  }

  .detail-price {
    font-size: clamp(31px, 9vw, 38px);
  }

  .detail-summary {
    padding: 22px 18px;
  }

  .detail-specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 18px;
  }

  .detail-specs div:nth-child(2) {
    border-right: 0;
  }

  .thumb {
    flex-basis: 104px;
  }
}

/* Movimiento progresivo: ligero, cancelable y sin dependencias globales */
@view-transition {
  navigation: auto;
}

@keyframes solida-page-out {
  to { opacity: 0; transform: translateY(-4px); }
}

@keyframes solida-page-in {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes solida-hero-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes solida-photo-next {
  from { opacity: .58; transform: translate3d(12px, 0, 0) scale(1.006); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes solida-photo-prev {
  from { opacity: .58; transform: translate3d(-12px, 0, 0) scale(1.006); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

::view-transition-old(root) {
  animation: 150ms cubic-bezier(.4, 0, 1, 1) both solida-page-out;
}

::view-transition-new(root) {
  animation: 280ms cubic-bezier(.22, 1, .36, 1) both solida-page-in;
}

::view-transition-group(property-hero) {
  animation-duration: 380ms;
  animation-timing-function: cubic-bezier(.22, 1, .36, 1);
}

::view-transition-group(site-header) {
  animation-duration: 190ms;
}

.site-header {
  view-transition-name: site-header;
}

.detail-wrap .main-photo {
  view-transition-name: property-hero;
}

.main-photo.photo-shift-next {
  animation: 210ms cubic-bezier(.2, .8, .2, 1) both solida-photo-next;
}

.main-photo.photo-shift-prev {
  animation: 210ms cubic-bezier(.2, .8, .2, 1) both solida-photo-prev;
}

.main-nav,
.nav-logo {
  transition: background-color 190ms ease, border-color 190ms ease, box-shadow 190ms ease, translate 190ms cubic-bezier(.2, .8, .2, 1);
}

.site-header:not(.is-scrolled) .main-nav {
  box-shadow: 0 3px 14px rgba(0,0,0,.035);
}

.site-header.is-scrolled .main-nav {
  background: rgba(255,255,255,.995);
  border-bottom-color: #d2cec6;
  box-shadow: 0 12px 30px rgba(0,0,0,.09);
}

.site-header.is-scrolled .nav-logo {
  translate: 0 -2px;
  box-shadow: 0 16px 34px rgba(0,0,0,.22);
}

.hero-content > * {
  animation: 520ms cubic-bezier(.22, 1, .36, 1) both solida-hero-in;
}

.hero-content > :nth-child(2) { animation-delay: 45ms; }
.hero-content > :nth-child(3) { animation-delay: 90ms; }
.hero-content > :nth-child(4) { animation-delay: 125ms; }

.btn,
.nav-toggle,
.gallery-arrow,
.gallery-expand {
  transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease, box-shadow 180ms ease, filter 150ms ease, scale 100ms ease;
}

.btn:active,
.nav-toggle:active,
.gallery-expand:active {
  scale: .985;
}

.property-card:active {
  scale: .996;
}

.gallery-arrow:active {
  transform: translateY(-50%) scale(.94);
}

:where(a, button, input, select):focus-visible {
  outline: 3px solid rgba(12,90,97,.42);
  outline-offset: 3px;
}

.gallery-expand {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid rgba(255,255,255,.64);
  color: var(--black);
  background: rgba(255,255,255,.93);
  box-shadow: 0 10px 24px rgba(0,0,0,.16);
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.gallery-expand span {
  font-size: 18px;
  line-height: 1;
}

.gallery-expand strong {
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

@media (hover: hover) and (pointer: fine) {
  .gallery-expand:hover {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
    box-shadow: 0 14px 28px rgba(0,0,0,.22);
  }
}

.pswp {
  --pswp-bg: #050505;
}

.pswp__counter {
  display: none;
}

@media (max-width: 980px) {
  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: grid;
    margin-left: 0;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 200ms ease, transform 220ms cubic-bezier(.2, .8, .2, 1), visibility 0s linear 220ms;
  }

  .nav-links.open {
    display: grid;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
  }
}

@media (max-width: 560px) {
  .gallery-expand {
    top: 12px;
    right: 12px;
    width: 42px;
    min-height: 42px;
    justify-content: center;
    padding: 0;
  }

  .gallery-expand strong {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root),
  ::view-transition-group(property-hero),
  ::view-transition-group(site-header),
  .hero-content > *,
  .main-photo.photo-shift-next,
  .main-photo.photo-shift-prev {
    animation-duration: .01ms !important;
    animation-delay: 0ms !important;
  }

  .main-nav,
  .nav-logo,
  .btn,
  .nav-toggle,
  .gallery-arrow,
  .gallery-expand,
  .nav-links {
    transition-duration: .01ms !important;
  }
}

/* Ajustes definitivos de uniformidad visual */
.property-card-link::after {
  inset: 0;
  border-color: #e5e1da;
}

.property-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

.property-city {
  margin-bottom: 18px;
}

.property-specs {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .78fr) minmax(0, 1fr) minmax(0, 1.3fr);
  margin-top: auto;
}

.property-specs > span {
  padding-right: 8px;
  padding-left: 8px;
  align-items: flex-start;
  text-align: left;
}

.property-specs > span:first-child {
  align-items: flex-start;
  padding-left: 0;
  text-align: left;
}

.property-specs > span:nth-child(2),
.property-specs > span:nth-child(3) {
  align-items: flex-start;
  text-align: left;
}

.property-specs > span:last-child {
  align-items: flex-start;
  padding-right: 8px;
  text-align: left;
}

.property-specs .spec-label {
  max-width: 100%;
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: -.015em;
  white-space: nowrap;
}

.property-card:active {
  scale: 1;
}

@media (hover: hover) and (pointer: fine) {
  .property-card:hover,
  .property-card.reveal-ready.is-visible:hover {
    z-index: 5;
    border-color: #bdb7ad;
    box-shadow: 0 18px 38px rgba(0,0,0,.12), inset 0 0 0 1px rgba(5,5,5,.05);
    translate: 0 -3px;
    scale: 1;
  }

  .property-card:hover .property-card-link::after {
    border-color: #aaa399;
  }
}

.detail-lists.is-single {
  grid-template-columns: minmax(0, 1fr);
}

.detail-lists.is-single .info-list ul {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

@media (max-width: 760px) {
  .property-specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .property-specs > span:nth-child(odd) {
    align-items: flex-start;
    padding-right: 8px;
    padding-left: 0;
    text-align: left;
  }

  .property-specs > span:nth-child(even) {
    align-items: flex-start;
    padding-right: 8px;
    padding-left: 10px;
    text-align: left;
  }

  .detail-lists.is-single .info-list ul {
    grid-template-columns: 1fr;
  }
}

/* Final layout polish: floating actions, mobile story and property detail. */
.floating-actions {
  position: fixed;
  right: clamp(14px, 2vw, 26px);
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 950;
  display: grid;
  gap: 10px;
  justify-items: end;
}

.floating-action {
  display: grid;
  width: 54px;
  height: 54px;
  padding: 0;
  place-items: center;
  color: #050505;
  background: #fff;
  border: 1px solid #050505;
  border-radius: 0;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .16);
  cursor: pointer;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease,
    box-shadow .2s ease, opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.floating-action svg {
  width: 25px;
  height: 25px;
}

.floating-scroll-top {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
}

.floating-scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.floating-whatsapp {
  color: #fff;
  background: #25d366;
  border-color: #1aae54;
}

.floating-whatsapp svg,
.floating-whatsapp svg path {
  fill: currentColor;
}

@media (hover: hover) and (pointer: fine) {
  .floating-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, .2);
  }

  .floating-scroll-top:hover {
    color: #fff;
    background: #050505;
  }

  .floating-whatsapp:hover {
    color: #fff;
    background: #1fb95a;
    border-color: #169847;
  }
}

.detail-video-gallery {
  position: relative;
  order: 1;
  width: 100%;
  flex: 0 0 auto;
}

.detail-video-gallery .video-card {
  width: 100%;
  margin: 0;
  background: #000;
}

.video-slide:not(.is-active) {
  display: none;
}

.video-switcher {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;
  display: flex;
  gap: 4px;
  padding: 4px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(5, 5, 5, .2);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .18);
  backdrop-filter: blur(8px);
}

.video-switcher button {
  display: grid;
  width: 32px;
  height: 32px;
  padding: 0;
  place-items: center;
  color: #050505;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  background: #fff;
  border: 1px solid #c8c2b8;
  border-radius: 0;
  cursor: pointer;
}

.video-switcher button[aria-selected="true"] {
  color: #fff;
  background: #050505;
  border-color: #050505;
}

.detail-lists,
.detail-lists.is-single {
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
}

.detail-lists .info-list {
  width: 100%;
}

.detail-lists .info-list ul,
.detail-lists.is-single .info-list ul {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

@media (max-width: 1050px) {
  .detail-video-gallery {
    order: 2;
  }
}

@media (max-width: 760px) {
  .floating-actions {
    right: 14px;
    bottom: max(14px, env(safe-area-inset-bottom));
    gap: 8px;
  }

  .floating-action {
    width: 48px;
    height: 48px;
  }

  .floating-action svg {
    width: 23px;
    height: 23px;
  }

  .story-section {
    width: min(calc(100% - 28px), var(--max));
    margin: 54px auto;
    padding: 38px 20px 30px;
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    border-top-width: 3px;
  }

  .story-intro {
    position: static;
  }

  .story-intro .eyebrow {
    margin-bottom: 12px;
  }

  .story-intro h2 {
    max-width: 12ch;
    font-size: clamp(35px, 10.5vw, 46px);
    line-height: 1.03;
    text-wrap: balance;
  }

  .story-copy > p:not(.eyebrow) {
    max-width: 58ch;
    font-size: 16px;
    line-height: 1.65;
  }

  .story-values {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    margin-top: 28px;
    border-top: 1px solid #8b867d;
  }

  .story-value {
    display: grid;
    padding: 18px 0;
    grid-template-columns: 34px minmax(0, 1fr);
    column-gap: 14px;
    border-top: 0;
    border-bottom: 1px solid #c8c1b5;
  }

  .story-value strong {
    grid-row: 1 / 3;
    grid-column: 1;
    padding-top: 2px;
  }

  .story-values .story-value span {
    grid-column: 2;
    margin-top: 0;
  }

  .story-value small {
    grid-column: 2;
    margin-top: 6px;
  }

  .detail-lists .info-list ul,
  .detail-lists.is-single .info-list ul {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 420px) {
  .story-intro h2 {
    font-size: clamp(32px, 10vw, 39px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-action {
    transition-duration: .01ms !important;
  }
}

/* Carrusel continuo inspirado en el detalle clásico, sin controles invasivos. */
.gallery-stage {
  aspect-ratio: 1280 / 853;
  overflow: hidden;
  isolation: isolate;
  background: #fff;
}

.gallery-track {
  display: flex;
  width: 100%;
  height: 100%;
  gap: 0;
  will-change: transform;
  transition: transform 620ms cubic-bezier(.22, .72, .22, 1);
}

.gallery-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: var(--soft);
}

.gallery-photo,
.gallery-stage .main-photo {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.gallery-stage:focus-visible {
  outline: 3px solid rgba(12, 90, 97, .42);
  outline-offset: -3px;
}

.gallery-arrow {
  top: 50%;
  z-index: 4;
  width: 40px;
  height: 86px;
  padding: 0;
  color: #fff;
  background: rgba(5, 5, 5, .48);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  opacity: .88;
  transform: translateY(-50%);
  transition: background-color .2s ease, opacity .2s ease, transform .12s ease;
}

.gallery-arrow.prev {
  left: 0;
}

.gallery-arrow.next {
  right: 0;
}

.gallery-arrow::before {
  top: 50%;
  left: 50%;
  width: 11px;
  height: 11px;
  border: 0;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.gallery-arrow.prev::before {
  transform: translate(-38%, -50%) rotate(-135deg);
}

.gallery-arrow.next::before {
  transform: translate(-62%, -50%) rotate(45deg);
}

@media (hover: hover) and (pointer: fine) {
  .gallery-arrow:hover {
    background: rgba(5, 5, 5, .68);
    opacity: 1;
  }
}

/* Listas editoriales: viñeta para detalles y check para amenidades. */
.info-list.details-list li,
.info-list.details-list li.without-quantity {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  column-gap: 12px;
  align-items: start;
}

.info-list.details-list li::before {
  content: '';
  grid-column: 1;
  width: 5px;
  height: 5px;
  margin: .6em 0 0 5px;
  background: currentColor;
  border-radius: 50%;
}

.info-list.details-list .feature-name,
.info-list.details-list li.without-quantity .feature-name {
  grid-column: 2;
}

.info-list.details-list .feature-count {
  display: inline;
  color: inherit;
  font-size: 1em;
  font-weight: 700;
  line-height: inherit;
  white-space: nowrap;
}

.info-list.amenities-list li,
.info-list.amenities-list li.without-quantity {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  column-gap: 12px;
  align-items: start;
}

.info-list.amenities-list li::before {
  content: '';
  grid-column: 1;
  width: 6px;
  height: 11px;
  margin: 1px 0 0 3px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.info-list.amenities-list .feature-quantity,
.info-list.amenities-list li.without-quantity .feature-quantity {
  display: none;
}

.info-list.amenities-list .feature-name,
.info-list.amenities-list li.without-quantity .feature-name {
  grid-column: 2;
}

@media (max-width: 760px) {
  .gallery-arrow {
    width: 34px;
    height: 68px;
  }

  .gallery-arrow::before {
    width: 9px;
    height: 9px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .gallery-track {
    transition-duration: .01ms !important;
  }
}
