:root {

  --bg: #ffffff;
  --bg-2: #faf7f2;
  --surface: #ffffff;
  --surface-2: #fdf6ea;
  --text: #101114;
  --text-2: rgba(16, 17, 20, 0.62);
  --text-3: rgba(16, 17, 20, 0.45);
  --line: #e6e0d8;
  --line-strong: rgba(16, 17, 20, 0.16);

  --accent: #f1bf5b;
  --accent-ink: #101114;
  --accent-soft: #fdf1e1;
  --accent-line: rgba(200, 162, 75, 0.45);
  --accent-text: #8a6a17;

  --band: #f0e0ca;
  --invert-bg: #101114;
  --invert-text: #ffffff;

  --ok: #1f9d5c;
  --warn: #d59b1f;
  --bad: #c93f3f;

  --available: rgba(3, 180, 62, 0.35);
  --available-strong: rgba(3, 180, 63, 0.8);
  --sold: rgba(255, 0, 0, 0.5);
  --reserved: rgba(241, 191, 91, 0.85);

  --shadow: 0 16px 40px rgba(16, 17, 20, 0.1);
  --scrim: linear-gradient(
    180deg,
    rgba(16, 17, 20, 0.55) 0%,
    rgba(16, 17, 20, 0.32) 45%,
    rgba(16, 17, 20, 0.78) 100%
  );

  --font: "FiraGO", -apple-system, "Segoe UI", sans-serif;
  --container: 1400px;
  --radius: 4px;
  --pill: 24px;
  --tr: 0.3s cubic-bezier(0.25, 0.8, 0.35, 1);

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #101114;
    --bg-2: #16181c;
    --surface: #191b20;
    --surface-2: #1f2128;
    --text: #f4f1ea;
    --text-2: rgba(244, 241, 234, 0.66);
    --text-3: rgba(244, 241, 234, 0.45);
    --line: rgba(244, 241, 234, 0.13);
    --line-strong: rgba(244, 241, 234, 0.26);

    --accent: #e6c87a;
    --accent-ink: #101114;
    --accent-soft: rgba(241, 191, 91, 0.12);
    --accent-line: rgba(230, 200, 122, 0.35);
    --accent-text: #e6c87a;

    --band: #17181c;
    --invert-bg: #f4f1ea;
    --invert-text: #101114;

    --ok: #3dd68c;
    --warn: #e6c87a;
    --bad: #e05656;

    --sold: rgba(224, 86, 86, 0.55);
    --reserved: rgba(230, 200, 122, 0.6);

    --shadow: 0 16px 40px rgba(0, 0, 0, 0.5);

    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #101114;
  --bg-2: #16181c;
  --surface: #191b20;
  --surface-2: #1f2128;
  --text: #f4f1ea;
  --text-2: rgba(244, 241, 234, 0.66);
  --text-3: rgba(244, 241, 234, 0.45);
  --line: rgba(244, 241, 234, 0.13);
  --line-strong: rgba(244, 241, 234, 0.26);

  --accent: #e6c87a;
  --accent-ink: #101114;
  --accent-soft: rgba(241, 191, 91, 0.12);
  --accent-line: rgba(230, 200, 122, 0.35);
  --accent-text: #e6c87a;

  --band: #17181c;
  --invert-bg: #f4f1ea;
  --invert-text: #101114;

  --ok: #3dd68c;
  --warn: #e6c87a;
  --bad: #e05656;

  --sold: rgba(224, 86, 86, 0.55);
  --reserved: rgba(230, 200, 122, 0.6);

  --shadow: 0 16px 40px rgba(0, 0, 0, 0.5);

  color-scheme: dark;
}

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 350;
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 0.25s ease, color 0.25s ease;
}

body.no-scroll {
  overflow: hidden;
}

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

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

ul {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

table {
  border-collapse: collapse;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.05;
  font-feature-settings: "case" on;
}

h1 {
  font-size: clamp(2.2rem, 5.2vw, 4rem);
}

h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.75rem);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 30px;
}

section {
  padding: 92px 0;
}

.alt {
  background: var(--bg-2);
}

.section-head {
  margin-bottom: 46px;
}

.eyebrow,
.section-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-2);
  font-weight: 500;
}

.section-head h2 {
  margin-top: 10px;
  padding-left: 22px;
  border-left: 10px solid var(--accent);
}

.sub {
  color: var(--text-2);
  max-width: 640px;
  margin-top: 14px;
}

