:root {
  --navy: #0C2F57;
  --navy-2: #082440;
  --gold: #D8A033;
  --gold-2: #D8A033;
  --sand: #D8C4A2;
  --sky: #B9D9F2;
  --stone: #F1EFE9;
  --paper: #FFFFFF;
  --ink: #0C2F57;
  --muted: #596574;
  --charcoal: #28384A;
  --white: #ffffff;
  --line: rgba(12, 47, 87, 0.14);
  --dark-line: rgba(216, 160, 51, 0.24);
  --shadow: 0 18px 56px rgba(12, 47, 87, 0.10);
  --glass: rgba(255, 255, 255, 0.68);
  --glass-soft: rgba(255, 255, 255, 0.44);
  --glass-line: rgba(255, 255, 255, 0.62);
  --radius: 8px;
  --ease: cubic-bezier(.22, .61, .36, 1);

  /* Light Theme Variables */
  --bg-primary: var(--white);
  --text-primary: var(--ink);
  --text-muted: var(--muted);
  --border-primary: var(--line);
  --bg-header: rgba(255, 255, 255, 0.94);
  --text-header: var(--navy);
  --bg-nav-links: rgba(255, 255, 255, 0.98);
  --bg-hero: linear-gradient(90deg, rgba(255, 255, 255, .98) 0 45%, rgba(255, 255, 255, .78) 60%, rgba(185, 217, 242, .20)), var(--white);
  --bg-page-hero: linear-gradient(120deg, var(--white) 0 58%, rgba(185, 217, 242, .22) 58.2%), var(--stone);
  --text-page-hero: var(--ink);
  --bg-panel: linear-gradient(135deg, rgba(255, 255, 255, .74), rgba(241, 239, 233, .46)), var(--glass);
  --border-panel: rgba(255, 255, 255, .58);
  --bg-stats: linear-gradient(135deg, rgba(255, 255, 255, .78), rgba(241, 239, 233, .56)), var(--glass);
  --bg-page-nav: rgba(247, 244, 236, .94);
  --border-page-nav: var(--line);
  --text-page-nav: var(--navy);
  --bg-card: linear-gradient(135deg, rgba(255, 255, 255, .74), rgba(241, 239, 233, .46)), var(--glass);
  --bg-card-info: var(--navy);
  --bg-mini-spec: rgba(255, 255, 255, .58);
  --border-mini-spec: rgba(255, 255, 255, .58);
  --bg-feature-item: rgba(255, 255, 255, .42);
  --border-feature-item: var(--line);
  --text-feature-item: var(--ink);
  --hero-gradient: linear-gradient(90deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.40) 30%, transparent 75%);
  --hero-gradient-mobile: linear-gradient(to bottom, rgba(255, 255, 255, 0.50) 0%, rgba(255, 255, 255, 0.20) 50%, rgba(255, 255, 255, 0.45) 100%);
  --home-hero-gradient: linear-gradient(90deg, rgba(255, 255, 255, 0.80) 0 20%, rgba(255, 255, 255, 0.50) 35%, rgba(255, 255, 255, 0.20) 65%, transparent 100%);
}

/* Dark Navy Theme Variables */
html.dark-theme {
  --bg-primary: var(--navy-2);
  --text-primary: var(--white);
  --text-muted: rgba(255, 255, 255, 0.74);
  --border-primary: rgba(255, 255, 255, 0.14);
  --bg-header: rgba(8, 36, 64, 0.94);
  --text-header: var(--white);
  --bg-nav-links: rgba(8, 36, 64, 0.98);
  --bg-hero: linear-gradient(90deg, rgba(8, 36, 64, .98) 0 45%, rgba(8, 36, 64, .82) 60%, rgba(12, 47, 87, .40)), var(--navy-2);
  --bg-page-hero: linear-gradient(120deg, var(--navy-2) 0 58%, rgba(12, 47, 87, .60) 58.2%), var(--navy);
  --text-page-hero: var(--white);
  --bg-panel: rgba(12, 47, 87, 0.62);
  --border-panel: rgba(255, 255, 255, 0.12);
  --bg-stats: rgba(12, 47, 87, 0.72);
  --bg-page-nav: rgba(8, 36, 64, 0.94);
  --border-page-nav: rgba(255, 255, 255, 0.12);
  --text-page-nav: var(--white);
  --bg-card: rgba(12, 47, 87, 0.82);
  --bg-card-info: var(--navy-2);
  --bg-mini-spec: rgba(12, 47, 87, 0.78);
  --border-mini-spec: rgba(255, 255, 255, 0.16);
  --bg-feature-item: rgba(12, 47, 87, 0.52);
  --border-feature-item: rgba(255, 255, 255, 0.12);
  --text-feature-item: var(--white);
  --hero-gradient: linear-gradient(90deg, var(--navy-2) 0%, rgba(8, 36, 64, 0.65) 30%, transparent 75%);
  --hero-gradient-mobile: linear-gradient(to bottom, rgba(8, 36, 64, 0.80) 0%, rgba(8, 36, 64, 0.40) 50%, rgba(8, 36, 64, 0.75) 100%);
  --home-hero-gradient: linear-gradient(90deg, var(--navy-2) 0 20%, rgba(8, 36, 64, 0.85) 35%, rgba(8, 36, 64, 0.40) 65%, transparent 100%);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 92px;
}

body {
  min-height: 100vh;
  width: 100%;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  --mx: 50vw;
  --my: 50vh;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

body::before {
  background-image:
    linear-gradient(120deg, transparent 0 58%, rgba(216, 160, 51, 0.10) 58.1% 58.25%, transparent 58.35%),
    linear-gradient(to right, rgba(12, 47, 87, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(12, 47, 87, 0.035) 1px, transparent 1px);
  background-size: 780px 520px, 72px 72px, 72px 72px;
  opacity: 0.8;
}

body::after {
  background:
    radial-gradient(circle 180px at var(--mx) var(--my), rgba(216, 160, 51, 0.14), rgba(216, 160, 51, 0.04) 34%, transparent 68%),
    linear-gradient(to right, transparent calc(var(--mx) - 1px), rgba(216, 160, 51, 0.18) var(--mx), transparent calc(var(--mx) + 1px)),
    linear-gradient(to bottom, transparent calc(var(--my) - 1px), rgba(216, 160, 51, 0.18) var(--my), transparent calc(var(--my) + 1px));
  opacity: 0;
  transition: opacity .28s var(--ease);
}

body.pointer-active::after {
  opacity: 1;
}

body.menu-open {
  overflow: hidden;
}

body > * {
  position: relative;
  z-index: 3;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.wrap {
  width: min(1160px, calc(100% - 32px));
  max-width: calc(100vw - 32px);
  margin: 0 auto;
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border-primary);
  background: var(--bg-header);
  color: var(--text-header);
  backdrop-filter: blur(18px);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.nav {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo {
  width: 200px;
  height: 62px;
  display: inline-flex;
  align-items: center;
}

.logo img {
  object-fit: contain;
}

.nav-links {
  position: fixed;
  inset: 76px 0 auto 0;
  display: none;
  grid-template-columns: 1fr;
  gap: 2px;
  padding: 12px 0 20px 0;
  background: var(--bg-nav-links);
  border-bottom: 1px solid var(--border-primary);
  max-height: calc(100vh - 76px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

body.menu-open .nav-links {
  display: grid;
}

.nav-links a {
  color: var(--text-header);
}

.footer-links a {
  color: var(--white);
}

.nav-links a,
.footer-links a {
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: color .25s var(--ease);
}

.nav-links a {
  padding: 14px 16px;
  display: block;
}

@media (hover: hover) {
  .nav-links a:hover,
  .footer-links a:hover {
    color: var(--gold);
  }
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-header);
  opacity: 0.5;
}

.lang-btn,
.menu-toggle {
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.lang-btn {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  color: var(--text-header);
  opacity: 0.8;
  background: transparent;
  cursor: pointer;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  transition: color 0.25s var(--ease), opacity 0.2s var(--ease);
}

.lang-btn.active {
  color: var(--gold);
  opacity: 1;
}

.menu-toggle {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  gap: 4px;
  border: 1px solid var(--border-primary);
  border-radius: var(--radius);
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: currentColor;
}

.vh-section {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: clamp(76px, 12vw, 140px) 0;
}

.hero,
.page-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--text-page-hero) !important;
  padding: clamp(80px, 12vh, 140px) 0;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.hero {
  background: var(--bg-hero);
  min-height: clamp(400px, 54svh, 520px);
  padding: clamp(42px, 7vh, 72px) 0;
}

.hero h1 span,
.page-hero h1 span {
  color: var(--gold) !important;
}

.hero p,
.page-hero p {
  color: var(--text-muted) !important;
}

.hero-grid,
.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
  z-index: 10;
}

.hero-copy,
.page-hero-copy {
  position: relative;
  z-index: 10;
  max-width: 760px;
  min-width: 0;
}

.section-head,
.about-copy {
  max-width: 760px;
  min-width: 0;
}

.hero .media-frame,
.page-hero .property-media-group {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.page-hero .media-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

@media (min-width: 980px) {
  .page-hero .property-media-group {
    left: auto !important;
    right: 0 !important;
    width: 55% !important;
  }

  .hero .media-frame {
    left: 0 !important;
    right: auto !important;
    width: 100% !important;
  }
}

.hero .media-frame::before,
.hero .media-frame::after,
.page-hero .media-frame::before,
.page-hero .media-frame::after {
  display: none !important;
}

.hero .media-frame img,
.page-hero .media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.hero .media-frame::before,
.page-hero .property-media-group::before {
  content: "" !important;
  display: block !important;
  position: absolute;
  inset: 0 !important;
  z-index: 5 !important;
  background: var(--hero-gradient-mobile) !important;
  pointer-events: none !important;
  transform: none !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-radius: 0 !important;
}

@media (min-width: 980px) {
  .hero .media-frame::before,
  .page-hero .property-media-group::before {
    background: var(--hero-gradient) !important;
  }

  .hero .media-frame::before {
    background: var(--home-hero-gradient) !important;
  }
}

.hero .media-frame .hero-rotator {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity .9s var(--ease), transform 4.8s var(--ease);
  transform: scale(1.015);
  pointer-events: none;
  z-index: 1;
}

.hero .media-frame .hero-rotator.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  z-index: 2;
}

.hero .media-frame .hero-rotator + .hero-rotator {
  position: absolute;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
}

h1,
h2,
h3,
.brand-name {
  color: var(--navy);
  font-family: Montserrat, Inter, Arial, sans-serif;
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: 0;
  text-transform: uppercase;
}

.dark h2,
.dark h3 {
  color: var(--white);
}

h1 {
  margin-top: 18px;
  font-size: 2.85rem;
  max-width: 780px;
  overflow-wrap: normal;
}

h2 {
  margin-top: 14px;
  font-size: 2.35rem;
  overflow-wrap: normal;
}

h3 {
  font-size: 1.35rem;
}

h1 span,
h2 span {
  color: var(--gold);
}

p {
  color: var(--muted);
  max-width: 100%;
}

.dark p {
  color: rgba(255, 255, 255, 0.74);
}

.lead {
  margin-top: 18px;
  font-size: 1.06rem;
}

.hero h1,
.page-hero h1 {
  color: var(--text-page-hero) !important;
  margin-top: 14px;
  font-size: 2.25rem;
  line-height: 1.1;
}

.hero-copy .lead,
.page-hero-copy .lead {
  margin-top: 14px;
  font-size: 1.0rem;
  line-height: 1.5;
}

.hero-actions,
.card-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-shrink: 0;
  padding: 0 20px;
  border: 1px solid currentColor;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}

@media (hover: hover) {
  .btn:hover {
    transform: translateY(-2px);
  }
}

.btn:active {
  transform: scale(0.98);
}

.btn.gold {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--navy-2);
}

.btn.light {
  color: var(--navy);
  background: rgba(255, 255, 255, .64);
}

.hero-actions .btn.light {
  background: transparent !important;
  border-color: var(--border-primary) !important;
  color: var(--text-primary) !important;
}

.dark-theme .hero-actions .btn.light {
  background: transparent !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
  color: var(--white) !important;
}

@media (hover: hover) {
  .hero-actions .btn.light:hover {
    background: var(--border-primary) !important;
    color: var(--text-primary) !important;
  }
  .dark-theme .hero-actions .btn.light:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: var(--gold) !important;
    color: var(--gold) !important;
  }
}

.media-frame {
  min-height: 320px;
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: visible;
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  box-shadow:
    0 28px 72px rgba(12, 47, 87, .14),
    inset 0 1px 0 rgba(255, 255, 255, .70);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .62), rgba(185, 217, 242, .16)),
    rgba(255, 255, 255, .36);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  backdrop-filter: blur(18px) saturate(1.15);
  isolation: isolate;
}

