:root {
  color-scheme: light;
  --bg: #f7fafc;
  --surface: #ffffff;
  --surface-muted: #f1f4f6;
  --text: #041627;
  --text-soft: #44474c;
  --text-muted: #6b7280;
  --gold: #af8c47;
  --gold-soft: #e9c176;
  --line: rgba(196, 198, 205, 0.35);
  --shadow: 0 20px 40px rgba(24, 28, 30, 0.08);
  --radius: 4px;
  --container: 1536px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 104px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--gold-soft);
  outline-offset: 3px;
}

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

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-160%);
  border-radius: var(--radius);
  background: var(--text);
  color: #ffffff;
  padding: 10px 14px;
  font-weight: 800;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  width: 100%;
  background: transparent;
  color: var(--text);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(4, 22, 39, 0.95);
  box-shadow: 0 12px 30px rgba(4, 22, 39, 0.14);
  color: #ffffff;
  backdrop-filter: blur(12px);
}

.header-content {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand-logo {
  display: grid;
  width: clamp(220px, 18vw, 360px);
}

.brand-logo img {
  grid-area: 1 / 1;
  width: 100%;
  height: auto;
  transition: opacity 180ms ease;
}

.logo-white {
  opacity: 0;
}

.site-header.is-scrolled .brand-logo .logo-black {
  opacity: 0;
}

.site-header.is-scrolled .brand-logo .logo-white {
  opacity: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 650;
}

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

.nav-cta {
  min-width: 232px;
  border: 1px solid rgba(4, 22, 39, 0.16);
  border-radius: var(--radius);
  background: linear-gradient(128deg, #041627 0%, #12263a 100%);
  color: #ffffff;
  padding: 17px 24px;
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 0 14px 28px rgba(4, 22, 39, 0.16);
}

.site-header.is-scrolled .nav-cta {
  border-color: transparent;
  background: var(--gold);
  color: var(--text);
}

.hero {
  display: flex;
  min-height: 100svh;
  align-items: center;
  overflow: clip;
  background: var(--bg);
  color: var(--text);
  padding-block: 100px 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
  min-height: calc(100svh - 156px);
}

.hero-content {
  max-width: 760px;
}

.hero-visual {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 620px;
  margin: 0;
}

.hero-media {
  width: 100%;
  height: min(82svh, 920px);
  min-height: 560px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(4, 22, 39, 0.08);
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-family: Manrope, Inter, sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Manrope, Inter, sans-serif;
  line-height: 1.08;
}

h1 {
  max-width: 11ch;
  color: #392700;
  font-size: clamp(4rem, 6.2vw, 6.5rem);
  font-weight: 900;
}

h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 900;
}

h3 {
  font-size: 1.35rem;
  font-weight: 850;
}

.hero-text {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--text-soft);
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
}

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

.hero-platforms {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}

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

.platform-logo {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border: 1px solid rgba(4, 22, 39, 0.08);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(4, 22, 39, 0.08);
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 22px;
  font-size: 0.9rem;
  font-weight: 850;
  text-transform: uppercase;
}

.button-primary {
  background: linear-gradient(128deg, #041627 0%, #1a2b3c 100%);
  color: #ffffff;
  box-shadow: 0 18px 28px rgba(0, 0, 0, 0.18);
}

.button-primary:hover {
  filter: brightness(1.08);
}

.button-secondary {
  border-color: rgba(4, 22, 39, 0.18);
  background: #ffffff;
  color: var(--text);
}

.hero-badges {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  pointer-events: none;
}

.hero-badges li,
.unit-badge {
  border-radius: var(--radius);
  background: #d5e0f7;
  color: #586377;
  padding: 6px 10px;
  font-size: 0.8rem;
  font-weight: 800;
}

.hero-badges li {
  position: absolute;
  box-shadow: 0 10px 24px rgba(4, 22, 39, 0.1);
}

.hero-badges li:nth-child(1) {
  top: 42%;
  left: 4%;
}

.hero-badges li:nth-child(2) {
  top: 39%;
  right: 24%;
}

.hero-badges li:nth-child(3) {
  right: 34%;
  bottom: 8%;
}

.section {
  scroll-margin-top: 104px;
  padding-block: 72px;
}

.section-muted {
  background: var(--surface-muted);
}

.split-layout,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
}