.gold {
  color: var(--accent-text);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 34px;
  border-radius: var(--pill);
  border-top-right-radius: 0;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--tr);
  text-align: center;
}

.btn-gold {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn-gold:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-dark {
  background: var(--invert-bg);
  color: var(--invert-text);
}

.btn-dark:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-line {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}

.btn-line:hover {
  border-color: var(--accent);
  color: var(--accent-text);
  transform: translateY(-2px);
}

.btn-wa {
  background: #1fa855;
  color: #fff;
}

.btn-wa:hover {
  background: #25c15f;
  transform: translateY(-2px);
}

.btn-tg {
  background: #2aabee;
  color: #fff;
}

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

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(31, 157, 92, 0.5);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(31, 157, 92, 0.5);
  }
  70% {
    box-shadow: 0 0 0 11px rgba(31, 157, 92, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(31, 157, 92, 0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.nav {
  position: relative;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  transition: background 0.25s ease;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 112px;
  position: relative;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1 1 0;
  min-width: 0;

  padding-right: 150px;
}

.main-nav a,
.nav-right > a {
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
  transition: opacity var(--tr);
}

.main-nav a:hover,
.nav-right > a:hover {
  opacity: 0.55;
}

.home-btn {
  display: grid;
  place-items: center;
  width: 24px;
  flex-shrink: 0;
}

.brand {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: block;
  line-height: 0;
}

.brand img {
  width: 100%;
  height: auto;
}

.brand-nav {
  width: 240px;
}

.brand-footer {
  position: static;
  transform: none;
  width: 210px;
  margin-bottom: 18px;
}

:root[data-theme="dark"] .brand img {
  filter: brightness(1.55) saturate(0.92);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]):not([data-theme="dark"]) .brand img {
    filter: brightness(1.55) saturate(0.92);
  }
}

.nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex: 1 1 0;
  min-width: 0;
  padding-left: 150px;
}

.nav-right .sep {
  width: 1px;
  height: 22px;
  background: var(--line-strong);
}

.lang-switch {
  display: flex;
  gap: 2px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 3px;
}

.lang-switch button {
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-2);
  transition: var(--tr);
}

.lang-switch button:hover {
  color: var(--text);
}

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

.theme-toggle {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--text);
  transition: var(--tr);
  flex-shrink: 0;
}

.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent-text);
}

.theme-toggle svg {
  width: 17px;
  height: 17px;
}

.theme-toggle .i-sun {
  display: none;
}

:root[data-theme="dark"] .theme-toggle .i-sun {
  display: block;
}
:root[data-theme="dark"] .theme-toggle .i-moon {
  display: none;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]):not([data-theme="dark"]) .theme-toggle .i-sun {
    display: block;
  }
  :root:not([data-theme="light"]):not([data-theme="dark"]) .theme-toggle .i-moon {
    display: none;
  }
}

.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--text);
  box-shadow: 0 -5px 0 var(--text), 0 5px 0 var(--text);
}

.mobile-nav {
  border-top: 1px solid var(--line);
  padding: 6px 0 14px;
}

.mobile-nav .container {
  display: flex;
  flex-direction: column;
}

.mobile-nav a {
  padding: 13px 4px;
  font-size: 1.05rem;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}

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

.mobile-nav[hidden] {
  display: none;
}

.hero {
  position: relative;
  height: 560px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--scrim);
}

.hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: 54px;
}

.hero h1 {
  border-left: 20px solid var(--accent);
  padding-left: 25px;
}

.hero .tagline {
  margin-top: 14px;
  padding-left: 45px;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  max-width: 58ch;
  color: rgba(255, 255, 255, 0.85);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
  padding-left: 45px;
}

.hero-actions .btn-line {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.hero-actions .btn-line:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-panel {
  position: relative;
  z-index: 3;
  margin-top: -78px;
  margin-bottom: 92px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.hero-stats > div {
  position: relative;
  padding: 34px 30px 30px;
  border-left: 1px solid var(--line);
}

.hero-stats > div:first-child {
  border-left: 0;
}

.hero-stats > div::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.25, 0.8, 0.35, 1);
}

.hero-stats > div:hover::before {
  transform: scaleX(1);
}