.media-frame::before {
  content: "";
  position: absolute;
  inset: 18px -16px -18px 18px;
  z-index: -1;
  background:
    linear-gradient(135deg, rgba(12, 47, 87, .30), rgba(185, 217, 242, .22) 48%, rgba(216, 160, 51, .20)),
    rgba(255, 255, 255, .22);
  border: 1px solid rgba(255, 255, 255, .36);
  border-radius: calc(var(--radius) + 2px);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  backdrop-filter: blur(18px) saturate(1.1);
  transform: rotate(-3deg);
  transform-origin: center;
  box-shadow:
    0 28px 58px rgba(12, 47, 87, .18),
    inset 0 1px 0 rgba(255, 255, 255, .34);
}

.media-frame::after {
  content: "";
  position: absolute;
  right: -10px;
  top: 18px;
  width: 46%;
  height: 42%;
  z-index: -1;
  border-top: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
  border-radius: var(--radius);
  transform: rotate(-3deg);
  opacity: .72;
}

.media-frame img {
  opacity: 1;
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, .64);
  border-radius: var(--radius);
  background: var(--stone);
  box-shadow: 0 18px 44px rgba(12, 47, 87, .10);
}

.media-frame .hero-rotator {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity .9s var(--ease), transform 4.8s var(--ease);
  transform: scale(1.015);
  pointer-events: none;
  z-index: 1;
}

.media-frame .hero-rotator.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  z-index: 2;
}

.media-frame .hero-rotator + .hero-rotator {
  position: absolute;
}

.media-label {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 3;
  max-width: calc(100% - 32px);
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 6px;
  background: rgba(12, 47, 87, 0.82);
  -webkit-backdrop-filter: blur(12px) saturate(1.08);
  backdrop-filter: blur(12px) saturate(1.08);
  color: var(--white);
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.stats {
  width: min(1160px, calc(100% - 32px));
  min-height: 126px;
  margin: -40px auto 0;
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--border-panel);
  border-radius: var(--radius);
  background: var(--bg-stats);
  box-shadow:
    0 22px 62px rgba(12, 47, 87, .12),
    inset 0 1px 0 rgba(255, 255, 255, .10);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
  backdrop-filter: blur(18px) saturate(1.12);
  overflow: hidden;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.stat {
  min-height: 112px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 18px;
  border-right: 1px solid var(--border-primary);
  border-bottom: 1px solid var(--border-primary);
  transition: border-color 0.3s var(--ease);
}

.stat strong {
  color: var(--text-primary);
  font-family: Montserrat, Inter, Arial, sans-serif;
  font-size: 1.85rem;
  line-height: 1;
  transition: color 0.3s var(--ease);
}

.stat span {
  color: var(--text-muted);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: color 0.3s var(--ease);
}

.section {
  padding: clamp(74px, 11vw, 132px) 0;
}

.section.dark {
  background: var(--navy);
  color: var(--white);
}

.section-head {
  margin-bottom: 34px;
}

.section-head p {
  margin-top: 14px;
  max-width: 650px;
}

.property-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.property-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border-panel);
  border-radius: var(--radius);
  background: var(--bg-card);
  color: var(--text-primary);
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
  min-height: auto;
  height: 100%;
}

.property-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(12, 47, 87, 0.18);
}

.card-image-wrapper {
  position: relative;
  aspect-ratio: 16 / 10.5;
  width: 100%;
  overflow: hidden;
  background: var(--stone);
  border-bottom: 1px solid var(--border-panel);
  transition: border-color 0.3s var(--ease);
}

.card-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.property-card:hover .card-image-wrapper img {
  transform: scale(1.05);
}

.card-info-wrapper {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg-card-info);
  color: var(--white);
  transition: background 0.3s var(--ease);
}

.card-badge {
  align-self: flex-start;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--navy-2);
  padding: 5px 10px;
  border-radius: 3px;
  margin-bottom: 4px;
}

.card-info-wrapper h3 {
  font-size: 1.15rem;
  line-height: 1.25;
  color: var(--white) !important;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0;
}

.card-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.74);
  margin-top: auto;
}

.card-location svg {
  width: 14px;
  height: 14px;
  color: var(--gold);
  flex-shrink: 0;
}

.mini-specs,
.feature-list,
.gallery-grid,
.spec-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.mini-spec {
  padding: 20px;
  border: 1px solid var(--border-mini-spec);
  border-radius: var(--radius);
  background: var(--bg-mini-spec);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .10);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.mini-spec span {
  display: block;
  color: var(--gold);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.mini-spec strong {
  display: block;
  margin-top: 6px;
  color: var(--text-primary);
  font-family: Montserrat, Inter, Arial, sans-serif;
  font-size: 1.15rem;
  line-height: 1.2;
  transition: color 0.3s var(--ease);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.pillar,
.info-panel,
.form-card {
  border: 1px solid var(--border-panel);
  border-radius: var(--radius);
  background: var(--bg-panel);
  box-shadow:
    0 18px 50px rgba(12, 47, 87, .10),
    inset 0 1px 0 rgba(255, 255, 255, .10);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  backdrop-filter: blur(16px) saturate(1.1);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.pillar,
.info-panel {
  padding: 22px;
}

.pillar .number {
  color: var(--gold);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .16em;
}

.pillar h3,
.info-panel h3 {
  margin-top: 10px;
}

.pillar p,
.info-panel p {
  margin-top: 10px;
}

.page-hero {
  min-height: calc(100svh - 76px);
  display: flex;
  align-items: center;
  padding: clamp(64px, 8vh, 120px) 0;
  background: var(--bg-page-hero);
  color: var(--text-page-hero);
  overflow: hidden;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.page-nav {
  position: sticky;
  top: 76px;
  z-index: 40;
  background: var(--bg-page-nav);
  border-bottom: 1px solid var(--border-page-nav);
  backdrop-filter: blur(14px);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.page-nav .wrap {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 16px;
  -webkit-overflow-scrolling: touch;
}

.page-nav a {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 12px;
  white-space: nowrap;
  color: var(--text-page-nav);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: color 0.3s var(--ease);
}

.placeholder-art {
  min-height: 320px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
  z-index: 1;
}

.placeholder-art span {
  position: relative;
  z-index: 1;
  width: min(82%, 420px);
  color: var(--gold);
  font-family: Montserrat, Inter, Arial, sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: .95;
  text-align: center;
  text-transform: uppercase;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  position: relative;
  padding: 16px 16px 16px 52px;
  border: 1px solid var(--border-feature-item);
  background: var(--bg-feature-item);
  color: var(--text-feature-item);
  font-weight: 700;
  border-radius: var(--radius);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.feature-list li::before {
  display: none;
}

.feature-list li .feature-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--gold);
}

.gallery-item,
.spec-image {
  min-height: 240px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--stone);
  cursor: zoom-in;
}

.gallery-item img,
.spec-image img {
  transition: transform .4s var(--ease), opacity .4s var(--ease);
}

@media (hover: hover) {
  .gallery-item:hover img,
  .spec-image:hover img {
    transform: scale(1.035);
    opacity: .9;
  }
}

.spec-image {
  min-height: 320px;
  cursor: default;
}

.contact {
  background: var(--navy);
  color: var(--white);
}

.contact h2,
.contact h3 {
  color: var(--white);
}

.contact p {
  color: rgba(255, 255, 255, 0.82);
}

.contact-details {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.detail {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .04);
}

.detail span {
  display: block;
  color: var(--gold);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.detail a,
.detail b {
  display: block;
  margin-top: 4px;
  color: var(--white);
  word-break: break-word;
}

.form-card {
  padding: clamp(20px, 5vw, 34px);
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .14);
}

.field-grid {
  display: grid;
  gap: 14px;
  margin: 20px 0;
}

.field {
  display: grid;
  gap: 7px;
}

label {
  color: rgba(255, 255, 255, .72);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 0;
  background: rgba(255, 255, 255, .06);
  color: var(--white);
  padding: 12px 14px;
  outline: none;
  font-size: 16px; /* Prevents auto-zoom on iOS Safari */
}

select option {
  color: var(--ink);
}

textarea {
  min-height: 132px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 175, 95, .12);
}

.form-note,
.form-status {
  margin-top: 12px;
  color: rgba(255, 255, 255, .62);
  font-size: .84rem;
}

.form-status.success {
  color: var(--sand);
}

.form-status.error {
  color: var(--gold);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(8, 36, 64, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: opacity 0.3s var(--ease);
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: min(90vw, 1080px);
  width: 100%;
}

.lightbox img {
  width: 100%;
  height: auto;
  max-height: 78vh;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: var(--radius);
  background: var(--navy-2);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.62);
}

.lightbox-caption {
  margin-top: 14px;
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(12, 47, 87, 0.82);
  padding: 8px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease), color 0.25s var(--ease);
  z-index: 1010;
}

.lightbox-close {
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  font-size: 1.8rem;
  line-height: 1;
  border-radius: 50%;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  font-size: 2.4rem;
  line-height: 1;
  border-radius: 50%;
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--gold);
  color: var(--gold);
}