.section-copy {
  display: grid;
  gap: 18px;
}

.section-copy p,
.section-heading p,
.unit-content p:not(.unit-label),
.feature-card p,
.topic-list p,
.contact-copy p,
.site-footer p,
address {
  margin: 0;
  color: var(--text-soft);
}

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

.section-heading.narrow {
  max-width: 820px;
}

.section-heading p {
  margin-top: 18px;
  font-size: 1.05rem;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-soft);
  font-weight: 700;
}

.check-list li::before {
  content: "✓";
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid rgba(175, 140, 71, 0.35);
  border-radius: var(--radius);
  color: var(--gold);
}

.feature-grid {
  display: grid;
  gap: 16px;
}

.feature-card,
.lead-form,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.feature-card {
  padding: 24px;
}

.feature-icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: var(--radius);
  background: rgba(175, 140, 71, 0.14);
  color: var(--gold);
  font-weight: 900;
}

.feature-card p,
.unit-content p:not(.unit-label),
.topic-list p {
  margin-top: 10px;
}

.unit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
}

.unit-card {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto auto;
  gap: 12px;
  min-width: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition:
    transform 180ms ease;
}

.unit-card:hover,
.unit-card:focus-within {
  transform: translateY(-3px);
}

.unit-media {
  position: relative;
  height: clamp(390px, 32vw, 520px);
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--text);
  box-shadow: 0 24px 60px rgba(4, 22, 39, 0.13);
}

.unit-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.54) 48%, rgba(0, 0, 0, 0.94) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.54) 0%, rgba(0, 0, 0, 0.08) 70%);
  transition: opacity 220ms ease;
}

.unit-media picture,
.unit-media img {
  display: block;
  width: 100%;
  height: 100%;
}

.unit-media img {
  filter: saturate(0.9) brightness(0.74);
  object-fit: cover;
  transform: scale(1.02);
  transition:
    filter 220ms ease,
    transform 220ms ease;
}

.unit-content {
  position: absolute;
  right: clamp(16px, 1.5vw, 24px);
  bottom: clamp(18px, 1.7vw, 26px);
  left: clamp(16px, 1.5vw, 24px);
  z-index: 2;
  display: grid;
  align-content: start;
  gap: 8px;
  color: #ffffff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.42);
  transition:
    opacity 200ms ease,
    transform 200ms ease,
    filter 200ms ease;
}

.unit-label {
  width: fit-content;
  margin: 0;
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.unit-content h3 {
  max-width: 9ch;
  color: #ffffff;
  font-size: clamp(1.62rem, 2vw, 2.22rem);
  line-height: 1.18;
}

.unit-content p:not(.unit-label) {
  max-width: 30ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.96rem;
  line-height: 1.42;
}

.unit-badge {
  position: absolute;
  top: clamp(16px, 1.4vw, 22px);
  right: clamp(16px, 1.4vw, 22px);
  width: fit-content;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.48);
  color: #ffffff;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  line-height: 1.15;
  backdrop-filter: blur(10px);
  padding: 7px 9px;
  text-transform: uppercase;
  z-index: 2;
  transition:
    opacity 200ms ease,
    transform 200ms ease;
}

.unit-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.unit-meta span {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.24);
  color: rgba(255, 255, 255, 0.86);
  padding: 5px 8px;
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1;
}

.unit-link {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(233, 193, 118, 0.85);
  border-radius: var(--radius);
  background: var(--gold-soft);
  color: var(--text);
  cursor: pointer;
  font-size: 0.94rem;
  font-weight: 900;
  min-height: 48px;
  padding: 0 16px;
  box-shadow: 0 14px 28px rgba(4, 22, 39, 0.11);
  text-transform: uppercase;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease;
}

.unit-link span:last-child {
  font-size: 1.8rem;
  line-height: 1;
  transition: transform 160ms ease;
}

.unit-link:hover {
  border-color: #ffffff;
  background: #ffffff;
  color: var(--text);
}

.unit-link:hover span:last-child {
  transform: translateX(4px);
}