.hero-stats b {
  display: block;
  font-size: clamp(2.4rem, 4.4vw, 3.4rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.hero-stats span {
  display: block;
  margin-top: 12px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
}

.hero-keys {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--accent-soft);
  border-top: 1px solid var(--line);
}

.hero-keys > span {
  position: relative;
  padding: 18px 30px;
  font-size: 0.92rem;
  font-weight: 500;
  border-left: 1px solid var(--line);
}

.hero-keys > span:first-child {
  border-left: 0;
}

.hero-keys > span::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 10px;
  vertical-align: 2px;
  background: var(--accent);
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
}

.live-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
  align-items: start;
}

.live-grid figure img {
  border: 1px solid var(--line);
}

.advisor {
  padding: 28px;
}

.advisor-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.advisor-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.advisor-head b {
  display: block;
  font-size: 1.05rem;
}

.advisor-head i {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-style: normal;
  font-size: 0.82rem;
  color: var(--ok);
}

.advisor-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.advisor-note {
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--text-2);
  text-align: center;
}

.apt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.apt-card {
  padding: 26px;
  display: flex;
  flex-direction: column;
  transition: var(--tr);
}

.apt-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.apt-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.tag-state {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
}

.tag-state.ready {
  background: transparent;
  border: 1px solid var(--accent-line);
  color: var(--accent-text);
}

.apt-tags .block {
  color: var(--text-3);
}

.apt-size {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 18px 0 14px;
  line-height: 1;
}

.apt-size sup {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-2);
  margin-left: 6px;
  vertical-align: super;
}

.apt-rows {
  border-top: 1px solid var(--line);
  margin-bottom: 22px;
}

.apt-rows div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}

.apt-rows dt {
  color: var(--text-2);
}

.apt-rows dd {
  font-weight: 700;
}

.apt-card .btn {
  margin-top: auto;
}

.merge-note {
  margin-top: 30px;
  padding: 24px;
  text-align: center;
  color: var(--text-2);
  background: var(--accent-soft);
  border-left: 6px solid var(--accent);
}

.merge-note b {
  color: var(--text);
}

.plan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.plan-card {
  overflow: hidden;
}

.plan-card img {
  width: 100%;
  cursor: zoom-in;
  background: #fff;
  transition: var(--tr);
}

.plan-card:hover img {
  opacity: 0.9;
}

.plan-card figcaption {
  padding: 20px 24px;
  border-top: 1px solid var(--line);
}

.plan-card h3 {
  font-size: 1.45rem;
}

.plan-card p {
  color: var(--text-2);
  font-size: 0.9rem;
  margin-top: 4px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(16, 17, 20, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: var(--tr);
}

.lightbox[data-open="true"] {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  background: #fff;
}

.lightbox .close {
  position: absolute;
  top: 22px;
  right: 26px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  color: #fff;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.calc-form,
.calc-results {
  padding: 30px;
}

.calc-field + .calc-field {
  margin-top: 26px;
}

.calc-field label {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.85rem;
  color: var(--text-2);
  margin-bottom: 10px;
}

.calc-field label b {
  color: var(--text);
}

.calc-field select {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  color: var(--text);
  font: inherit;
  outline: none;
}

.calc-field select:focus {
  border-color: var(--accent);
}

.calc-field input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
}

.calc-results div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.calc-results div:last-of-type {
  border-bottom: 0;
}

.calc-results dt {
  color: var(--text-2);
}

.calc-results dd {
  font-weight: 700;
}

.calc-results .highlight dd {
  font-size: 1.9rem;
  line-height: 1.1;
  color: var(--accent-text);
}

.mort-note {
  margin-top: 22px;
  padding: 18px 20px;
  background: var(--accent-soft);
  border-left: 6px solid var(--accent);
  color: var(--text-2);
  font-size: 0.9rem;
}

.mort-note b {
  color: var(--text);
}

.growth-table {
  width: 100%;
  font-size: 0.95rem;
}

.growth-table th,
.growth-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.growth-table th {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-2);
  font-weight: 700;
}

.growth-table td:not(:first-child) {
  font-weight: 700;
}

.growth-table tr.now td {
  background: var(--accent-soft);
}

.growth-table tr.now td:first-child::after {
  content: " ●";
  color: var(--ok);
}

.completion-row {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  background: var(--accent-soft);
  border-left: 6px solid var(--accent);
}

.completion-row b {
  font-size: 1.2rem;
}

.adv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.adv-grid li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  background: var(--surface);
  font-size: 0.92rem;
  transition: var(--tr);
}

.adv-grid li:hover {
  background: var(--accent-soft);
}

