:root {
  color-scheme: light;
  --font-sans: "Manrope", "Segoe UI Variable", "Segoe UI", sans-serif;
  --font-display: "Prata", Georgia, serif;
  --bg: #f3eadf;
  --bg-soft: #efe3d4;
  --surface: rgba(255, 250, 244, 0.78);
  --surface-strong: #fffaf4;
  --surface-contrast: #1f1d1a;
  --line: rgba(82, 62, 41, 0.12);
  --line-strong: rgba(82, 62, 41, 0.24);
  --text: #1d1a18;
  --muted: #6f665d;
  --accent: #9f6734;
  --accent-strong: #7e4e21;
  --accent-soft: rgba(159, 103, 52, 0.12);
  --accent-soft-strong: rgba(159, 103, 52, 0.2);
  --success: #2d7f5f;
  --warning: #b37c26;
  --danger: #b05a50;
  --shadow: 0 16px 42px rgba(36, 28, 19, 0.1);
  --radius-2xl: 28px;
  --radius-xl: 22px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 12px;
  --space-1: 6px;
  --space-2: 10px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 34px;
  --space-6: 48px;
  --space-7: 72px;
  --space-8: 96px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.public-body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  background:
    radial-gradient(
      circle at top left,
      rgba(205, 162, 117, 0.14),
      transparent 30%
    ),
    radial-gradient(
      circle at right 18%,
      rgba(37, 53, 44, 0.08),
      transparent 22%
    ),
    linear-gradient(180deg, #f8f2ea 0%, var(--bg) 55%, #f7efe5 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
.btn,
a.btn,
input,
select,
textarea,
.floor-choice-item,
.map-building,
.favorite-btn,
.thumb-btn {
  touch-action: manipulation;
}

input,
select,
textarea {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(82, 62, 41, 0.14);
  border-radius: var(--radius-sm);
  background: rgba(255, 253, 249, 0.9);
  color: var(--text);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

textarea {
  min-height: 128px;
  padding: 14px 16px;
  resize: vertical;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

input::placeholder,
textarea::placeholder {
  color: rgba(111, 102, 93, 0.8);
}

.hidden {
  display: none !important;
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.06;
  text-wrap: balance;
}

h1 {
  font-size: clamp(26px, 3.8vw, 46px);
}

h2 {
  font-size: clamp(28px, 3.4vw, 42px);
}

h3 {
  font-size: clamp(18px, 2.3vw, 24px);
}

p {
  color: var(--muted);
  font-size: clamp(16px, 1vw, 18px);
  line-height: 1.7;
}

:where(h1, h2, h3, [id]) {
  scroll-margin-top: 64px;
}

:focus-visible {
  outline: 3px solid rgba(159, 103, 52, 0.28);
  outline-offset: 2px;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  border-color: rgba(159, 103, 52, 0.54);
  box-shadow: 0 0 0 4px rgba(159, 103, 52, 0.12);
  outline: none;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 120;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--surface-contrast);
  color: #fff;
  transform: translateY(-140%);
  transition: transform 180ms ease;
}

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

.site-shell {
  min-height: 100vh;
  overflow-x: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid transparent;
  background: rgba(248, 242, 234, 0.68);
  backdrop-filter: blur(16px);
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

body.is-scrolled .site-header {
  border-color: rgba(82, 62, 41, 0.14);
  background: rgba(250, 246, 240, 0.9);
  box-shadow: 0 6px 20px rgba(36, 28, 19, 0.05);
}

.site-header__inner,
.page,
.page-shell,
.hero__inner {
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 82px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark__text {
  display: grid;
  gap: 2px;
}

.brand-mark__logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.brand-mark__name {
  font-family: var(--font-display);
  font-size: 31px;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1;
}

.brand-mark__meta {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.site-nav,
.site-header__actions,
.lang-switch,
.screen__actions,
.breadcrumbs,
.stepper,
.listing-card__meta,
.listing-card__footer,
.detail-gallery__thumbs,
.detail-hero__chips,
.feature-card__tags {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.site-nav a,
.site-header__actions a:not(.btn) {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition:
    color 180ms ease,
    opacity 180ms ease;
}

.site-nav a:hover,
.site-header__actions a:not(.btn):hover {
  color: var(--text);
}

.lang-switch {
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.78);
}

.lang-switch a {
  min-width: 42px;
  padding: 8px 12px;
  border-radius: 999px;
  text-align: center;
}

.lang-switch a.is-active {
  background: var(--surface-contrast);
  color: #fff;
}

.btn-header {
  min-height: 44px;
}

.page {
  padding: var(--space-6) 0 var(--space-8);
}

.page-home {
  width: 100%;
  padding: 0 0 var(--space-8);
}

.page-home__content {
  display: grid;
  gap: var(--space-6);
  margin-top: clamp(24px, 4vw, 48px);
}

.section-block,
.screen,
.filters-panel,
.filters-form,
.catalog-results,
.detail-main,
.detail-sidebar,
.detail-summary,
.detail-related,
.lead-form,
.feature-card,
.side-card,
.plan-card,
.detail-description,
.detail-gallery,
.detail-map,
.catalog-hero,
.selection-sidebar,
.empty-state {
  display: grid;
  gap: var(--space-4);
}

.section-head,
.section-head--tight,
.catalog-results__bar,
.plan-card__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.section-head--tight {
  align-items: center;
}

.screen__eyebrow {
  display: inline-flex;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  padding-bottom: 20px;
}

.inline-pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 14px;
  font-weight: 700;
}

.card,
.glass-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-2xl);
  background: linear-gradient(
    180deg,
    rgba(255, 253, 249, 0.96) 0%,
    rgba(255, 249, 242, 0.9) 100%
  );
  box-shadow: var(--shadow);
}

.glass-panel {
  background: rgba(255, 250, 244, 0.14);
  backdrop-filter: blur(10px);
}

.hero {
  position: relative;
  isolation: isolate;
}

.hero--immersive {
  min-height: calc(100svh - 82px);
  padding: clamp(32px, 5vw, 56px) 0 clamp(40px, 8vw, 88px);
}

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

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.02);
  animation: hero-drift 18s ease-in-out infinite alternate;
  transform-origin: center;
}

.hero__veil {
  background:
    linear-gradient(
      90deg,
      rgba(17, 18, 21, 0.82) 0%,
      rgba(17, 18, 21, 0.56) 42%,
      rgba(17, 18, 21, 0.3) 100%
    ),
    linear-gradient(180deg, rgba(12, 12, 12, 0.12), rgba(12, 12, 12, 0.38));
}

.hero__inner {
  position: relative;
  z-index: 1;
  min-height: calc(100svh - 82px - clamp(32px, 5vw, 56px));
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.7fr);
  align-items: end;
  gap: clamp(24px, 4vw, 48px);
}

.hero__content,
.hero__aside {
  padding: clamp(26px, 4vw, 40px);
  color: #fff7ed;
  display: grid;
  align-content: start;
  gap: clamp(16px, 2vw, 24px);
}

.hero__content {
  align-self: center;
  max-width: 690px;
}

