:root {
  --bg: #f6f5f1;
  --card: #ffffff;
  --ink: #202224;
  --muted: #5f6770;
  --line: #dde1e5;
  --accent: #2f6f63;
  --accent-soft: #e3f0ec;
  --shadow: 0 12px 36px rgba(18, 28, 33, 0.08);
  --radius: 16px;
  --container: 1100px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at 12% 10%, #f3efe3 0%, transparent 36%),
    radial-gradient(circle at 88% 5%, #e8f2ef 0%, transparent 30%), var(--bg);
  color: var(--ink);
  font-family: "Avenir Next", "Nunito Sans", "Trebuchet MS", sans-serif;
  line-height: 1.55;
}

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

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

.wrap {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
  background: rgba(246, 245, 241, 0.84);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
  gap: 1rem;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 1.05rem;
}

.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 0.15rem;
}

.lang-link {
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  color: var(--muted);
  font-weight: 600;
}

.lang-link.active {
  background: var(--accent-soft);
  color: var(--accent);
}

header {
  padding: 4.2rem 0 3rem;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1.4rem;
  align-items: stretch;
}

.hero-copy-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 100%;
}

.hero-title {
  margin: 0 0 0.9rem;
}

.hero-address {
  margin: 0 0 1rem;
}

.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 2rem;
  height: 100%;
}

.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 0.3rem 0.65rem;
  margin-bottom: 0.9rem;
}

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

h1 {
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  line-height: 1.15;
  margin-bottom: 0.85rem;
}

.lead {
  color: var(--muted);
  max-width: 56ch;
  margin-bottom: 1.2rem;
}

