:root {
  color-scheme: dark;
  --black: #060605;
  --ink: #0b0a08;
  --surface: #11100d;
  --surface-raised: #191712;
  --gold: #b8983c;
  --gold-bright: #dec063;
  --gold-deep: #7d6421;
  --cream: #f4eee2;
  --muted: #b8afa1;
  --line: rgba(222, 192, 99, 0.23);
  --white-line: rgba(255, 255, 255, 0.12);
  --header-height: 6.25rem;
  --max-width: 80rem;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
  margin: 0;
  min-width: 20rem;
  overflow-x: hidden;
  background: var(--black);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.lightbox-open {
  overflow: hidden;
}

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

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

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

button {
  color: inherit;
  font: inherit;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  transform: translateY(-200%);
  background: var(--gold-bright);
  color: var(--black);
  padding: 0.7rem 1rem;
  font-weight: 800;
}

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

:focus-visible {
  outline: 0.18rem solid var(--gold-bright);
  outline-offset: 0.25rem;
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header-height);
  border-bottom: 1px solid var(--white-line);
  background: rgba(6, 6, 5, 0.88);
  backdrop-filter: blur(18px);
  transition: height 200ms ease, background-color 200ms ease;
}

.site-header.is-scrolled {
  background: rgba(6, 6, 5, 0.97);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.35);
}

.header-inner {
  width: min(calc(100% - 3rem), var(--max-width));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 3rem);
}

.brand {
  width: 6.8rem;
  height: 5.15rem;
  padding: 0.22rem;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: #f5f6f8;
  border: 1px solid rgba(184, 152, 60, 0.7);
  overflow: hidden;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
}

.main-nav a {
  position: relative;
  color: #d8d1c5;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.025em;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -0.55rem;
  height: 1px;
  background: var(--gold-bright);
  transition: right 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  right: 0;
}

.header-cta,
.button {
  min-height: 3.15rem;
  padding: 0.75rem 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.02em;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.header-cta {
  background: var(--gold);
  color: var(--black);
}

.header-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
}

.hero {
  min-height: 100svh;
  padding: calc(var(--header-height) + clamp(3rem, 7vw, 6.5rem)) max(1.5rem, calc((100% - var(--max-width)) / 2));
  padding-bottom: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(28rem, 1.15fr);
  align-content: center;
  column-gap: clamp(3rem, 6vw, 6.5rem);
  background:
    radial-gradient(circle at 18% 25%, rgba(184, 152, 60, 0.13), transparent 27rem),
    linear-gradient(120deg, #080807 0%, #050504 65%, #0e0c08 100%);
  overflow: hidden;
}

.hero-copy {
  align-self: center;
  padding-bottom: 4rem;
}

.eyebrow {
  margin: 0 0 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--gold-bright);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  line-height: 1.35;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 2.2rem;
  height: 1px;
  background: currentColor;
}

h1,
h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 0.97;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

h1 {
  max-width: 9.2ch;
  font-size: clamp(3.6rem, 7vw, 7rem);
}

h2 {
  font-size: clamp(2.65rem, 5.3vw, 5rem);
}

h1 em,
h2 em {
  color: var(--gold-bright);
  font-weight: 400;
}

.hero-intro {
  max-width: 35rem;
  margin: 1.7rem 0 1.8rem;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.4vw, 1.22rem);
}

.hero-price {
  margin: 0 0 2rem;
  padding: 1rem 0 1rem 1.2rem;
  display: grid;
  border-left: 2px solid var(--gold);
}