.hero__content h1 {
  max-width: 11ch;
  font-size: clamp(24px, 3.8vw, 34px);
  line-height: 1.05;
}

.hero__content p,
.hero__aside p {
  color: rgba(255, 247, 237, 0.78);
}

.hero__kicker {
  font-family: var(--font-sans);
  font-size: clamp(17px, 1.8vw, 22px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #f3d9b5;
}

.hero__lead {
  max-width: 640px;
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.76;
}

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

.hero-search {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 18px 20px;
  align-items: end;
}

.hero-search label {
  color: rgba(255, 247, 237, 0.82);
  font-size: 12px;
}

.hero-search input,
.hero-search select,
.hero-search textarea {
  background: rgba(255, 252, 248, 0.96);
}

.btn-search {
  align-self: end;
}

.hero-rail {
  display: grid;
  gap: 14px;
}

.hero-rail__item {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 247, 237, 0.14);
}

.hero-rail__item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.hero-rail__item strong {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 400;
  color: #f3d9b5;
}

.hero-rail__item span {
  display: block;
  margin-bottom: 4px;
  color: #fff8ef;
  font-weight: 700;
}

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

.hero__stats div,
.catalog-hero__meta div,
.feature-stats div {
  padding: 16px 16px;
  border-radius: 18px;
  background: rgba(255, 250, 244, 0.1);
  border: 1px solid rgba(255, 247, 237, 0.16);
}

.hero__stats strong,
.catalog-hero__meta strong,
.feature-stats strong,
.listing-card__price,
.detail-highlight strong,
.detail-summary__price strong {
  display: block;
  font-variant-numeric: tabular-nums;
}

.hero__stats strong,
.catalog-hero__meta strong,
.feature-stats strong {
  font-size: clamp(18px, 2.4vw, 20px);
  margin-bottom: 8px;
  line-height: 1;
  white-space: nowrap;
}

.hero__stats span,
.catalog-hero__meta span,
.feature-stats span {
  color: inherit;
  opacity: 0.78;
  font-size: 14px;
  line-height: 1.45;
}

.selection-strip {
  padding: clamp(24px, 4vw, 36px);
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  column-gap: clamp(34px, 5vw, 72px);
  row-gap: clamp(28px, 4vw, 44px);
}

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

.selection-strip__steps div {
  display: grid;
  gap: 8px;
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.selection-strip__steps strong {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
}

.building-showcase,
.listing-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.building-tile,
.listing-card,
.catalog-results__bar,
.filters-panel,
.detail-gallery,
.detail-description,
.detail-map,
.detail-summary,
.detail-related,
.feature-card,
.side-card,
.plan-card,
.catalog-hero,
.option-card,
.empty-state {
  padding: clamp(14px, 2vw, 20px);
}

.building-tile,
.listing-card,
.map-building,
.thumb-btn,
.favorite-btn,
.floor-choice-item,
.option-card,
.related-item,
.btn {
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    opacity 180ms ease;
}

.building-tile,
.listing-card,
.option-card,
.related-item {
  display: grid;
  gap: 14px;
}

.building-tile:hover,
.listing-card:hover,
.option-card:hover,
.related-item:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
}

.building-tile__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.building-tile strong {
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.1;
}

.building-tile__section-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.building-tile__section-list span,
.summary-list div,
.detail-specs div {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.46);
}

.building-tile__section-list span {
  padding: 8px 12px;
  font-size: 13px;
  color: var(--muted);
}

.building-tile__link {
  font-weight: 700;
  color: var(--accent-strong);
}

.catalog-hero {
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: end;
}

.catalog-hero__copy,
.catalog-hero__meta {
  display: grid;
  gap: 14px;
}

.catalog-hero__meta div {
  background: var(--surface-contrast);
  color: #fff4e6;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: var(--space-4);
  align-items: start;
}

.filters-panel {
  position: sticky;
  top: 100px;
}

.filters-panel__head,
.filters-group,
.catalog-results__bar > div,
.screen__intro {
  display: grid;
  gap: 12px;
}

.filters-group {
  gap: 16px;
}

.filters-panel__head p {
  font-size: 15px;
}

.filters-group__label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.range-stack {
  display: grid;
  gap: 8px;
}

.range-stack strong {
  font-size: 15px;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

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

.check-chip,
.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.5);
}

.check-chip:hover,
.check-row:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.78);
}

.check-chip input,
.check-row input {
  width: 18px;
  min-height: 18px;
  margin: 0;
}

.filters-actions {
  display: grid;
  gap: 12px;
}

.catalog-results__bar {
  align-items: center;
}

.listing-card__media {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(
    180deg,
    rgba(239, 227, 212, 0.68),
    rgba(255, 249, 242, 0.98)
  );
  aspect-ratio: 1.16 / 1;
}

.listing-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 240ms ease,
    opacity 180ms ease;
}

.listing-card:hover .listing-card__media img {
  transform: scale(1.035);
}

.favorite-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 252, 248, 0.7);
  border-radius: 999px;
  background: rgba(255, 252, 248, 0.94);
  color: var(--text);
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(36, 28, 19, 0.09);
}

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

.favorite-btn:active {
  transform: scale(0.98);
}

.favorite-btn[aria-pressed="true"] {
  background: var(--surface-contrast);
  color: #fff;
}

.listing-card__body {
  display: grid;
  gap: 14px;
}

.listing-card__price,
.detail-summary__price strong {
  font-size: clamp(18px, 2vw, 20px);
}

.listing-card__price {
  color: var(--accent-strong);
}

.listing-card__location {
  font-size: 15px;
}

.listing-card__meta span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(159, 103, 52, 0.08);
  color: var(--muted);
  font-size: 13px;
}

.listing-card__footer {
  justify-content: space-between;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status-pill.is-available {
  background: rgba(45, 127, 95, 0.12);
  color: var(--success);
}

.status-pill.is-reserved {
  background: rgba(179, 124, 38, 0.14);
  color: var(--warning);
}

.status-pill.is-sold {
  background: rgba(176, 90, 80, 0.12);
  color: var(--danger);
}

.status-pill.is-hidden {
  background: rgba(111, 102, 93, 0.12);
  color: var(--muted);
}

.breadcrumbs {
  color: var(--muted);
  font-size: 14px;
}

.stepper span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.44);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.stepper .is-active {
  background: var(--surface-contrast);
  color: #fff;
}

.screen-selection {
  gap: 28px;
}

.screen__intro {
  max-width: 760px;
}

.selection-layout,
.screen__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 360px;
  gap: var(--space-4);
  align-items: start;
}

.screen__grid--floor {
  grid-template-columns: 340px minmax(0, 1fr);
}

.masterplan-map {
  position: relative;
  overflow: hidden;
  min-height: 680px;
  padding: 0;
}

.masterplan-map__image,
.plan-image,
.plan-overlay {
  width: 100%;
  display: block;
}

.masterplan-map__image {
  height: 100%;
  object-fit: cover;
}

.masterplan-map__zones {
  position: absolute;
  inset: 0;
}

.map-building {
  position: absolute;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 18px;
  border-radius: 20px;
  border: 2px solid rgba(243, 217, 181, 0.44);
  background: rgba(16, 18, 22, 0.24);
  box-shadow: 0 14px 30px rgba(17, 18, 21, 0.1);
}