.adv-grid .ico {
  font-size: 1.3rem;
  line-height: 1;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.timeline li {
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--line-strong);
}

.timeline li[data-state="done"] {
  border-top-color: var(--ok);
}

.timeline li[data-state="active"] {
  border-top-color: var(--accent);
}

.timeline .badge {
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-text);
  font-weight: 700;
}

.timeline p {
  margin-top: 10px;
}

.faq-list {
  max-width: 880px;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  text-align: left;
  font-size: 1.15rem;
  font-weight: 700;
  transition: color 0.25s;
}

.faq-q:hover {
  color: var(--accent-text);
}

.faq-q .sign {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--accent-line);
  color: var(--accent-text);
  font-size: 1.05rem;
  line-height: 1;
  transition: var(--tr);
}

.faq-item[data-open="true"] .sign {
  transform: rotate(45deg);
  background: var(--accent);
  color: var(--accent-ink);
}

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--tr);
  color: var(--text-2);
}

.faq-item[data-open="true"] .faq-a {
  grid-template-rows: 1fr;
}

.faq-a > div {
  overflow: hidden;
}

.faq-a p {
  padding-bottom: 22px;
  max-width: 72ch;
}

.map-frame {
  margin-top: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 21 / 8;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

:root[data-theme="dark"] .map-frame iframe {
  filter: invert(0.92) hue-rotate(180deg) contrast(0.9);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .map-frame iframe {
    filter: invert(0.92) hue-rotate(180deg) contrast(0.9);
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 36px;
  align-items: start;
}

.contact-lines li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.contact-lines span {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-2);
  font-weight: 700;
}

.contact-lines a,
.contact-lines p {
  font-size: 1.1rem;
  font-weight: 500;
  margin-top: 5px;
}

.contact-lines a:hover {
  color: var(--accent-text);
}

.contact-channels {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.lead-form {
  padding: 30px;
}

.lead-form label {
  display: block;
  margin-bottom: 18px;
}

.lead-form label span {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
  font-weight: 700;
  margin-bottom: 8px;
}

.lead-form input,
.lead-form select {
  width: 100%;
  padding: 15px 16px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  color: var(--text);
  font: inherit;
  outline: none;
  transition: border-color 0.25s;
}

.lead-form input:focus,
.lead-form select:focus {
  border-color: var(--accent);
}

.lead-form .btn {
  width: 100%;
}

.form-note {
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--text-2);
}

.form-ok {
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--accent-soft);
  border-left: 6px solid var(--ok);
  font-size: 0.9rem;
}

.developer-row {
  margin-top: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--text-2);
  font-size: 0.9rem;
}

.developer-row b {
  color: var(--text);
}

.developer-row a {
  text-decoration: underline;
}

.site-footer {
  background: var(--band);
  padding: 60px 0 100px;
  border-top: 1px solid var(--line);
}

.site-footer .cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 40px;
}

.site-footer .muted-p {
  margin-top: 14px;
  max-width: 300px;
  color: var(--text-2);
  font-size: 0.9rem;
}

.site-footer h5 {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-2);
  font-weight: 500;
  margin-bottom: 14px;
}

.site-footer li + li {
  margin-top: 8px;
}

.site-footer li,
.site-footer a {
  font-size: 0.94rem;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer .bottom {
  margin-top: 46px;
  padding-top: 20px;
  border-top: 1px solid var(--line-strong);
  font-size: 0.86rem;
  color: var(--text-2);
}

.floatbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: none;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.floatbar .btn {
  flex: 1;
  padding: 13px 8px;
  font-size: 0.8rem;
}

.page-heading {
  padding-top: 50px;
}

.page-heading .back {
  font-size: 0.85rem;
  color: var(--text-2);
  text-decoration: underline;
  transition: color 0.25s;
}

.page-heading .back:hover {
  color: var(--text);
}

.page-heading .row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-top: 18px;
}

.page-heading .meta {
  border-left: 20px solid var(--accent);
  padding-left: 26px;
}

.page-heading .meta h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.page-heading .meta p {
  color: var(--text-2);
  margin-top: 10px;
  max-width: 62ch;
}

.page-heading .nmb {
  font-size: clamp(1.5rem, 3.4vw, 2.6rem);
  font-weight: 700;
  color: var(--text-3);
  text-transform: uppercase;
  white-space: nowrap;
}

.legend {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 26px;
  font-size: 0.9rem;
  color: var(--text-2);
}

