@font-face {
  font-family: "Maison Sans";
  src: url("assets/fonts/montserrat-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #0c0b09;
  --ink-soft: #14110d;
  --paper: #eee8dc;
  --paper-soft: #bdb4a5;
  --paper-readable: #d0c8bb;
  --paper-readable: oklch(82% 0.014 78);
  --paper-muted: #b6aea1;
  --paper-muted: oklch(73% 0.014 78);
  --gold: #c8a55a;
  --gold-bright: #efd47e;
  --line: rgba(200, 165, 90, 0.28);
  --line-soft: rgba(238, 232, 220, 0.13);
  --shell: min(1280px, calc(100vw - 64px));
  --radius: 2px;
  --font-display: Georgia, "Times New Roman", serif;
  --font-sans: "Maison Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  position: relative;
  margin: 0;
  min-width: 320px;
  color: var(--paper);
  background:
    radial-gradient(circle at 85% 0%, rgba(115, 77, 24, 0.1), transparent 32rem),
    var(--ink);
  font-family: var(--font-sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

.tracking-depth-marker {
  position: absolute;
  z-index: -1;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.cookie-consent {
  position: fixed;
  z-index: 110;
  left: clamp(14px, 2.2vw, 32px);
  bottom: clamp(14px, 2.2vw, 28px);
  display: grid;
  width: min(540px, calc(100vw - 28px));
  padding: clamp(18px, 2vw, 24px);
  gap: 18px;
  border: 1px solid rgba(200, 165, 90, 0.42);
  border-radius: 18px;
  background: rgba(20, 17, 13, 0.97);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.44);
  color: var(--paper);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.cookie-consent strong {
  display: block;
  margin-bottom: 7px;
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.5vw, 1.4rem);
  font-weight: 400;
}

.cookie-consent p {
  margin: 0;
  color: var(--paper-readable);
  font-size: 0.84rem;
  font-weight: 400;
  line-height: 1.6;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.cookie-consent__actions button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(200, 165, 90, 0.38);
  border-radius: 999px;
  background: transparent;
  color: var(--gold-bright);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  cursor: pointer;
}

.cookie-consent__actions [data-cookie-accept] {
  background: var(--gold-bright);
  color: var(--ink);
}

body.is-lightbox-open {
  overflow: hidden;
}

html.is-whatsapp-open,
body.is-whatsapp-open {
  overflow: hidden;
  overscroll-behavior: none;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

[hidden] {
  display: none !important;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 10px 14px;
  color: var(--ink);
  background: var(--gold-bright);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 60;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(12, 11, 9, 0.9);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand img {
  width: clamp(145px, 13vw, 190px);
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.4vw, 38px);
  color: var(--paper-soft);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-links > a:not(.button) {
  transition: color 180ms ease;
}

.nav-links > a:not(.button):hover,
.nav-links > a:not(.button):focus-visible {
  color: var(--gold-bright);
}

.button,
.button-secondary {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 0 24px;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button {
  color: var(--ink);
  background: var(--gold-bright);
}

.button:hover,
.button:focus-visible {
  background: #ffeaa3;
  border-color: #ffeaa3;
}

.button-secondary {
  color: var(--paper);
  background: transparent;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  color: var(--ink);
  background: var(--gold-bright);
  border-color: var(--gold-bright);
}

.button-compact {
  min-height: 42px;
  padding-inline: 20px;
}

.property-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  padding-block: clamp(42px, 6vw, 78px) clamp(28px, 4vw, 48px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-bright);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  line-height: 1.6;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 400;
}

h1 {
  margin-bottom: 10px;
  font-size: clamp(3rem, 6.4vw, 6rem);
  line-height: 0.9;
  letter-spacing: -0.035em;
}

.property-address {
  margin-bottom: 0;
  color: var(--paper-readable);
  font-size: clamp(0.9rem, 1.2vw, 1.06rem);
  font-weight: 400;
}

.property-address span {
  display: block;
  margin-top: 7px;
  color: var(--gold-bright);
  font-size: 0.68em;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.property-price-top {
  min-width: min(100%, 285px);
  padding: 16px 0 3px 26px;
  border-left: 1px solid var(--line);
  text-align: right;
}

.property-price-top span {
  display: block;
  margin-bottom: 6px;
  color: var(--gold-bright);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.21em;
  text-transform: uppercase;
}

.property-price-top strong {
  display: block;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 3.35rem);
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.summary-top span,
.contact-price span,
.listing-info span,
.footer-grid > div > span {
  display: block;
  margin-bottom: 7px;
  color: var(--gold-bright);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.21em;
  text-transform: uppercase;
}

.property-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 355px);
  align-items: start;
  gap: clamp(28px, 4vw, 58px);
  padding-bottom: clamp(52px, 7vw, 88px);
}

.media-column {
  min-width: 0;
}

.media-stage {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  background: #17130f;
}

.stage-image,
.stage-image picture,
.stage-video {
  width: 100%;
  height: 100%;
}

.stage-image {
  display: block;
  border: 0;
  padding: 0;
  cursor: zoom-in;
  background: #17130f;
}

.stage-image img,
.stage-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stage-video-play {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  display: none;
  min-height: 48px;
  border: 1px solid var(--gold-bright);
  border-radius: 999px;
  padding: 0 24px;
  color: var(--ink);
  background: var(--gold-bright);
  cursor: pointer;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transform: translate(-50%, -50%);
}

.media-stage.is-video:not(.is-playing) .stage-video-play {
  display: block;
}

.stage-video-play:active {
  transform: translate(-50%, calc(-50% + 1px)) scale(0.98);
}

.media-stage.is-contain .stage-image img {
  object-fit: contain;
  background: #17130f;
}

.media-stage.is-plan .stage-image img {
  background: #f8f7f3;
}

.stage-meta {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 38px 22px 18px;
  pointer-events: none;
  background: linear-gradient(transparent, rgba(7, 6, 5, 0.88));
}

.stage-meta p,
.stage-meta span {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.stage-meta span {
  color: var(--gold-bright);
  white-space: nowrap;
}

.media-stage.is-video .stage-meta,
.media-stage.is-video .stage-navigation {
  display: none;
}

.stage-navigation {
  position: absolute;
  z-index: 3;
  right: 20px;
  bottom: 58px;
  display: flex;
  gap: 8px;
}

.stage-navigation button,
.lightbox-footer button,
.lightbox-close {
  border: 1px solid rgba(238, 232, 220, 0.42);
  color: var(--paper);
  background: rgba(12, 11, 9, 0.68);
  cursor: pointer;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stage-navigation button {
  min-height: 34px;
  padding-inline: 13px;
}

.mobile-navigation-arrow {
  display: none;
}

.media-rail-wrap {
  margin-top: 12px;
}

.media-rail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 7px;
  scroll-snap-type: x proximity;
  scrollbar-color: var(--gold) transparent;
  scrollbar-width: thin;
}

.media-thumb {
  position: relative;
  flex: 0 0 clamp(92px, 10vw, 118px);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid transparent;
  padding: 0;
  scroll-snap-align: start;
  cursor: pointer;
  background: #191611;
  opacity: 0.55;
  transition: opacity 150ms ease, border-color 150ms ease;
}

.media-thumb:hover,
.media-thumb:focus-visible,
.media-thumb.is-active {
  border-color: var(--gold-bright);
  opacity: 1;
}

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

.media-thumb-plan img {
  object-fit: contain;
  background: white;
}

.media-thumb-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
}

.media-thumb-video > span {
  position: absolute;
  z-index: 2;
  right: 7px;
  bottom: 7px;
  left: 7px;
  color: white;
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.media-thumb-video .video-mark {
  top: 50%;
  right: auto;
  bottom: auto;
  left: 50%;
  font-size: 1.15rem;
  transform: translate(-50%, -50%);
}

.decorated-note {
  max-width: 75ch;
  margin: 15px 0 0;
  color: var(--paper-readable);
  font-size: clamp(0.82rem, 1vw, 0.9rem);
  font-weight: 400;
  line-height: 1.65;
}

.decorated-note strong {
  color: var(--gold-bright);
  font-weight: 600;
}

.property-summary {
  position: sticky;
  top: 110px;
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--line);
  padding: 26px 0 28px;
}

.summary-top strong {
  display: block;
  margin-bottom: 5px;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.4vw, 3.25rem);
  font-weight: 400;
  line-height: 1;
}

.summary-top small {
  color: var(--paper-muted);
  font-size: 0.78rem;
}

.summary-facts {
  margin: 28px 0;
  border-top: 1px solid var(--line-soft);
}

.summary-facts > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding-block: 13px;
  border-bottom: 1px solid var(--line-soft);
}

.summary-facts dt {
  color: var(--paper-readable);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.summary-facts dd {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 500;
  text-align: right;
}

.summary-primary,
.summary-secondary {
  width: 100%;
}

.summary-secondary {
  margin-top: 10px;
}

.listing-details {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.8fr);
  gap: clamp(48px, 8vw, 128px);
  padding-block: clamp(58px, 8vw, 104px);
  border-top: 1px solid var(--line);
}

.listing-copy h2,
.contact-intro h2 {
  margin-bottom: 20px;
  font-size: clamp(2.35rem, 4.6vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.listing-copy > p:last-child,
.contact-intro > p,
.listing-info p {
  color: var(--paper-readable);
  font-size: clamp(0.95rem, 1.25vw, 1.08rem);
  font-weight: 400;
  line-height: 1.75;
}

.listing-info {
  display: grid;
  align-content: start;
  gap: 28px;
}

.listing-info > div {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.listing-info strong {
  display: block;
  margin-bottom: 5px;
  font-size: 1.05rem;
  font-weight: 500;
}

.listing-info p {
  margin-bottom: 0;
  font-size: 1rem;
}

.contact-section {
  border-top: 1px solid var(--line);
  background: #100e0b;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.75fr);
  align-items: start;
  gap: clamp(54px, 9vw, 150px);
  padding-block: clamp(64px, 9vw, 112px);
}

.contact-intro > p {
  max-width: 590px;
}

.contact-price {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.contact-price strong {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 400;
}

.lead-form {
  border: 1px solid var(--line);
  padding: clamp(24px, 3.4vw, 40px);
  background: #0c0b09;
}

.lead-form h3 {
  margin-bottom: 26px;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
}

.lead-form > label:not(.consent) {
  display: block;
  margin: 17px 0 8px;
  color: var(--paper-readable);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lead-form input[type="text"],
.lead-form input[type="tel"],
.lead-form input[type="email"] {
  width: 100%;
  min-height: 49px;
  border: 0;
  border-bottom: 1px solid rgba(238, 232, 220, 0.28);
  border-radius: 0;
  padding: 0 2px;
  color: var(--paper);
  outline: none;
  background: transparent;
  font-size: 1rem;
}

.lead-form input:focus {
  border-color: var(--gold-bright);
}

.lead-form input[aria-invalid="true"] {
  border-color: #d88e7c;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 25px 0 0;
  color: var(--paper-readable);
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.6;
}

.consent input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: var(--gold);
}

.consent a {
  color: var(--paper-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-error {
  min-height: 22px;
  margin: 10px 0 4px;
  color: #e5a391;
  font-size: 0.76rem;
}

.form-primary {
  width: 100%;
  border: 1px solid var(--gold-bright);
}

.form-primary:disabled {
  cursor: wait;
  opacity: 0.62;
}

.form-success {
  padding-top: 22px;
  color: var(--paper-soft);
  line-height: 1.6;
}

.lead-form.is-success > :not(.form-success) {
  display: none;
}

.form-success strong {
  display: block;
  margin-bottom: 8px;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 400;
}

.form-success .button {
  margin-top: 8px;
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 52px 28px;
  color: var(--paper-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 48px;
}

.footer-brand img {
  width: 170px;
  height: auto;
  margin-bottom: 18px;
}

.site-footer p,
.site-footer a {
  display: block;
  margin: 0 0 8px;
  font-size: 0.82rem;
  line-height: 1.7;
}

.site-footer a:hover,
.site-footer a:focus-visible,
.footer-whatsapp:hover,
.footer-whatsapp:focus-visible {
  color: var(--gold-bright);
}

.footer-whatsapp {
  display: block;
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 0.78rem;
  font-weight: inherit;
  line-height: 1.7;
  text-align: left;
  cursor: pointer;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}

.footer-bottom p {
  margin: 0;
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer .atlas-credit {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  margin: 0 64px 0 0;
  padding: 5px 12px 5px 6px;
  border: 1px solid rgba(212, 180, 106, 0.28);
  border-radius: 999px;
  background: rgba(24, 17, 8, 0.46);
  transition: border-color 220ms ease, background 220ms ease, transform 220ms ease;
}

.site-footer .atlas-credit:hover,
.site-footer .atlas-credit:focus-visible {
  border-color: rgba(240, 213, 138, 0.72);
  background: rgba(31, 23, 9, 0.9);
  transform: translateY(-1px);
}

.atlas-credit-text {
  margin: 0;
  color: rgba(238, 232, 220, 0.68);
  font-size: 0.61rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
}

.atlas-credit-brand {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.atlas-credit-mark {
  display: grid;
  width: 35px;
  height: 35px;
  flex: 0 0 35px;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(240, 213, 138, 0.42);
  border-radius: 50%;
  background: var(--ink);
}

.atlas-credit-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.atlas-credit-word {
  display: grid;
  justify-items: center;
  gap: 2px;
  line-height: 1;
}

.atlas-credit-word small {
  padding-left: 0.28em;
  color: var(--gold);
  font-size: 0.38rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.atlas-credit-word strong {
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 0.9;
}

.whatsapp-widget,
.whatsapp-widget * {
  box-sizing: border-box;
}

.whatsapp-widget {
  position: fixed;
  z-index: 100;
  right: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  color: var(--paper);
}

.whatsapp-widget__trigger {
  position: relative;
  z-index: 2;
  display: grid;
  width: 46px;
  height: 46px;
  padding: 11px;
  place-items: center;
  border: 1px solid rgba(239, 212, 126, 0.76);
  border-radius: 50%;
  color: var(--ink);
  background: var(--gold-bright);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.32);
  cursor: pointer;
  transition: opacity 180ms ease, transform 220ms cubic-bezier(0.16, 1, 0.3, 1), background 180ms ease;
}

body.is-media-in-view .whatsapp-widget:not(.is-open) .whatsapp-widget__trigger {
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
}

.whatsapp-widget__trigger:hover,
.whatsapp-widget__trigger:focus-visible {
  background: var(--paper);
  transform: translateY(-3px);
}

.whatsapp-widget__trigger::before {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(239, 212, 126, 0.48);
  border-radius: 50%;
  animation: whatsapp-pulse 2.2s ease-out infinite;
  pointer-events: none;
}

@keyframes whatsapp-pulse {
  0% { opacity: 0.72; transform: scale(0.92); }
  72%, 100% { opacity: 0; transform: scale(1.2); }
}

.whatsapp-widget__trigger svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}

.whatsapp-widget__panel {
  position: absolute;
  right: 0;
  bottom: 62px;
  display: flex;
  flex-direction: column;
  width: min(352px, calc(100vw - 32px));
  max-height: min(672px, calc(100dvh - 110px));
  overflow: hidden;
  border: 1px solid rgba(200, 165, 90, 0.36);
  border-radius: 18px;
  background: var(--ink-soft);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.52);
  animation: whatsapp-panel-in 280ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes whatsapp-panel-in {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.whatsapp-widget__header {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--ink);
}

.whatsapp-widget__header div {
  display: grid;
  gap: 3px;
}

.whatsapp-widget__header strong {
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 400;
}

.whatsapp-widget__header span {
  color: rgba(238, 232, 220, 0.56);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.whatsapp-widget__header button {
  width: 34px;
  height: 34px;
  padding: 0 0 2px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--paper);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.whatsapp-widget__body {
  flex: 1;
  min-height: 0;
  max-height: calc(min(672px, 100dvh - 110px) - 66px);
  padding: 14px 16px 16px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.whatsapp-widget__price {
  margin-bottom: 14px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(200, 165, 90, 0.07);
  color: rgba(238, 232, 220, 0.7);
  font-size: 0.8rem;
  line-height: 1.45;
}

.whatsapp-widget__price strong {
  display: block;
  color: var(--gold-bright);
  font-size: 0.92rem;
}

.whatsapp-widget__progress {
  display: flex;
  margin-bottom: 14px;
  align-items: center;
  gap: 12px;
  color: rgba(238, 232, 220, 0.5);
  font-size: 0.6rem;
  font-weight: 600;
}

.whatsapp-widget__progress i {
  display: block;
  flex: 1;
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(200, 165, 90, 0.16);
}

.whatsapp-widget__progress b {
  display: block;
  width: 50%;
  height: 100%;
  background: var(--gold-bright);
  transition: width 240ms ease;
}

.whatsapp-widget__step {
  opacity: 0;
  transform: translateY(4px);
}

.whatsapp-widget__step.is-active {
  opacity: 1;
  transform: none;
  transition: opacity 180ms ease, transform 260ms ease;
}

.whatsapp-widget__step > p {
  margin: 0 0 14px;
  color: rgba(238, 232, 220, 0.64);
  font-size: 0.8rem;
  line-height: 1.5;
}

.whatsapp-widget label:not(.whatsapp-widget__choice) {
  display: grid;
  margin-bottom: 11px;
  gap: 6px;
  color: rgba(238, 232, 220, 0.8);
  font-size: 0.72rem;
  font-weight: 600;
}

.whatsapp-widget input[type="text"],
.whatsapp-widget input[type="tel"],
.whatsapp-widget input[type="email"] {
  width: 100%;
  min-height: 43px;
  padding: 10px 12px;
  border: 1px solid rgba(200, 165, 90, 0.22);
  border-radius: 10px;
  outline: none;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.93rem;
  font-weight: 400;
}

.whatsapp-widget input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 165, 90, 0.12);
}

.whatsapp-widget input[aria-invalid="true"] {
  border-color: #c87468;
}

.whatsapp-widget__honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.whatsapp-widget fieldset {
  min-width: 0;
  margin: 0 0 14px;
  padding: 0;
  border: 0;
}

.whatsapp-widget legend {
  margin-bottom: 8px;
  color: rgba(238, 232, 220, 0.84);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.4;
}

.whatsapp-widget__choice {
  position: relative;
  display: block;
  margin-bottom: 6px;
  cursor: pointer;
}

.whatsapp-widget__choice input {
  position: absolute;
  opacity: 0;
}

.whatsapp-widget__choice span {
  min-height: 38px;
  display: flex;
  align-items: center;
  padding: 9px 11px;
  border: 1px solid rgba(200, 165, 90, 0.18);
  border-radius: 8px;
  background: var(--ink);
  color: rgba(238, 232, 220, 0.74);
  font-size: 0.72rem;
  line-height: 1.35;
}

.whatsapp-widget__choice input:checked + span {
  border-color: var(--gold);
  background: rgba(200, 165, 90, 0.12);
  color: var(--gold-bright);
}

.whatsapp-widget__choice input:focus-visible + span {
  box-shadow: 0 0 0 3px rgba(200, 165, 90, 0.12);
}

.whatsapp-widget__error {
  min-height: 18px;
  margin: 2px 0 8px;
  color: #dc9187;
  font-size: 0.72rem;
  font-weight: 600;
}

.whatsapp-widget__actions {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 8px;
}

.whatsapp-widget__primary,
.whatsapp-widget__back {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.whatsapp-widget__primary {
  width: 100%;
  border: 1px solid var(--gold-bright);
  background: var(--gold-bright);
  color: var(--ink);
}

.whatsapp-widget__primary:disabled {
  cursor: wait;
  opacity: 0.62;
}

.whatsapp-widget__back {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--paper);
}

.whatsapp-widget__success {
  padding: 10px 0 4px;
}

.whatsapp-widget__success strong {
  display: block;
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
}

.whatsapp-widget__success p {
  margin: 8px 0 16px;
  color: rgba(238, 232, 220, 0.64);
  font-size: 0.8rem;
  line-height: 1.5;
}

.mobile-contact-bar {
  display: none;
}

.lightbox {
  position: fixed;
  z-index: 120;
  inset: 0;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 3, 2, 0.94);
}

.lightbox-panel {
  position: absolute;
  inset: 4vh 4vw;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}

.lightbox-panel picture,
.lightbox-panel img {
  width: 100%;
  height: 100%;
}

.lightbox-panel picture {
  overflow: hidden;
  touch-action: none;
}

.lightbox-panel img {
  object-fit: contain;
  transform: translate3d(0, 0, 0) scale(1);
  transform-origin: center;
  will-change: transform;
  user-select: none;
  -webkit-user-drag: none;
}

.lightbox-close {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  min-height: 38px;
  padding-inline: 14px;
}

.lightbox-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
}

.lightbox-footer p {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lightbox-footer > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lightbox-footer button {
  min-height: 36px;
  padding-inline: 12px;
}

.lightbox-footer span {
  color: var(--gold-bright);
  font-size: 0.7rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 480ms ease, transform 480ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 960px) {
  :root {
    --shell: min(100% - 38px, 760px);
  }

  .property-heading {
    align-items: flex-start;
  }

  .property-overview {
    grid-template-columns: 1fr;
  }

  .property-summary {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 32px;
  }

  .summary-facts {
    grid-column: 1 / -1;
    margin: 0;
  }

  .summary-primary,
  .summary-secondary {
    margin-top: 18px;
  }

  .listing-details,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .listing-copy {
    max-width: 680px;
  }

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

  .contact-grid {
    gap: 40px;
  }
}

@media (max-width: 700px) {
  :root {
    --shell: calc(100% - 30px);
  }

  body {
    padding-bottom: calc(67px + env(safe-area-inset-bottom));
  }

  .cookie-consent {
    right: 14px;
    bottom: calc(82px + env(safe-area-inset-bottom));
    width: auto;
    padding: 17px;
  }

  .cookie-consent__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .whatsapp-widget__trigger {
    transition: opacity 180ms ease, transform 180ms ease;
  }

  body.is-media-in-view .whatsapp-widget:not(.is-open) .whatsapp-widget__trigger {
    opacity: 0;
    pointer-events: none;
    transform: translateY(14px);
  }

  .nav {
    min-height: 70px;
  }

  .brand img {
    width: 138px;
  }

  .nav-links > a:not(.button) {
    display: none;
  }

  .button-compact {
    min-height: 38px;
    padding-inline: 15px;
    font-size: 0.62rem;
  }

  .property-heading {
    display: block;
    padding-block: 34px 25px;
  }

  .property-price-top {
    width: fit-content;
    min-width: 0;
    margin-top: 24px;
    padding: 15px 24px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
    text-align: left;
  }

  .property-price-top strong {
    font-size: clamp(2.25rem, 11vw, 3rem);
  }

  h1 {
    font-size: clamp(3.2rem, 17vw, 5rem);
  }

  .property-overview {
    gap: 26px;
    padding-bottom: 50px;
  }

  .media-stage,
  .media-stage.is-video,
  .media-stage.is-plan {
    display: grid;
    grid-template-rows: auto auto;
    aspect-ratio: auto;
  }

  .media-stage.is-video {
    grid-template-rows: auto;
  }

  .stage-image {
    height: auto;
    aspect-ratio: 4 / 5;
    touch-action: pan-y pinch-zoom;
  }

  .stage-image picture {
    display: block;
  }

  .stage-video {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .stage-meta {
    position: static;
    min-height: 48px;
    padding: 11px 14px 12px;
    border-top: 1px solid var(--line-soft);
    background: var(--ink-soft);
  }

  .stage-meta p,
  .stage-meta span {
    font-size: 0.61rem;
  }

  .stage-meta p {
    display: -webkit-box;
    overflow: hidden;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .stage-navigation {
    top: 50%;
    right: 10px;
    bottom: auto;
    left: 10px;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    transform: translateY(-50%);
  }

  .stage-navigation button {
    display: grid;
    width: 40px;
    height: 40px;
    min-height: 40px;
    padding: 0;
    place-items: center;
    border-color: rgba(238, 232, 220, 0.56);
    border-radius: 50%;
    background: rgba(12, 11, 9, 0.7);
    pointer-events: auto;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .desktop-navigation-label {
    display: none;
  }

  .mobile-navigation-arrow {
    display: block;
    font-family: Arial, sans-serif;
    font-size: 1.55rem;
    font-weight: 300;
    line-height: 1;
  }

  .media-rail-wrap {
    margin-top: 8px;
  }

  .media-rail {
    gap: 6px;
    padding-bottom: 5px;
  }

  .media-thumb {
    flex-basis: 66px;
    aspect-ratio: 4 / 5;
  }

  .decorated-note {
    margin-top: 14px;
    font-size: 0.82rem;
    line-height: 1.65;
  }

  .property-summary {
    display: block;
    padding-bottom: 0;
    border-bottom: 0;
  }

  .summary-facts {
    margin: 24px 0 0;
  }

  .summary-primary,
  .summary-secondary {
    margin-top: 11px;
  }

  .summary-primary {
    display: none;
  }

  .listing-details {
    gap: 34px;
    padding-block: 54px;
  }

  .listing-copy h2,
  .contact-intro h2 {
    font-size: clamp(2.45rem, 12vw, 3.5rem);
  }

  .listing-info {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-grid {
    padding-block: 54px;
  }

  .lead-form {
    padding: 24px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    text-align: center;
  }

  .footer-bottom p + p {
    margin-top: 8px;
  }

  .site-footer .atlas-credit {
    max-width: 100%;
    margin-right: 0;
  }

  .whatsapp-widget {
    right: 14px;
    bottom: calc(73px + env(safe-area-inset-bottom));
  }

  .whatsapp-widget__trigger {
    width: 44px;
    height: 44px;
    padding: 10px;
  }

  .whatsapp-widget.is-open .whatsapp-widget__trigger {
    visibility: hidden;
    pointer-events: none;
  }

  .whatsapp-widget__panel {
    position: fixed;
    top: auto;
    right: 14px;
    bottom: max(10px, env(safe-area-inset-bottom));
    left: 14px;
    width: auto;
    max-height: calc(100dvh - 20px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  }

  .whatsapp-widget__body {
    flex: 0 1 auto;
    max-height: none;
    padding: 12px 16px 14px;
    overflow-y: hidden;
  }

  .whatsapp-widget__price {
    margin-bottom: 10px;
    padding: 9px 12px;
  }

  .whatsapp-widget__progress {
    margin-bottom: 10px;
  }

  .whatsapp-widget__step > p {
    margin-bottom: 10px;
  }

  .whatsapp-widget label:not(.whatsapp-widget__choice) {
    margin-bottom: 8px;
    gap: 4px;
  }

  .whatsapp-widget input[type="text"],
  .whatsapp-widget input[type="tel"],
  .whatsapp-widget input[type="email"] {
    min-height: 40px;
    padding: 8px 11px;
  }

  .whatsapp-widget__error {
    min-height: 14px;
    margin-bottom: 6px;
  }

  .whatsapp-widget.is-step-2 .whatsapp-widget__price {
    display: none;
  }

  .whatsapp-widget.is-step-2 .whatsapp-widget__progress {
    margin-bottom: 9px;
  }

  .whatsapp-widget.is-step-2 fieldset {
    margin-bottom: 8px;
  }

  .whatsapp-widget.is-step-2 legend {
    margin-bottom: 5px;
  }

  .whatsapp-widget.is-step-2 .whatsapp-widget__choice {
    margin-bottom: 4px;
  }

  .whatsapp-widget.is-step-2 .whatsapp-widget__choice span {
    min-height: 34px;
    padding-block: 6px;
  }

  .whatsapp-widget.is-step-2 .whatsapp-widget__error {
    min-height: 14px;
    margin-bottom: 5px;
  }

  .whatsapp-widget.is-step-2 .whatsapp-widget__primary,
  .whatsapp-widget.is-step-2 .whatsapp-widget__back {
    min-height: 40px;
  }

  .mobile-contact-bar {
    position: fixed;
    z-index: 80;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(12, 11, 9, 0.96);
  }

  .mobile-contact-bar a {
    min-height: 49px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gold-bright);
    border-radius: 999px;
    color: var(--ink);
    background: var(--gold-bright);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  .lightbox-panel {
    inset: max(14px, env(safe-area-inset-top)) 12px calc(78px + env(safe-area-inset-bottom));
  }

  .lightbox-footer {
    align-items: flex-start;
    gap: 14px;
  }

  .lightbox-footer p {
    max-width: min(78%, 290px);
    line-height: 1.5;
  }

  .lightbox-footer > div {
    flex: 0 0 auto;
  }

  .lightbox-footer button {
    display: none;
  }
}

@media (max-width: 700px) and (max-height: 520px) {
  .whatsapp-widget__body {
    overflow-y: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