.map-building:hover {
  transform: translateY(-2px);
  background: rgba(16, 18, 22, 0.36);
  border-color: rgba(243, 217, 181, 0.62);
}

.map-building span {
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff4e6;
}

.map-poi {
  position: absolute;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border-radius: 999px;
  background: #fff4e6;
  box-shadow: 0 0 0 8px rgba(255, 244, 230, 0.16);
  cursor: pointer;
}

.map-poi span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
}

.selection-sidebar {
  gap: 18px;
}

.selection-sidebar__head {
  display: grid;
  gap: 8px;
}

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

.option-card h2 {
  font-size: clamp(24px, 2.4vw, 30px);
}

.feature-card {
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.88fr);
  align-items: stretch;
  overflow: hidden;
}

.feature-card__copy {
  display: grid;
  align-content: center;
  gap: 20px;
}

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

.feature-stats div {
  background: rgba(159, 103, 52, 0.07);
  border: 1px solid var(--line);
}

.feature-card__visual {
  border-radius: 22px;
  overflow: hidden;
  min-height: 100%;
  background: linear-gradient(180deg, #ede0d0, #f8f1e8);
}

.feature-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.side-card {
  position: sticky;
  top: 100px;
}

.floor-choice-list,
.related-grid,
.summary-list,
.detail-specs {
  display: grid;
  gap: 12px;
}

.floor-choice-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.52);
}

.floor-choice-item:hover,
.floor-choice-item.is-active {
  border-color: rgba(159, 103, 52, 0.34);
  background: rgba(159, 103, 52, 0.08);
}

.floor-choice-item span {
  color: var(--muted);
  font-size: 13px;
}

.floor-choice-item strong {
  font-size: 18px;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) 320px;
  align-items: start;
  gap: 30px;
  padding: 30px;
}

.detail-hero__copy,
.detail-hero__aside {
  display: grid;
  gap: 18px;
}

.detail-hero__copy {
  align-content: start;
}

.detail-hero__copy h1 {
  font-size: clamp(30px, 3.2vw, 40px);
  line-height: 1.06;
}

.detail-hero__copy > p {
  max-width: 780px;
}

.detail-hero__chips {
  gap: 10px 12px;
}

.detail-hero .screen__actions {
  flex-wrap: wrap;
}

.detail-hero .status-pill {
  justify-self: start;
}

.detail-highlight {
  padding: 20px 22px;
  border-radius: 20px;
  background: var(--surface-contrast);
  color: #fff4e6;
  display: grid;
  gap: 8px;
}

.detail-highlight strong {
  font-size: clamp(22px, 1.9vw, 28px);
  line-height: 1.14;
}

.detail-highlight span,
.detail-summary__price span {
  color: rgba(255, 244, 230, 0.78);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: var(--space-4);
  align-items: start;
}

.detail-gallery__main {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(
    180deg,
    rgba(239, 227, 212, 0.68),
    rgba(255, 249, 242, 0.96)
  );
  aspect-ratio: 1.42 / 1;
}

.detail-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 28px;
}

.detail-gallery__nav {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  pointer-events: none;
}

.gallery-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(82, 62, 41, 0.16);
  border-radius: 999px;
  background: rgba(255, 250, 244, 0.92);
  color: var(--text);
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(36, 28, 19, 0.12);
  cursor: pointer;
  pointer-events: auto;
}

.gallery-nav-btn:hover,
.gallery-nav-btn:focus-visible {
  border-color: rgba(82, 62, 41, 0.28);
  background: var(--surface-contrast);
  color: #fff4e6;
}

.gallery-nav-btn:disabled {
  opacity: 0.42;
  cursor: default;
  pointer-events: none;
}

.thumb-btn {
  width: 92px;
  height: 74px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.78);
  cursor: pointer;
}

.thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.thumb-btn.is-active {
  border-color: rgba(159, 103, 52, 0.48);
  box-shadow: 0 0 0 4px rgba(159, 103, 52, 0.12);
}

.detail-description__lead {
  max-width: 760px;
}

.detail-specs {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.detail-specs div,
.summary-list div,
.related-item {
  padding: 16px 18px;
}

.detail-specs span,
.summary-list span,
.related-item span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
}

.detail-specs div,
.summary-list div {
  padding: 12px 14px;
}

