/* ==========================================================================
   Stadium Plaza Business Park — Design System
   Primary brand color: #2F4763  (exposed as --brand-600 / --brand)
   All colour, spacing, radius, shadow and type decisions flow from the
   tokens declared in :root. Never hard-code the brand hex below this block.
   ========================================================================== */

:root {
  /* ---- Brand ramp -------------------------------------------------- */
  --brand-950: #0E1822;
  --brand-900: #16232F;
  --brand-800: #1D2F40;
  --brand-700: #243A50;
  --brand-600: #2F4763;
  /* ← PRIMARY BRAND COLOR */
  --brand-500: #3E5C7D;
  --brand-400: #5C7B9C;
  --brand-300: #8AA4BE;
  --brand-200: #BDCDDD;
  --brand-100: #DFE7F0;
  --brand-50: #F2F6FA;
  --brand: var(--brand-600);

  /* Translucent brand, for rings / scrims / tints */
  --brand-a08: rgba(47, 71, 99, 0.08);
  --brand-a12: rgba(47, 71, 99, 0.12);
  --brand-a20: rgba(47, 71, 99, 0.20);
  --brand-a30: rgba(47, 71, 99, 0.30);
  --brand-a60: rgba(47, 71, 99, 0.60);
  --brand-a85: rgba(29, 47, 64, 0.85);

  /* ---- Neutrals ---------------------------------------------------- */
  --ink: #15202B;
  --ink-2: #3D4C5C;
  --ink-3: #5C6C80;
  /* AA on every surface token (>=4.77:1) */
  --ink-invert: #FFFFFF;

  --surface: #FFFFFF;
  --surface-2: #F7F9FC;
  --surface-3: #EDF2F7;

  --line: #E3EAF1;
  --line-strong: #CBD7E3;

  /* ---- Semantic / status ------------------------------------------- */
  --ok: #1B7A4B;
  --warn: #A8630B;
  --sold: #A9271F;
  --neutral-status: var(--brand-500);

  /* ---- Radius ------------------------------------------------------ */
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* ---- Elevation --------------------------------------------------- */
  --shadow-xs: 0 1px 2px rgba(21, 32, 43, 0.06);
  --shadow-sm: 0 1px 2px rgba(21, 32, 43, 0.05), 0 2px 8px rgba(21, 32, 43, 0.05);
  --shadow-md: 0 2px 4px rgba(21, 32, 43, 0.04), 0 10px 24px -8px rgba(21, 32, 43, 0.14);
  --shadow-lg: 0 4px 10px rgba(21, 32, 43, 0.05), 0 28px 56px -16px rgba(21, 32, 43, 0.22);
  --ring: 0 0 0 3px rgba(47, 71, 99, 0.30);
  --ring-invert: 0 0 0 3px rgba(255, 255, 255, 0.65);

  /* ---- Layout ------------------------------------------------------ */
  --container: 1200px;
  --container-wide: 1360px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-y: clamp(64px, 8vw, 116px);
  --header-h: 72px;
  /* How far the stat strip rides up over the hero. The hero reserves the
     same amount as extra bottom padding so nothing is ever covered. */
  --strip-pull: clamp(30px, 4.5vw, 56px);

  /* ---- Type -------------------------------------------------------- */
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", sans-serif;
  --font-serif: Georgia, "Times New Roman", "Noto Serif", serif;

  --fs-display: clamp(2.15rem, 1.25rem + 4vw, 4.15rem);
  --fs-h1: clamp(1.85rem, 1.3rem + 2.2vw, 2.9rem);
  --fs-h2: clamp(1.45rem, 1.15rem + 1.35vw, 2.15rem);
  --fs-h3: clamp(1.1rem, 1rem + 0.45vw, 1.35rem);
  --fs-body: clamp(1rem, 0.975rem + 0.12vw, 1.0625rem);
  --fs-sm: 0.9375rem;
  --fs-xs: 0.8125rem;

  /* ---- Motion ------------------------------------------------------ */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-fast: 140ms;
  --dur: 240ms;
  --dur-slow: 640ms;

  color-scheme: light;
}

/* ==========================================================================
   Reset / base
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  background: var(--brand-950);
  overscroll-behavior-y: none;
}

[id] {
  scroll-margin-top: var(--header-h);
}

#Header,
#main {
  scroll-margin-top: 0;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: var(--brand-600);
  text-decoration: none;
}

a:hover {
  color: var(--brand-500);
}

button {
  font: inherit;
  color: inherit;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

/* Consistent, visible focus everywhere */
:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--brand-600);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

.on-dark :where(a, button):focus-visible,
.site-header--solid :where(a, button):focus-visible {
  outline-color: #fff;
}

::selection {
  background: var(--brand-200);
  color: var(--brand-900);
}