@media (hover: hover) and (pointer: fine) {
  .unit-card:hover .unit-media::after {
    opacity: 0;
  }

  .unit-card:hover .unit-media img {
    filter: none;
    transform: scale(1);
  }

  .unit-card:hover .unit-content,
  .unit-card:hover .unit-badge {
    opacity: 0;
    pointer-events: none;
    transform: translateY(14px);
  }

  .unit-card:hover .unit-content {
    filter: blur(3px);
  }
}

body.has-listing-viewer {
  overflow: hidden;
}

.listing-viewer[hidden] {
  display: none;
}

.listing-viewer {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: clamp(14px, 2vw, 28px);
}

.listing-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 22, 39, 0.72);
  backdrop-filter: blur(10px);
}

.listing-shell {
  position: relative;
  display: grid;
  width: min(100%, 1180px);
  max-height: min(92svh, 820px);
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: #f7fafc;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.34);
}

.listing-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
  padding: clamp(14px, 1.7vw, 20px);
}

.listing-header .eyebrow {
  margin-bottom: 6px;
  font-size: 0.78rem;
}

.listing-header h2 {
  font-size: clamp(1.55rem, 2.4vw, 2.35rem);
}

.listing-close {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--text);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
}

.listing-close:hover {
  background: var(--text);
  color: #ffffff;
}

.listing-layout {
  display: grid;
  min-height: 0;
  grid-template-columns: minmax(148px, 0.16fr) minmax(0, 1fr) minmax(250px, 0.3fr);
  overflow: hidden;
}

.listing-units {
  display: grid;
  align-content: start;
  gap: 8px;
  overflow: hidden;
  border-right: 1px solid var(--line);
  background: #ffffff;
  padding: clamp(12px, 1.5vw, 18px);
}

.listing-units button,
.listing-tabs button,
.listing-thumbs button {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--text);
  cursor: pointer;
}

.listing-units button {
  display: grid;
  gap: 4px;
  min-height: 60px;
  align-content: center;
  padding: 10px;
  text-align: left;
  font-weight: 900;
}

.listing-units span {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.listing-units button:hover,
.listing-tabs button:hover,
.listing-thumbs button:hover {
  border-color: rgba(175, 140, 71, 0.72);
}

.listing-units button.is-active,
.listing-tabs button.is-active {
  border-color: var(--text);
  background: var(--text);
  color: #ffffff;
}

.listing-units button.is-active span {
  color: rgba(255, 255, 255, 0.72);
}

.listing-stage {
  display: grid;
  min-width: 0;
  min-height: 0;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 12px;
  overflow: hidden;
  padding: clamp(14px, 1.7vw, 22px);
}

.listing-tabs {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.listing-tabs::-webkit-scrollbar {
  display: none;
}

.listing-tabs button {
  min-height: 42px;
  flex: 0 0 auto;
  padding: 0 16px;
  font-size: 0.88rem;
  font-weight: 850;
}

.listing-panel {
  min-height: 0;
}

.listing-panel[hidden] {
  display: none;
}

.listing-panel.is-active {
  display: grid;
  gap: 14px;
}

.listing-photo-frame {
  position: relative;
  display: grid;
  min-height: 0;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(175, 140, 71, 0.1), rgba(255, 255, 255, 0.7)),
    #ffffff;
  margin: 0;
}

.listing-photo-frame img {
  width: 100%;
  height: min(50svh, 500px);
  min-height: 0;
  object-fit: cover;
}

.listing-photo-frame figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  width: fit-content;
  max-width: calc(100% - 36px);
  margin: 0;
  border-radius: var(--radius);
  background: rgba(4, 22, 39, 0.88);
  color: #ffffff;
  padding: 8px 10px;
  font-size: 0.86rem;
  font-weight: 850;
}

.listing-gallery-controls {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  gap: 10px;
  align-items: center;
}

.listing-arrow {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--text);
  color: #ffffff;
  cursor: pointer;
  font-size: 1.7rem;
  line-height: 1;
}

.listing-arrow:hover {
  background: var(--gold);
  color: var(--text);
}

.listing-thumbs {
  display: flex;
  min-width: 0;
  gap: 10px;
  overflow-x: auto;
  padding: 2px;
  scrollbar-width: none;
}

.listing-thumbs::-webkit-scrollbar {
  display: none;
}

.listing-thumbs button {
  position: relative;
  width: 92px;
  height: 60px;
  flex: 0 0 auto;
  overflow: hidden;
  padding: 0;
}