.map-placeholder {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  padding: 28px;
  border-radius: 20px;
  background:
    linear-gradient(90deg, rgba(159, 103, 52, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(159, 103, 52, 0.08) 1px, transparent 1px),
    linear-gradient(135deg, #ece1d4 0%, #faf5ee 100%);
  background-size:
    42px 42px,
    42px 42px,
    auto;
  display: grid;
  place-items: center;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
}

.map-placeholder__label {
  position: relative;
  z-index: 1;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(250, 245, 238, 0.72);
}

.map-placeholder__pin {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 8px rgba(159, 103, 52, 0.12);
}

.map-compass {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 132px;
  aspect-ratio: 1;
  border: 1px solid rgba(159, 103, 52, 0.2);
  border-radius: 20px;
  background:
    linear-gradient(
      90deg,
      transparent calc(50% - 0.5px),
      rgba(159, 103, 52, 0.18) calc(50% - 0.5px) calc(50% + 0.5px),
      transparent calc(50% + 0.5px)
    ),
    linear-gradient(
      transparent calc(50% - 0.5px),
      rgba(159, 103, 52, 0.18) calc(50% - 0.5px) calc(50% + 0.5px),
      transparent calc(50% + 0.5px)
    ),
    rgba(255, 251, 245, 0.82);
  box-shadow: 0 12px 30px rgba(63, 36, 14, 0.08);
  backdrop-filter: blur(10px);
  pointer-events: none;
}

.map-compass__label {
  position: absolute;
  color: var(--accent-strong);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.map-compass__label--north {
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
}

.map-compass__label--east {
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
}

.map-compass__label--south {
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
}

.map-compass__label--west {
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
}

.map-compass__core {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 8px rgba(159, 103, 52, 0.12);
  transform: translate(-50%, -50%);
}

.detail-summary {
  position: sticky;
  top: 100px;
}

.detail-summary .summary-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.detail-summary .summary-list span {
  margin-bottom: 4px;
  font-size: 12px;
}

.detail-summary .summary-list strong {
  font-size: 14px;
  line-height: 1.2;
}

.detail-summary__price {
  display: grid;
  gap: 10px;
  padding: 20px 22px;
  border-radius: 20px;
  background: var(--surface-contrast);
  color: #fff4e6;
}

.detail-summary__price strong {
  max-width: none;
  font-size: clamp(18px, 1.3vw, 22px);
  line-height: 1.1;
}

.detail-summary__price span {
  font-size: 14px;
}

.lead-form {
  gap: 12px;
}

.related-item {
  position: relative;
  gap: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.54);
  color: var(--text);
}

.related-item:hover,
.related-item:focus-visible {
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 28px rgba(36, 28, 19, 0.08);
}

.related-item__building,
.related-item__price {
  margin-bottom: 0 !important;
}

.related-item__building {
  color: #8f6545 !important;
  font-size: 11px !important;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.related-item__price {
  color: var(--text) !important;
  font-size: 15px !important;
  font-weight: 800;
}

.related-item__action {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  justify-self: start;
  min-height: 34px;
  margin: 2px 0 0 !important;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--surface-contrast);
  color: #fff4e6 !important;
  font-size: 12px !important;
  font-weight: 800;
}

.detail-reservation-note {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(
    180deg,
    rgba(255, 247, 237, 0.82),
    rgba(255, 251, 245, 0.94)
  );
  border: 1px solid rgba(210, 169, 112, 0.22);
}

.detail-reservation-note strong {
  font-size: 1rem;
}

.detail-reservation-note p {
  margin: 0;
  color: var(--muted);
}

.plan-card {
  gap: 22px;
}

.plan-card__head {
  align-items: start;
}

.plan-stage {
  position: relative;
  overflow: hidden;
  min-height: 640px;
  border-radius: 22px;
  background: linear-gradient(180deg, #efe3d4 0%, #faf5ee 100%);
}

.plan-image {
  height: 100%;
  object-fit: contain;
}

.plan-overlay {
  position: absolute;
  inset: 0;
  height: 100%;
}

.plan-zone {
  cursor: pointer;
  stroke: rgba(255, 249, 242, 0.96);
  stroke-width: 3;
  opacity: 0.84;
  transition:
    opacity 180ms ease,
    stroke-width 180ms ease,
    filter 180ms ease;
}

.plan-zone:hover,
.plan-zone-link:focus-visible .plan-zone {
  opacity: 1;
  stroke-width: 4;
  filter: brightness(1.03);
}

.plan-zone-link {
  cursor: pointer;
}

.plan-zone-link:focus-visible {
  outline: none;
}

.plan-zone-label {
  display: none;
}

.plan-apartment-panel,
.plan-apartment-panel__head,
.plan-apartment-list,
.plan-apartment-card__body {
  display: grid;
}

.plan-apartment-panel {
  gap: 18px;
}

.plan-apartment-panel__head {
  gap: 8px;
}

.plan-apartment-panel__head p {
  font-size: 14px;
}

.plan-apartment-list {
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 14px;
}

.plan-apartment-card {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 14px;
  min-height: 164px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(
    180deg,
    rgba(255, 253, 249, 0.96),
    rgba(255, 248, 240, 0.86)
  );
  box-shadow: 0 14px 30px rgba(36, 28, 19, 0.07);
}

.plan-apartment-card__media {
  display: block;
  overflow: hidden;
  min-height: 136px;
  border-radius: var(--radius-md);
  background: var(--bg-soft);
}

.plan-apartment-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.plan-apartment-card__body {
  min-width: 0;
  gap: 8px;
  align-content: start;
}

.plan-apartment-card__body h3 {
  margin-top: 4px;
  font-size: 18px;
  line-height: 1.1;
}

.plan-apartment-card__body p {
  font-size: 13px;
  line-height: 1.35;
}

.plan-apartment-card__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.plan-apartment-card__facts span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(73, 56, 42, 0.08);
  color: #46382f;
  font-size: 12px;
  font-weight: 700;
}

.plan-apartment-card__price {
  color: var(--accent-strong);
  font-size: 14px;
}

.plan-apartment-card__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.plan-apartment-card__favorite {
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  padding: 0;
  border-radius: 999px;
}

.plan-apartment-card__actions .btn {
  min-height: 36px;
  padding-inline: 14px;
  font-size: 12px;
}

.empty-state {
  max-width: 760px;
  margin: var(--space-7) auto 0;
  text-align: center;
  justify-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

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

.btn:active {
  transform: scale(0.98);
}

.btn:disabled,
.btn.is-disabled {
  opacity: 0.56;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn.is-loading {
  pointer-events: none;
}

.btn.is-loading::after {
  content: "";
  width: 14px;
  height: 14px;
  margin-left: 10px;
  border-radius: 999px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  animation: spin 0.7s linear infinite;
}

.btn-primary {
  background: var(--surface-contrast);
  color: #fff4e6;
  box-shadow: 0 12px 26px rgba(31, 29, 26, 0.14);
}

.btn-primary:hover {
  background: #151311;
}

.btn-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.56);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.82);
}

.btn-secondary--ghost {
  border-color: rgba(255, 247, 237, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fff7ed;
}

.btn-secondary--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 247, 237, 0.32);
}

.btn-block {
  width: 100%;
}

.mobile-cta {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 249, 242, 0.94);
  box-shadow: 0 14px 32px rgba(36, 28, 19, 0.12);
}

.mobile-cta small {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
}

.mobile-cta strong {
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}

.preview-float {
  position: fixed;
  z-index: 100;
  min-width: 220px;
  max-width: 300px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 249, 242, 0.98);
  box-shadow: 0 16px 36px rgba(36, 28, 19, 0.13);
  pointer-events: none;
}

.preview-float strong {
  display: block;
  margin-bottom: 6px;
  font-size: 17px;
  font-weight: 700;
}

.preview-float span,
.preview-float small {
  display: block;
  color: var(--muted);
}

.preview-float em {
  display: inline-flex;
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-style: normal;
  font-weight: 700;
}

.success-banner {
  gap: 4px;
  padding: 18px 22px;
  border-color: rgba(45, 127, 95, 0.16);
  background: linear-gradient(
    180deg,
    rgba(244, 255, 250, 0.94),
    rgba(255, 255, 255, 0.88)
  );
}

