:root {
  --ink: #23272a;
  --muted: #68625c;
  --paper: #f7f4ef;
  --warm: #e6ded5;
  --copper: #0f5a43;
  --copper-dark: #093d2e;
  --forest: #0d4a37;
  --white: #fffaf2;
  --line: rgba(35, 39, 42, 0.16);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
  --page-gutter: clamp(20px, 7vw, 120px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  min-height: 86px;
  padding: 0 var(--page-gutter);
  color: var(--white);
  background: rgba(9, 61, 46, 0.62);
  backdrop-filter: blur(10px);
  transition: background 180ms ease, min-height 180ms ease;
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  width: 100%;
  min-height: inherit;
  margin: 0 auto;
}

.site-header.is-scrolled {
  min-height: 72px;
  background: rgba(9, 61, 46, 0.94);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 176px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 800;
}

.brand strong,
.brand em {
  display: block;
  font-family: var(--serif);
  font-style: normal;
  line-height: 0.95;
}

.brand strong {
  font-size: 21px;
}

.brand em {
  font-size: 18px;
}

.main-nav,
.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.main-nav a {
  position: relative;
  white-space: nowrap;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 2px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
  content: "";
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.language {
  font-weight: 800;
}

.menu-toggle {
  display: none;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 250, 242, 0.72);
  border-radius: 6px;
  color: var(--white);
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-header.is-menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.muted {
  opacity: 0.72;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border: 1px solid var(--copper);
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

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

.button.filled {
  color: var(--white);
  background: var(--copper);
}

.button.filled:hover {
  background: var(--copper-dark);
}

.button.ghost {
  color: var(--copper);
  background: transparent;
}

.button.light {
  color: var(--white);
  border-color: rgba(255, 250, 242, 0.72);
}

.button.small {
  min-height: 38px;
  padding: 0 20px;
  font-size: 13px;
}

.hero {
  position: relative;
  min-height: 78vh;
  overflow: hidden;
  color: var(--white);
  background: #1d211d;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  opacity: 0.92;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(17, 18, 16, 0.82) 0%, rgba(17, 18, 16, 0.55) 36%, rgba(17, 18, 16, 0.16) 70%),
    linear-gradient(0deg, rgba(17, 18, 16, 0.58), rgba(17, 18, 16, 0.04) 44%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(840px, calc(100% - var(--page-gutter) - var(--page-gutter)));
  margin-left: var(--page-gutter);
  padding: clamp(150px, 18vh, 210px) 0 108px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--copper);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

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

h1,
h2 {
  font-family: var(--serif);
  line-height: 0.98;
}

h1 {
  max-width: 760px;
  margin-bottom: 28px;
  font-size: clamp(44px, 4.8vw, 74px);
}

h2 {
  margin-bottom: 28px;
  font-size: clamp(34px, 4vw, 62px);
}

h3 {
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: clamp(30px, 3vw, 48px);
  line-height: 1;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 34px;
  font-size: clamp(17px, 1.8vw, 22px);
  font-weight: 500;
}

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

.hero-meta {
  position: absolute;
  bottom: 34px;
  right: var(--page-gutter);
  left: var(--page-gutter);
  z-index: 1;
}

.hero-meta-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 250, 242, 0.34);
}

.hero-meta-inner span {
  padding: 18px 18px 0 0;
  font-size: clamp(16px, 1.6vw, 22px);
  font-weight: 800;
}

.hero-meta-inner span:nth-child(2) {
  padding-right: 0;
  text-align: center;
}

.hero-meta-inner span:nth-child(3) {
  padding-right: 0;
  text-align: right;
}

.section {
  padding: clamp(74px, 9vw, 140px) clamp(20px, 7vw, 120px);
}

.intro {
  background: var(--white);
}

.intro h2,
.section-heading h2,
.finder-head h2 {
  max-width: 980px;
  color: var(--ink);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(36px, 7vw, 110px);
  align-items: start;
  max-width: none;
}

.intro-grid p {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 600;
}

.quiet-list {
  counter-reset: intro-item;
  display: grid;
  justify-self: end;
  width: min(100%, 620px);
  gap: 0;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 18px;
}

.quiet-list li {
  counter-increment: intro-item;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 0 0 18px;
  border-bottom: 1px solid var(--line);
}

.quiet-list li + li {
  padding-top: 18px;
}

.quiet-list li::before {
  color: var(--copper);
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  content: counter(intro-item, decimal-leading-zero);
}

.feature-split {
  display: grid;
  grid-template-columns: minmax(340px, 0.9fr) minmax(0, 1.1fr);
  min-height: 780px;
  background: var(--warm);
}

.feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(64px, 9vw, 150px) clamp(32px, 7vw, 120px);
}

.feature-copy p {
  max-width: 570px;
  margin-bottom: 34px;
  font-size: 20px;
}

.feature-copy .button {
  align-self: flex-start;
}

.number,
.lifestyle-card span {
  display: block;
  margin-bottom: 14px;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 800;
}

.feature-media {
  min-height: 620px;
  margin: 0;
  overflow: hidden;
}

.feature-houses-image {
  object-position: 50% 56%;
  transform: scale(1.18);
}

.lifestyle {
  background: var(--white);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 48px;
}

.section-heading.narrow {
  display: block;
  max-width: 920px;
  margin-bottom: 24px;
}

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

.lifestyle-card {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  color: var(--white);
  background: #2e332d;
}

.lifestyle-card.large {
  grid-column: 1 / -1;
  min-height: 620px;
}

.lifestyle-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(18, 19, 17, 0.78), rgba(18, 19, 17, 0.04) 58%);
  content: "";
}