.lightbox-prev:hover {
  transform: translateY(-50%) translateX(-4px);
}

.lightbox-next:hover {
  transform: translateY(-50%) translateX(4px);
}

@media (max-width: 768px) {
  .lightbox-prev,
  .lightbox-next {
    width: 44px;
    height: 44px;
    font-size: 1.8rem;
  }
  .lightbox-prev {
    left: 12px;
  }
  .lightbox-next {
    right: 12px;
  }
  .lightbox-close {
    top: 12px;
    right: 12px;
  }
}

@media (max-height: 500px) and (orientation: landscape) {
  .lightbox img {
    max-height: 60vh;
  }
  .lightbox-close {
    top: 8px;
    right: 8px;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
  .lightbox-prev,
  .lightbox-next {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
}

.lang-btn:active,
.menu-toggle:active,
.thumbnail-item:active,
.lightbox-close:active,
.lightbox-prev:active,
.lightbox-next:active {
  opacity: 0.7;
}

footer {
  position: relative;
  overflow: hidden;
  /* Slim footer: just enough vertical padding for a single-row layout */
  padding: clamp(20px, 3vw, 32px) 0 calc(20px + env(safe-area-inset-bottom, 0px));
  background: var(--navy);
  color: var(--white);
}

footer::before {
  content: "";
  position: absolute;
  top: auto;
  bottom: 0;
  right: 0; /* Align flush to the right edge */
  width: min(35vw, 480px);
  /* Height matches the slim single-row footer */
  height: 100%;
  background: var(--gold);
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
  opacity: .98;
  display: none; /* Hidden on mobile */
}

footer .footer-links a {
  color: var(--white);
}

.footer-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  text-align: center;
  /* No border-bottom: full-bleed border-top on footer element handles the separator */
}

.footer-brand .logo {
  width: min(260px, 100%);
  height: 80px;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.footer-brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.footer-brand p {
  margin-top: 0 !important;
  font-size: 0.82rem !important;
  color: rgba(255, 255, 255, 0.8) !important;
  line-height: 1.4;
  white-space: nowrap;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
  padding-top: 0;
}

.footer-links span {
  color: rgba(255, 255, 255, 0.35);
}

.copyright {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, .62);
  font-size: .78rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: center;
  text-align: center;
}

.copyright a {
  color: var(--white);
  text-decoration: underline;
  transition: color 0.25s var(--ease);
}

@media (hover: hover) {
  .copyright a:hover {
    color: var(--gold); /* Stand out on dark navy background */
  }
}

.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (pointer: coarse) {
  body::after {
    display: none;
  }
}

@media (min-width: 680px) {
  h1 {
    font-size: 4.35rem;
  }

  h2 {
    font-size: 3.35rem;
  }

  h3 {
    font-size: 1.65rem;
  }

  .lead {
    font-size: 1.18rem;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 3.25rem;
  }

  .hero-copy .lead,
  .page-hero-copy .lead {
    font-size: 1.08rem;
  }

  .stat strong {
    font-size: 2.5rem;
  }

  .placeholder-art span {
    font-size: 3.2rem;
  }

  .stats,
  .mini-specs,
  .spec-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .property-grid,
  .pillars {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .field-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .field.full {
    grid-column: 1 / -1;
  }
}

@media (max-width: 679px) {
  .nav {
    position: relative;
    gap: 8px;
  }

  .logo {
    width: 175px; /* Increased mobile size */
  }

  .nav-actions {
    position: static;
    transform: none;
    width: auto;
    gap: 8px;
  }

  .lang-switch span {
    display: none;
  }

  .lang-btn {
    min-width: 40px;
    min-height: 40px;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
  }

  .hero-copy,
  .page-hero-copy,
  .section-head,
  .about-copy {
    width: 100%;
    max-width: calc(100vw - 32px);
  }

  .hero-copy p,
  .page-hero-copy p {
    max-width: 32ch;
  }

  .hero h1,
  .page-hero h1 {
    max-width: 12ch;
  }

  .hero-actions,
  .section-actions,
  .card-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    max-width: calc(100vw - 32px);
  }

  .hero-actions .btn,
  .section-actions .btn,
  .card-actions .btn {
    width: 100%;
  }

  .media-frame::before {
    inset: 12px -6px -12px 6px;
  }

  .media-frame::after {
    right: -4px;
    top: 12px;
  }

  .property-card {
    min-height: 340px;
  }
}

@media (min-width: 980px) {
  h1 {
    font-size: 4.95rem;
  }

  h2 {
    font-size: 4.65rem;
  }

  h3 {
    font-size: 1.95rem;
  }

  .lead {
    font-size: 1.3rem;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 3.75rem;
  }

  .hero-copy .lead,
  .page-hero-copy .lead {
    font-size: 1.15rem;
  }

  .stat strong {
    font-size: 3rem;
  }

  .placeholder-art span {
    font-size: 4.2rem;
  }

  .nav-links {
    position: static;
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 0;
    background: transparent;
    border: 0;
  }

  .menu-toggle {
    display: none;
  }

  .hero-grid,
  .overview-grid,
  .contact-grid,
  .detail-grid,
  .about-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr);
    align-items: center;
  }

  .page-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 1.2fr);
    align-items: center;
  }

  body[data-property] .page-hero {
    max-height: calc(100svh - 114px);
  }

  .vh-section {
    min-height: calc(100svh - 76px);
    padding: clamp(40px, 6vh, 80px) 0;
  }

  .property-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .property-card {
    min-height: 420px;
  }

  .property-card.large {
    grid-column: span 2;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-item.wide {
    grid-column: span 2;
  }

  .gallery-item.tall {
    grid-row: span 2;
    min-height: 500px;
  }

  /* Desktop footer: single horizontal row — brand | links | copyright */
  .footer-inner {
    flex-direction: row !important;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    text-align: left;
  }

  .footer-links {
    padding-top: 0;
    flex-shrink: 0;
    justify-content: center;
    gap: 20px;
  }

  footer::before {
    display: block; /* Show gold block on desktop */
  }

  .copyright {
    margin-top: 0;
    align-items: flex-end;
    text-align: right;
    color: var(--white) !important;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .copyright span {
    white-space: nowrap;
    display: block;
  }

  .copyright a {
    color: var(--white) !important;
  }

  @media (hover: hover) {
    .copyright a:hover {
      color: var(--navy) !important;
    }
  }
}

@media (max-width: 420px) {
  .wrap {
    width: min(100% - 24px, 1160px);
  }

  .logo {
    width: 158px; /* Increased from 132px */
  }

  .hero-actions .btn,
  .section-actions .btn,
  .card-actions .btn {
    width: 100%;
  }

  .hero-actions,
  .section-actions,
  .card-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 679px) {
  .media-frame {
    min-height: auto;
  }
}

/* Property Page Thumbnails */
.property-media-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.property-thumbnails-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
  gap: 10px;
  margin-top: 6px;
}

.thumbnail-item {
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--stone);
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease);
}

@media (hover: hover) {
  .thumbnail-item:hover {
    transform: translateY(-2px);
    border-color: var(--gold);
  }
}

.thumbnail-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Stats Section Text Scaling */
.stat strong.text-stat {
  font-size: 1.15rem !important;
  word-break: break-word;
  line-height: 1.2;
}

@media (min-width: 680px) {
  .stat strong.text-stat {
    font-size: 1.4rem !important;
  }
}

@media (min-width: 980px) {
  .stat strong.text-stat {
    font-size: 1.55rem !important;
  }
}

/* Simplified Centered Contact Section */
.contact-centered {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.contact-centered p {
  margin: 18px auto 0;
  max-width: 600px;
}

.contact-details-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 36px;
}

.contact-details-row .detail {
  flex: 1;
  min-width: 250px;
  max-width: 380px;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
  padding: 20px;
  transition: border-color 0.3s var(--ease);
}

@media (hover: hover) {
  .contact-details-row .detail:hover {
    border-color: rgba(216, 160, 51, 0.4);
  }
}

.about-grid.single-col {
  grid-template-columns: 1fr;
  text-align: center;
}

.about-grid.single-col .about-copy {
  margin: 0 auto;
  max-width: 800px;
}

.about-grid.single-col .about-copy h2 {
  margin-top: 14px;
}

.about-grid.single-col .about-copy p {
  margin-top: 18px;
}

/* Theme Switcher Button */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border-primary);
  border-radius: var(--radius);
  color: var(--text-header);
  background: transparent;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.theme-toggle-btn:hover {
  background: rgba(12, 47, 87, 0.05);
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-1px);
}
.dark-theme .theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}
.theme-toggle-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  transition: transform 0.4s var(--ease);
}
.theme-toggle-btn:hover svg {
  transform: rotate(20deg);
}

/* Expanded Spacing on Warehouse Detail Pages */
body[data-property] .section {
  padding: clamp(92px, 14vw, 180px) 0;
}
body[data-property] .page-hero {
  padding: clamp(80px, 12vw, 150px) 0;
}