body.page-facade-explorer {
  background: linear-gradient(180deg, #bab0a8 0%, #cfc6bf 100%);
}

.page-facade-explorer .preview-float {
  display: none;
}

.facade-explorer {
  --facade-panel-width: clamp(360px, 28vw, 430px);
  --facade-panel-track: var(--facade-panel-width);
  position: relative;
  display: grid;
  grid-template-columns: var(--facade-panel-track) minmax(0, 1fr);
  min-height: 100svh;
  overflow: hidden;
  transition: grid-template-columns 260ms ease;
}

.facade-explorer.is-panel-collapsed {
  --facade-panel-track: 0px;
}

.facade-panel {
  position: relative;
  z-index: 2;
  width: var(--facade-panel-width);
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 26px 28px 30px;
  background: linear-gradient(
    180deg,
    rgba(245, 238, 230, 0.96),
    rgba(236, 228, 220, 0.92)
  );
  border-right: 1px solid rgba(86, 61, 41, 0.16);
  overflow-y: auto;
  overscroll-behavior: contain;
  transition:
    transform 260ms ease,
    opacity 180ms ease,
    visibility 180ms ease;
}

.facade-explorer.is-panel-collapsed .facade-panel {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(calc(-1 * (var(--facade-panel-width) + 32px)));
}

.facade-panel__top,
.facade-panel__actions,
.facade-filter-bar,
.facade-filter-actions,
.facade-panel__meta,
.facade-result-card__meta,
.facade-stage__topbar,
.facade-stage__switcher,
.facade-popup__head,
.facade-popup__facts,
.facade-stage__controls {
  display: flex;
  align-items: center;
}

.facade-panel__top,
.facade-filter-bar,
.facade-panel__meta,
.facade-stage__topbar,
.facade-popup__head {
  justify-content: space-between;
}

.facade-panel__brand,
.facade-panel__intro,
.facade-filter-form,
.facade-filter-grid,
.facade-results,
.facade-results__empty,
.facade-stage,
.facade-stage__visual,
.facade-popup,
.facade-popup__body {
  display: grid;
}

.facade-panel__brand {
  gap: 4px;
}

.facade-brand {
  color: var(--text);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.facade-panel__brand span {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.facade-panel-toggle {
  position: absolute;
  top: 50%;
  left: calc(var(--facade-panel-track) - 20px);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-height: 68px;
  padding: 0 12px;
  border: 1px solid rgba(255, 247, 237, 0.18);
  border-radius: 14px;
  background: rgba(33, 27, 22, 0.84);
  color: #fff7ed;
  box-shadow: 0 14px 30px rgba(16, 12, 10, 0.2);
  backdrop-filter: blur(18px);
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    left 260ms ease,
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease,
    padding 180ms ease;
}

.facade-panel-toggle:hover,
.facade-panel-toggle:focus-visible {
  border-color: rgba(255, 247, 237, 0.34);
  background: rgba(43, 35, 29, 0.92);
  transform: translateY(-50%) translateX(2px);
  box-shadow: 0 18px 38px rgba(16, 12, 10, 0.24);
}

.facade-panel-toggle__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}

.facade-panel-toggle__label {
  max-width: 0;
  overflow: hidden;
  color: #f5eadf;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transition:
    max-width 180ms ease,
    opacity 180ms ease,
    margin-left 180ms ease;
}

.facade-explorer.is-panel-collapsed .facade-panel-toggle {
  left: 18px;
  padding-right: 16px;
}

.facade-explorer.is-panel-collapsed .facade-panel-toggle__label {
  max-width: 84px;
  margin-left: 8px;
  opacity: 1;
}

.facade-panel__actions,
.facade-filter-actions,
.facade-stage__switcher,
.facade-stage__controls {
  gap: 10px;
}

.facade-action-btn,
.facade-stage__switcher a,
.facade-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(76, 56, 40, 0.12);
  background: rgba(255, 251, 246, 0.76);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease,
    color 180ms ease;
}

.facade-panel__actions .facade-action-btn {
  min-width: 52px;
}

.facade-action-btn:hover,
.facade-stage__switcher a:hover,
.facade-nav-btn:hover {
  border-color: rgba(76, 56, 40, 0.2);
  background: rgba(255, 255, 255, 0.92);
  transform: translateY(-1px);
}

.facade-action-btn.is-active,
.facade-stage__switcher a.is-active {
  border-color: rgba(255, 245, 234, 0.12);
  background: rgba(39, 31, 25, 0.92);
  color: #fff7ed;
}

.facade-panel__intro {
  gap: 10px;
}

.facade-panel__eyebrow {
  color: #8f6545;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.facade-panel__intro h1 {
  margin: 0;
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.facade-panel__intro p {
  margin: 0;
  max-width: 34ch;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.facade-filter-form {
  gap: 14px;
}

.facade-filter-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.facade-filter-grid label {
  display: grid;
  gap: 8px;
}

.facade-filter-grid span {
  color: #6f6055;
  font-size: 12px;
  font-weight: 700;
}

.facade-filter-bar {
  gap: 12px;
}

.facade-filter-note {
  display: grid;
  gap: 2px;
  color: var(--muted);
  font-size: 12px;
}

.facade-filter-note strong {
  color: var(--text);
  font-size: 20px;
}

.facade-panel__meta {
  gap: 16px;
  padding-top: 6px;
}

.facade-panel__meta > div {
  display: grid;
  gap: 4px;
}

.facade-panel__meta-label {
  color: #7f7066;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.facade-panel__meta strong {
  font-size: 18px;
  line-height: 1;
}

.facade-results {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.facade-result-card {
  display: grid;
  gap: 9px;
  align-content: start;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid rgba(101, 76, 56, 0.14);
  background: rgba(255, 250, 244, 0.82);
  color: var(--text);
  text-decoration: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.facade-result-card:hover,
.facade-result-card:focus-visible,
.facade-result-card.is-active {
  transform: translateY(-2px);
  border-color: rgba(118, 82, 52, 0.26);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 28px rgba(36, 26, 18, 0.1);
}

.facade-result-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 0.84;
  border-radius: 14px;
  background: linear-gradient(
    180deg,
    rgba(246, 239, 230, 0.96),
    rgba(237, 229, 220, 0.94)
  );
}

.facade-result-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.facade-result-card__media .status-pill {
  position: absolute;
  left: 8px;
  bottom: 8px;
  min-height: 28px;
  padding: 0 10px;
  font-size: 11px;
}

.facade-result-card__body {
  display: grid;
  gap: 5px;
}

.facade-result-card__type {
  color: #8f6545;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.facade-result-card__body strong {
  font-size: 14px;
  line-height: 1;
  text-transform: capitalize;
}

.facade-result-card__body > span {
  color: var(--muted);
  font-size: 12px;
}

.facade-result-card__meta {
  gap: 10px;
  color: #58483e;
  font-size: 12px;
  font-weight: 600;
}

.facade-result-card__price {
  font-size: 13px;
  font-weight: 800;
}

.facade-results__empty {
  grid-column: 1 / -1;
  gap: 12px;
  padding: 20px;
  border-radius: 18px;
  background: rgba(255, 250, 244, 0.88);
  border: 1px solid rgba(101, 76, 56, 0.14);
}

.facade-results__empty p {
  margin: 0;
  color: var(--muted);
}

.facade-stage {
  position: relative;
  min-width: 0;
  background:
    radial-gradient(
      circle at top center,
      rgba(157, 191, 255, 0.48),
      transparent 34%
    ),
    linear-gradient(180deg, #92a6d1 0%, #6d7b98 38%, #47556e 100%);
}

.facade-stage__topbar {
  position: absolute;
  top: 28px;
  left: 28px;
  right: 28px;
  z-index: 3;
  gap: 12px;
}

.facade-stage__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(82, 62, 41, 0.16);
  border-radius: 12px;
  background: rgba(255, 250, 244, 0.92);
  color: #2c241f;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-shadow: none;
  box-shadow: 0 8px 22px rgba(36, 28, 19, 0.08);
  pointer-events: none;
}

.facade-stage__badge span {
  color: #8f6545;
}

.facade-stage__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100svh;
  overflow: hidden;
  padding: 0;
}

.facade-stage__veil,
.facade-stage__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.facade-stage__veil {
  background:
    linear-gradient(
      180deg,
      rgba(9, 12, 18, 0.14) 0%,
      rgba(10, 12, 16, 0.24) 55%,
      rgba(8, 9, 12, 0.38) 100%
    ),
    linear-gradient(
      90deg,
      rgba(14, 15, 20, 0.2) 0%,
      transparent 24%,
      transparent 76%,
      rgba(14, 15, 20, 0.18) 100%
    );
}

.facade-stage__glow {
  background:
    radial-gradient(
      circle at 18% 16%,
      rgba(255, 236, 210, 0.62),
      transparent 26%
    ),
    radial-gradient(
      circle at 72% 72%,
      rgba(255, 178, 88, 0.18),
      transparent 28%
    );
}

.facade-stage__scene {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.facade-stage__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: fill;
  transition: opacity 180ms ease;
}

.facade-building-labels,
.facade-zone-layer {
  position: absolute;
  inset: 0;
}

.facade-building-labels {
  display: none;
}

.facade-building-label {
  position: absolute;
  display: inline-flex;
  justify-content: center;
  color: rgba(255, 247, 237, 0.84);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 10px 24px rgba(10, 11, 14, 0.38);
}

.facade-building-label.is-active {
  color: #fff7ed;
}

.facade-zone-layer {
  z-index: 3;
}

.facade-zone {
  position: absolute;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 6px;
  border-radius: 10px;
  border: 1px solid rgba(255, 248, 240, 0.16);
  background: rgba(255, 245, 232, 0.04);
  box-shadow: inset 0 0 0 1px rgba(255, 248, 240, 0.04);
  color: rgba(255, 250, 244, 0.64);
  cursor: pointer;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    visibility 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.facade-zone.is-filtered-out {
  visibility: hidden;
  pointer-events: none;
}

.facade-zone__marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  min-height: 26px;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(25, 22, 20, 0.58);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.92);
  transform-origin: top right;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.facade-zone:hover,
.facade-zone:focus-visible,
.facade-zone.is-active {
  color: #fff7ed;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(13, 12, 18, 0.14);
}

.facade-zone.is-available:hover,
.facade-zone.is-available:focus-visible,
.facade-zone.is-available.is-active {
  border-color: rgba(117, 225, 167, 0.82);
  background: rgba(66, 167, 119, 0.44);
}

.facade-zone.is-reserved:hover,
.facade-zone.is-reserved:focus-visible,
.facade-zone.is-reserved.is-active {
  border-color: rgba(255, 213, 137, 0.82);
  background: rgba(191, 138, 44, 0.48);
}

.facade-zone.is-sold:hover,
.facade-zone.is-sold:focus-visible,
.facade-zone.is-sold.is-active {
  border-color: rgba(255, 171, 159, 0.84);
  background: rgba(181, 95, 82, 0.52);
}

.facade-zone:hover .facade-zone__marker,
.facade-zone:focus-visible .facade-zone__marker,
.facade-zone.is-active .facade-zone__marker {
  opacity: 1;
  transform: scale(1);
}

.facade-zone-tooltip {
  position: absolute;
  z-index: 4;
  display: grid;
  gap: 3px;
  min-width: 132px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(31, 27, 23, 0.9);
  color: #fff7ed;
  box-shadow: 0 12px 26px rgba(13, 12, 18, 0.18);
  pointer-events: none;
  transform: translate(12px, -50%);
}

.facade-zone-tooltip[hidden] {
  display: none;
}

.facade-zone-tooltip strong {
  font-size: 12px;
  line-height: 1;
}

.facade-zone-tooltip span {
  color: #ffd589;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
}

.facade-zone-tooltip[data-status="available"] span {
  color: #74f0b1;
}

.facade-zone-tooltip[data-status="sold"] span {
  color: #ff9a8f;
}

.facade-popup {
  position: absolute;
  z-index: 5;
  width: min(428px, calc(100% - 32px));
  grid-template-columns: 152px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(245, 239, 231, 0.96);
  border: 1px solid rgba(255, 249, 241, 0.36);
  box-shadow: 0 18px 44px rgba(10, 11, 14, 0.2);
  backdrop-filter: blur(16px);
}

.facade-popup[hidden] {
  display: none;
}

.facade-popup__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(51, 42, 34, 0.12);
  color: #372c24;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.facade-popup__media {
  display: grid;
  align-items: center;
  overflow: hidden;
  min-height: 172px;
  padding: 10px;
  border-radius: 16px;
  background: linear-gradient(
    180deg,
    rgba(248, 242, 234, 0.98),
    rgba(235, 227, 217, 0.94)
  );
  box-shadow: inset 0 0 0 1px rgba(255, 250, 244, 0.5);
}

.facade-popup__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  aspect-ratio: 1.02;
}

.facade-popup__body {
  display: grid;
  gap: 14px;
  min-width: 0;
  padding-right: 34px;
  align-content: start;
}

.facade-popup__eyebrow {
  color: #7d6858;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.facade-popup__head {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 10px;
}

.facade-popup__head h2 {
  margin: 4px 0 0;
  font-size: 24px;
  line-height: 0.98;
  letter-spacing: -0.05em;
  min-width: 0;
  overflow-wrap: anywhere;
}

.facade-popup__head .status-pill {
  justify-self: start;
  max-width: 100%;
  min-height: 34px;
  padding-inline: 12px;
  white-space: normal;
  text-align: center;
  line-height: 1.1;
}

.facade-popup__body p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.facade-popup__facts {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.facade-popup__facts span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(73, 56, 42, 0.08);
  color: #45362d;
  font-size: 13px;
  font-weight: 700;
}

.facade-popup__price {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.facade-popup .btn {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.facade-stage__controls {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 4;
  padding: 12px;
  border-radius: 18px;
  background: rgba(233, 227, 220, 0.18);
  backdrop-filter: blur(16px);
  transform: translateX(-50%);
}

.facade-nav-btn {
  min-width: 52px;
  min-height: 52px;
  padding: 0;
  border: 0;
}

.facade-nav-btn--ambient {
  background: rgba(255, 252, 248, 0.18);
  color: #fff7ed;
}

.facade-nav-btn--ambient:hover,
.facade-nav-btn--ambient:focus-visible {
  background: rgba(39, 31, 25, 0.82);
  color: #fff7ed;
}

@media (min-width: 981px) {
  body.page-facade-explorer {
    overflow: hidden;
  }

  .facade-explorer,
  .facade-panel,
  .facade-stage {
    height: 100svh;
    max-height: 100svh;
  }

  .facade-stage__visual {
    height: 100%;
    min-height: 100%;
  }
}

@media (max-width: 1200px) {
  .facade-explorer {
    --facade-panel-width: clamp(320px, 32vw, 390px);
  }

  .facade-results {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .facade-explorer {
    --facade-panel-track: 1fr;
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .facade-explorer.is-panel-collapsed {
    --facade-panel-track: 1fr;
  }

  .facade-stage {
    min-height: 74svh;
    order: -1;
  }

  .facade-stage__visual {
    min-height: 74svh;
    padding: 0;
  }

  .facade-panel {
    width: auto;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    border-right: 0;
    border-top: 1px solid rgba(86, 61, 41, 0.16);
  }

  .facade-explorer.is-panel-collapsed .facade-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .facade-panel-toggle {
    display: none;
  }
}

@media (max-width: 720px) {
  .facade-panel,
  .facade-stage__topbar {
    padding-left: 18px;
    padding-right: 18px;
  }

  .facade-panel {
    padding-top: 20px;
    padding-bottom: 24px;
  }

  .facade-panel__top,
  .facade-filter-bar,
  .facade-panel__meta,
  .facade-stage__topbar,
  .facade-popup__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .facade-panel__actions,
  .facade-stage__switcher {
    flex-wrap: wrap;
  }

  .facade-filter-grid,
  .facade-results {
    grid-template-columns: 1fr;
  }

  .facade-stage__visual {
    min-height: 82svh;
    padding: 0;
  }

  .facade-building-label {
    font-size: 13px;
  }

  .facade-popup {
    left: 16px !important;
    right: 16px;
    top: auto !important;
    bottom: 78px;
    width: auto;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
  }

  .facade-popup__body {
    padding-right: 0;
  }

  .facade-popup__media {
    min-height: 176px;
  }

  .facade-popup__media img {
    aspect-ratio: 1.48;
  }

  .facade-stage__controls {
    bottom: 18px;
  }
}

.form-error {
  color: var(--danger);
  font-size: 13px;
}

.media-skeleton {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #ece1d4 25%, #faf4ec 50%, #ece1d4 75%);
  background-size: 200% 100%;
  animation: shimmer 1.2s ease-in-out infinite;
}

.media-skeleton img {
  opacity: 0;
}

.media-skeleton.is-loaded {
  animation: none;
  background: transparent;
}

.media-skeleton.is-loaded img {
  opacity: 1;
}

body.js-enhanced [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 360ms ease,
    transform 360ms ease;
}

body.js-enhanced [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.btn-small,
.btn-compact {
  min-height: 40px;
  padding-inline: 14px;
  font-size: 13px;
}

.favorites-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 86;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(255, 250, 244, 0.64);
  border-radius: 999px;
  background: rgba(31, 29, 26, 0.92);
  color: #fffaf4;
  box-shadow: 0 14px 34px rgba(36, 28, 19, 0.16);
  backdrop-filter: blur(14px);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.favorites-float:hover,
.favorites-float:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(36, 28, 19, 0.2);
}

.favorites-float span {
  font-size: 20px;
  line-height: 1;
}

.favorites-float strong {
  min-width: 24px;
  min-height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #fffaf4;
  color: var(--surface-contrast);
  font-size: 12px;
}

body:has(.mobile-cta) .favorites-float {
  bottom: 108px;
}

.favorite-inline-btn {
  gap: 8px;
}

.ux-modal[hidden],
.ux-toast[hidden],
.recently-viewed__empty[hidden],
.favorites-empty[hidden] {
  display: none;
}

body.is-modal-open {
  overflow: hidden;
}

.ux-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
}

.ux-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 20, 17, 0.46);
  backdrop-filter: blur(8px);
}

.ux-modal__panel {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: min(720px, calc(100svh - 40px));
  overflow: auto;
  display: grid;
  gap: 20px;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid rgba(82, 62, 41, 0.12);
  border-radius: var(--radius-xl);
  background: linear-gradient(
    180deg,
    rgba(255, 253, 249, 0.98),
    rgba(255, 248, 240, 0.96)
  );
  box-shadow: 0 24px 68px rgba(23, 18, 14, 0.22);
}

.ux-modal__close,
.ux-toast__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  cursor: pointer;
}

.ux-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
}