/* ==========================================================================
   Utilities / layout primitives
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--wide {
  max-width: var(--container-wide);
}

.section {
  padding-block: var(--section-y);
}

.section--tint {
  background: var(--surface-2);
}

.section--line {
  border-top: 1px solid var(--line);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 50%;
  top: 8px;
  transform: translate(-50%, -160%);
  z-index: 200;
  background: var(--brand-600);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--r-sm);
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  transition: transform var(--dur) var(--ease);
}

.skip-link:focus-visible {
  transform: translate(-50%, 0);
  color: #fff;
}

/* Section heading block ---------------------------------------------- */
.section-head {
  max-width: 62ch;
  margin-bottom: clamp(32px, 4vw, 56px);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-600);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--brand-400);
  border-radius: 2px;
}

.section-head--center .eyebrow::after {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--brand-400);
  border-radius: 2px;
}

.section-title {
  font-size: var(--fs-h2);
}

.section-lede {
  margin-top: 14px;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
  color: var(--ink-3);
  text-wrap: pretty;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  --btn-bg: var(--brand-600);
  --btn-fg: #fff;
  --btn-bd: var(--brand-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  min-height: 48px;
  border: 1px solid var(--btn-bd);
  border-radius: var(--r-sm);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: var(--fs-sm);
  font-weight: 650;
  letter-spacing: 0.01em;
  text-align: center;
  cursor: pointer;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease),
    color var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    transform var(--dur-fast) var(--ease);
}

.btn:hover {
  --btn-bg: var(--brand-700);
  --btn-bd: var(--brand-700);
  color: var(--btn-fg);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
  box-shadow: var(--shadow-xs);
}

.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn--secondary {
  --btn-bg: transparent;
  --btn-fg: var(--brand-700);
  --btn-bd: var(--line-strong);
}

.btn--secondary:hover {
  --btn-bg: var(--brand-50);
  --btn-fg: var(--brand-700);
  --btn-bd: var(--brand-300);
}

.btn--ghost-invert {
  --btn-bg: rgba(255, 255, 255, 0.10);
  --btn-fg: #fff;
  --btn-bd: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(6px);
}

.btn--ghost-invert:hover {
  --btn-bg: rgba(255, 255, 255, 0.95);
  --btn-fg: var(--brand-700);
  --btn-bd: #fff;
}

.btn--invert {
  --btn-bg: #fff;
  --btn-fg: var(--brand-700);
  --btn-bd: #fff;
}

.btn--invert:hover {
  --btn-bg: var(--brand-50);
  --btn-fg: var(--brand-800);
  --btn-bd: var(--brand-50);
}

.btn--sm {
  min-height: 40px;
  padding: 8px 16px;
  font-size: var(--fs-xs);
}

.btn--block {
  width: 100%;
}

.btn .icon {
  width: 18px;
  height: 18px;
  flex: none;
}

/* Icon-only control */
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--brand-700);
  cursor: pointer;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease),
    color var(--dur) var(--ease);
}

.icon-btn:hover {
  background: var(--brand-50);
  border-color: var(--brand-300);
}

.icon-btn[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
}

.icon-btn svg {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   Header / navigation
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  inset: 0 0 auto 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(14, 24, 34, 0.55), rgba(14, 24, 34, 0));
  pointer-events: none;
  transition: opacity var(--dur) var(--ease);
}

.site-header--solid {
  background: rgba(29, 47, 64, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(255, 255, 255, 0.10);
  box-shadow: var(--shadow-md);
}

.site-header--solid::before {
  opacity: 0;
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
  padding-block: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex: none;
  min-height: 44px;
}

.brand__mark {
  height: 30px;
  width: auto;
}

.brand__text {
  display: none;
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.35;
}

.brand__text span {
  display: block;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--brand-200);
}

@media (min-width: 900px) {
  .brand__text {
    display: block;
  }
}

.nav {
  display: none;
}

@media (min-width: 1024px) {
  .nav {
    display: flex;
    align-items: center;
    gap: 4px;
  }
}

.nav__link {
  position: relative;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  color: rgba(255, 255, 255, 0.86);
  font-size: var(--fs-sm);
  font-weight: 550;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}

.nav__link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.10);
}

.nav__link:hover::after,
.nav__link[aria-current="true"]::after {
  transform: scaleX(1);
}

.nav__link[aria-current="true"] {
  color: #fff;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header__cta {
  display: none;
}

@media (min-width: 700px) {
  .header__cta {
    display: inline-flex;
  }
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
  cursor: pointer;
  transition: background var(--dur) var(--ease);
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
}

@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }
}

/* Mobile drawer ------------------------------------------------------ */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--brand-800);
  transform: translateX(100%);
  visibility: hidden;
  /* visibility flips instantly on open (so the panel is focusable straight
     away) and is deferred to the end of the slide-out on close. */
  transition: transform var(--dur-slow) var(--ease),
    visibility 0s linear var(--dur-slow);
}

