:root {
  color-scheme: light;
  --ink: #1e1b16;
  --ink-soft: #4d453a;
  --muted: #6f6558;
  --muted-light: #8a7f70;
  --paper: #f6f2ea;
  --paper-strong: #fffdf8;
  --paper-deep: #efe9dd;
  --night: #201c17;
  --night-soft: #29241d;
  --accent: #3e6b8f;
  --accent-dark: #2d526f;
  --gold: #d9a05b;
  --green: #1e7a46;
  --danger: #9c4a33;
  --line: rgba(30, 27, 22, 0.14);
  --line-light: rgba(241, 235, 223, 0.17);
  --shadow: 0 24px 70px -36px rgba(30, 27, 22, 0.42);
  --radius: 18px;
  --content: 1180px;
  --nav-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 18px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Instrument Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.has-modal {
  overflow: hidden;
}

img {
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

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

a {
  color: var(--accent-dark);
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

:focus-visible {
  outline: 3px solid #efb563;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 15px;
  border-radius: 999px;
  background: var(--night);
  color: #fff;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

.container {
  width: min(var(--content), calc(100% - 56px));
  margin-inline: auto;
}

.section {
  padding-block: 92px;
  scroll-margin-top: calc(var(--nav-height) + 18px);
}

.section--tight {
  padding-block: 72px;
}

.section--paper {
  background: var(--paper-strong);
  border-block: 1px solid var(--line);
}

.section--night {
  background: var(--night);
  color: #f1ebdf;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font: 700 11px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section--night .eyebrow {
  color: var(--gold);
}

.display,
h1,
h2,
h3 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
}

.section-title {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(36px, 4.2vw, 52px);
  line-height: 1.04;
  text-wrap: balance;
}

.section-lead {
  max-width: 62ch;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.section--night .section-lead {
  color: rgba(241, 235, 223, 0.75);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 34px;
}

.section-heading__copy {
  max-width: 46ch;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  background: var(--accent);
  color: #fbf7ef;
}

.button--primary:hover {
  background: var(--accent-dark);
  color: #fff;
}

.button--outline {
  border-color: rgba(30, 27, 22, 0.34);
  background: transparent;
  color: var(--ink);
}

.button--light {
  border-color: rgba(250, 246, 236, 0.55);
  background: rgba(20, 17, 13, 0.12);
  color: #faf6ec;
  backdrop-filter: blur(5px);
}

.button--whatsapp {
  background: var(--green);
  color: #fff;
}

.button--whatsapp:hover {
  background: #155f36;
  color: #fff;
}

.site-nav {
  position: fixed;
  z-index: 150;
  inset: 0 0 auto;
  min-height: var(--nav-height);
  border-bottom: 1px solid rgba(30, 27, 22, 0.1);
  background: rgba(246, 242, 234, 0.92);
  backdrop-filter: blur(13px);
}

.site-nav__inner {
  display: flex;
  width: min(1380px, calc(100% - 40px));
  min-height: var(--nav-height);
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  flex: none;
  align-items: baseline;
  gap: 10px;
  color: var(--ink);
}

.brand:hover {
  color: var(--ink);
}

.brand__mark {
  padding: 5px 8px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--paper);
  font: 700 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.12em;
}

.brand__name {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 19px;
  font-style: italic;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper-strong);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle__lines,
.nav-toggle__lines::before,
.nav-toggle__lines::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle__lines {
  position: relative;
}

.nav-toggle__lines::before {
  position: absolute;
  top: -6px;
}

.nav-toggle__lines::after {
  position: absolute;
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__lines {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__lines::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__lines::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-nav__links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 1.4vw, 22px);
}

.site-nav__link {
  color: var(--ink-soft);
  font: 700 10.5px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.085em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav__link:hover {
  color: var(--accent);
}

.site-nav__cta {
  padding: 11px 17px;
  background: var(--accent);
  color: #fff;
}

.site-nav__cta:hover {
  color: #fff;
}

.hero {
  position: relative;
  display: flex;
  min-height: max(760px, 100svh);
  align-items: end;
  overflow: hidden;
  background: #6d6963;
  color: #fff;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 15, 11, 0.52) 0%, rgba(18, 15, 11, 0.08) 35%, rgba(18, 15, 11, 0.86) 100%),
    linear-gradient(125deg, rgba(62, 107, 143, 0.24), transparent 58%);
  content: "";
}

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

.hero__media.is-missing {
  background:
    radial-gradient(circle at 78% 24%, rgba(232, 195, 122, 0.28), transparent 28%),
    linear-gradient(135deg, #526779 0%, #716d65 46%, #3a3631 100%);
}

.hero__media.is-missing .hero__image {
  display: none;
}

.hero__placeholder {
  position: absolute;
  inset: auto 4vw 30%;
  z-index: 0;
  display: none;
  color: rgba(255, 255, 255, 0.5);
  font: 600 11px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.14em;
  text-align: right;
  text-transform: uppercase;
}

.hero__media.is-missing .hero__placeholder {
  display: block;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--nav-height) + 72px);
}

.hero__location {
  margin: 0 0 14px;
  color: #e8d9bf;
  font: 700 11px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 15ch;
  margin: 0 0 18px;
  color: #faf6ec;
  font-size: clamp(48px, 6.2vw, 84px);
  line-height: 1.01;
  text-wrap: balance;
}

.hero__lead {
  max-width: 61ch;
  margin: 0;
  color: rgba(250, 246, 236, 0.9);
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 42px;
}

.facts {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid rgba(250, 246, 236, 0.24);
  background: rgba(250, 246, 236, 0.12);
}

.fact {
  min-width: 0;
  padding: 18px 16px 24px;
  border-right: 1px solid rgba(250, 246, 236, 0.2);
  background: rgba(18, 15, 11, 0.27);
}

.fact:last-child {
  border-right: 0;
}

.fact__value {
  color: #faf6ec;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(24px, 2.4vw, 31px);
  line-height: 1.1;
}

.fact--price .fact__value {
  color: #e8c37a;
}

.fact__label {
  margin-top: 5px;
  color: #d7cbb6;
  font: 600 10px/1.35 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.highlight {
  border-top: 2px solid var(--ink);
  padding-top: 18px;
}

.highlight__number {
  margin-bottom: 10px;
  color: var(--accent);
  font: 700 11px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.16em;
}

.highlight h2 {
  margin: 0 0 8px;
  font-size: 25px;
}

.highlight p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
}

.tour-shell {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper-strong);
  box-shadow: var(--shadow);
}

.tour-launch {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 520px;
  place-items: center;
  overflow: hidden;
  padding: 34px;
  border: 0;
  background:
    radial-gradient(circle at 50% 40%, rgba(232, 195, 122, 0.22), transparent 25%),
    linear-gradient(135deg, #2d526f 0%, #1f303c 46%, #201c17 100%);
  color: #fff;
  cursor: pointer;
  text-align: center;
}

.tour-launch::before,
.tour-launch::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  content: "";
}

.tour-launch::before {
  width: min(68vw, 680px);
  aspect-ratio: 1;
}

.tour-launch::after {
  width: min(48vw, 460px);
  aspect-ratio: 1;
}

.tour-launch__content {
  position: relative;
  z-index: 1;
  max-width: 580px;
}

.tour-launch__icon {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  margin: 0 auto 20px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 27px;
  backdrop-filter: blur(8px);
}

.tour-launch h3,
.tour-launch__title {
  display: block;
  margin: 0 0 12px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.02;
}

.tour-launch p,
.tour-launch__description {
  display: block;
  margin: 0 auto 24px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
}

.tour-launch__button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  padding: 12px 22px;
  border-radius: 999px;
  background: #fff;
  color: var(--accent-dark);
  font-weight: 700;
}

.tour-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 20px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.tour-note strong {
  color: var(--ink-soft);
}

.model-frame {
  height: clamp(500px, 68vh, 660px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-deep);
  box-shadow: var(--shadow);
}

casa-3d {
  display: block;
  width: 100%;
  height: 100%;
}

.room-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}