.ux-modal__head {
  display: grid;
  gap: 10px;
  padding-right: 46px;
}

.ux-modal__head h2 {
  font-size: clamp(28px, 4vw, 38px);
}

.ux-modal__head p {
  font-size: 15px;
  line-height: 1.65;
}

.ux-modal__form {
  gap: 14px;
}

.form-error.is-success {
  color: var(--success);
}

.ux-toast {
  position: fixed;
  left: 50%;
  bottom: 88px;
  z-index: 88;
  width: min(560px, calc(100% - 32px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(255, 250, 244, 0.66);
  border-radius: var(--radius-lg);
  background: rgba(255, 250, 244, 0.98);
  box-shadow: 0 16px 42px rgba(36, 28, 19, 0.14);
  transform: translateX(-50%);
}

.ux-toast p {
  font-size: 14px;
  line-height: 1.45;
}

.ux-toast__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.favorites-hero,
.favorites-board,
.recently-viewed {
  display: grid;
  gap: clamp(18px, 3vw, 28px);
  padding: clamp(22px, 4vw, 38px);
}

.favorites-hero {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.favorites-hero h1 {
  max-width: 11ch;
}

.favorites-hero p {
  max-width: 720px;
  font-size: clamp(15px, 1vw, 17px);
}

.favorites-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.favorites-list,
.recently-viewed__list {
  display: grid;
  gap: 16px;
}

.favorites-list {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.recently-viewed__list {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.recently-viewed--strip {
  overflow: hidden;
}

.recently-viewed--strip .section-head {
  padding-right: 10px;
}

.recently-viewed__controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.recently-viewed__controls[hidden] {
  display: none;
}

.recently-viewed__nav {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 244, 0.9);
  color: var(--text);
  box-shadow: 0 8px 20px rgba(36, 28, 19, 0.08);
  cursor: pointer;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
}

.recently-viewed__nav:hover,
.recently-viewed__nav:focus-visible {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  background: #fffaf4;
}

.recently-viewed--strip .recently-viewed__list {
  display: flex;
  grid-template-columns: none;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 4px 10px;
  scroll-padding-inline: 4px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.recently-viewed--strip .recently-viewed__list::-webkit-scrollbar {
  height: 8px;
}

.recently-viewed--strip .recently-viewed__list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(82, 62, 41, 0.18);
}

.recently-viewed--strip .stored-unit-card {
  flex: 0 0 min(348px, calc(100vw - 72px));
  grid-template-columns: 108px minmax(0, 1fr);
  min-height: 148px;
  padding: 14px;
  gap: 14px;
  scroll-snap-align: start;
}

.recently-viewed--strip .stored-unit-card img {
  width: 108px;
  height: 120px;
}

.recently-viewed--strip .stored-unit-card__body {
  gap: 7px;
  align-content: start;
}

.recently-viewed--strip .stored-unit-card__body strong {
  font-size: 15px;
}

.recently-viewed--strip .stored-unit-card__body > span {
  font-size: 12px;
}

.recently-viewed--strip .stored-unit-card__price {
  font-size: 13px !important;
}

.recently-viewed--strip .stored-unit-card__actions .btn {
  flex: 0 0 auto;
  min-height: 32px;
  min-width: 0;
  padding-inline: 11px;
  font-size: 12px;
}

.detail-layout + .recently-viewed--strip {
  margin-top: var(--space-2);
}

.favorites-empty,
.recently-viewed__empty {
  padding: 18px 20px;
  border: 1px dashed rgba(82, 62, 41, 0.18);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.46);
  font-size: 15px;
  line-height: 1.6;
}

.stored-unit-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 16px;
  min-height: 148px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(
    180deg,
    rgba(255, 253, 249, 0.94),
    rgba(255, 248, 240, 0.82)
  );
  box-shadow: 0 12px 28px rgba(36, 28, 19, 0.06);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.stored-unit-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: 0 16px 34px rgba(36, 28, 19, 0.1);
}

.stored-unit-card img {
  width: 112px;
  height: 120px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
}

.stored-unit-card__body {
  min-width: 0;
  display: grid;
  gap: 8px;
  align-content: start;
}

.stored-unit-card__body strong,
.stored-unit-card__body span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.stored-unit-card__body > span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.stored-unit-card__price {
  color: var(--accent-strong) !important;
  font-size: 15px !important;
  font-weight: 800;
}

.stored-unit-card__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 4px;
}

.stored-unit-card__actions .btn {
  flex: 1 1 auto;
  justify-content: center;
  min-width: 104px;
}

.detail-gallery__lightbox-link {
  display: block;
  height: 100%;
  color: inherit;
}

.detail-gallery__lightbox-link img {
  cursor: zoom-in;
}

.image-lightbox[hidden] {
  display: none;
}

body.is-lightbox-open {
  overflow: hidden;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9;
  display: grid;
  place-items: center;
  width: 100vw;
  height: 100vh;
  padding: 0;
}

.image-lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background:
    radial-gradient(circle at center, rgba(50, 39, 32, 0.24), transparent 42%),
    rgba(11, 10, 9, 0.88);
  backdrop-filter: blur(10px);
  cursor: zoom-out;
}