/* Split Section Grid for Homepage Listings */
.split-section-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 980px) {
  .split-section-grid {
    grid-template-columns: 340px 1fr;
    gap: 54px;
    align-items: start;
  }
  .split-section-grid .section-head {
    position: sticky;
    top: 116px;
    margin-bottom: 0;
  }
  .split-section-grid .property-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Repositioned Gallery Thumbnails */
.property-thumbnails-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 12px;
  margin-top: 24px;
  margin-bottom: 24px;
  width: 100%;
}

.thumbnail-item {
  aspect-ratio: 1.5; /* Rectangular aspect ratio for better framing */
  border: 1px solid var(--border-panel);
  border-radius: 6px;
  background: var(--bg-mini-spec);
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease);
}

@media (hover: hover) {
  .thumbnail-item:hover {
    transform: translateY(-2px);
    border-color: var(--gold);
  }
}

.thumbnail-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Stats Bar Section (3rd Image style) */
.stats-bar-section {
  background: var(--navy-2);
  color: var(--white);
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.stats-bar-header {
  text-align: center;
  margin-bottom: 18px;
}

.stats-bar-header .eyebrow {
  color: var(--gold);
}

.stats-bar-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.stats-bar-item {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: flex-start;
  padding: 0 16px;
}

.stats-bar-icon {
  width: 38px;
  height: 38px;
  color: var(--gold);
  flex-shrink: 0;
  opacity: 0.95;
}

.stats-bar-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stats-bar-info strong {
  font-family: Montserrat, Inter, Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--white);
}

.stats-bar-info span {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

@media (min-width: 680px) {
  .stats-bar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 980px) {
  .site-header .wrap,
  .hero .wrap,
  #footer .wrap {
    width: min(1760px, calc(100% - 64px));
    max-width: calc(100vw - 64px);
  }

  .site-header {
    position: sticky;
  }

  .nav {
    min-height: 64px;
  }

  .logo {
    width: 200px; /* Increased from 170px */
    height: 62px; /* Increased from 53px */
  }

  .nav-links {
    gap: 36px;
  }

  .nav-links a {
    padding: 10px 0;
    font-size: 0.68rem;
  }

  .hero-copy {
    max-width: 560px;
  }

  .page-hero-copy {
    max-width: 540px;
  }

  .hero h1 {
    max-width: 15ch;
    font-size: clamp(2.25rem, 4.2vw, 3.65rem);
    line-height: 0.97;
  }

  .hero-copy .lead {
    max-width: 43ch;
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .hero .hero-actions {
    margin-top: 20px;
  }

  .hero .btn {
    min-height: 38px;
    padding: 0 16px;
    font-size: 0.62rem;
  }

  .stats-bar-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }

  .stats-bar-section {
    padding: 22px 0;
  }

  .stats-bar-header {
    margin-bottom: 14px;
  }

  .stats-bar-item {
    gap: 12px;
  }

  .stats-bar-icon {
    width: 32px;
    height: 32px;
  }

  .stats-bar-item {
    justify-content: center;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
  }
  .stats-bar-item:last-child {
    border-right: none;
  }
  .stats-bar-info strong {
    font-size: 1.18rem;
  }

  .stats-bar-info span {
    font-size: 0.56rem;
  }
}

/* Horizontal Showcase Section (Slider) Layout */
.showcase-section {
  padding: clamp(44px, 6vw, 78px) 0;
  overflow: hidden;
  position: relative;
}

.showcase-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 0 16px;
}

.showcase-info {
  width: 100%;
}

.showcase-info .eyebrow {
  margin-bottom: 12px;
}

.showcase-info h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  line-height: 1.1;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.showcase-section.dark .showcase-info h2 {
  color: var(--white);
}

.showcase-info p {
  margin-bottom: 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.showcase-slider-wrapper {
  position: relative;
  width: 100%;
  overflow: visible;
}

.showcase-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding: 12px 0;
}

.showcase-slider::-webkit-scrollbar {
  display: none;
}

/* Force horizontal cards to have a unified layout in the slider */
.showcase-slider .property-card {
  width: min(290px, 85vw);
  flex-shrink: 0;
  height: auto;
  min-height: unset;
}

.showcase-slider .property-card.large {
  width: min(290px, 85vw) !important;
}

@media (min-width: 980px) {
  .showcase-container {
    flex-direction: row;
    align-items: center;
    gap: 54px;
    padding: 0;
    padding-left: max(16px, calc((100vw - 1160px) / 2));
  }
  
  .showcase-info {
    width: 320px;
    flex-shrink: 0;
  }
  
  .showcase-slider-wrapper {
    flex-grow: 1;
    padding-right: max(16px, calc((100vw - 1160px) / 2));
  }
  
  .showcase-slider .property-card {
    width: 290px;
  }
  
  .showcase-slider .property-card.large {
    width: 290px !important;
  }
}

/* Circular next button for slider */
.slider-btn {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy-2);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 25;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

@media (hover: hover) {
  .slider-btn:hover {
    background: var(--gold);
    color: var(--navy-2);
    transform: translateY(-50%) scale(1.06);
  }
}

.slider-btn:active {
  transform: translateY(-50%) scale(0.96);
}

.slider-btn svg {
  width: 24px;
  height: 24px;
}

/* Button styles */
.btn.navy {
  border-color: var(--navy-2);
  background: var(--navy-2);
  color: var(--white);
}

@media (hover: hover) {
  .btn.navy:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy-2);
  }
}

/* Hero Indicators Control Layout (o o o indicators in mockup) */
.hero-indicators-container {
  position: absolute;
  bottom: 28px;
  right: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 20;
}

.hero-indicator-btn {
  background: transparent;
  border: none;
  color: var(--white);
  font-family: monospace;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.62;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  width: 32px;
  height: 32px;
  padding: 0;
}

.hero-indicator-btn svg {
  width: 18px;
  height: 18px;
}

.hero-indicator-btn:hover {
  opacity: 1;
  color: var(--gold);
  transform: scale(1.1);
}

.hero-indicator-btn:active {
  transform: scale(0.95);
}

.hero-indicator-dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--white);
  opacity: 0.36;
  cursor: pointer;
  transition: opacity 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}

.hero-indicator-dot:hover {
  opacity: 0.72;
}

.hero-indicator-dot.active {
  opacity: 1;
  background: var(--gold);
  transform: scale(1.15);
}

/* Responsive Cards Showcase Grid Override (fit 4 cards on desktop) */
@media (min-width: 1200px) {
  .showcase-slider {
    overflow-x: visible;
  }
  .showcase-slider .property-card {
    width: calc(25% - 15px) !important;
    flex-shrink: 1 !important;
  }
  .showcase-slider .property-card.large {
    width: calc(25% - 15px) !important;
  }
  .slider-btn {
    display: none !important;
  }
}

/* About Section & Industry Engagements Logo Grid */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

#about.vh-section {
  min-height: 100svh;
  scroll-margin-top: 0;
  align-items: flex-start;
  padding-top: clamp(112px, 14vh, 160px);
  padding-bottom: clamp(56px, 8vh, 92px);
}

@media (min-width: 980px) {
  #about.vh-section {
    min-height: 100svh;
    padding-top: clamp(72px, 8vh, 96px);
    padding-bottom: clamp(56px, 7vh, 88px);
  }

  .about-grid {
    grid-template-columns: 1fr !important;
    gap: 54px;
    align-items: start;
  }
}

.engagements-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px dashed rgba(255, 255, 255, 0.14);
  margin-top: 16px;
  padding-top: 40px;
}

.engagements-container .eyebrow {
  align-self: center;
}

@media (min-width: 980px) {
  .engagements-container {
    margin-top: 24px;
    padding-top: 52px;
  }
}

.engagements-container h3 {
  font-family: Montserrat, Inter, Arial, sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
  text-align: center;
  color: var(--white);
  margin-top: 10px;
}

.engagements-container h3 span {
  color: var(--gold);
}

.logos-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

@media (min-width: 980px) {
  .logos-grid {
    gap: 28px;
    margin-top: 32px;
  }
}

.logos-caption {
  text-align: center;
}

.logo-item {
  background: var(--white);
  border-radius: 4px;
  height: 52px;
  display: grid;
  place-items: center;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  position: relative;
}

@media (min-width: 980px) {
  .logo-item {
    height: 96px;
    padding: 16px;
    border-radius: 6px;
  }
}

.logo-item img {
  max-height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.logo-fallback {
  display: none;
  font-family: Montserrat, Inter, Arial, sans-serif;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy-2);
  text-align: center;
}

.logos-caption {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.82) !important; /* Brighter for readability */
  margin-top: 18px;
}

/* Ensure paragraph text in dark sections is bright and highly readable */
.showcase-section.dark .showcase-info p {
  color: rgba(255, 255, 255, 0.82) !important;
}

/* Footer link text styling */
.footer-links a {
  font-size: 0.72rem !important;
  color: rgba(255, 255, 255, 0.68) !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-links a:hover {
  color: var(--gold) !important;
}

/* Feedback layout refinements */
:root {
  --navy: #082845;
  --navy-2: #041b31;
}

html.dark-theme {
  --bg-primary: var(--navy-2);
  --bg-header: rgba(4, 27, 49, 0.96);
  --bg-hero: linear-gradient(90deg, rgba(4, 27, 49, .98) 0 42%, rgba(4, 27, 49, .72) 58%, rgba(8, 40, 69, .18)), var(--navy-2);
  --bg-page-hero: linear-gradient(120deg, var(--navy-2) 0 58%, rgba(8, 40, 69, .62) 58.2%), var(--navy);
  --bg-page-nav: rgba(4, 27, 49, 0.96);
  --bg-card-info: var(--navy-2);
}

.hero {
  min-height: clamp(560px, 76svh, 760px);
  padding: clamp(70px, 10vh, 118px) 0 clamp(168px, 20vh, 210px);
}

.hero .hero-copy {
  padding-left: clamp(18px, 3vw, 54px);
}

.stats-bar-section {
  position: relative;
  z-index: 24;
  margin-top: clamp(-178px, -18vh, -132px);
  background: rgba(4, 27, 49, 0.98);
}

.showcase-section {
  position: relative;
  z-index: 2;
}

body[data-property] .page-nav {
  top: 64px;
  background: rgba(4, 27, 49, 0.98);
}

body[data-property] .page-nav .wrap {
  width: min(1760px, calc(100% - 64px));
  max-width: calc(100vw - 64px);
  align-items: center;
  gap: 24px;
}

.page-nav-title {
  margin-right: auto;
  color: var(--white);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

body[data-property] .page-nav a {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.62rem;
  height: 40px;
}

body[data-property] .page-nav a:hover {
  color: var(--gold);
}

body[data-property] .page-hero {
  min-height: clamp(520px, 66svh, 690px);
  padding: clamp(64px, 9vh, 104px) 0 clamp(150px, 17vh, 190px);
  background: var(--navy-2);
}

body[data-property] .page-hero .wrap,
body[data-property] .hero-specs-shell .wrap {
  width: min(1760px, calc(100% - 64px));
  max-width: calc(100vw - 64px);
}

body[data-property] .page-hero-copy {
  max-width: 520px;
  padding-left: clamp(18px, 3vw, 54px);
}

body[data-property] .page-hero h1 {
  max-width: 9ch;
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  line-height: 0.96;
  font-weight: 900; /* Extra bold for standing out */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.20); /* Subtle shadow to pop against backgrounds */
}

body[data-property] .page-hero-copy .lead {
  max-width: 46ch;
  font-size: 0.94rem;
  line-height: 1.45;
}

body[data-property] .property-thumbnails-grid {
  display: none;
}

@media (min-width: 980px) {
  body[data-property] .page-hero .property-media-group {
    left: 0 !important;
    right: auto !important;
    width: 100% !important;
  }

  body[data-property] .page-hero .property-media-group::before {
    background: var(--hero-gradient) !important; /* Use themed gradients instead of hardcoded dark navy */
  }
}

.hero-specs-shell {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 18;
  padding: 0 0 clamp(18px, 3vh, 28px);
  pointer-events: none;
}

.hero-mini-specs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(4, 27, 49, 0.92);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  pointer-events: auto;
}