.room-chip {
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  font: 700 10.5px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.room-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 44px;
}

.room-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-strong);
  box-shadow: 0 18px 44px -38px rgba(30, 27, 22, 0.5);
}

.room-card__media {
  position: relative;
  min-height: 330px;
}

.room-card__media > .photo-button {
  position: absolute;
  inset: 0;
}

.room-card__body {
  padding: 26px;
}

.room-card__index {
  margin-bottom: 10px;
  color: var(--accent);
  font: 700 10.5px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.16em;
}

.room-card h3 {
  margin: 0 0 12px;
  font-size: 30px;
  line-height: 1.08;
}

.room-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.tag {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
}

.room-card__tour {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 10px 15px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: transparent;
  color: var(--accent-dark);
  cursor: pointer;
  font: 700 11px/1.2 "Instrument Sans", system-ui, sans-serif;
}

.room-card__tour:hover {
  background: var(--accent);
  color: #fff;
}

.thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 20px;
}

.thumbs--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.thumbs--one {
  grid-template-columns: minmax(0, 180px);
}

.photo-button {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: var(--paper-deep);
  cursor: zoom-in;
}

.photo-frame {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(62, 107, 143, 0.13), transparent 58%),
    repeating-linear-gradient(-45deg, #efe9dd 0 14px, #f6f2ea 14px 28px);
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 350ms ease,
    opacity 180ms ease;
}