.listing-thumbs button.is-active {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(175, 140, 71, 0.25);
}

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

.listing-floorplan-board {
  position: relative;
  display: grid;
  min-height: min(50svh, 500px);
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  padding: clamp(18px, 3vw, 42px);
}

.listing-floorplan-board img {
  width: min(100%, 920px);
  max-height: min(46svh, 460px);
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(4, 22, 39, 0.08));
}

.listing-video-frame {
  position: relative;
  display: grid;
  min-height: min(50svh, 500px);
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--text);
  color: #ffffff;
  margin: 0;
}

.listing-video-frame video {
  width: 100%;
  height: min(50svh, 500px);
  min-height: 0;
  background: var(--text);
  object-fit: contain;
}

.listing-video-frame figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  width: fit-content;
  max-width: calc(100% - 36px);
  margin: 0;
  border-radius: var(--radius);
  background: rgba(4, 22, 39, 0.88);
  color: #ffffff;
  padding: 8px 10px;
  font-size: 0.86rem;
  font-weight: 850;
}

.listing-info {
  display: grid;
  align-content: start;
  gap: 14px;
  overflow: hidden;
  border-left: 1px solid var(--line);
  background: #ffffff;
  padding: clamp(16px, 1.8vw, 24px);
}

.listing-kicker {
  width: fit-content;
  margin: 0;
  border-radius: var(--radius);
  background: rgba(175, 140, 71, 0.12);
  color: #392700;
  padding: 7px 10px;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.listing-info h3 {
  color: #181c1e;
  font-size: clamp(1.28rem, 1.65vw, 1.72rem);
  line-height: 1.12;
}

.listing-info p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.94rem;
  line-height: 1.45;
}

.listing-specs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 0;
}

.listing-specs div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 9px 10px;
}

.listing-specs dt {
  flex: 0 0 auto;
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.listing-specs dd {
  min-width: 0;
  margin: 0;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.1;
  overflow: hidden;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.listing-points {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.listing-points li {
  display: flex;
  gap: 10px;
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.35;
}

.listing-points li::before {
  content: "";
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 0.46em;
}

.listing-contact {
  width: 100%;
  margin-top: 2px;
}

.floorplan-carousel {
  display: grid;
  gap: 18px;
  max-width: 1180px;
  margin-inline: auto;
}

.floorplan-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fb 100%);
  box-shadow: var(--shadow);
  padding: clamp(18px, 3vw, 40px);
}

.floorplan-viewport {
  display: grid;
  min-height: min(48vw, 600px);
  align-items: center;
}

.floorplan-slide {
  display: none;
  margin: 0;
}

.floorplan-slide[hidden] {
  display: none;
}

.floorplan-slide.is-active {
  display: grid;
  justify-items: center;
  gap: 14px;
}

.floorplan-slide img {
  width: min(100%, 1120px);
  max-height: 620px;
  object-fit: contain;
  border-radius: var(--radius);
  background: transparent;
  filter: drop-shadow(0 18px 28px rgba(4, 22, 39, 0.08));
}

.floorplan-slide figcaption {
  color: var(--text);
  font-weight: 850;
  text-align: center;
}

.floorplan-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.carousel-counter {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 800;
}

.carousel-actions {
  display: flex;
  gap: 8px;
}

.carousel-control {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--text);
  color: #ffffff;
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
}

.carousel-control:hover {
  background: var(--gold);
  color: var(--text);
}

.carousel-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.carousel-tabs button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--text);
  cursor: pointer;
  padding: 0 14px;
  font-weight: 800;
}

.carousel-tabs button:hover {
  border-color: rgba(175, 140, 71, 0.65);
}

.carousel-tabs button.is-active {
  border-color: var(--text);
  background: var(--text);
  color: #ffffff;
}

.amenity-photo-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 22px;
}

.amenity-photo-card {
  position: relative;
  isolation: isolate;
  display: flex;
  grid-column: span 2;
  min-height: 310px;
  overflow: hidden;
  align-items: flex-end;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(24px, 2.5vw, 36px);
}

.amenity-photo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(4, 22, 39, 0.14) 0%, rgba(4, 22, 39, 0.86) 100%),
    linear-gradient(90deg, rgba(4, 22, 39, 0.88) 0%, rgba(4, 22, 39, 0.2) 72%);
  opacity: 1;
  transition: opacity 240ms ease;
}