.drawer[data-open="true"] {
  transform: translateX(0);
  visibility: visible;
  transition: transform var(--dur-slow) var(--ease), visibility 0s linear 0s;
}

.drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px var(--gutter);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.drawer__body {
  padding: 28px var(--gutter) 40px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.drawer__nav {
  display: flex;
  flex-direction: column;
}

.drawer__link {
  padding: 16px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color var(--dur) var(--ease), padding-left var(--dur) var(--ease);
}

.drawer__link:hover {
  color: var(--brand-200);
  padding-left: 10px;
}

.drawer__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--brand-200);
  font-size: var(--fs-sm);
}

.drawer__meta a {
  color: #fff;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(560px, 92svh, 900px);
  margin: 0;
  margin-top: 0;
  padding-top: calc(var(--header-h) + 48px);
  padding-bottom: calc(clamp(52px, 7vw, 92px) + var(--strip-pull));
  isolation: isolate;
  background: var(--brand-900);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(14, 24, 34, 0.62) 0%, rgba(14, 24, 34, 0.22) 34%, rgba(14, 24, 34, 0.55) 68%, rgba(14, 24, 34, 0.92) 100%),
    linear-gradient(96deg, rgba(29, 47, 64, 0.86) 0%, rgba(29, 47, 64, 0.42) 46%, rgba(29, 47, 64, 0.10) 78%);
}

.hero__inner {
  width: 100%;
}

.hero__content {
  max-width: 46rem;
  color: #fff;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 12px;
  margin-bottom: clamp(18px, 2.5vw, 26px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero__eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7BD3A0;
  box-shadow: 0 0 0 4px rgba(123, 211, 160, 0.24);
}

.hero__title {
  color: #fff;
  font-size: var(--fs-display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  text-shadow: 0 2px 24px rgba(10, 18, 26, 0.4);
}

.hero__rule {
  width: 92px;
  height: 3px;
  margin: clamp(20px, 3vw, 30px) 0;
  border-radius: 3px;
  background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.15));
}

.hero__lede {
  max-width: 44rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.05rem, 0.98rem + 0.55vw, 1.35rem);
  line-height: 1.55;
  text-wrap: pretty;
}

.hero__lede strong {
  color: #fff;
  font-weight: 650;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(28px, 4vw, 40px);
}

.hero__actions .btn {
  min-width: 190px;
}

@media (max-width: 400px) {
  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
    min-width: 0;
  }
}

/* Stat strip --------------------------------------------------------- */
.stat-strip {
  position: relative;
  z-index: 2;
  margin-top: calc(var(--strip-pull) * -1);
}

.stat-strip__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

@media (min-width: 860px) {
  .stat-strip__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.stat {
  padding: clamp(20px, 3vw, 30px) clamp(16px, 2.4vw, 28px);
  background: var(--surface);
  transition: background var(--dur) var(--ease);
}

.stat:hover {
  background: var(--brand-50);
}

.stat__value {
  display: block;
  color: var(--brand-600);
  font-size: clamp(1.6rem, 1.15rem + 1.7vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1.05;
}

.stat__label {
  display: block;
  margin-top: 8px;
  color: var(--ink-3);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.4;
}

/* ==========================================================================
   Cards & content blocks
   ========================================================================== */

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease),
    transform var(--dur) var(--ease);
}

.card--hover:hover {
  border-color: var(--brand-200);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.card__body {
  padding: clamp(22px, 2.6vw, 32px);
}

.card__title {
  font-size: var(--fs-h3);
  margin-bottom: 8px;
}

.card__text {
  color: var(--ink-3);
  font-size: var(--fs-sm);
  text-wrap: pretty;
}

/* About ------------------------------------------------------------- */
.about__grid {
  display: grid;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

@media (min-width: 960px) {
  .about__grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  }
}

.about__media {
  position: relative;
}

.figure {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--surface-3);
}

.figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.figure figcaption {
  padding: 14px 18px;
  background: var(--surface);
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: var(--fs-xs);
  letter-spacing: 0.02em;
}

.about__media-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.about__media-stack img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
}

.feature-block+.feature-block {
  margin-top: clamp(28px, 3.5vw, 40px);
}

.feature-block__title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--brand-100);
  color: var(--brand-700);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.check-list {
  display: grid;
  gap: 14px;
}

.check-list li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  color: var(--ink-2);
  font-size: var(--fs-sm);
  line-height: 1.6;
  text-wrap: pretty;
}

.check-list li svg {
  width: 22px;
  height: 22px;
  margin-top: 1px;
  flex: none;
  color: var(--brand-500);
}