.photo-button:hover img {
  transform: scale(1.025);
}

.photo-fallback {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  padding: 24px;
  color: var(--muted-light);
  font: 700 11px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}

.photo-frame.is-missing img {
  opacity: 0;
}

.photo-frame.is-missing .photo-fallback {
  display: grid;
}

.thumbs .photo-button {
  aspect-ratio: 4 / 3;
  border-radius: 10px;
}

.thumbs .photo-fallback {
  padding: 6px;
  font-size: 8px;
}

.feature-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 56px;
  align-items: start;
}

.proof-list {
  display: grid;
  gap: 0;
  margin-top: 28px;
}

.proof {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 13px 0;
  border-top: 1px solid var(--line-light);
}

.proof__number {
  color: var(--gold);
  font: 700 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.proof p {
  margin: 0;
  color: rgba(241, 235, 223, 0.82);
  font-size: 14.5px;
  line-height: 1.55;
}

.calculator {
  padding: 32px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: var(--night-soft);
}

.calculator__title {
  margin-bottom: 24px;
  color: var(--gold);
  font: 700 11px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.16em;
}

.field-range {
  margin-bottom: 24px;
}

.field-range__label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
  color: rgba(241, 235, 223, 0.86);
  font-size: 12px;
  font-weight: 700;
}

.field-range__value {
  color: #fff;
  font: 700 12.5px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  white-space: nowrap;
}

input[type="range"] {
  width: 100%;
  height: 5px;
  border-radius: 99px;
  outline: none;
  appearance: none;
  background: #4a443b;
}

input[type="range"]::-webkit-slider-thumb {
  width: 20px;
  height: 20px;
  border: 2px solid var(--night);
  border-radius: 50%;
  appearance: none;
  background: var(--gold);
  cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 2px solid var(--night);
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
}

.bill {
  margin-top: 14px;
}

.bill__label {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 7px;
  color: rgba(241, 235, 223, 0.64);
  font: 600 10.5px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.09em;
}

.bill__bar {
  height: 12px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(241, 235, 223, 0.1);
}

.bill__fill {
  height: 100%;
  width: var(--bill-width, 100%);
  border-radius: inherit;
  background: #b3634a;
  transition: width 300ms ease;
}

.bill--solar .bill__fill {
  background: #6d9a55;
}

.savings {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: end;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line-light);
}

.savings__label {
  margin-bottom: 6px;
  color: rgba(241, 235, 223, 0.62);
  font: 600 10.5px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.1em;
}

.savings__label--right {
  text-align: right;
}

.savings__values {
  color: rgba(241, 235, 223, 0.9);
  font-size: 15px;
  line-height: 1.6;
}

.savings__ten {
  color: #fff;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(32px, 3.4vw, 46px);
  text-align: right;
}

.calculator__disclaimer {
  margin: 20px 0 0;
  color: rgba(241, 235, 223, 0.52);
  font-size: 11px;
  line-height: 1.6;
}

.automation {
  display: grid;
  grid-template-columns: 7fr 5fr;
  align-items: start;
  gap: 28px;
  margin-top: 38px;
}

.automation__demo {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% -10%, rgba(255, 190, 110, 0.3), transparent 55%),
    #14110d;
}

.automation__demo img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 450ms ease, opacity 450ms ease;
}

.automation__video {
  position: absolute;
  z-index: 3;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #050505;
  object-fit: contain;
}

.automation__demo.is-video-active {
  min-height: 0;
  aspect-ratio: 16 / 9;
  background: #050505;
}