.image-lightbox__stage {
  position: relative;
  z-index: 1;
  width: min(92vw, 1440px);
  height: min(88vh, 920px);
  display: flex;
  align-items: center;
  justify-content: center;
  place-items: center;
}

.image-lightbox__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 26px 86px rgba(0, 0, 0, 0.52);
  background: transparent;
}

.image-lightbox__close,
.image-lightbox__nav {
  position: absolute;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 250, 244, 0.42);
  border-radius: 999px;
  background: rgba(255, 250, 244, 0.94);
  color: var(--surface-contrast);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
  cursor: pointer;
}

.image-lightbox__close {
  position: fixed;
  top: clamp(14px, 2vw, 28px);
  right: clamp(14px, 2vw, 28px);
}

.image-lightbox__nav--prev {
  left: clamp(24px, 5vw, 88px);
}

.image-lightbox__nav--next {
  right: clamp(24px, 5vw, 88px);
}

.image-lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
}

body.is-embed .site-header {
  display: none;
}

body.is-embed .page {
  width: min(100%, calc(100% - 22px));
  padding-top: 18px;
}

body.is-embed .page-home {
  width: 100%;
  padding-top: 0;
}

body.is-embed .hero--immersive {
  min-height: 100svh;
}

@media (max-width: 1180px) {
  .hero__inner,
  .selection-layout,
  .screen__grid,
  .detail-layout,
  .catalog-layout,
  .catalog-hero,
  .detail-hero,
  .feature-card,
  .selection-strip {
    grid-template-columns: 1fr;
  }

  .filters-panel,
  .detail-summary,
  .side-card {
    position: static;
  }

  .hero--immersive {
    min-height: auto;
  }
}

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

  .hero-search,
  .hero__stats,
  .feature-stats,
  .selection-strip__steps {
    grid-template-columns: 1fr;
  }

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

  .section-head,
  .section-head--tight,
  .catalog-results__bar,
  .plan-card__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .masterplan-map,
  .plan-stage {
    min-height: 440px;
  }
}

