@import url("tokens.css");

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  transition: background var(--transition), color var(--transition);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--link); text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; margin: 0 0 var(--space-sm); color: var(--text-primary); }
h1 { font-size: var(--step-4); letter-spacing: -0.01em; }
h2 { font-size: var(--step-3); letter-spacing: -0.01em; }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p { margin: 0 0 var(--space-sm); color: var(--text-secondary); }
:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 2px; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--space-md); }
.section { padding: var(--space-2xl) 0; }
.section-tight { padding: var(--space-xl) 0; }
.section-alt { background: var(--bg-card); }
.section-inverse { background: var(--bg-inverse); color: var(--text-inverse); }
.section-inverse h1, .section-inverse h2, .section-inverse h3, .section-inverse h4 { color: var(--text-inverse); }
.section-inverse p { color: var(--text-inverse-muted); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin-bottom: var(--space-sm);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--accent); display: inline-block; }

.section-head { max-width: 640px; margin-bottom: var(--space-lg); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
#property-search, #categories-home, #impact, #about-home, #trust-home, #services-home, #featured-home, #process-home, #marketing-home, #contact-section { scroll-margin-top: 126px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---- Horizon divider: signature element ---- */
.horizon {
  height: 2px;
  width: 100%;
  background: var(--horizon-gradient);
  border: none;
  margin: 0;
  opacity: 0.85;
}
.horizon-dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--brass-500); margin: 0 var(--space-xs);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.85em 1.6em;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: var(--step--1);
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-primary { background: var(--navy-900); color: var(--sand-100); }
.btn-primary:hover { background: var(--navy-700); }
[data-theme="dark"] .btn-primary { background: var(--brass-500); color: var(--navy-950); }
[data-theme="dark"] .btn-primary:hover { background: var(--brass-600); }
.btn-accent { background: var(--brass-500); color: var(--navy-950); }
.btn-accent:hover { background: var(--brass-600); }
.btn-ghost { background: transparent; color: var(--text-primary); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost-inverse { background: transparent; color: var(--text-inverse); border-color: var(--border-inverse); }
.btn-ghost-inverse:hover { border-color: var(--brass-500); color: var(--brass-500); }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 0.55em 1.1em; font-size: 0.82rem; }
.btn-wa { background: #25D366; color: var(--navy-950); border-color: color-mix(in srgb, #25D366 86%, var(--navy-950)); box-shadow: 0 12px 28px rgba(37, 211, 102, 0.18); }
.btn-wa:hover { background: #1DA851; color: #fff; border-color: #1DA851; box-shadow: 0 14px 30px rgba(37, 211, 102, 0.24); }
.btn-wa:active { transform: translateY(0); background: #168C43; border-color: #168C43; }
.btn-wa .wa-icon { width: 1.15em; height: 1.15em; flex: 0 0 auto; }

/* ============================================
   HEADER / NAV
   ============================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), border-color var(--transition);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: var(--space-md); }
.brand { display: flex; align-items: center; gap: 0.6em; font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; color: var(--text-primary); flex-shrink: 0; }
.brand-mark { width: 34px; height: 34px; flex-shrink: 0; }
.brand-logo { display: block; width: auto; height: 54px; max-width: min(244px, 49vw); object-fit: contain; flex: 0 0 auto; }
.brand span.accent { color: var(--accent); }

.nav-primary { display: flex; align-items: center; gap: var(--space-lg); }
.nav-links { display: flex; align-items: center; gap: var(--space-md); }
.nav-links a { color: var(--text-secondary); font-size: 0.94rem; font-weight: 500; padding: 0.4em 0; position: relative; transition: color var(--transition); }
.nav-links a::after { content:""; position:absolute; left:0; right:0; bottom:-2px; height:2px; background:var(--accent); transform: scaleX(0); transition: transform var(--transition); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text-primary); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: var(--space-sm); }
.admin-access-link {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  min-height: 36px;
  margin-left: 0.35rem;
  padding: 0.42rem 0.72rem;
  border: 1px solid color-mix(in srgb, var(--border) 90%, var(--accent));
  border-radius: var(--radius-sm);
  color: var(--navy-950);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  background: color-mix(in srgb, var(--bg-elevated) 86%, transparent);
  transition: border-color var(--transition), color var(--transition), background var(--transition), transform var(--transition);
}
.admin-access-link svg { width: 16px; height: 16px; color: currentColor; flex: 0 0 auto; }
.admin-access-link:hover,
.admin-access-link:focus-visible {
  color: var(--accent);
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, var(--bg-elevated));
  transform: translateY(-1px);
}
[data-theme="dark"] .admin-access-link {
  color: var(--sand-100);
  border-color: rgba(255,255,255,0.14);
  background: rgba(24,24,24,0.72);
}
[data-theme="dark"] .admin-access-link:hover,
[data-theme="dark"] .admin-access-link:focus-visible {
  color: var(--brass-500);
  border-color: var(--brass-500);
  background: rgba(186,136,53,0.1);
}
.icon-btn {
  width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 1px solid var(--border); background: transparent; color: var(--text-primary);
  cursor: pointer; transition: border-color var(--transition), color var(--transition);
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.icon-btn svg { width: 18px; height: 18px; }
[data-theme="dark"] .icon-sun { display: inline-flex; }
[data-theme="dark"] .icon-moon { display: none; }
.icon-moon { display: inline-flex; }
.icon-sun { display: none; }

.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: transparent; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content:""; display:block; width:20px; height:2px; background: var(--text-primary); position: relative; transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle span::before { position:absolute; top:-6px; }
.nav-toggle span::after { position:absolute; top:6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); top:0; }
.nav-toggle[aria-expanded="true"] span::after { transform: rotate(-45deg); top:0; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav-primary {
    position: fixed; inset: 78px 0 0 0; z-index: 120; width: 100%; max-width: 100vw; max-height: calc(100dvh - 78px); background: color-mix(in srgb, var(--bg) 96%, transparent); backdrop-filter: blur(16px); flex-direction: column; align-items: stretch;
    padding: var(--space-lg) var(--space-md); gap: var(--space-lg); transform: translateY(-8px);
    opacity: 0; pointer-events: none; transition: opacity var(--transition), transform var(--transition);
    overflow-x: hidden; overflow-y: auto; border-top: 1px solid var(--border);
    overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  }
  .nav-primary.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0.2rem; }
  .nav-links a { font-size: 1.05rem; padding: 0.75rem 0; border-bottom: 1px solid var(--border); }
  .nav-actions { justify-content: flex-start; flex-wrap: wrap; margin-top: auto; padding-top: 0.85rem; border-top: 1px solid var(--border); }
  .admin-access-link { order: 2; width: 100%; justify-content: center; min-height: 42px; margin-left: 0; }
  .nav-actions .icon-btn { order: 1; }
}
@media (max-width: 520px) { .brand-logo { height: 42px; max-width: 188px; } }

/* ============================================
   HERO
   ============================================ */
.hero { position: relative; overflow: hidden; background: #f6f1e8; color: var(--navy-950); min-height: clamp(560px, 72vh, 760px); isolation: isolate; }
.hero-media { position: absolute; inset: 0; }
.hero-media::before {
  content: "";
  position: absolute;
  top: -8%;
  bottom: -8%;
  left: -6%;
  width: min(66vw, 850px);
  z-index: 4;
  background: linear-gradient(105deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.78) 56%, rgba(255,255,255,0.24) 86%, rgba(255,255,255,0) 100%);
  clip-path: polygon(0 0, 78% 0, 100% 88%, 0 100%);
  transform: skewX(-4deg);
  pointer-events: none;
  transition: background var(--transition), opacity var(--transition);
}
.hero-media::after {
  content:"";
  position:absolute;
  top: 12%;
  left: min(43vw, 560px);
  width: min(22vw, 280px);
  height: min(42vh, 360px);
  z-index: 3;
  background: rgba(250,248,244,0.34);
  clip-path: polygon(18% 0, 100% 12%, 78% 100%, 0 86%);
  pointer-events: none;
  transition: background var(--transition), opacity var(--transition), transform var(--transition);
}
.hero-slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.045); transition: opacity 1000ms ease, transform 7000ms ease; }
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-inner { position: relative; z-index: 5; padding: clamp(4.5rem, 8vw, 7.5rem) var(--space-md) clamp(3.5rem, 6vw, 5.4rem); }
.hero-copy { max-width: 760px; min-height: clamp(430px, 58vh, 560px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.hero-eyebrow { font-family: var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass-600); font-size: 0.82rem; font-weight: 600; margin-bottom: var(--space-sm); }
.hero h1 { color: var(--navy-950); max-width: 13ch; margin-bottom: var(--space-sm); text-wrap: balance; font-size: clamp(2.9rem, 5.4vw, 5.15rem); line-height: 1.02; text-shadow: 0 1px 0 rgba(255,255,255,0.45); }
.hero-sub { color: var(--ink-600); max-width: 56ch; font-size: clamp(1rem, 1.4vw, 1.18rem); line-height: 1.75; text-shadow: 0 1px 0 rgba(255,255,255,0.5); }
.hero-proof { display: flex; flex-wrap: wrap; gap: 0.65rem; margin: var(--space-sm) 0 0; }
.hero-proof span { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.45rem 0.72rem; border: 1px solid rgba(186,136,53,0.28); border-radius: 999px; background: rgba(255,255,255,0.5); color: var(--navy-950); font-size: 0.82rem; font-weight: 700; backdrop-filter: blur(8px); }
.hero-proof svg { width: 17px; height: 17px; color: var(--brass-600); }
.hero-actions { display: flex; gap: var(--space-sm); flex-wrap: wrap; margin: var(--space-md) 0 var(--space-md); }
.hero .btn-accent { background: var(--brass-500); color: var(--navy-950); border-color: var(--brass-500); }
.hero .btn-accent:hover { background: var(--brass-600); border-color: var(--brass-600); }
.hero .btn-ghost-inverse { color: var(--navy-950); border-color: rgba(8,25,52,0.28); background: rgba(255,255,255,0.3); backdrop-filter: blur(8px); }
.hero .btn-ghost-inverse:hover { color: var(--navy-950); border-color: var(--brass-500); background: rgba(255,255,255,0.52); }
.hero-copy.is-changing .hero-eyebrow, .hero-copy.is-changing h1, .hero-copy.is-changing .hero-sub, .hero-copy.is-changing .hero-proof, .hero-copy.is-changing .hero-actions { animation: fadeIn 520ms ease both; }
.hero-slider-controls { display: flex; gap: 0.7rem; align-items: center; margin-bottom: var(--space-md); }
.hero-dots { display: flex; gap: 0.45rem; align-items: center; padding: 0.5rem 0.65rem; border: 1px solid rgba(8,25,52,0.16); border-radius: 999px; background: rgba(255,255,255,0.42); box-shadow: inset 0 1px 0 rgba(255,255,255,0.42), 0 8px 22px rgba(8,25,52,0.08); backdrop-filter: blur(12px); }
.hero-dots button { width: 32px; height: 4px; border: 0; border-radius: 999px; background: rgba(8,25,52,0.34); cursor: pointer; transition: width var(--transition), background var(--transition), opacity var(--transition); opacity: 0.78; }
.hero-dots button.active { width: 58px; background: var(--brass-500); opacity: 1; }
.hero-arrow { width: 42px; height: 42px; border: 1px solid rgba(8,25,52,0.16); border-radius: 50%; background: rgba(255,255,255,0.45); color: var(--navy-950); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background var(--transition), border-color var(--transition), transform var(--transition), color var(--transition), box-shadow var(--transition); backdrop-filter: blur(12px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 8px 22px rgba(8,25,52,0.08); }
.hero-arrow:hover { background: rgba(186,136,53,0.94); color: var(--navy-950); border-color: rgba(186,136,53,0.54); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(8,25,52,0.14); }
.hero-arrow svg { width: 20px; height: 20px; }

[data-theme="dark"] .hero { background: var(--navy-950); color: var(--sand-100); }
[data-theme="dark"] .hero-media::before {
  background: linear-gradient(105deg, rgba(6,20,38,0.9) 0%, rgba(7,24,43,0.76) 56%, rgba(8,25,52,0.32) 86%, rgba(8,25,52,0) 100%);
}
[data-theme="dark"] .hero-media::after {
  background: rgba(11,31,61,0.42);
}
[data-theme="dark"] .hero-eyebrow { color: var(--brass-500); }
[data-theme="dark"] .hero h1 { color: var(--sand-100); text-shadow: 0 8px 26px rgba(0,0,0,0.24); }
[data-theme="dark"] .hero-sub { color: var(--sand-200); text-shadow: 0 4px 18px rgba(0,0,0,0.24); }
[data-theme="dark"] .hero-proof span { background: rgba(245,239,227,0.1); border-color: rgba(245,239,227,0.18); color: var(--sand-100); }
[data-theme="dark"] .hero-proof svg { color: var(--brass-500); }
[data-theme="dark"] .hero .btn-ghost-inverse { color: var(--sand-100); border-color: rgba(245,239,227,0.28); background: rgba(245,239,227,0.08); }
[data-theme="dark"] .hero .btn-ghost-inverse:hover { color: var(--sand-100); border-color: var(--brass-500); background: rgba(245,239,227,0.14); }
[data-theme="dark"] .hero-dots { background: rgba(245,239,227,0.1); border-color: rgba(245,239,227,0.2); box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 8px 22px rgba(0,0,0,0.16); }
[data-theme="dark"] .hero-dots button { background: rgba(245,239,227,0.46); }
[data-theme="dark"] .hero-dots button.active { background: var(--brass-500); }
[data-theme="dark"] .hero-arrow { background: rgba(245,239,227,0.1); border-color: rgba(245,239,227,0.2); color: var(--sand-100); box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 8px 22px rgba(0,0,0,0.16); }
[data-theme="dark"] .hero-arrow:hover { background: rgba(186,136,53,0.92); color: var(--navy-950); border-color: rgba(186,136,53,0.6); }

.property-search-section { background: linear-gradient(180deg, var(--bg-card) 0%, color-mix(in srgb, var(--bg) 88%, var(--brass-500) 4%) 100%); padding-top: var(--space-lg); padding-bottom: var(--space-xl); }
.property-search-section .container { position: relative; }
.property-search-section .container::before {
  content: "";
  position: absolute;
  top: -1rem;
  left: var(--space-md);
  right: var(--space-md);
  height: 2px;
  background: var(--horizon-gradient);
  opacity: 0.72;
}
.property-search-card {
  background: color-mix(in srgb, var(--bg-elevated) 96%, transparent); border: 1px solid color-mix(in srgb, var(--border) 86%, transparent); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: var(--space-md); display: grid; gap: var(--space-sm);
  position: relative; z-index: 3;
  backdrop-filter: blur(18px);
}
.property-search-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); }
.property-search-head h2 { font-size: clamp(1.35rem, 2vw, 1.9rem); margin: 0; }
.mini-eyebrow { display: block; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.2rem; }
.property-search-link { font-size: 0.86rem; font-weight: 700; color: var(--link); white-space: nowrap; }
.property-search-link:hover { color: var(--accent); }
.search-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; padding: 0; background: transparent; border-radius: 0; width: 100%; }
.search-tabs button { border: 1px solid var(--border); background: var(--bg); padding: 0.9rem; border-radius: var(--radius-md); font-weight: 600; font-size: 0.9rem; color: var(--text-secondary); cursor: pointer; transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition); display: flex; align-items: center; gap: 0.75rem; text-align: left; min-height: 86px; }
.search-tabs button strong { display: block; color: var(--text-primary); font-size: 1rem; margin-bottom: 0.12rem; }
.search-tabs button small { display: block; color: var(--text-secondary); font-size: 0.76rem; line-height: 1.35; font-weight: 500; }
.search-tabs button:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--accent) 58%, var(--border)); box-shadow: var(--shadow-sm); }
.search-tabs button.active { background: linear-gradient(135deg, color-mix(in srgb, var(--brass-500) 18%, var(--bg-elevated)), color-mix(in srgb, var(--navy-700) 10%, var(--bg-elevated))); color: var(--text-primary); border-color: color-mix(in srgb, var(--accent) 76%, var(--border)); box-shadow: var(--shadow-md); }
.search-tabs button.active::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brass-500); margin-left: auto; box-shadow: 0 0 0 4px color-mix(in srgb, var(--brass-500) 18%, transparent); }
.search-tabs button.active strong { color: var(--text-primary); }
.search-tabs button.active small { color: var(--text-secondary); }
.choice-icon { width: 42px; height: 42px; border-radius: var(--radius-sm); display: inline-flex; align-items: center; justify-content: center; background: var(--bg-card); color: var(--accent); flex-shrink: 0; }
.choice-icon svg { width: 23px; height: 23px; }
.search-tabs button.active .choice-icon { background: rgba(186,136,53,0.18); color: var(--brass-500); }
.search-fields { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) minmax(160px, auto); gap: 0.72em; align-items: end; transition: opacity 180ms ease, transform 180ms ease; }
.search-fields.is-changing { opacity: 0.45; transform: translateY(4px); }
.search-field { display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; }
.search-field[hidden] { display: none; }
.search-field > span { font-size: 0.76rem; font-weight: 700; color: var(--text-secondary); }
.search-field-wide { grid-column: span 1; }
.search-fields select, .search-fields input {
  width: 100%;
  padding: 0.92em 1em; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--bg); color: var(--text-primary);
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}
.search-fields select:focus, .search-fields input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.property-search-card .btn-primary { background: var(--brass-500); color: var(--navy-950); border-color: var(--brass-500); box-shadow: 0 12px 26px rgba(186,136,53,0.18); }
.property-search-card .btn-primary:hover { background: var(--brass-600); border-color: var(--brass-600); }
[data-theme="dark"] .property-search-card { background: rgba(8,25,52,0.88); border-color: rgba(245,239,227,0.14); }
[data-theme="dark"] .search-tabs button.active { background: linear-gradient(135deg, rgba(186,136,53,0.2), rgba(186,136,53,0.08)); color: var(--sand-100); border-color: rgba(186,136,53,0.64); }
[data-theme="dark"] .search-tabs button.active strong { color: var(--sand-100); }
[data-theme="dark"] .search-tabs button.active small { color: var(--text-secondary); }
@media (max-width: 1060px) { .search-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } .search-fields .btn { width: 100%; } }
@media (max-width: 900px) {
  .hero { min-height: auto; }
  .hero-media::before { top: 0; bottom: 0; left: 0; width: 100%; transform: none; background: linear-gradient(180deg, rgba(255,255,255,0.84) 0%, rgba(255,255,255,0.66) 56%, rgba(255,255,255,0.18) 100%); clip-path: none; }
  .hero-media::after { top: 12%; left: auto; right: 6%; width: 34vw; height: 22vh; opacity: 0.45; }
  .hero-copy { min-height: 390px; }
  .search-tabs { grid-template-columns: 1fr; }
  .property-search-section { padding-top: var(--space-md); }
  [data-theme="dark"] .hero-media::before { background: linear-gradient(180deg, rgba(6,20,38,0.86) 0%, rgba(7,24,43,0.68) 56%, rgba(8,25,52,0.22) 100%); }
  [data-theme="dark"] .hero-media::after { background: rgba(11,31,61,0.42); }
}
@media (max-width: 560px) { .hero-inner { padding-top: var(--space-xl); } .hero-copy { min-height: 430px; max-width: 100%; } .hero h1 { max-width: 9.8ch; font-size: 2.55rem; overflow-wrap: normal; } .hero-sub { max-width: 32ch; } .hero-proof { gap: 0.45rem; } .hero-proof span { font-size: 0.76rem; } .hero-actions, .hero-actions .btn, .search-fields .btn { width: 100%; } .hero-slider-controls { width: 100%; justify-content: space-between; } .hero-dots { flex: 1; justify-content: center; } .property-search-card { padding: var(--space-sm); border-radius: var(--radius-md); } .property-search-head { align-items: flex-start; } .search-fields { grid-template-columns: 1fr; } .search-tabs { width: 100%; } .search-tabs button { min-height: 76px; } }

/* ============================================
   STATS
   ============================================ */
.stats-band { background: var(--navy-900); padding: var(--space-lg) 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-md); text-align: center; }
.stat-num { font-family: var(--font-mono); font-size: var(--step-3); color: var(--brass-500); font-weight: 600; }
.stat-label { color: var(--sand-200); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; }
@media (max-width: 760px) { .stats-grid { grid-template-columns: 1fr 1fr; gap: var(--space-lg) var(--space-md); } }

/* ============================================
   HOMEPAGE SECTION NAVIGATION
   ============================================ */
.section-nav {
  position: sticky;
  top: 78px;
  z-index: 80;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}
.section-nav-inner {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding-top: 0.72rem;
  padding-bottom: 0.72rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.section-nav-inner::-webkit-scrollbar { display: none; }
.section-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  min-height: 38px;
  padding: 0.55rem 0.86rem;
  border: 1px solid color-mix(in srgb, var(--border) 56%, transparent);
  border-radius: 999px;
  color: var(--text-secondary);
  background: color-mix(in srgb, var(--bg-elevated) 62%, transparent);
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.section-nav a svg { width: 17px; height: 17px; color: var(--accent); flex-shrink: 0; }
.section-nav a:hover, .section-nav a:focus-visible { color: var(--text-primary); border-color: color-mix(in srgb, var(--accent) 50%, var(--border)); background: var(--bg-elevated); transform: translateY(-1px); }
.section-nav a.active { color: var(--navy-950); background: linear-gradient(135deg, var(--brass-500), color-mix(in srgb, var(--brass-500) 78%, var(--sand-100))); border-color: var(--brass-500); box-shadow: var(--shadow-sm); }
.section-nav a.active svg { color: var(--navy-950); }
[data-theme="dark"] .section-nav a.active { color: var(--navy-950); }
[data-theme="dark"] .section-nav { background: rgba(8,25,52,0.84); }
[data-theme="dark"] .section-nav a { background: rgba(245,239,227,0.045); border-color: rgba(245,239,227,0.1); }
@media (max-width: 760px) {
  .section-nav { top: 78px; }
  .section-nav .container { padding-left: var(--space-sm); padding-right: var(--space-sm); }
  .section-nav a { padding: 0.52rem 0.76rem; font-size: 0.8rem; }
}

/* ============================================
   CARDS - Property
   ============================================ */
.grid { display: grid; gap: var(--space-md); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.featured-head { max-width: 760px; }
.featured-head h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
.featured-head p:not(.eyebrow) { max-width: 680px; color: var(--text-secondary); }
.featured-grid { gap: clamp(1rem, 2vw, 1.55rem); align-items: stretch; }
.featured-grid .card-property { height: 100%; }
.featured-cta { text-align: center; margin-top: var(--space-lg); }
.featured-discovery { display: grid; gap: var(--space-sm); margin-bottom: var(--space-md); }
.featured-filter-shell { border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-elevated); box-shadow: var(--shadow-sm); overflow: hidden; }
.featured-filter-shell summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); padding: var(--space-sm) var(--space-md); cursor: pointer; font-weight: 800; color: var(--text-primary); }
.featured-filter-shell summary::marker { color: var(--accent); }
.featured-filter-shell summary small { color: var(--accent); font-family: var(--font-mono); font-size: 0.78rem; }
.featured-filter-form { padding: 0 var(--space-md) var(--space-md); }
.featured-filter-fields { display: grid; grid-template-columns: repeat(4, minmax(145px, 1fr)); gap: 0.75rem; }
.featured-field { display: grid; gap: 0.35rem; }
.featured-field span, .featured-sort span { font-size: 0.76rem; font-weight: 800; color: var(--text-secondary); }
.featured-field input, .featured-field select, .featured-sort select { width: 100%; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg); color: var(--text-primary); padding: 0.72rem 0.82rem; transition: border-color var(--transition), box-shadow var(--transition), background var(--transition); }
.featured-field input:focus, .featured-field select:focus, .featured-sort select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent); }
.featured-filter-actions { display: flex; gap: 0.65rem; flex-wrap: wrap; margin-top: var(--space-sm); }
.featured-results-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 0.75rem var(--space-sm); background: color-mix(in srgb, var(--bg-elevated) 76%, transparent); }
.featured-results-count { font-family: var(--font-mono); color: var(--text-secondary); font-size: 0.84rem; }
.featured-sort { display: flex; align-items: center; gap: 0.55rem; }
.featured-sort select { min-width: 170px; padding-block: 0.58rem; }

.card-property {
  background: var(--bg-elevated); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid var(--border); transition: opacity 240ms ease, transform var(--transition), box-shadow var(--transition), border-color var(--transition), filter 240ms ease;
  display: flex; flex-direction: column;
}
.card-property:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--accent) 36%, var(--border)); }
.card-media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,25,52,0.02), rgba(8,25,52,0.24)); opacity: 0.72; transition: opacity var(--transition); pointer-events: none; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 650ms ease, filter 650ms ease; }
.card-property:hover .card-media img { transform: scale(1.065); filter: saturate(1.04) contrast(1.03); }
.card-property:hover .card-media::after { opacity: 0.5; }
.card-gallery-controls { position: absolute; z-index: 3; right: 12px; bottom: 12px; display: inline-flex; gap: 0.35rem; }
.card-gallery-controls button { width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.48); background: rgba(255,255,255,0.72); color: var(--navy-950); cursor: pointer; font-size: 1rem; line-height: 1; backdrop-filter: blur(10px); transition: background var(--transition), transform var(--transition); }
.card-gallery-controls button:hover { background: var(--brass-500); transform: translateY(-1px); }
.card-badge { position: absolute; z-index: 2; top: 12px; left: 12px; background: var(--brass-500); color: var(--navy-950); font-size: 0.72rem; font-weight: 700; padding: 0.3em 0.8em; border-radius: 999px; letter-spacing: 0.03em; }
.card-badge.rent { background: var(--teal-600); color: var(--navy-950); }
.card-badge.sold { background: linear-gradient(135deg, #111827, #8b1d1d 58%, #c99a45); color: #fff; }
.card-badge.rented { background: linear-gradient(135deg, #0f3f3b, #0f766e 58%, #BA8835); color: #fff; }
.card-video-badge { position: absolute; z-index: 3; left: 12px; bottom: 58px; display: inline-flex; align-items: center; gap: 0.38rem; max-width: calc(100% - 24px); border-radius: 999px; padding: 0.38rem 0.68rem; background: rgba(8,25,52,0.82); color: #fff; border: 1px solid rgba(255,255,255,0.24); font-size: 0.72rem; font-weight: 900; backdrop-filter: blur(10px); }
.card-video-badge svg { width: 0.82rem; height: 0.82rem; fill: var(--brass-500); flex: 0 0 auto; }
.card-video-badge span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-status-badge { position: absolute; z-index: 2; top: 12px; right: 12px; background: rgba(8,25,52,0.82); color: #fff; border: 1px solid rgba(255,255,255,0.34); font-size: 0.68rem; font-weight: 800; padding: 0.28em 0.72em; border-radius: 999px; letter-spacing: 0.04em; backdrop-filter: blur(10px); }
.card-status-badge.sold, .sold-image-badge {
  background: linear-gradient(135deg, #111827, #8b1d1d 58%, #c99a45);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.62);
  box-shadow: 0 10px 26px rgba(8,25,52,0.22);
}
.card-status-badge.rented, .sold-image-badge.rented {
  background: linear-gradient(135deg, #0f3f3b, #0f766e 58%, #BA8835);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.62);
  box-shadow: 0 10px 26px rgba(8,25,52,0.2);
}
.sold-image-badge {
  position: absolute;
  z-index: 3;
  top: 50px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  padding: 0.42rem 0.78rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}
.card-property[data-status="sold"] .card-media::after, .card-property[data-status="rented"] .card-media::after { background: linear-gradient(180deg, rgba(8,25,52,0.08), rgba(8,25,52,0.34)); opacity: 0.78; }
.detail-badge.sold {
  background: linear-gradient(135deg, #111827, #8b1d1d 62%, #c99a45);
  border-color: rgba(201,154,69,0.7);
  color: #fff;
}
.sold-status-note {
  margin-top: var(--space-sm);
  padding: 0.85rem 1rem;
  border: 1px solid color-mix(in srgb, #8b1d1d 46%, var(--border));
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, #8b1d1d 9%, var(--bg-elevated));
  color: var(--text-primary);
  font-weight: 700;
}
@media (max-width: 520px) {
  .sold-image-badge {
    top: 46px;
    right: 10px;
    min-width: 64px;
    padding: 0.36rem 0.62rem;
    font-size: 0.74rem;
  }
}
.card-type-badge, .card-featured-badge, .card-verified-badge { position: absolute; z-index: 2; background: rgba(255,255,255,0.88); color: var(--navy-950); border: 1px solid rgba(255,255,255,0.48); font-size: 0.68rem; font-weight: 800; padding: 0.28em 0.72em; border-radius: 999px; letter-spacing: 0.04em; backdrop-filter: blur(10px); }
.card-type-badge { top: 12px; right: 12px; }
.card-featured-badge { top: 44px; left: 12px; background: rgba(186,136,53,0.92); }
.card-verified-badge { top: 76px; left: 12px; background: rgba(255,255,255,0.9); color: var(--teal-600); }
.card-media:not(:has(.card-featured-badge)) .card-verified-badge { top: 44px; }
.card-price { position: absolute; z-index: 2; bottom: 12px; left: 12px; background: rgba(8,25,52,0.82); color: #fff; font-family: var(--font-mono); font-size: 0.85rem; padding: 0.4em 0.9em; border-radius: var(--radius-sm); }
.card-body { padding: var(--space-sm) var(--space-sm) var(--space-md); flex: 1; display: flex; flex-direction: column; gap: 0.15rem; }
.card-body h4 { margin-bottom: 0.2em; line-height: 1.25; }
.card-loc { color: var(--text-secondary); font-size: 0.86rem; margin-bottom: var(--space-xs); display:flex; align-items:center; gap:0.4em; }
.card-address { min-width: 0; display: flex; align-items: center; gap: 0.4em; margin: -0.2rem 0 var(--space-xs); color: color-mix(in srgb, var(--text-secondary) 86%, var(--accent)); font-size: 0.78rem; line-height: 1.35; }
.card-address span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-address svg { width: 14px; height: 14px; flex: 0 0 auto; color: var(--accent); }
.card-category { color: var(--accent); font-size: 0.78rem; font-weight: 800; margin: -0.25rem 0 0.55rem; }
.card-specs { display: flex; gap: var(--space-sm); flex-wrap: wrap; font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-secondary); border-top: 1px solid var(--border); padding-top: var(--space-xs); margin-top: auto; }
.card-specs span { display: inline-flex; align-items: center; gap: 0.35em; }
.card-specs svg, .card-loc svg { width: 16px; height: 16px; flex-shrink: 0; }
.card-desc { font-size: 0.86rem; line-height: 1.6; margin-bottom: var(--space-sm); }
.card-agent, .card-compare { font-size: 0.8rem; color: var(--text-secondary); margin-bottom: 0.45rem; }
.card-compare { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 800; color: var(--text-primary); cursor: pointer; }
.card-compare input { accent-color: var(--accent); }
.card-actions { display: grid; grid-template-columns: 1fr 1fr auto auto; gap: 0.45rem; margin-top: var(--space-sm); }
.card-actions [data-quick-view], .card-actions .btn-wa { grid-column: span 2; }
.card-actions .btn { padding: 0.55rem 0.7rem; font-size: 0.76rem; }
.card-icon-action { width: 38px; height: 38px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--bg); color: var(--text-primary); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: border-color var(--transition), color var(--transition), background var(--transition), transform var(--transition); }
.card-icon-action:hover, .card-icon-action.active { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.card-icon-action svg { width: 17px; height: 17px; }
.listing-tabs, .saved-bar { display: flex; gap: 0.55rem; flex-wrap: wrap; align-items: center; margin-bottom: var(--space-md); }
.listing-tabs { width: fit-content; max-width: 100%; padding: 0.42rem; border: 1px solid var(--border); border-radius: 999px; background: color-mix(in srgb, var(--bg-elevated) 86%, transparent); box-shadow: var(--shadow-sm); }
.listing-tabs button, .saved-bar button { border: 1px solid transparent; background: transparent; color: var(--text-secondary); border-radius: 999px; padding: 0.62rem 1rem; font-weight: 800; font-size: 0.84rem; cursor: pointer; transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition); display: inline-flex; align-items: center; gap: 0.45rem; white-space: nowrap; }
.listing-tabs button svg { width: 16px; height: 16px; flex-shrink: 0; }
.listing-tabs button:hover, .saved-bar button:hover { transform: translateY(-1px); color: var(--text-primary); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.listing-tabs button.active { background: var(--navy-900); color: #fff; border-color: color-mix(in srgb, var(--navy-900) 80%, var(--accent)); box-shadow: 0 10px 26px rgba(8,25,52,0.16); }
[data-theme="dark"] .listing-tabs { background: color-mix(in srgb, var(--bg-elevated) 90%, #ffffff 4%); }
[data-theme="dark"] .listing-tabs button.active { background: var(--brass-500); color: var(--navy-950); border-color: var(--brass-500); box-shadow: 0 10px 26px rgba(186,136,53,0.16); }
.featured-grid.is-filtering .card-property { will-change: opacity, transform; }
.card-property.is-filtered-out { opacity: 0; transform: translateY(10px) scale(0.985); pointer-events: none; }
.featured-empty { display: none; text-align: center; padding: var(--space-lg); border: 1px dashed var(--border); border-radius: var(--radius-md); background: var(--bg-elevated); margin-top: var(--space-md); }
.featured-empty.visible { display: block; animation: fadeIn 260ms ease; }
.featured-empty-icon { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto var(--space-sm); background: color-mix(in srgb, var(--accent) 10%, var(--bg)); color: var(--accent); }
.featured-empty-icon svg { width: 28px; height: 28px; }
.featured-load { display: none; justify-content: center; margin-top: var(--space-md); }
.featured-load.visible { display: flex; }
.compare-tray { display: none; align-items: center; justify-content: center; gap: 0.65rem; flex-wrap: wrap; margin-top: var(--space-md); padding: var(--space-sm); border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-elevated); box-shadow: var(--shadow-sm); }
.compare-tray.visible { display: flex; animation: fadeIn 220ms ease; }
.compare-tray span { color: var(--text-secondary); font-weight: 800; }
.saved-bar { justify-content: space-between; border: 1px solid var(--border); background: var(--bg-elevated); border-radius: var(--radius-md); padding: var(--space-sm); display: none; }
.saved-bar.visible { display: flex; }
.saved-list { display: flex; gap: 0.5rem; flex-wrap: wrap; font-size: 0.84rem; color: var(--text-secondary); }
.saved-list a { color: var(--link); font-weight: 700; }
.property-showcase-section { position: relative; }
.property-showcase-section + .property-showcase-section { padding-top: clamp(3rem, 6vw, 5rem); }
.showcase-head { display: flex; align-items: end; justify-content: space-between; gap: var(--space-lg); margin-bottom: var(--space-md); padding-bottom: var(--space-sm); border-bottom: 1px solid var(--border); }
.showcase-head h3 { font-size: clamp(1.65rem, 3vw, 2.45rem); margin-bottom: 0.35rem; }
.showcase-head p:not(.eyebrow) { max-width: 760px; color: var(--text-secondary); margin-bottom: 0; }
.showcase-head .btn { flex: 0 0 auto; gap: 0.45rem; }
.showcase-head .btn span { transition: transform var(--transition); }
.showcase-head .btn:hover span { transform: translateX(4px); }
.investment-board { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.82fr); gap: var(--space-lg); align-items: stretch; padding: clamp(1rem, 2vw, 1.4rem); border: 1px solid var(--border); border-radius: var(--radius-lg); background: linear-gradient(135deg, color-mix(in srgb, var(--bg-elevated) 86%, transparent), color-mix(in srgb, var(--bg-card) 78%, transparent)); box-shadow: var(--shadow-sm); overflow: hidden; }
.investment-feature h3, .residential-story h3 { font-size: clamp(2rem, 4vw, 3.35rem); line-height: 1.04; max-width: 12ch; margin-bottom: var(--space-sm); }
.investment-feature > p, .residential-story > p { max-width: 660px; color: var(--text-secondary); }
.investment-hero-media { position: relative; min-height: 410px; margin-top: var(--space-md); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.investment-hero-media img, .residential-image-stack img { width: 100%; height: 100%; object-fit: cover; transition: transform 800ms ease, filter 800ms ease; }
.investment-board:hover .investment-hero-media img, .residential-editorial:hover .residential-image-stack img { transform: scale(1.035); filter: saturate(1.04) contrast(1.02); }
.investment-glass-note, .home-spotlight { position: absolute; left: var(--space-md); right: var(--space-md); bottom: var(--space-md); padding: var(--space-sm); border: 1px solid rgba(255,255,255,0.28); border-radius: var(--radius-md); background: rgba(255,255,255,0.16); color: #fff; backdrop-filter: blur(16px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.22); }
.investment-glass-note span, .home-spotlight span { display: block; font-family: var(--font-mono); font-size: 0.72rem; font-weight: 900; color: var(--sand-100); margin-bottom: 0.3rem; }
.investment-glass-note strong, .home-spotlight strong { display: block; color: #fff; font-size: clamp(1.2rem, 2vw, 1.65rem); line-height: 1.18; }
.investment-glass-note small, .home-spotlight small { display: block; color: rgba(255,255,255,0.8); margin-top: 0.25rem; }
.investment-intel { display: grid; gap: var(--space-sm); align-content: center; }
.investment-score { padding: var(--space-md); border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--border)); border-radius: var(--radius-md); background: color-mix(in srgb, var(--accent) 9%, var(--bg-elevated)); }
.investment-score span, .investment-stat-grid span { display: block; font-family: var(--font-mono); font-size: 0.72rem; font-weight: 900; color: var(--accent); margin-bottom: 0.25rem; }
.investment-score strong { display: block; font-size: clamp(2rem, 4vw, 3rem); color: var(--text-primary); line-height: 1; }
.investment-score p { margin: 0.6rem 0 0; color: var(--text-secondary); }
.investment-stat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.investment-stat-grid div { padding: var(--space-sm); border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-elevated); }
.investment-stat-grid strong { color: var(--text-primary); font-size: 1.05rem; }
.investment-indicators { position: relative; display: grid; gap: 0.8rem; padding-left: 1rem; }
.investment-indicators::before { content: ""; position: absolute; left: 26px; top: 1rem; bottom: 1rem; width: 1px; background: color-mix(in srgb, var(--accent) 34%, var(--border)); }
.investment-indicators > div { position: relative; display: grid; grid-template-columns: 42px 1fr; gap: 0.8rem; align-items: start; }
.indicator-icon { position: relative; z-index: 1; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-elevated); color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--border)); box-shadow: var(--shadow-sm); }
.indicator-icon svg { width: 20px; height: 20px; }
.investment-indicators strong { color: var(--text-primary); }
.investment-indicators p { margin: 0.2rem 0 0; color: var(--text-secondary); font-size: 0.9rem; }
.residential-editorial { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr); grid-template-areas: "story image" "community image" "previews previews"; gap: var(--space-md); align-items: stretch; }
.residential-story { grid-area: story; align-self: center; }
.residential-story h3 { max-width: 13ch; }
.residential-image-stack { grid-area: image; position: relative; min-height: 620px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.community-panel { grid-area: community; padding: var(--space-md); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-elevated); box-shadow: var(--shadow-sm); }
.community-panel h4 { margin-bottom: var(--space-sm); }
.amenity-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.65rem; }
.amenity-grid span { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0.58rem 0.7rem; color: var(--text-primary); background: color-mix(in srgb, var(--bg-card) 64%, transparent); font-size: 0.84rem; font-weight: 800; }
.amenity-grid svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }
.residential-preview-row { grid-area: previews; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-sm); }
.residential-preview-row a { min-height: 112px; padding: var(--space-sm); border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-elevated); color: var(--text-primary); box-shadow: var(--shadow-sm); transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition); }
.residential-preview-row a:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 42%, var(--border)); box-shadow: var(--shadow-md); }
.residential-preview-row strong, .residential-preview-row span { display: block; }
.residential-preview-row span { margin-top: 0.35rem; color: var(--text-secondary); font-size: 0.88rem; }
.rental-rail { display: flex; gap: var(--space-md); overflow-x: auto; scroll-snap-type: x mandatory; padding: 0.15rem 0 0.75rem; scrollbar-width: thin; }
.rental-spotlight { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); margin-bottom: var(--space-md); padding: var(--space-md); border: 1px solid var(--border); border-radius: var(--radius-md); background: linear-gradient(135deg, color-mix(in srgb, var(--teal-600) 10%, var(--bg-elevated)), var(--bg-elevated)); box-shadow: var(--shadow-sm); }
.rental-spotlight span { display: block; color: var(--accent); font-family: var(--font-mono); font-size: 0.76rem; font-weight: 800; margin-bottom: 0.25rem; }
.rental-spotlight strong { display: block; color: var(--text-primary); font-size: clamp(1.2rem, 2vw, 1.55rem); }
.rental-spotlight p { margin: 0.25rem 0 0; max-width: 620px; color: var(--text-secondary); }
.rental-compact-card { flex: 0 0 min(360px, 82vw); scroll-snap-align: start; }
.rental-tags { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: var(--space-xs) 0 var(--space-sm); }
.rental-tags span { border: 1px solid color-mix(in srgb, var(--teal-600) 28%, var(--border)); border-radius: 999px; padding: 0.32rem 0.62rem; color: var(--teal-600); background: color-mix(in srgb, var(--teal-600) 8%, transparent); font-size: 0.74rem; font-weight: 800; }
[data-theme="dark"] .investment-board, [data-theme="dark"] .community-panel, [data-theme="dark"] .residential-preview-row a, [data-theme="dark"] .investment-stat-grid div { background: rgba(8,25,52,0.9); }
[data-theme="dark"] .investment-score { background: rgba(186,136,53,0.11); }
[data-theme="dark"] .amenity-grid span { background: rgba(245,239,227,0.045); }
[data-theme="dark"] .rental-spotlight { background: linear-gradient(135deg, rgba(186,136,53,0.16), rgba(8,25,52,0.9)); }
[data-theme="dark"] .rental-tags span { background: rgba(186,136,53,0.16); border-color: rgba(186,136,53,0.28); color: var(--sand-200); }
[data-theme="dark"] .card-verified-badge { background: rgba(8,25,52,0.8); color: var(--sand-200); border-color: rgba(245,239,227,0.22); }
@media (max-width: 980px) { .featured-filter-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 980px) { .investment-board, .residential-editorial { grid-template-columns: 1fr; } .residential-editorial { grid-template-areas: "story" "image" "community" "previews"; } .residential-image-stack { min-height: 460px; } }
@media (max-width: 780px) { .listing-tabs { width: 100%; flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; scrollbar-width: thin; border-radius: var(--radius-md); } .listing-tabs button { flex: 0 0 auto; } .featured-filter-shell:not([open]) { border-radius: var(--radius-md); } .featured-results-bar { align-items: stretch; flex-direction: column; } .featured-sort { justify-content: space-between; } .showcase-head, .rental-spotlight { align-items: flex-start; flex-direction: column; gap: var(--space-sm); } .showcase-head .btn, .rental-spotlight .btn, .investment-intel .btn, .residential-story .btn { width: 100%; justify-content: center; } .investment-hero-media, .residential-image-stack { min-height: 340px; } .investment-stat-grid, .amenity-grid, .residential-preview-row { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .featured-filter-fields { grid-template-columns: 1fr; } .featured-filter-actions .btn { width: 100%; } .card-actions { grid-template-columns: 1fr 1fr; } .card-actions [data-quick-view], .card-actions .btn-primary, .card-actions .btn-wa { grid-column: span 2; } .card-icon-action { width: 100%; } .featured-head h2 { font-size: clamp(1.75rem, 10vw, 2.35rem); } }

.property-modal { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: var(--space-md); }
.property-modal.visible { display: flex; animation: fadeIn 180ms ease; }
.property-modal-backdrop { position: absolute; inset: 0; background: rgba(8,25,52,0.62); backdrop-filter: blur(8px); }
.property-modal-panel { position: relative; z-index: 1; width: min(980px, 100%); max-height: 88vh; overflow: auto; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--space-md); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-elevated); box-shadow: var(--shadow-lg); padding: var(--space-md); }
.property-modal-close { position: absolute; top: 0.75rem; right: 0.75rem; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border); background: var(--bg); color: var(--text-primary); cursor: pointer; font-size: 1.4rem; line-height: 1; }
.property-modal-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
.property-modal-gallery img, .property-modal-gallery video, .modal-video-thumb { width: 100%; height: 100%; min-height: 145px; object-fit: cover; border-radius: var(--radius-sm); }
.property-modal-gallery img:first-child, .property-modal-gallery video:first-child, .modal-video-thumb:first-child { grid-column: 1 / -1; min-height: 280px; }
.modal-video-thumb { position: relative; border: 0; padding: 0; overflow: hidden; color: #fff; background: var(--navy-900); cursor: pointer; text-align: left; }
.modal-video-thumb img { min-height: inherit; filter: brightness(0.74); }
.modal-video-thumb > span:last-child { position: absolute; left: 0.75rem; bottom: 0.75rem; z-index: 2; font-weight: 900; }
.modal-video-player { background: #000; }
.property-modal-content { align-self: center; }
.property-modal-price { font-family: var(--font-mono); font-weight: 900; color: var(--accent); font-size: 1.45rem; margin-bottom: var(--space-sm); }
.property-modal-specs, .property-modal-features { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: var(--space-sm); }
.property-modal-specs span, .property-modal-features span { border: 1px solid var(--border); border-radius: 999px; padding: 0.38rem 0.72rem; color: var(--text-secondary); font-size: 0.82rem; font-weight: 800; }
.property-modal .btn-row { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: var(--space-md); }
.compare-panel { display: block; width: min(980px, 100%); }
.compare-table-wrap { overflow-x: auto; }
.compare-table-wrap table { width: 100%; border-collapse: collapse; min-width: 720px; }
.compare-table-wrap th, .compare-table-wrap td { text-align: left; padding: 0.85rem; border-bottom: 1px solid var(--border); }
.compare-table-wrap th { color: var(--text-primary); font-size: 0.82rem; }
.compare-table-wrap td { color: var(--text-secondary); font-size: 0.9rem; }
@media (max-width: 760px) { .property-modal { padding: 0.75rem; } .property-modal-panel { grid-template-columns: 1fr; max-height: 92vh; border-radius: var(--radius-md); } .property-modal-gallery img:first-child { min-height: 210px; } }

/* ============================================
   ICON / FEATURE LIST - Why Choose Us
   ============================================ */
.feature-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
@media (max-width: 760px) { .feature-row { grid-template-columns: 1fr; } }
.feature-item { padding: var(--space-md); background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius-md); }
.feature-icon { width: 46px; height: 46px; border-radius: var(--radius-sm); background: var(--bg-card); display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-sm); color: var(--accent); }
.feature-icon svg { width: 24px; height: 24px; }