.amenity-photo-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.62) saturate(0.86);
  transform: scale(1.02);
  transition: filter 260ms ease, transform 260ms ease;
}

.amenity-photo-card-wide {
  grid-column: span 3;
  min-height: 340px;
}

.amenity-photo-content {
  display: grid;
  max-width: 520px;
  gap: 12px;
  color: #ffffff;
  transition: opacity 220ms ease, transform 220ms ease, filter 220ms ease;
}

.amenity-photo-card.is-photo-focused::before {
  opacity: 0;
}

.amenity-photo-card.is-photo-focused img {
  filter: brightness(1) saturate(1);
  transform: scale(1);
}

.amenity-photo-card.is-photo-focused .amenity-photo-content {
  opacity: 0;
  filter: blur(3px);
  transform: translateY(18px);
}

@media (hover: hover) and (pointer: fine) {
  .amenity-photo-card:hover::before {
    opacity: 0;
  }

  .amenity-photo-card:hover img {
    filter: brightness(1) saturate(1);
    transform: scale(1);
  }

  .amenity-photo-card:hover .amenity-photo-content {
    opacity: 0;
    filter: blur(3px);
    transform: translateY(18px);
  }
}

.amenity-photo-content h3 {
  color: #ffffff;
  font-size: clamp(1.45rem, 1.8vw, 2rem);
  line-height: 1.12;
}

.amenity-photo-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1rem;
  line-height: 1.55;
}

.amenity-points {
  margin: 2px 0 0;
  padding-left: 1.1rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.5;
}

.amenity-cta {
  display: flex;
  justify-content: center;
  margin-top: 44px;
}