.legend span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.legend i {
  width: 16px;
  height: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
}

.legend i.free {
  background: var(--available);
}
.legend i.reserved {
  background: var(--reserved);
}
.legend i.sold {
  background: var(--sold);
}

.imap {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--tr), transform var(--tr);
}

.imap[data-loaded="true"] {
  opacity: 1;
  transform: none;
}

.imap > img {
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}

.imap > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.imap polygon {
  fill: transparent;
  stroke: none;
  cursor: pointer;
  transition: fill var(--tr);
  outline: none;
}

.imap polygon.is-free:hover,
.imap polygon.is-free:focus-visible {
  fill: var(--available);
}

.imap[data-strong-hover="true"] polygon.is-free:hover,
.imap[data-strong-hover="true"] polygon.is-free:focus-visible {
  fill: var(--available-strong);
}

.imap polygon.is-sold {
  fill: var(--sold);
  cursor: default;
}

.imap polygon.is-reserved {
  fill: var(--reserved);
  cursor: default;
}

.imap[data-persist-status="false"] polygon.is-sold,
.imap[data-persist-status="false"] polygon.is-reserved {
  fill: transparent;
}

.imap[data-persist-status="false"] polygon.is-sold:hover {
  fill: var(--sold);
}

.imap[data-persist-status="false"] polygon.is-reserved:hover {
  fill: var(--reserved);
}

.imap-tooltip {
  position: absolute;
  z-index: 5;
  transform: translate(-50%, calc(-100% - 14px));
  background: var(--invert-bg);
  color: var(--invert-text);
  border-radius: 10px;
  padding: 12px 15px;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.imap-tooltip[data-show="true"] {
  opacity: 1;
}

.imap-tooltip::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-top-color: var(--invert-bg);
  border-bottom: 0;
}

.floor-switcher {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 34px 0 22px;
}

.switcher-box {
  display: flex;
  align-items: center;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 30px;
  overflow: hidden;
}

.switcher-box button {
  padding: 15px 20px;
  display: grid;
  place-items: center;
  color: var(--text);
  transition: var(--tr);
}

.switcher-box button:hover:not(:disabled) {
  background: var(--accent);
  color: var(--accent-ink);
}

.switcher-box button:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}

.switcher-box button svg {
  width: 14px;
  height: 14px;
}

.switcher-box .current-floor {
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0 14px;
  min-width: 190px;
  text-align: center;
}

.floor-switcher .count {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-2);
}

.block-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.block-tabs button {
  padding: 10px 26px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-2);
  transition: var(--tr);
}

.block-tabs button:hover {
  color: var(--text);
  border-color: var(--accent);
}

.block-tabs button[aria-pressed="true"] {
  background: var(--invert-bg);
  border-color: var(--invert-bg);
  color: var(--invert-text);
}

.building-layout {
  display: grid;
  grid-template-columns: 1fr 230px;
  gap: 40px;
  align-items: start;
  margin-top: 30px;
}

.floor-rail {
  position: sticky;
  top: 96px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  max-height: calc(100vh - 130px);
  overflow-y: auto;
}

.floor-rail h4 {
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-text);
  font-weight: 700;
  margin-bottom: 10px;
}

.floor-rail .rail-group + .rail-group {
  margin-top: 20px;
}

.floor-rail .rail-list {
  display: flex;
  flex-direction: column-reverse;
  gap: 3px;
}

.rail-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 8px 12px;
  font-size: 0.86rem;
  color: var(--text-2);
  transition: var(--tr);
}

.rail-item:hover,
.rail-item.is-active {
  background: var(--accent-soft);
  color: var(--text);
}

.rail-item .n {
  font-weight: 700;
  color: var(--text);
}

.rail-item .free {
  font-size: 0.76rem;
}

.rail-item[data-full="true"] .free {
  color: var(--bad);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 60px;
}

.stats > div {
  background: var(--surface);
  padding: 24px 22px;
}

.stats h5 {
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-2);
  font-weight: 700;
}

.stats p {
  font-size: 1.9rem;
  font-weight: 700;
  margin-top: 6px;
  line-height: 1.1;
}

.flat-table-wrap {
  margin-top: 50px;
  overflow-x: auto;
}

.flat-table {
  width: 100%;
  font-size: 0.92rem;
  min-width: 760px;
}