.category-navigator-section { background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--bg-card) 44%, transparent)); }
.category-navigator-head { max-width: 820px; margin-bottom: var(--space-lg); }
.category-head h2 { max-width: 18ch; }
.category-head p:not(.eyebrow) { max-width: 680px; }
.category-grid { display: grid; gap: clamp(0.85rem, 1.4vw, 1.15rem); }
.category-navigator { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
.category-card-premium { position: relative; min-height: 190px; padding: clamp(1rem, 1.7vw, 1.35rem); border: 1px solid color-mix(in srgb, var(--border) 82%, transparent); border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(180deg, var(--bg-elevated), color-mix(in srgb, var(--bg-card) 54%, var(--bg-elevated))); color: var(--text-primary); display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto 1fr auto; column-gap: 1rem; align-items: start; box-shadow: 0 14px 34px rgba(8,25,52,0.07); transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition); }
.category-card-premium::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--horizon-gradient); opacity: 0; transition: opacity var(--transition); }
.category-card-premium::after { content: ""; position: absolute; width: 120px; height: 120px; right: -68px; top: -68px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 12%, transparent); pointer-events: none; transition: transform var(--transition), opacity var(--transition); }
.category-card-premium .feature-icon { grid-row: 1 / span 2; width: 54px; height: 54px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 12%, var(--bg-card)); color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 26%, var(--border)); box-shadow: inset 0 1px 0 rgba(255,255,255,0.38); margin: 0; transition: transform var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition); }
.category-card-premium .feature-icon svg { width: 25px; height: 25px; }
.category-card-premium h4 { grid-column: 2; color: var(--text-primary); font-size: clamp(1.08rem, 1.35vw, 1.28rem); line-height: 1.18; margin: 0.1rem 0 0.25rem; letter-spacing: 0; }
.category-card-premium p { grid-column: 1 / -1; color: var(--text-secondary); font-size: 0.9rem; line-height: 1.58; margin: var(--space-sm) 0 0; max-width: 38ch; }
.category-count { grid-column: 2; color: color-mix(in srgb, var(--accent) 76%, var(--text-secondary)); font-family: var(--font-mono); font-size: 0.72rem; font-weight: 800; line-height: 1.2; }
.category-link { grid-column: 1 / -1; align-self: end; display: inline-flex; align-items: center; gap: 0.45rem; width: fit-content; color: var(--text-primary); font-size: 0.84rem; font-weight: 800; margin-top: var(--space-sm); transition: color var(--transition), transform var(--transition); }
.category-link span { color: var(--accent); transition: transform var(--transition); }
.category-card-premium:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--accent) 46%, var(--border)); box-shadow: 0 22px 48px rgba(8,25,52,0.13); }
.category-card-premium:hover::before { opacity: 0.86; }
.category-card-premium:hover::after { transform: scale(1.16); opacity: 0.72; }
.category-card-premium:hover .feature-icon { transform: scale(1.06) translateY(-2px); background: var(--accent); color: var(--navy-950); box-shadow: 0 12px 26px color-mix(in srgb, var(--accent) 22%, transparent); }
.category-card-premium:hover .category-link { color: var(--accent); transform: translateY(-1px); }
.category-card-premium:hover .category-link span { transform: translateX(5px); }
.category-card-premium:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 82%, white); outline-offset: 4px; }
.category-card-premium:active { transform: translateY(-2px) scale(0.997); }
[data-theme="dark"] .category-navigator-section { background: linear-gradient(180deg, transparent, rgba(8,25,52,0.2)); }
[data-theme="dark"] .category-card-premium { background: linear-gradient(180deg, rgba(8,25,52,0.96), rgba(8,25,52,0.92)); border-color: rgba(245,239,227,0.1); box-shadow: 0 16px 34px rgba(0,0,0,0.22); }
[data-theme="dark"] .category-card-premium::after { background: rgba(186,136,53,0.12); }
[data-theme="dark"] .category-card-premium .feature-icon { background: rgba(186,136,53,0.14); border-color: rgba(186,136,53,0.28); }
@media (max-width: 980px) { .category-navigator { grid-template-columns: repeat(2, minmax(0, 1fr)); } .category-card-premium { min-height: 180px; } }
@media (max-width: 560px) { .category-navigator { grid-template-columns: 1fr; } .category-card-premium { min-height: 168px; border-radius: var(--radius-md); } .card-actions { grid-template-columns: 1fr; } .card-icon-action { width: 100%; } }

/* ============================================
   SERVICES
   ============================================ */
.service-card { padding: var(--space-md); border-radius: var(--radius-md); background: var(--bg-elevated); border: 1px solid var(--border); height: 100%; }
.service-card, .feature-item, .blog-card { transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.service-card:hover, .feature-item:hover, .blog-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 55%, var(--border)); box-shadow: var(--shadow-md); }
.service-card .num { font-family: var(--font-mono); color: var(--accent); font-size: 0.85rem; margin-bottom: var(--space-sm); display:block; }
.service-card ul { margin-top: var(--space-sm); }
.service-card li { padding: 0.35em 0; color: var(--text-secondary); font-size: 0.92rem; display: flex; gap: 0.6em; }
.service-card li::before { content: "-"; color: var(--accent); flex-shrink: 0; }
.services-premium-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-md); align-items: stretch; }
.service-card-premium { position: relative; overflow: hidden; min-height: 310px; display: flex; flex-direction: column; padding: var(--space-md); border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--bg-elevated), color-mix(in srgb, var(--bg-card) 52%, var(--bg-elevated))); }
.service-card-premium::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--horizon-gradient); opacity: 0.82; }
.service-card-premium::after { content: ""; position: absolute; width: 140px; height: 140px; right: -70px; top: -70px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 14%, transparent); pointer-events: none; }
.service-card-premium .feature-icon { width: 54px; height: 54px; background: color-mix(in srgb, var(--accent) 12%, var(--bg-card)); border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--border)); color: var(--accent); box-shadow: inset 0 1px 0 rgba(255,255,255,0.36); }
.service-card-premium h4 { margin-top: var(--space-sm); margin-bottom: 0.55rem; font-size: clamp(1.18rem, 1.4vw, 1.38rem); }
.service-card-premium p { font-size: 0.92rem; line-height: 1.68; margin-bottom: var(--space-md); }
.service-kicker { position: absolute; top: var(--space-md); right: var(--space-md); font-family: var(--font-mono); font-weight: 700; color: color-mix(in srgb, var(--accent) 72%, var(--text-secondary)); font-size: 0.8rem; }
.service-link { margin-top: auto; display: inline-flex; align-items: center; justify-content: space-between; gap: 0.6rem; width: 100%; padding-top: var(--space-sm); border-top: 1px solid var(--border); color: var(--text-primary); font-size: 0.86rem; font-weight: 800; }
.service-link span { color: var(--accent); transition: transform var(--transition); }
.service-card-premium:hover .service-link span { transform: translateX(4px); }
[data-theme="dark"] .service-card-premium { background: linear-gradient(180deg, rgba(8,25,52,0.98), rgba(8,25,52,0.9)); }
[data-theme="dark"] .service-card-premium::after { background: rgba(186,136,53,0.1); }
@media (max-width: 1180px) { .services-premium-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .services-premium-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services-premium-grid { grid-template-columns: 1fr; } .service-card-premium { min-height: auto; } }

/* ============================================
   HOME SECTION RHYTHM
   ============================================ */
.category-hub-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--bg-elevated) 72%, transparent), color-mix(in srgb, var(--bg-card) 72%, var(--bg))),
    linear-gradient(90deg, color-mix(in srgb, var(--navy-900) 4%, transparent) 1px, transparent 1px);
  background-size: auto, 56px 56px;
}
.category-hub-head { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.75fr); gap: var(--space-lg); align-items: end; margin-bottom: clamp(1.5rem, 3vw, 2.6rem); }
.category-hub-head h2 { max-width: 16ch; margin-bottom: 0; }
.category-hub-head > p { max-width: 48ch; margin: 0; line-height: 1.7; }
.category-hub-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(0.9rem, 1.5vw, 1.2rem); align-items: stretch; }
.category-hub-panel {
  position: relative;
  min-width: 0;
  min-height: 206px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  grid-template-rows: auto 1fr auto;
  gap: 0.85rem 1rem;
  align-items: start;
  padding: clamp(1rem, 1.8vw, 1.35rem);
  border: 1px solid color-mix(in srgb, var(--border) 86%, transparent);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--bg-elevated) 94%, transparent);
  color: var(--text-primary);
  box-shadow: 0 12px 28px rgba(8,25,52,0.07);
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--transition), border-color var(--transition), background var(--transition), box-shadow var(--transition);
}
.category-hub-panel::after { content: ""; position: absolute; inset: auto -42px -58px auto; width: 118px; height: 118px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); background: color-mix(in srgb, var(--accent) 7%, transparent); opacity: 0.8; z-index: -1; transition: transform var(--transition), opacity var(--transition); }
.category-hub-accent { position: absolute; left: clamp(1rem, 1.8vw, 1.35rem); right: clamp(1rem, 1.8vw, 1.35rem); top: 0; height: 3px; background: var(--accent); transform-origin: left; transform: scaleX(0.42); transition: transform var(--transition), opacity var(--transition); }
.category-hub-icon { grid-row: 1 / span 2; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: color-mix(in srgb, var(--accent) 12%, var(--bg-card)); color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 26%, var(--border)); box-shadow: inset 0 1px 0 rgba(255,255,255,0.42); transition: transform var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition); }
.category-hub-icon svg { width: 27px; height: 27px; }
.category-hub-copy { min-width: 0; display: block; padding-top: 0.08rem; }
.category-hub-copy strong { display: block; color: var(--text-primary); font-family: var(--font-display); font-size: clamp(1.1rem, 1.35vw, 1.3rem); font-weight: 650; line-height: 1.14; margin-bottom: 0.34rem; }
.category-hub-copy em { display: block; color: var(--text-secondary); font-size: 0.86rem; font-style: normal; line-height: 1.48; overflow-wrap: anywhere; }
.category-hub-panel small { grid-column: 2 / 4; align-self: end; display: inline-flex; width: fit-content; padding: 0.42rem 0.6rem; border-radius: 999px; background: color-mix(in srgb, var(--accent) 10%, transparent); color: color-mix(in srgb, var(--navy-950) 84%, var(--accent)); font-family: var(--font-mono); font-size: 0.72rem; font-weight: 800; line-height: 1.2; }
.category-hub-panel b { grid-column: 1 / 4; display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; padding-top: 0.95rem; border-top: 1px solid color-mix(in srgb, var(--border) 76%, transparent); color: var(--text-primary); font-size: 0.84rem; font-weight: 800; line-height: 1; }
.category-hub-panel b span { color: var(--accent); font-family: var(--font-mono); transition: transform var(--transition); }
.category-hub-panel:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--accent) 68%, var(--border)); background: var(--bg-elevated); box-shadow: 0 22px 48px rgba(8,25,52,0.14); }
.category-hub-panel:hover::after { transform: scale(1.18) translate(-8px, -7px); opacity: 1; }
.category-hub-panel:hover .category-hub-accent { transform: scaleX(1); }
.category-hub-panel:hover .category-hub-icon { transform: scale(1.07) translateY(-2px); background: var(--accent); color: var(--navy-950); box-shadow: 0 13px 28px color-mix(in srgb, var(--accent) 24%, transparent); }
.category-hub-panel:hover b span { transform: translateX(5px); }
.category-hub-panel:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 84%, white); outline-offset: 4px; }
.category-hub-panel:active { transform: translateY(-3px) scale(0.997); }
.services-composition { display: grid; grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.15fr); gap: var(--space-lg); align-items: stretch; }
.service-feature { position: relative; overflow: hidden; padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: var(--radius-lg); background: linear-gradient(145deg, var(--navy-900), var(--navy-950)); color: #fff; box-shadow: var(--shadow-md); }
.service-feature::after { content: ""; position: absolute; inset: auto -12% -25% 34%; height: 190px; border: 1px solid rgba(186,136,53,0.26); transform: rotate(-8deg); }
.service-feature h3 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.6rem); margin-top: var(--space-md); }
.service-feature p { color: var(--sand-200); }
.service-feature .service-kicker { position: static; display: inline-block; color: var(--brass-500); }
.service-compact-list { display: grid; gap: 0.7rem; }
.service-compact-list a { display: grid; grid-template-columns: 3rem minmax(0, 1fr) auto; gap: 0.85rem; align-items: center; min-height: 118px; padding: var(--space-sm); border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-elevated); color: var(--text-primary); box-shadow: var(--shadow-sm); transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition); }
.service-compact-list a:hover { transform: translateX(4px); border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); box-shadow: var(--shadow-md); }
.service-compact-list span { color: var(--accent); font-family: var(--font-mono); font-weight: 900; font-size: 1.1rem; }
.service-compact-list h4 { margin-bottom: 0.25rem; font-size: 1.08rem; }
.service-compact-list p { margin: 0; font-size: 0.9rem; }
.service-compact-list b { color: var(--accent); font-family: var(--font-mono); }
.featured-home-section { background: linear-gradient(180deg, var(--bg-card), var(--bg)); }
.property-discovery-head { border-bottom-color: color-mix(in srgb, var(--accent) 34%, var(--border)); }
.featured-filter-bar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(190px, auto) auto; gap: 0.75rem; align-items: end; margin-bottom: var(--space-md); padding: var(--space-sm); border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-elevated); box-shadow: var(--shadow-sm); }
.featured-filter-bar [data-featured-fields] { display: grid; grid-template-columns: repeat(4, minmax(130px, 1fr)); gap: 0.65rem; }
.featured-filter-bar select { width: 100%; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg); color: var(--text-primary); padding: 0.72rem 0.82rem; }
.featured-cta { display: none; }
.featured-cta.visible { display: block; }
.investment-dark { position: relative; overflow: hidden; }
.investment-dark::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(186,136,53,0.14) 1px, transparent 1px), linear-gradient(180deg, rgba(255,255,255,0.06), transparent 42%); background-size: 54px 54px, auto; pointer-events: none; }
.investment-dark .container { position: relative; z-index: 1; }
.investment-dark .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.investment-dark .card-property { display: grid; grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1fr); min-height: 280px; }
.investment-dark .card-media { aspect-ratio: auto; min-height: 100%; }
.testimonial-proof-section { background: linear-gradient(135deg, color-mix(in srgb, var(--navy-900) 8%, var(--bg-card)), var(--bg)); }
.testimonial-layout { display: grid; grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr); gap: var(--space-lg); align-items: center; }
.testimonial-proof-section .testimonial-slider { max-width: none; margin: 0; text-align: left; padding: clamp(1.4rem, 3vw, 2.3rem); border-left: 4px solid var(--brass-500); border-radius: 0 var(--radius-lg) var(--radius-lg) 0; background: var(--bg-elevated); box-shadow: var(--shadow-md); }
.testimonial-slide blockquote { font-style: normal; font-size: clamp(1.25rem, 2vw, 1.9rem); line-height: 1.35; }
.testimonial-slide strong, .testimonial-slide span { display: block; }
.testimonial-slide span { color: var(--text-secondary); }
.rating-line { display: flex; flex-wrap: wrap; gap: 0.55rem; align-items: center; color: var(--brass-500); font-weight: 900; }
.rating-line span { color: var(--text-secondary); font-family: var(--font-mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; }
.testimonial-proof-section .slider-dots { justify-content: flex-start; }
.faq-home-section { background: var(--bg); }
.faq-layout { display: grid; grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr); gap: var(--space-lg); align-items: start; }
.faq-layout .faq-list { max-width: none; margin: 0; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-elevated); overflow: hidden; box-shadow: var(--shadow-sm); }
.faq-layout .faq-item { border-bottom: 1px solid var(--border); }
.faq-layout .faq-item:last-child { border-bottom: 0; }
.faq-layout .faq-q { padding: var(--space-sm) var(--space-md); font-family: var(--font-body); font-weight: 800; }
.faq-layout .faq-q::after { content: "+"; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--border); color: var(--accent); flex: 0 0 auto; transition: transform var(--transition), background var(--transition); }
.faq-layout .faq-item[aria-expanded="true"] .faq-q::after { content: "-"; background: color-mix(in srgb, var(--accent) 12%, var(--bg)); transform: rotate(180deg); }
.faq-layout .faq-a p { padding: 0 var(--space-md) var(--space-sm); margin: 0; }
[data-theme="dark"] .category-hub-section, [data-theme="dark"] .featured-home-section, [data-theme="dark"] .testimonial-proof-section { background-color: var(--bg); }
[data-theme="dark"] .category-hub-section { background-image: linear-gradient(180deg, rgba(8,25,52,0.96), rgba(16,39,70,0.86)), linear-gradient(90deg, rgba(245,239,227,0.04) 1px, transparent 1px); }
[data-theme="dark"] .category-hub-panel { background: rgba(8,25,52,0.9); border-color: rgba(245,239,227,0.12); box-shadow: 0 16px 34px rgba(0,0,0,0.24); }
[data-theme="dark"] .category-hub-panel:hover { background: rgba(11,31,61,0.98); border-color: color-mix(in srgb, var(--accent) 68%, rgba(245,239,227,0.16)); box-shadow: 0 22px 48px rgba(0,0,0,0.34); }
[data-theme="dark"] .category-hub-panel small { color: var(--sand-100); background: rgba(186,136,53,0.16); }
[data-theme="dark"] .category-hub-icon { background: rgba(186,136,53,0.14); border-color: rgba(186,136,53,0.28); }
[data-theme="dark"] .service-compact-list a, [data-theme="dark"] .featured-filter-bar, [data-theme="dark"] .faq-layout .faq-list, [data-theme="dark"] .testimonial-proof-section .testimonial-slider { background: rgba(8,25,52,0.9); }
@media (max-width: 1080px) {
  .category-hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .featured-filter-bar { grid-template-columns: 1fr; }
  .featured-filter-bar [data-featured-fields] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .services-composition, .testimonial-layout, .faq-layout { grid-template-columns: 1fr; }
  .investment-dark .card-property { grid-template-columns: 1fr; }
  .investment-dark .card-media { aspect-ratio: 4/3; }
}
@media (max-width: 720px) {
  .category-hub-head { grid-template-columns: 1fr; gap: var(--space-sm); }
  .category-hub-head h2 { max-width: 14ch; }
  .investment-dark .grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .category-hub-section .container { padding-left: var(--space-sm); padding-right: var(--space-sm); }
  .category-hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.72rem; }
  .category-hub-panel { min-height: 214px; grid-template-columns: 1fr; grid-template-rows: auto auto 1fr auto auto; gap: 0.62rem; padding: 0.88rem; border-radius: var(--radius-sm); }
  .category-hub-icon { grid-row: auto; width: 48px; height: 48px; }
  .category-hub-icon svg { width: 23px; height: 23px; }
  .category-hub-copy strong { font-size: 1.02rem; }
  .category-hub-copy em { font-size: 0.76rem; line-height: 1.42; }
  .category-hub-panel small, .category-hub-panel b { grid-column: auto; }
  .category-hub-panel small { font-size: 0.66rem; padding: 0.36rem 0.48rem; }
  .category-hub-panel b { font-size: 0.76rem; padding-top: 0.7rem; }
  .service-compact-list a { grid-template-columns: 2.4rem minmax(0, 1fr); }
  .service-compact-list b { display: none; }
  .featured-filter-bar [data-featured-fields] { grid-template-columns: 1fr; }
  .testimonial-proof-section .testimonial-slider { border-left-width: 0; border-top: 4px solid var(--brass-500); border-radius: var(--radius-md); }
}
@media (max-width: 390px) { .category-hub-grid { grid-template-columns: 1fr; } .category-hub-panel { min-height: auto; } }

/* ============================================
   HOMEPAGE PREMIUM JOURNEY
   ============================================ */