.hero-mini-specs .mini-spec {
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 18px 20px;
}

.hero-mini-specs .mini-spec:last-child {
  border-right: 0;
}

.hero-mini-specs .mini-spec strong {
  color: var(--white);
  font-size: 1.04rem;
}

@media (max-width: 979px) {
  .hero {
    min-height: 78svh;
    padding-bottom: 150px;
  }

  .stats-bar-section {
    margin-top: -120px;
  }

  body[data-property] .page-nav .wrap,
  body[data-property] .page-hero .wrap,
  body[data-property] .hero-specs-shell .wrap {
    width: min(100% - 24px, 1160px);
    max-width: calc(100vw - 24px);
  }

  .page-nav-title {
    display: none;
  }

  body[data-property] .page-hero {
    min-height: 78svh;
    padding-bottom: 230px;
  }

  .hero-mini-specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-mini-specs .mini-spec:nth-child(2n) {
    border-right: 0;
  }

  .hero-mini-specs .mini-spec {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 14px;
  }
}

@media (min-width: 680px) and (max-width: 979px) {
  .page-nav-title {
    display: inline-flex;
  }
}

/* Full-height hero pass */
.hero {
  min-height: calc(100svh - 64px);
  padding: clamp(78px, 12vh, 128px) 0 clamp(190px, 24vh, 248px);
}

.hero .stats-bar-section {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 26;
  margin-top: 0;
  padding: clamp(28px, 4vh, 42px) 0;
  border-bottom: 0;
}

.hero .stats-bar-section .wrap {
  width: min(1760px, calc(100% - 64px));
  max-width: calc(100vw - 64px);
}

.hero .media-frame .hero-indicators-container {
  right: clamp(28px, 3vw, 58px);
  bottom: clamp(160px, 19vh, 220px);
}

body[data-property] .page-hero {
  min-height: calc(100svh - 104px);
  padding: clamp(70px, 10vh, 118px) 0 clamp(168px, 22vh, 230px);
}

body[data-property] .page-hero .hero-indicators-container {
  right: clamp(28px, 3vw, 58px);
  bottom: clamp(142px, 18vh, 205px);
}

body[data-property] .hero-specs-shell {
  padding-bottom: clamp(20px, 3vh, 34px);
}

@media (max-width: 979px) {
  .hero {
    min-height: calc(100svh - 76px);
    padding: clamp(64px, 9vh, 90px) 0 170px;
  }

  .hero .stats-bar-section {
    padding: 18px 0;
  }

  .hero .stats-bar-section .wrap {
    width: min(100% - 24px, 1160px);
    max-width: calc(100vw - 24px);
  }

  .hero .media-frame .hero-indicators-container {
    bottom: 128px;
    right: 18px;
  }

  body[data-property] .page-hero {
    min-height: calc(100svh - 116px);
    padding-bottom: 230px;
  }

  body[data-property] .page-hero .hero-indicators-container {
    bottom: 196px;
    right: 18px;
  }
}

/* Squarer portfolio cards and compact feature bars */
.showcase-info h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.35rem);
  line-height: 1.04;
}

.showcase-info p {
  max-width: 29ch;
  font-size: 0.88rem;
}

.showcase-slider {
  gap: clamp(24px, 2.2vw, 34px);
  padding: 18px 0;
}

.showcase-slider .property-card,
.showcase-slider .property-card.large {
  width: min(340px, 82vw) !important;
  aspect-ratio: 1 / 1.04;
}

.showcase-slider .card-image-wrapper {
  aspect-ratio: 1.28 / 1;
  flex: 0 0 auto;
}

.showcase-slider .card-info-wrapper {
  padding: 20px;
}

.showcase-slider .card-info-wrapper h3 {
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.12;
}

@media (min-width: 980px) {
  .showcase-container {
    gap: clamp(58px, 5vw, 96px);
  }

  .showcase-info {
    width: min(300px, 24vw);
  }

  .showcase-slider .property-card,
  .showcase-slider .property-card.large {
    width: clamp(260px, 18vw, 335px) !important;
  }
}

@media (min-width: 1200px) {
  .showcase-slider {
    overflow-x: auto;
  }

  .showcase-slider .property-card,
  .showcase-slider .property-card.large {
    flex: 0 0 clamp(260px, 18vw, 335px) !important;
    width: clamp(260px, 18vw, 335px) !important;
  }

  .slider-btn {
    display: grid !important;
  }
}

body[data-property] .section#features,
body[data-property] #features.section {
  min-height: auto;
  padding: clamp(34px, 5vw, 58px) 0;
}

body[data-property] .detail-grid {
  display: block;
}

body[data-property] #features .reveal:first-child {
  margin-bottom: 22px;
}

body[data-property] #features h2 {
  font-size: clamp(1.55rem, 2.6vw, 2.4rem);
  line-height: 1.02;
  max-width: 18ch;
}

body[data-property] .feature-list {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  overflow-x: auto;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(4, 27, 49, 0.78);
  scrollbar-width: none;
}

body[data-property] .feature-list::-webkit-scrollbar {
  display: none;
}

body[data-property] .feature-list li {
  min-width: clamp(170px, 18vw, 260px);
  flex: 1 0 0;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  padding: 16px 20px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  background: transparent;
  font-size: 0.82rem;
  line-height: 1.25;
}

body[data-property] .feature-list li:last-child {
  border-right: 0;
}

body[data-property] .feature-list li .feature-icon {
  position: static;
  transform: none;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

@media (max-width: 679px) {
  .showcase-slider .property-card,
  .showcase-slider .property-card.large {
    width: min(300px, 82vw) !important;
  }

  body[data-property] .feature-list li {
    min-width: 220px;
  }
}

/* Final card readability pass */
.showcase-slider {
  gap: clamp(30px, 2.8vw, 46px);
}

.showcase-slider .property-card,
.showcase-slider .property-card.large {
  aspect-ratio: auto;
  height: auto;
  min-height: 0;
}

.showcase-slider .card-image-wrapper {
  aspect-ratio: 1.18 / 1;
}

.showcase-slider .card-info-wrapper {
  min-height: 150px;
  padding: 18px 20px 20px;
}

.showcase-slider .card-badge {
  font-size: 0.58rem;
  line-height: 1.15;
  padding: 6px 10px;
}

.showcase-slider .card-info-wrapper h3 {
  font-size: clamp(0.9rem, 1.1vw, 1.06rem);
  line-height: 1.16;
}

.showcase-slider .card-location {
  font-size: 0.72rem;
}

@media (min-width: 980px) {
  .showcase-info h2 {
    font-size: clamp(1.7rem, 2.65vw, 2.12rem);
  }

  .showcase-info p {
    font-size: 0.84rem;
    line-height: 1.5;
  }
}

@media (min-width: 1200px) {
  .showcase-slider .property-card,
  .showcase-slider .property-card.large {
    flex-basis: clamp(300px, 19vw, 360px) !important;
    width: clamp(300px, 19vw, 360px) !important;
  }
}

/* Portfolio alignment and fit */
@media (min-width: 980px) {
  .showcase-container {
    width: min(1760px, calc(100% - 64px));
    max-width: calc(100vw - 64px);
    margin: 0 auto;
    padding: 0 !important;
    gap: clamp(42px, 4vw, 72px);
    align-items: center;
  }

  .showcase-info {
    width: clamp(286px, 18vw, 330px);
    padding-left: clamp(18px, 3vw, 54px);
  }

  .showcase-slider-wrapper {
    min-width: 0;
    padding-right: 0 !important;
  }

  .showcase-slider {
    gap: clamp(20px, 1.4vw, 28px);
  }
}

@media (min-width: 1200px) {
  .showcase-slider .property-card,
  .showcase-slider .property-card.large {
    flex: 0 0 clamp(250px, 15.1vw, 292px) !important;
    width: clamp(250px, 15.1vw, 292px) !important;
  }

  .showcase-slider .card-info-wrapper h3 {
    font-size: clamp(0.84rem, 0.95vw, 1rem);
  }
}

.slider-btn[hidden] {
  display: none !important;
}

/* Final portfolio overlap fix */
@media (min-width: 980px) {
  .showcase-container {
    gap: clamp(92px, 7vw, 136px);
  }

  .showcase-info {
    width: clamp(280px, 17vw, 320px);
  }

  .showcase-info h2 {
    font-size: clamp(1.32rem, 1.72vw, 1.62rem);
    line-height: 1.08;
    max-width: 10.5ch;
  }

  .showcase-info p {
    max-width: 26ch;
  }
}

@media (min-width: 1200px) {
  .showcase-slider .property-card,
  .showcase-slider .property-card.large {
    flex-basis: clamp(230px, 13.8vw, 268px) !important;
    width: clamp(230px, 13.8vw, 268px) !important;
  }
}

/* Reference-style property detail pages */
body[data-property] .page-hero {
  min-height: clamp(330px, 39svh, 410px);
  padding: clamp(48px, 6vh, 66px) 0 clamp(78px, 10vh, 96px);
  overflow: visible;
}

body[data-property] .page-hero h1 {
  max-width: 8.5ch;
  font-size: clamp(1.9rem, 3.35vw, 3rem);
  font-weight: 900;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.20);
}