/* Spec table --------------------------------------------------------- */
.spec-panel {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.spec-panel__head {
  padding: 16px clamp(18px, 2.4vw, 26px);
  background: var(--brand-600);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}

.spec-table th,
.spec-table td {
  padding: 13px clamp(18px, 2.4vw, 26px);
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: 0;
}

.spec-table tbody tr:nth-child(even) {
  background: var(--surface-2);
}

.spec-table th {
  color: var(--ink-2);
  font-weight: 600;
}

.spec-table td {
  color: var(--ink);
  font-weight: 650;
  text-align: right;
  white-space: nowrap;
}

.yes-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 11px 3px 8px;
  border-radius: var(--r-pill);
  background: rgba(27, 122, 75, 0.10);
  color: var(--ok);
  font-size: var(--fs-xs);
  font-weight: 700;
}

.yes-pill svg {
  width: 14px;
  height: 14px;
}

/* ==========================================================================
   Location
   ========================================================================== */

.location__grid {
  display: grid;
  gap: clamp(24px, 3vw, 36px);
}

@media (min-width: 900px) {
  .location__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.plan-card {
  display: flex;
  flex-direction: column;
}

.plan-card__media {
  position: relative;
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: var(--surface-3);
  cursor: zoom-in;
  overflow: hidden;
}

.plan-card__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
}

.plan-card__media:hover img {
  transform: scale(1.04);
}

.plan-card__zoom {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.94);
  color: var(--brand-700);
  font-size: var(--fs-xs);
  font-weight: 650;
  box-shadow: var(--shadow-sm);
}

.plan-card__zoom svg {
  width: 15px;
  height: 15px;
}

.plan-card__body {
  padding: clamp(20px, 2.4vw, 28px);
  flex: 1;
}

.legend {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.legend li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  font-size: var(--fs-sm);
  color: var(--ink-2);
  line-height: 1.55;
}

.legend .swatch {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border-radius: var(--r-xs);
  border: 1px solid rgba(21, 32, 43, 0.18);
}

.swatch--freestanding {
  background: #B7CDE1;
}

.swatch--multitenant {
  background: #B9BE8F;
}

.swatch--management {
  background: #E4262C;
}

/* Lightbox ------------------------------------------------------------ */
.lightbox {
  width: min(96vw, 1500px);
  max-width: none;
  max-height: 94svh;
  padding: 0;
  border: 0;
  border-radius: var(--r-lg);
  background: var(--brand-950);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.lightbox::backdrop {
  background: rgba(10, 18, 26, 0.82);
  backdrop-filter: blur(3px);
}

.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  background: var(--brand-800);
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 600;
}

.lightbox__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--r-sm);
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: background var(--dur) var(--ease);
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.16);
}

.lightbox__close svg {
  width: 18px;
  height: 18px;
}

.lightbox__scroll {
  overflow: auto;
  max-height: calc(94svh - 62px);
  background: #fff;
}

.lightbox__scroll img {
  width: 100%;
  min-width: 720px;
  height: auto;
}

/* ==========================================================================
   Availabilities
   ========================================================================== */

.avail__toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: clamp(24px, 3vw, 36px);
}

.avail__nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avail__nav[hidden] {
  display: none !important;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--brand-900);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(29, 47, 64, 0.08);
  transition: all 0.24s var(--ease);
}

.icon-btn:hover:not(:disabled) {
  background: var(--brand-600);
  color: #fff;
  border-color: var(--brand-600);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(47, 71, 99, 0.22);
}

.icon-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.icon-btn svg {
  width: 20px;
  height: 20px;
}

.avail__track-wrap {
  position: relative;
  width: 100%;
}

/* Horizontal Scroll Track: Cuộn mượt với Snap physics & Drag */
.avail__track {
  display: flex;
  gap: clamp(20px, 2.2vw, 28px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y pinch-zoom;
  padding: 8px 4px 20px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  user-select: none;
}

.avail__track::-webkit-scrollbar {
  display: none;
}

.avail__track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}

/* Thẻ Bất động sản (Listing Card) */
.listing {
  flex: 0 0 calc((100% - 56px) / 3);
  min-width: 320px;
  max-width: 440px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: 0 4px 18px -4px rgba(29, 47, 64, 0.08);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  outline: none;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}

@media (min-width: 1280px) {

  .avail__track[data-count="4"] .listing,
  .avail__track[data-count="5"] .listing,
  .avail__track[data-count="6"] .listing {
    flex: 0 0 calc((100% - 60px) / 3.15);
  }
}

@media (max-width: 1080px) and (min-width: 681px) {
  .listing {
    flex: 0 0 calc((100% - 24px) / 2);
    min-width: 290px;
  }
}

@media (max-width: 680px) {
  .listing {
    flex: 0 0 min(86vw, 360px);
  }
}

/* Khi chỉ có đúng 1 listing, hiển thị full width */
.avail__track[data-count="1"] .listing {
  flex: 0 0 100%;
  max-width: 880px;
  margin: 0 auto;
}