.flat-table th {
  text-align: left;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
  font-weight: 700;
  padding: 0 16px 12px;
  border-bottom: 1px solid var(--line-strong);
}

.flat-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.flat-table tbody tr {
  cursor: pointer;
  transition: background var(--tr);
}

.flat-table tbody tr:hover {
  background: var(--accent-soft);
}

.flat-table tbody tr[data-status="SOLD"] {
  cursor: default;
  color: var(--text-2);
}

.flat-table tbody tr[data-status="SOLD"]:hover {
  background: transparent;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 500;
}

.status-pill::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ok);
}

.status-pill[data-status="SOLD"]::before {
  background: var(--bad);
}

.status-pill[data-status="RESERVED"]::before {
  background: var(--warn);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: rgba(16, 17, 20, 0.72);
  backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal[data-open="true"] {
  opacity: 1;
  visibility: visible;
}

.modal-inner {
  position: relative;
  width: min(1140px, 100%);
  height: min(680px, calc(100vh - 60px));
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  transform: translateY(12px);
  transition: transform 0.25s ease;
}

.modal[data-open="true"] .modal-inner {
  transform: none;
}

.modal .body {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.modal .close-button {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 4;
  width: 48px;
  height: 48px;
  background: var(--invert-bg);
  color: var(--invert-text);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  transition: var(--tr);
}

.modal .close-button:hover {
  opacity: 0.8;
}

.modal .nmb {
  position: absolute;
  top: 22px;
  left: 26px;
  z-index: 3;
  font-size: 1.4rem;
  font-weight: 700;
}

.images-side {
  min-width: 52%;
  max-width: 52%;
  background: var(--surface-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 62px 26px 26px;
}

.images-side .stage {
  position: relative;
  width: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}

.images-side .stage img {
  max-width: 88%;
  max-height: 100%;
  object-fit: contain;
}

.images-side .stage .empty {
  color: var(--text-2);
  font-size: 0.9rem;
}

.images-side .nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  color: var(--text);
  transition: var(--tr);
}

.images-side .nav:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent-text);
}

.images-side .nav:disabled {
  opacity: 0.25;
  cursor: default;
}

.images-side .nav.prev {
  left: 0;
}
.images-side .nav.next {
  right: 0;
}

.images-side .thumbs {
  display: flex;
  gap: 10px;
  margin-top: 22px;
  flex-wrap: wrap;
  justify-content: center;
}

.images-side .thumbs img {
  width: 74px;
  height: 66px;
  object-fit: cover;
  opacity: 0.6;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--tr);
}

.images-side .thumbs img.active {
  opacity: 1;
  border-color: var(--accent);
}

.details-side {
  flex: 1;
  overflow-y: auto;
}

.details-in {
  padding: 34px 38px;
}

.details-in .heading {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.details-in .heading h5 {
  font-size: 1.9rem;
  font-weight: 700;
  text-transform: capitalize;
}

.details-in .heading .tag {
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--ok);
  color: #fff;
}

.details-in .heading .tag[data-status="SOLD"] {
  background: var(--bad);
}

.details-in .heading .tag[data-status="RESERVED"] {
  background: var(--accent);
  color: var(--accent-ink);
}

.other-details {
  margin-top: 24px;
}

.other-details .row-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.other-details .row-item h5 {
  font-size: 0.92rem;
  font-weight: 350;
  color: var(--text-2);
}

.other-details .row-item p {
  font-size: 0.92rem;
  font-weight: 700;
  text-align: right;
}

.other-details .break {
  height: 14px;
  border: 0;
}

.full-price {
  margin-top: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.full-price h3 {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
  font-weight: 700;
}

.full-price .amount {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent-text);
  margin-top: 8px;
  line-height: 1;
}

.full-price .old-price {
  font-size: 1.1rem;
  text-decoration: line-through;
  color: var(--text-2);
  margin-top: 8px;
}

.converter {
  display: flex;
  gap: 3px;
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 3px;
  flex-shrink: 0;
}

.converter button {
  width: 34px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--text-2);
  font-size: 0.9rem;
  font-weight: 700;
  transition: var(--tr);
}

.converter button.active {
  background: var(--invert-bg);
  color: var(--invert-text);
}

.info-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 26px;
  padding: 16px 18px;
  background: var(--accent-soft);
  border-left: 6px solid var(--accent);
  font-size: 0.88rem;
  color: var(--text-2);
}

.info-box .ico {
  color: var(--accent-text);
  font-size: 1.05rem;
  line-height: 1.3;
}