.automation__demo.is-video-active > img,
.automation__demo.is-video-active .automation__badges {
  visibility: hidden;
}

.automation__video-trigger {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: min(285px, calc(100% - 32px));
  padding: 13px 17px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 999px;
  background: rgba(20, 17, 13, 0.84);
  box-shadow: 0 14px 40px rgba(8, 6, 4, 0.3);
  color: #fff;
  cursor: pointer;
  text-align: left;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(10px);
}

.automation__video-trigger:hover {
  background: rgba(134, 91, 50, 0.94);
}

.automation__video-trigger[hidden],
.automation__video-close[hidden],
.automation__video-feedback[hidden],
.automation__video[hidden] {
  display: none !important;
}

.automation__video-trigger strong,
.automation__video-trigger small {
  display: block;
}

.automation__video-trigger strong {
  font-size: 13px;
}

.automation__video-trigger small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.automation__video-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  font-size: 13px;
  text-indent: 2px;
}

.automation__video-close {
  position: absolute;
  z-index: 5;
  top: 12px;
  right: 12px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  background: rgba(20, 17, 13, 0.76);
  color: #fff;
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.automation__video-close:hover {
  background: rgba(20, 17, 13, 0.94);
}

.automation__video-feedback {
  position: absolute;
  z-index: 3;
  top: calc(50% + 48px);
  left: 50%;
  width: min(310px, calc(100% - 32px));
  margin: 0;
  padding: 8px 12px;
  border-radius: 9px;
  background: rgba(20, 17, 13, 0.84);
  color: #fff;
  font-size: 11px;
  line-height: 1.4;
  text-align: center;
  transform: translateX(-50%);
  backdrop-filter: blur(8px);
}

.automation__demo.is-missing img {
  display: none;
}

.automation__demo[data-lights="off"] img {
  filter: brightness(0.65) saturate(0.85);
}

.automation__demo[data-curtain="closed"]::after {
  position: absolute;
  inset: 0;
  background: rgba(8, 15, 28, 0.38);
  content: "";
  pointer-events: none;
}

.automation__badges {
  position: absolute;
  z-index: 2;
  inset: auto 16px 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

.automation__badge {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(20, 17, 13, 0.74);
  color: #e8d9bf;
  font: 700 10.5px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.08em;
  backdrop-filter: blur(6px);
}

.automation__panel {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-strong);
}

.scene-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 23px;
}

.scene-button {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.scene-button:hover {
  border-color: var(--accent);
}

.automation-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 0;
  border-top: 1px solid var(--line);
}

.automation-control__copy strong {
  display: block;
  margin-bottom: 3px;
  font-size: 14px;
}

.automation-control__copy span {
  color: var(--muted);
  font-size: 12px;
}

.switch {
  position: relative;
  width: 46px;
  height: 26px;
  flex: none;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: #d8cfc0;
  cursor: pointer;
  transition: background 180ms ease;
}

.switch::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(30, 27, 22, 0.2);
  content: "";
  transition: transform 180ms ease;
}

.switch[aria-pressed="true"] {
  background: var(--accent);
}

.switch[aria-pressed="true"]::after {
  transform: translateX(20px);
}

.biometric {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}

.biometric__button {
  display: grid;
  width: 48px;
  height: 48px;
  flex: none;
  place-items: center;
  border: 1px solid rgba(30, 27, 22, 0.24);
  border-radius: 50%;
  background: #fff;
  color: var(--accent);
  cursor: pointer;
}