.listing:hover,
.listing:focus-visible {
  transform: translateY(-4px);
  border-color: var(--brand-300);
  box-shadow: 0 18px 38px -8px rgba(29, 47, 64, 0.15), 0 0 0 1px var(--brand-200);
}

.listing__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 190px;
  background: var(--surface-3);
  overflow: hidden;
}

.listing__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s var(--ease);
}

.listing:hover .listing__media img,
.listing:focus-visible .listing__media img {
  transform: scale(1.04);
}

.listing__media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 24, 34, 0.38) 0%, rgba(14, 24, 34, 0) 36%, rgba(14, 24, 34, 0.42) 100%);
  pointer-events: none;
}

/* Badges trên ảnh */
.status-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #0E5E35;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.8);
  pointer-events: none;
}

.status-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.32);
}

.status-badge[data-status="Available Now"] {
  color: #0E5E35;
}

.status-badge[data-status="Available Now"] .dot {
  background: #1B7A4B;
  box-shadow: 0 0 0 3px rgba(27, 122, 75, 0.25);
  animation: pulse-dot 2s infinite ease-in-out;
}

.status-badge[data-status="In Escrow"] {
  color: #8A4F00;
}

.status-badge[data-status="In Escrow"] .dot {
  background: #C27803;
  box-shadow: 0 0 0 3px rgba(194, 120, 3, 0.25);
}

.status-badge[data-status="Sold"] {
  color: #991B1B;
}

.status-badge[data-status="Sold"] .dot {
  background: #DC2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.25);
}

@keyframes pulse-dot {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.25);
    opacity: 0.75;
  }
}

.listing__badge-type {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: rgba(14, 24, 34, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.25);
  pointer-events: none;
}

.listing__view-hint {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: var(--r-sm);
  background: rgba(14, 24, 34, 0.76);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  pointer-events: none;
}

.listing__view-hint svg {
  width: 14px;
  height: 14px;
}

.listing:hover .listing__view-hint,
.listing:focus-visible .listing__view-hint {
  opacity: 1;
  transform: translateY(0);
}

/* Nội dung Card */
.listing__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: clamp(18px, 2.2vw, 24px);
  gap: 14px;
}