.details-in .btn {
  width: 100%;
  margin-top: 20px;
}

.prose {
  max-width: 760px;
  color: var(--text-2);
  margin-top: 40px;
}

.prose p + p {
  margin-top: 18px;
}

.notfound {
  text-align: center;
  padding: 130px 0 120px;
}

.notfound .code {
  display: block;
  font-size: clamp(4.5rem, 15vw, 9rem);
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
}

.notfound h1 {
  margin-top: 12px;
}

.notfound p {
  color: var(--text-2);
  margin-top: 12px;
}

.notfound .btn {
  margin-top: 30px;
}

.error-box {
  margin: 60px auto;
  max-width: 640px;
  padding: 28px;
  border: 1px solid var(--line-strong);
  background: var(--accent-soft);
  text-align: center;
}

@media (max-width: 1100px) {
  .live-grid,
  .calc-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .apt-grid,
  .adv-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .building-layout {
    grid-template-columns: 1fr;
  }
  .floor-rail {
    position: static;
    max-height: none;
  }
  .floor-rail .rail-list {
    flex-direction: row-reverse;
    flex-wrap: wrap-reverse;
    justify-content: center;
  }
  .rail-item {
    width: auto;
  }
  .stats,
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1200px) {
  .main-nav a,
  .nav-right > a,
  .nav-right .sep {
    display: none;
  }
  .nav-toggle {
    display: grid;
  }
  .main-nav,
  .nav-right {
    padding: 0;
  }
  .nav-inner {
    height: 74px;
  }
  .brand-nav {
    width: 176px;
  }
  .hero-keys,
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-stats > div:nth-child(-n + 2)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    border-bottom: 1px solid var(--line);
  }
  .hero-stats > div:nth-child(odd),
  .hero-keys > span:nth-child(odd) {
    border-left: 0;
  }
}

@media (max-width: 900px) {
  section {
    padding: 68px 0;
  }
  .container {
    padding: 0 18px;
  }
  .nav-inner {
    justify-content: space-between;
    gap: 12px;
  }
  .main-nav {
    display: none;
  }
  .brand {
    position: static;
    transform: none;
    order: 1;
  }
  .brand-nav {
    width: 152px;
  }
  .nav-right {
    order: 2;
    flex: 0 0 auto;
    gap: 8px;
  }
  .lang-switch button {
    padding: 5px 7px;
    font-size: 0.68rem;
  }
  .hero {
    height: 440px;
  }
  .hero h1 {
    border-left-width: 10px;
    padding-left: 16px;
  }
  .hero .tagline,
  .hero-keys,
  .hero-actions {
    padding-left: 26px;
  }
  .plan-grid,
  .timeline {
    grid-template-columns: 1fr;
  }
  .floatbar {
    display: flex;
  }
  .site-footer {
    padding-bottom: 110px;
  }
  .site-footer .cols {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .modal {
    padding: 0;
  }
  .modal-inner {
    width: 100%;
    height: 100%;
    border: 0;
  }
  .modal .body {
    flex-direction: column;
    overflow-y: auto;
  }
  .images-side {
    min-width: 100%;
    max-width: 100%;
    padding: 62px 16px 20px;
  }
  .images-side .stage {
    min-height: 240px;
  }
  .details-in {
    padding: 24px 18px 40px;
  }
  .page-heading .meta {
    border-left-width: 10px;
    padding-left: 16px;
  }
  .floor-switcher {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .brand-nav {
    width: 128px;
  }
  .theme-toggle,
  .nav-toggle {
    width: 34px;
    height: 34px;
  }
  .apt-grid,
  .adv-grid,
  .stats,
  .hero-stats,
  .hero-keys {
    grid-template-columns: 1fr;
  }
  .hero-panel {
    margin-top: -40px;
    margin-bottom: 60px;
  }
  .hero-stats > div,
  .hero-keys > span {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .hero-stats > div:first-child {
    border-top: 0;
  }
  .site-footer .cols {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    border-left-width: 10px;
    padding-left: 15px;
  }
  .hero .tagline,
  .hero-actions {
    padding-left: 25px;
  }
  .advisor-btns {
    grid-template-columns: 1fr;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .growth-table th,
  .growth-table td {
    padding: 12px 12px;
    font-size: 0.86rem;
  }
  .map-frame {
    aspect-ratio: 4 / 3;
  }
}