.rounded-media {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.reviews-section {
  background: #ffffff;
}

.reviews-container {
  display: grid;
  gap: clamp(34px, 5vw, 52px);
  max-width: 1600px;
}

.reviews-container > h2 {
  color: #191c1d;
  font-size: clamp(2.35rem, 4vw, 3rem);
  line-height: 1.08;
  text-align: center;
}

.reviews-carousel {
  position: relative;
  min-width: 0;
}

.reviews-track {
  display: flex;
  align-items: stretch;
  gap: 22px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 4px 64px 10px;
  scroll-padding-inline: 64px;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.reviews-track::-webkit-scrollbar {
  display: none;
}

.reviews-control {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  background: rgba(4, 22, 39, 0.92);
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(4, 22, 39, 0.2);
  transform: translateY(-50%);
  transition: background 160ms ease, color 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.reviews-control span {
  font-size: 2.2rem;
  line-height: 0.72;
  transform: translateY(-1px);
}

.reviews-control:hover {
  background: var(--gold);
  color: var(--text);
  transform: translateY(-50%) scale(1.04);
}

.reviews-control:disabled {
  opacity: 0.28;
  cursor: not-allowed;
  transform: translateY(-50%);
}

.reviews-control-prev {
  left: 8px;
}

.reviews-control-next {
  right: 8px;
}

.review-card {
  display: flex;
  flex: 0 0 clamp(290px, 25vw, 390px);
  height: 390px;
  flex-direction: column;
  border: 1px solid #e1e5ea;
  border-radius: 12px;
  background: #f8f9fa;
  padding: clamp(20px, 2vw, 28px);
  scroll-snap-align: start;
}

.review-card-long {
  flex-basis: clamp(290px, 25vw, 390px);
}

.review-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.rating {
  margin: 0 0 8px;
  color: #f9ab00;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  line-height: 1;
}

.review-date {
  margin: 0;
  color: #424753;
  font-size: 0.68rem;
  line-height: 1.5;
}

.review-source {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(4, 22, 39, 0.08);
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(4, 22, 39, 0.08);
}

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

.review-source-airbnb {
  background: #e9425b;
}

.review-card blockquote {
  display: -webkit-box;
  max-height: 14.4em;
  margin: 0 0 24px;
  overflow: hidden;
  color: #191c1d;
  font-size: clamp(1rem, 1.18vw, 1.16rem);
  font-weight: 650;
  line-height: 1.44;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 10;
  line-clamp: 10;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
}

.review-author img {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 2px solid #ffffff;
  border-radius: 50%;
  object-fit: cover;
}

.review-author cite,
.review-author span {
  display: block;
  font-style: normal;
  line-height: 1.35;
}

.review-author cite {
  color: #191c1d;
  font-size: 0.9rem;
  font-weight: 850;
}

.review-author span {
  color: #424753;
  font-size: 0.88rem;
}

.reviews-closing {
  max-width: 860px;
  margin: 0 auto;
  color: #191c1d;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 850;
  line-height: 1.4;
  text-align: center;
}

.topic-list {
  display: grid;
  gap: 18px;
}

.topic-list article {
  border-left: 3px solid var(--gold);
  padding-left: 18px;
}

address {
  font-style: normal;
  font-weight: 800;
}

.location-map-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 0.96fr);
  align-items: stretch;
  column-gap: clamp(28px, 4vw, 56px);
  row-gap: clamp(16px, 2vw, 28px);
}

.location-panel {
  display: grid;
  gap: 24px;
}

.location-panel h2 {
  max-width: 11ch;
  font-size: clamp(2.7rem, 4.7vw, 5rem);
  line-height: 0.98;
}

.location-panel > p {
  max-width: 620px;
  color: var(--text-soft);
  font-size: 1.08rem;
  line-height: 1.65;
}

.location-address {
  display: grid;
  grid-template-columns: minmax(120px, 0.35fr) 1fr;
  gap: 18px;
  align-items: center;
  background: var(--gold);
  color: #ffffff;
  padding: 16px 18px;
}

.location-address span {
  font-size: 0.86rem;
  line-height: 1.35;
}

.location-list {
  display: grid;
}

.location-item {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  padding: 15px 0;
  text-align: left;
}

.location-item span {
  font-size: 1rem;
  font-weight: 850;
}

.location-item strong {
  color: #392700;
  font-size: 0.88rem;
  white-space: nowrap;
}

.location-item.is-active {
  color: var(--gold);
}

.location-item.is-active strong {
  color: var(--gold);
}

.location-map-card {
  display: flex;
  width: min(100%, 840px);
  min-height: 560px;
  align-self: stretch;
  justify-self: end;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.location-map {
  flex: 1;
  width: 100%;
  min-height: clamp(560px, 48vw, 640px);
  background: #e8eee7;
  isolation: isolate;
}

.leaflet-container {
  position: relative;
  overflow: hidden;
  font-family: inherit;
  outline-offset: 2px;
}

.leaflet-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-pane > svg,
.leaflet-pane > canvas,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer {
  position: absolute;
  top: 0;
  left: 0;
}

.leaflet-container img.leaflet-tile,
.leaflet-container img.leaflet-marker-icon,
.leaflet-container img.leaflet-marker-shadow {
  max-width: none;
  max-height: none;
}

.leaflet-container .leaflet-tile {
  width: 256px;
  height: 256px;
}

.leaflet-tile {
  user-select: none;
  -webkit-user-drag: none;
}

.leaflet-marker-icon,
.leaflet-marker-shadow {
  display: block;
}

.leaflet-control-container .leaflet-top,
.leaflet-control-container .leaflet-bottom {
  position: absolute;
  z-index: 1000;
}

.leaflet-control-container .leaflet-top {
  top: 10px;
}

.leaflet-control-container .leaflet-bottom {
  bottom: 10px;
}

.leaflet-control-container .leaflet-left {
  left: 10px;
}

.leaflet-control-container .leaflet-right {
  right: 10px;
}

.location-map .leaflet-control-attribution {
  font-size: 0.65rem;
}

.map-pin {
  position: relative;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 3px solid #ffffff;
  border-radius: 50% 50% 50% 0;
  background: #e21b2d;
  box-shadow: 0 8px 18px rgba(4, 22, 39, 0.28);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 900;
  transform: rotate(-45deg);
}

.map-pin span {
  transform: rotate(45deg);
}

.map-pin-main {
  width: 42px;
  height: 42px;
  background: var(--gold);
  color: var(--text);
}

.map-pin.is-active {
  background: var(--text);
}

.map-pin-main.is-active {
  background: var(--gold);
}

.map-fallback {
  margin: 0;
  padding: 14px 18px;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.map-fallback.is-hidden {
  display: none;
}

.location-cta {
  display: flex;
  grid-column: 1 / -1;
  justify-content: center;
  margin-top: 0;
}

.contact-section {
  background: var(--text);
  color: #ffffff;
}

.contact-copy h2 {
  max-width: 12ch;
  color: #ffffff;
  font-size: clamp(3.3rem, 7vw, 6.25rem);
  line-height: 0.94;
  overflow-wrap: normal;
  word-break: normal;
}

.contact-copy h2 span {
  display: block;
  white-space: nowrap;
}

.contact-copy p {
  color: #b7c8de;
  font-size: 1.2rem;
}

.lead-form {
  display: grid;
  gap: 20px;
  padding: clamp(24px, 4vw, 48px);
}

.lead-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  color: var(--text-soft);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.field input,
.field select {
  width: 100%;
  min-height: 58px;
  border: 1px solid rgba(196, 198, 205, 0.35);
  border-radius: var(--radius);
  background: #e5e9eb;
  color: var(--text);
  padding: 0 16px;
}

.form-button {
  width: 100%;
}

.form-button:disabled {
  cursor: wait;
  filter: grayscale(0.2) brightness(0.9);
  opacity: 0.72;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--gold-soft);
  font-weight: 750;
  text-align: center;
}

.form-status.is-success {
  color: #95f0b8;
}

.form-status.is-error {
  color: #ffb4b4;
}

.faq-container {
  max-width: 900px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  padding: 0;
  box-shadow: none;
}

.faq-list summary {
  cursor: pointer;
  padding: 22px 24px;
  color: var(--text);
  font-weight: 850;
}

.faq-list details[open] summary {
  border-bottom: 1px solid var(--line);
}

.faq-list details p {
  margin: 0;
  padding: 20px 24px 24px;
  color: var(--text-soft);
}

.site-footer {
  background: var(--text);
  color: #ffffff;
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr 0.7fr;
  gap: 40px;
}

.footer-logo img {
  margin-bottom: 18px;
}

.footer-logo {
  width: 180px;
  margin-bottom: 18px;
}

.footer-logo img {
  margin-bottom: 0;
}

.footer-logo .logo-black {
  opacity: 0;
}

.footer-logo .logo-white {
  opacity: 1;
}

.footer-grid p,
.footer-grid address,
.footer-bottom {
  color: rgba(255, 255, 255, 0.62);
}

.footer-grid nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
}

.footer-grid a:hover,
.footer-bottom a:hover {
  color: var(--gold-soft);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 36px;
  padding-top: 24px;
  font-size: 0.82rem;
}

.footer-bottom p {
  margin: 0;
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  font-size: 0.9rem;
  font-weight: 900;
}

.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #25d366;
  animation: pulse 1.5s ease-out infinite;
}