.home-management-section { background: linear-gradient(180deg, color-mix(in srgb, var(--bg-card) 88%, var(--brass-500) 4%), var(--bg-card)); }
.management-flow { border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-elevated); padding: clamp(1rem, 2vw, 1.5rem); box-shadow: var(--shadow-sm); }
.management-flow ol { display: grid; gap: 0.55rem; margin: 0; padding: 0; list-style: none; }
.management-flow li { position: relative; display: grid; grid-template-columns: 3.2rem 1fr; gap: 0.75rem; align-items: center; min-height: 58px; padding: 0.72rem; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg); }
.management-flow li + li::before { content: ""; position: absolute; left: 2.28rem; top: -0.58rem; width: 1px; height: 0.58rem; background: var(--brass-500); }
.management-flow span, .service-editorial-grid span, .trust-pillars span { font-family: var(--font-mono); color: var(--accent); font-weight: 900; font-size: 0.8rem; }
.management-flow strong { color: var(--text-primary); }
.service-editorial { display: grid; gap: var(--space-md); }
.service-editorial-grid { display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--border); }
.service-editorial-grid a { display: grid; grid-template-columns: 4.5rem minmax(160px, 0.42fr) minmax(0, 1fr) auto; gap: var(--space-sm); align-items: center; min-height: 104px; padding: var(--space-sm) 0; border-bottom: 1px solid var(--border); color: var(--text-primary); transition: color var(--transition), transform var(--transition); }
.service-editorial-grid a:hover { color: var(--accent); transform: translateX(4px); }
.service-editorial-grid strong { font-size: clamp(1.08rem, 2vw, 1.38rem); }
.service-editorial-grid p { margin: 0; max-width: 58ch; }
.service-editorial-grid b { color: var(--accent); }
.home-services-section .btn-accent { justify-self: start; }
.trust-pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-sm); }
.trust-pillars article { padding: var(--space-md); border-top: 3px solid var(--brass-500); background: var(--bg-elevated); border-radius: 0 0 var(--radius-md) var(--radius-md); box-shadow: var(--shadow-sm); }
.trust-pillars h3 { font-size: clamp(1.08rem, 1.6vw, 1.32rem); margin-top: 0.55rem; }
.land-moment-section { background: linear-gradient(180deg, var(--bg), color-mix(in srgb, var(--bg-card) 86%, var(--brass-500) 3%)); }
.land-moment { display: grid; grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1fr); grid-template-areas: "visual content" "cards cards"; gap: var(--space-md); align-items: center; }
.land-visual { grid-area: visual; position: relative; min-height: 420px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.land-visual img, .about-editorial-image img { width: 100%; height: 100%; object-fit: cover; }
.land-visual > div { position: absolute; left: var(--space-sm); right: var(--space-sm); bottom: var(--space-sm); padding: var(--space-sm); border: 1px solid rgba(255,255,255,0.25); border-radius: var(--radius-md); background: rgba(8,25,52,0.66); color: #fff; backdrop-filter: blur(12px); }
.land-visual span { color: var(--brass-500); font-family: var(--font-mono); font-size: 0.76rem; font-weight: 900; }
.land-visual strong { display: block; color: #fff; font-size: clamp(1.15rem, 2vw, 1.55rem); line-height: 1.25; }
.land-content { grid-area: content; }
.land-grid { grid-area: cards; }
.about-editorial { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr); gap: var(--space-lg); align-items: center; }
.about-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-sm); margin: var(--space-md) 0; }
.about-summary div { padding: var(--space-sm); border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg); }
.about-summary strong { color: var(--text-primary); }
.about-summary p { margin: 0.35rem 0 0; font-size: 0.9rem; }
.about-editorial-image { min-height: 460px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.home-trust-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; overflow: hidden; border-radius: var(--radius-md); background: var(--border); border: 1px solid var(--border); }
.home-trust-strip div { padding: var(--space-md); background: var(--navy-900); color: #fff; text-align: center; }
.home-trust-strip strong { display: block; font-family: var(--font-mono); color: var(--brass-500); font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1; }
.home-trust-strip span { display: block; margin-top: 0.45rem; color: var(--sand-200); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; }
[data-theme="dark"] .management-flow, [data-theme="dark"] .trust-pillars article, [data-theme="dark"] .about-summary div { background: rgba(8,25,52,0.9); }
[data-theme="dark"] .management-flow li { background: rgba(245,239,227,0.045); }
[data-theme="dark"] .home-management-section, [data-theme="dark"] .land-moment-section { background: color-mix(in srgb, var(--bg-secondary) 88%, #ffffff 2%); }
@media (max-width: 900px) {
  .service-editorial-grid a { grid-template-columns: 3.5rem 1fr auto; }
  .service-editorial-grid p { grid-column: 2 / -1; }
  .trust-pillars, .home-trust-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .land-moment, .about-editorial { grid-template-columns: 1fr; grid-template-areas: "content" "visual" "cards"; }
}
@media (max-width: 620px) {
  .service-editorial-grid a { grid-template-columns: 1fr auto; gap: 0.45rem; }
  .service-editorial-grid a span, .service-editorial-grid a p { grid-column: 1 / -1; }
  .trust-pillars, .home-trust-strip, .about-summary { grid-template-columns: 1fr; }
  .land-visual, .about-editorial-image { min-height: 320px; }
}

/* ============================================
   HOMEPAGE STRUCTURAL REDESIGN
   ============================================ */
.home-hero-redesign { min-height: clamp(640px, 82vh, 860px); background: var(--navy-950); }
.home-hero-redesign .hero-media::before { width: 62vw; background: linear-gradient(100deg, rgba(8,25,52,0.9), rgba(8,25,52,0.74) 62%, rgba(8,25,52,0.18)); clip-path: polygon(0 0, 76% 0, 100% 100%, 0 100%); }
.home-hero-redesign .hero-media::after { background: linear-gradient(90deg, rgba(8,25,52,0.12), rgba(8,25,52,0.02)), linear-gradient(180deg, rgba(8,25,52,0.08), rgba(8,25,52,0.55)); }
.home-hero-grid { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.38fr); gap: clamp(1rem, 4vw, 4rem); align-items: end; min-height: clamp(560px, 74vh, 780px); padding-top: clamp(6rem, 10vw, 9rem); padding-bottom: clamp(2rem, 5vw, 4.4rem); }
.home-hero-panel { min-height: auto; max-width: 650px; padding: clamp(1.2rem, 3vw, 2rem) 0; }
.home-hero-panel .hero-eyebrow { color: var(--brass-500); }
.home-hero-panel h1 { color: #fff; max-width: 10.8ch; font-size: clamp(3rem, 6vw, 6.2rem); line-height: 0.98; text-shadow: 0 14px 40px rgba(0,0,0,0.28); }
.home-hero-panel .hero-sub { max-width: 48ch; color: var(--sand-100); text-shadow: none; }
.hero-context-card { align-self: end; position: relative; margin-bottom: clamp(0rem, 5vw, 3rem); padding: clamp(1rem, 2vw, 1.35rem); border: 1px solid rgba(255,255,255,0.22); border-radius: var(--radius-md); background: rgba(255,255,255,0.12); color: #fff; backdrop-filter: blur(18px); box-shadow: 0 24px 70px rgba(0,0,0,0.28); }
.hero-context-card span { display: inline-block; margin-bottom: 0.65rem; color: var(--brass-500); font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase; }
.hero-context-card strong { display: block; color: #fff; font-size: clamp(1.15rem, 1.8vw, 1.55rem); line-height: 1.25; margin-bottom: 1rem; }
.hero-context-card ul { display: grid; gap: 0.45rem; margin-bottom: 1rem; color: var(--sand-100); }
.hero-context-card li::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 0.55rem; border-radius: 50%; background: var(--brass-500); }
.hero-context-card a { color: var(--brass-500); font-weight: 800; }
.hero-progress-wrap { display: grid; grid-template-columns: auto minmax(100px, 180px) auto; gap: 0.8rem; align-items: center; width: min(100%, 520px); margin-top: 0.4rem; }
.hero-slide-count { color: #fff; font-family: var(--font-mono); }
.hero-slide-count b { color: var(--brass-500); font-size: 1.55rem; }
.hero-slide-count i { font-style: normal; color: var(--sand-200); }
.hero-nav-pair { display: inline-flex; gap: 0.45rem; }
.home-search-console-section { position: relative; z-index: 8; padding: 0 0 var(--space-xl); background: var(--bg); }
.home-search-console { transform: translateY(-44px); margin-bottom: -44px; padding: clamp(1rem, 2.5vw, 1.6rem); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-elevated); box-shadow: 0 28px 80px rgba(8,25,52,0.16); }
.console-intro { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.console-intro span { color: var(--accent); font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; }
.console-intro h2 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.7rem); }
.console-mode-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; margin-bottom: 1rem; }
.console-mode-tabs button { display: grid; gap: 0.2rem; min-height: 92px; padding: 1rem; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg); color: var(--text-primary); text-align: left; cursor: pointer; transition: transform var(--transition), border-color var(--transition), background var(--transition), color var(--transition); }
.console-mode-tabs button strong { font-family: var(--font-mono); font-size: 1.3rem; letter-spacing: 0.08em; }
.console-mode-tabs button small { color: var(--text-secondary); }
.console-mode-tabs button.active { background: var(--navy-900); border-color: var(--navy-900); color: #fff; transform: translateY(-3px); }
.console-mode-tabs button.active small { color: var(--sand-200); }
.console-fields { display: grid; grid-template-columns: repeat(3, minmax(150px, 1fr)) auto; gap: 0.8rem; align-items: end; }
.console-fields .search-field { margin: 0; }
.console-fields .search-field-wide { grid-column: auto; }
.console-fields .btn { min-height: 58px; }
.category-rail-section { padding: 1.1rem 0; background: color-mix(in srgb, var(--bg-card) 92%, var(--brass-500) 4%); border-block: 1px solid var(--border); }
.category-rail { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; background: var(--bg-elevated); }
.category-rail-item { display: grid; grid-template-columns: auto 1fr auto; gap: 0.65rem; align-items: center; min-height: 86px; padding: 0.9rem; border: 0; border-radius: 0; box-shadow: none; background: transparent; color: var(--text-primary); }
.category-rail-item + .category-rail-item { border-left: 1px solid var(--border); }
.category-rail-item::after, .category-rail .category-rail-accent, .category-rail .category-hub-copy { display: none; }
.rail-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 12%, var(--bg)); color: var(--accent); font-family: var(--font-mono); font-weight: 900; }
.category-rail-item strong { font-size: 1rem; }
.category-rail-item small { grid-column: 2 / 3; padding: 0; background: transparent; color: var(--text-secondary); font-size: 0.72rem; }
.category-rail-item b { grid-column: 3; grid-row: 1 / span 2; color: var(--accent); }
.category-rail-item:hover { transform: none; background: color-mix(in srgb, var(--accent) 7%, var(--bg-elevated)); }
.property-discovery-section { background: var(--bg); }
.discovery-title-row { display: flex; align-items: end; justify-content: space-between; gap: var(--space-md); margin-bottom: var(--space-md); }
.discovery-title-row h2 { max-width: 14ch; }
.compact-discovery-filter { margin-top: var(--space-sm); }
.management-asym-section { background: color-mix(in srgb, var(--bg-card) 86%, var(--navy-900) 5%); }
.management-asym { display: grid; grid-template-columns: minmax(320px, 1.05fr) minmax(0, 0.85fr); gap: clamp(1.4rem, 4vw, 4rem); align-items: center; }
.management-image { position: relative; min-height: 560px; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.management-image img { width: 100%; height: 100%; object-fit: cover; }
.management-status-panel { position: absolute; left: 1rem; bottom: 1rem; width: min(330px, calc(100% - 2rem)); padding: 1rem; border: 1px solid rgba(255,255,255,0.22); border-radius: var(--radius-md); background: rgba(8,25,52,0.75); color: #fff; backdrop-filter: blur(14px); }
.management-status-panel span, .service-display span { color: var(--brass-500); font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase; }
.management-status-panel strong { display: block; color: #fff; margin: 0.35rem 0 0.65rem; font-size: 1.3rem; }
.management-status-panel li { padding: 0.28rem 0; color: var(--sand-100); }
.management-sequence { display: grid; gap: 0.2rem; margin: var(--space-md) 0; padding: 0; list-style: none; border-top: 1px solid var(--border); }
.management-sequence li { display: grid; grid-template-columns: 3.4rem 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--border); }
.management-sequence span { color: var(--accent); font-family: var(--font-mono); font-weight: 900; }
.services-split-section { background: var(--bg); }
.services-split { display: grid; grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr); gap: var(--space-lg); align-items: stretch; }
.services-index { display: grid; align-content: start; gap: 0.5rem; }
.services-index button { display: flex; align-items: center; gap: 0.85rem; width: 100%; padding: 1rem 0; border: 0; border-bottom: 1px solid var(--border); background: transparent; color: var(--text-secondary); font: inherit; font-size: clamp(1.15rem, 2.4vw, 2rem); text-align: left; cursor: pointer; transition: color var(--transition), padding var(--transition); }
.services-index button span { color: var(--accent); font-family: var(--font-mono); font-size: 0.8rem; }
.services-index button.active, .services-index button:hover { color: var(--text-primary); padding-left: 0.6rem; }
.service-display { display: grid; grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1fr); min-height: 520px; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-elevated); box-shadow: var(--shadow-sm); }
.service-display img { width: 100%; height: 100%; object-fit: cover; }
.service-display > div { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(1.2rem, 3vw, 2rem); }
.service-display ul { display: flex; flex-wrap: wrap; gap: 0.55rem; margin: 0.6rem 0 var(--space-md); }
.service-display li { padding: 0.45rem 0.7rem; border: 1px solid var(--border); border-radius: 999px; color: var(--text-secondary); font-size: 0.86rem; }
.why-break-section { background: var(--navy-900); color: #fff; }
.why-break { text-align: center; }
.why-break h2 { color: #fff; max-width: 820px; margin: 0 auto var(--space-lg); font-size: clamp(2.2rem, 5vw, 4.7rem); }
.why-break p { color: var(--sand-200); }
.trust-orbit { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; overflow: hidden; border: 1px solid rgba(255,255,255,0.16); border-radius: var(--radius-md); background: rgba(255,255,255,0.16); }
.trust-orbit div { padding: clamp(1rem, 2.3vw, 1.6rem); background: rgba(255,255,255,0.06); }
.trust-orbit span { display: grid; place-items: center; width: 44px; height: 44px; margin: 0 auto 0.8rem; border-radius: 50%; background: var(--brass-500); color: var(--navy-950); font-family: var(--font-mono); font-weight: 900; }
.trust-orbit strong { display: block; color: #fff; margin-bottom: 0.3rem; }
.land-blueprint-section { background: color-mix(in srgb, var(--bg-card) 92%, var(--brass-500) 3%); }
.land-blueprint { display: grid; grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1fr); grid-template-areas: "image facts" "cards cards"; gap: var(--space-md); align-items: center; }
.land-map-visual { grid-area: image; position: relative; min-height: 520px; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.land-map-visual img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9); }
.plot-outline { position: absolute; inset: 12%; display: grid; place-items: center; border: 2px solid var(--brass-500); color: #fff; background: rgba(8,25,52,0.18); box-shadow: inset 0 0 0 999px rgba(8,25,52,0.12); }
.plot-outline span { position: absolute; font-family: var(--font-mono); color: var(--brass-500); font-weight: 900; }
.plot-outline span:first-child { top: -2rem; }
.plot-outline span:last-child { right: -2.7rem; transform: rotate(90deg); }
.plot-outline strong { padding: 0.7rem 1rem; background: rgba(8,25,52,0.74); border-radius: var(--radius-sm); color: #fff; }
.land-facts { grid-area: facts; }
.land-facts dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; margin: var(--space-md) 0; }
.land-facts div { padding: 1rem; border: 1px solid var(--border); background: var(--bg-elevated); border-radius: var(--radius-sm); }
.land-facts dt { color: var(--text-secondary); font-size: 0.78rem; text-transform: uppercase; }
.land-facts dd { margin: 0.25rem 0 0; color: var(--text-primary); font-weight: 900; font-size: 1.1rem; }
.land-blueprint .land-grid { grid-area: cards; }
.residential-lifestyle-section { background: var(--bg); }
.residential-lifestyle { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.7fr); gap: var(--space-lg); align-items: center; }
.residential-photo { min-height: 560px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.residential-photo img { width: 100%; height: 100%; object-fit: cover; }
.residential-menu nav { display: grid; margin: var(--space-md) 0; border-top: 1px solid var(--border); }
.residential-menu nav a { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--border); color: var(--text-primary); font-size: clamp(1.08rem, 2vw, 1.45rem); }
.residential-menu nav span { color: var(--accent); }
.process-line-section { background: var(--bg); }
.journey-line { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; }
.journey-line::before { content: ""; position: absolute; left: 8%; right: 8%; top: 54px; height: 2px; background: linear-gradient(90deg, transparent, var(--brass-500), transparent); }
.journey-line article { position: relative; z-index: 1; display: grid; justify-items: center; gap: 0.45rem; text-align: center; padding: 0 0.7rem; }
.journey-line span { font-family: var(--font-mono); color: var(--accent); font-weight: 900; }
.journey-line i { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; border: 2px solid var(--brass-500); background: var(--bg-elevated); color: var(--navy-900); font-style: normal; font-weight: 900; }
.journey-line strong { color: var(--text-primary); }
.journey-line p { margin: 0; font-size: 0.86rem; }
.about-editorial-section { position: relative; overflow: hidden; background: color-mix(in srgb, var(--bg-card) 88%, var(--navy-900) 5%); }
.about-story { position: relative; display: grid; grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1fr); gap: var(--space-lg); align-items: center; }
.about-watermark { position: absolute; left: -0.04em; top: -0.22em; color: color-mix(in srgb, var(--text-primary) 6%, transparent); font-family: var(--font-display); font-size: clamp(6rem, 18vw, 18rem); line-height: 1; pointer-events: none; }
.about-story-image { position: relative; z-index: 1; min-height: 500px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.about-story-image img { width: 100%; height: 100%; object-fit: cover; }
.about-story-copy { position: relative; z-index: 1; }
.story-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: var(--space-md) 0; }
.story-notes div { padding-left: 1rem; border-left: 3px solid var(--brass-500); }
.home-stats-strip-section { padding: 0; background: var(--navy-900); }
.home-stats-strip { border-radius: 0; border-inline: 0; }
.testimonial-feature-section { background: var(--bg); }
.testimonial-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr); gap: var(--space-lg); align-items: stretch; }
.testimonial-quote { display: flex; flex-direction: column; justify-content: center; padding: clamp(1.4rem, 4vw, 3rem); border-left: 5px solid var(--brass-500); background: var(--bg-elevated); box-shadow: var(--shadow-sm); }
.testimonial-quote blockquote { margin: 0 0 var(--space-md); color: var(--text-primary); font-family: var(--font-display); font-size: clamp(1.7rem, 3.4vw, 3.2rem); line-height: 1.18; }
.testimonial-side { padding: clamp(1rem, 2vw, 1.5rem); border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-card); }
.client-mark { display: grid; place-items: center; width: 80px; height: 80px; border-radius: 50%; margin-bottom: 1rem; background: var(--navy-900); color: var(--brass-500); font-family: var(--font-mono); font-weight: 900; }
.testimonial-side .testimonial-slider { margin: 1rem 0 0; text-align: left; }
.testimonial-side .testimonial-slide blockquote { font-size: 1rem; line-height: 1.6; }
.faq-preview-section { background: var(--bg-card); }
.final-image-cta-section { background: var(--navy-900); }
.final-image-cta { position: relative; min-height: 520px; overflow: hidden; display: grid; align-items: center; color: #fff; }
.final-image-cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.62; }
.final-image-cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,25,52,0.9), rgba(8,25,52,0.54), rgba(8,25,52,0.18)); }
.final-image-cta .container { position: relative; z-index: 1; }
.final-image-cta .container > div { max-width: 720px; padding: var(--space-xl) 0; }
.final-image-cta h2 { color: #fff; font-size: clamp(2.4rem, 5vw, 5rem); }
.final-image-cta p { color: var(--sand-100); }
[data-theme="dark"] .home-search-console, [data-theme="dark"] .category-rail, [data-theme="dark"] .service-display, [data-theme="dark"] .land-facts div, [data-theme="dark"] .testimonial-quote, [data-theme="dark"] .testimonial-side { background: rgba(8,25,52,0.9); }
[data-theme="dark"] .console-mode-tabs button { background: rgba(255,255,255,0.04); }
[data-theme="dark"] .category-rail-section, [data-theme="dark"] .land-blueprint-section, [data-theme="dark"] .about-editorial-section, [data-theme="dark"] .management-asym-section, [data-theme="dark"] .faq-preview-section { background: color-mix(in srgb, var(--bg-secondary) 90%, #ffffff 2%); }
@media (max-width: 1100px) {
  .home-hero-grid, .management-asym, .services-split, .land-blueprint, .residential-lifestyle, .about-story, .testimonial-feature { grid-template-columns: 1fr; }
  .home-hero-redesign .hero-media::before { width: 100%; clip-path: none; background: linear-gradient(90deg, rgba(8,25,52,0.9), rgba(8,25,52,0.52)); }
  .hero-context-card { max-width: 520px; margin-bottom: 0; }
  .service-display { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); }
  .land-blueprint { grid-template-areas: "facts" "image" "cards"; }
  .category-rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
  .category-rail-item { min-width: 220px; scroll-snap-align: start; }
}
@media (max-width: 820px) {
  .console-fields { grid-template-columns: 1fr 1fr; }
  .console-fields .btn { grid-column: 1 / -1; }
  .service-display { grid-template-columns: 1fr; min-height: auto; }
  .service-display img { aspect-ratio: 16 / 10; }
  .trust-orbit, .land-facts dl, .story-notes { grid-template-columns: 1fr 1fr; }
  .journey-line { grid-template-columns: 1fr; gap: 0; }
  .journey-line::before { left: 29px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: linear-gradient(180deg, transparent, var(--brass-500), transparent); }
  .journey-line article { grid-template-columns: 58px 1fr; justify-items: start; text-align: left; padding: 0 0 1.4rem; }
  .journey-line article span { grid-column: 2; }
  .journey-line article i { grid-row: 1 / span 3; }
}
@media (max-width: 560px) {
  .home-hero-grid { min-height: 660px; padding-top: 5.2rem; }
  .home-hero-panel h1 { font-size: clamp(2.35rem, 14vw, 3.5rem); }
  .hero-progress-wrap { grid-template-columns: 1fr; justify-items: start; }
  .hero-dots { width: 100%; }
  .hero-dots button { flex: 1; width: auto; }
  .console-intro { display: block; }
  .console-mode-tabs, .console-fields, .trust-orbit, .land-facts dl, .story-notes { grid-template-columns: 1fr; }
  .home-search-console { transform: translateY(-24px); margin-bottom: -24px; border-radius: var(--radius-md); }
  .management-image, .land-map-visual, .residential-photo, .about-story-image { min-height: 340px; }
  .plot-outline span:last-child { right: -2.25rem; }
  .testimonial-quote { border-left: 0; border-top: 5px solid var(--brass-500); }
  .final-image-cta { min-height: 600px; }
}

/* ============================================
   HOMEPAGE SIMPLIFIED REFINEMENT
   ============================================ */
.home-hero-simple { min-height: clamp(500px, 64vh, 680px); background: var(--navy-900); }
.home-hero-simple .hero-media::before { top: -8%; bottom: -8%; left: -5%; width: min(66vw, 860px); clip-path: polygon(0 0, 78% 0, 100% 88%, 0 100%); background: linear-gradient(105deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.74) 56%, rgba(255,255,255,0.22) 86%, rgba(255,255,255,0) 100%); }
.home-hero-simple .hero-media::after { top: 14%; left: min(43vw, 560px); width: min(22vw, 280px); height: min(42vh, 340px); background: rgba(250,248,244,0.34); clip-path: polygon(18% 0, 100% 12%, 78% 100%, 0 86%); }
.home-hero-simple .home-hero-simple-copy h1 { color: var(--navy-950); text-shadow: 0 1px 0 rgba(255,255,255,0.5); }
.home-hero-simple .home-hero-simple-copy .hero-sub { color: var(--ink-600); text-shadow: 0 1px 0 rgba(255,255,255,0.4); }
[data-theme="dark"] .home-hero-simple .hero-media::before { background: linear-gradient(105deg, rgba(6,20,38,0.9) 0%, rgba(7,24,43,0.76) 56%, rgba(8,25,52,0.32) 86%, rgba(8,25,52,0) 100%); }
[data-theme="dark"] .home-hero-simple .hero-media::after { background: rgba(11,31,61,0.42); }
[data-theme="dark"] .home-hero-simple .home-hero-simple-copy h1 { color: var(--sand-100); text-shadow: 0 8px 26px rgba(2,10,22,0.24); }
[data-theme="dark"] .home-hero-simple .home-hero-simple-copy .hero-sub { color: var(--sand-200); text-shadow: 0 4px 18px rgba(2,10,22,0.24); }
.home-hero-simple-inner { min-height: clamp(430px, 56vh, 590px); padding-top: clamp(4.8rem, 8vw, 7rem); padding-bottom: clamp(2rem, 4vw, 3rem); }
.home-hero-simple-copy { min-height: auto; max-width: 660px; }
.home-hero-simple-copy h1 { max-width: 12.5ch; color: #fff; font-size: clamp(2.45rem, 4.8vw, 4.65rem); line-height: 1.04; text-shadow: 0 12px 34px rgba(0,0,0,0.22); }
.home-hero-simple-copy .hero-sub { max-width: 48ch; color: var(--sand-100); }
.simple-hero-controls { display: flex; flex-wrap: wrap; width: auto; gap: 0.65rem; margin-top: 0; }
.home-search-simple-section { background: var(--bg); padding: var(--space-lg) 0; }
.home-search-simple { padding: clamp(1rem, 2vw, 1.35rem); border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-elevated); box-shadow: var(--shadow-sm); }
.simple-section-head { display: flex; justify-content: space-between; align-items: end; gap: var(--space-md); margin-bottom: var(--space-md); }
.simple-section-head h2 { margin-bottom: 0; font-size: clamp(1.65rem, 3vw, 2.5rem); }
.simple-section-head.center { display: block; text-align: center; max-width: 720px; margin-inline: auto; }
.simple-search-tabs { display: inline-flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; padding: 0.35rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg); }
.simple-search-tabs button { display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem; min-width: 7.5rem; min-height: 44px; padding: 0.55rem 1rem; border: 0; border-radius: calc(var(--radius-sm) - 2px); background: transparent; color: var(--text-secondary); cursor: pointer; }
.simple-search-tabs button span { color: var(--accent); font-family: var(--font-mono); font-size: 0.72rem; font-weight: 800; }
.simple-search-tabs button.active { background: var(--navy-900); color: #fff; box-shadow: inset 0 -2px 0 var(--brass-500); }
.simple-search-tabs button.active span { color: var(--brass-500); }
.simple-search-fields { display: grid; grid-template-columns: repeat(3, minmax(150px, 1fr)) auto; gap: 0.75rem; align-items: end; }
.simple-search-fields .search-field { margin: 0; }
.simple-search-fields .search-field-wide { grid-column: auto; }
.simple-search-fields .btn { min-height: 54px; }
.category-simple-section { padding-top: var(--space-lg); padding-bottom: var(--space-lg); background: color-mix(in srgb, var(--bg-card) 92%, var(--navy-900) 3%); }
.category-simple-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.65rem; }
.category-simple-item { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 0.55rem; align-items: center; min-height: 76px; padding: 0.78rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg-elevated); color: var(--text-primary); transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition); }
.category-simple-item:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); background: color-mix(in srgb, var(--accent) 6%, var(--bg-elevated)); color: var(--text-primary); }
.category-simple-item.active, .category-simple-item[aria-pressed="true"] { border-color: var(--navy-900); box-shadow: inset 0 -2px 0 var(--brass-500); }
.category-simple-item span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 12%, var(--bg)); color: var(--accent); font-family: var(--font-mono); font-size: 0.68rem; font-weight: 900; }
.category-simple-item small { grid-column: 2; color: var(--text-secondary); font-size: 0.74rem; }
.category-simple-item b { grid-column: 3; grid-row: 1 / span 2; color: var(--accent); }
.property-discovery-section { padding-top: var(--space-xl); padding-bottom: var(--space-xl); }
.listing-control-row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); margin: var(--space-md) 0; padding: 0.85rem; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-elevated); }
.listing-control-row > div:first-child { display: grid; gap: 0.15rem; }
.listing-control-row strong { color: var(--text-primary); }
.listing-control-row [data-discovery-context] { color: var(--text-secondary); font-size: 0.88rem; }
.listing-control-row > div:last-child { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.6rem; align-items: end; }
.listing-control-row label { display: grid; gap: 0.25rem; color: var(--text-secondary); font-size: 0.78rem; }
.listing-control-row select { min-width: 150px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg); color: var(--text-primary); padding: 0.58rem 0.75rem; }
.hidden-featured-tabs { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.compact-discovery-filter[hidden] { display: none; }
.compact-discovery-filter.is-open { display: grid; }
.management-simple-section, .about-simple-section { background: color-mix(in srgb, var(--bg-card) 90%, var(--navy-900) 4%); }
.management-simple, .about-simple, .testimonial-simple { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr); gap: var(--space-lg); align-items: center; }
.check-list { display: grid; gap: 0.45rem; margin: var(--space-md) 0; color: var(--text-secondary); }
.check-list li::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 0.55rem; border-radius: 50%; background: var(--brass-500); }
.management-simple-list { display: grid; gap: 0.65rem; }
.management-simple-list div { display: grid; grid-template-columns: 3.2rem 1fr; gap: 0.8rem; align-items: center; padding: 0.85rem 1rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg-elevated); }
.management-simple-list span { color: var(--accent); font-family: var(--font-mono); font-weight: 900; }
.services-simple-section { background: linear-gradient(180deg, color-mix(in srgb, var(--bg-card) 78%, var(--navy-900) 4%), var(--bg)); }
.process-simple-section, .testimonial-simple-section { background: var(--bg); }
.services-editorial { display: grid; grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.services-editorial-intro { display: grid; align-content: start; gap: 0.95rem; padding: clamp(1rem, 2.4vw, 1.55rem); border-left: 4px solid var(--brass-500); background: color-mix(in srgb, var(--bg-elevated) 88%, var(--navy-900) 4%); box-shadow: var(--shadow-sm); }
.services-editorial-intro h2 { max-width: 12.5ch; margin-bottom: 0; color: var(--navy-900); }
.services-editorial-intro p:not(.eyebrow) { max-width: 47ch; margin-bottom: 0; }
.services-editorial-visual { position: relative; margin: 0.45rem 0 0; overflow: hidden; border-radius: var(--radius-md); aspect-ratio: 1.25 / 1; background: var(--bg-elevated); box-shadow: var(--shadow-sm); }
.services-editorial-visual::after { content: ""; position: absolute; inset: auto 1rem 1rem auto; width: 4.8rem; height: 4px; border-radius: 999px; background: var(--brass-500); }
.services-editorial-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.services-row-list { display: grid; border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; background: var(--bg-elevated); box-shadow: var(--shadow-sm); }
.service-row { display: grid; grid-template-columns: 3.2rem 2.8rem minmax(0, 1fr) auto; gap: 0.9rem; align-items: center; min-height: 98px; padding: 1rem 1.1rem; border-bottom: 1px solid var(--border); color: var(--text-primary); transition: background var(--transition), padding var(--transition), border-color var(--transition); }
.service-row:last-child { border-bottom: 0; }
.service-row-number { color: var(--accent); font-family: var(--font-mono); font-weight: 900; font-size: 0.9rem; }
.service-row-icon { width: 2.8rem; height: 2.8rem; border-radius: 50%; display: grid; place-items: center; color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, var(--bg-elevated)); border: 1px solid color-mix(in srgb, var(--accent) 20%, var(--border)); transition: transform var(--transition), color var(--transition), background var(--transition), border-color var(--transition); }
.service-row-icon svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.service-row strong { display: block; margin-bottom: 0.18rem; font-size: 1.02rem; }
.service-row p { margin: 0; color: var(--text-secondary); font-size: 0.9rem; line-height: 1.55; }
.service-row-arrow { align-self: center; color: var(--accent); font-size: 1.25rem; line-height: 1; transition: transform var(--transition), color var(--transition); }
.service-row:hover { padding-left: 1.35rem; background: color-mix(in srgb, var(--accent) 7%, var(--bg-elevated)); border-color: color-mix(in srgb, var(--accent) 24%, var(--border)); }
.service-row:hover .service-row-icon { transform: translateY(-2px); color: var(--navy-950); background: var(--brass-500); border-color: var(--brass-500); }
.service-row:hover .service-row-arrow { transform: translateX(5px); color: var(--brass-600); }
.why-simple-section { background: var(--bg); color: var(--text-primary); }
.why-trust-layout { display: grid; grid-template-columns: minmax(260px, 0.86fr) minmax(0, 1.14fr); gap: clamp(1.5rem, 4vw, 3.2rem); align-items: start; }
.why-trust-statement { position: sticky; top: 110px; padding-top: 0.35rem; }
.why-trust-statement h2 { max-width: 10ch; margin-bottom: 0.65rem; color: var(--navy-900); }
.why-trust-statement p:not(.eyebrow) { max-width: 43ch; color: var(--text-secondary); }
.why-trust-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.why-trust-points article { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: 0.35rem 0.85rem; align-items: start; min-height: 128px; padding: 1rem; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); background: color-mix(in srgb, var(--bg-elevated) 72%, var(--bg)); transition: background var(--transition), border-color var(--transition); }
.why-trust-points i { grid-row: span 2; width: 2.5rem; height: 2.5rem; border-radius: 50%; display: grid; place-items: center; color: var(--accent); background: color-mix(in srgb, var(--accent) 9%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--border)); }
.why-trust-points svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.why-trust-points strong { color: var(--text-primary); font-size: 0.98rem; }
.why-trust-points p { grid-column: 2; margin: 0; color: var(--text-secondary); font-size: 0.88rem; line-height: 1.55; }
.why-trust-points article:hover { background: color-mix(in srgb, var(--accent) 5%, var(--bg-elevated)); border-color: color-mix(in srgb, var(--accent) 22%, var(--border)); }
.process-journey { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin-top: var(--space-lg); }
.process-journey::before { content: ""; position: absolute; left: 8%; right: 8%; top: 2.15rem; height: 1px; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 58%, var(--border)), transparent); pointer-events: none; }
.process-journey-step { position: relative; display: grid; justify-items: center; align-content: start; gap: 0.45rem; min-height: 188px; padding: 0 0.75rem; text-align: center; }
.process-journey-step::after { content: ""; position: absolute; top: 1.9rem; right: -0.35rem; width: 0.58rem; height: 0.58rem; border-top: 1.5px solid var(--accent); border-right: 1.5px solid var(--accent); transform: rotate(45deg); opacity: 0.6; }
.process-journey-step:last-child::after { display: none; }
.process-journey-step span { color: var(--accent); font-family: var(--font-mono); font-weight: 900; font-size: 0.82rem; }
.process-journey-step i { position: relative; z-index: 1; width: 3.5rem; height: 3.5rem; display: grid; place-items: center; border-radius: 50%; color: var(--accent); background: var(--bg); border: 1px solid color-mix(in srgb, var(--accent) 34%, var(--border)); box-shadow: 0 0 0 8px var(--bg), 0 10px 24px color-mix(in srgb, var(--accent) 10%, transparent); transition: transform var(--transition), color var(--transition), background var(--transition), border-color var(--transition); }
.process-journey-step i svg { width: 1.35rem; height: 1.35rem; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.process-journey-step strong { display: block; color: var(--text-primary); font-size: 1rem; }
.process-journey-step p { margin: 0; color: var(--text-secondary); font-size: 0.86rem; line-height: 1.5; max-width: 13rem; }
.process-journey-step:hover i { transform: translateY(-3px); color: var(--navy-950); background: var(--brass-500); border-color: var(--brass-500); }
.about-simple-notes { display: grid; gap: 1rem; }
.about-simple-notes div { padding: 1rem; border-left: 3px solid var(--brass-500); background: var(--bg-elevated); }
.testimonial-simple-slider { max-width: none; margin: 0; padding: clamp(1rem, 2vw, 1.4rem); border: 1px solid var(--border); border-left: 4px solid var(--brass-500); border-radius: 0 var(--radius-md) var(--radius-md) 0; background: var(--bg-elevated); text-align: left; box-shadow: var(--shadow-sm); }
.testimonial-simple-slider .testimonial-slide blockquote { font-size: clamp(1.1rem, 2vw, 1.55rem); line-height: 1.45; }
.contact-simple-cta-section { background: var(--bg-card); padding-top: var(--space-xl); padding-bottom: var(--space-xl); }
.contact-simple-cta { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); padding: clamp(1.2rem, 3vw, 2rem); border-radius: var(--radius-md); background: var(--navy-900); color: #fff; }
.contact-simple-cta h2 { color: #fff; margin-bottom: 0.35rem; }
.contact-simple-cta p { color: var(--sand-200); margin-bottom: 0; }
[data-theme="dark"] .home-search-simple, [data-theme="dark"] .category-simple-item, [data-theme="dark"] .listing-control-row, [data-theme="dark"] .management-simple-list div, [data-theme="dark"] .about-simple-notes div, [data-theme="dark"] .testimonial-simple-slider { background: rgba(8,25,52,0.9); }
[data-theme="dark"] .services-editorial-intro, [data-theme="dark"] .services-row-list, [data-theme="dark"] .why-trust-points article { background: rgba(8,25,52,0.9); }
[data-theme="dark"] .services-editorial-intro h2, [data-theme="dark"] .why-trust-statement h2 { color: var(--sand-100); }
[data-theme="dark"] .service-row:hover { background: rgba(186,136,53,0.10); }
[data-theme="dark"] .process-journey-step i { background: var(--bg); box-shadow: 0 0 0 8px var(--bg), 0 10px 26px rgba(0,0,0,0.18); }
[data-theme="dark"] .category-simple-section, [data-theme="dark"] .management-simple-section, [data-theme="dark"] .about-simple-section, [data-theme="dark"] .contact-simple-cta-section { background: color-mix(in srgb, var(--bg-secondary) 90%, #ffffff 2%); }
@media (max-width: 1100px) {
  .category-simple-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .services-editorial { grid-template-columns: 1fr; }
  .services-editorial-intro h2 { max-width: 15ch; }
  .services-editorial-visual { max-width: 760px; aspect-ratio: 1.9 / 1; }
  .why-trust-layout { grid-template-columns: 1fr; }
  .why-trust-statement { position: static; }
  .why-trust-statement h2 { max-width: 14ch; }
  .process-journey { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 1.5rem; }
  .process-journey::before { display: none; }
  .process-journey-step:nth-child(3)::after { display: none; }
  .management-simple, .about-simple, .testimonial-simple { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .simple-section-head, .discovery-title-row, .contact-simple-cta { display: grid; align-items: start; }
  .simple-search-fields { grid-template-columns: 1fr 1fr; }
  .simple-search-fields .btn { grid-column: 1 / -1; }
  .listing-control-row { display: grid; }
  .listing-control-row > div:last-child { justify-content: start; }
  .why-trust-points { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 2.6rem 2.6rem minmax(0, 1fr) 1.4rem; gap: 0.7rem; }
  .process-journey { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .process-journey::before { display: block; left: 1.75rem; right: auto; top: 0.2rem; bottom: 0.2rem; width: 1px; height: auto; background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--accent) 58%, var(--border)), transparent); }
  .process-journey-step { min-height: auto; grid-template-columns: 3.5rem minmax(0, 1fr); justify-items: start; text-align: left; gap: 0.15rem 1rem; padding: 0 0 1.65rem; }
  .process-journey-step span { grid-column: 2; grid-row: 1; }
  .process-journey-step i { grid-column: 1; grid-row: 1 / span 3; }
  .process-journey-step strong, .process-journey-step p { grid-column: 2; }
  .process-journey-step p { max-width: none; }
  .process-journey-step::after, .process-journey-step:nth-child(3)::after { display: block; top: auto; right: auto; left: 1.48rem; bottom: 0.45rem; transform: rotate(135deg); }
  .process-journey-step:last-child::after { display: none; }
}
@media (max-width: 520px) {
  .home-hero-simple { min-height: 520px; }
  .home-hero-simple-inner { min-height: 440px; padding-top: 4.6rem; }
  .home-hero-simple-copy h1 { max-width: min(100%, 10.4ch); font-size: clamp(2.1rem, 11vw, 2.8rem); overflow-wrap: break-word; }
  .simple-search-tabs { display: grid; grid-template-columns: repeat(3, 1fr); }
  .simple-search-tabs button { min-width: 0; padding-inline: 0.65rem; }
  .simple-search-fields { grid-template-columns: 1fr; }
  .category-simple-grid { display: flex; overflow-x: auto; padding-bottom: 0.4rem; scroll-snap-type: x mandatory; }
  .category-simple-item { min-width: 190px; scroll-snap-align: start; }
  .category-simple-item { min-height: auto; }
  .service-row { grid-template-columns: 1fr 2.6rem; align-items: start; }
  .service-row-number { grid-column: 1; }
  .service-row-icon { grid-column: 2; grid-row: 1 / span 2; justify-self: end; }
  .service-row > span:nth-child(3) { grid-column: 1 / -1; }
  .service-row-arrow { grid-column: 2; justify-self: end; }
  .testimonial-simple-slider { border-left: 0; border-top: 4px solid var(--brass-500); border-radius: var(--radius-md); }
}

/* Unified homepage property finder */
.property-finder-section { background: linear-gradient(180deg, var(--bg), color-mix(in srgb, var(--bg-card) 92%, var(--navy-900) 3%)); padding-top: var(--space-xl); padding-bottom: var(--space-xl); }
.property-finder { border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-elevated); box-shadow: var(--shadow-sm); overflow: hidden; }
.property-finder-head { display: flex; align-items: end; justify-content: space-between; gap: var(--space-md); padding: clamp(1rem, 2.4vw, 1.6rem); border-bottom: 1px solid var(--border); }
.property-finder-head h2 { margin-bottom: 0.25rem; font-size: clamp(1.85rem, 3.4vw, 3rem); }
.property-finder-head p { margin-bottom: 0; max-width: 58ch; }
.finder-panel { display: grid; gap: 0.95rem; padding: clamp(1rem, 2.4vw, 1.6rem); background: color-mix(in srgb, var(--bg-card) 72%, var(--bg-elevated)); }
.finder-row { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 1rem; align-items: center; }
.finder-label { color: var(--text-secondary); font-size: 0.82rem; font-weight: 800; }
.property-finder .simple-search-tabs { margin: 0; width: fit-content; max-width: 100%; }
.property-finder .simple-search-tabs button { min-height: 40px; min-width: 6.6rem; }
.finder-type-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.finder-type-chips .category-simple-item { min-height: 46px; width: auto; min-width: auto; grid-template-columns: auto auto auto auto; padding: 0.46rem 0.58rem; border-radius: 999px; }
.finder-type-chips .category-simple-item span { width: 28px; height: 28px; font-size: 0.61rem; }
.finder-type-chips .category-simple-item strong { font-size: 0.9rem; }
.finder-type-chips .category-simple-item small { grid-column: auto; font-size: 0.7rem; }
.finder-type-chips .category-simple-item b { grid-column: auto; grid-row: auto; font-size: 0.78rem; }
.finder-type-chips .category-simple-item[hidden] { display: none; }
.finder-search-row { grid-template-columns: repeat(3, minmax(150px, 1fr)) auto; padding-top: 0.2rem; }
.finder-summary-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.72rem clamp(1rem, 2.4vw, 1.6rem); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg); }
.finder-summary-bar > div { display: flex; flex-wrap: wrap; gap: 0.55rem; align-items: center; }
.finder-summary-bar strong { color: var(--navy-900); font-size: 0.92rem; }
.finder-summary-bar span { color: var(--text-secondary); font-size: 0.82rem; }
.summary-clear { border: 0; background: transparent; color: var(--accent); font-weight: 800; cursor: pointer; }
.finder-results-head { display: flex; align-items: end; justify-content: space-between; gap: var(--space-sm); padding: clamp(1rem, 2.4vw, 1.6rem) clamp(1rem, 2.4vw, 1.6rem) var(--space-sm); }
.finder-results-head h3 { margin-bottom: 0.1rem; font-size: clamp(1.35rem, 2.3vw, 2rem); }
.finder-results-head [data-featured-count] { color: var(--text-secondary); font-size: 0.9rem; }
.finder-results-head > div:last-child { display: flex; flex-wrap: wrap; align-items: end; justify-content: flex-end; gap: 0.55rem; }
.finder-results-head label { display: grid; gap: 0.25rem; color: var(--text-secondary); font-size: 0.75rem; }
.finder-results-head select { min-width: 142px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg); color: var(--text-primary); padding: 0.56rem 0.72rem; }
.property-finder .compact-discovery-filter { margin: 0 clamp(1rem, 2.4vw, 1.6rem) var(--space-sm); }
.property-finder .featured-grid { padding: 0 clamp(1rem, 2.4vw, 1.6rem) clamp(1rem, 2.4vw, 1.6rem); }
.property-finder .featured-empty, .property-finder .featured-cta, .finder-bottom-link { margin-left: clamp(1rem, 2.4vw, 1.6rem); margin-right: clamp(1rem, 2.4vw, 1.6rem); }
.finder-bottom-link { border-top: 1px solid var(--border); padding: 0.95rem 0 clamp(1rem, 2.4vw, 1.6rem); text-align: right; }
.finder-bottom-link a { color: var(--accent); font-weight: 800; }
.finder-bottom-link a:hover { color: var(--accent-strong); }
[data-theme="dark"] .property-finder { background: rgba(8,25,52,0.9); }
[data-theme="dark"] .finder-panel { background: rgba(255,255,255,0.035); }
[data-theme="dark"] .finder-summary-bar { background: rgba(255,255,255,0.035); }
[data-theme="dark"] .finder-summary-bar strong { color: var(--sand-100); }
@media (max-width: 900px) {
  .finder-row { grid-template-columns: 1fr; gap: 0.45rem; }
  .finder-search-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .finder-search-row .btn { grid-column: 1 / -1; }
  .finder-results-head { display: grid; }
  .finder-results-head > div:last-child { justify-content: start; }
}
@media (max-width: 560px) {
  .property-finder-section { padding-top: var(--space-lg); padding-bottom: var(--space-lg); }
  .property-finder-head, .finder-summary-bar { display: grid; align-items: start; }
  .property-finder .simple-search-tabs { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; }
  .property-finder .simple-search-tabs button { min-width: 0; padding-inline: 0.45rem; }
  .finder-type-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 0.35rem; scroll-snap-type: x mandatory; }
  .finder-type-chips .category-simple-item { min-width: 168px; scroll-snap-align: start; }
  .finder-search-row { grid-template-columns: 1fr; }
  .finder-results-head > div:last-child { display: grid; width: 100%; }
  .finder-results-head select, .finder-results-head .btn { width: 100%; }
}