.lifestyle-card div {
  position: absolute;
  right: 28px;
  bottom: 28px;
  left: 28px;
  z-index: 1;
  max-width: 620px;
}

.lifestyle-card p {
  max-width: 520px;
  margin-bottom: 0;
  font-size: 18px;
}

.amenities {
  background: var(--paper);
}

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

.amenity-list {
  max-width: 1240px;
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.amenity-list div {
  display: grid;
  grid-template-columns: minmax(260px, 0.45fr) 1fr;
  gap: 30px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  font-size: 21px;
}

.amenity-list strong {
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1;
}

.amenity-list span {
  color: var(--muted);
  max-width: 760px;
  line-height: 1.55;
}

.apartment-finder {
  background: var(--white);
}

.finder-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 32px;
}

.estate-picker {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: stretch;
  margin-bottom: 58px;
}

.estate-map {
  position: relative;
  aspect-ratio: 1569 / 886;
  min-height: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--forest);
}

.estate-map::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(17, 22, 17, 0.22), rgba(17, 22, 17, 0.02));
  pointer-events: none;
  content: "";
}

.house-hotspots {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
}

.house-hotspots circle {
  opacity: 0;
  cursor: pointer;
}

.house-pins {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.house-pins span {
  position: absolute;
  top: var(--y);
  left: var(--x);
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 3px solid var(--white);
  border-radius: 999px;
  color: var(--white);
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  transform: translate(-50%, -50%);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.house-pins span.available {
  background: #2d9c4a;
}

.house-pins span.reserved {
  background: #c9822c;
}

.house-pins span.sold {
  background: #a83a32;
}

.house-pins span.is-active {
  transform: translate(-50%, -50%) scale(1.16);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.36);
}

body.is-editing-pins .estate-picker {
  position: relative;
}

body.is-editing-pins .estate-map {
  outline: 3px solid var(--copper);
  outline-offset: 6px;
}

body.is-editing-pins .estate-map.is-adding-pin {
  cursor: crosshair;
}

body.is-editing-pins .house-hotspots {
  pointer-events: none;
}

body.is-editing-pins .house-pins {
  z-index: 6;
  pointer-events: auto;
}

body.is-editing-pins .house-pins span {
  cursor: grab;
}

body.is-editing-pins .house-pins span.is-dragging {
  cursor: grabbing;
  transform: translate(-50%, -50%) scale(1.22);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.42);
}

.pin-editor-panel {
  display: grid;
  gap: 16px;
  padding: 20px;
  border: 1px solid rgba(15, 90, 67, 0.22);
  border-radius: 8px;
  color: var(--ink);
  background: #fffaf2;
  box-shadow: 0 18px 40px rgba(26, 24, 20, 0.08);
}