.listing__header {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.listing__eyebrow {
  color: var(--brand-500);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.listing__title {
  font-size: clamp(1.15rem, 1.05rem + 0.35vw, 1.35rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  margin: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.listing__highlight {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 12px;
  padding: 11px 15px;
  background: linear-gradient(135deg, var(--surface-2) 0%, rgba(255, 255, 255, 0.95) 100%);
  border: 1px solid var(--brand-100);
  border-radius: var(--r-md);
}

.listing__rate-col,
.listing__size-col {
  display: flex;
  flex-direction: column;
}

.listing__meta-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 2px;
}

.listing__rate {
  color: var(--brand-600);
  font-size: 1.25rem;
  font-weight: 750;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

.listing__size {
  color: var(--ink-2);
  font-size: 0.88rem;
  font-weight: 700;
  background: rgba(47, 71, 99, 0.08);
  padding: 3px 8px;
  border-radius: var(--r-pill);
  align-self: flex-start;
}

.listing__chips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

@media (max-width: 360px) {
  .listing__chips {
    grid-template-columns: 1fr;
  }
}

.spec-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: var(--r-sm);
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: 0.76rem;
  font-weight: 650;
  color: var(--ink-2);
  min-width: 0;
}

.spec-chip svg {
  width: 14px;
  height: 14px;
  color: var(--brand-500);
  flex-shrink: 0;
}

.spec-chip__text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.listing__snippet {
  font-size: var(--fs-xs);
  color: var(--ink-3);
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.listing__foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.listing__foot .btn--view-details {
  flex: 1;
  min-height: 42px;
  justify-content: center;
  padding: 9px 14px;
  font-size: var(--fs-sm);
}

.listing__foot .btn--pdf {
  min-height: 42px;
  padding: 9px 13px;
  font-size: var(--fs-sm);
  flex-shrink: 0;
}

/* Dots Indicator (Khi có nhiều listing) */
.avail__dots,
.avail__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.avail__dots[hidden],
.avail__pagination[hidden] {
  display: none !important;
}

.avail__dot,
.avail__p-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand-200);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.avail__dot:hover,
.avail__p-dot:hover {
  background: var(--brand-400);
  transform: scale(1.2);
}

.avail__dot[aria-selected="true"],
.avail__p-dot[aria-selected="true"] {
  width: 28px;
  border-radius: var(--r-pill);
  background: var(--brand-600);
}

.avail__p-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--brand-900);
  font-size: var(--fs-sm);
  font-weight: 650;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  box-shadow: var(--shadow-sm);
}

.avail__p-btn:hover:not(:disabled) {
  background: var(--brand-600);
  color: #fff;
  border-color: var(--brand-600);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(47, 71, 99, 0.2);
}

.avail__p-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.avail__p-btn svg {
  width: 16px;
  height: 16px;
}

.avail__p-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================================================
   Listing Detail Modal (Desktop rộng, Mobile full-screen)
   ========================================================================== */
.listing-modal {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(94vw, 1080px);
  width: 100%;
  margin: auto;
  color: var(--ink);
  border-radius: var(--r-2xl);
  box-shadow: 0 28px 70px -15px rgba(10, 18, 26, 0.5);
  overflow: hidden;
  opacity: 0;
  transform: scale(0.96) translateY(12px);
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.listing-modal[open] {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.listing-modal::backdrop {
  background: rgba(10, 18, 26, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.listing-modal__box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  display: flex;
  flex-direction: column;
  max-height: 90vh;
  overflow: hidden;
}

/* Header sticky trong modal */
.listing-modal__header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  flex-shrink: 0;
}

.listing-modal__header-left {
  min-width: 0;
  flex: 1 1 auto;
}

.listing-modal__eyebrow {
  color: var(--brand-500);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.listing-modal__title {
  font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.55rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  margin: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.listing-modal__header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.listing-modal__header-right .status-badge {
  position: static;
  box-shadow: none;
  padding: 5px 12px;
}

.listing-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-2);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}

.listing-modal__close:hover {
  background: var(--brand-50);
  color: var(--brand-600);
  border-color: var(--brand-200);
  transform: scale(1.06);
}

.listing-modal__close svg {
  width: 20px;
  height: 20px;
}

/* Thân modal cuộn tự nhiên */
.listing-modal__body {
  flex: 1 1 auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 24px 28px 48px;
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(380px, 1.25fr);
  gap: 32px;
}

@media (max-width: 880px) {
  .listing-modal__body {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 20px 20px 60px;
  }
}

/* Cột trái Modal: Media, Thư viện ảnh & Quick Actions */
.listing-modal__col-media {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.modal-gallery {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-gallery__main {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface-3);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.modal-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.25s ease;
}

.modal-gallery__zoom {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: rgba(14, 24, 34, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: background var(--dur) var(--ease);
}

.modal-gallery__zoom:hover {
  background: rgba(14, 24, 34, 0.92);
}

.modal-gallery__zoom svg {
  width: 14px;
  height: 14px;
}

.modal-gallery__thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 1px 6px;
  scrollbar-width: thin;
}

.modal-gallery__thumb {
  flex: 0 0 76px;
  height: 52px;
  border-radius: var(--r-sm);
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  background: var(--surface-3);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  opacity: 0.7;
}

.modal-gallery__thumb:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.modal-gallery__thumb.is-active {
  border-color: var(--brand-600);
  box-shadow: 0 0 0 2px rgba(47, 71, 99, 0.25);
  opacity: 1;
}

.modal-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Thẻ chỉ số nổi bật trong modal */
.listing-modal__hero-stat {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 14px 18px;
  background: linear-gradient(135deg, var(--surface-2) 0%, rgba(255, 255, 255, 0.95) 100%);
  border: 1px solid var(--brand-100);
  border-radius: var(--r-md);
}

.listing-modal__hero-stat .stat-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.listing-modal__hero-stat .stat-label {
  color: var(--ink-3);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.listing-modal__hero-stat .stat-val {
  color: var(--brand-600);
  font-size: 1.25rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.listing-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.listing-modal__actions .btn {
  width: 100%;
  justify-content: center;
  min-height: 44px;
}

/* Cột phải Modal: Thông số kỹ thuật & Mô tả chi tiết */
.listing-modal__col-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modal-section-title {
  font-size: var(--fs-h4);
  color: var(--ink);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
}

.modal-section-title svg {
  width: 18px;
  height: 18px;
  color: var(--brand-500);
}

/* Khối mô tả & Điểm nổi bật */
.modal-narrative {
  padding: 14px 18px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand-500);
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  color: var(--ink-2);
  line-height: 1.6;
  margin: 0;
}

/* Lưới thông số đầy đủ */
.modal-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
  margin: 0;
}

@media (max-width: 500px) {
  .modal-spec-grid {
    grid-template-columns: 1fr;
  }
}

.modal-spec-grid .spec-cell {
  padding: 8px 12px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.modal-spec-grid dt {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.modal-spec-grid dd {
  margin: 0;
  font-size: var(--fs-sm);
  font-weight: 650;
  color: var(--ink);
  overflow-wrap: break-word;
  word-break: break-word;
}

.modal-note {
  font-size: var(--fs-xs);
  color: var(--ink-3);
  line-height: 1.5;
  margin: 0;
}

/* Thẻ liên hệ môi giới chính thức Voit trong Modal */
.listing-modal__broker-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 20px;
  background: linear-gradient(135deg, var(--surface-2) 0%, #fff 100%);
  border: 1px solid var(--brand-100);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  margin-top: 6px;
}

.broker-card__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.broker-card__title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-600);
  margin: 0;
}

.broker-card__firm {
  font-size: 0.72rem;
  color: var(--ink-3);
  margin: 0;
}

.broker-card__team {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 900px) {
  .broker-card__team {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 8px;
  }
}

.broker-item {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  gap: 10px;
}

.broker-item__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.broker-item__name {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}

.broker-item__role {
  font-size: 0.72rem;
  color: var(--ink-3);
  line-height: 1.3;
}

.broker-item__contact {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  margin-top: 0;
}

.broker-item__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--brand-700);
  color: #fff;
  border-radius: var(--r-pill);
  text-decoration: none;
  transition: all var(--dur) var(--ease);
  flex: none;
}

.broker-item__btn:hover {
  background: var(--brand-600);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(47, 71, 99, 0.25);
}

.broker-item__btn svg {
  width: 15px;
  height: 15px;
  flex: none;
}

.broker-item__email-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--ink-2);
  transition: all var(--dur) var(--ease);
  flex: none;
}