/* ============================================
   SIGNATURE SERVICE STORY
   ============================================ */
.section-signature { background: linear-gradient(135deg, var(--navy-900), var(--navy-950)); color: #fff; }
.section-signature h2, .section-signature h4 { color: #fff; }
.section-signature p { color: var(--sand-200); }
.service-story { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr); gap: var(--space-lg); align-items: center; }
.service-path { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-sm); }
.service-path div { padding: var(--space-md); border: 1px solid var(--border-inverse); border-radius: var(--radius-md); background: rgba(255,255,255,0.045); }
.service-path span { display: inline-block; font-family: var(--font-mono); color: var(--brass-500); margin-bottom: var(--space-xs); }
.service-path h4 { margin-bottom: 0.35em; }
@media (max-width: 860px) { .service-story, .service-path { grid-template-columns: 1fr; } }

.process-head p:not(.eyebrow) { max-width: 760px; margin-left: auto; margin-right: auto; }
.process-timeline { --marker-size: 4.6rem; position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: 0; margin-top: var(--space-xl); padding: 0.4rem 0 1rem; }
.process-timeline::before { content: ""; position: absolute; left: calc(var(--marker-size) / 2); right: calc(var(--marker-size) / 2); top: 3.1rem; height: 3px; background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 18%, transparent), var(--accent), var(--brass-500), color-mix(in srgb, var(--accent) 18%, transparent)); opacity: 0.52; pointer-events: none; }
.process-step { position: relative; z-index: 1; min-height: 270px; padding: calc(var(--marker-size) + 1.4rem) 1rem 0; display: flex; flex-direction: column; align-items: center; text-align: center; background: transparent; border: 0; box-shadow: none; transition: transform var(--transition); }
.process-step:nth-child(even) { padding-top: calc(var(--marker-size) + 4.8rem); }
.process-step::after { content: ""; position: absolute; top: 2.88rem; right: -0.44rem; width: 0.72rem; height: 0.72rem; border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); transform: rotate(45deg); opacity: 0.55; }
.process-step:last-child::after { display: none; }
.process-step:hover { transform: translateY(-4px); }
.process-icon { position: absolute; top: 0.9rem; left: 50%; transform: translateX(-50%); width: var(--marker-size); height: var(--marker-size); border-radius: 50%; display: grid; place-items: center; color: var(--accent); background: var(--bg-elevated); border: 2px solid color-mix(in srgb, var(--accent) 42%, var(--border)); box-shadow: 0 0 0 8px var(--bg-secondary), 0 14px 34px color-mix(in srgb, var(--accent) 14%, transparent); transition: transform var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition); }
.process-icon svg { width: 1.8rem; height: 1.8rem; }
.process-step:hover .process-icon { transform: translateX(-50%) scale(1.06); color: var(--brass-500); border-color: var(--brass-500); box-shadow: 0 0 0 8px var(--bg-secondary), 0 18px 42px color-mix(in srgb, var(--brass-500) 20%, transparent); }
.process-number { font-family: var(--font-mono); color: color-mix(in srgb, var(--accent) 55%, var(--text-primary)); font-weight: 800; letter-spacing: 0; font-size: clamp(2.35rem, 4vw, 3.8rem); line-height: 0.92; display: block; margin-bottom: 0.7rem; opacity: 0.22; }
.process-step h4 { font-size: 1.02rem; line-height: 1.28; margin-bottom: 0.55rem; max-width: 13.5rem; }
.process-step p { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.65; margin: 0; max-width: 14.5rem; }
.process-cta { position: relative; display: flex; justify-content: center; gap: var(--space-sm); flex-wrap: wrap; margin-top: var(--space-lg); padding-top: var(--space-md); }
.process-cta::before { content: ""; position: absolute; top: 0; left: 50%; width: 5.5rem; height: 2px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--brass-500), transparent); opacity: 0.7; }
[data-theme="dark"] .process-icon { background: var(--bg-elevated); box-shadow: 0 0 0 8px var(--bg-secondary), 0 14px 34px rgba(0,0,0,0.28); }
[data-theme="dark"] .process-number { opacity: 0.32; }
.mini-list { display: grid; gap: 0.55rem; margin: var(--space-md) 0; }
.mini-list span { display: flex; align-items: center; gap: 0.55rem; color: var(--text-secondary); }
.mini-list span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
@media (max-width: 1180px) { .process-timeline { grid-template-columns: 1fr; gap: 0; max-width: 780px; margin-left: auto; margin-right: auto; padding-left: 0; } .process-timeline::before { left: 2.3rem; right: auto; top: 1.1rem; bottom: 1.1rem; width: 3px; height: auto; background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 18%, transparent), var(--accent), var(--brass-500), color-mix(in srgb, var(--accent) 18%, transparent)); } .process-step, .process-step:nth-child(even) { min-height: auto; padding: 0.2rem 0 2rem 6.25rem; align-items: flex-start; text-align: left; } .process-step::after { top: auto; right: auto; left: 2.08rem; bottom: 0.72rem; transform: rotate(135deg); } .process-icon { top: 0; left: 0; transform: none; width: 4.6rem; height: 4.6rem; } .process-step:hover .process-icon { transform: scale(1.04); } .process-step h4, .process-step p { max-width: 34rem; } }
@media (max-width: 620px) { .process-timeline { --marker-size: 3.7rem; margin-top: var(--space-lg); } .process-timeline::before { left: 1.85rem; } .process-step, .process-step:nth-child(even) { padding-left: 5rem; padding-bottom: 1.8rem; } .process-icon { width: var(--marker-size); height: var(--marker-size); } .process-icon svg { width: 1.45rem; height: 1.45rem; } .process-number { font-size: 2.1rem; margin-bottom: 0.45rem; } .process-step::after { left: 1.62rem; } .process-cta { justify-content: stretch; } .process-cta .btn { width: 100%; } }

/* ============================================
   CTA BAND
   ============================================ */