@media (max-width: 720px) {
  .site-header__inner,
  .page,
  .page-shell,
  .hero__inner {
    width: min(100%, calc(100% - 20px));
  }

  .site-header__inner {
    min-height: 74px;
  }

  .brand-mark__name {
    font-size: 27px;
  }

  .detail-specs,
  .detail-summary .summary-list {
    grid-template-columns: 1fr;
  }

  .site-header__actions {
    gap: 8px;
  }

  .btn-header {
    display: none;
  }

  .hero__content,
  .hero__aside,
  .building-tile,
  .listing-card,
  .catalog-results__bar,
  .filters-panel,
  .detail-gallery,
  .detail-description,
  .detail-map,
  .detail-summary,
  .detail-related,
  .feature-card,
  .side-card,
  .plan-card,
  .catalog-hero,
  .option-card,
  .empty-state {
    padding: 20px;
  }

  .hero__lead {
    font-size: 16px;
  }

  .hero__content h1,
  .detail-hero__copy h1 {
    max-width: none;
    font-size: clamp(32px, 8vw, 42px);
  }

  .hero__actions,
  .screen__actions {
    width: 100%;
  }

  .hero__actions .btn,
  .screen__actions .btn {
    width: 100%;
  }

  .map-building span {
    font-size: 18px;
  }

  .thumb-btn {
    width: 78px;
    height: 64px;
  }

  .map-compass {
    right: 20px;
    bottom: 20px;
    width: 112px;
  }

  .mobile-cta {
    display: flex;
  }

  .favorites-float {
    right: 14px;
    min-height: 48px;
  }

  .ux-toast {
    align-items: flex-start;
    flex-direction: column;
    bottom: 74px;
  }

  .ux-toast__actions,
  .favorites-hero,
  .favorites-hero__actions {
    width: 100%;
  }

  .ux-toast__actions .btn,
  .favorites-hero__actions .btn {
    flex: 1;
  }

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

  .favorites-hero,
  .favorites-board,
  .recently-viewed {
    padding: 20px;
  }

  .favorites-list,
  .recently-viewed:not(.recently-viewed--strip) .recently-viewed__list {
    grid-template-columns: 1fr;
  }

  .recently-viewed--strip .recently-viewed__list {
    margin-inline: -4px;
  }

  .recently-viewed--strip .stored-unit-card {
    flex-basis: min(304px, calc(100vw - 52px));
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .recently-viewed--strip .stored-unit-card img {
    width: 96px;
    height: 108px;
  }

  .recently-viewed__controls {
    width: 100%;
    justify-content: flex-start;
  }

  .image-lightbox {
    padding: 0;
  }

  .image-lightbox__stage {
    width: 92vw;
    height: 82vh;
  }

  .image-lightbox__image {
    border-radius: var(--radius-sm);
  }

  .image-lightbox__nav {
    width: 40px;
    height: 40px;
  }

  .stored-unit-card {
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 12px;
    min-height: 0;
  }

  .stored-unit-card img {
    width: 86px;
    height: 92px;
  }

  .stored-unit-card__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .recently-viewed--strip .stored-unit-card__actions {
    display: flex;
  }

  .plan-apartment-list,
  .plan-apartment-card {
    grid-template-columns: 1fr;
  }

  .plan-apartment-card__media {
    min-height: 150px;
  }

  .ux-modal {
    align-items: end;
    padding: 12px;
  }

  .ux-modal__panel {
    width: 100%;
    max-height: calc(100svh - 24px);
    padding: 22px;
    border-radius: var(--radius-lg);
  }

  .ux-modal__head {
    padding-right: 42px;
  }

  body:not(.is-scrolled) .mobile-cta {
    display: none;
  }

  .page:has(.mobile-cta) {
    padding-bottom: calc(var(--space-8) + 112px);
  }
}

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

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

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

@keyframes hero-drift {
  from {
    transform: scale(1.02);
  }
  to {
    transform: scale(1.08);
  }
}