.pin-editor-panel strong {
  display: block;
  margin-bottom: 4px;
  font-size: 18px;
}

.pin-editor-panel p {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
}

.pin-editor-add {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-end;
}

.pin-editor-add label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.pin-editor-add input,
.pin-editor-add select {
  min-height: 38px;
  min-width: 120px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
  font-size: 14px;
  text-transform: none;
}

.pin-editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pin-editor-output {
  width: 100%;
  min-height: 190px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--paper);
  font: 13px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  resize: vertical;
}

.estate-tooltip {
  position: absolute;
  z-index: 3;
  min-width: 148px;
  padding: 12px 14px;
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 250, 242, 0.96);
  box-shadow: 0 18px 34px rgba(19, 17, 15, 0.2);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -112%);
  transition: opacity 140ms ease;
}

.estate-tooltip.is-visible {
  opacity: 1;
}

.estate-tooltip strong,
.estate-tooltip span {
  display: block;
}

.estate-tooltip span {
  color: var(--muted);
}

.estate-card {
  display: none;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.estate-card h3 {
  margin-bottom: 12px;
  font-size: 58px;
}

.estate-status {
  width: fit-content;
  margin-bottom: 24px;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--white);
  font-weight: 800;
}

.estate-status.available {
  background: #2d9c4a;
}

.estate-status.reserved {
  background: #c9822c;
}

.estate-status.sold {
  background: #a83a32;
}

.estate-card dl {
  display: grid;
  gap: 0;
  margin: 0 0 28px;
}

.estate-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.estate-card dt {
  color: var(--muted);
}

.estate-card dd {
  margin: 0;
  font-weight: 800;
  text-align: right;
}

.building-picker {
  display: none;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: stretch;
  margin-bottom: 58px;
}

.building-visual,
.floor-panel {
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper);
}

.building-visual {
  position: relative;
  min-height: clamp(520px, 47vw, 720px);
}

.building-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(22, 24, 20, 0.34), rgba(22, 24, 20, 0.05));
  pointer-events: none;
  content: "";
}

.floor-hotspots {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
}

.floor-hotspots polygon {
  fill: rgba(182, 83, 53, 0);
  stroke: rgba(255, 250, 242, 0);
  stroke-width: 2;
  cursor: pointer;
  transition: fill 160ms ease, stroke 160ms ease;
}

.floor-hotspots polygon:hover,
.floor-hotspots polygon.is-active {
  fill: rgba(99, 174, 54, 0.48);
  stroke: rgba(255, 250, 242, 0.76);
}

.floor-tooltip {
  position: absolute;
  top: 48%;
  left: 38%;
  z-index: 3;
  min-width: 210px;
  padding: 14px 16px 16px;
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 250, 242, 0.96);
  box-shadow: 0 20px 40px rgba(19, 17, 15, 0.24);
  transform: translate(-50%, -50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 140ms ease, transform 140ms ease;
}

.floor-tooltip.is-visible {
  opacity: 1;
  transform: translate(-50%, -56%);
}

.floor-tooltip::after {
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 20px;
  height: 20px;
  background: inherit;
  transform: translateX(-50%) rotate(45deg);
  content: "";
}

.floor-tooltip strong,
.floor-tooltip span,
.floor-tooltip em {
  position: relative;
  z-index: 1;
  display: block;
}

.floor-tooltip strong {
  float: left;
  margin-right: 20px;
  font-size: 16px;
}

.floor-tooltip > span {
  color: var(--muted);
  font-size: 16px;
}

.floor-tooltip em {
  clear: both;
  margin-top: 8px;
  font-style: normal;
}

.floor-tooltip i,
.unit-card i {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 7px;
  border-radius: 999px;
  background: #2c8c43;
}

.floor-panel {
  display: grid;
  grid-template-columns: minmax(290px, 0.45fr) minmax(0, 1fr);
  gap: 28px;
  padding: 28px;
  border: 1px solid var(--line);
}