.broker-item__email-link:hover {
  background: var(--brand-50);
  color: var(--brand-600);
  border-color: var(--brand-300);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(47, 71, 99, 0.15);
}

.broker-item__email-link svg {
  width: 15px;
  height: 15px;
  flex: none;
}

.broker-item__email-link svg {
  width: 14px;
  height: 14px;
}

/* Mobile full-screen takeover */
@media (max-width: 768px) {
  .listing-modal {
    max-width: 100vw;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    border-radius: 0;
    inset: 0;
  }

  .listing-modal__box {
    height: 100%;
    max-height: 100dvh;
    border-radius: 0;
    border: 0;
  }

  .listing-modal__header {
    padding: 14px 18px;
  }

  .listing-modal__broker-card {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .broker-card__actions {
    flex-direction: column;
    width: 100%;
  }

  .broker-card__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .listing-modal {
    transition: none !important;
    transform: none !important;
  }

  .status-badge[data-status="Available Now"] .dot {
    animation: none !important;
  }

  .listing:hover {
    transform: none !important;
  }

  .listing__media img {
    transition: none !important;
  }
}

/* ==========================================================================
   Contacts
   ========================================================================== */

.contact-grid {
  display: grid;
  gap: clamp(14px, 2vw, 24px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 440px) {
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}

@media (max-width: 360px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .broker__body {
    padding: clamp(20px, 1.8vw, 26px);
  }

  .broker__name {
    font-size: clamp(1.1rem, 1.25vw, 1.3rem);
  }
}

.listing__broker-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 4px 10px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: var(--fs-xs);
  color: var(--ink-2);
  font-weight: 550;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.listing__broker-badge svg {
  width: 13px;
  height: 13px;
  flex: none;
  color: var(--brand-600);
}

.broker {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.broker__body {
  padding: clamp(24px, 2.6vw, 32px);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.broker__photo {
  width: 92px;
  height: 92px;
  margin-bottom: 20px;
  border-radius: var(--r-pill);
  object-fit: cover;
  object-position: center top;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--line), var(--shadow-md);
  background: var(--surface-3);
}

.broker__name {
  font-size: var(--fs-h3);
}

.broker__role {
  margin-top: 4px;
  color: var(--brand-600);
  font-size: var(--fs-sm);
  font-weight: 650;
}

.broker__list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.broker__list a,
.broker__list span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 32px;
  overflow-wrap: anywhere;
  color: var(--ink-2);
  font-size: var(--fs-sm);
  word-break: break-word;
  transition: color var(--dur) var(--ease);
}

.broker__list a:hover {
  color: var(--brand-600);
}

.broker__list svg {
  width: 17px;
  height: 17px;
  flex: none;
  color: var(--brand-400);
}

.broker__lic {
  margin-top: auto;
  padding-top: 20px;
  color: var(--ink-3);
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
}

.broker--firm .broker__logo {
  width: 100%;
  max-width: 260px;
  margin-bottom: 22px;
}

/* ==========================================================================
   Contact form
   ========================================================================== */

.contact-section {
  background: var(--brand-800);
  color: rgba(255, 255, 255, 0.86);
}

.contact-section .section-title {
  color: #fff;
}

.contact-section .eyebrow {
  color: var(--brand-200);
}

.contact-section .eyebrow::before,
.contact-section .eyebrow::after {
  background: var(--brand-400);
}

.contact-section .section-lede {
  color: rgba(255, 255, 255, 0.72);
}

.contact-shell {
  display: grid;
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
}

@media (min-width: 980px) {
  .contact-shell {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }
}

.contact-aside__list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.contact-aside__list li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.contact-aside__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
}

.contact-aside__icon svg {
  width: 18px;
  height: 18px;
}

.contact-aside__label {
  display: block;
  color: var(--brand-200);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-aside__value {
  color: #fff;
  font-size: var(--fs-sm);
}

.contact-aside__value a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.38);
  text-underline-offset: 3px;
}