.hero-delivery {
  margin: 0.45rem 0 1rem;
  color: var(--accent);
  font-weight: 700;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.btn {
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0.7rem 1rem;
  font-weight: 700;
  transition: 150ms ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #285f54;
}

.btn-secondary {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: #c6ccd2;
  background: #fafbfb;
}

.hero-note {
  margin-top: 0.8rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-photo {
  margin: 0;
  min-height: 560px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

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

.unit-showcase {
  display: block;
}

.unit-stack {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.unit-display {
  margin: 0;
}

.unit-main-photo {
  width: 100%;
  min-height: 340px;
  object-fit: cover;
}

.unit-picker {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.55rem;
  padding: 0.7rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.unit-picker::-webkit-scrollbar {
  height: 8px;
}

.unit-picker::-webkit-scrollbar-thumb {
  background: #c6d3cf;
  border-radius: 999px;
}

.thumb-btn {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  padding: 0;
  background: #fff;
  cursor: pointer;
  flex: 0 0 clamp(112px, 18vw, 170px);
  scroll-snap-align: start;
}

.thumb-btn img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.thumb-btn.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(47, 111, 99, 0.18);
}

.unit-copy,
.unit-details {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
}

.unit-details-split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
  align-items: stretch;
}

.unit-main-col {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.unit-contact-col {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.55rem;
  padding-left: 1rem;
  border-left: 1px solid var(--line);
}

.contact-line {
  color: #2f3840;
  font-weight: 600;
}

.contact-line a {
  color: var(--accent);
}

.unit-details .cta-row {
  margin-top: auto;
}

section {
  padding: 1rem 0 2rem;
}

.proximity-shell {
  position: relative;
  overflow: hidden;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.proximity-map-wrap {
  order: 0;
  position: relative;
  width: 100%;
  height: 360px;
  border-top: 1px solid var(--line);
}

.proximity-map-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
}

@media (min-width: 921px) {
  .proximity-map-wrap {
    height: clamp(460px, 52vw, 600px);
  }

  .proximity-map-bg {
    object-fit: contain;
    object-position: center;
    background: #fff;
  }
}

.proximity-shell::after {
  display: none;
}

.proximity-overlay {
  order: 1;
  position: relative;
  z-index: 1;
  left: auto;
  bottom: auto;
  width: 100%;
  max-width: 100%;
  background: transparent;
  border-top: 1px solid var(--line);
  padding: 0.8rem;
}

.proximity-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0;
  width: 100%;
}

.proximity-tabs-map {
  order: -1;
  position: relative;
  z-index: 1;
  top: auto;
  left: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  width: 100%;
  padding: 0.5rem;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  backdrop-filter: none;
}

.proximity-tabs-floating {
  position: static;
  transform: none;
  justify-content: flex-start;
  width: auto;
}

.proximity-tab {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  flex: 1 1 calc(33.333% - 0.5rem);
  min-width: 120px;
  text-align: center;
  background: #fff;
  color: #3d4750;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.proximity-tabs-map .proximity-tab {
  flex: 1 1 150px;
  min-width: 0;
  width: auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

.proximity-tab.active {
  border-color: #bdd5ce;
  background: #eaf5f1;
  color: #1f5b50;
}

.proximity-copy {
  padding: 0.1rem 0.1rem 0.2rem;
}

.proximity-copy h3 {
  margin: 0 0 0.45rem;
  font-size: 1.25rem;
  color: #1d5b50;
}

.proximity-copy p {
  color: var(--muted);
}

.proximity-commute {
  margin-top: 0.55rem;
  font-weight: 600;
  color: #2b343c;
}

.proximity-bullets {
  margin: 0.7rem 0 0;
  padding-left: 1.05rem;
  color: #2b343c;
  display: grid;
  gap: 0.18rem;
}

.proximity-bullets li {
  font-size: 0.93rem;
}

.map-legend {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.map-attribution {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.map-attribution-map {
  position: absolute;
  right: 0.6rem;
  bottom: 0.45rem;
  margin: 0;
  font-size: 0.68rem;
  color: rgba(52, 66, 77, 0.86);
}

.section-title {
  font-size: clamp(1.3rem, 2.1vw, 2rem);
  margin-bottom: 0.45rem;
}

.section-sub {
  color: var(--muted);
  margin-bottom: 1.2rem;
  max-width: 65ch;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  padding: 1.25rem;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.45rem;
}

.meta {
  color: var(--muted);
  margin-bottom: 0.7rem;
  font-weight: 600;
}

.list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
  color: #31383f;
  font-size: 0.97rem;
}

.list li::before {
  content: "- ";
  color: var(--accent);
  font-weight: 700;
}

.amenities {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 0.8rem;
}

.chip {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 0.55rem 0.8rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.94rem;
}

.accessibility-shell {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.25rem;
  align-items: start;
}

.accessibility-icon-wrap {
  width: 66px;
  height: 66px;
  border-radius: 14px;
  border: 1px solid #c7d7d2;
  background: #eef7f4;
  color: var(--accent);
  display: grid;
  place-items: center;
}

.accessibility-icon-wrap img {
  width: 36px;
  height: 36px;
}

.accessibility-copy .section-sub {
  margin-bottom: 0.8rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.gallery-item {
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #fff;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.plan-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 0.7rem;
}

.plan-card img {
  border-radius: 10px;
  border: 1px solid var(--line);
}

.plan-card p {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.location {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.cta-block {
  padding: 1.4rem;
  margin-top: 1rem;
}

footer {
  padding: 2.5rem 0 3rem;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 920px) {
  .hero,
  .cards,
  .location,
  .gallery-grid,
  .plans-grid {
    grid-template-columns: 1fr;
  }

  .proximity-shell {
    min-height: 0;
  }

  .proximity-overlay {
    width: 100%;
  }

  .proximity-tabs-map {
    width: 100%;
  }

  .hero-photo {
    min-height: 420px;
  }

  .accessibility-shell {
    grid-template-columns: 1fr;
  }

  .unit-details-split {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .unit-contact-col {
    padding-left: 0;
    padding-top: 0.85rem;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

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

@media (max-width: 560px) {
  header {
    padding-top: 3.1rem;
  }

  .hero-copy,
  .unit-copy,
  .unit-details,
  .card,
  .cta-block {
    padding: 1.05rem;
  }

  .hero-photo {
    min-height: 300px;
  }

  .proximity-shell {
    min-height: 0;
    overflow: hidden;
  }

  .proximity-map-wrap {
    height: 290px;
  }

  .proximity-map-bg {
    object-position: 74% center;
  }

  .proximity-overlay {
    width: 100%;
    max-width: 100%;
    padding: 0.7rem;
  }

  .proximity-tabs-map {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
    padding: 0.4rem;
    border-radius: 0;
  }

  .proximity-tabs-map .proximity-tab {
    flex: 1 1 132px;
    min-width: 0;
    width: auto;
  }

  .unit-main-photo {
    min-height: 240px;
  }

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