.whatsapp-float img {
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

@keyframes pulse {
  from {
    opacity: 0.65;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(1.75);
  }
}

@media (max-width: 1100px) {
  .unit-grid,
  .amenity-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .listing-layout {
    grid-template-areas: none;
    grid-template-columns: minmax(132px, 0.16fr) minmax(0, 1fr) minmax(240px, 0.3fr);
    overflow: hidden;
  }

  .listing-units {
    grid-area: auto;
  }

  .listing-stage {
    grid-area: auto;
  }

  .listing-info {
    grid-area: auto;
    border-top: 0;
    border-left: 1px solid var(--line);
    overflow: hidden;
  }

  .amenity-photo-card {
    grid-column: auto;
  }

  .amenity-photo-card-wide {
    grid-column: span 2;
  }

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

@media (max-width: 820px) {
  .container {
    width: min(100% - 32px, var(--container));
  }

  .header-content {
    min-height: 76px;
  }

  .brand-logo {
    width: clamp(170px, 46vw, 260px);
  }

  .nav-cta {
    min-width: auto;
    padding: 12px 14px;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
  }

  .hero {
    min-height: auto;
    padding-block: 104px 48px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 34px;
  }

  .hero-visual {
    min-height: 480px;
  }

  .hero-media {
    height: 520px;
    min-height: 0;
  }

  .split-layout,
  .location-map-grid,
  .contact-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .location-panel h2 {
    max-width: 10ch;
  }

  .location-address {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .location-map-card {
    justify-self: stretch;
    min-height: 0;
  }

  .location-map {
    height: 430px;
    min-height: 0;
  }

  .unit-grid,
  .amenity-photo-grid {
    grid-template-columns: 1fr;
  }

  .listing-viewer {
    padding: 0;
  }

  .listing-shell {
    width: 100%;
    height: 100svh;
    max-height: 100svh;
    min-height: 0;
    display: block;
    overflow-y: auto;
    border: 0;
    border-radius: 0;
  }

  .listing-header {
    position: sticky;
    top: 0;
    z-index: 2;
    align-items: flex-start;
    padding: 14px 16px;
  }

  .listing-close {
    width: 42px;
    height: 42px;
  }

  .listing-layout {
    grid-template-areas:
      "units"
      "stage"
      "info";
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .listing-units {
    grid-area: units;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 12px 16px;
  }

  .listing-units button {
    min-width: 138px;
    min-height: 58px;
  }

  .listing-stage {
    grid-area: stage;
    overflow: visible;
    padding: 16px;
  }

  .listing-photo-frame,
  .listing-floorplan-board,
  .listing-video-frame {
    min-height: 0;
  }

  .listing-photo-frame img,
  .listing-video-frame video {
    height: min(58vw, 360px);
    min-height: 240px;
  }

  .listing-floorplan-board {
    min-height: 280px;
  }

  .listing-floorplan-board img {
    max-height: 280px;
  }

  .listing-info {
    grid-area: info;
    border-top: 1px solid var(--line);
    border-left: 0;
    overflow: visible;
  }

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

  .amenity-photo-card,
  .amenity-photo-card-wide {
    grid-column: auto;
    min-height: 300px;
  }

  .section {
    padding-block: 56px;
  }

  .reviews-container {
    gap: 34px;
  }

  .review-card,
  .review-card-long {
    flex-basis: min(82vw, 340px);
    height: 350px;
  }

  .reviews-track {
    padding-inline: 52px;
    scroll-padding-inline: 52px;
  }

  .reviews-control {
    width: 46px;
    height: 46px;
  }

  .reviews-control span {
    font-size: 2rem;
  }

  .reviews-control-prev {
    left: 6px;
  }

  .reviews-control-next {
    right: 6px;
  }

  .review-card blockquote {
    font-size: 0.98rem;
    -webkit-line-clamp: 8;
    line-clamp: 8;
  }

  .hero-badges li:nth-child(1) {
    top: 38%;
    left: 4%;
  }

  .hero-badges li:nth-child(2) {
    top: 33%;
    right: 4%;
  }

  .hero-badges li:nth-child(3) {
    right: 14%;
    bottom: 6%;
  }

  h1 {
    max-width: 10ch;
    font-size: clamp(3.25rem, 14vw, 5rem);
  }

  .floorplan-frame {
    padding: 16px;
  }

  .floorplan-viewport {
    min-height: auto;
  }

  .floorplan-slide img {
    max-height: 68vh;
  }

  .floorplan-toolbar {
    margin-top: 16px;
  }

  .carousel-control {
    width: 42px;
    height: 42px;
    font-size: 1.7rem;
  }

  .carousel-tabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .carousel-tabs button {
    flex: 0 0 auto;
  }
}

@media (max-width: 520px) {
  .site-nav {
    display: none;
  }

  .hero-media {
    height: 430px;
  }

  .hero-badges li {
    font-size: 0.72rem;
  }

  .location-map {
    height: 340px;
    min-height: 0;
  }

  .listing-header h2 {
    font-size: 1.55rem;
  }

  .listing-tabs {
    width: 100%;
  }

  .listing-tabs button {
    flex: 1 0 auto;
    padding-inline: 12px;
  }

  .listing-gallery-controls {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    gap: 8px;
  }

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

  .listing-thumbs button {
    width: 86px;
    height: 62px;
  }

  .listing-photo-frame,
  .listing-floorplan-board,
  .listing-video-frame {
    min-height: 0;
  }

  .listing-photo-frame img,
  .listing-video-frame video {
    height: 260px;
    min-height: 0;
  }

  .listing-floorplan-board {
    min-height: 240px;
    padding: 12px;
  }

  .listing-floorplan-board img {
    max-height: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