.contact-aside__value a:hover {
  color: var(--brand-200);
  text-decoration-color: currentColor;
}

.form-card {
  padding: clamp(24px, 3vw, 40px);
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}

.form-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 620px) {
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-field--full {
    grid-column: 1 / -1;
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  color: var(--ink);
  font-size: var(--fs-sm);
  font-weight: 650;
}

.form-label .req {
  color: var(--sold);
  margin-left: 2px;
}

.form-hint {
  color: var(--ink-3);
  font-size: var(--fs-xs);
}

.input,
.textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: var(--fs-sm);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    background var(--dur) var(--ease);
}

.input::placeholder,
.textarea::placeholder {
  color: #9AA9B9;
}

.input:hover,
.textarea:hover {
  border-color: var(--brand-300);
}

.input:focus,
.textarea:focus {
  outline: none;
  border-color: var(--brand-600);
  box-shadow: var(--ring);
  background: #fff;
}

.input:user-invalid,
.textarea:user-invalid {
  border-color: var(--sold);
}

.textarea {
  min-height: 168px;
  resize: vertical;
}

.form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
}

.form-status {
  color: var(--ink-3);
  font-size: var(--fs-xs);
  min-height: 1.2em;
}

.form-turnstile {
  margin-top: 20px;
  display: flex;
  justify-content: flex-start;
  min-height: 65px;
}

@media (max-width: 620px) {
  .form-turnstile {
    justify-content: center;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--brand-950);
  color: rgba(255, 255, 255, 0.68);
}

.site-footer__top {
  display: grid;
  gap: clamp(32px, 4vw, 56px);
  padding-block: clamp(48px, 6vw, 76px);
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 700px) {
  .site-footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 700px) and (max-width: 999px) {
  .site-footer__top> :first-child {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1000px) {
  .site-footer__top {
    grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr));
  }
}

.site-footer__mark {
  height: 30px;
  width: auto;
  margin-bottom: 20px;
}

.site-footer__about {
  max-width: 42ch;
  font-size: var(--fs-sm);
  line-height: 1.7;
}

.site-footer h3 {
  margin-bottom: 18px;
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-footer__links {
  display: grid;
  gap: 11px;
}

.site-footer__links a,
.site-footer__contact a {
  display: inline-block;
  padding-block: 5px;
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--fs-sm);
  transition: color var(--dur) var(--ease);
}

.site-footer__links a:hover,
.site-footer__contact a:hover {
  color: #fff;
}

.site-footer__contact {
  display: grid;
  gap: 11px;
  font-size: var(--fs-sm);
  overflow-wrap: anywhere;
}

.site-footer__bottom {
  padding-block: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  font-size: var(--fs-xs);
}

.disclaimer {
  padding-block: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.60);
  font-size: 0.75rem;
  line-height: 1.65;
  text-wrap: pretty;
}

/* ==========================================================================
   Toasts
   ========================================================================== */

.toast-region {
  position: fixed;
  z-index: 300;
  top: calc(var(--header-h) + 12px);
  right: 16px;
  left: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  pointer-events: none;
}

@media (min-width: 560px) {
  .toast-region {
    left: auto;
    width: 360px;
  }
}

.toast {
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 14px 14px 14px 16px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand-600);
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  color: var(--ink);
  font-size: var(--fs-sm);
  animation: toast-in var(--dur) var(--ease) both;
}

.toast[data-type="success"] {
  border-left-color: var(--ok);
}

.toast[data-type="error"] {
  border-left-color: var(--sold);
}

.toast[data-leaving="true"] {
  animation: toast-out var(--dur) var(--ease) both;
}

.toast__icon {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  color: var(--brand-600);
}

.toast[data-type="success"] .toast__icon {
  color: var(--ok);
}

.toast[data-type="error"] .toast__icon {
  color: var(--sold);
}

.toast__msg {
  flex: 1;
  line-height: 1.5;
}

.toast__close {
  flex: none;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--r-xs);
  background: transparent;
  color: var(--ink-3);
  cursor: pointer;
}

.toast__close:hover {
  background: var(--surface-3);
  color: var(--ink);
}

.toast__close svg {
  width: 14px;
  height: 14px;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes toast-out {
  to {
    opacity: 0;
    transform: translateX(12px) scale(0.98);
  }
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */

/* Without scripting nothing would ever add .is-visible, so the hidden start
   state is applied only when JS is available. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .avail__track {
    scroll-behavior: auto;
  }
}

/* ==========================================================================
   Print
   ========================================================================== */

@media print {

  .site-header,
  .drawer,
  .toast-region,
  .hero__actions,
  .avail__nav,
  .contact-section form,
  .plan-card__zoom {
    display: none !important;
  }

  .hero {
    min-height: auto;
    color: #000;
  }

  body {
    color: #000;
  }
}