.floor-panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.floor-panel-head span {
  color: var(--copper);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.floor-panel-head strong {
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1;
}

.floor-panel p {
  max-width: 420px;
  margin-bottom: 22px;
  color: var(--muted);
}

.floor-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.floor-tabs button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--ink);
  border-radius: 0;
  color: var(--white);
  background: var(--ink);
  font: inherit;
  cursor: pointer;
}

.floor-tabs button.is-active,
.floor-tabs button:hover {
  border-color: var(--copper);
  background: var(--copper);
}

.floor-plan {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 285px;
  padding: 18px;
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 250, 242, 0.84), rgba(255, 250, 242, 0.84)),
    url("assets/images/apartamenty-lesne-floor-selector.png") center/cover;
}

.floor-plan svg {
  width: 100%;
  max-width: 560px;
  height: auto;
}

.plan-bg {
  fill: rgba(245, 243, 235, 0.8);
  stroke: #708096;
  stroke-width: 5;
}

.plan-corridor {
  fill: #f9faf7;
  stroke: #708096;
  stroke-width: 3;
}

.plan-apartments rect {
  fill: rgba(139, 191, 103, 0.72);
  stroke: #708096;
  stroke-width: 4;
  cursor: pointer;
  transition: fill 160ms ease;
}

.plan-apartments rect:hover,
.plan-apartments rect.is-active {
  fill: rgba(96, 174, 53, 0.92);
}

.plan-balconies rect {
  fill: #efc12c;
  stroke: #a78218;
  stroke-width: 3;
}

.unit-card {
  position: absolute;
  top: 24px;
  left: 50%;
  min-width: 200px;
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 36px rgba(35, 39, 42, 0.18);
  opacity: 0;
  transform: translateX(-50%);
  pointer-events: none;
  transition: opacity 140ms ease, transform 140ms ease;
}

.unit-card.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}

.unit-card strong,
.unit-card span {
  display: block;
}

.unit-card span {
  margin-top: 7px;
  color: var(--muted);
}

.unit-card em {
  color: var(--ink);
  font-style: normal;
}

.filters {
  display: grid;
  grid-template-columns: minmax(210px, 0.9fr) minmax(260px, 1.25fr) minmax(190px, 0.75fr) minmax(250px, 1fr);
  gap: clamp(24px, 5vw, 74px);
  align-items: start;
  margin-bottom: 54px;
}

.filters fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.filters legend {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.1;
}

.range-track {
  position: relative;
  height: 18px;
  width: 100%;
}

.range-filter {
  position: relative;
}

.native-range {
  position: absolute;
  right: 0;
  bottom: 19px;
  left: 0;
  z-index: 2;
  width: 100%;
  opacity: 0;
  cursor: pointer;
}

.range-line {
  position: absolute;
  top: 8px;
  right: 0;
  left: 0;
  height: 4px;
  background: var(--copper);
}

.range-dot {
  position: absolute;
  top: 0;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--copper);
}

.range-dot.left {
  left: 0;
}

.range-dot.right {
  right: 0;
}

.range-values {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.2;
}

.choice-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.choice-group button {
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding: 0 13px;
  border: 1px solid var(--copper);
  border-radius: 7px;
  color: var(--copper);
  background: transparent;
  font: inherit;
  font-size: 16px;
  cursor: pointer;
}

.choice-group button:hover,
.choice-group button:focus-visible,
.choice-group button.is-active {
  color: var(--white);
  background: var(--copper);
  outline: 0;
}

.filter-summary {
  margin: -28px 0 28px;
  color: var(--muted);
  font-weight: 700;
}

.apartment-table {
  border-top: 1px solid var(--line);
}

.table-row {
  display: grid;
  grid-template-columns: 0.65fr 1fr 1fr 0.7fr 1fr 1.1fr 0.8fr;
  gap: 16px;
  align-items: center;
  min-height: 74px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 17px;
}

.table-row:not(.header-row):hover {
  color: var(--copper);
}

.table-row.is-hidden {
  display: none;
}