.hero-price span,
.hero-price small {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-price strong {
  color: var(--cream);
  font-family: var(--serif);
  font-size: clamp(2rem, 3.8vw, 3.5rem);
  font-weight: 400;
  line-height: 1.1;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

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

.button-gold:hover {
  background: #ecd17a;
}

.button-ghost {
  border-color: var(--white-line);
  color: var(--cream);
}

.button-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
}

.button-light {
  background: var(--cream);
  color: var(--black);
}

.hero-visual {
  position: relative;
  align-self: center;
  padding-bottom: 4rem;
}

.hero-image-wrap {
  position: relative;
  isolation: isolate;
  aspect-ratio: 1.24 / 1;
  border: 1px solid rgba(222, 192, 99, 0.45);
  overflow: hidden;
}

.hero-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  box-shadow: inset 0 0 6rem rgba(0, 0, 0, 0.22);
  pointer-events: none;
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.media-label {
  position: absolute;
  z-index: 3;
  top: 1rem;
  left: 1rem;
  padding: 0.45rem 0.65rem;
  background: rgba(6, 6, 5, 0.82);
  color: var(--cream);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.media-label-illustrative {
  background: rgba(184, 152, 60, 0.92);
  color: var(--black);
  border-color: transparent;
}

.hero-seal {
  position: absolute;
  z-index: 4;
  right: -1.7rem;
  bottom: 1.5rem;
  width: 9rem;
  aspect-ratio: 1;
  display: grid;
  align-content: center;
  justify-items: center;
  background: var(--gold-bright);
  color: var(--black);
  border-radius: 50%;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.3);
  transform: rotate(-7deg);
}

.hero-seal span {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-seal strong {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 400;
}

.hero-specs {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.hero-specs article {
  min-height: 9.5rem;
  padding: 1.6rem;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: repeat(3, auto);
  align-content: center;
  column-gap: 0.9rem;
  border-right: 1px solid var(--line);
  background: rgba(17, 16, 13, 0.8);
}

.hero-specs .icon {
  grid-row: 1 / 4;
  width: 1.7rem;
  height: 1.7rem;
  margin-top: 0.2rem;
  color: var(--gold-bright);
}

.hero-specs span,
.hero-specs small {
  color: var(--muted);
  font-size: 0.76rem;
}

.hero-specs strong {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
}

.section {
  width: min(calc(100% - 3rem), var(--max-width));
  margin: 0 auto;
  padding: clamp(5.5rem, 10vw, 9.5rem) 0;
}

.section-heading {
  margin-bottom: clamp(3rem, 6vw, 5.5rem);
}

.section-heading h2 {
  max-width: 13ch;
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 3rem;
}

.section-heading-row > p {
  max-width: 30rem;
  margin: 0 0 0.4rem;
  color: var(--muted);
}

.property-story {
  position: relative;
}

.property-story::before {
  content: "ACACIA";
  position: absolute;
  z-index: -1;
  top: 4rem;
  right: 0;
  color: rgba(184, 152, 60, 0.045);
  font-family: var(--serif);
  font-size: clamp(7rem, 18vw, 16rem);
  line-height: 1;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(25rem, 1.22fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

.lead {
  margin: 0 0 2rem;
  color: var(--cream);
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.35;
}

.feature-list,
.tour-points {
  list-style: none;
  margin: 0;
  padding: 0;
}

.feature-list li {
  min-height: 3.2rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-bottom: 1px solid var(--white-line);
  color: #d8d1c5;
}

.feature-list .icon,
.tour-points .icon {
  color: var(--gold-bright);
}

.story-note,
.disclaimer,
.legal-note,
.location-note {
  color: var(--muted);
  font-size: 0.82rem;
}

.story-note {
  margin: 1.4rem 0 0;
}

.image-card,
.gallery-trigger {
  position: relative;
  margin: 0;
  padding: 0;
  display: block;
  border: 0;
  background: var(--surface);
  text-align: left;
  cursor: zoom-in;
  overflow: hidden;
}

.image-card-large {
  aspect-ratio: 1.17 / 1;
  border: 1px solid var(--line);
}

.image-card img,
.gallery-trigger img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 300ms ease;
}

.gallery-trigger:hover img {
  transform: scale(1.035);
  filter: brightness(1.04);
}

.image-card-caption,
.photo-caption {
  position: absolute;
  z-index: 2;
  inset: auto 0 0;
  padding: 3.8rem 1.35rem 1.25rem;
  background: linear-gradient(transparent, rgba(5, 5, 4, 0.9));
  color: var(--cream);
}

.photo-caption {
  display: grid;
}

.photo-caption strong {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
}

.photo-caption small {
  color: #d4ccbf;
}

.real-gallery {
  width: 100%;
  max-width: none;
  padding-left: max(1.5rem, calc((100% - var(--max-width)) / 2));
  padding-right: max(1.5rem, calc((100% - var(--max-width)) / 2));
  background: var(--surface);
}

.photo-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  grid-template-rows: repeat(2, 18rem);
  gap: 0.9rem;
}

.photo-main {
  grid-row: 1 / 3;
}

.interior-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 17rem;
  gap: 0.9rem;
}

.interior-grid .gallery-trigger {
  grid-column: span 4;
}

.interior-grid .interior-wide {
  grid-column: span 8;
}

.interior-grid .gallery-trigger:nth-child(2),
.interior-grid .gallery-trigger:nth-child(5) {
  grid-column: span 4;
}

.disclaimer {
  margin: 1rem 0 0;
  text-align: right;
}

.financing {
  width: 100%;
  max-width: none;
  padding-left: max(1.5rem, calc((100% - var(--max-width)) / 2));
  padding-right: max(1.5rem, calc((100% - var(--max-width)) / 2));
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  column-gap: clamp(3rem, 7vw, 7rem);
  row-gap: 1.25rem;
  background:
    linear-gradient(135deg, rgba(222, 192, 99, 0.08), transparent 45%),
    #b18f34;
  color: var(--black);
}

.financing .eyebrow,
.financing h2 em {
  color: #33280b;
}

.financing h2 {
  max-width: 10ch;
}

.financing-intro > p:not(.eyebrow) {
  max-width: 31rem;
  margin: 1.7rem 0 2rem;
  color: #29220f;
}

.finance-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-content: start;
  background: var(--ink);
  color: var(--cream);
  box-shadow: 0 2.5rem 6rem rgba(36, 27, 7, 0.28);
}

.finance-steps article {
  min-height: 17rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
}

.finance-steps article:last-of-type {
  border-right: 0;
}

.step-number {
  margin-bottom: auto;
  color: var(--gold-bright);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.finance-steps article > p {
  margin: 0 0 0.3rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.finance-steps article > strong {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.7vw, 2.5rem);
  font-weight: 400;
  line-height: 1;
}

.finance-steps article > strong small {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.76rem;
}

.finance-steps article > small {
  margin-top: 0.5rem;
  color: var(--muted);
}

.featured-step {
  background: rgba(222, 192, 99, 0.08);
}

.pill {
  width: fit-content;
  margin-top: 0.8rem;
  padding: 0.3rem 0.55rem;
  background: var(--gold-bright);
  color: var(--black);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.finance-after {
  grid-column: 1 / -1;
  padding: 1.3rem 1.5rem;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1.5rem;
  border-top: 1px solid var(--line);
}

.finance-after p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.legal-note {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(6, 6, 5, 0.68);
}

.tour {
  display: grid;
  grid-template-columns: minmax(19rem, 0.75fr) minmax(0, 1.25fr);
  align-items: center;
  gap: clamp(4rem, 10vw, 10rem);
}

.tour-media {
  position: relative;
  display: grid;
  justify-items: center;
}

.phone-frame {
  width: min(100%, 25rem);
  padding: 0.65rem;
  background: #191919;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 2rem;
  box-shadow: 0 3rem 8rem rgba(0, 0, 0, 0.5);
}

.phone-frame video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 1.45rem;
  background: #000;
}

.video-caption {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tour-copy h2 {
  max-width: 10ch;
}

.tour-copy > p:not(.eyebrow) {
  max-width: 36rem;
  margin: 1.8rem 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.tour-points {
  margin-bottom: 2rem;
}

.tour-points li {
  margin: 0.65rem 0;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: #ddd5c8;
}

.location {
  width: 100%;
  max-width: none;
  padding-left: max(1.5rem, calc((100% - var(--max-width)) / 2));
  padding-right: max(1.5rem, calc((100% - var(--max-width)) / 2));
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
  background: var(--surface);
}

.location-copy h2 {
  max-width: 11ch;
}

.location-copy > p:not(.eyebrow, .location-note) {
  max-width: 34rem;
  margin: 1.6rem 0 2rem;
  color: var(--muted);
}

.location-list {
  border-top: 1px solid var(--line);
}

.location-list article {
  min-height: 5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
}

.location-list .icon {
  color: var(--gold-bright);
}

.location-list article > div {
  display: grid;
}

.location-list span {
  color: var(--muted);
  font-size: 0.84rem;
}

.location-note {
  margin: 1rem 0 0;
}

.location-image {
  position: relative;
  aspect-ratio: 1.15 / 1;
  border: 1px solid var(--line);
  overflow: hidden;
}

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

.location-badge {
  position: absolute;
  left: 1.2rem;
  bottom: 1.2rem;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: rgba(6, 6, 5, 0.9);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.location-badge .icon {
  color: var(--gold-bright);
}

.location-badge span {
  display: grid;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.location-badge strong {
  color: var(--cream);
  font-size: 0.88rem;
}

.final-cta {
  padding: clamp(4rem, 8vw, 7rem) max(1.5rem, calc((100% - var(--max-width)) / 2));
  background:
    radial-gradient(circle at 85% 50%, rgba(222, 192, 99, 0.12), transparent 24rem),
    var(--black);
}

.final-cta-inner {
  padding: clamp(2rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: 10rem 1fr auto;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  border: 1px solid var(--line);
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.035), transparent);
}

.final-cta-inner > img {
  width: 10rem;
  aspect-ratio: 1;
  object-fit: contain;
  background: #f5f6f8;
  border: 1px solid var(--gold);
}

.final-cta h2 {
  max-width: 11ch;
  font-size: clamp(2.5rem, 4vw, 4.1rem);
}

.final-cta-inner > div > p:not(.eyebrow) {
  max-width: 38rem;
  margin: 1rem 0 0;
  color: var(--muted);
}

.final-actions {
  display: grid;
  gap: 0.85rem;
}

.phone-link {
  min-height: 2.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  color: var(--cream);
  font-weight: 700;
}

.site-footer {
  width: min(calc(100% - 3rem), var(--max-width));
  margin: 0 auto;
  padding: 3rem 0 2rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2.5rem;
  border-top: 1px solid var(--white-line);
}

.site-footer > div {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-footer img {
  width: 5rem;
  aspect-ratio: 1;
  object-fit: contain;
  background: #f5f6f8;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: #d7d0c4;
  font-size: 0.85rem;
}

.site-footer nav a:hover {
  color: var(--gold-bright);
}

.site-footer small {
  grid-column: 1 / -1;
  color: #756f65;
  font-size: 0.75rem;
}

.whatsapp-float {
  position: fixed;
  z-index: 80;
  right: 1.1rem;
  bottom: 1.1rem;
  min-height: 3.3rem;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--gold-bright);
  color: var(--black);
  border: 1px solid rgba(0, 0, 0, 0.28);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.35);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  transition: transform 180ms ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
}

.lightbox {
  width: min(92vw, 82rem);
  max-width: none;
  height: min(90vh, 52rem);
  max-height: none;
  margin: auto;
  padding: 0;
  border: 1px solid var(--line);
  background: #050504;
  color: var(--cream);
  overflow: visible;
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(7px);
}

.lightbox figure {
  width: 100%;
  height: 100%;
  margin: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}

.lightbox figure img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #050504;
}

.lightbox figcaption {
  min-height: 4.5rem;
  padding: 0.85rem 1rem;
  display: grid;
  align-content: center;
  background: var(--surface);
}

.lightbox figcaption span {
  color: var(--gold-bright);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.lightbox figcaption strong {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  z-index: 3;
  width: 3rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: rgba(5, 5, 4, 0.9);
  color: var(--cream);
  cursor: pointer;
}

.lightbox-close {
  top: 0.75rem;
  right: 0.75rem;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 0.75rem;
}

.lightbox-prev .icon {
  transform: rotate(180deg);
}

.lightbox-next {
  right: 0.75rem;
}

.js .reveal {
  opacity: 0;
  transform: translateY(1.4rem);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.js .reveal[data-delay="1"] {
  transition-delay: 120ms;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 70rem) {
  :root {
    --header-height: 5.4rem;
  }

  .header-inner {
    width: min(calc(100% - 2rem), var(--max-width));
  }

  .brand {
    width: 5.6rem;
    height: 4.4rem;
  }

  .main-nav {
    gap: 1.1rem;
  }

  .main-nav a {
    font-size: 0.8rem;
  }

  .header-cta {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(24rem, 1.1fr);
  }

  .finance-steps {
    grid-template-columns: 1fr;
  }

  .finance-steps article {
    min-height: 10rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .step-number {
    margin-bottom: 1.5rem;
  }

  .finance-after {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  .final-cta-inner {
    grid-template-columns: 8rem 1fr;
  }

  .final-cta-inner > img {
    width: 8rem;
  }

  .final-actions {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 54rem) {
  .menu-toggle {
    margin-left: auto;
    padding: 0.55rem 0.7rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid var(--white-line);
    background: transparent;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
  }

  .main-nav {
    position: fixed;
    inset: var(--header-height) 0 auto;
    padding: 1.3rem 1.5rem 1.8rem;
    display: grid;
    gap: 0;
    background: rgba(6, 6, 5, 0.99);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    visibility: hidden;
    opacity: 0;
    transition: transform 220ms ease, opacity 220ms ease, visibility 220ms;
  }

  .main-nav.is-open {
    transform: translateY(0);
    visibility: visible;
    opacity: 1;
  }

  .main-nav a {
    min-height: 3.2rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--white-line);
    font-size: 1rem;
  }

  .hero {
    min-height: auto;
    padding: calc(var(--header-height) + 3.5rem) 1.5rem 0;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-bottom: 3rem;
  }

  .hero-visual {
    padding: 0 0 4rem;
  }

  .hero-image-wrap {
    aspect-ratio: 1.25 / 1;
  }

  .hero-seal {
    right: 1rem;
    bottom: 1.8rem;
    width: 7.5rem;
  }

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

  .story-grid,
  .tour,
  .location,
  .financing {
    grid-template-columns: 1fr;
  }

  .section-heading-row {
    display: grid;
    gap: 1.2rem;
  }

  .story-grid {
    gap: 3rem;
  }

  .photo-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 25rem 16rem;
  }

  .photo-main {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .interior-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 16rem;
  }

  .interior-grid .gallery-trigger,
  .interior-grid .interior-wide,
  .interior-grid .gallery-trigger:nth-child(2),
  .interior-grid .gallery-trigger:nth-child(5) {
    grid-column: span 1;
  }

  .interior-grid .interior-wide {
    grid-column: 1 / -1;
  }

  .finance-steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .finance-steps article {
    min-height: 15rem;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .tour-media {
    order: 2;
  }

  .tour-copy {
    order: 1;
  }

  .location-image {
    aspect-ratio: 1.3 / 1;
  }

  .final-cta-inner {
    grid-template-columns: 7rem 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }

  .site-footer small {
    grid-column: auto;
  }
}

@media (max-width: 40rem) {
  :root {
    --header-height: 4.8rem;
  }

  .header-inner {
    width: calc(100% - 1.5rem);
  }

  .brand {
    width: 4.65rem;
    height: 3.85rem;
  }

  .menu-toggle span {
    display: none;
  }

  h1 {
    font-size: clamp(3.2rem, 16vw, 4.8rem);
  }

  h2 {
    font-size: clamp(2.5rem, 13vw, 3.6rem);
  }

  .hero {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-intro {
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-image-wrap {
    aspect-ratio: 1 / 1;
  }

  .hero-image-wrap img {
    object-position: 58% center;
  }

  .hero-seal {
    width: 6.8rem;
  }

  .hero-seal strong {
    font-size: 1.45rem;
  }

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

  .hero-specs article {
    min-height: 7.5rem;
  }

  .section {
    width: calc(100% - 2rem);
  }

  .real-gallery,
  .financing,
  .location {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .photo-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 17rem);
  }

  .photo-main {
    grid-column: auto;
  }

  .interior-grid {
    display: flex;
    gap: 0.8rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.9rem;
  }

  .interior-grid .gallery-trigger,
  .interior-grid .interior-wide,
  .interior-grid .gallery-trigger:nth-child(2),
  .interior-grid .gallery-trigger:nth-child(5) {
    min-width: 83vw;
    height: 23rem;
    scroll-snap-align: center;
  }

  .disclaimer {
    text-align: left;
  }

  .finance-steps {
    grid-template-columns: 1fr;
  }

  .finance-steps article {
    min-height: 11.5rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .step-number {
    margin-bottom: 1.1rem;
  }

  .tour {
    gap: 3rem;
  }

  .phone-frame {
    width: min(92%, 22rem);
  }

  .location-image {
    aspect-ratio: 1 / 1;
  }

  .final-cta {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .final-cta-inner {
    padding: 1.5rem;
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .final-cta-inner > img {
    width: 6.5rem;
  }

  .final-actions {
    grid-column: auto;
    width: 100%;
  }

  .site-footer {
    width: calc(100% - 2rem);
  }

  .site-footer > div {
    align-items: flex-start;
  }

  .site-footer nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem 1.2rem;
  }

  .whatsapp-float span {
    display: none;
  }

  .whatsapp-float {
    width: 3.4rem;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }

  .lightbox {
    width: 100vw;
    height: 100dvh;
    border: 0;
  }

  .lightbox-nav {
    top: auto;
    bottom: 5rem;
    transform: none;
  }
}

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

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

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