body[data-property] .page-hero h1 span {
  color: var(--gold);
}

body[data-property] .page-hero-copy .lead {
  max-width: 38ch;
  font-size: clamp(0.82rem, 0.9vw, 0.94rem);
}

body[data-property] .hero-specs-shell {
  bottom: -24px;
  padding-bottom: 0;
}

body[data-property] .hero-specs-shell .wrap,
body[data-property] .property-detail-stack .wrap {
  width: min(1760px, calc(100% - 64px));
  max-width: calc(100vw - 64px);
}

body[data-property] .hero-mini-specs,
body[data-property] .property-detail-bar {
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(4, 27, 49, 0.95);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.22);
}

body[data-property] .detail-bar-label {
  flex: 0 0 clamp(150px, 13vw, 210px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  min-height: 70px;
  padding: 16px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

body[data-property] .detail-bar-label span {
  color: var(--gold);
  font-size: 0.56rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body[data-property] .detail-bar-label strong {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: clamp(0.82rem, 1vw, 1.04rem);
  font-weight: 900;
  line-height: 1.04;
  text-transform: uppercase;
}

body[data-property] .hero-mini-specs .mini-spec,
body[data-property] .detail-bar-cell {
  flex: 1 1 0;
  min-width: 150px;
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 70px;
  padding: 16px 20px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  min-width: 0;
}

body[data-property] .hero-mini-specs .mini-spec:last-child,
body[data-property] .detail-bar-cell:last-child {
  border-right: 0;
}

body[data-property] .hero-mini-specs .feature-icon,
body[data-property] .detail-bar-cell .feature-icon {
  position: static;
  transform: none;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  color: var(--gold);
}

body[data-property] .hero-mini-specs .mini-spec span,
body[data-property] .detail-bar-cell span {
  display: block;
  margin-bottom: 3px;
  color: var(--gold);
  font-size: 0.54rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.1;
  text-transform: uppercase;
}

body[data-property] .hero-mini-specs .mini-spec strong,
body[data-property] .detail-bar-cell strong {
  display: block;
  color: var(--white);
  font-size: clamp(0.68rem, 0.78vw, 0.86rem);
  font-weight: 800;
  line-height: 1.18;
  max-width: 100%;
  overflow-wrap: anywhere;
}

body[data-property] .property-detail-stack {
  position: relative;
  z-index: 5;
  padding: clamp(40px, 4.6vw, 50px) 0 clamp(26px, 3.4vw, 38px);
  background: var(--navy-2);
}

body[data-property] .property-detail-stack-inner {
  display: grid;
  gap: clamp(14px, 1.35vw, 20px);
}

body[data-property] .detail-bar-scroll {
  flex: 1 1 auto;
  display: flex;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

body[data-property] .detail-bar-scroll::-webkit-scrollbar {
  display: none;
}

body[data-property] .property-feature-bar .detail-bar-cell {
  min-width: clamp(150px, 15vw, 230px);
}

body[data-property] .property-contact-bar .detail-bar-cell {
  min-width: clamp(240px, 26vw, 420px);
}

body[data-property] [hidden] {
  display: none !important;
}

@media (max-width: 979px) {
  body[data-property] .page-hero {
    min-height: calc(100svh - 116px);
    padding: clamp(64px, 9vh, 90px) 0 228px;
  }

  body[data-property] .hero-specs-shell {
    bottom: 18px;
  }

  body[data-property] .hero-specs-shell .wrap,
  body[data-property] .property-detail-stack .wrap {
    width: min(100% - 24px, 1160px);
    max-width: calc(100vw - 24px);
  }

  body[data-property] .hero-mini-specs,
  body[data-property] .property-detail-bar {
    flex-direction: column;
  }

  body[data-property] .detail-bar-label,
  body[data-property] .hero-mini-specs .mini-spec,
  body[data-property] .detail-bar-cell {
    flex-basis: auto;
    min-width: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  }

  body[data-property] .detail-bar-scroll {
    width: 100%;
  }

  body[data-property] .property-detail-stack {
    padding-top: 24px;
  }
}

/* Detail row strategy: lighter alternating rows and mobile-safe tiles */
@media (min-width: 980px) {
  body[data-property] .property-feature-bar,
  body[data-property] .property-contact-bar {
    border-color: rgba(255, 255, 255, 0.09);
    border-left-color: transparent;
    border-right-color: transparent;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  body[data-property] .property-feature-bar .detail-bar-label,
  body[data-property] .property-contact-bar .detail-bar-label,
  body[data-property] .property-feature-bar .detail-bar-cell,
  body[data-property] .property-contact-bar .detail-bar-cell {
    border-color: rgba(255, 255, 255, 0.1);
  }

  body[data-property] .property-products-bar {
    margin: 2px 0;
  }
}

@media (max-width: 679px) {
  body[data-property] .property-detail-stack {
    padding: 18px 0 28px;
  }

  body[data-property] .property-detail-stack-inner {
    gap: 14px;
  }

  body[data-property] .hero-mini-specs,
  body[data-property] .property-detail-bar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    background: rgba(4, 27, 49, 0.95);
    box-shadow: none;
  }

  body[data-property] .property-feature-bar,
  body[data-property] .property-contact-bar {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(4, 27, 49, 0.58);
  }

  body[data-property] .detail-bar-label {
    grid-column: 1 / -1;
    min-height: 58px;
    padding: 14px 18px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  body[data-property] .detail-bar-label strong {
    font-size: 0.9rem;
  }

  body[data-property] .hero-mini-specs .mini-spec,
  body[data-property] .detail-bar-cell {
    width: auto;
    min-width: 0 !important;
    min-height: 78px;
    padding: 14px 16px;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  body[data-property] .hero-mini-specs .mini-spec:nth-child(odd),
  body[data-property] .detail-bar-cell:nth-child(even) {
    border-right: 0;
  }

  body[data-property] .hero-mini-specs .mini-spec:nth-last-child(-n + 2),
  body[data-property] .detail-bar-cell:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  body[data-property] .detail-bar-scroll {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
  }

  body[data-property] .property-contact-bar .detail-bar-scroll {
    grid-template-columns: 1fr;
  }

  body[data-property] .property-contact-bar .detail-bar-cell {
    min-height: 68px;
    border-right: 0;
  }

  body[data-property] .property-contact-bar .detail-bar-cell:last-child {
    border-bottom: 0;
  }

  body[data-property] .hero-mini-specs .feature-icon,
  body[data-property] .detail-bar-cell .feature-icon {
    flex-basis: 22px;
    width: 22px;
    height: 22px;
  }

  body[data-property] .hero-mini-specs .mini-spec span,
  body[data-property] .detail-bar-cell span {
    font-size: 0.5rem;
  }

  body[data-property] .hero-mini-specs .mini-spec strong,
  body[data-property] .detail-bar-cell strong {
    font-size: 0.72rem;
    line-height: 1.2;
  }
}

/* Approval version: premium property detail pages */
body[data-property] main {
  background:
    linear-gradient(180deg, rgba(4, 27, 49, 0) 0, rgba(4, 27, 49, 0.96) 560px),
    var(--navy-2);
}

body[data-property] .page-nav {
  z-index: 45;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(4, 27, 49, 0.92);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

body[data-property] .page-nav .wrap {
  height: 50px;
}

body[data-property] .page-nav a {
  height: 50px;
  color: rgba(255, 255, 255, 0.7);
}

body[data-property] .page-nav-title {
  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(0.64rem, 0.72vw, 0.78rem);
}

body[data-property] .page-hero {
  min-height: calc(100svh - 114px);
  padding: clamp(52px, 6vh, 72px) 0 clamp(120px, 14vh, 150px); /* Reduced padding to fit hero + facts in 100vh */
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 18%, rgba(216, 160, 51, 0.16), transparent 28%),
    linear-gradient(100deg, rgba(4, 27, 49, 1) 0 43%, rgba(4, 27, 49, 0.92) 54%, rgba(4, 27, 49, 0.58) 74%, rgba(4, 27, 49, 0.18) 100%),
    var(--navy-2);
}

body[data-property] .page-hero .page-hero-grid {
  min-height: clamp(320px, 42vh, 480px); /* Adjusted min-height slightly for viewport fit */
}

body[data-property] .page-hero-copy {
  max-width: min(620px, 52vw);
  padding-left: clamp(20px, 3.4vw, 64px);
}

body[data-property] .page-hero .eyebrow {
  color: var(--gold);
  font-size: clamp(0.64rem, 0.78vw, 0.82rem);
}

body[data-property] .page-hero h1 {
  max-width: 16ch; /* Increased to prevent word break/splitting on long words */
  margin-top: clamp(12px, 1.8vh, 20px);
  font-size: clamp(2.2rem, 4.4vw, 3.85rem); /* Scaled down font size proportionally */
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

body[data-property] .page-hero-copy .lead {
  max-width: 46ch;
  margin-top: clamp(12px, 2vh, 20px); /* Reduced margin slightly to fit vertically */
  color: rgba(255, 255, 255, 0.76) !important;
  font-size: clamp(0.98rem, 1.18vw, 1.24rem);
  line-height: 1.55;
}

body[data-property] .page-hero .hero-actions {
  margin-top: clamp(18px, 3vh, 30px); /* Reduced margin slightly to fit vertically */
}

body[data-property] .page-hero .property-media-group {
  position: absolute !important;
  inset: 0 0 0 auto !important;
  width: min(62vw, 1180px) !important;
  height: 100% !important;
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
}

body[data-property] .page-hero .property-media-group::before {
  z-index: 6 !important;
  background: var(--hero-gradient) !important; /* Use themed gradients to inherit brightness settings */
}

body[data-property] .page-hero .media-frame,
body[data-property] .page-hero .media-frame img,
body[data-property] .page-hero .hero-rotator,
body[data-property] .page-hero .hero-zoom-btn {
  border-radius: 0 !important;
}

body[data-property] .page-hero .hero-indicators-container {
  right: clamp(32px, 3.4vw, 64px);
  bottom: clamp(110px, 14vh, 140px); /* Lowered indicators to fit above the facts bar */
  z-index: 9;
}

body[data-property] .hero-specs-shell {
  bottom: clamp(28px, 4vh, 44px);
  z-index: 20;
}

body[data-property] .hero-specs-shell .wrap,
body[data-property] .property-detail-stack .wrap {
  width: min(1580px, calc(100% - 80px));
  max-width: calc(100vw - 80px);
}

body[data-property] .hero-mini-specs {
  display: grid;
  grid-template-columns: minmax(190px, 0.75fr) repeat(4, minmax(0, 1fr));
  gap: 12px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body[data-property] .hero-mini-specs .detail-bar-label,
body[data-property] .hero-mini-specs .mini-spec {
  min-height: 92px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(12, 47, 87, 0.96), rgba(4, 27, 49, 0.88));
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.24);
}

body[data-property] .hero-mini-specs .detail-bar-label {
  flex-basis: auto;
  padding: 20px 22px;
}

body[data-property] .hero-mini-specs .detail-bar-label strong {
  font-size: clamp(0.98rem, 1.2vw, 1.3rem);
}

body[data-property] .hero-mini-specs .mini-spec {
  padding: 18px 20px;
}

body[data-property] .hero-mini-specs .mini-spec strong {
  font-size: clamp(0.86rem, 1vw, 1.1rem);
}

body[data-property] .property-detail-stack {
  padding: clamp(58px, 7vw, 92px) 0 clamp(64px, 8vw, 104px);
  background:
    linear-gradient(180deg, rgba(4, 27, 49, 0.98), rgba(6, 33, 58, 1)),
    var(--navy-2);
}

body[data-property] .property-detail-stack-inner {
  display: grid;
  gap: clamp(22px, 2.5vw, 34px);
}

body[data-property] .property-approval-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.72fr);
  gap: clamp(22px, 2.5vw, 34px);
  align-items: stretch;
}

body[data-property] .property-feature-panel,
body[data-property] .property-summary-panel,
body[data-property] .property-contact-panel {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(12, 47, 87, 0.74), rgba(4, 27, 49, 0.84));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}

body[data-property] .property-feature-panel {
  padding: clamp(26px, 3vw, 42px);
}

body[data-property] .property-feature-panel h2,
body[data-property] .property-contact-panel h2 {
  max-width: 13ch;
  margin-top: 12px;
  color: var(--white);
  font-size: clamp(1.6rem, 2.5vw, 2.7rem);
  line-height: 0.98;
}

body[data-property] .property-feature-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: clamp(24px, 3vw, 38px);
}

body[data-property] .property-feature-card {
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

body[data-property] .property-feature-card .feature-icon {
  position: static;
  width: 28px;
  height: 28px;
  color: var(--gold);
  transform: none;
}

body[data-property] .property-feature-card strong {
  color: var(--white);
  font-size: clamp(0.84rem, 0.95vw, 1rem);
  line-height: 1.22;
}

body[data-property] .property-summary-panel {
  padding: clamp(24px, 2.5vw, 34px);
}

body[data-property] .property-summary-panel > span,
body[data-property] .property-contact-panel > div > span {
  display: block;
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body[data-property] .property-summary-panel h3 {
  margin-top: 10px;
  color: var(--white);
  font-size: clamp(1.25rem, 1.7vw, 1.85rem);
  line-height: 1.04;
}

body[data-property] .property-summary-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

body[data-property] .property-summary-list .detail-bar-cell,
body[data-property] .property-contact-meta .detail-bar-cell {
  min-height: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

body[data-property] .property-summary-list .feature-icon,
body[data-property] .property-contact-meta .feature-icon {
  position: static;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  color: var(--gold);
  transform: none;
}

body[data-property] .property-summary-list .detail-bar-cell span,
body[data-property] .property-contact-meta .detail-bar-cell span {
  color: var(--gold);
}

body[data-property] .property-summary-list .detail-bar-cell strong,
body[data-property] .property-contact-meta .detail-bar-cell strong {
  color: var(--white);
  font-size: 0.92rem;
}

body[data-property] .property-contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(24px, 3vw, 38px);
  background:
    linear-gradient(100deg, rgba(216, 160, 51, 0.18), rgba(12, 47, 87, 0.68) 34%, rgba(4, 27, 49, 0.9));
}

body[data-property] .property-contact-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

body[data-property] .property-contact-meta {
  min-width: min(340px, 100%);
}

body[data-property] .property-products-bar,
body[data-property] .property-feature-bar,
body[data-property] .property-contact-bar {
  display: none;
}

@media (max-width: 1120px) {
  body[data-property] .hero-mini-specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-property] .hero-mini-specs .detail-bar-label {
    grid-column: 1 / -1;
  }

  body[data-property] .property-approval-grid {
    grid-template-columns: 1fr;
  }

  body[data-property] .property-feature-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 979px) {
  body[data-property] .page-nav .wrap,
  body[data-property] .hero-specs-shell .wrap,
  body[data-property] .property-detail-stack .wrap {
    width: min(100% - 24px, 1160px);
    max-width: calc(100vw - 24px);
  }

  body[data-property] .page-hero {
    min-height: auto;
    padding: clamp(70px, 10vh, 96px) 0 clamp(28px, 5vh, 42px);
  }

  body[data-property] .page-hero-copy {
    max-width: calc(100vw - 32px);
    padding-left: 0;
  }

  body[data-property] .page-hero .property-media-group {
    width: 100% !important;
    clip-path: none;
    opacity: 0.42;
  }

  body[data-property] .page-hero .hero-indicators-container {
    bottom: 24px;
  }

  body[data-property] .hero-specs-shell {
    position: relative;
    bottom: auto;
    margin-top: 34px;
  }

  body[data-property] .hero-mini-specs {
    grid-template-columns: 1fr;
  }

  body[data-property] .property-contact-panel {
    display: grid;
  }

  body[data-property] .property-contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 679px) {
  body[data-property] .page-nav .wrap {
    height: auto;
    min-height: 48px;
  }

  body[data-property] .page-hero h1 {
    font-size: clamp(2.25rem, 13vw, 4.25rem);
  }

  body[data-property] .property-feature-card-grid {
    grid-template-columns: 1fr;
  }

  body[data-property] .property-feature-card {
    min-height: 108px;
  }

  body[data-property] .property-summary-list .detail-bar-cell,
  body[data-property] .property-contact-meta .detail-bar-cell {
    padding: 14px;
  }
}

/* Mobile-first responsive hardening */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  max-width: 100%;
  overflow-x: clip;
}

@supports not (overflow: clip) {
  body {
    overflow-x: hidden;
  }
}

:where(.hero-grid, .page-hero-grid, .showcase-container, .showcase-slider-wrapper, .property-card, .card-info-wrapper, .about-grid, .contact-centered, .contact-details-row, .footer-inner, .property-approval-grid, .property-feature-panel, .property-summary-panel, .property-contact-panel, .property-contact-actions, .detail-bar-cell, .mini-spec) {
  min-width: 0;
}

:where(h1, h2, h3, p, a, button, strong, span, li) {
  overflow-wrap: anywhere;
}

:where(.btn, .nav-links a, .page-nav a) {
  min-height: 44px;
  white-space: normal;
  text-align: center;
  line-height: 1.15;
  -webkit-tap-highlight-color: rgba(216, 160, 51, 0.22);
}

input,
select,
textarea {
  min-height: 44px;
  font-size: max(16px, 1rem);
}

.site-header {
  padding-top: env(safe-area-inset-top, 0px);
}

.nav-links {
  inset:
    calc(64px + env(safe-area-inset-top, 0px))
    env(safe-area-inset-right, 0px)
    auto
    env(safe-area-inset-left, 0px);
  max-height: calc(100dvh - 64px - env(safe-area-inset-top, 0px));
}

.showcase-slider,
.page-nav .wrap,
.detail-bar-scroll {
  overscroll-behavior-x: contain;
}

@media (max-width: 979px) {
  .wrap,
  .site-header .wrap,
  .hero .wrap,
  .hero .stats-bar-section .wrap,
  body[data-property] .page-nav .wrap,
  body[data-property] .page-hero .wrap,
  body[data-property] .hero-specs-shell .wrap,
  body[data-property] .property-detail-stack .wrap {
    width: min(100% - 24px, 1160px);
    max-width: calc(100vw - 24px);
  }

  .nav {
    gap: 10px;
  }

  .nav-actions {
    gap: 8px;
  }

  .lang-switch {
    gap: 2px;
  }

  .lang-btn {
    min-width: 38px;
    padding-inline: 4px;
  }

  .menu-toggle,
  .theme-toggle-btn {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
  }

  .hero,
  .page-hero,
  .vh-section {
    min-height: auto;
  }

  .hero {
    display: block;
    padding: clamp(70px, 12svh, 104px) 0 0;
  }

  .hero > .wrap {
    padding-bottom: clamp(34px, 8vw, 54px);
  }

  .hero .stats-bar-section {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    padding: 18px 0 calc(20px + env(safe-area-inset-bottom, 0px));
  }

  .hero .media-frame .hero-indicators-container {
    display: none;
  }

  .hero h1,
  .page-hero h1 {
    max-width: 12ch;
    font-size: clamp(2.05rem, 10vw, 3.25rem);
    line-height: 1;
  }

  .hero-copy .lead,
  .page-hero-copy .lead {
    max-width: 38ch;
  }

  .showcase-section {
    padding: clamp(48px, 11vw, 74px) 0;
  }

  .showcase-container {
    width: min(100% - 24px, 1160px);
    max-width: calc(100vw - 24px);
    margin-inline: auto;
  }

  .showcase-info h2 {
    max-width: 14ch;
    font-size: clamp(1.72rem, 8vw, 2.35rem);
  }

  .showcase-info p {
    max-width: 38ch;
  }

  .showcase-slider {
    gap: 16px;
    scroll-padding-inline: 0;
  }

  .showcase-slider .property-card,
  .showcase-slider .property-card.large {
    flex: 0 0 min(300px, calc(100vw - 48px)) !important;
    width: min(300px, calc(100vw - 48px)) !important;
  }

  body[data-property] .page-nav {
    top: calc(64px + env(safe-area-inset-top, 0px));
  }

  body[data-property] .page-nav .wrap {
    justify-content: flex-start;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  body[data-property] .page-nav a {
    flex: 0 0 auto;
    min-width: max-content;
    padding-inline: 12px;
  }

  body[data-property] .page-hero {
    padding: clamp(70px, 10svh, 96px) 0 clamp(32px, 7vw, 48px);
  }

  body[data-property] .page-hero .page-hero-grid {
    min-height: auto;
  }

  body[data-property] .page-hero-copy {
    max-width: 100%;
  }

  body[data-property] .page-hero .property-media-group {
    opacity: 0.34;
  }

  body[data-property] .hero-specs-shell {
    margin-top: clamp(28px, 7vw, 42px);
  }

  body[data-property] .hero-mini-specs {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  body[data-property] .hero-mini-specs .detail-bar-label,
  body[data-property] .hero-mini-specs .mini-spec {
    min-height: auto;
    padding: 14px 16px;
  }

  body[data-property] .property-contact-panel {
    align-items: stretch;
  }

  body[data-property] .property-contact-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  body[data-property] .property-contact-actions .btn,
  body[data-property] .property-contact-meta {
    width: 100%;
  }
}

@media (max-width: 679px) {
  .wrap,
  .site-header .wrap,
  .hero .wrap,
  .hero .stats-bar-section .wrap,
  body[data-property] .page-nav .wrap,
  body[data-property] .page-hero .wrap,
  body[data-property] .hero-specs-shell .wrap,
  body[data-property] .property-detail-stack .wrap {
    width: min(100% - 20px, 1160px);
    max-width: calc(100vw - 20px);
  }

  .logo {
    width: 142px; /* Increased from 118px */
    height: 48px; /* Increased from 40px */
  }

  .nav {
    min-height: 60px;
  }

  .nav-links {
    inset:
      calc(60px + env(safe-area-inset-top, 0px))
      env(safe-area-inset-right, 0px)
      auto
      env(safe-area-inset-left, 0px);
    max-height: calc(100dvh - 60px - env(safe-area-inset-top, 0px));
  }

  .eyebrow {
    gap: 9px;
    font-size: 0.62rem;
    letter-spacing: 0.12em;
  }

  .eyebrow::before {
    width: 24px;
  }

  .hero,
  body[data-property] .page-hero {
    padding-top: clamp(62px, 10svh, 84px);
  }

  .hero h1,
  .page-hero h1,
  body[data-property] .page-hero h1 {
    max-width: 11.5ch;
    font-size: clamp(1.92rem, 9.7vw, 3rem);
    line-height: 1.02;
  }

  .hero-actions,
  .card-actions,
  .section-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
  }

  .hero-actions .btn,
  .card-actions .btn,
  .section-actions .btn {
    width: 100%;
    padding-inline: 14px;
  }

  .stats-bar-grid {
    gap: 12px;
  }

  .stats-bar-item {
    padding: 0 16px;
  }

  .stats-bar-info strong {
    font-size: clamp(1rem, 5.6vw, 1.24rem);
  }

  .stats-bar-info span {
    font-size: 0.58rem;
    letter-spacing: 0.08em;
  }

  .showcase-info h2,
  body[data-property] .property-feature-panel h2,
  body[data-property] .property-contact-panel h2 {
    max-width: 13ch;
    font-size: clamp(1.55rem, 8vw, 2.18rem);
  }

  .showcase-slider .property-card,
  .showcase-slider .property-card.large {
    flex-basis: min(286px, calc(100vw - 40px)) !important;
    width: min(286px, calc(100vw - 40px)) !important;
  }

  .showcase-slider .card-info-wrapper {
    min-height: 136px;
    padding: 16px;
  }

  .slider-btn {
    display: none !important;
  }

  .about-grid {
    gap: 26px;
  }

  .logos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .contact-details-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contact-details-row .detail {
    width: 100%;
    min-width: 0;
    max-width: none;
    padding: 16px;
  }

  body[data-property] .page-nav a {
    height: 44px;
    font-size: 0.58rem;
    padding-inline: 8px;
  }

  body[data-property] .page-nav .wrap {
    gap: 4px;
  }

  body[data-property] .property-detail-stack {
    padding: 28px 0 44px;
  }

  body[data-property] .property-feature-panel,
  body[data-property] .property-summary-panel,
  body[data-property] .property-contact-panel {
    padding: 20px;
  }

  body[data-property] .property-feature-card-grid,
  body[data-property] .property-summary-list {
    gap: 10px;
  }

  body[data-property] .property-feature-card {
    min-height: auto;
    gap: 14px;
    padding: 16px;
  }

  .footer-inner,
  .footer-brand,
  .footer-links {
    text-align: center;
    justify-items: center;
  }

  .footer-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .footer-links span {
    display: none;
  }
}

@media (min-width: 980px) and (max-width: 1199px) {
  .showcase-container {
    gap: clamp(44px, 5vw, 72px);
  }

  .showcase-info {
    width: clamp(260px, 25vw, 310px);
  }

  .showcase-slider .property-card,
  .showcase-slider .property-card.large {
    flex-basis: clamp(230px, 25vw, 286px) !important;
    width: clamp(230px, 25vw, 286px) !important;
  }

  body[data-property] .hero-mini-specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .showcase-slider {
    overflow-x: auto;
  }

  .showcase-slider .property-card,
  .showcase-slider .property-card.large {
    flex: 0 0 clamp(236px, 14.2vw, 284px) !important;
    width: clamp(236px, 14.2vw, 284px) !important;
  }
}

/* Responsive polish after visual audit */
:where(h1, h2, h3, .brand-name) {
  overflow-wrap: normal;
  word-break: normal;
}

@media (min-width: 980px) {
  .hero h1 {
    max-width: 15ch;
  }
}

@media (max-width: 979px) {
  body[data-property] .page-hero {
    display: block;
  }

  body[data-property] .page-hero-grid {
    display: block;
    min-height: auto;
  }

  body[data-property] .hero-specs-shell {
    position: static !important;
    inset: auto !important;
    width: 100%;
    margin: clamp(28px, 8vw, 42px) auto 0;
    padding: 0 !important;
    transform: none !important;
  }

  body[data-property] .hero-specs-shell .wrap {
    width: min(100% - 24px, 1160px) !important;
    max-width: calc(100vw - 24px) !important;
    margin-inline: auto;
  }

  body[data-property] .hero-mini-specs {
    width: 100%;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px;
    overflow: visible !important;
  }

  body[data-property] .hero-mini-specs .detail-bar-label,
  body[data-property] .hero-mini-specs .mini-spec {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 679px) {
  body[data-property] .page-hero h1 {
    font-size: clamp(1.9rem, 9vw, 2.75rem);
    max-width: 12ch;
  }

  body[data-property] .page-hero-copy .lead {
    max-width: 34ch;
    overflow-wrap: normal;
    word-break: normal;
  }

  body[data-property] .hero-specs-shell .wrap {
    width: min(100% - 20px, 1160px) !important;
    max-width: calc(100vw - 20px) !important;
  }
}

/* Mobile property photo-first pass */
@media (max-width: 979px) {
  body[data-property] .page-hero {
    background:
      radial-gradient(circle at 12% 16%, rgba(216, 160, 51, 0.14), transparent 30%),
      linear-gradient(180deg, rgba(4, 27, 49, 1) 0%, rgba(5, 33, 58, 0.98) 68%, rgba(8, 40, 69, 0.94) 100%),
      var(--navy-2);
    overflow: visible;
  }

  body[data-property] .page-hero-grid {
    display: grid;
    gap: clamp(22px, 6vw, 34px);
  }

  body[data-property] .page-hero-copy {
    max-width: min(100%, 38rem);
  }

  /* hero-actions is moved (via JS) to sit after the hero image on mobile;
     the grid's own gap provides the spacing, so drop the flow-based margin. */
  body[data-property] .page-hero .hero-actions {
    margin-top: 0;
  }

  body[data-property] .page-hero .property-media-group {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0;
    opacity: 1 !important;
    clip-path: none !important;
    z-index: 12;
  }

  body[data-property] .page-hero .property-media-group::before {
    display: none !important;
  }

  body[data-property] .page-hero .media-frame {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0;
    aspect-ratio: 3 / 2;
    overflow: hidden !important;
    border: 1px solid rgba(255, 255, 255, 0.24) !important;
    border-radius: 8px !important;
    background: rgba(3, 20, 38, 0.92) !important;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.26) !important;
  }

  body[data-property] .page-hero .media-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    background: rgba(3, 20, 38, 0.92);
  }

  body[data-property] .page-hero .hero-zoom-btn,
  body[data-property] .page-hero .hero-rotator {
    border-radius: 8px !important;
  }

  body[data-property] .page-hero .hero-indicators-container {
    right: 12px;
    bottom: 12px;
  }

  body[data-property] .mobile-property-gallery {
    display: flex !important;
    gap: 12px;
    margin: 18px auto 0;
    padding: 0 0 8px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  body[data-property] .mobile-property-gallery:empty {
    display: none !important;
  }

  body[data-property] .mobile-property-gallery::-webkit-scrollbar {
    display: none;
  }

  body[data-property] .mobile-gallery-item {
    flex: 0 0 clamp(136px, 42vw, 190px);
    min-width: 136px;
    aspect-ratio: 3 / 2;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    scroll-snap-align: start;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 7px;
    background: rgba(3, 20, 38, 0.9);
  }

  body[data-property] .mobile-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  body[data-property] .property-thumbnails-grid {
    display: none;
    gap: 12px;
    margin: 18px 0 8px;
    padding: 0 0 8px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  body[data-property] .property-thumbnails-grid:empty {
    display: none;
  }

  body[data-property] .thumbnail-item {
    flex: 0 0 clamp(136px, 42vw, 190px);
    min-width: 136px;
    aspect-ratio: 3 / 2;
    scroll-snap-align: start;
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(3, 20, 38, 0.9);
  }

  body[data-property] .thumbnail-item img {
    object-fit: cover;
  }
}

body[data-property] .mobile-property-gallery {
  display: none;
}

/* Language-specific layout adjustments */
html[lang="pt"] .hero h1 {
  max-width: 18ch;
}
html[lang="pt"] .hero h1 span {
  white-space: nowrap;
}

@media (max-width: 679px) {
  html[lang="pt"] .hero h1 {
    max-width: 15ch;
  }
}