.header-row {
  min-height: 48px;
  padding: 0 18px;
  color: var(--white);
  background: var(--copper);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.table-row span:first-child,
.table-row span:nth-child(4) {
  font-weight: 800;
}

.table-row span:last-child {
  justify-self: end;
  color: var(--copper);
  font-weight: 800;
}

.empty-results {
  display: none;
  padding: 28px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-weight: 700;
}

.empty-results.is-visible {
  display: block;
}

.house-pins span.is-dimmed {
  opacity: 0.24;
  filter: grayscale(0.55);
}

.location-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: center;
  padding: clamp(74px, 9vw, 130px) clamp(20px, 7vw, 120px);
  background: var(--paper);
}

.location-copy {
  max-width: 560px;
}

.location-copy h2 {
  margin-bottom: 20px;
  font-size: clamp(34px, 4vw, 60px);
}

.location-copy p {
  color: var(--muted);
  font-size: 19px;
}

.map-frame {
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--warm);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  filter: saturate(0.78) contrast(0.96);
}

.contact-hero {
  position: relative;
  min-height: 760px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  background: #171614;
}

.contact-hero img {
  position: absolute;
  inset: 0;
  opacity: 0.48;
}

.contact-hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 16, 14, 0.78), rgba(17, 16, 14, 0.22));
  content: "";
}

.contact-panel {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  text-align: center;
}

.contact-panel h2 {
  color: var(--white);
}

.contact-panel p {
  margin-bottom: 30px;
  font-size: 22px;
  font-weight: 700;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 44px clamp(20px, 7vw, 120px);
  color: var(--paper);
  background: #202322;
}

.site-footer p {
  max-width: 520px;
  margin: 0;
  color: rgba(247, 244, 239, 0.68);
  text-align: right;
}

@media (max-width: 1120px) {
  .header-inner {
    grid-template-columns: auto 1fr;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height, 86px);
    right: 16px;
    left: 16px;
    display: grid;
    gap: 0;
    padding: 10px;
    border: 1px solid rgba(255, 250, 242, 0.14);
    border-radius: 8px;
    background: rgba(9, 61, 46, 0.98);
    box-shadow: 0 22px 46px rgba(0, 0, 0, 0.24);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-header.is-menu-open .main-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav a {
    padding: 16px 14px;
    border-bottom: 1px solid rgba(255, 250, 242, 0.12);
    font-size: 15px;
  }

  .main-nav a:last-child {
    border-bottom: 0;
  }

  .main-nav a::after {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
  }

  .feature-split,
  .section-heading,
  .intro-grid,
  .location-section,
  .estate-picker,
  .building-picker {
    grid-template-columns: 1fr;
  }

  .feature-split {
    min-height: auto;
  }

  .feature-media {
    min-height: 520px;
  }

  .building-visual {
    min-height: 500px;
  }

  .estate-map {
    min-height: 520px;
  }

  .floor-panel {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .site-header {
    min-height: 70px;
    padding: 12px 16px;
  }

  .brand {
    min-width: auto;
  }

  .brand strong,
  .brand em {
    display: none;
  }

  .header-actions .language {
    display: none;
  }

  .header-actions .button {
    display: none;
  }

  .header-actions {
    gap: 10px;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-content {
    width: 100%;
    padding: 136px 20px 112px;
  }

  h1 {
    font-size: clamp(48px, 15vw, 78px);
  }

  h2 {
    font-size: clamp(38px, 12vw, 62px);
  }

  .hero-meta {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .hero-meta span {
    padding-top: 10px;
  }

  .section,
  .feature-copy {
    padding: 66px 20px;
  }

  .feature-media,
  .lifestyle-card,
  .lifestyle-card.large {
    min-height: 420px;
  }

  .building-picker {
    gap: 18px;
    margin-bottom: 44px;
  }

  .estate-picker {
    gap: 18px;
    margin-bottom: 44px;
  }

  .estate-card h3 {
    font-size: 46px;
  }

  .estate-map {
    min-height: 360px;
  }

  .building-visual {
    min-height: 360px;
  }

  .floor-panel {
    padding: 20px;
  }

  .floor-tooltip {
    min-width: 184px;
    padding: 12px 14px;
  }

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

  .amenity-list div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .finder-head,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .filters {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .apartment-table {
    overflow-x: auto;
  }

  .table-row {
    min-width: 760px;
  }

  .contact-panel {
    margin: 0 auto;
  }

  .site-footer p {
    text-align: left;
  }
}