.cta-band { background: var(--navy-900); color: #fff; border-radius: var(--radius-lg); padding: var(--space-xl) var(--space-lg); text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--sand-200); max-width: 52ch; margin-left: auto; margin-right: auto; }
.cta-band .btn-row { display: flex; gap: var(--space-sm); justify-content: center; flex-wrap: wrap; margin-top: var(--space-md); }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonial-slider { position: relative; max-width: 760px; margin: 0 auto; text-align: center; }
.testimonial-slide { display: none; }
.testimonial-slide.active { display: block; animation: fadeIn 400ms ease; }
.testimonial-slide blockquote { font-family: var(--font-display); font-size: var(--step-1); font-style: italic; margin: 0 0 var(--space-md); color: var(--text-primary); }
.testimonial-author { display: flex; align-items: center; justify-content: center; gap: 0.7em; }
.testimonial-avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.testimonial-name { font-weight: 600; }
.testimonial-role { color: var(--text-secondary); font-size: 0.85rem; }
.slider-dots { display: flex; gap: 0.5em; justify-content: center; margin-top: var(--space-md); }
.slider-dots button { width: 9px; height: 9px; border-radius: 50%; border: none; background: var(--border); cursor: pointer; }
.slider-dots button.active { background: var(--accent); width: 24px; border-radius: 6px; transition: width var(--transition); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 0.78rem; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-md); background: color-mix(in srgb, var(--bg-elevated) 88%, var(--bg) 12%); overflow: hidden; box-shadow: var(--shadow-sm); transition: border-color var(--transition), box-shadow var(--transition), background var(--transition); }
.faq-item[aria-expanded="true"] { border-color: color-mix(in srgb, #BA8835 42%, var(--border)); box-shadow: 0 16px 34px rgba(8,25,52,0.08); }
.faq-q { width: 100%; text-align: left; background: color-mix(in srgb, var(--bg-elevated) 92%, #081934 3%); border: none; padding: 1rem 1.05rem; display: grid; grid-template-columns: auto 1fr auto; justify-content: stretch; align-items: center; gap: 0.82rem; cursor: pointer; font-family: var(--font-display); font-size: clamp(1.06rem, 1.6vw, 1.18rem); font-weight: 800; line-height: 1.32; color: #081934; transition: background var(--transition), color var(--transition); }
.faq-q::before { content: "?"; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, #BA8835 15%, var(--bg-elevated)); border: 1px solid color-mix(in srgb, #BA8835 34%, var(--border)); color: #BA8835; font-family: var(--font-body); font-size: 0.86rem; font-weight: 900; flex-shrink: 0; }
.faq-q:hover, .faq-q:focus-visible, .faq-item[aria-expanded="true"] .faq-q { background: color-mix(in srgb, #BA8835 11%, var(--bg-elevated)); }
.faq-q:focus-visible { outline: 2px solid color-mix(in srgb, #BA8835 58%, transparent); outline-offset: -3px; }
.faq-q .plus { flex-shrink: 0; width: 32px; height: 32px; position: relative; border-radius: 50%; border: 1px solid color-mix(in srgb, #BA8835 40%, var(--border)); background: color-mix(in srgb, #BA8835 10%, var(--bg-elevated)); transition: transform var(--transition), background var(--transition), border-color var(--transition); }
.faq-q .plus::before, .faq-q .plus::after { content: ""; position: absolute; background: #BA8835; top: 50%; left: 50%; transform: translate(-50%,-50%); transition: transform var(--transition), opacity var(--transition); }
.faq-q .plus::before { width: 14px; height: 2px; }
.faq-q .plus::after { width: 2px; height: 14px; }
.faq-item[aria-expanded="true"] .plus { transform: rotate(180deg); background: #BA8835; border-color: #BA8835; }
.faq-item[aria-expanded="true"] .plus::before, .faq-item[aria-expanded="true"] .plus::after { background: #fff; }
.faq-item[aria-expanded="true"] .plus::after { transform: translate(-50%,-50%) rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; background: #fff; transition: max-height var(--transition); }
.faq-a p { margin: 0.85rem 1.05rem 1.05rem 3.85rem; padding: 0.85rem 0 0.85rem 1rem; border-left: 3px solid #BA8835; color: var(--text-secondary); font-size: 0.96rem; font-weight: 400; line-height: 1.75; }
.faq-tools { max-width: 920px; margin: 0 auto var(--space-lg); display: grid; gap: var(--space-sm); }
.faq-search input { width: 100%; min-height: 54px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-elevated); color: var(--text-primary); padding: 0 1rem; box-shadow: var(--shadow-sm); font: inherit; }
.faq-search input:focus { outline: 2px solid color-mix(in srgb, var(--accent) 46%, transparent); outline-offset: 2px; border-color: var(--accent); }
.faq-cats { display: flex; gap: 0.6em; flex-wrap: wrap; justify-content: center; margin-bottom: var(--space-lg); }
.faq-cats button { padding: 0.5em 1.2em; border-radius: 999px; border: 1px solid var(--border); background: var(--bg-elevated); cursor: pointer; font-size: 0.85rem; font-weight: 600; color: var(--text-secondary); }
.faq-cats button.active { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.faq-tools .faq-cats { margin-bottom: 0; }
.faq-empty { max-width: 780px; margin: var(--space-md) auto 0; padding: var(--space-md); border: 1px dashed var(--border); border-radius: var(--radius-md); background: var(--bg-elevated); color: var(--text-secondary); text-align: center; }
.faq-empty[hidden] { display: none; }
[data-theme="dark"] .faq-cats button.active { background: var(--brass-500); color: var(--navy-950); border-color: var(--brass-500); }
[data-theme="dark"] .faq-item { background: color-mix(in srgb, var(--bg-elevated) 88%, #081934 12%); }
[data-theme="dark"] .faq-q { background: color-mix(in srgb, var(--bg-elevated) 84%, #ffffff 3%); color: var(--sand-100); }
[data-theme="dark"] .faq-q:hover, [data-theme="dark"] .faq-q:focus-visible, [data-theme="dark"] .faq-item[aria-expanded="true"] .faq-q { background: color-mix(in srgb, #BA8835 16%, var(--bg-elevated)); }
[data-theme="dark"] .faq-q::before { background: color-mix(in srgb, #BA8835 18%, #081934); border-color: color-mix(in srgb, #BA8835 48%, var(--border)); color: var(--brass-500); }
[data-theme="dark"] .faq-a { background: color-mix(in srgb, #081934 88%, #ffffff 4%); }
[data-theme="dark"] .faq-a p { color: var(--sand-300); }
@media (max-width: 640px) {
  .faq-list { gap: 0.65rem; }
  .faq-q { grid-template-columns: auto 1fr auto; padding: 0.9rem 0.85rem; gap: 0.65rem; font-size: 1.02rem; }
  .faq-q::before { width: 28px; height: 28px; }
  .faq-q .plus { width: 30px; height: 30px; }
  .faq-a p { margin: 0.75rem 0.85rem 0.95rem 0.95rem; padding-left: 0.85rem; }
  .faq-cats { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 0.2rem; scrollbar-width: thin; }
  .faq-cats button { flex: 0 0 auto; }
}

/* FAQ page premium refinement */
.faq-page-header { padding: clamp(3.4rem, 5vw, 4.8rem) 0 clamp(2.1rem, 3.6vw, 3rem); background: #081934; border-bottom: 2px solid #BA8835; }
.faq-page-header::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px), linear-gradient(180deg, rgba(255,255,255,0.035) 1px, transparent 1px); background-size: 72px 72px; pointer-events: none; }
.faq-page-header-inner { position: relative; z-index: 1; max-width: 960px; }
.faq-page-header h1 { font-size: clamp(2.05rem, 3.4vw, 3.2rem); letter-spacing: 0; line-height: 1.08; }
.faq-page-header p:not(.eyebrow):not(.breadcrumb) { max-width: 760px; color: rgba(245,239,227,0.82); font-size: clamp(0.98rem, 1.15vw, 1.08rem); line-height: 1.72; }
.faq-page-section { background: var(--bg); }
.faq-page-container { max-width: 960px; }
.faq-tools { max-width: 960px; margin: 0 auto clamp(1.6rem, 3vw, 2.4rem); gap: 0.9rem; }
.faq-search { position: relative; display: block; }
.faq-search svg { position: absolute; left: 1rem; top: 50%; width: 19px; height: 19px; transform: translateY(-50%); fill: none; stroke: #BA8835; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.faq-search input { min-height: 52px; padding: 0 5.4rem 0 2.85rem; border-radius: var(--radius-md); border-color: color-mix(in srgb, #081934 13%, var(--border)); background: var(--bg-elevated); box-shadow: 0 10px 26px rgba(8,25,52,0.055); font-size: 0.95rem; }
.faq-search input:focus { outline: 3px solid color-mix(in srgb, #BA8835 26%, transparent); outline-offset: 2px; border-color: #BA8835; box-shadow: 0 14px 30px rgba(8,25,52,0.08); }
.faq-search-clear { position: absolute; right: 0.55rem; top: 50%; transform: translateY(-50%); min-height: 36px; padding: 0 0.82rem; border: 1px solid color-mix(in srgb, #BA8835 28%, var(--border)); border-radius: 999px; background: color-mix(in srgb, #BA8835 9%, var(--bg-elevated)); color: #081934; font-weight: 800; font-size: 0.78rem; cursor: pointer; transition: color var(--transition), border-color var(--transition), background var(--transition); }
.faq-search-clear:hover { border-color: #BA8835; color: #BA8835; background: color-mix(in srgb, #BA8835 12%, var(--bg-elevated)); }
.faq-search-clear[hidden] { display: none; }
.faq-cats { justify-content: flex-start; gap: 0.52rem; margin-bottom: 0; padding: 0.2rem 0; }
.faq-cats button { min-height: 38px; padding: 0.48rem 0.9rem; border-color: color-mix(in srgb, #081934 12%, var(--border)); background: color-mix(in srgb, var(--bg-elevated) 92%, var(--bg) 8%); color: var(--text-secondary); font-size: 0.82rem; font-weight: 800; transition: color var(--transition), background var(--transition), border-color var(--transition), transform var(--transition); }
.faq-cats button:hover { transform: translateY(-1px); border-color: color-mix(in srgb, #BA8835 42%, var(--border)); color: #081934; background: color-mix(in srgb, #BA8835 7%, var(--bg-elevated)); }
.faq-cats button.active { background: #081934; color: #fff; border-color: #081934; box-shadow: inset 0 -2px 0 #BA8835; }
.faq-results-summary { min-height: 1.3rem; margin: 0.1rem 0 0; color: var(--text-secondary); font-size: 0.84rem; font-weight: 700; }
.faq-list { max-width: 900px; gap: 0.72rem; }
.faq-item { border-color: color-mix(in srgb, #081934 11%, var(--border)); border-radius: var(--radius-md); background: var(--bg-elevated); box-shadow: 0 8px 22px rgba(8,25,52,0.045); }
.faq-item[aria-expanded="true"] { border-color: color-mix(in srgb, #BA8835 45%, var(--border)); box-shadow: 0 12px 28px rgba(8,25,52,0.07); }
.faq-q { min-height: 64px; padding: 1rem 1.05rem; background: var(--bg-elevated); font-family: var(--font-body); font-size: clamp(0.98rem, 1.22vw, 1.08rem); font-weight: 850; color: #081934; line-height: 1.38; }
.faq-q::before { content: "?"; width: 32px; height: 32px; background: color-mix(in srgb, #BA8835 10%, var(--bg-elevated)); border-color: color-mix(in srgb, #BA8835 32%, var(--border)); color: #BA8835; font-size: 0.82rem; }
.faq-q:hover, .faq-q:focus-visible { background: color-mix(in srgb, #BA8835 5%, var(--bg-elevated)); }
.faq-item[aria-expanded="true"] .faq-q { background: color-mix(in srgb, #081934 5%, var(--bg-elevated)); color: #081934; }
.faq-q .plus { width: 30px; height: 30px; background: transparent; border-color: color-mix(in srgb, #081934 18%, var(--border)); }
.faq-q .plus::before, .faq-q .plus::after { background: #BA8835; }
.faq-item[aria-expanded="true"] .plus { background: #BA8835; border-color: #BA8835; }
.faq-a { background: color-mix(in srgb, var(--bg-card) 68%, var(--bg-elevated) 32%); }
.faq-a p { margin: 0 1.05rem 1.05rem 3.85rem; padding: 0.9rem 0 0.9rem 1rem; border-left: 3px solid #BA8835; color: var(--text-secondary); font-size: 0.93rem; line-height: 1.78; }
.faq-empty { max-width: 900px; margin: var(--space-md) auto 0; padding: 1.2rem; border: 1px dashed color-mix(in srgb, #BA8835 38%, var(--border)); border-radius: var(--radius-md); background: color-mix(in srgb, var(--bg-elevated) 86%, #BA8835 4%); color: var(--text-secondary); text-align: left; }
.faq-empty strong { display: block; color: var(--text-primary); margin-bottom: 0.25rem; }
.faq-empty p { margin-bottom: 0.85rem; }
.faq-empty .btn { min-height: 40px; padding: 0.58rem 1rem; }
.faq-contact-cta { margin-top: clamp(3.2rem, 6vw, 5rem); border-radius: var(--radius-md); box-shadow: 0 14px 34px rgba(8,25,52,0.1); }
.faq-contact-cta h2 { font-size: clamp(1.7rem, 2.7vw, 2.45rem); }
[data-theme="dark"] .faq-page-header { background: #050505; border-bottom-color: #BA8835; }
[data-theme="dark"] .faq-page-header::before { opacity: 0.35; }
[data-theme="dark"] .faq-page-section { background: #050505; }
[data-theme="dark"] .faq-search input, [data-theme="dark"] .faq-item { background: #111111; border-color: rgba(255,255,255,0.12); box-shadow: none; }
[data-theme="dark"] .faq-search-clear { background: #181818; color: #F4F4F4; border-color: rgba(186,136,53,0.34); }
[data-theme="dark"] .faq-search-clear:hover { color: #BA8835; border-color: #BA8835; }
[data-theme="dark"] .faq-cats button { background: #111111; color: #B8B8B8; border-color: rgba(255,255,255,0.12); }
[data-theme="dark"] .faq-cats button:hover { color: #F4F4F4; background: #181818; border-color: rgba(186,136,53,0.4); }
[data-theme="dark"] .faq-cats button.active { background: #BA8835; color: #050505; border-color: #BA8835; box-shadow: none; }
[data-theme="dark"] .faq-q { background: #111111; color: #F4F4F4; }
[data-theme="dark"] .faq-q:hover, [data-theme="dark"] .faq-q:focus-visible, [data-theme="dark"] .faq-item[aria-expanded="true"] .faq-q { background: #181818; color: #F4F4F4; }
[data-theme="dark"] .faq-q::before { background: rgba(186,136,53,0.12); border-color: rgba(186,136,53,0.34); color: #BA8835; }
[data-theme="dark"] .faq-q .plus { border-color: rgba(255,255,255,0.16); }
[data-theme="dark"] .faq-a { background: #181818; }
[data-theme="dark"] .faq-a p { color: #B8B8B8; }
[data-theme="dark"] .faq-empty { background: #111111; border-color: rgba(186,136,53,0.35); }
[data-theme="dark"] .faq-empty strong { color: #F4F4F4; }
[data-theme="dark"] .faq-contact-cta { background: #111111; border: 1px solid rgba(255,255,255,0.12); box-shadow: none; }
[data-theme="dark"] .faq-page-section .faq-q { background: #111111; color: #F4F4F4; }
[data-theme="dark"] .faq-page-section .faq-q:hover, [data-theme="dark"] .faq-page-section .faq-q:focus-visible, [data-theme="dark"] .faq-page-section .faq-item[aria-expanded="true"] .faq-q { background: #181818; }
[data-theme="dark"] .faq-page-section .faq-a { background: #181818; }
[data-theme="dark"] .faq-page-section .faq-a p { color: #B8B8B8; }
@media (max-width: 640px) {
  .faq-page-header { padding-top: 3rem; }
  .faq-page-container { padding-left: var(--space-sm); padding-right: var(--space-sm); }
  .faq-search input { min-height: 50px; padding-right: 4.8rem; }
  .faq-search-clear { min-height: 34px; padding: 0 0.72rem; }
  .faq-cats { overflow-x: auto; flex-wrap: nowrap; justify-content: flex-start; padding-bottom: 0.55rem; scrollbar-width: thin; }
  .faq-cats button { flex: 0 0 auto; }
  .faq-q { min-height: 58px; padding: 0.88rem 0.82rem; gap: 0.65rem; }
  .faq-a p { margin: 0 0.82rem 0.92rem 0.82rem; padding: 0.82rem 0 0.82rem 0.85rem; }
  .faq-contact-cta .btn-row, .faq-contact-cta .btn { width: 100%; }
}

/* ============================================
   FORMS
   ============================================ */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-sm); }
.field { display: flex; flex-direction: column; gap: 0.4em; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--text-primary); }
.field input, .field select, .field textarea {
  padding: 0.85em 1em; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--bg-elevated); color: var(--text-primary);
  transition: border-color var(--transition);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.field-hint { font-size: 0.78rem; color: var(--text-secondary); }
.field-error { font-size: 0.78rem; color: var(--clay-500); display: none; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: var(--clay-500); }
.field.invalid .field-error { display: block; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }

/* ============================================
   NEWSLETTER
   ============================================ */
.newsletter { display: flex; gap: 0.6em; max-width: 460px; }
.newsletter input { flex: 1; padding: 0.85em 1em; border-radius: var(--radius-sm); border: 1px solid var(--border-inverse); background: rgba(255,255,255,0.06); color: #fff; }
.newsletter input::placeholder { color: var(--sand-300); }
.newsletter-band { display: grid; grid-template-columns: 1fr auto; gap: var(--space-lg); align-items: center; }
.newsletter-band h2 { color: var(--text-inverse); }
.newsletter-band p { color: var(--text-inverse-muted); max-width: 58ch; }
.newsletter-msg { margin: 0.7rem 0 0; color: var(--trust); font-size: 0.86rem; }
.newsletter-msg.error { color: var(--clay-500); }
.newsletter button:disabled { opacity: 0.75; cursor: wait; }
@media (max-width: 820px) { .newsletter-band { grid-template-columns: 1fr; } .newsletter { max-width: none; } }
@media (max-width: 560px) { .newsletter { flex-direction: column; } }

/* ============================================
   EBYAN CONTENT EXPERIENCE
   ============================================ */
.eby-section-copy { max-width: 68ch; color: var(--text-secondary); }
.eby-split { display: grid; grid-template-columns: minmax(300px, 0.92fr) minmax(0, 1.08fr); gap: var(--space-xl); align-items: center; }
.eby-split.reverse { grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr); }
.eby-media-frame { position: relative; min-height: 430px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--border); background: var(--bg-elevated); }
.eby-media-frame img { width: 100%; height: 100%; min-height: inherit; object-fit: cover; transition: transform 700ms ease, filter 700ms ease; }
.eby-media-frame:hover img { transform: scale(1.035); filter: saturate(1.04) contrast(1.02); }
.eby-media-badge { position: absolute; left: var(--space-sm); right: var(--space-sm); bottom: var(--space-sm); display: grid; grid-template-columns: auto 1fr; gap: 0.8rem; align-items: center; padding: var(--space-sm); border-radius: var(--radius-md); color: #fff; background: rgba(8,25,52,0.72); border: 1px solid rgba(255,255,255,0.18); backdrop-filter: blur(14px); }
.eby-media-badge .feature-icon { margin: 0; background: rgba(186,136,53,0.18); border: 1px solid rgba(186,136,53,0.34); }
.eby-media-badge strong, .eby-media-badge span { display: block; }
.eby-media-badge span { color: var(--sand-200); font-size: 0.84rem; }
.eby-highlight-list { display: grid; margin: var(--space-md) 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.eby-highlight-list span { display: grid; grid-template-columns: 36px 1fr; align-items: center; gap: 0.7rem; padding: 0.78rem 0; border-bottom: 1px solid var(--border); font-weight: 800; color: var(--text-primary); }
.eby-highlight-list span:last-child { border-bottom: 0; }
.eby-highlight-list svg { width: 20px; height: 20px; color: var(--accent); }
.commitment-panel { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 4.5rem); color: #fff; background: linear-gradient(135deg, rgba(8,25,52,0.96), rgba(8,25,52,0.86)), var(--commitment-image, none); background-size: cover; background-position: center; box-shadow: var(--shadow-md); }
.commitment-panel::before { content: ""; position: absolute; left: clamp(1.2rem, 4vw, 3rem); top: clamp(1.2rem, 4vw, 3rem); bottom: clamp(1.2rem, 4vw, 3rem); width: 3px; background: linear-gradient(180deg, transparent, var(--brass-500), transparent); }
.commitment-panel > * { position: relative; z-index: 1; }
.commitment-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin-bottom: var(--space-md); color: var(--brass-500); background: rgba(255,255,255,0.08); border: 1px solid rgba(186,136,53,0.32); }
.commitment-icon svg { width: 30px; height: 30px; }
.commitment-quote { max-width: 920px; font-family: var(--font-display); font-size: clamp(1.55rem, 3.2vw, 3rem); line-height: 1.14; color: #fff; margin-bottom: var(--space-md); }
.commitment-panel p { color: var(--sand-200); max-width: 82ch; }
.commitment-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; margin-top: var(--space-lg); }
.commitment-points span { border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius-md); padding: 0.82rem 0.95rem; background: rgba(255,255,255,0.055); color: #fff; font-weight: 800; }
.vm-system { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); align-items: stretch; }
.vm-system::before { content: ""; position: absolute; left: 50%; top: 10%; bottom: 10%; width: 2px; transform: translateX(-50%); background: linear-gradient(180deg, transparent, var(--brass-500), transparent); }
.vm-panel { position: relative; overflow: hidden; padding: clamp(1.4rem, 3vw, 2.3rem); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-elevated); box-shadow: var(--shadow-sm); }
.vm-panel::after { content: attr(data-word); position: absolute; right: 1rem; bottom: -0.26em; font-family: var(--font-mono); font-weight: 900; font-size: clamp(3rem, 8vw, 7rem); color: color-mix(in srgb, var(--accent) 10%, transparent); pointer-events: none; }
.vm-panel .feature-icon { position: relative; z-index: 1; }
.vm-panel h3, .vm-panel p { position: relative; z-index: 1; }
.goal-focus { text-align: center; max-width: 980px; margin: 0 auto; }
.goal-focus h2 { max-width: 15ch; margin-left: auto; margin-right: auto; }
.goal-statement { font-family: var(--font-display); font-size: clamp(1.25rem, 2.2vw, 1.8rem); color: var(--text-primary); }
.goal-outcomes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.8rem; margin-top: var(--space-lg); }
.goal-outcome { display: grid; justify-items: center; gap: 0.45rem; padding: var(--space-sm); border-top: 2px solid color-mix(in srgb, var(--accent) 42%, var(--border)); background: color-mix(in srgb, var(--bg-elevated) 82%, transparent); }
.goal-outcome span { font-family: var(--font-mono); color: var(--accent); font-weight: 900; }
.goal-outcome svg { width: 24px; height: 24px; color: var(--accent); }
.objectives-roadmap { position: relative; display: grid; gap: var(--space-md); }
.objectives-roadmap::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, var(--brass-500), color-mix(in srgb, var(--accent) 20%, transparent)); opacity: 0.5; }
.roadmap-group { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); align-items: start; }
.roadmap-group:nth-child(even) .roadmap-label { order: 2; text-align: left; }
.roadmap-label { position: sticky; top: 112px; text-align: right; padding-top: 0.6rem; }
.roadmap-label span { font-family: var(--font-mono); color: var(--accent); font-weight: 900; }
.roadmap-item { position: relative; margin-bottom: var(--space-sm); padding: var(--space-md); border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-elevated); box-shadow: var(--shadow-sm); }
.roadmap-item::before { content: ""; position: absolute; top: 1.4rem; width: 14px; height: 14px; border-radius: 50%; background: var(--brass-500); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 12%, transparent); }
.roadmap-group:nth-child(odd) .roadmap-item::before { left: calc(-1 * var(--space-lg) / 2 - 7px); }
.roadmap-group:nth-child(even) .roadmap-item::before { right: calc(-1 * var(--space-lg) / 2 - 7px); }
.roadmap-item span { font-family: var(--font-mono); color: var(--accent); font-weight: 900; }
.roadmap-item h4 { margin: 0.2rem 0 0.35rem; }
.value-system { display: grid; grid-template-columns: 1fr 240px 1fr; gap: var(--space-md); align-items: center; }
.value-core { width: 220px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; text-align: center; margin: 0 auto; color: #fff; background: radial-gradient(circle at 35% 25%, color-mix(in srgb, var(--brass-500) 24%, var(--navy-900)), var(--navy-950)); border: 1px solid color-mix(in srgb, var(--accent) 38%, transparent); box-shadow: var(--shadow-md); }
.value-core strong { display: block; font-family: var(--font-display); font-size: 1.45rem; color: #fff; }
.value-column { display: grid; gap: 0.75rem; }
.value-pill { display: grid; grid-template-columns: 42px 1fr; gap: 0.75rem; align-items: start; padding: 0.75rem; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-elevated); transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition); }
.value-pill:hover, .value-pill:focus-within { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 42%, var(--border)); box-shadow: var(--shadow-sm); }
.value-pill .feature-icon { margin: 0; width: 42px; height: 42px; }
.value-pill p { margin: 0.2rem 0 0; font-size: 0.88rem; color: var(--text-secondary); }
.strength-layout { display: grid; grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr); gap: var(--space-lg); align-items: stretch; }
.strength-main { padding: clamp(1.4rem, 3vw, 2.4rem); border-radius: var(--radius-lg); background: var(--navy-900); color: #fff; box-shadow: var(--shadow-md); }
.strength-main h3 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.8rem); }
.strength-main p { color: var(--sand-200); }
.editable-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; margin-top: var(--space-md); }
.editable-stats div { padding: 0.85rem; border: 1px solid rgba(255,255,255,0.13); border-radius: var(--radius-md); background: rgba(255,255,255,0.055); }
.editable-stats strong, .editable-stats span { display: block; }
.editable-stats strong { color: #fff; font-family: var(--font-mono); font-size: 1.35rem; }
.editable-stats span { color: var(--sand-200); font-size: 0.8rem; }
.strength-themes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-sm); }
.strength-theme { padding: var(--space-md); border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-elevated); }
.strength-theme h4 { display: flex; gap: 0.55rem; align-items: center; }
.strength-theme svg { width: 20px; height: 20px; color: var(--accent); }
.service-nav-strip { display: flex; flex-wrap: wrap; gap: 0.55rem; padding-top: var(--space-sm); border-top: 2px solid color-mix(in srgb, var(--accent) 26%, var(--border)); }
.service-nav-strip a { border: 1px solid var(--border); border-radius: 999px; padding: 0.62rem 0.9rem; background: var(--bg-elevated); color: var(--text-primary); font-weight: 800; font-size: 0.86rem; }
.service-nav-strip a:hover { border-color: var(--accent); color: var(--accent); }
.ops-service { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr); gap: var(--space-lg); align-items: center; }
.ops-board { padding: var(--space-md); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-elevated); box-shadow: var(--shadow-sm); }
.health-panel { display: grid; gap: 0.75rem; margin-bottom: var(--space-md); padding: var(--space-md); border-radius: var(--radius-md); background: color-mix(in srgb, var(--navy-900) 94%, var(--bg-elevated)); color: #fff; }
.health-panel strong { color: #fff; }
.health-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: var(--sand-200); }
.health-bar { height: 8px; border-radius: 999px; background: rgba(255,255,255,0.16); overflow: hidden; }
.health-bar span { display: block; width: 86%; height: 100%; background: var(--brass-500); }
.ops-checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.65rem; }
.ops-checklist span { display: flex; gap: 0.5rem; align-items: center; min-height: 48px; padding: 0.65rem; border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text-primary); font-weight: 800; }
.ops-checklist svg { width: 18px; height: 18px; color: var(--accent); }
.leasing-journey { position: relative; display: grid; grid-template-columns: 0.8fr repeat(4, 1fr) 0.8fr; gap: 0.7rem; align-items: center; }
.journey-node, .journey-step { min-height: 120px; display: grid; place-items: center; text-align: center; padding: 0.85rem; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-elevated); }
.journey-node { background: color-mix(in srgb, var(--accent) 9%, var(--bg-elevated)); font-weight: 900; }
.journey-step span { font-family: var(--font-mono); color: var(--accent); font-weight: 900; }
.sales-showcase { display: grid; grid-template-columns: minmax(320px, 1fr) minmax(0, 1fr); gap: var(--space-lg); align-items: center; }
.channel-strip { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: var(--space-md); }
.channel-strip span { padding: 0.5rem 0.72rem; border: 1px solid var(--border); border-radius: 999px; background: var(--bg-elevated); font-size: 0.82rem; font-weight: 800; }
.diaspora-note { margin-top: var(--space-md); padding: var(--space-sm); border-left: 3px solid var(--brass-500); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.land-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr); gap: var(--space-lg); align-items: center; }
.land-map { position: relative; min-height: 430px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); background: linear-gradient(color-mix(in srgb, var(--accent) 16%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--accent) 16%, transparent) 1px, transparent 1px), var(--bg-elevated); background-size: 42px 42px; box-shadow: var(--shadow-sm); }
.plot-shape { position: absolute; inset: 22% 18%; border: 2px solid var(--brass-500); border-radius: 18px 8px 22px 10px; background: color-mix(in srgb, var(--accent) 9%, transparent); transform: rotate(-6deg); }
.plot-labels { position: absolute; inset: var(--space-md); display: grid; align-content: space-between; pointer-events: none; }
.plot-labels span { width: fit-content; padding: 0.45rem 0.65rem; border-radius: var(--radius-sm); background: var(--bg-elevated); border: 1px solid var(--border); font-size: 0.8rem; font-weight: 800; color: var(--text-primary); box-shadow: var(--shadow-sm); }
.land-steps { display: grid; gap: 0.55rem; }
.land-steps span { display: grid; grid-template-columns: 2.4rem 1fr; gap: 0.65rem; align-items: center; color: var(--text-primary); }
.land-steps b { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--navy-900); color: #fff; font-family: var(--font-mono); font-size: 0.78rem; }
.marketing-campaign { display: grid; grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr); gap: var(--space-lg); align-items: center; }
.campaign-card { position: relative; padding: var(--space-md); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-elevated); box-shadow: var(--shadow-md); }
.campaign-card img { border-radius: var(--radius-md); aspect-ratio: 4/3; object-fit: cover; }
.campaign-channels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.65rem; margin-top: var(--space-sm); }
.campaign-channels span { padding: 0.65rem; border-radius: var(--radius-sm); background: color-mix(in srgb, var(--accent) 8%, var(--bg)); border: 1px solid var(--border); font-weight: 800; }
.workflow-chain { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: var(--space-md) 0; }
.workflow-chain span { display: inline-flex; align-items: center; gap: 0.45rem; font-family: var(--font-mono); font-weight: 900; color: var(--accent); }
.promise-system { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-elevated); }
.promise-system div { padding: var(--space-md); border-right: 1px solid var(--border); text-align: center; }
.promise-system div:last-child { border-right: 0; }
.promise-system svg { width: 25px; height: 25px; color: var(--accent); margin-bottom: 0.55rem; }
.investment-dark { background: linear-gradient(135deg, var(--navy-900), var(--navy-950)); color: #fff; }
.investment-dark h2, .investment-dark h3 { color: #fff; }
.investment-dark p { color: var(--sand-200); }
.investment-dark .card-property { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.12); }
.investment-dark .card-property h4,
.investment-dark .card-property h4 a { color: #fff; }
.investment-dark .card-loc,
.investment-dark .card-specs,
.investment-dark .card-desc,
.investment-dark .card-agent { color: var(--sand-200); border-color: rgba(255,255,255,0.14); }
.residential-soft { background: color-mix(in srgb, var(--bg-secondary) 82%, #ffffff); }
.lifestyle-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.7rem; margin: var(--space-md) 0; }
.lifestyle-row span { padding: 0.75rem; border-radius: var(--radius-md); background: var(--bg-elevated); border: 1px solid var(--border); font-weight: 800; }
.final-cta { border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 4rem); background: linear-gradient(135deg, rgba(8,25,52,0.94), rgba(8,25,52,0.74)), var(--cta-image, none); background-size: cover; background-position: center; color: #fff; box-shadow: var(--shadow-md); }
.final-cta h2 { color: #fff; max-width: 16ch; }
.final-cta p { color: var(--sand-200); max-width: 62ch; }
[data-theme="dark"] .residential-soft { background: color-mix(in srgb, var(--bg-secondary) 82%, #ffffff 3%); }
@media (max-width: 980px) {
  .eby-split, .eby-split.reverse, .strength-layout, .ops-service, .sales-showcase, .land-layout, .marketing-campaign { grid-template-columns: 1fr; }
  .eby-split.reverse > :first-child { order: 2; }
  .vm-system, .roadmap-group, .value-system, .leasing-journey { grid-template-columns: 1fr; }
  .vm-system::before { left: 2rem; top: 0; bottom: 0; }
  .roadmap-group:nth-child(even) .roadmap-label { order: 0; }
  .roadmap-label { position: static; text-align: left; }
  .objectives-roadmap::before { left: 1rem; }
  .roadmap-item::before, .roadmap-group:nth-child(odd) .roadmap-item::before, .roadmap-group:nth-child(even) .roadmap-item::before { left: -1.42rem; right: auto; }
  .roadmap-group { padding-left: 2rem; gap: var(--space-sm); }
  .value-core { order: -1; }
  .goal-outcomes, .commitment-points, .promise-system, .lifestyle-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .eby-media-frame, .land-map { min-height: 300px; }
  .commitment-points, .goal-outcomes, .editable-stats, .strength-themes, .ops-checklist, .campaign-channels, .promise-system, .lifestyle-row { grid-template-columns: 1fr; }
  .promise-system div { border-right: 0; border-bottom: 1px solid var(--border); }
  .promise-system div:last-child { border-bottom: 0; }
  .final-cta .btn-row, .commitment-panel .btn-row { justify-content: stretch; }
  .final-cta .btn, .commitment-panel .btn { width: 100%; }
}

/* Services page redesign */
.services-page-header { position: relative; overflow: hidden; background: var(--navy-900); border-bottom: 1px solid color-mix(in srgb, var(--accent) 24%, transparent); color: #fff; }
.services-page-header::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(180deg, rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 58px 58px; opacity: 0.5; pointer-events: none; }
.services-page-header::after { content: ""; position: absolute; left: 0; bottom: 0; width: min(42vw, 520px); height: 3px; background: var(--brass-500); }
.services-page-header-inner { position: relative; z-index: 1; padding-top: clamp(4.2rem, 6vw, 5.8rem); padding-bottom: clamp(2rem, 4vw, 3rem); }
.services-page-header .eyebrow { color: var(--brass-500); }
.services-page-header h1 { max-width: 15ch; color: #fff; font-size: clamp(2.1rem, 3.6vw, 3.35rem); margin-bottom: 0.8rem; }
.services-page-header p:not(.eyebrow) { max-width: 68ch; color: var(--sand-200); font-size: clamp(0.98rem, 1.2vw, 1.08rem); line-height: 1.72; }
.services-intro-section { background: var(--bg); }
.services-overview-layout { display: grid; grid-template-columns: minmax(260px, 0.74fr) minmax(0, 1.26fr); gap: clamp(var(--space-lg), 5vw, var(--space-2xl)); align-items: start; }
.services-overview-copy { position: sticky; top: 112px; }
.services-overview-copy h2 { max-width: 12ch; }
.services-overview-copy p { max-width: 58ch; }
.services-overview-list { border-top: 1px solid var(--border); }
.services-overview-list a { display: grid; grid-template-columns: 2.6rem 3.2rem minmax(0, 1fr) 2.2rem; gap: 0.9rem; align-items: center; min-height: 108px; padding: 1rem 0; border-bottom: 1px solid var(--border); color: var(--text-primary); transition: color var(--transition), background var(--transition), padding var(--transition); }
.services-overview-list a:hover { color: var(--accent); background: color-mix(in srgb, var(--accent) 5%, transparent); padding-left: 0.7rem; padding-right: 0.7rem; }
.services-overview-list i { width: 2.45rem; height: 2.45rem; border-radius: 50%; display: grid; place-items: center; color: var(--accent); background: color-mix(in srgb, var(--accent) 9%, var(--bg-elevated)); border: 1px solid color-mix(in srgb, var(--accent) 26%, var(--border)); transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition); }
.services-overview-list svg { width: 1.12rem; height: 1.12rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.services-overview-list span { color: var(--accent); font-family: var(--font-mono); font-size: 0.78rem; font-weight: 900; letter-spacing: 0.06em; }
.services-overview-list strong { display: block; font-size: clamp(1rem, 1.4vw, 1.18rem); }
.services-overview-list p { grid-column: 3 / 4; margin: -0.25rem 0 0; max-width: 48rem; font-size: 0.9rem; line-height: 1.55; }
.services-overview-list b { justify-self: end; color: var(--accent); font-size: 1.25rem; font-weight: 500; transition: transform var(--transition); }
.services-overview-list a:hover i { background: var(--brass-500); color: var(--navy-950); border-color: var(--brass-500); transform: translateY(-1px); }
.services-overview-list a:hover b { transform: translateX(4px); }
.service-purpose { padding-left: 1rem; border-left: 3px solid var(--brass-500); }
.service-management-panel { background: color-mix(in srgb, var(--bg-card) 80%, var(--navy-900) 5%); }
.management-flow-board { display: grid; gap: 0; padding: clamp(1rem, 2vw, 1.35rem); border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-elevated); box-shadow: var(--shadow-sm); }
.management-flow-board span { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); gap: 0.8rem; align-items: center; min-height: 54px; padding: 0.72rem 0.2rem; border-bottom: 1px solid var(--border); color: var(--text-primary); font-weight: 800; }
.management-flow-board span:last-child { border-bottom: 0; }
.management-flow-board i { width: 2.35rem; height: 2.35rem; border-radius: 50%; display: grid; place-items: center; color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--border)); }
.management-flow-board svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.leasing-service-section { background: var(--bg); }
.leasing-path { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; align-items: stretch; border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.leasing-path > * { min-height: 82px; display: grid; place-items: center; text-align: center; padding: 0.7rem; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-elevated); color: var(--text-primary); font-weight: 800; }
.leasing-path > *::after { content: ""; width: 16px; height: 1px; margin-top: 0.35rem; background: var(--accent); opacity: 0.8; }
.centered-actions { justify-content: center; margin-top: var(--space-lg); }
.sales-service-section { background: color-mix(in srgb, var(--bg-card) 72%, #fff 28%); }
.sales-editorial-panel { border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-elevated); padding: clamp(1rem, 2vw, 1.35rem); box-shadow: var(--shadow-sm); }
.sales-steps { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: var(--space-md); }
.sales-steps span { flex: 1 1 6.5rem; min-height: 52px; display: grid; place-items: center; border-radius: var(--radius-sm); background: var(--navy-900); color: #fff; font-weight: 900; }
.sales-process-list, .land-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.55rem; margin: var(--space-md) 0; }
.sales-process-list span, .land-detail-grid span { padding: 0.68rem 0.75rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg-elevated); color: var(--text-primary); font-weight: 800; font-size: 0.88rem; }
.land-service-section { background: color-mix(in srgb, var(--bg-card) 86%, var(--navy-900) 3%); }
.plot-route { position: absolute; inset: 18% 12%; border-top: 2px dashed color-mix(in srgb, var(--accent) 68%, transparent); transform: rotate(-16deg); }
.marketing-service-section { background: color-mix(in srgb, var(--bg-card) 82%, var(--navy-900) 5%); }
.campaign-card { position: relative; padding: var(--space-md); border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-elevated); box-shadow: var(--shadow-sm); }
.media-preview { display: grid; grid-template-columns: 1.2fr 0.9fr 1fr; gap: 0.55rem; min-height: 150px; margin-bottom: var(--space-sm); }
.media-preview span { display: grid; place-items: center; border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--border)); border-radius: var(--radius-sm); background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 12%, var(--bg-card)), var(--bg-elevated)); color: var(--navy-900); font-weight: 900; }
.services-trust-section { background: var(--navy-900); color: #fff; padding-top: var(--space-xl); padding-bottom: var(--space-xl); }
.services-trust-section h2 { color: #fff; max-width: 12ch; }
.services-trust-section p { color: var(--sand-200); max-width: 52ch; }
.services-trust-layout { display: grid; grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr); gap: var(--space-lg); align-items: center; }
.services-trust-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,0.16); border-left: 1px solid rgba(255,255,255,0.16); }
.services-trust-grid span { min-height: 68px; display: flex; align-items: center; padding: 0.8rem 0.9rem; border-right: 1px solid rgba(255,255,255,0.16); border-bottom: 1px solid rgba(255,255,255,0.16); color: var(--sand-100); font-weight: 800; }
.services-trust-grid span::before { content: ""; width: 7px; height: 7px; margin-right: 0.6rem; border-radius: 50%; background: var(--brass-500); }
.services-process-section { background: var(--bg); }
.services-process-line { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; margin-top: var(--space-lg); border-top: 1px solid var(--border); }
.services-process-line article { position: relative; padding: 1rem 0.85rem 0; border-left: 1px solid var(--border); }
.services-process-line article:first-child { border-left: 0; }
.services-process-line span { color: var(--accent); font-family: var(--font-mono); font-weight: 900; }
.services-process-line p { margin: 0; font-size: 0.86rem; }
.services-final-section { background: var(--bg); padding-top: var(--space-xl); padding-bottom: var(--space-xl); }
.services-final-cta { padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: var(--radius-md); background: var(--navy-900); color: #fff; }
.services-final-cta h2 { max-width: 13ch; color: #fff; }
.services-final-cta p { max-width: 58ch; color: var(--sand-200); }
[data-theme="dark"] .services-page-header { background: var(--navy-900); }
[data-theme="dark"] .services-page-header h1 { color: var(--sand-100); }
[data-theme="dark"] .service-management-panel, [data-theme="dark"] .marketing-service-section, [data-theme="dark"] .sales-service-section, [data-theme="dark"] .land-service-section { background: color-mix(in srgb, var(--bg-card) 88%, #ffffff 2%); }
[data-theme="dark"] .management-flow-board, [data-theme="dark"] .leasing-path > *, [data-theme="dark"] .sales-editorial-panel, [data-theme="dark"] .sales-process-list span, [data-theme="dark"] .land-detail-grid span, [data-theme="dark"] .campaign-card { background: var(--bg-elevated); }
[data-theme="dark"] .services-overview-list i { background: color-mix(in srgb, var(--brass-500) 10%, var(--bg-elevated)); }
[data-theme="dark"] .media-preview span { color: var(--sand-100); background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 10%, var(--bg-card)), var(--bg-elevated)); }
@media (max-width: 1060px) {
  .leasing-path { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services-process-line { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 1rem; border-top: 0; }
  .services-process-line article { border-top: 1px solid var(--border); }
}
@media (max-width: 900px) {
  .services-overview-layout, .services-trust-layout { grid-template-columns: 1fr; }
  .services-overview-copy { position: static; }
  .home-hero-simple .hero-media::before { top: 0; bottom: 0; left: 0; width: 100%; transform: none; clip-path: none; background: linear-gradient(180deg, rgba(255,255,255,0.84), rgba(255,255,255,0.64) 58%, rgba(255,255,255,0.18)); }
  .home-hero-simple .hero-media::after { top: 12%; left: auto; right: 6%; width: 34vw; height: 22vh; opacity: 0.45; }
  [data-theme="dark"] .home-hero-simple .hero-media::before { background: linear-gradient(180deg, rgba(6,20,38,0.86), rgba(7,24,43,0.68) 58%, rgba(8,25,52,0.22)); }
}
@media (max-width: 620px) {
  .services-page-header-inner { padding-top: 4.6rem; }
  .centered-actions, .services-final-cta .btn-row { justify-content: stretch; }
  .centered-actions .btn, .services-final-cta .btn { width: 100%; }
  .services-overview-list a { grid-template-columns: 2.45rem minmax(0, 1fr) 1.8rem; gap: 0.75rem; min-height: 0; padding: 0.95rem 0; }
  .services-overview-list span { grid-column: 2 / 3; grid-row: 1; }
  .services-overview-list strong { grid-column: 2 / 3; grid-row: 2; }
  .services-overview-list p { grid-column: 2 / 4; margin-top: 0; }
  .services-overview-list i { grid-column: 1; grid-row: 1 / span 2; align-self: start; }
  .services-overview-list b { grid-column: 3; grid-row: 1 / span 2; align-self: center; }
  .leasing-path, .sales-process-list, .land-detail-grid, .services-trust-grid, .services-process-line { grid-template-columns: 1fr; }
  .media-preview { grid-template-columns: 1fr; min-height: auto; }
  .media-preview span { min-height: 72px; }
  .services-process-line article { border-left: 0; padding-left: 0; padding-right: 0; }
}

/* Services page corrected section layouts */
.management-split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.95fr); gap: var(--space-xl); align-items: center; }
.management-copy p:not(.eyebrow), .sales-copy p:not(.eyebrow), .marketing-copy p:not(.eyebrow) { max-width: 62ch; }
.service-check-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem 1rem; margin: var(--space-md) 0; }
.service-check-list li { display: flex; align-items: center; gap: 0.55rem; color: var(--text-primary); font-weight: 800; }
.service-check-list svg { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.management-visual { position: relative; min-height: 380px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); background: linear-gradient(135deg, color-mix(in srgb, var(--navy-900) 94%, var(--bg-elevated)), color-mix(in srgb, var(--navy-700) 78%, var(--bg-elevated))); box-shadow: var(--shadow-md); }
.management-visual::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(180deg, rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 44px 44px; }
.managed-building { position: absolute; left: 12%; right: 20%; bottom: 0; height: 78%; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; padding: 2rem 1.2rem 1.4rem; border-radius: var(--radius-md) var(--radius-md) 0 0; background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.07)); border: 1px solid rgba(255,255,255,0.14); border-bottom: 0; }
.managed-building::before { content: ""; position: absolute; left: 18%; right: 18%; top: -2.2rem; height: 2.2rem; background: var(--brass-500); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.managed-building span { min-height: 46px; border-radius: var(--radius-sm); background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.12); }
.management-badge { position: absolute; left: var(--space-sm); bottom: var(--space-sm); max-width: 270px; padding: 0.85rem 0.95rem; border-radius: var(--radius-sm); background: color-mix(in srgb, var(--bg-elevated) 94%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 34%, var(--border)); box-shadow: var(--shadow-sm); }
.management-badge strong, .management-badge span { display: block; }
.management-badge span { color: var(--text-secondary); font-size: 0.84rem; }
.leasing-service-section { background: var(--bg); }
.leasing-head { max-width: 680px; margin-bottom: var(--space-lg); }
.leasing-process { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.8rem; margin-bottom: var(--space-md); }
.leasing-process::before { content: ""; position: absolute; left: 8%; right: 8%; top: 28px; height: 2px; background: linear-gradient(90deg, var(--brass-500), color-mix(in srgb, var(--accent) 28%, var(--border))); }
.leasing-process div { position: relative; display: grid; align-content: start; gap: 0.42rem; padding-top: 3.6rem; min-height: 112px; color: var(--text-primary); }
.leasing-process div::before { content: ""; position: absolute; top: 16px; left: 0; width: 25px; height: 25px; border-radius: 50%; background: var(--brass-500); border: 5px solid var(--bg); box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 42%, var(--border)); z-index: 1; }
.leasing-process div:not(:last-child)::after { content: "\2192"; position: absolute; top: 6px; right: 0.45rem; color: var(--accent); font-size: 1.45rem; }
.leasing-process span { font-family: var(--font-mono); color: var(--accent); font-weight: 900; }
.leasing-process strong { line-height: 1.25; }
.sales-classic { display: grid; grid-template-columns: minmax(300px, 0.95fr) minmax(0, 1fr); gap: var(--space-xl); align-items: center; }
.sales-property-visual { min-height: 380px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); background: linear-gradient(180deg, color-mix(in srgb, var(--bg-elevated) 84%, var(--accent) 7%), var(--bg-card)); box-shadow: var(--shadow-md); position: relative; }
.sales-property-visual::before { content: ""; position: absolute; inset: 48% 0 0; background: linear-gradient(180deg, color-mix(in srgb, var(--brass-500) 22%, transparent), color-mix(in srgb, var(--navy-900) 14%, transparent)); }
.sales-house-shape { position: absolute; left: 13%; right: 13%; bottom: 14%; height: 52%; border-radius: var(--radius-sm); background: var(--bg-elevated); border: 1px solid color-mix(in srgb, var(--navy-900) 18%, var(--border)); box-shadow: var(--shadow-sm); }
.sales-house-shape::before { content: ""; position: absolute; left: 10%; right: 10%; top: -34%; height: 52%; background: var(--navy-900); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.sales-house-shape::after { content: ""; position: absolute; left: 12%; right: 12%; top: 30%; height: 28%; background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--accent) 22%, var(--bg-card)) 0 14%, transparent 14% 22%); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.marketing-workflow-layout { display: grid; grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr); gap: var(--space-xl); align-items: center; }
.marketing-flow { display: grid; gap: 0; max-width: 620px; margin-left: auto; }
.marketing-flow article { position: relative; display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: 1rem; padding: 0.75rem 0 1.4rem 2rem; border-left: 2px solid color-mix(in srgb, var(--accent) 46%, var(--border)); }
.marketing-flow article:last-child { border-left-color: transparent; padding-bottom: 0.75rem; }
.marketing-flow article::before { content: ""; position: absolute; left: -8px; top: 0.95rem; width: 14px; height: 14px; border-radius: 50%; background: var(--brass-500); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 11%, transparent); }
.marketing-flow span { color: var(--text-primary); font-family: var(--font-display); font-size: var(--step-1); font-weight: 800; }
.marketing-flow p { margin: 0; align-self: center; }
.media-icon-strip { display: flex; flex-wrap: wrap; gap: 0.55rem; margin: var(--space-md) 0; }
.media-icon-strip span { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.42rem 0.62rem; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--accent) 20%, var(--border)); color: var(--text-primary); background: color-mix(in srgb, var(--bg-elevated) 82%, transparent); font-size: 0.82rem; font-weight: 800; }
.media-icon-strip svg { width: 16px; height: 16px; fill: none; stroke: var(--accent); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.services-trust-section { background: var(--bg); color: var(--text-primary); }
.services-trust-section h2 { color: var(--text-primary); max-width: 13ch; }
.services-trust-layout { align-items: start; }
.trust-statement { padding-top: 0.45rem; }
.trust-indicators { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--border); border-left: 1px solid var(--border); background: var(--bg-elevated); }
.trust-indicators article { min-height: 132px; padding: 1rem; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-indicators article::before { content: ""; display: block; width: 18px; height: 2px; margin-bottom: 0.75rem; background: var(--brass-500); }
.trust-indicators strong { display: block; color: var(--text-primary); margin-bottom: 0.28rem; }
.trust-indicators p { margin: 0; font-size: 0.88rem; line-height: 1.5; }
.services-process-section { background: color-mix(in srgb, var(--bg-card) 84%, var(--bg) 16%); }
.services-journey { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; margin-top: var(--space-lg); }
.services-journey::before { content: ""; position: absolute; left: 7%; right: 7%; top: 2.15rem; height: 2px; background: linear-gradient(90deg, var(--brass-500), color-mix(in srgb, var(--accent) 25%, var(--border))); }
.services-journey article { position: relative; display: grid; justify-items: center; text-align: center; gap: 0.42rem; padding: 0 0.65rem; }
.services-journey article:not(:last-child)::after { content: "\2192"; position: absolute; top: 1.28rem; right: -0.45rem; color: var(--accent); font-size: 1.15rem; z-index: 1; }
.services-journey span { font-family: var(--font-mono); color: var(--accent); font-weight: 900; font-size: 0.78rem; }
.services-journey i { position: relative; z-index: 1; width: 2.3rem; height: 2.3rem; display: grid; place-items: center; border-radius: 50%; color: var(--navy-950); background: var(--brass-500); border: 5px solid color-mix(in srgb, var(--bg-card) 84%, var(--bg) 16%); }
.services-journey svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.services-journey strong { color: var(--text-primary); }
.services-journey p { margin: 0; font-size: 0.83rem; line-height: 1.5; }
[data-theme="dark"] .management-visual { background: linear-gradient(135deg, var(--navy-950), var(--navy-900)); }
[data-theme="dark"] .sales-property-visual { background: linear-gradient(180deg, color-mix(in srgb, var(--bg-elevated) 88%, var(--accent) 5%), var(--bg-card)); }
[data-theme="dark"] .sales-house-shape { background: var(--bg-elevated); }
[data-theme="dark"] .leasing-process div::before { border-color: var(--bg); }
[data-theme="dark"] .services-trust-section { background: var(--bg); color: var(--text-primary); }
[data-theme="dark"] .services-trust-section h2 { color: var(--text-primary); }
[data-theme="dark"] .trust-indicators { background: var(--bg-elevated); }
[data-theme="dark"] .services-process-section { background: color-mix(in srgb, var(--bg-card) 88%, #ffffff 2%); }
[data-theme="dark"] .services-journey i { border-color: color-mix(in srgb, var(--bg-card) 88%, #ffffff 2%); }
@media (max-width: 980px) {
  .management-split, .sales-classic, .marketing-workflow-layout { grid-template-columns: 1fr; }
  .leasing-process { grid-template-columns: 1fr; gap: 0; }
  .leasing-process::before { left: 12px; right: auto; top: 16px; bottom: 16px; width: 2px; height: auto; }
  .leasing-process div { min-height: 0; padding: 0.15rem 0 1rem 3rem; }
  .leasing-process div::before { left: 0; top: 0.05rem; }
  .leasing-process div:not(:last-child)::after { content: "\2193"; left: 0.16rem; right: auto; top: auto; bottom: -0.45rem; }
  .marketing-flow { margin-left: 0; }
  .trust-indicators { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services-journey { grid-template-columns: 1fr; gap: 0; }
  .services-journey::before { left: 1.15rem; right: auto; top: 1rem; bottom: 1rem; width: 2px; height: auto; }
  .services-journey article { grid-template-columns: 2.3rem minmax(0, 1fr); justify-items: start; text-align: left; column-gap: 0.8rem; padding: 0 0 1.2rem; }
  .services-journey article:not(:last-child)::after { content: "\2193"; left: 0.88rem; right: auto; top: auto; bottom: -0.2rem; }
  .services-journey span { grid-column: 2; grid-row: 1; }
  .services-journey i { grid-column: 1; grid-row: 1 / span 3; }
  .services-journey strong { grid-column: 2; grid-row: 2; }
  .services-journey p { grid-column: 2; grid-row: 3; }
}
@media (max-width: 620px) {
  .management-visual, .sales-property-visual { min-height: 300px; border-radius: var(--radius-md); }
  .service-check-list, .trust-indicators { grid-template-columns: 1fr; }
  .marketing-flow article { grid-template-columns: 1fr; gap: 0.2rem; }
}

/* Services page visual polish */
.services-page-header { background: #081934; }
.services-page-header::before { opacity: 0.26; background-size: 72px 72px; }
.services-page-header::after { height: 2px; width: min(34vw, 420px); background: #BA8835; }
.services-page-header-inner { padding-top: clamp(3.8rem, 5vw, 5.25rem); padding-bottom: clamp(2rem, 3.4vw, 2.8rem); }
.services-page-header h1 { font-size: clamp(2rem, 3.25vw, 3.05rem); line-height: 1.08; letter-spacing: 0; }
.services-page-header p:not(.eyebrow) { color: rgba(245,239,227,0.82); line-height: 1.72; }
.services-intro-section, .service-management-panel, .leasing-service-section, .sales-service-section, .land-service-section, .marketing-service-section, .services-trust-section, .services-process-section, .services-final-section { padding-top: clamp(3.2rem, 5.5vw, 5.1rem); padding-bottom: clamp(3.2rem, 5.5vw, 5.1rem); }
.services-intro-section h2, .service-management-panel h2, .leasing-service-section h2, .sales-service-section h2, .land-service-section h2, .marketing-service-section h2, .services-trust-section h2, .services-process-section h2, .services-final-cta h2 { font-size: clamp(1.85rem, 2.9vw, 2.75rem); line-height: 1.12; letter-spacing: 0; }
.services-intro-section p, .service-management-panel p, .leasing-service-section p, .sales-service-section p, .land-service-section p, .marketing-service-section p, .services-trust-section p, .services-process-section p { line-height: 1.72; }
.services-overview-layout, .management-split, .sales-classic, .marketing-workflow-layout { gap: clamp(1.6rem, 4vw, 3.25rem); }
.services-overview-list { border-top-color: color-mix(in srgb, #081934 13%, var(--border)); }
.services-overview-list a { min-height: 100px; padding: 0.95rem 0; border-bottom-color: color-mix(in srgb, #081934 13%, var(--border)); }
.services-overview-list a:hover { background: color-mix(in srgb, #BA8835 4%, transparent); padding-left: 0.55rem; padding-right: 0.55rem; }
.services-overview-list i { width: 2.35rem; height: 2.35rem; color: #BA8835; background: color-mix(in srgb, #BA8835 8%, var(--bg-elevated)); border-color: color-mix(in srgb, #BA8835 24%, var(--border)); }
.services-overview-list strong { font-weight: 750; }
.services-overview-list p { color: var(--text-secondary); font-size: 0.88rem; }
.service-purpose { border-left-color: #BA8835; color: var(--text-secondary); }
.service-check-list { gap: 0.7rem 1.1rem; margin: 1.35rem 0; }
.service-check-list li { font-size: 0.92rem; font-weight: 750; }
.service-check-list svg { width: 17px; height: 17px; stroke: #BA8835; }
.management-visual, .sales-property-visual { min-height: 360px; border-radius: var(--radius-md); box-shadow: 0 18px 42px rgba(8,25,52,0.12); }
.management-visual { background: linear-gradient(135deg, #081934, color-mix(in srgb, #081934 86%, var(--bg-elevated))); }
.management-visual::before { opacity: 0.58; background-size: 52px 52px; }
.managed-building { background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.13); }
.managed-building::before { background: #BA8835; opacity: 0.92; }
.managed-building span { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.1); }
.management-badge { background: color-mix(in srgb, var(--bg-elevated) 96%, transparent); border-color: color-mix(in srgb, #BA8835 28%, var(--border)); box-shadow: 0 12px 28px rgba(8,25,52,0.12); }
.management-badge strong { color: var(--text-primary); font-weight: 800; }
.leasing-head { margin-bottom: clamp(1.5rem, 3vw, 2.3rem); }
.leasing-process::before { top: 27px; background: linear-gradient(90deg, color-mix(in srgb, #BA8835 34%, var(--border)), #BA8835, color-mix(in srgb, #081934 20%, var(--border))); opacity: 0.86; }
.leasing-process div { min-height: 104px; gap: 0.35rem; }
.leasing-process div::before { width: 22px; height: 22px; background: #BA8835; border-width: 4px; box-shadow: 0 0 0 1px color-mix(in srgb, #BA8835 30%, var(--border)); }
.leasing-process div:not(:last-child)::after { color: color-mix(in srgb, #BA8835 82%, #081934); font-size: 1.18rem; top: 9px; }
.leasing-process span, .services-journey span { color: #BA8835; letter-spacing: 0.05em; }
.leasing-process strong { font-size: 0.95rem; font-weight: 800; color: var(--text-primary); }
.sales-property-visual { background: linear-gradient(180deg, color-mix(in srgb, var(--bg-elevated) 88%, #BA8835 4%), var(--bg-card)); }
.sales-house-shape { border-color: color-mix(in srgb, #081934 18%, var(--border)); box-shadow: 0 14px 32px rgba(8,25,52,0.1); }
.sales-house-shape::before { background: #081934; }
.marketing-flow article { padding-top: 0.65rem; padding-bottom: 1.25rem; border-left-color: color-mix(in srgb, #BA8835 38%, var(--border)); }
.marketing-flow article::before { width: 12px; height: 12px; left: -7px; background: #BA8835; box-shadow: 0 0 0 4px color-mix(in srgb, #BA8835 9%, transparent); }
.marketing-flow span { font-size: clamp(1.05rem, 1.5vw, 1.28rem); font-weight: 750; }
.media-icon-strip { gap: 0.48rem; margin: 1.25rem 0; }
.media-icon-strip span { padding: 0.4rem 0.62rem; border-color: color-mix(in srgb, #BA8835 18%, var(--border)); background: color-mix(in srgb, var(--bg-elevated) 88%, #BA8835 3%); font-size: 0.8rem; }
.media-icon-strip svg { stroke: #BA8835; }
.services-trust-section { background: var(--bg); }
.trust-indicators { border-color: color-mix(in srgb, #081934 12%, var(--border)); box-shadow: 0 12px 30px rgba(8,25,52,0.06); }
.trust-indicators article { min-height: 122px; padding: 0.95rem; }
.trust-indicators article::before { width: 16px; height: 2px; margin-bottom: 0.7rem; background: #BA8835; }
.trust-indicators strong { font-weight: 800; }
.trust-indicators p { color: var(--text-secondary); font-size: 0.86rem; }
.services-process-section { background: color-mix(in srgb, var(--bg-card) 88%, var(--bg) 12%); }
.services-journey::before { background: linear-gradient(90deg, color-mix(in srgb, #BA8835 30%, var(--border)), #BA8835, color-mix(in srgb, #081934 20%, var(--border))); opacity: 0.86; }
.services-journey i { width: 2.2rem; height: 2.2rem; background: #BA8835; border-width: 4px; box-shadow: 0 8px 20px rgba(186,136,53,0.12); }
.services-journey article:not(:last-child)::after { color: color-mix(in srgb, #BA8835 82%, #081934); }
.services-journey strong { font-weight: 800; }
.services-journey p { color: var(--text-secondary); }
.services-final-cta { border-radius: var(--radius-md); background: #081934; box-shadow: 0 18px 44px rgba(8,25,52,0.16); border: 1px solid rgba(255,255,255,0.1); }
.services-final-cta p { line-height: 1.72; }
.services-final-cta .btn { min-height: 46px; }
.services-final-cta .btn-accent { background: #BA8835; border-color: #BA8835; }
.services-final-cta .btn-accent:hover { background: color-mix(in srgb, #BA8835 88%, #fff); border-color: color-mix(in srgb, #BA8835 88%, #fff); }
[data-theme="dark"] .services-page-header, [data-theme="dark"] .services-final-cta { background: #081934; }
[data-theme="dark"] .service-management-panel, [data-theme="dark"] .sales-service-section, [data-theme="dark"] .land-service-section, [data-theme="dark"] .marketing-service-section, [data-theme="dark"] .services-process-section { background: color-mix(in srgb, var(--bg-card) 90%, #ffffff 2%); }
[data-theme="dark"] .services-intro-section, [data-theme="dark"] .leasing-service-section, [data-theme="dark"] .services-trust-section, [data-theme="dark"] .services-final-section { background: var(--bg); }
[data-theme="dark"] .services-overview-list i, [data-theme="dark"] .media-icon-strip span, [data-theme="dark"] .trust-indicators, [data-theme="dark"] .management-badge { background: var(--bg-elevated); }
[data-theme="dark"] .management-visual { background: linear-gradient(135deg, #081934, color-mix(in srgb, #081934 82%, #ffffff 5%)); }
[data-theme="dark"] .sales-property-visual { background: linear-gradient(180deg, color-mix(in srgb, var(--bg-elevated) 92%, #BA8835 4%), var(--bg-card)); }
[data-theme="dark"] .leasing-process div::before { border-color: var(--bg); }
[data-theme="dark"] .services-journey i { border-color: color-mix(in srgb, var(--bg-card) 90%, #ffffff 2%); }

/* ============================================
   HOME PAGE PROFESSIONAL LOWER SECTIONS
   ============================================ */
.home-services-section,
.home-management-highlight,
.home-residential-section,
.home-testimonial-section {
  background: var(--bg);
  padding-top: clamp(3.6rem, 6vw, 5.8rem);
  padding-bottom: clamp(3.6rem, 6vw, 5.8rem);
}
.home-trust-section,
.home-about-gallery-section {
  background: color-mix(in srgb, var(--bg-card) 72%, var(--bg) 28%);
  padding-top: clamp(3.6rem, 6vw, 5.8rem);
  padding-bottom: clamp(3.6rem, 6vw, 5.8rem);
}
.home-investment-section,
.home-process-section,
.home-faq-preview-section {
  background: color-mix(in srgb, #081934 4%, var(--bg));
  padding-top: clamp(3.6rem, 6vw, 5.8rem);
  padding-bottom: clamp(3.6rem, 6vw, 5.8rem);
}
.home-final-cta-section {
  background: var(--bg);
  padding-top: clamp(2.8rem, 5vw, 4.4rem);
  padding-bottom: clamp(2.8rem, 5vw, 4.4rem);
}
.home-services-layout,
.home-trust-layout,
.home-management-split,
.home-investment-layout,
.home-residential-layout,
.home-about-gallery,
.home-testimonial-layout,
.home-faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(1.6rem, 4vw, 3.4rem);
  align-items: center;
}
.home-services-copy,
.home-trust-statement,
.home-management-copy,
.home-investment-copy,
.home-residential-story,
.home-about-preview,
.home-testimonial-copy,
.home-faq-layout > div:first-child {
  max-width: 620px;
}
.home-services-copy h2,
.home-trust-statement h2,
.home-management-copy h2,
.home-investment-copy h2,
.home-residential-story h2,
.home-process-head h2,
.home-about-preview h2,
.home-testimonial-copy h2,
.home-faq-layout h2,
.home-final-cta h2 {
  font-size: clamp(1.85rem, 3vw, 2.8rem);
  line-height: 1.12;
  letter-spacing: 0;
}
.home-services-copy p:not(.eyebrow),
.home-trust-statement p,
.home-management-copy p,
.home-investment-copy p,
.home-residential-story p,
.home-process-head p:not(.eyebrow),
.home-about-preview p,
.home-testimonial-copy p,
.home-faq-layout p,
.home-final-cta p {
  line-height: 1.72;
}
.home-service-panel {
  display: grid;
  border-top: 1px solid color-mix(in srgb, #081934 15%, var(--border));
}
.home-service-link {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) 2rem;
  gap: 0.9rem;
  align-items: center;
  min-height: 104px;
  padding: 1rem 0;
  border-bottom: 1px solid color-mix(in srgb, #081934 15%, var(--border));
  color: var(--text-primary);
  transition: padding var(--transition), background var(--transition), transform var(--transition);
}
.home-service-link:hover {
  padding-left: 0.7rem;
  padding-right: 0.7rem;
  background: color-mix(in srgb, #BA8835 5%, transparent);
  transform: translateX(3px);
}
.home-service-link i {
  width: 2.55rem;
  height: 2.55rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #BA8835;
  background: color-mix(in srgb, #BA8835 10%, var(--bg-elevated));
  border: 1px solid color-mix(in srgb, #BA8835 28%, var(--border));
}
.home-service-link svg,
.home-process-line svg {
  width: 1.16rem;
  height: 1.16rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.home-service-link strong,
.home-service-link small {
  display: block;
}
.home-service-link strong {
  font-size: 1.02rem;
  margin-bottom: 0.25rem;
}
.home-service-link small {
  color: var(--text-secondary);
  line-height: 1.55;
}
.home-service-link b {
  color: #BA8835;
  font-family: var(--font-mono);
}
.home-trust-layout {
  grid-template-columns: minmax(0, 0.74fr) minmax(0, 1.26fr);
}
.home-trust-statement {
  padding: clamp(1.2rem, 2.4vw, 2rem) 0;
}
.home-trust-statement h2 {
  max-width: 11ch;
}
.home-trust-matrix {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
.home-trust-matrix span {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  color: var(--text-primary);
  font-weight: 800;
  line-height: 1.35;
}
.home-trust-matrix span::before,
.home-investment-points span::before,
.home-check-grid li::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #BA8835;
}
.home-management-split {
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
}
.home-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1rem;
  margin: 1.35rem 0;
}
.home-check-grid li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text-primary);
  font-weight: 800;
}
.home-management-visual,
.home-investment-visual,
.home-residential-image,
.home-gallery-preview a {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.home-management-visual {
  min-height: 430px;
}
.home-management-visual img,
.home-investment-visual img,
.home-residential-image img,
.home-gallery-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 780ms ease, filter 780ms ease;
}
.home-management-visual:hover img,
.home-investment-visual:hover img,
.home-residential-image:hover img,
.home-gallery-preview a:hover img {
  transform: scale(1.035);
  filter: saturate(1.04) contrast(1.02);
}
.home-management-board {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  padding: 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.26);
  background: rgba(8,25,52,0.72);
  color: #fff;
  backdrop-filter: blur(14px);
}
.home-management-board strong {
  grid-column: 1 / -1;
  color: #fff;
}
.home-management-board span {
  min-height: 42px;
  display: grid;
  place-items: center;
  padding: 0.45rem;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-sm);
  color: var(--sand-100);
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
}
.home-investment-layout {
  grid-template-columns: minmax(320px, 0.94fr) minmax(0, 1.06fr);
}
.home-investment-visual {
  min-height: 420px;
}
.home-investment-copy h2 {
  max-width: 13ch;
}
.home-investment-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 1.4rem 0;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
.home-investment-points span {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  color: var(--text-primary);
  font-weight: 800;
  line-height: 1.35;
}
.home-residential-layout {
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
}
.home-residential-image {
  min-height: 500px;
}
.home-residential-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.3rem;
}
.home-residential-actions a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-elevated);
  color: var(--text-primary);
  font-weight: 800;
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}
.home-residential-actions a:hover {
  transform: translateY(-2px);
  border-color: #BA8835;
  background: color-mix(in srgb, #BA8835 8%, var(--bg-elevated));
}
.home-process-head {
  max-width: 760px;
  margin: 0 auto clamp(1.6rem, 3.5vw, 2.6rem);
  text-align: center;
}
.home-process-head .eyebrow {
  justify-content: center;
}
.home-process-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
}
.home-process-line::before {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  top: 2.15rem;
  height: 2px;
  background: linear-gradient(90deg, color-mix(in srgb, #BA8835 24%, var(--border)), #BA8835, color-mix(in srgb, #081934 18%, var(--border)));
}
.home-process-line article {
  position: relative;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.4rem;
  padding: 0 0.65rem;
}
.home-process-line article:not(:last-child)::after {
  content: "->";
  position: absolute;
  top: 1.32rem;
  right: -0.48rem;
  color: #BA8835;
  font-family: var(--font-mono);
  font-weight: 900;
  z-index: 1;
}
.home-process-line span {
  color: #BA8835;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 900;
}
.home-process-line i {
  position: relative;
  z-index: 1;
  width: 2.35rem;
  height: 2.35rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #BA8835;
  color: #081934;
  border: 5px solid color-mix(in srgb, #081934 4%, var(--bg));
  box-shadow: 0 8px 20px rgba(186,136,53,0.16);
}
.home-process-line strong {
  color: var(--text-primary);
  font-weight: 800;
}
.home-process-line p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.83rem;
  line-height: 1.5;
}
.home-about-gallery {
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
}
.home-about-preview {
  padding-right: clamp(0rem, 2vw, 1.4rem);
}
.home-gallery-preview {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-auto-rows: minmax(150px, 1fr);
  gap: 0.75rem;
}
.home-gallery-preview a {
  min-height: 178px;
  color: #fff;
}
.home-gallery-main {
  grid-row: span 2;
}
.home-gallery-preview a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(8,25,52,0.62));
  pointer-events: none;
}
.home-gallery-main span {
  position: absolute;
  left: 0.9rem;
  bottom: 0.9rem;
  z-index: 1;
  color: #fff;
  font-weight: 900;
}
.home-testimonial-layout {
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
}
.home-testimonial-slider {
  position: relative;
  max-width: none;
  margin: 0;
  padding: clamp(1.3rem, 3vw, 2.2rem);
  border-left: 4px solid #BA8835;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: var(--bg-elevated);
  box-shadow: var(--shadow-md);
  text-align: left;
}
.home-testimonial-slider .testimonial-slide {
  min-height: 220px;
}
.home-testimonial-slider blockquote {
  margin: 0 0 1.25rem;
  color: var(--text-primary);
  font-size: clamp(1.2rem, 2vw, 1.75rem);
  line-height: 1.42;
}
.home-testimonial-slider .quote-mark {
  display: block;
  color: #BA8835;
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 0.8;
}
.home-testimonial-slider strong,
.home-testimonial-slider span {
  display: block;
}
.home-testimonial-slider .testimonial-slide div span {
  color: var(--text-secondary);
  margin-top: 0.2rem;
}
.home-testimonial-slider .slider-dots {
  justify-content: flex-start;
}
.home-faq-layout {
  align-items: start;
}
.home-faq-layout .faq-list {
  display: grid;
  gap: 0.7rem;
}
.home-final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: clamp(1.4rem, 3vw, 2.3rem);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.1);
  background: linear-gradient(135deg, #081934, #111111);
  color: #fff;
  box-shadow: 0 18px 44px rgba(8,25,52,0.18);
}
.home-final-cta h2,
.home-final-cta p {
  color: #fff;
}
.home-final-cta .eyebrow {
  color: #BA8835;
}
.home-final-cta p {
  max-width: 650px;
  color: rgba(245,239,227,0.82);
}
.home-final-cta .btn-row {
  flex: 0 0 auto;
}
[data-theme="dark"] .home-services-section,
[data-theme="dark"] .home-management-highlight,
[data-theme="dark"] .home-residential-section,
[data-theme="dark"] .home-testimonial-section,
[data-theme="dark"] .home-final-cta-section {
  background: #050505;
}
[data-theme="dark"] .home-trust-section,
[data-theme="dark"] .home-about-gallery-section,
[data-theme="dark"] .home-investment-section,
[data-theme="dark"] .home-process-section,
[data-theme="dark"] .home-faq-preview-section {
  background: #111111;
}
[data-theme="dark"] .home-service-link i,
[data-theme="dark"] .home-residential-actions a,
[data-theme="dark"] .home-testimonial-slider {
  background: #181818;
}
[data-theme="dark"] .home-process-line i {
  border-color: #111111;
}
[data-theme="dark"] .home-final-cta {
  background: linear-gradient(135deg, #081934, #050505);
  box-shadow: none;
}
@media (max-width: 1020px) {
  .home-services-layout,
  .home-trust-layout,
  .home-management-split,
  .home-investment-layout,
  .home-residential-layout,
  .home-about-gallery,
  .home-testimonial-layout,
  .home-faq-layout {
    grid-template-columns: 1fr;
  }
  .home-investment-visual {
    order: 2;
  }
  .home-process-line {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .home-process-line::before {
    left: 1.15rem;
    right: auto;
    top: 1rem;
    bottom: 1rem;
    width: 2px;
    height: auto;
  }
  .home-process-line article {
    grid-template-columns: 2.35rem minmax(0, 1fr);
    justify-items: start;
    text-align: left;
    column-gap: 0.8rem;
    padding: 0 0 1.2rem;
  }
  .home-process-line article:not(:last-child)::after {
    content: "";
    left: 1.1rem;
    right: auto;
    top: 2.35rem;
    bottom: -0.1rem;
    width: 2px;
    background: #BA8835;
  }
  .home-process-line span {
    grid-column: 2;
    grid-row: 1;
  }
  .home-process-line i {
    grid-column: 1;
    grid-row: 1 / span 3;
  }
  .home-process-line strong {
    grid-column: 2;
    grid-row: 2;
  }
  .home-process-line p {
    grid-column: 2;
    grid-row: 3;
  }
  .home-final-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 700px) {
  .home-services-section,
  .home-trust-section,
  .home-management-highlight,
  .home-investment-section,
  .home-residential-section,
  .home-process-section,
  .home-about-gallery-section,
  .home-testimonial-section,
  .home-faq-preview-section,
  .home-final-cta-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  .home-service-link {
    grid-template-columns: 2.6rem minmax(0, 1fr) 1.4rem;
    min-height: 0;
  }
  .home-service-link i {
    width: 2.25rem;
    height: 2.25rem;
  }
  .home-trust-matrix,
  .home-check-grid,
  .home-investment-points {
    grid-template-columns: 1fr;
  }
  .home-management-visual,
  .home-investment-visual,
  .home-residential-image {
    min-height: 320px;
  }
  .home-management-board {
    grid-template-columns: 1fr;
  }
  .home-residential-actions a,
  .home-final-cta .btn,
  .home-final-cta .btn-row,
  .home-management-copy .btn,
  .home-management-copy .btn-row {
    width: 100%;
  }
  .home-gallery-preview {
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
  }
  .home-gallery-main {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .home-gallery-preview a {
    min-height: 132px;
  }
  .home-testimonial-slider {
    border-left-width: 3px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  }
  .home-testimonial-slider .testimonial-slide {
    min-height: 260px;
  }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: #081934;
  color: var(--sand-200);
  padding: var(--space-xl) 0 var(--space-md);
  border-top: 3px solid var(--accent);
}
.footer-grid-premium { display: grid; grid-template-columns: minmax(240px, 1.3fr) minmax(150px, 0.8fr) minmax(170px, 0.9fr) minmax(260px, 1.15fr); gap: clamp(1.25rem, 3vw, 2.6rem); margin-bottom: var(--space-lg); }
.footer-social-panel { grid-column: 1; align-self: start; margin-top: -1.1rem; }
.footer-logo { color: #fff; margin-bottom: 0.95rem; }
.footer-logo .brand-logo { max-width: 168px; }
.footer-company p { color: var(--sand-300); max-width: 34ch; margin-bottom: 1rem; }
.footer-col h4 { color: #fff; font-size: 0.95rem; margin-bottom: var(--space-sm); }
.footer-col a { color: var(--sand-200); display: flex; align-items: center; gap: 0.45rem; padding: 0.36em 0; font-size: 0.9rem; transition: color var(--transition), transform var(--transition); }
.footer-col a::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); opacity: 0.55; transition: opacity var(--transition), transform var(--transition); }
.footer-col a:hover { color: var(--brass-500); transform: translateX(3px); }
.footer-col a:hover::before { opacity: 1; transform: scale(1.35); }
.footer-contact-list { display: grid; gap: 0.78rem; }
.footer-contact-list li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 0.15rem 0.72rem; align-items: center; color: var(--sand-200); transition: transform var(--transition); }
.footer-contact-list i { grid-row: span 2; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--accent); background: color-mix(in srgb, var(--accent) 13%, rgba(255,255,255,0.08)); border: 1px solid rgba(255,255,255,0.12); }
.footer-contact-list i svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.footer-contact-whatsapp i { color: #25D366; background: color-mix(in srgb, #25D366 15%, rgba(255,255,255,0.08)); border-color: color-mix(in srgb, #25D366 36%, rgba(255,255,255,0.12)); }
.footer-contact-list span { color: var(--sand-300); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; font-family: var(--font-mono); }
.footer-contact-list a, .footer-contact-list strong { color: #fff; font-size: 0.9rem; font-weight: 700; line-height: 1.45; }
.footer-contact-list a::before { display: none; }
.footer-contact-list li:hover { transform: translateX(2px); }
.footer-contact-list a:hover { color: var(--brass-500); }
.footer-contact-list .footer-contact-whatsapp a { color: #25D366; }
.footer-contact-list .footer-contact-whatsapp a:hover { color: #38e37b; }
.footer-social { display: flex; gap: 0.65em; margin-top: var(--space-sm); flex-wrap: wrap; }
.footer-social .icon-btn { width: 42px; height: 42px; border-color: rgba(255,255,255,0.16); color: #fff; background: rgba(255,255,255,0.055); }
.footer-social .icon-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.footer-social .icon-btn:hover { color: var(--brass-500); border-color: var(--brass-500); background: rgba(186,136,53,0.11); transform: translateY(-2px); box-shadow: 0 12px 24px rgba(0,0,0,0.16); }
.footer-social .footer-social-wa { color: #25D366; border-color: color-mix(in srgb, #25D366 44%, rgba(255,255,255,0.14)); }
.footer-social .footer-social-wa:hover { color: #25D366; border-color: #25D366; background: color-mix(in srgb, #25D366 12%, rgba(255,255,255,0.06)); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.10); padding-top: var(--space-md); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--space-sm); font-size: 0.82rem; color: var(--sand-300); }
.footer-bottom a { color: var(--sand-300); }
.footer-bottom a:hover { color: var(--brass-500); }
.footer-legal-links { display: flex; gap: 0.85rem; flex-wrap: wrap; align-items: center; }
[data-theme="dark"] .site-footer { background: #050505; border-top-color: #BA8835; }
@media (max-width: 1020px) { .footer-grid-premium { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) {
  .site-footer { padding-top: var(--space-lg); }
  .footer-grid-premium { grid-template-columns: 1fr; gap: var(--space-md); }
  .footer-contact-col { order: 2; }
  .footer-grid-premium nav:first-of-type { order: 3; }
  .footer-grid-premium nav:last-of-type { order: 4; }
  .footer-social-panel { grid-column: auto; order: 5; margin-top: 0; }
  .footer-contact-list li { min-height: 48px; padding: 0.45rem 0; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .footer-legal-links { gap: 0.65rem; }
}

/* ============================================
   FLOATING WHATSAPP + BACK TO TOP
   ============================================ */
.float-stack { position: fixed; right: var(--space-md); bottom: var(--space-md); display: flex; flex-direction: column; gap: 0.7em; z-index: 90; }
.float-btn { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md); border: none; cursor: pointer; transition: transform var(--transition), opacity var(--transition); }
.float-btn svg { width: 24px; height: 24px; }
.wa-float { background: #25D366; color: var(--navy-950); }
.wa-float:hover { transform: scale(1.07); background: #1DA851; color: #fff; }
.top-float { background: var(--navy-900); color: #fff; opacity: 0; pointer-events: none; transform: translateY(10px); }
.top-float.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
[data-theme="dark"] .top-float { background: var(--brass-500); color: var(--navy-950); }

/* ============================================
   BREADCRUMB / PAGE HEADER
   ============================================ */
.page-header { padding: var(--space-xl) 0 var(--space-lg); background: var(--navy-900); color: #fff; position: relative; overflow: hidden; }
.page-header h1 { color: #fff; margin-bottom: var(--space-xs); }
.breadcrumb { font-family: var(--font-mono); font-size: 0.82rem; color: var(--sand-300); display: flex; gap: 0.5em; align-items: center; }
.breadcrumb a { color: var(--sand-300); }
.breadcrumb a:hover { color: var(--brass-500); }

/* ============================================
   FILTER BAR (listing pages)
   ============================================ */
.filter-bar { display: grid; grid-template-columns: repeat(4, minmax(145px, 1fr)) auto; gap: 0.7em; align-items: center; padding: var(--space-sm); background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius-md); margin-bottom: var(--space-lg); position: sticky; top: 94px; z-index: 20; box-shadow: var(--shadow-sm); }
.property-category-shell { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: var(--space-sm); margin-bottom: var(--space-lg); padding: 0.55rem; border: 1px solid var(--border); border-radius: var(--radius-lg); background: linear-gradient(135deg, color-mix(in srgb, var(--bg-elevated) 94%, var(--accent) 6%), var(--bg-elevated)); box-shadow: var(--shadow-sm); }
.property-category-tabs { width: 100%; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.55rem; max-width: none; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.property-category-tabs button { min-height: 62px; justify-content: center; padding: 0.9rem 1rem; border-radius: var(--radius-md); font-size: 0.92rem; letter-spacing: 0.01em; background: color-mix(in srgb, var(--bg) 72%, transparent); border-color: color-mix(in srgb, var(--border) 78%, transparent); }
.property-category-tabs button svg { width: 19px; height: 19px; }
.property-category-tabs button:hover { background: color-mix(in srgb, var(--accent) 10%, var(--bg)); border-color: color-mix(in srgb, var(--accent) 42%, var(--border)); box-shadow: 0 10px 24px rgba(8,25,52,0.08); }
.property-category-tabs button.active { background: var(--navy-900); color: #fff; border-color: var(--accent); box-shadow: 0 16px 34px rgba(8,25,52,0.2); }
.property-category-tabs button.active svg { color: var(--brass-500); }
.property-tab-count { padding: 0.72rem 0.95rem; border-radius: var(--radius-md); border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--border)); background: color-mix(in srgb, var(--accent) 10%, var(--bg)); color: var(--text-primary); font-weight: 800; white-space: nowrap; }
[data-theme="dark"] .property-category-shell { background: linear-gradient(135deg, color-mix(in srgb, var(--bg-elevated) 92%, var(--accent) 8%), var(--bg-card)); }
[data-theme="dark"] .property-category-tabs button { background: color-mix(in srgb, var(--bg) 62%, #ffffff 4%); border-color: color-mix(in srgb, var(--border) 82%, #ffffff 8%); }
[data-theme="dark"] .property-category-tabs button.active { background: var(--brass-500); color: var(--navy-950); border-color: var(--brass-500); box-shadow: 0 16px 34px rgba(186,136,53,0.2); }
[data-theme="dark"] .property-category-tabs button.active svg { color: var(--navy-950); }
.filter-bar select, .filter-bar input { width: 100%; padding: 0.7em 0.9em; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--bg); color: var(--text-primary); font-size: 0.88rem; transition: border-color var(--transition), background var(--transition); }
.filter-bar select:focus, .filter-bar input:focus { border-color: var(--accent); }
.filter-results { margin-left: auto; font-size: 0.85rem; color: var(--text-secondary); font-family: var(--font-mono); }
.no-results { display: none; text-align: center; padding: var(--space-lg); border: 1px dashed var(--border); border-radius: var(--radius-md); color: var(--text-secondary); background: var(--bg-elevated); }
.no-results.visible { display: block; }
@media (max-width: 980px) { .filter-bar { grid-template-columns: repeat(2, 1fr); } .filter-results { margin-left: 0; } }
@media (max-width: 860px) { .property-category-shell { grid-template-columns: 1fr; align-items: stretch; } .property-tab-count { justify-self: start; } }
@media (max-width: 720px) { .property-category-tabs { display: flex; overflow-x: auto; padding-bottom: 0.15rem; scroll-snap-type: x proximity; scrollbar-width: thin; } .property-category-tabs button { min-width: 148px; flex: 0 0 auto; scroll-snap-align: start; } }
@media (max-width: 560px) { .filter-bar { position: static; grid-template-columns: 1fr; } .property-category-shell { padding: 0.45rem; border-radius: var(--radius-md); } .property-category-tabs button { min-width: 136px; min-height: 56px; padding: 0.78rem 0.85rem; } }

/* ============================================
   ALL PROPERTIES MARKETPLACE
   ============================================ */
.marketplace-section { background: linear-gradient(180deg, color-mix(in srgb, var(--bg-card) 54%, var(--bg)), var(--bg)); padding-top: var(--space-xl); overflow-x: clip; }
.marketplace-section .container { min-width: 0; }
.marketplace-intro { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-lg); align-items: end; margin-bottom: var(--space-md); }
.marketplace-intro h2 { max-width: 15ch; margin-bottom: var(--space-sm); }
.marketplace-intro p:not(.eyebrow) { max-width: 68ch; }
.marketplace-summary { display: grid; grid-template-columns: repeat(2, minmax(120px, 1fr)); gap: 0.7rem; min-width: 300px; }
.marketplace-summary span { display: grid; gap: 0.2rem; padding: var(--space-sm); border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-elevated); box-shadow: var(--shadow-sm); color: var(--text-secondary); font-size: 0.82rem; font-weight: 800; }
.marketplace-summary strong { color: var(--accent); font-family: var(--font-mono); font-size: 1.55rem; line-height: 1; }
.market-category-selector { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0.78rem; margin-bottom: var(--space-md); min-width: 0; max-width: 100%; }
.market-category-selector button { min-width: 0; min-height: 178px; display: flex; flex-direction: column; align-items: flex-start; gap: 0.55rem; padding: var(--space-sm); border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-elevated); color: var(--text-primary); text-align: left; cursor: pointer; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; overflow-wrap: anywhere; transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition), background var(--transition); touch-action: manipulation; }
.market-category-selector button::before { content: ""; position: absolute; inset: 0 auto auto 0; width: 100%; height: 3px; background: var(--accent); transform: scaleX(0.22); transform-origin: left; transition: transform var(--transition); }
.market-category-selector button:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 46%, var(--border)); box-shadow: var(--shadow-md); }
.market-category-selector button.active { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, var(--bg-elevated)); box-shadow: 0 16px 36px color-mix(in srgb, var(--accent) 14%, rgba(8,25,52,0.08)); }
.market-category-selector button.active::before, .market-category-selector button:hover::before { transform: scaleX(1); }
.market-category-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--bg-card)); border: 1px solid color-mix(in srgb, var(--accent) 26%, var(--border)); transition: transform var(--transition), background var(--transition), color var(--transition); }
.market-category-icon svg { width: 23px; height: 23px; }
.market-category-selector button:hover .market-category-icon, .market-category-selector button.active .market-category-icon { transform: scale(1.05); background: var(--accent); color: var(--navy-950); }
.market-category-selector strong { font-family: var(--font-display); font-size: 1.02rem; line-height: 1.14; letter-spacing: 0; }
.market-category-selector em { color: var(--text-secondary); font-size: 0.76rem; line-height: 1.42; font-style: normal; }
.market-category-selector small { margin-top: auto; color: var(--accent); font-family: var(--font-mono); font-size: 0.68rem; font-weight: 900; }
.market-filter-shell { position: static; max-width: 100%; margin-bottom: var(--space-sm); border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--border)); border-radius: var(--radius-lg); background: color-mix(in srgb, var(--bg-elevated) 96%, transparent); box-shadow: var(--shadow-lg); overflow: visible; backdrop-filter: blur(18px); }
.market-filter-shell summary { display: none; align-items: center; justify-content: space-between; gap: var(--space-sm); padding: 0.9rem var(--space-sm); cursor: pointer; font-weight: 900; color: var(--text-primary); }
.market-filter-shell summary b { color: var(--accent); font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; }
.market-filter-heading { display: block; min-height: max-content; padding: var(--space-md) var(--space-sm) 0; text-align: left; }
.market-filter-heading h3 { display: block; margin: 0; color: var(--text-primary); font-family: var(--font-display); font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.18; letter-spacing: 0; }
.market-filter-panel { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.9rem 0.78rem; max-width: 100%; padding: 1rem var(--space-sm) var(--space-sm); align-items: end; }
.market-filter-fields { display: contents; }
.market-field { min-width: 0; display: grid; gap: 0.38rem; }
.market-field-wide { grid-column: span 2; }
.market-field span { color: var(--text-secondary); font-size: 0.74rem; font-weight: 800; }
.market-field input, .market-field select, .market-results-tools select { width: 100%; min-height: 46px; padding: 0.74rem 0.85rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg); color: var(--text-primary); transition: border-color var(--transition), box-shadow var(--transition), background var(--transition); min-width: 0; }
.market-field input:focus, .market-field select:focus, .market-results-tools select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent); }
.market-filter-actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; align-items: center; gap: 0.6rem; min-width: 0; padding-top: 0.15rem; }
.market-filter-actions .btn { min-height: 46px; padding-inline: 1rem; }
.market-results-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); margin: var(--space-md) 0; padding: var(--space-sm); border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-elevated); box-shadow: var(--shadow-sm); min-width: 0; }
.market-results-head > div { min-width: 0; }
.market-results-head h3 { font-size: clamp(1.25rem, 2vw, 1.7rem); margin-bottom: 0.25rem; }
.market-results-head p { margin: 0; font-size: 0.86rem; }
.market-results-tools { display: flex; align-items: center; gap: 0.7rem; min-width: 0; flex-wrap: wrap; }
.market-results-tools select { min-width: 190px; background: var(--bg); }
.view-toggle { display: inline-flex; gap: 0.35rem; padding: 0.32rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg); }
.view-toggle button { width: 38px; height: 38px; display: grid; gap: 3px; border: 0; border-radius: 5px; background: transparent; color: var(--text-secondary); padding: 8px; cursor: pointer; }
.view-toggle button span { display: block; border-radius: 2px; background: currentColor; }
.view-toggle button[data-view="grid"] { grid-template-columns: repeat(2, 1fr); }
.view-toggle button[data-view="list"] { grid-template-columns: 1fr; }
.view-toggle button.active { background: var(--navy-900); color: #fff; }
.marketplace-grid { align-items: stretch; min-width: 0; }
.marketplace-grid .card-property { height: 100%; min-width: 0; }
.marketplace-grid .card-body, .marketplace-grid .card-specs, .marketplace-grid .card-actions { min-width: 0; }
.marketplace-grid .card-media img { width: 100%; height: 100%; object-fit: cover; }
.marketplace-grid .card-specs span { min-width: 0; overflow-wrap: anywhere; }
.marketplace-grid.list-view { grid-template-columns: 1fr; }
.marketplace-grid.list-view .card-property { display: grid; grid-template-columns: minmax(220px, 0.38fr) minmax(0, 1fr); min-height: 250px; }
.marketplace-grid.list-view .card-media { aspect-ratio: auto; min-height: 100%; }
.market-empty { display: none; text-align: center; margin-top: var(--space-md); padding: var(--space-lg); border: 1px dashed color-mix(in srgb, var(--accent) 36%, var(--border)); border-radius: var(--radius-lg); background: var(--bg-elevated); box-shadow: var(--shadow-sm); }
.market-empty.visible { display: block; animation: fadeIn 240ms ease; }
.market-empty a { display: none; }
.market-empty-illustration { width: 76px; height: 76px; display: grid; place-items: center; margin: 0 auto var(--space-sm); border-radius: 50%; color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, var(--bg)); }
.market-empty-illustration svg { width: 40px; height: 40px; }
.market-pagination { display: flex; justify-content: center; align-items: center; gap: 0.55rem; margin-top: var(--space-lg); flex-wrap: wrap; }
.market-pagination[hidden] { display: none; }
.market-pagination button { min-width: 42px; height: 42px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg-elevated); color: var(--text-primary); font-weight: 800; cursor: pointer; transition: border-color var(--transition), color var(--transition), background var(--transition); }
.market-pagination button:hover:not(:disabled), .market-pagination button.active { border-color: var(--accent); background: var(--navy-900); color: #fff; }
.market-pagination button:disabled { opacity: 0.45; cursor: not-allowed; }
.market-pagination [data-page-numbers] { display: flex; gap: 0.45rem; flex-wrap: wrap; justify-content: center; }
.compare-modal-panel { grid-template-columns: 1fr; width: min(920px, 100%); }
.compare-table { overflow-x: auto; }
.compare-table table { width: 100%; border-collapse: collapse; min-width: 720px; }
.compare-table th, .compare-table td { padding: 0.8rem; border-bottom: 1px solid var(--border); text-align: left; }
.compare-table th { color: var(--text-primary); background: color-mix(in srgb, var(--accent) 9%, var(--bg)); }
[data-theme="dark"] .market-filter-shell, [data-theme="dark"] .market-results-head, [data-theme="dark"] .marketplace-summary span, [data-theme="dark"] .market-category-selector button, [data-theme="dark"] .market-empty { background: rgba(8,25,52,0.9); }
[data-theme="dark"] .market-category-selector button.active { background: rgba(186,136,53,0.14); }
[data-theme="dark"] .view-toggle button.active, [data-theme="dark"] .market-pagination button.active, [data-theme="dark"] .market-pagination button:hover:not(:disabled) { background: var(--accent); color: var(--navy-950); }
@media (max-width: 1280px) { .market-category-selector { grid-template-columns: repeat(4, minmax(0, 1fr)); } .market-category-selector button { min-height: 158px; } }
@media (max-width: 1120px) { .market-filter-panel { grid-template-columns: repeat(3, minmax(0, 1fr)); } .market-field-wide { grid-column: span 2; } }
@media (max-width: 960px) { .marketplace-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .marketplace-grid.list-view .card-property { grid-template-columns: minmax(210px, 0.42fr) minmax(0, 1fr); } }
@media (max-width: 860px) { .marketplace-intro, .market-results-head { grid-template-columns: 1fr; display: grid; } .marketplace-intro h2 { max-width: 18ch; } .marketplace-summary { min-width: 0; } .market-category-selector { display: flex; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x proximity; padding: 0.1rem 0 0.45rem; scrollbar-width: thin; -webkit-overflow-scrolling: touch; } .market-category-selector button { flex: 0 0 min(230px, 72vw); min-height: 150px; scroll-snap-align: start; } .market-filter-shell { position: static; border-radius: var(--radius-md); } .market-filter-shell summary { display: flex; min-height: 54px; } .market-filter-shell summary span, .market-filter-shell summary b { min-width: 0; overflow-wrap: anywhere; } .market-filter-shell:not([open]) .market-filter-heading, .market-filter-shell:not([open]) .market-filter-panel { display: none; } .market-filter-heading { padding-top: 0.85rem; } .market-filter-heading h3 { font-size: clamp(1.22rem, 4vw, 1.5rem); } .market-filter-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); } .market-results-tools { justify-content: space-between; } }
@media (max-width: 720px) { .market-category-selector button { flex-basis: min(220px, 64vw); } .market-results-tools select { flex: 1 1 190px; } }
@media (max-width: 640px) { .marketplace-section { padding-top: var(--space-lg); } .marketplace-section .container { padding-left: var(--space-sm); padding-right: var(--space-sm); } .market-filter-panel, .marketplace-summary { grid-template-columns: 1fr; } .market-filter-actions { flex-direction: column; align-items: stretch; } .market-category-selector { gap: 0.62rem; margin-left: calc(var(--space-sm) * -1); margin-right: calc(var(--space-sm) * -1); padding-left: var(--space-sm); padding-right: var(--space-sm); } .market-category-selector button { flex-basis: min(214px, 72vw); min-height: 142px; padding: 0.85rem; } .market-category-icon { width: 42px; height: 42px; } .market-field-wide { grid-column: span 1; } .market-results-tools { flex-direction: column; align-items: stretch; } .market-results-tools select { min-width: 0; } .view-toggle { align-self: flex-start; } .marketplace-grid, .marketplace-grid.list-view { grid-template-columns: 1fr; } .marketplace-grid.list-view .card-property { grid-template-columns: 1fr; } .marketplace-grid.list-view .card-media { aspect-ratio: 4/3; min-height: 220px; } .market-empty { padding: var(--space-md) var(--space-sm); } .market-pagination button { min-width: 44px; min-height: 44px; } .compare-tray .btn { flex: 1 1 150px; } }
@media (max-width: 560px) { .marketplace-grid .card-actions { grid-template-columns: 1fr 1fr; } .marketplace-grid .card-actions [data-quick-view], .marketplace-grid .card-actions .btn-primary, .marketplace-grid .card-actions .btn-wa { grid-column: span 2; } .marketplace-grid .card-icon-action { width: 100%; min-height: 42px; } .market-results-head { padding: 0.85rem; } .market-results-head h3 { font-size: 1.18rem; } .market-results-head p { font-size: 0.8rem; } }
@media (max-width: 390px) { .market-category-selector button { flex-basis: 82vw; } .market-category-selector strong { font-size: 0.98rem; } .market-category-selector em { font-size: 0.72rem; } .market-filter-shell summary { align-items: flex-start; flex-direction: column; } .market-filter-panel { padding: 0.78rem; } .market-filter-actions .btn { width: 100%; } .market-pagination { gap: 0.4rem; } }

/* ============================================
   REVEAL-ON-SCROLL
   ============================================ */
[data-reveal] { opacity: 1; transform: translateY(0); }
.reveal-motion-ready [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal-motion-ready [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ============================================
   MISC - badges, dividers, pagination
   ============================================ */
.trust-badge { display: inline-flex; align-items: center; gap: 0.5em; font-size: 0.82rem; color: var(--trust); font-weight: 600; }
.trust-badge svg { width: 16px; height: 16px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); align-items: center; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.pagination { display: flex; gap: 0.5em; justify-content: center; margin-top: var(--space-lg); }
.pagination a, .pagination span { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-sm); border: 1px solid var(--border); color: var(--text-primary); font-size: 0.85rem; }
.pagination a:hover { border-color: var(--accent); color: var(--accent); }
.pagination .current { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--navy-900); color: #fff; padding: 1em 1.4em; z-index: 1000; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }

.error-page { min-height: 70vh; display: flex; align-items: center; }
.error-code { font-family: var(--font-mono); font-size: clamp(4rem, 16vw, 9rem); color: var(--brass-500); line-height: 1; margin-bottom: 0; }

address { font-style: normal; }
.contact-info-item { display: flex; gap: var(--space-sm); padding: var(--space-sm) 0; border-bottom: 1px solid var(--border); }
.contact-info-item .feature-icon { margin-bottom: 0; flex-shrink: 0; }
.map-embed { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border); }
.map-embed iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

.gallery-filters { display: flex; gap: 0.6em; flex-wrap: wrap; margin-bottom: var(--space-lg); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-sm); }
.gallery-grid a { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
.gallery-grid a:hover img { transform: scale(1.08); }
@media (max-width: 860px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

.blog-card { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.blog-card .card-body { padding: var(--space-md); }
.blog-meta { font-family: var(--font-mono); font-size: 0.76rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.5em; }
.blog-card h4 a { color: var(--text-primary); }
.blog-card h4 a:hover { color: var(--accent); }

.legal-content h2 { font-size: var(--step-1); margin-top: var(--space-lg); }
.legal-content h2:first-child { margin-top: 0; }
.legal-content ul { list-style: disc; padding-left: 1.4em; margin-bottom: var(--space-sm); }
.legal-content li { color: var(--text-secondary); padding: 0.2em 0; }
.legal-meta { color: var(--text-secondary); font-size: 0.85rem; font-family: var(--font-mono); }

.property-gallery-main { position: relative; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 16 / 10; background: var(--bg-card); min-width: 0; }
.property-gallery-main img, .property-gallery-main video, .gallery-main-media img, .gallery-main-media video { display: block; width: 100%; height: 100%; object-fit: cover; transition: opacity var(--transition), transform var(--transition); }
.property-gallery-main video, .gallery-main-media video { background: #000; }
.property-gallery-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.5em; margin-top: 0.5em; }
.property-gallery-thumbs img { display: block; width: 100%; height: 100%; border-radius: var(--radius-sm); aspect-ratio: 1; object-fit: cover; cursor: pointer; opacity: 0.7; transition: opacity var(--transition); }
.property-gallery-thumbs img:hover, .property-gallery-thumbs img.active { opacity: 1; outline: 2px solid var(--accent); }
.property-detail-static .container, .property-detail-static-layout, .property-detail-static-layout > div { min-width: 0; }
.property-detail-static-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr); gap: var(--space-lg); align-items: start; max-width: 1120px; margin-inline: auto; }
.property-detail-media-col, .property-detail-info-col, .property-detail-content-col { min-width: 0; }
.property-detail-info-col { align-self: stretch; }
.property-detail-info-head { display: grid; gap: 0.65rem; align-content: start; }
.property-detail-info-head h2 { margin: 0; font-size: clamp(1.55rem, 2.5vw, 2.25rem); line-height: 1.12; overflow-wrap: anywhere; }
.property-detail-meta-line { display: flex; flex-wrap: wrap; gap: 0.45rem 0.7rem; color: var(--text-secondary); font-weight: 800; font-size: 0.88rem; }
.property-detail-meta-line span:not(:last-child)::after { content: ""; display: inline-block; width: 4px; height: 4px; margin-left: 0.7rem; border-radius: 50%; background: var(--accent); vertical-align: middle; }
.property-detail-price { display: block; color: var(--accent); font-family: var(--font-mono); font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.1; overflow-wrap: anywhere; }
.property-detail-location { margin: 0; color: var(--text-secondary); font-weight: 800; overflow-wrap: anywhere; }
.property-detail-content-col { grid-column: 1 / -1; }
.spec-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-sm); background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--space-md); margin: var(--space-md) 0 0; }
.spec-item { text-align: center; }
.spec-item .val { font-family: var(--font-mono); font-size: 1.3rem; color: var(--accent); font-weight: 600; }
.spec-item .lbl { font-size: 0.78rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.05em; }
.amenity-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5em; }
.amenity-list li { display: flex; align-items: center; gap: 0.65em; color: var(--text-secondary); font-size: 0.92rem; padding: 0.3em 0; min-width: 0; overflow-wrap: anywhere; }
.amenity-list li::before { content: ""; width: 0.42em; height: 0.72em; border-right: 2px solid var(--trust); border-bottom: 2px solid var(--trust); transform: rotate(45deg) translateY(-0.08em); flex: 0 0 auto; }
.agent-card { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--space-md); text-align: center; position: sticky; top: 110px; }
.agent-avatar { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; margin: 0 auto var(--space-sm); }
.share-row { display: flex; gap: 0.5em; margin-top: var(--space-sm); }

/* ============================================
   PROPERTY DETAILS EXPERIENCE
   ============================================ */
.property-detail-hero { padding: calc(88px + var(--space-lg)) 0 var(--space-lg); background: linear-gradient(135deg, color-mix(in srgb, var(--bg-elevated) 82%, var(--accent) 6%), var(--bg)); border-bottom: 1px solid var(--border); }
.property-title-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-md); align-items: end; }
.property-title-row h1 { max-width: 13ch; margin-bottom: var(--space-xs); }
.property-badges, .property-quick-actions, .location-actions, .gallery-assets { display: flex; flex-wrap: wrap; gap: 0.55rem; align-items: center; }
.detail-badge { display: inline-flex; align-items: center; border-radius: 999px; border: 1px solid var(--border); background: var(--bg-elevated); color: var(--text-secondary); padding: 0.36rem 0.72rem; font-size: 0.75rem; font-weight: 800; }
.detail-badge.featured { background: var(--brass-500); border-color: var(--brass-500); color: var(--navy-950); }
.detail-badge.status { background: color-mix(in srgb, var(--trust) 14%, var(--bg-elevated)); border-color: color-mix(in srgb, var(--trust) 45%, var(--border)); color: var(--trust); }
.detail-badge.muted { font-family: var(--font-mono); }
.detail-location { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 700; }
.detail-location svg { width: 18px; height: 18px; color: var(--accent); }
.property-price-panel { min-width: 260px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-elevated); padding: var(--space-sm); box-shadow: var(--shadow-sm); }
.property-price-panel span, .property-price-panel small { display: block; color: var(--text-secondary); font-size: 0.8rem; }
.property-price-panel strong { display: block; color: var(--accent); font-family: var(--font-mono); font-size: 1.75rem; margin: 0.15rem 0; }
.property-quick-actions { margin-top: var(--space-md); }
.property-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: var(--space-lg); align-items: start; }
.property-main-col { display: grid; gap: var(--space-md); }
.detail-panel { border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-elevated); padding: var(--space-md); box-shadow: var(--shadow-sm); }
.detail-section-head { margin-bottom: var(--space-sm); }
.detail-section-head h2 { font-size: clamp(1.55rem, 2.5vw, 2.2rem); }
.property-gallery.detail-panel { padding: var(--space-sm); }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.52); background: rgba(255,255,255,0.72); color: var(--navy-950); cursor: pointer; font-size: 1.6rem; backdrop-filter: blur(10px); }
.gallery-nav.prev { left: 14px; }
.gallery-nav.next { right: 14px; }
.gallery-fullscreen, .gallery-counter { position: absolute; z-index: 3; bottom: 14px; border-radius: 999px; background: rgba(8,25,52,0.76); color: #fff; padding: 0.5rem 0.85rem; font-size: 0.8rem; font-weight: 800; border: 1px solid rgba(255,255,255,0.18); }
.gallery-fullscreen { left: 14px; cursor: pointer; }
.gallery-counter { right: 14px; font-family: var(--font-mono); }
.property-gallery-thumbs { grid-template-columns: repeat(6, 1fr); }
.property-gallery-thumbs button { position: relative; border: 0; padding: 0; background: transparent; border-radius: var(--radius-sm); cursor: pointer; overflow: hidden; }
.property-gallery-thumbs button.active img, .property-gallery-thumbs button:hover img { opacity: 1; outline: 2px solid var(--accent); }
.property-gallery-thumbs [data-media-type="video"] img { filter: brightness(0.72); }
.media-play-icon { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); z-index: 2; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 999px; background: rgba(8,25,52,0.82); border: 1px solid rgba(255,255,255,0.38); color: #fff; box-shadow: var(--shadow-sm); }
.media-play-icon svg { width: 16px; height: 16px; fill: var(--brass-500); }
.media-thumb-label { position: absolute; left: 6px; right: 6px; bottom: 6px; z-index: 2; border-radius: 999px; padding: 0.22rem 0.36rem; background: rgba(8,25,52,0.8); color: #fff; font-size: 0.62rem; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gallery-assets { padding-top: 0.65rem; }
.gallery-assets a, .gallery-assets button { border: 1px solid var(--border); border-radius: 999px; background: var(--bg); color: var(--text-secondary); padding: 0.45rem 0.8rem; font-size: 0.82rem; font-weight: 800; cursor: pointer; }
.detail-spec-grid { margin: 0; }
.detail-description { max-height: 8.7rem; overflow: hidden; position: relative; }
.detail-description.expanded { max-height: none; }
.detail-table { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.65rem; }
.detail-table div { padding: 0.85rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg); }
.detail-table .detail-address-row { grid-column: 1 / -1; }
.detail-table span { display: block; color: var(--text-secondary); font-size: 0.78rem; margin-bottom: 0.22rem; }
.detail-table strong { color: var(--text-primary); }
.detail-amenities li::before, .verification-grid span::before, .nearby-grid span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: 0 0 auto; }
.verification-grid, .nearby-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.65rem; margin-bottom: var(--space-sm); }
.verification-grid span, .nearby-grid span { display: flex; align-items: center; gap: 0.55rem; color: var(--text-secondary); padding: 0.65rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg); }
.location-actions { margin: var(--space-sm) 0; }
.detail-agent-card { text-align: left; top: 112px; box-shadow: var(--shadow-sm); }
.detail-agent-card .agent-avatar { margin-left: 0; }
.detail-agent-card .btn-block { margin-top: 0.6rem; }
.company-contact-card { overflow: hidden; }
.company-contact-mark { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; margin-bottom: var(--space-sm); background: color-mix(in srgb, var(--navy-900) 9%, var(--bg)); color: var(--navy-900); border: 1px solid color-mix(in srgb, var(--accent) 32%, var(--border)); }
.company-contact-mark .brand-mark { width: 34px; height: 34px; }
.company-managed-badge { display: inline-flex; border-radius: 999px; padding: 0.32rem 0.62rem; background: color-mix(in srgb, var(--accent) 12%, var(--bg)); color: var(--accent); font-size: 0.72rem; font-weight: 800; margin-bottom: 0.65rem; }
[data-theme="dark"] .company-contact-mark { background: color-mix(in srgb, var(--brass-500) 12%, var(--bg-elevated)); color: var(--brass-500); }
.verified-agent { display: inline-flex; border-radius: 999px; padding: 0.32rem 0.62rem; background: color-mix(in srgb, var(--trust) 12%, var(--bg)); color: var(--trust); font-size: 0.72rem; font-weight: 800; margin-bottom: 0.65rem; }
.agent-link { display: inline-block; margin-top: var(--space-sm); font-weight: 800; }
.detail-tabs .listing-tabs { width: 100%; border-radius: var(--radius-md); overflow-x: auto; flex-wrap: nowrap; }
.detail-tab-panel { display: none; }
.detail-tab-panel.active { display: block; animation: fadeIn 220ms ease; }
.field-check { display: flex; gap: 0.55rem; align-items: flex-start; color: var(--text-secondary); }
.field-check input { margin-top: 0.3rem; accent-color: var(--accent); }
.field-check.invalid { color: var(--clay-500); }
.form-status { color: var(--text-secondary); font-size: 0.9rem; }
.form-status.success { color: var(--trust); font-weight: 800; }
.form-status.error { color: var(--clay-500); font-weight: 800; }
.property-inquiry-panel { margin-top: var(--space-lg); }
.property-inquiry-panel .detail-section-head p:not(.eyebrow) { max-width: 680px; color: var(--text-secondary); margin: 0; }
.property-inquiry-form .full,
.property-inquiry-form .inquiry-property-preview { grid-column: 1 / -1; }
.inquiry-property-preview { width: 100%; min-width: 0; box-sizing: border-box; display: grid; gap: 0.85rem; margin-bottom: var(--space-md); padding: var(--space-sm); border: 1px solid var(--border); border-radius: var(--radius-md); background: color-mix(in srgb, var(--bg) 72%, var(--bg-elevated)); }
.inquiry-property-preview__label { color: var(--text-secondary); font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; }
.inquiry-property-preview__body { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 1.15rem; align-items: center; min-width: 0; }
.inquiry-property-preview__media { min-width: 0; }
.inquiry-property-preview__media img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); background: var(--bg-elevated); }
.inquiry-property-preview__content { min-width: 0; display: grid; gap: 0.45rem; align-content: center; }
.inquiry-property-preview__title { margin: 0; color: var(--text-primary); font-size: clamp(1rem, 1.35vw, 1.18rem); line-height: 1.3; overflow-wrap: anywhere; }
.inquiry-property-preview__meta { color: var(--text-secondary); font-weight: 800; font-size: 0.82rem; line-height: 1.45; overflow-wrap: anywhere; }
.inquiry-property-preview__meta span { color: var(--accent); margin: 0 0.28rem; }
.inquiry-property-preview__price { color: var(--accent); font-size: clamp(1.08rem, 1.55vw, 1.28rem); font-weight: 900; line-height: 1.2; overflow-wrap: anywhere; }
.inquiry-property-preview__location { color: var(--text-secondary); font-weight: 700; line-height: 1.45; overflow-wrap: anywhere; }
.inquiry-status-note { margin-bottom: var(--space-sm); padding: 0.85rem 1rem; border: 1px solid color-mix(in srgb, var(--accent) 42%, var(--border)); border-radius: var(--radius-sm); background: color-mix(in srgb, var(--accent) 10%, var(--bg-elevated)); color: var(--text-primary); font-weight: 700; }
.property-inquiry-form { align-items: start; gap: var(--space-sm); }
.property-inquiry-form .field { min-width: 0; }
.property-inquiry-form .field label { display: grid; gap: 0.42rem; line-height: 1.25; }
.property-inquiry-form input, .property-inquiry-form select { min-height: 48px; }
.property-inquiry-form textarea { min-height: 124px; resize: vertical; }
.inquiry-dynamic-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-sm); }
.inquiry-dynamic-fields.full { grid-column: 1 / -1; }
.conditional-hidden { display: none !important; }
.property-inquiry-form .field label > span, .inquiry-consent input { color: var(--accent); accent-color: var(--accent); }
.phone-input-row { display: grid; grid-template-columns: minmax(105px, 0.34fr) minmax(0, 1fr); gap: 0.55rem; margin-top: 0.4em; }
.phone-input-row select, .phone-input-row input { width: 100%; min-width: 0; }
.inquiry-consent { padding: var(--space-sm); border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg); }
.inquiry-consent.invalid, .field.invalid .inquiry-consent { border-color: var(--clay-500); color: var(--clay-500); }
.inquiry-actions { display: flex; justify-content: flex-end; }
.inquiry-actions .btn { min-height: 48px; }
[data-theme="dark"] .inquiry-property-preview { background: rgba(255,255,255,0.035); }
.recently-viewed { display: flex; gap: 0.65rem; flex-wrap: wrap; margin-bottom: var(--space-sm); color: var(--text-secondary); }
.recently-viewed a { border: 1px solid var(--border); border-radius: 999px; background: var(--bg-elevated); padding: 0.45rem 0.75rem; font-weight: 800; }
.property-lightbox { position: fixed; inset: 0; z-index: 1200; display: none; align-items: center; justify-content: center; background: rgba(8,25,52,0.92); padding: var(--space-md); }
.property-lightbox.visible { display: flex; }
.property-lightbox img { max-width: min(1100px, 92vw); max-height: 84vh; border-radius: var(--radius-md); object-fit: contain; }
.property-lightbox video { width: min(1100px, 92vw); max-height: 84vh; border-radius: var(--radius-md); background: #000; }
.media-lightbox-frame { display: grid; place-items: center; width: min(1100px, 92vw); max-height: 84vh; }
.property-lightbox img.zoomed { cursor: zoom-out; transform: scale(1.35); transition: transform var(--transition); }
.property-lightbox .property-modal-close { top: var(--space-md); right: var(--space-md); }
.property-lightbox .gallery-counter { bottom: var(--space-md); right: 50%; transform: translateX(50%); }
.property-lightbox .lightbox-zoom { left: 50%; transform: translateX(-50%); }
.asset-plan, .asset-video { border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg); padding: var(--space-md); margin-bottom: var(--space-sm); }
.asset-plan { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-sm); }
.asset-video { min-height: 240px; display: grid; place-items: center; text-align: center; background: linear-gradient(135deg, color-mix(in srgb, var(--bg) 88%, var(--accent) 8%), var(--bg-elevated)); }
.asset-video strong, .asset-video span { display: block; }
.asset-video span { color: var(--text-secondary); margin-top: 0.35rem; }
.mobile-detail-actions { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; background: color-mix(in srgb, var(--bg-elevated) 96%, transparent); border-top: 1px solid var(--border); backdrop-filter: blur(14px); padding: 0.55rem; grid-template-columns: repeat(4, 1fr); gap: 0.45rem; }
.mobile-detail-actions a { text-align: center; border-radius: var(--radius-sm); padding: 0.68rem 0.35rem; background: var(--navy-900); color: var(--sand-100); font-size: 0.78rem; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; gap: 0.28rem; }
.mobile-detail-actions .wa-icon { width: 1rem; height: 1rem; flex: 0 0 auto; }
[data-theme="dark"] .property-detail-hero { background: linear-gradient(135deg, color-mix(in srgb, var(--bg-elevated) 86%, var(--accent) 5%), var(--bg)); }
@media (max-width: 1080px) { .property-detail-layout, .property-title-row, .property-detail-static-layout { grid-template-columns: 1fr; } .property-side-col .agent-card { position: static; } }
@media (max-width: 900px) { .inquiry-property-preview__body { grid-template-columns: 128px minmax(0, 1fr); } }
@media (max-width: 760px) { .property-detail-hero { padding-top: calc(76px + var(--space-md)); } .property-price-panel { min-width: 0; } .detail-panel { border-radius: var(--radius-md); padding: var(--space-sm); } .property-gallery-thumbs { grid-template-columns: repeat(3, 1fr); } .detail-table, .verification-grid, .nearby-grid, .asset-plan, .inquiry-dynamic-fields { grid-template-columns: 1fr; } .inquiry-property-preview__body { grid-template-columns: 112px minmax(0, 1fr); align-items: start; } .gallery-nav { width: 36px; height: 36px; } .mobile-detail-actions { display: grid; } body { padding-bottom: 76px; } .float-stack { bottom: 86px; } .inquiry-actions { justify-content: stretch; } .inquiry-actions .btn { width: 100%; } }
@media (max-width: 430px) { .inquiry-property-preview__body { grid-template-columns: 1fr; } .inquiry-property-preview__media img { aspect-ratio: 16 / 9; } }
@media (max-width: 420px) { .phone-input-row { grid-template-columns: 1fr; } }

@media (max-width: 860px) {
  .stats-grid, .footer-grid, .form-grid, .two-col, .gallery-grid, .grid-4 { row-gap: var(--space-md); }
  .spec-grid { grid-template-columns: 1fr 1fr; }
  .amenity-list { grid-template-columns: 1fr; }
  .property-detail-static .property-gallery-thumbs { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 760px) {
  .property-detail-static .property-gallery-thumbs { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================
   BLACK DARK MODE OVERRIDES
   ============================================ */
[data-theme="dark"] body { background: #050505; color: #F4F4F4; }
[data-theme="dark"] .site-header { background: rgba(5,5,5,0.9); border-bottom-color: rgba(255,255,255,0.1); }
[data-theme="dark"] .nav-primary { background: rgba(5,5,5,0.96); border-top-color: rgba(255,255,255,0.1); }
[data-theme="dark"] .hero,
[data-theme="dark"] .page-header,
[data-theme="dark"] .services-page-header,
[data-theme="dark"] .section-inverse,
[data-theme="dark"] .section-signature,
[data-theme="dark"] .investment-dark,
[data-theme="dark"] .services-final-cta,
[data-theme="dark"] .final-cta,
[data-theme="dark"] .commitment-panel { background-color: #050505; }
[data-theme="dark"] .hero-media::before,
[data-theme="dark"] .home-hero-simple .hero-media::before { background: linear-gradient(105deg, rgba(5,5,5,0.88) 0%, rgba(12,12,12,0.72) 56%, rgba(18,18,18,0.26) 86%, rgba(5,5,5,0) 100%); }
[data-theme="dark"] .hero-media::after,
[data-theme="dark"] .home-hero-simple .hero-media::after { background: rgba(255,255,255,0.06); }
[data-theme="dark"] .property-search-card,
[data-theme="dark"] .home-search-console,
[data-theme="dark"] .property-finder,
[data-theme="dark"] .finder-panel,
[data-theme="dark"] .finder-summary-bar,
[data-theme="dark"] .category-hub-panel,
[data-theme="dark"] .market-filter-shell,
[data-theme="dark"] .market-results-panel,
[data-theme="dark"] .filter-bar,
[data-theme="dark"] .property-category-shell,
[data-theme="dark"] .listing-tabs,
[data-theme="dark"] .card-property,
[data-theme="dark"] .detail-panel,
[data-theme="dark"] .agent-card,
[data-theme="dark"] .company-contact-card,
[data-theme="dark"] .faq-item,
[data-theme="dark"] .faq-a,
[data-theme="dark"] .modal,
[data-theme="dark"] .property-modal-content,
[data-theme="dark"] .form-card,
[data-theme="dark"] .dashboard-card,
[data-theme="dark"] .admin-card {
  background: #111111;
  border-color: rgba(255,255,255,0.12);
}
[data-theme="dark"] .section-nav { background: rgba(5,5,5,0.88); }
[data-theme="dark"] .section-nav a,
[data-theme="dark"] .console-mode-tabs button,
[data-theme="dark"] .faq-q,
[data-theme="dark"] .faq-cats button { background: #181818; border-color: rgba(255,255,255,0.12); }
[data-theme="dark"] .section-alt,
[data-theme="dark"] .property-search-section,
[data-theme="dark"] .category-navigator-section,
[data-theme="dark"] .category-hub-section,
[data-theme="dark"] .featured-home-section,
[data-theme="dark"] .category-rail-section,
[data-theme="dark"] .land-block-section,
[data-theme="dark"] .home-management-section,
[data-theme="dark"] .services-intro-section,
[data-theme="dark"] .service-management-panel,
[data-theme="dark"] .sales-service-section,
[data-theme="dark"] .land-service-section,
[data-theme="dark"] .marketing-service-section,
[data-theme="dark"] .services-process-section,
[data-theme="dark"] .property-detail-hero {
  background: #0B0B0B;
}
[data-theme="dark"] .rental-spotlight,
[data-theme="dark"] .investment-board,
[data-theme="dark"] .community-panel,
[data-theme="dark"] .category-card-premium,
[data-theme="dark"] .service-card-premium { background: #111111; }
[data-theme="dark"] .search-tabs button,
[data-theme="dark"] .property-category-tabs button,
[data-theme="dark"] .market-category-selector button,
[data-theme="dark"] .view-toggle button,
[data-theme="dark"] input,
[data-theme="dark"] select,
[data-theme="dark"] textarea,
[data-theme="dark"] .field input,
[data-theme="dark"] .field select,
[data-theme="dark"] .field textarea {
  background: #181818;
  color: #F4F4F4;
  border-color: rgba(255,255,255,0.13);
}
[data-theme="dark"] .search-tabs button.active,
[data-theme="dark"] .property-category-tabs button.active,
[data-theme="dark"] .market-category-selector button.active,
[data-theme="dark"] .view-toggle button.active,
[data-theme="dark"] .listing-tabs button.active,
[data-theme="dark"] .faq-cats button.active {
  background: #BA8835;
  color: #050505;
  border-color: #BA8835;
}
[data-theme="dark"] .search-tabs button.active strong,
[data-theme="dark"] .property-category-tabs button.active strong,
[data-theme="dark"] .property-category-tabs button.active svg { color: #050505; }
[data-theme="dark"] .category-card-premium,
[data-theme="dark"] .service-card-premium,
[data-theme="dark"] .service-compact-list a,
[data-theme="dark"] .featured-property-mini,
[data-theme="dark"] .management-flow,
[data-theme="dark"] .trust-pillars,
[data-theme="dark"] .services-editorial-intro,
[data-theme="dark"] .service-row,
[data-theme="dark"] .trust-indicators,
[data-theme="dark"] .management-badge,
[data-theme="dark"] .sales-property-visual,
[data-theme="dark"] .land-map,
[data-theme="dark"] .media-icon-strip span,
[data-theme="dark"] .detail-table div,
[data-theme="dark"] .verification-grid span,
[data-theme="dark"] .nearby-grid span,
[data-theme="dark"] .asset-plan,
[data-theme="dark"] .asset-video {
  background-color: #181818;
  border-color: rgba(255,255,255,0.12);
}
[data-theme="dark"] .card-verified-badge,
[data-theme="dark"] .management-status-panel,
[data-theme="dark"] .eby-media-badge,
[data-theme="dark"] .plot-outline strong,
[data-theme="dark"] .gallery-fullscreen,
[data-theme="dark"] .gallery-counter,
[data-theme="dark"] .media-play-icon,
[data-theme="dark"] .media-thumb-label { background: rgba(5,5,5,0.78); }
[data-theme="dark"] .management-visual,
[data-theme="dark"] .services-page-header,
[data-theme="dark"] .site-footer { background: #050505; }
[data-theme="dark"] .property-lightbox { background: rgba(0,0,0,0.94); }
[data-theme="dark"] img,
[data-theme="dark"] video,
[data-theme="dark"] .hero-slide img,
[data-theme="dark"] .card-image img,
[data-theme="dark"] .property-gallery-main img,
[data-theme="dark"] .gallery-main-media img { filter: none; }

.home-hero-simple .hero-slide img { filter: none; object-position: center; }
.home-hero-simple .hero-media::before {
  background: linear-gradient(105deg, rgba(255,255,255,0.78) 0%, rgba(255,255,255,0.5) 44%, rgba(255,255,255,0.14) 72%, rgba(255,255,255,0) 100%);
}
.home-hero-simple .hero-media::after { opacity: 0; }
[data-theme="dark"] .home-hero-simple .hero-media::before {
  background: linear-gradient(105deg, rgba(5,5,5,0.72) 0%, rgba(8,13,20,0.48) 44%, rgba(8,13,20,0.14) 72%, rgba(5,5,5,0) 100%);
}
[data-theme="dark"] .home-hero-simple .hero-media::after { opacity: 0; }

@media (max-width: 960px) {
  .nav-primary { width: 100%; max-width: 100vw; }
  .nav-links, .nav-actions { width: 100%; min-width: 0; }
  .nav-links a { min-width: 0; overflow-wrap: anywhere; }
  .nav-primary .admin-access-link { flex: 1 1 100%; }
}

@media (max-width: 760px) {
  .home-hero-simple .hero-media::before {
    background: linear-gradient(180deg, rgba(255,255,255,0.74) 0%, rgba(255,255,255,0.48) 50%, rgba(255,255,255,0.12) 100%);
  }
  [data-theme="dark"] .home-hero-simple .hero-media::before {
    background: linear-gradient(180deg, rgba(5,5,5,0.72) 0%, rgba(8,13,20,0.48) 50%, rgba(8,13,20,0.16) 100%);
  }
}

/* ============================================
   MOBILE RESPONSIVE FINAL PASS
   ============================================ */
.mobile-theme-toggle,
.mobile-header-theme-toggle { display: none; }

@media (max-width: 960px) {
  html,
  body { max-width: 100%; overflow-x: clip; }
  body.nav-open { touch-action: none; }
  .site-header { z-index: 220; }
  .site-header .container { height: 70px; justify-content: flex-start; padding-left: clamp(0.75rem, 4vw, var(--space-md)); padding-right: clamp(0.75rem, 4vw, var(--space-md)); }
  .site-header .brand { margin-right: auto; min-width: 0; }
  .brand-logo { height: clamp(40px, 8vw, 48px); max-width: min(210px, 58vw); }
  .mobile-header-theme-toggle {
    display: inline-flex;
    width: 44px;
    height: 44px;
    min-width: 44px;
    flex: 0 0 44px;
    margin-left: 0.45rem;
  }
  .nav-toggle { position: relative; z-index: 230; flex: 0 0 44px; }
  .nav-primary {
    inset: 70px 0 0 0;
    z-index: 210;
    width: 100%;
    max-width: 100vw;
    height: calc(100dvh - 70px);
    max-height: calc(100dvh - 70px);
    padding: clamp(1rem, 4vw, 1.45rem);
    gap: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .nav-links { width: 100%; min-width: 0; gap: 0; }
  .nav-links a {
    min-height: 48px;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.78rem 0;
    font-size: 1.03rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }
  .nav-actions {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
    margin-top: 1rem;
    padding-top: 1rem;
  }
  .nav-actions > .icon-btn { display: none; }
  .mobile-header-theme-toggle svg { width: 18px; height: 18px; }
  .nav-primary .admin-access-link {
    width: 100%;
    min-height: 52px;
    justify-content: center;
    margin: 0;
    padding: 0.78rem 0.9rem;
    font-size: 0.86rem;
  }
  [data-theme="dark"] .mobile-header-theme-toggle {
    background: rgba(24,24,24,0.86);
    border-color: rgba(255,255,255,0.14);
    color: var(--sand-100);
  }
}

@media (max-width: 768px) {
  .container { padding-left: clamp(0.9rem, 4vw, 1.25rem); padding-right: clamp(0.9rem, 4vw, 1.25rem); }
  .section { padding-top: clamp(2.4rem, 8vw, 3.6rem); padding-bottom: clamp(2.4rem, 8vw, 3.6rem); }
  .page-header { padding-top: clamp(2.6rem, 8vw, 3.6rem); padding-bottom: clamp(2rem, 7vw, 3rem); }
  .page-header h1,
  .section-head h2,
  .featured-head h2 { font-size: clamp(1.8rem, 9vw, 2.55rem); line-height: 1.08; letter-spacing: 0; }
  .btn,
  button,
  input,
  select,
  textarea { max-width: 100%; }
  .btn { min-height: 44px; white-space: normal; text-align: center; padding-left: 1rem; padding-right: 1rem; }
  .hero,
  .home-hero-simple { min-height: min(690px, calc(100dvh - 70px)); }
  .hero-inner,
  .home-hero-simple-inner { padding-top: clamp(3.2rem, 10vw, 4.2rem); padding-bottom: clamp(2rem, 8vw, 3rem); min-height: min(610px, calc(100dvh - 70px)); }
  .hero-copy,
  .home-hero-simple-copy { min-height: auto; max-width: min(100%, 34rem); }
  .hero h1,
  .home-hero-simple-copy h1 { max-width: 11ch; font-size: clamp(2rem, 10vw, 3rem); line-height: 1.03; overflow-wrap: break-word; }
  .hero-sub,
  .home-hero-simple-copy .hero-sub { max-width: 34ch; font-size: clamp(0.95rem, 3.8vw, 1.04rem); line-height: 1.62; }
  .hero-actions,
  .hero-actions .btn,
  .simple-hero-controls,
  .simple-hero-controls .hero-dots { width: 100%; }
  .hero-actions .btn { justify-content: center; }
  .hero-dots { min-width: 0; }
  .hero-dots button { flex: 1 1 24px; width: auto; min-width: 22px; }
  .hero-arrow { width: 40px; height: 40px; flex: 0 0 40px; }
  .card-property,
  .service-card,
  .service-card-premium,
  .property-search-card,
  .featured-filter-shell,
  .market-filter-shell,
  .market-results-head,
  .contact-info-panel,
  .contact-form-panel { min-width: 0; border-radius: var(--radius-md); }
  .card-media { aspect-ratio: 4 / 3; }
  .card-body { padding: 0.9rem; min-width: 0; }
  .card-body h4 { font-size: clamp(1.08rem, 5vw, 1.28rem); overflow-wrap: anywhere; }
  .card-loc,
  .card-address,
  .card-category { min-width: 0; overflow-wrap: anywhere; }
  .card-address span { white-space: normal; overflow: visible; text-overflow: clip; }
  .card-price { max-width: calc(100% - 24px); font-size: 0.78rem; white-space: normal; }
  .card-badge,
  .card-featured-badge,
  .card-verified-badge,
  .card-video-badge { max-width: calc(100% - 24px); line-height: 1.2; }
  .property-modal { padding: 0.7rem; align-items: stretch; }
  .property-modal-panel { grid-template-columns: 1fr; max-height: calc(100dvh - 1.4rem); padding: 0.85rem; border-radius: var(--radius-md); }
  .property-modal-gallery { grid-template-columns: 1fr 1fr; }
  .property-modal-gallery img:first-child,
  .property-modal-gallery video:first-child,
  .modal-video-thumb:first-child { min-height: 210px; }
  .form-grid,
  .featured-filter-fields,
  .search-fields,
  .market-filter-panel,
  .contact-main-layout,
  .inquiry-dynamic-fields { grid-template-columns: 1fr; }
  .field.full,
  .market-field-wide,
  .search-field-wide { grid-column: auto; }
  .field input,
  .field select,
  .field textarea,
  .search-fields select,
  .search-fields input,
  .featured-field input,
  .featured-field select,
  .market-field input,
  .market-field select { min-height: 46px; }
  .property-search-head,
  .finder-results-head,
  .market-results-head,
  .contact-quick-actions,
  .inquiry-actions { align-items: stretch; flex-direction: column; }
  .property-search-link,
  .finder-results-head .btn,
  .market-results-tools .btn,
  .contact-quick-actions .btn,
  .inquiry-actions .btn { width: 100%; justify-content: center; }
  .gallery-grid,
  .gallery-grid[data-gallery-grid] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.65rem; }
  .gallery-media-card,
  .gallery-media-card-wide,
  .gallery-media-card-tall { grid-column: auto; grid-row: auto; min-height: 0; }
  .footer-grid-premium { grid-template-columns: 1fr; gap: 1.15rem; }
  .footer-col,
  .footer-company,
  .footer-contact-col { min-width: 0; }
  .footer-contact-list a,
  .footer-contact-list strong,
  .footer-bottom,
  .footer-legal-links { overflow-wrap: anywhere; }
}

@media (max-width: 480px) {
  .container { padding-left: 0.85rem; padding-right: 0.85rem; }
  .section { padding-top: 2.35rem; padding-bottom: 2.35rem; }
  .hero-proof { gap: 0.42rem; }
  .hero-proof span { max-width: 100%; font-size: 0.74rem; }
  .search-tabs { grid-template-columns: 1fr; }
  .search-tabs button { min-height: 62px; padding: 0.75rem; }
  .card-actions,
  .marketplace-grid .card-actions { grid-template-columns: 1fr; }
  .card-actions [data-quick-view],
  .card-actions .btn-primary,
  .card-actions .btn-wa,
  .marketplace-grid .card-actions [data-quick-view],
  .marketplace-grid .card-actions .btn-primary,
  .marketplace-grid .card-actions .btn-wa { grid-column: auto; }
  .card-icon-action { width: 100%; min-height: 42px; }
  .market-category-selector button { flex-basis: min(210px, 78vw); }
  .gallery-grid,
  .gallery-grid[data-gallery-grid] { grid-template-columns: 1fr; }
  .footer-contact-list li { grid-template-columns: 34px minmax(0, 1fr); gap: 0.12rem 0.62rem; }
  .footer-social .icon-btn { width: 40px; height: 40px; }
}

@media (max-width: 360px) {
  .brand-logo { height: 38px; max-width: 168px; }
  .nav-toggle { width: 40px; height: 40px; flex-basis: 40px; }
  .mobile-header-theme-toggle { width: 40px; height: 40px; min-width: 40px; flex-basis: 40px; margin-left: 0.35rem; }
  .site-header .container { height: 66px; gap: 0.55rem; }
  .nav-primary { inset: 66px 0 0 0; height: calc(100dvh - 66px); max-height: calc(100dvh - 66px); padding: 0.9rem; }
  .hero,
  .home-hero-simple { min-height: min(640px, calc(100dvh - 66px)); }
  .hero-inner,
  .home-hero-simple-inner { min-height: min(570px, calc(100dvh - 66px)); }
  .hero h1,
  .home-hero-simple-copy h1 { font-size: clamp(1.86rem, 10vw, 2.35rem); }
  .hero-sub,
  .home-hero-simple-copy .hero-sub { font-size: 0.92rem; }
  .btn { min-height: 42px; padding: 0.72rem 0.82rem; }
  .card-body,
  .property-search-card,
  .contact-info-panel,
  .contact-form-panel { padding: 0.82rem; }
}

/* ============================================
   CONTACT PAGE REFINEMENT
   ============================================ */
.contact-page-header { padding: clamp(3.5rem, 5vw, 4.9rem) 0 clamp(2.2rem, 3.8vw, 3.2rem); background: #081934; border-bottom: 2px solid #BA8835; }
.contact-page-header .eyebrow { color: #BA8835; }
.contact-page-header-inner { max-width: 880px; }
.contact-page-header h1 { font-size: clamp(2.05rem, 3.4vw, 3.2rem); letter-spacing: 0; line-height: 1.08; }
.contact-page-header p:not(.eyebrow):not(.breadcrumb) { max-width: 740px; color: rgba(245,239,227,0.84); line-height: 1.72; }
.contact-page-lead { margin-top: 0.9rem; margin-bottom: 0.25rem; font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: #F5EFE3; }
.contact-page-section { background: var(--bg); }
.contact-main-layout { display: grid; grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr); gap: clamp(1.4rem, 3vw, 2.4rem); align-items: start; }
.contact-info-panel,
.contact-form-panel,
.contact-location-section { border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-elevated); box-shadow: 0 16px 38px rgba(8,25,52,0.08); }
.contact-info-panel,
.contact-form-panel { padding: clamp(1.2rem, 2.4vw, 2rem); }
.contact-info-panel h2,
.contact-form-panel h2,
.contact-location-copy h2 { margin-bottom: 0.45rem; font-size: clamp(1.55rem, 2.3vw, 2.15rem); line-height: 1.18; }
.contact-info-panel > p:not(.eyebrow),
.contact-form-panel > div > p { color: var(--text-secondary); line-height: 1.7; }
.contact-method-list { display: grid; gap: 0.75rem; margin-top: 1.35rem; }
.contact-method-row { display: grid; grid-template-columns: 44px 1fr; gap: 0.85rem; align-items: center; min-height: 68px; padding: 0.85rem; border: 1px solid var(--border); border-radius: var(--radius-sm); color: inherit; background: color-mix(in srgb, var(--bg-card) 72%, transparent); transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease; }
.contact-method-row:hover { transform: translateY(-1px); border-color: rgba(186,136,53,0.45); background: color-mix(in srgb, var(--brass-500) 7%, var(--bg-card)); }
.contact-method-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(186,136,53,0.11); color: #081934; }
.contact-method-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.contact-method-row strong { display: block; margin-bottom: 0.2rem; font-size: 0.88rem; color: var(--text-primary); }
.contact-method-row small { display: block; color: var(--text-secondary); line-height: 1.45; }
.contact-method-whatsapp .contact-method-icon { color: #25D366; background: rgba(37,211,102,0.11); }
.contact-quick-actions { display: grid; grid-template-columns: 1fr; gap: 0.7rem; margin-top: 1.1rem; }
.contact-enquiry-form { margin-top: 1.2rem; }
.contact-enquiry-form .field input,
.contact-enquiry-form .field select,
.contact-enquiry-form .field textarea { background: var(--bg-card); }
.contact-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.contact-conditional { display: none; padding: 1rem; border: 1px solid color-mix(in srgb, #BA8835 28%, var(--border)); border-radius: var(--radius-sm); background: color-mix(in srgb, #BA8835 5%, var(--bg-card)); }
.contact-conditional.active { display: block; }
.contact-form-section-title { margin: 0 0 0.85rem; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #BA8835; }
.field-helper { margin-top: -0.15rem; font-size: 0.75rem; color: var(--text-muted); text-align: right; }
.contact-radio-group { margin: 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 0.65rem; }
.contact-radio-group legend { width: 100%; margin-bottom: 0.1rem; font-size: 0.85rem; font-weight: 700; color: var(--text-primary); }
.contact-radio-group label { flex: 1 1 130px; min-height: 44px; display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.7rem 0.85rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg-card); cursor: pointer; }
.contact-consent { margin-top: 0.1rem; }
.contact-consent > span:first-child { display: flex; align-items: flex-start; gap: 0.55rem; line-height: 1.55; }
.contact-form-status { min-height: 1.35rem; margin: 0 0 0.65rem; font-size: 0.86rem; font-weight: 600; }
.contact-form-status.error { color: var(--clay-500); }
.contact-form-status.success { color: var(--trust); }
.contact-result-state { padding: clamp(1.4rem, 3vw, 2.2rem); border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-card); }
.contact-result-state h3 { margin-bottom: 0.35rem; font-size: 1.45rem; }
.contact-result-state p { color: var(--text-secondary); line-height: 1.65; }
.contact-success-state { border-color: rgba(32,123,83,0.28); }
.contact-error-state { margin-top: 1rem; border-color: rgba(173,84,54,0.32); }
.contact-location-section { display: grid; grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr); gap: clamp(1rem, 2.5vw, 1.8rem); align-items: stretch; margin-top: clamp(1.4rem, 3vw, 2.4rem); padding: clamp(1.1rem, 2.4vw, 1.6rem); }
.contact-location-copy { align-self: center; }
.contact-location-copy p:not(.eyebrow) { color: var(--text-secondary); line-height: 1.7; }
.contact-map-embed { min-height: 320px; background: var(--bg-card); }
.contact-map-embed iframe { min-height: 320px; }
[data-theme="dark"] .contact-page-header { background: #050505; }
[data-theme="dark"] .contact-page-section { background: #050505; }
[data-theme="dark"] .contact-info-panel,
[data-theme="dark"] .contact-form-panel,
[data-theme="dark"] .contact-location-section,
[data-theme="dark"] .contact-result-state { background: #111111; border-color: rgba(255,255,255,0.12); box-shadow: none; }
[data-theme="dark"] .contact-method-row,
[data-theme="dark"] .contact-enquiry-form .field input,
[data-theme="dark"] .contact-enquiry-form .field select,
[data-theme="dark"] .contact-enquiry-form .field textarea,
[data-theme="dark"] .contact-radio-group label,
[data-theme="dark"] .contact-map-embed { background: #181818; border-color: rgba(255,255,255,0.12); }
[data-theme="dark"] .contact-method-row:hover { background: #1f1f1f; border-color: rgba(186,136,53,0.5); }
[data-theme="dark"] .contact-method-icon { color: #BA8835; background: rgba(186,136,53,0.14); }
[data-theme="dark"] .contact-method-whatsapp .contact-method-icon { color: #25D366; background: rgba(37,211,102,0.12); }
[data-theme="dark"] .contact-conditional { background: #181818; border-color: rgba(186,136,53,0.34); }
@media (max-width: 980px) {
  .contact-main-layout,
  .contact-location-section { grid-template-columns: 1fr; }
  .contact-info-panel { order: 2; }
  .contact-form-panel { order: 1; }
}
@media (max-width: 640px) {
  .contact-page-header { padding-top: 3rem; }
  .contact-info-panel,
  .contact-form-panel,
  .contact-location-section { padding: 1rem; }
  .contact-method-row { grid-template-columns: 40px 1fr; min-height: 64px; padding: 0.75rem; }
  .contact-method-icon { width: 40px; height: 40px; }
  .contact-radio-group label { flex-basis: 100%; }
  .contact-quick-actions .btn,
  .contact-result-state .btn { width: 100%; }
}

/* ============================================
   FAQ CATEGORY NAVIGATION
   ============================================ */
.faq-page-section .faq-cats {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  width: 100%;
  max-width: 960px;
  margin: 0 auto 0.05rem;
  padding: 0.38rem;
  border: 1px solid color-mix(in srgb, #081934 12%, var(--border));
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--bg-elevated) 94%, #081934 3%);
  box-shadow: 0 10px 24px rgba(8,25,52,0.045);
  overflow: hidden;
}
.faq-page-section .faq-cats button {
  position: relative;
  flex: 0 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.46rem;
  min-height: 42px;
  padding: 0.58rem 0.86rem;
  border: 0;
  border-radius: calc(var(--radius-sm) - 2px);
  background: transparent;
  color: #081934;
  font-size: 0.81rem;
  font-weight: 720;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: none;
  transition: color var(--transition), background var(--transition), transform var(--transition);
}
.faq-page-section .faq-cats button + button::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 18px;
  background: color-mix(in srgb, #081934 12%, transparent);
  transform: translateY(-50%);
}
.faq-page-section .faq-cats button svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: color-mix(in srgb, #081934 58%, var(--text-muted));
  transition: color var(--transition), transform var(--transition);
}
.faq-page-section .faq-cats button:hover {
  transform: translateY(-1px);
  color: #081934;
  background: color-mix(in srgb, #BA8835 8%, var(--bg-elevated));
}
.faq-page-section .faq-cats button:hover svg { color: #BA8835; }
.faq-page-section .faq-cats button.active {
  background: #081934;
  color: #fff;
  border-color: transparent;
  box-shadow: inset 0 -3px 0 #BA8835;
  font-weight: 820;
}
.faq-page-section .faq-cats button.active::before,
.faq-page-section .faq-cats button.active + button::before { opacity: 0; }
.faq-page-section .faq-cats button.active svg {
  color: #BA8835;
  transform: translateY(-0.5px);
}
[data-theme="dark"] .faq-page-section .faq-cats {
  background: #111111;
  border-color: rgba(255,255,255,0.12);
  box-shadow: none;
}
[data-theme="dark"] .faq-page-section .faq-cats button {
  background: transparent;
  color: #D8D8D8;
  border-color: transparent;
}
[data-theme="dark"] .faq-page-section .faq-cats button + button::before {
  background: rgba(255,255,255,0.1);
}
[data-theme="dark"] .faq-page-section .faq-cats button svg {
  color: #9A9A9A;
}
[data-theme="dark"] .faq-page-section .faq-cats button:hover {
  background: #181818;
  color: #F4F4F4;
}
[data-theme="dark"] .faq-page-section .faq-cats button:hover svg {
  color: #BA8835;
}
[data-theme="dark"] .faq-page-section .faq-cats button.active {
  background: #BA8835;
  color: #050505;
  box-shadow: inset 0 -3px 0 rgba(5,5,5,0.42);
}
[data-theme="dark"] .faq-page-section .faq-cats button.active svg {
  color: #050505;
}
@media (max-width: 720px) {
  .faq-page-section .faq-cats {
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 0.12rem;
    margin-left: calc(var(--space-sm) * -1);
    margin-right: calc(var(--space-sm) * -1);
    width: calc(100% + (var(--space-sm) * 2));
    max-width: none;
    padding: 0.34rem var(--space-sm);
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
  }
  .faq-page-section .faq-cats::-webkit-scrollbar { display: none; }
  .faq-page-section .faq-cats button {
    flex: 0 0 auto;
    min-height: 42px;
    padding-inline: 0.78rem;
  }
  .faq-page-section .faq-cats button + button::before { display: none; }
}

/* ============================================
   SERVICES PAGE MAJOR REFINEMENT
   ============================================ */
.services-page-header {
  position: relative;
  overflow: hidden;
  background: #081934;
  border-bottom: 2px solid #BA8835;
}
.services-page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px), linear-gradient(180deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.45;
  pointer-events: none;
}
.services-page-header::after {
  content: "";
  position: absolute;
  left: max(1.25rem, calc((100vw - 1180px) / 2));
  bottom: 0;
  width: min(420px, 34vw);
  height: 3px;
  background: #BA8835;
}
.services-page-header-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding-top: clamp(3.6rem, 5vw, 5rem);
  padding-bottom: clamp(2.1rem, 3.5vw, 3rem);
}
.services-page-header .eyebrow { color: #BA8835; }
.services-page-header h1 {
  max-width: 820px;
  margin-bottom: 0.8rem;
  color: #fff;
  font-size: clamp(2.05rem, 3.3vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: 0;
}
.services-page-header p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(245,239,227,0.84);
  font-size: clamp(0.98rem, 1.15vw, 1.08rem);
  line-height: 1.72;
}
.services-intro-section { background: var(--bg); }
.service-management-panel,
.marketing-service-section { background: color-mix(in srgb, var(--bg-card) 88%, var(--bg) 12%); }
.leasing-service-section,
.land-service-section,
.services-process-section { background: var(--bg); }
.sales-service-section { background: color-mix(in srgb, #081934 4%, var(--bg)); }
.services-final-section { background: #081934; }
.services-intro-section,
.service-management-panel,
.leasing-service-section,
.sales-service-section,
.land-service-section,
.marketing-service-section,
.services-trust-section,
.services-process-section,
.services-final-section {
  padding-top: clamp(3.35rem, 6vw, 5.6rem);
  padding-bottom: clamp(3.35rem, 6vw, 5.6rem);
}
.services-overview-layout,
.management-split,
.sales-classic,
.marketing-workflow-layout,
.services-trust-layout {
  gap: clamp(1.7rem, 4.3vw, 3.6rem);
}
.services-intro-section h2,
.service-management-panel h2,
.leasing-service-section h2,
.sales-service-section h2,
.land-service-section h2,
.marketing-service-section h2,
.services-trust-section h2,
.services-process-section h2,
.services-final-cta h2 {
  font-size: clamp(1.9rem, 3vw, 2.85rem);
  line-height: 1.12;
  letter-spacing: 0;
}
.services-intro-section p,
.service-management-panel p,
.leasing-service-section p,
.sales-service-section p,
.land-service-section p,
.marketing-service-section p,
.services-trust-section p,
.services-process-section p {
  line-height: 1.72;
}
.services-trust-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.15rem 0 1.1rem;
}
.services-trust-points span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.42rem 0.68rem;
  border: 1px solid color-mix(in srgb, #BA8835 28%, var(--border));
  border-radius: calc(var(--radius-sm) - 2px);
  background: color-mix(in srgb, #BA8835 6%, var(--bg-elevated));
  color: #081934;
  font-size: 0.78rem;
  font-weight: 800;
}
.services-overview-list {
  border-top: 1px solid color-mix(in srgb, #081934 14%, var(--border));
}
.services-overview-list a {
  min-height: 98px;
  padding: 0.95rem 0;
  border-bottom: 1px solid color-mix(in srgb, #081934 12%, var(--border));
  transition: padding var(--transition), background var(--transition), border-color var(--transition);
}
.services-overview-list a:hover {
  padding-left: 0.62rem;
  padding-right: 0.62rem;
  background: color-mix(in srgb, #BA8835 5%, transparent);
  border-bottom-color: color-mix(in srgb, #BA8835 34%, var(--border));
}
.services-overview-list i,
.trust-indicators i {
  display: inline-grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid color-mix(in srgb, #BA8835 26%, var(--border));
  border-radius: calc(var(--radius-sm) - 2px);
  background: color-mix(in srgb, #BA8835 8%, var(--bg-elevated));
  color: #BA8835;
}
.services-overview-list svg,
.trust-indicators svg,
.leasing-process svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.services-overview-list span,
.leasing-process span,
.services-journey span {
  color: #BA8835;
  letter-spacing: 0.05em;
}
.service-purpose {
  margin-top: 1.2rem;
  padding-left: 1rem;
  border-left: 3px solid #BA8835;
  color: var(--text-secondary);
}
.service-check-list {
  gap: 0.65rem 1.1rem;
  margin: 1.4rem 0 1.5rem;
}
.service-check-list li {
  align-items: center;
  min-height: 34px;
  color: var(--text-primary);
  font-size: 0.92rem;
  font-weight: 760;
}
.service-check-list svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  stroke: #BA8835;
  stroke-width: 2.25;
}
.management-visual,
.sales-property-visual {
  min-height: 370px;
  border-radius: var(--radius-md);
  box-shadow: 0 18px 42px rgba(8,25,52,0.12);
}
.management-visual {
  background: linear-gradient(135deg, #081934, color-mix(in srgb, #081934 86%, var(--bg-elevated)));
}
.management-visual::before {
  opacity: 0.58;
  background-size: 52px 52px;
}
.managed-building {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.13);
}
.managed-building::before { background: #BA8835; }
.management-badge {
  border-color: rgba(255,255,255,0.16);
  background: rgba(5,5,5,0.42);
  backdrop-filter: blur(10px);
}
.leasing-head { max-width: 720px; }
.leasing-process {
  gap: 1rem;
  margin-top: 0.6rem;
  margin-bottom: 1.65rem;
}
.leasing-process::before {
  top: 31px;
  height: 2px;
  background: linear-gradient(90deg, color-mix(in srgb, #BA8835 28%, var(--border)), #BA8835, color-mix(in srgb, #081934 20%, var(--border)));
  opacity: 0.86;
}
.leasing-process div {
  min-height: 132px;
  gap: 0.32rem;
  padding-top: 4.65rem;
}
.leasing-process div::before { display: none; }
.leasing-process i {
  position: absolute;
  top: 0.72rem;
  left: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 4px solid var(--bg);
  border-radius: 50%;
  background: #BA8835;
  color: #081934;
  box-shadow: 0 0 0 1px color-mix(in srgb, #BA8835 28%, var(--border)), 0 8px 18px rgba(186,136,53,0.14);
}
.leasing-process div:not(:last-child)::after {
  top: 0.8rem;
  color: color-mix(in srgb, #BA8835 82%, #081934);
  font-size: 1.08rem;
}
.leasing-process strong {
  color: var(--text-primary);
  font-size: 0.96rem;
  font-weight: 820;
}
.sales-property-visual {
  background: linear-gradient(180deg, color-mix(in srgb, var(--bg-elevated) 88%, #BA8835 4%), var(--bg-card));
}
.sales-house-shape {
  border-color: color-mix(in srgb, #081934 18%, var(--border));
  box-shadow: 0 14px 32px rgba(8,25,52,0.1);
}
.sales-house-shape::before { background: #081934; }
.land-service-section h2 { max-width: 780px; }
.land-detail-grid span {
  border-color: color-mix(in srgb, #BA8835 24%, var(--border));
  background: color-mix(in srgb, #BA8835 5%, var(--bg-elevated));
  font-weight: 750;
}
.land-map {
  border-radius: var(--radius-md);
  border-color: color-mix(in srgb, #081934 14%, var(--border));
  box-shadow: 0 16px 38px rgba(8,25,52,0.08);
}
.plot-labels span {
  border-color: color-mix(in srgb, #BA8835 32%, var(--border));
  background: color-mix(in srgb, #BA8835 8%, var(--bg-elevated));
}
.media-icon-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 1.3rem 0 1.45rem;
}
.media-icon-strip span {
  display: inline-flex;
  align-items: center;
  gap: 0.52rem;
  min-height: 44px;
  padding: 0.62rem 0.78rem;
  border: 1px solid color-mix(in srgb, #081934 12%, var(--border));
  border-radius: calc(var(--radius-sm) - 2px);
  background: var(--bg-elevated);
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 760;
}
.media-icon-strip svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  fill: none;
  stroke: #BA8835;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.marketing-flow {
  gap: 0;
  border-left: 2px solid color-mix(in srgb, #BA8835 30%, var(--border));
}
.marketing-flow article {
  position: relative;
  padding: 0.85rem 0 1.2rem 1.25rem;
  border-left: 0;
}
.marketing-flow article::before {
  content: "";
  position: absolute;
  left: -0.48rem;
  top: 1rem;
  width: 0.85rem;
  height: 0.85rem;
  border: 3px solid var(--bg-card);
  border-radius: 50%;
  background: #BA8835;
}
.marketing-flow span {
  color: #081934;
  font-size: clamp(1.2rem, 2.1vw, 1.65rem);
}
.services-trust-section {
  background: #081934;
  color: #fff;
}
.services-trust-section .eyebrow,
.services-trust-section .trust-statement p { color: #BA8835; }
.services-trust-section h2 {
  max-width: 13ch;
  color: #fff;
}
.services-trust-section .trust-statement > p:not(.eyebrow) {
  max-width: 46ch;
  color: rgba(245,239,227,0.78);
}
.trust-indicators {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.045);
  box-shadow: none;
}
.trust-indicators article {
  min-height: 140px;
  padding: 1rem;
  border-right-color: rgba(255,255,255,0.1);
  border-bottom-color: rgba(255,255,255,0.1);
}
.trust-indicators article::before { display: none; }
.trust-indicators i {
  width: 2.15rem;
  height: 2.15rem;
  margin-bottom: 0.7rem;
  background: rgba(186,136,53,0.14);
  border-color: rgba(186,136,53,0.34);
}
.trust-indicators strong {
  display: block;
  color: #fff;
  font-weight: 820;
}
.trust-indicators p {
  margin-top: 0.28rem;
  color: rgba(245,239,227,0.72);
  font-size: 0.86rem;
}
.services-process-section .section-head { max-width: 760px; margin-inline: auto; }
.services-journey {
  gap: 0;
  margin-top: clamp(1.7rem, 3vw, 2.3rem);
}
.services-journey::before {
  top: 2.12rem;
  background: linear-gradient(90deg, color-mix(in srgb, #BA8835 28%, var(--border)), #BA8835, color-mix(in srgb, #081934 20%, var(--border)));
  opacity: 0.86;
}
.services-journey article {
  padding: 0 0.7rem;
  transition: transform var(--transition);
}
.services-journey article:hover { transform: translateY(-2px); }
.services-journey i {
  width: 2.25rem;
  height: 2.25rem;
  background: #BA8835;
  border-width: 4px;
  color: #081934;
  box-shadow: 0 8px 20px rgba(186,136,53,0.12);
}
.services-journey article:not(:last-child)::after {
  color: color-mix(in srgb, #BA8835 82%, #081934);
}
.services-journey strong {
  color: var(--text-primary);
  font-weight: 820;
}
.services-journey p {
  color: var(--text-secondary);
}
.services-final-cta {
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  background: #081934;
  box-shadow: none;
}
.services-final-cta h2,
.services-final-cta p,
.services-final-cta .eyebrow { color: #fff; }
.services-final-cta .eyebrow { color: #BA8835; }
.services-final-cta p {
  max-width: 640px;
  line-height: 1.72;
}
.services-final-cta .btn { min-height: 46px; }
.services-page-header .btn,
.service-management-panel .btn,
.leasing-service-section .btn,
.sales-service-section .btn,
.land-service-section .btn,
.marketing-service-section .btn,
.services-final-section .btn {
  min-height: 46px;
  border-radius: var(--radius-sm);
  font-weight: 800;
}
[data-theme="dark"] .services-page-header,
[data-theme="dark"] .services-final-section,
[data-theme="dark"] .services-final-cta {
  background: #050505;
}
[data-theme="dark"] .services-intro-section,
[data-theme="dark"] .leasing-service-section,
[data-theme="dark"] .land-service-section,
[data-theme="dark"] .services-process-section {
  background: #050505;
}
[data-theme="dark"] .service-management-panel,
[data-theme="dark"] .sales-service-section,
[data-theme="dark"] .marketing-service-section {
  background: #0B0B0B;
}
[data-theme="dark"] .services-trust-section {
  background: #111111;
}
[data-theme="dark"] .services-trust-points span,
[data-theme="dark"] .services-overview-list i,
[data-theme="dark"] .media-icon-strip span,
[data-theme="dark"] .land-detail-grid span,
[data-theme="dark"] .plot-labels span,
[data-theme="dark"] .trust-indicators,
[data-theme="dark"] .management-badge,
[data-theme="dark"] .sales-property-visual,
[data-theme="dark"] .land-map {
  background: #181818;
  border-color: rgba(255,255,255,0.12);
}
[data-theme="dark"] .services-trust-points span,
[data-theme="dark"] .marketing-flow span {
  color: #F4F4F4;
}
[data-theme="dark"] .management-visual {
  background: linear-gradient(135deg, #050505, #181818);
}
[data-theme="dark"] .leasing-process i,
[data-theme="dark"] .services-journey i {
  border-color: #050505;
}
[data-theme="dark"] .marketing-flow article::before {
  border-color: #0B0B0B;
}
@media (max-width: 1080px) {
  .media-icon-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .leasing-process {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .leasing-process::before {
    left: 1.22rem;
    right: auto;
    top: 1rem;
    bottom: 1rem;
    width: 2px;
    height: auto;
  }
  .leasing-process div {
    min-height: 0;
    padding: 0.15rem 0 1.15rem 3.4rem;
  }
  .leasing-process i {
    left: 0;
    top: 0;
  }
  .leasing-process div:not(:last-child)::after {
    content: "\2193";
    left: 0.86rem;
    right: auto;
    top: auto;
    bottom: -0.38rem;
  }
  .services-journey {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .services-journey::before {
    left: 1.12rem;
    right: auto;
    top: 1rem;
    bottom: 1rem;
    width: 2px;
    height: auto;
  }
  .services-journey article {
    grid-template-columns: 2.3rem minmax(0, 1fr);
    justify-items: start;
    text-align: left;
    column-gap: 0.85rem;
    padding: 0 0 1.25rem;
  }
  .services-journey article:not(:last-child)::after {
    content: "\2193";
    left: 0.86rem;
    right: auto;
    top: auto;
    bottom: -0.2rem;
  }
  .services-journey span { grid-column: 2; grid-row: 1; }
  .services-journey i { grid-column: 1; grid-row: 1 / span 3; }
  .services-journey strong { grid-column: 2; grid-row: 2; }
  .services-journey p { grid-column: 2; grid-row: 3; }
}
@media (max-width: 640px) {
  .services-page-header-inner { padding-top: 3.1rem; }
  .services-intro-section,
  .service-management-panel,
  .leasing-service-section,
  .sales-service-section,
  .land-service-section,
  .marketing-service-section,
  .services-trust-section,
  .services-process-section,
  .services-final-section {
    padding-top: 2.7rem;
    padding-bottom: 2.7rem;
  }
  .services-overview-list a { grid-template-columns: 2.35rem minmax(0, 1fr) auto; min-height: 92px; }
  .services-overview-list a p { grid-column: 2 / -1; }
  .service-check-list,
  .media-icon-strip,
  .trust-indicators { grid-template-columns: 1fr; }
  .management-visual,
  .sales-property-visual { min-height: 300px; }
  .services-trust-section h2 { max-width: 100%; }
  .services-final-cta .btn-row,
  .services-final-cta .btn,
  .service-management-panel .btn,
  .leasing-service-section .btn,
  .sales-service-section .btn,
  .land-service-section .btn,
  .marketing-service-section .btn { width: 100%; }
}

/* ============================================
   GALLERY PAGE MAJOR REFINEMENT
   ============================================ */
.gallery-page-header {
  padding: clamp(3.5rem, 5vw, 4.9rem) 0 clamp(2.15rem, 3.8vw, 3.2rem);
  background: #081934;
  border-bottom: 2px solid #BA8835;
}
.gallery-page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px), linear-gradient(180deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
}
.gallery-page-header-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
}
.gallery-page-header .eyebrow { color: #BA8835; }
.gallery-page-header h1 {
  margin-bottom: 0.7rem;
  font-size: clamp(2.05rem, 3.4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: 0;
}
.gallery-page-header p:not(.eyebrow):not(.breadcrumb) {
  max-width: 760px;
  color: rgba(245,239,227,0.84);
  line-height: 1.72;
}
.gallery-page-lead {
  margin: 0.65rem 0 0.18rem;
  font-size: clamp(1.03rem, 1.5vw, 1.24rem);
  color: #F5EFE3;
}
.gallery-page-section { background: var(--bg); }
.gallery-page-container { max-width: 1160px; }
.gallery-coming-soon {
  max-width: 680px;
  margin: 0 auto;
  padding: clamp(1.4rem, 3.5vw, 2.4rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.gallery-coming-soon h2 {
  margin: 0.25rem 0 0.6rem;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}
.gallery-coming-soon p:not(.eyebrow) {
  max-width: 460px;
  margin: 0 auto;
  color: var(--text-secondary);
}
.gallery-toolbar {
  display: grid;
  gap: 1rem;
  margin-bottom: clamp(1.2rem, 2.4vw, 1.9rem);
}
.gallery-search {
  position: relative;
  display: block;
  max-width: 680px;
}
.gallery-search svg {
  position: absolute;
  left: 1rem;
  top: 50%;
  width: 19px;
  height: 19px;
  transform: translateY(-50%);
  color: #BA8835;
  stroke-width: 2;
}
.gallery-search input {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-elevated);
  color: var(--text-primary);
  padding: 0.85rem 1rem 0.85rem 2.95rem;
  box-shadow: 0 12px 28px rgba(8,25,52,0.07);
}
.gallery-search input:focus {
  outline: 0;
  border-color: #BA8835;
  box-shadow: 0 0 0 4px rgba(186,136,53,0.14);
}
.gallery-filters[data-gallery-tabs] {
  display: flex;
  align-items: stretch;
  gap: 0;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 0.35rem;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: color-mix(in srgb, var(--bg-elevated) 88%, #BA8835 4%);
  box-shadow: 0 14px 30px rgba(8,25,52,0.08);
  scrollbar-width: thin;
}
.gallery-filters[data-gallery-tabs] button {
  position: relative;
  display: inline-grid;
  grid-template-columns: 22px max-content;
  align-items: center;
  gap: 0.56rem;
  min-height: 48px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #081934;
  padding: 0.55rem 0.8rem;
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.gallery-filters[data-gallery-tabs] button + button::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: var(--border);
}
.gallery-filters[data-gallery-tabs] button svg {
  width: 20px;
  height: 20px;
  color: rgba(8,25,52,0.62);
}
.gallery-filters[data-gallery-tabs] strong,
.gallery-filters[data-gallery-tabs] small {
  display: block;
  text-align: left;
}
.gallery-filters[data-gallery-tabs] strong {
  font-size: 0.84rem;
  font-weight: 800;
}
.gallery-filters[data-gallery-tabs] small {
  margin-top: 0.08rem;
  color: var(--text-secondary);
  font-size: 0.68rem;
  font-weight: 700;
}
.gallery-filters[data-gallery-tabs] button:hover {
  background: rgba(186,136,53,0.09);
  transform: translateY(-1px);
}
.gallery-filters[data-gallery-tabs] button.active {
  background: #081934;
  color: #fff;
  box-shadow: none;
}
.gallery-filters[data-gallery-tabs] button.active::after {
  content: "";
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.34rem;
  height: 2px;
  border-radius: 999px;
  background: #BA8835;
}
.gallery-filters[data-gallery-tabs] button.active svg,
.gallery-filters[data-gallery-tabs] button.active small {
  color: #BA8835;
}
.gallery-summary {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 700;
}
.gallery-grid[data-gallery-grid] {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 0.85rem;
}
.gallery-media-card {
  position: relative;
  display: block;
  min-height: 0;
  width: 100%;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--border) 78%, transparent);
  border-radius: 10px;
  background: #081934;
  color: #fff;
  padding: 0;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 14px 30px rgba(8,25,52,0.08);
}
.gallery-media-card-wide { grid-column: span 2; aspect-ratio: 16 / 9; }
.gallery-media-card-tall { grid-row: span 2; aspect-ratio: 3 / 4; }
.gallery-media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease, filter 420ms ease;
}
.gallery-media-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,25,52,0.05), rgba(8,25,52,0.78));
  opacity: 0.92;
  pointer-events: none;
}
.gallery-media-card:hover img,
.gallery-media-card:focus-visible img {
  transform: scale(1.045);
  filter: saturate(1.04);
}
.gallery-media-card:focus-visible {
  outline: 3px solid rgba(186,136,53,0.55);
  outline-offset: 3px;
}
.gallery-media-badges,
.gallery-video-label,
.gallery-media-overlay {
  position: absolute;
  z-index: 2;
}
.gallery-media-badges {
  top: 0.72rem;
  left: 0.72rem;
  right: 0.72rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
}
.gallery-media-badges span,
.gallery-video-label,
.gallery-status {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.88);
  color: #081934;
  padding: 0.32rem 0.62rem;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  backdrop-filter: blur(12px);
}
.gallery-status.sold,
.gallery-status.rented {
  background: rgba(8,25,52,0.88);
  color: #fff;
  border: 1px solid rgba(186,136,53,0.5);
}
.gallery-video-label {
  right: 0.72rem;
  bottom: 0.72rem;
  background: rgba(8,25,52,0.82);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.24);
}
.gallery-video-label svg {
  width: 14px;
  height: 14px;
  fill: #BA8835;
}
.gallery-media-overlay {
  left: 0.82rem;
  right: 0.82rem;
  bottom: 0.82rem;
  display: grid;
  gap: 0.28rem;
  transition: transform var(--transition);
}
.gallery-media-card:hover .gallery-media-overlay { transform: translateY(-2px); }
.gallery-media-overlay strong {
  color: #fff;
  font-size: clamp(0.98rem, 1.2vw, 1.12rem);
  line-height: 1.2;
}
.gallery-media-overlay small,
.gallery-land-context {
  color: rgba(255,255,255,0.82);
  font-size: 0.78rem;
  font-weight: 700;
}
.gallery-view-icon {
  width: fit-content;
  margin-top: 0.18rem;
  color: #BA8835;
  font-style: normal;
  font-size: 0.76rem;
  font-weight: 900;
}
.gallery-actions {
  display: flex;
  justify-content: center;
  margin-top: clamp(1.2rem, 2.5vw, 2rem);
}
.gallery-actions [hidden] { display: none; }
.gallery-empty {
  max-width: 680px;
  margin: 1.5rem auto 0;
  padding: clamp(1.2rem, 3vw, 1.8rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  text-align: center;
}
.gallery-empty h2 {
  margin-bottom: 0.45rem;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}
.gallery-empty p { color: var(--text-secondary); }
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: none;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: clamp(1rem, 2.5vw, 1.6rem);
  align-items: center;
  padding: clamp(1rem, 3vw, 2rem);
  background: rgba(0,0,0,0.94);
  color: #fff;
}
.gallery-lightbox.visible { display: grid; }
.gallery-lightbox-stage {
  display: grid;
  place-items: center;
  min-height: min(72vh, 760px);
}
.gallery-lightbox-stage img,
.gallery-lightbox-stage video {
  max-width: 100%;
  max-height: 82vh;
  border-radius: 12px;
  object-fit: contain;
  background: #000;
  box-shadow: 0 30px 80px rgba(0,0,0,0.38);
}
.gallery-lightbox-info {
  border-left: 1px solid rgba(255,255,255,0.14);
  padding-left: clamp(1rem, 2vw, 1.4rem);
}
.gallery-lightbox-info span {
  color: #BA8835;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
}
.gallery-lightbox-info h2 {
  margin: 0.55rem 0 0.65rem;
  color: #fff;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}
.gallery-lightbox-info p {
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
}
.gallery-lightbox-info .btn { margin-top: 1rem; }
.gallery-lightbox-close,
.gallery-lightbox-fullscreen,
.gallery-lightbox-nav {
  position: fixed;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  background: rgba(17,17,17,0.78);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(14px);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.gallery-lightbox-close {
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  font-size: 1.7rem;
}
.gallery-lightbox-fullscreen {
  top: 1rem;
  right: 4.4rem;
  min-height: 44px;
  padding: 0 0.95rem;
  font-size: 0.76rem;
  font-weight: 900;
}
.gallery-lightbox-nav {
  top: 50%;
  width: 46px;
  height: 46px;
  transform: translateY(-50%);
  font-size: 1.9rem;
}
.gallery-lightbox-nav.prev { left: 1rem; }
.gallery-lightbox-nav.next { right: calc(340px + 2.4rem); }
.gallery-lightbox-close:hover,
.gallery-lightbox-fullscreen:hover,
.gallery-lightbox-nav:hover {
  background: #BA8835;
  color: #081934;
}
[data-theme="dark"] .gallery-page-header { background: #050505; }
[data-theme="dark"] .gallery-page-section { background: #050505; }
[data-theme="dark"] .gallery-coming-soon,
[data-theme="dark"] .gallery-search input,
[data-theme="dark"] .gallery-empty {
  background: #111111;
  border-color: rgba(255,255,255,0.12);
  box-shadow: none;
}
[data-theme="dark"] .gallery-filters[data-gallery-tabs] {
  background: #111111;
  border-color: rgba(255,255,255,0.12);
  box-shadow: none;
}
[data-theme="dark"] .gallery-filters[data-gallery-tabs] button {
  color: rgba(255,255,255,0.84);
}
[data-theme="dark"] .gallery-filters[data-gallery-tabs] button svg {
  color: rgba(255,255,255,0.54);
}
[data-theme="dark"] .gallery-filters[data-gallery-tabs] button + button::before {
  background: rgba(255,255,255,0.1);
}
[data-theme="dark"] .gallery-filters[data-gallery-tabs] button:hover {
  background: rgba(186,136,53,0.12);
}
[data-theme="dark"] .gallery-filters[data-gallery-tabs] button.active {
  background: #BA8835;
  color: #081934;
}
[data-theme="dark"] .gallery-filters[data-gallery-tabs] button.active svg,
[data-theme="dark"] .gallery-filters[data-gallery-tabs] button.active small {
  color: #081934;
}
[data-theme="dark"] .gallery-media-card {
  border-color: rgba(255,255,255,0.1);
  box-shadow: none;
}
[data-theme="dark"] .gallery-media-card img { filter: none; }
@media (max-width: 1020px) {
  .gallery-grid[data-gallery-grid] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gallery-lightbox { grid-template-columns: 1fr; align-content: center; }
  .gallery-lightbox-stage { min-height: 56vh; }
  .gallery-lightbox-info {
    max-width: 760px;
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,0.14);
    padding: 1rem 0 0;
  }
  .gallery-lightbox-nav.next { right: 1rem; }
}
@media (max-width: 760px) {
  .gallery-page-header { padding-top: 3rem; }
  .gallery-filters[data-gallery-tabs] {
    width: 100%;
    border-radius: 12px;
  }
  .gallery-filters[data-gallery-tabs] button {
    min-height: 46px;
    padding-inline: 0.72rem;
  }
  .gallery-grid[data-gallery-grid] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }
  .gallery-media-card,
  .gallery-media-card-wide,
  .gallery-media-card-tall {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }
  .gallery-media-overlay strong { font-size: 0.9rem; }
  .gallery-media-badges span,
  .gallery-video-label,
  .gallery-status {
    padding: 0.26rem 0.48rem;
    font-size: 0.64rem;
  }
  .gallery-lightbox {
    padding: 0.85rem;
  }
  .gallery-lightbox-stage img,
  .gallery-lightbox-stage video {
    max-height: 62vh;
  }
  .gallery-lightbox-nav {
    width: 40px;
    height: 40px;
  }
}
@media (max-width: 520px) {
  .gallery-grid[data-gallery-grid] { grid-template-columns: 1fr; }
  .gallery-search input { min-height: 50px; }
  .gallery-lightbox-stage { min-height: 48vh; }
}