.biometric__button.is-unlocked {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.biometric__copy strong {
  display: block;
  margin-bottom: 3px;
  font-size: 13px;
}

.biometric__copy span {
  color: var(--muted);
  font-size: 12px;
}

.amenities {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 38px;
}

.amenity {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}

.amenity__icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  margin-bottom: 17px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font: 700 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.amenity h3 {
  margin: 0 0 5px;
  font-family: "Instrument Sans", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 700;
}

.amenity p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.location {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 56px;
  align-items: center;
}

.location__address {
  margin: 18px 0 22px;
  color: var(--ink-soft);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 21px;
  font-style: italic;
  line-height: 1.45;
}

.location__points {
  display: grid;
  gap: 12px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.location__points li {
  display: grid;
  grid-template-columns: 8px 1fr;
  gap: 12px;
  align-items: baseline;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
}

.location__points li::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.location__map {
  position: relative;
  display: grid;
  min-height: 430px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, transparent 48%, rgba(62, 107, 143, 0.11) 49%, rgba(62, 107, 143, 0.11) 51%, transparent 52%),
    linear-gradient(25deg, transparent 47%, rgba(62, 107, 143, 0.1) 48%, rgba(62, 107, 143, 0.1) 50%, transparent 51%),
    repeating-linear-gradient(-45deg, #efe9dd 0 14px, #f6f2ea 14px 28px);
}

.location__map-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.price-card {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 10px;
  padding: 16px 21px;
  border: 1px solid var(--line-light);
  border-radius: 14px;
}

.price-card__label {
  color: rgba(241, 235, 223, 0.64);
  font: 700 10.5px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.12em;
}

.price-card__value {
  color: #e8c37a;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(29px, 3vw, 36px);
}

.price-card__amount {
  display: inline-flex;
  align-items: flex-start;
}

.price-card__asterisk {
  margin: 1px 0 0 3px;
  color: #e8c37a;
  font-family: "Instrument Sans", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.price-card__asterisk:hover {
  color: #fff;
}

.price-card__note {
  max-width: 58ch;
  margin: 12px 0 0;
  color: rgba(241, 235, 223, 0.66);
  font-size: 11.5px;
  line-height: 1.6;
}

.price-card__note > span {
  color: #e8c37a;
  font-weight: 700;
}

.price-card__details {
  display: block;
  width: max-content;
  max-width: 100%;
  margin-top: 8px;
  color: #e8c37a;
  font-weight: 700;
}

.price-card__details:hover {
  color: #fff;
}

.contact-form {
  padding: 32px;
  border-radius: var(--radius);
  background: #faf6ec;
  color: var(--ink);
}

.contact-form > .button {
  width: 100%;
}

.contact-form__title {
  margin-bottom: 20px;
  color: var(--accent);
  font: 700 11px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.16em;
}

.field {
  margin-bottom: 14px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid rgba(30, 27, 22, 0.23);
  border-radius: 10px;
  background: #fffdf8;
  color: var(--ink);
  font-size: 14px;
}

.field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 2px),
    calc(100% - 13px) calc(50% - 2px);
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
}

.field textarea {
  min-height: 92px;
  resize: vertical;
}

.contact-form__privacy {
  margin: 13px 4px 0;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.55;
}

.form-status {
  min-height: 22px;
  margin: 12px 4px 0;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
}

.site-footer {
  padding: 28px;
  background: #1a1712;
  color: rgba(241, 235, 223, 0.58);
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font: 500 10.5px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.06em;
}

.whatsapp-float {
  position: fixed;
  z-index: 130;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 9px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 12px 30px -10px rgba(20, 60, 35, 0.55);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.whatsapp-float:hover {
  background: #155f36;
  color: #fff;
}

.whatsapp-float__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #9fe8b7;
}

.photo-dialog {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(18, 15, 11, 0.96);
  color: #fff;
}

.photo-dialog::backdrop {
  background: rgba(18, 15, 11, 0.96);
}

.photo-dialog__inner {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  grid-template-rows: 1fr auto;
  place-items: center;
  padding: 56px 84px 34px;
}

.photo-dialog__image {
  max-width: min(1100px, 86vw);
  max-height: calc(100dvh - 150px);
  border-radius: 10px;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.photo-dialog__caption {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  color: rgba(241, 235, 223, 0.85);
  font-size: 14px;
}

.photo-dialog__position {
  color: #cdbfa6;
  font: 700 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.09em;
}

.photo-dialog__button {
  position: absolute;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(241, 235, 223, 0.3);
  border-radius: 50%;
  background: rgba(32, 28, 23, 0.72);
  color: #fff;
  cursor: pointer;
  font-size: 22px;
  backdrop-filter: blur(5px);
}

.photo-dialog__button--prev {
  top: 50%;
  left: 20px;
}

.photo-dialog__button--next {
  top: 50%;
  right: 20px;
}

.photo-dialog__button--close {
  top: 18px;
  right: 20px;
  font-size: 16px;
}

.noscript {
  margin: calc(var(--nav-height) + 20px) auto 0;
  padding: 14px 18px;
  border: 1px solid #d7a56a;
  border-radius: 12px;
  background: #fff7e8;
  color: #6c4926;
  text-align: center;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 1120px) {
  .site-nav__inner {
    width: min(100% - 28px, var(--content));
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav__links {
    position: fixed;
    inset: var(--nav-height) 0 auto;
    display: none;
    max-height: calc(100dvh - var(--nav-height));
    align-items: stretch;
    padding: 12px 20px 22px;
    overflow-y: auto;
    border-bottom: 1px solid var(--line);
    background: rgba(246, 242, 234, 0.98);
    box-shadow: 0 20px 40px -30px rgba(30, 27, 22, 0.5);
  }

  .site-nav__links.is-open {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
  }

  .site-nav__link {
    display: flex;
    min-height: 44px;
    align-items: center;
    padding: 8px 10px;
    border-radius: 8px;
  }

  .site-nav__cta {
    justify-content: center;
  }

  .facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .fact:nth-child(3) {
    border-right: 0;
  }

  .fact:nth-child(n + 4) {
    border-top: 1px solid rgba(250, 246, 236, 0.2);
  }

  .fact--price {
    grid-column: span 2;
  }
}

@media (max-width: 860px) {
  .container {
    width: min(100% - 36px, var(--content));
  }

  .section {
    padding-block: 72px;
  }

  .section-heading {
    display: block;
  }

  .section-heading__copy {
    margin-top: 16px;
  }

  .highlights,
  .rooms-grid,
  .feature-grid,
  .automation,
  .location,
  .contact {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .location,
  .contact {
    gap: 36px;
  }

  .rooms-grid {
    gap: 20px;
  }

  .automation__demo {
    min-height: 420px;
  }

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

  .location__map {
    min-height: 340px;
  }
}

@media (max-width: 620px) {
  :root {
    --nav-height: 64px;
  }

  .container {
    width: min(100% - 28px, var(--content));
  }

  .section {
    padding-block: 58px;
  }

  .brand__name {
    max-width: 130px;
    overflow: hidden;
    font-size: 17px;
    text-overflow: ellipsis;
  }

  .site-nav__links.is-open {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: max(720px, 100svh);
  }

  .hero__content {
    padding-top: calc(var(--nav-height) + 46px);
  }

  .hero h1 {
    max-width: 12ch;
    font-size: clamp(43px, 13vw, 62px);
  }

  .hero__location {
    font-size: 9.5px;
  }

  .hero__actions {
    display: grid;
    margin-bottom: 30px;
  }

  .hero__actions .button {
    width: 100%;
  }

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

  .fact,
  .fact:nth-child(3) {
    border-right: 1px solid rgba(250, 246, 236, 0.2);
    border-top: 1px solid rgba(250, 246, 236, 0.2);
  }

  .fact:nth-child(1),
  .fact:nth-child(2) {
    border-top: 0;
  }

  .fact:nth-child(even) {
    border-right: 0;
  }

  .fact--price {
    grid-column: 1 / -1;
    border-right: 0;
  }

  .highlights {
    gap: 24px;
  }

  .tour-launch {
    min-height: 440px;
    padding: 24px 20px;
  }

  .tour-launch::before {
    width: 120vw;
  }

  .tour-launch::after {
    width: 78vw;
  }

  .tour-note {
    align-items: start;
    flex-direction: column;
  }

  .model-frame {
    height: 500px;
  }

  .room-card__media {
    min-height: 250px;
  }

  .room-card__body {
    padding: 22px 20px;
  }

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

  .calculator,
  .automation__panel,
  .contact-form {
    padding: 23px 19px;
  }

  .field-range__label,
  .bill__label {
    align-items: start;
    flex-direction: column;
    gap: 5px;
  }

  .savings {
    grid-template-columns: 1fr;
  }

  .savings__ten {
    text-align: left;
  }

  .amenities {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding: 26px 18px 86px;
  }

  .site-footer__inner {
    align-items: start;
    flex-direction: column;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
  }

  .photo-dialog__inner {
    padding: 64px 14px 28px;
  }

  .photo-dialog__image {
    max-width: 94vw;
    max-height: calc(100dvh - 180px);
  }

  .photo-dialog__button--prev {
    top: auto;
    bottom: 24px;
    left: 14px;
  }

  .photo-dialog__button--next {
    top: auto;
    right: 14px;
    bottom: 24px;
  }

  .photo-dialog__caption {
    max-width: calc(100vw - 140px);
    flex-direction: column;
    gap: 5px;
    text-align: center;
  }
}

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

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