/* ============================================================
   BERMUDA SPRINGS CORPORATE PLAZA — page styles
   Built on the MDL Group design system tokens (css/tokens/).
   ============================================================ */

html { scroll-behavior: smooth; }

/* WCAG AA: the design system's steel-500 (#76777a) sits at 4.1–4.5:1 on
   this page's light surfaces — just under the 4.5:1 minimum for the
   11–14px text it labels. Darkened here to clear AA on white, paper,
   and steel-50 (4.8–5.3:1). Dark-surface text uses steel-300 instead. */
:root { --mdl-steel-500: #6b6c6f; }

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

/* Skip link — visually hidden until keyboard focus */
.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 100;
  background: var(--mdl-ink);
  color: var(--mdl-white);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: var(--fw-bold);
  transition: top 150ms;
}
.skip-link:focus { top: 10px; color: var(--mdl-white); }

body {
  background: var(--mdl-paper);
  color: var(--mdl-ink);
  font-family: var(--font-body);
}

a { color: var(--mdl-green-700); text-decoration: none; }
a:hover { color: var(--mdl-green-900); text-decoration: none; }

button { font-family: inherit; }

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

/* The hidden attribute must win over any display rule (e.g. .btn's flex). */
[hidden] { display: none !important; }

#explorer, #pricing, #contact { scroll-margin-top: 72px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-weight: var(--fw-bold);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 150ms, color 150ms, border-color 150ms;
}
.btn-sm { height: 36px; padding: 0 16px; font-size: 13px; }
.btn-md { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-lg { height: 48px; padding: 0 22px; font-size: 15px; }
.btn-block { width: 100%; }

.btn-primary { background: var(--mdl-green); color: var(--mdl-white); }
.btn-primary:hover { background: var(--mdl-green-700); color: var(--mdl-white); }

.btn-secondary {
  background: var(--mdl-white);
  border: 1px solid var(--mdl-steel-200);
  color: var(--mdl-ink);
}
.btn-secondary:hover:not(:disabled) { border-color: var(--mdl-green); color: var(--mdl-green); }
.btn-secondary:disabled { opacity: 0.55; cursor: default; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 12px 22px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-md);
  color: var(--mdl-white);
  font-size: 15px;
  font-weight: var(--fw-bold);
  text-decoration: none;
  transition: border-color 150ms;
}
.btn-ghost:hover { border-color: var(--mdl-white); color: var(--mdl-white); }

/* ---- Badges ---- */
.badge {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: var(--fw-black);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.badge-brand { background: var(--mdl-green-100); color: var(--mdl-green-800); }
.badge-neutral { background: var(--mdl-steel-100); color: var(--mdl-steel-700); }

/* ---- Shared section furniture ---- */
.eyebrow {
  font-size: 12px;
  font-weight: var(--fw-black);
  letter-spacing: var(--ls-overline);
  text-transform: uppercase;
  color: var(--mdl-green);
  margin-bottom: 10px;
}
.eyebrow-on-dark { color: var(--mdl-green-300); margin-bottom: 12px; }

.section { padding: 76px 0; }

.section-title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: var(--fw-black);
  font-size: 32px;
  letter-spacing: var(--ls-snug);
}

.section-lede {
  margin: 0 0 30px;
  max-width: 640px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--mdl-steel-700);
}

.card {
  background: var(--mdl-white);
  border: 1px solid var(--mdl-steel-100);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 3px rgba(26, 26, 26, 0.06);
}

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--mdl-steel-100);
}
.header-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand-home { display: flex; }
.brand-logo { height: 34px; display: block; }
.brand-divider { width: 1px; height: 26px; background: var(--mdl-steel-200); }
.brand-name {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 15px;
  letter-spacing: var(--ls-snug);
  white-space: nowrap;
}
.site-nav { display: flex; align-items: center; gap: 22px; }
.nav-link { font-size: 13px; font-weight: var(--fw-semibold); color: var(--mdl-steel-700); }
.nav-link:hover { color: var(--mdl-green); }

/* ---- Hero ---- */
.hero {
  background: var(--mdl-ink);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 36px), 0 100%);
  padding: 80px 0 110px;
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}
.hero-badges { display: flex; gap: 8px; margin-bottom: 22px; }
.hero-title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: var(--fw-ultra);
  font-size: clamp(40px, 4.6vw, 58px);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  color: var(--mdl-white);
}
.hero-title span { display: block; }
.hero-title-accent { color: var(--mdl-green-300); }
.hero-lede {
  margin: 0 0 28px;
  max-width: 560px;
  font-size: 16px;
  line-height: var(--lh-relaxed);
  color: var(--mdl-steel-300);
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.stat-rule { width: 28px; height: 4px; background: var(--mdl-green); margin-bottom: 10px; }
.stat-figure {
  font-family: var(--font-display);
  font-weight: var(--fw-black);
  font-size: 26px;
  color: var(--mdl-white);
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: 11px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mdl-steel-300); /* AA on ink; steel-500 is 3.9:1 there */
  margin-top: 4px;
}
.hero-photo {
  position: relative;
  height: 440px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--mdl-steel-900);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---- Suite explorer ---- */
.section-explorer { padding: 76px 0 72px; }

.explorer-controls {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.bld-toggle {
  display: inline-flex;
  border: 1px solid var(--mdl-steel-200);
  border-radius: 8px;
  overflow: hidden;
  background: var(--mdl-white);
}
.bld-tab {
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  text-align: left;
  background: transparent;
  color: var(--mdl-ink);
  transition: background 150ms, color 150ms;
}
.bld-tab.active { background: var(--mdl-green); color: var(--mdl-white); }
.bld-tab-name {
  display: block;
  font-family: var(--font-display);
  font-weight: var(--fw-black);
  font-size: 15px;
}
.bld-tab-meta {
  display: block;
  font-size: 11px;
  opacity: 0.75;
}
.bld-tab.active .bld-tab-meta {
  opacity: 0.9; /* AA for white-on-green at 11px */
  margin-top: 2px;
  font-variant-numeric: tabular-nums;
}

.combine-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 0;
}
.switch-track {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
  border-radius: 11px;
  background: var(--mdl-steel-500); /* 3:1+ non-text contrast when off */
  transition: background 150ms;
  flex-shrink: 0;
}
.switch-track.on { background: var(--mdl-green); }
.switch-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--mdl-white);
  transition: left 150ms;
  box-shadow: 0 1px 2px rgba(26, 26, 26, 0.3);
}
.switch-track.on .switch-knob { left: 20px; }
.combine-labels { text-align: left; }
.combine-title { display: block; font-weight: var(--fw-bold); font-size: 13px; color: var(--mdl-ink); }
.combine-sub { display: block; font-size: 11px; color: var(--mdl-steel-500); }

.explorer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 24px;
  align-items: start;
}

.plan-card { padding: 28px; }
.plan-wrap { position: relative; }
.plan-shell { position: relative; }
.plan-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Horizontal-scroll affordances — driven by .can-left/.can-right, which
   the JS only sets when the plan actually overflows (i.e. small screens):
   edge fades over the clipped side, plus a one-time swipe hint pill. */
.plan-shell::before,
.plan-shell::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 28px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 150ms;
  z-index: 2;
}
.plan-shell::before { left: 0; background: linear-gradient(to right, var(--mdl-white), rgba(255, 255, 255, 0)); }
.plan-shell::after { right: 0; background: linear-gradient(to left, var(--mdl-white), rgba(255, 255, 255, 0)); }
.plan-shell.can-left::before { opacity: 1; }
.plan-shell.can-right::after { opacity: 1; }

.plan-swipe-hint {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  background: rgba(26, 26, 26, 0.82);
  color: var(--mdl-white);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.04em;
  white-space: nowrap;
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  transition: opacity 300ms;
}
.plan-shell.can-right:not(.hint-dismissed) .plan-swipe-hint,
.plan-shell.can-left:not(.hint-dismissed) .plan-swipe-hint { opacity: 1; }
.plan-figure { position: relative; }
.plan-figure img { width: 100%; height: auto; display: block; }
.plan-figure svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.suite-poly {
  fill: rgba(0, 0, 0, 0);
  stroke: none;
  cursor: pointer;
  transition: fill 150ms;
  -webkit-tap-highlight-color: transparent;
}
/* Tap/click focus shows no ring; the green focus indicator below is
   keyboard-only (:focus-visible), so accessibility is preserved. */
.suite-poly:focus { outline: none; }
.suite-poly.is-hovered { fill: rgba(4, 120, 50, 0.10); }
.suite-poly:focus-visible {
  outline: none;
  fill: rgba(4, 120, 50, 0.10);
  stroke: var(--mdl-green-500);
  stroke-width: 4;
}
.suite-poly.is-selected { fill: rgba(4, 120, 50, 0.20); stroke: var(--mdl-green); stroke-width: 4; }
/* Off-market suites: washed out, no pointer, no hover tint (rule order
   lets these win over .is-hovered at equal specificity). */
.suite-poly.is-unavailable,
.suite-poly.is-unavailable.is-hovered { fill: rgba(250, 251, 252, 0.65); cursor: default; }
.status-stamp {
  /* font-size is set per stamp in js/app.js, fitted to the suite */
  font-family: var(--font-body);
  font-weight: var(--fw-black);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  fill: var(--mdl-steel-500);
  stroke: #ffffff;
  stroke-width: 8;
  paint-order: stroke;
  text-anchor: middle;
  dominant-baseline: middle;
  pointer-events: none;
}

.plan-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  transform: translateX(-50%);
  background: var(--mdl-ink);
  color: var(--mdl-white);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 12px;
  line-height: 1.5;
  white-space: nowrap;
  pointer-events: none;
  z-index: 5;
  box-shadow: 0 8px 24px rgba(26, 26, 26, 0.25);
}
.tip-suite { font-family: var(--font-display); font-weight: var(--fw-black); font-size: 13px; margin-bottom: 2px; }
.tip-line { font-variant-numeric: tabular-nums; }
.tip-lease { color: var(--mdl-green-300); font-weight: var(--fw-bold); font-variant-numeric: tabular-nums; }

.road-label {
  border-top: 1px dashed var(--mdl-steel-200);
  margin-top: 18px;
  padding-top: 10px;
  text-align: center;
  font-size: 11px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mdl-steel-500);
}
.plan-legend {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 14px;
  font-size: 11px;
  color: var(--mdl-steel-500);
}
.legend-item { display: inline-flex; align-items: center; gap: 7px; }
.legend-swatch { width: 14px; height: 14px; box-sizing: border-box; }
.legend-selected { background: rgba(4, 120, 50, 0.20); border: 2px solid var(--mdl-green); }
.legend-boundary { width: 22px; border-top: 2px dashed var(--mdl-danger); }
.legend-common {
  border: 1px solid var(--mdl-steel-500);
  background: repeating-linear-gradient(45deg, var(--mdl-steel-100) 0 3px, var(--mdl-white) 3px 6px);
}
.legend-unavailable {
  border: 1px solid var(--mdl-steel-500);
  background:
    linear-gradient(135deg, transparent 44%, var(--mdl-steel-500) 44% 56%, transparent 56%),
    var(--mdl-paper);
}
.building-facts { margin-top: 18px; font-size: 12px; color: var(--mdl-steel-500); line-height: 1.6; }
.plan-disclaimer { margin-top: 6px; font-size: 11px; color: var(--mdl-steel-500); line-height: 1.5; }

/* ---- Suite detail panel ---- */
.detail-card { position: sticky; top: 88px; padding: 24px; }
.detail-kicker {
  font-size: 11px;
  font-weight: var(--fw-black);
  letter-spacing: var(--ls-overline);
  text-transform: uppercase;
  color: var(--mdl-green);
  margin-bottom: 6px;
}
.detail-title {
  font-family: var(--font-display);
  font-weight: var(--fw-black);
  font-size: 25px;
  letter-spacing: var(--ls-snug);
}
.detail-addr { font-size: 13px; color: var(--mdl-steel-500); margin-top: 2px; }
.detail-figures {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 18px 0 6px;
  padding: 14px 0;
  border-top: 1px solid var(--mdl-steel-100);
  border-bottom: 1px solid var(--mdl-steel-100);
}
.fig-label {
  font-size: 11px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mdl-steel-500);
}
.fig-sale {
  font-family: var(--font-display);
  font-weight: var(--fw-black);
  font-size: 27px;
  color: var(--mdl-green);
  font-variant-numeric: tabular-nums;
  margin-top: 2px;
}
.fig-lease {
  font-weight: var(--fw-bold);
  font-size: 15px;
  color: var(--mdl-ink);
  font-variant-numeric: tabular-nums;
  margin-top: 8px;
}
.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--mdl-steel-100);
}
.spec-row .k { font-size: 13px; color: var(--mdl-steel-700); }
.spec-row .v { font-size: 13px; font-weight: var(--fw-semibold); text-align: right; font-variant-numeric: tabular-nums; }
.combo-note {
  margin-top: 12px;
  padding: 10px 12px;
  background: var(--mdl-green-50);
  border-radius: var(--radius-md);
  font-size: 12px;
  line-height: 1.55;
  color: var(--mdl-steel-700);
}
.detail-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; }
.copy-link {
  background: none;
  border: none;
  cursor: pointer;
  align-self: center;
  padding: 4px 0;
  font-size: 12px;
  font-weight: var(--fw-semibold);
  color: var(--mdl-steel-500);
  transition: color 150ms;
}
.copy-link:hover { color: var(--mdl-green); }

/* ---- Compare ---- */
.compare-section {
  background: var(--mdl-steel-50);
  border-top: 1px solid var(--mdl-steel-100);
  border-bottom: 1px solid var(--mdl-steel-100);
  padding: 64px 0;
}
.compare-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.compare-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: var(--fw-black);
  font-size: 28px;
  letter-spacing: var(--ls-snug);
}
.clear-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: var(--fw-bold);
  color: var(--mdl-steel-500);
  padding: 6px 0;
}
.clear-btn:hover { color: var(--mdl-danger); }
.compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  max-width: 960px;
}
.compare-card {
  background: var(--mdl-white);
  border: 1px solid var(--mdl-steel-100);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: 0 1px 3px rgba(26, 26, 26, 0.06);
}
.compare-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.compare-bldg {
  font-size: 11px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mdl-steel-500);
}
.compare-suite { font-family: var(--font-display); font-weight: var(--fw-black); font-size: 21px; margin-top: 3px; }
.remove-btn {
  background: none;
  border: 1px solid var(--mdl-steel-200);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 11px;
  font-weight: var(--fw-bold);
  color: var(--mdl-steel-500);
  padding: 4px 8px;
}
.remove-btn:hover { border-color: var(--mdl-danger); color: var(--mdl-danger); }
.compare-sale {
  font-family: var(--font-display);
  font-weight: var(--fw-black);
  font-size: 24px;
  color: var(--mdl-green);
  font-variant-numeric: tabular-nums;
  margin: 10px 0 12px;
}
.compare-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 7px 0;
  border-bottom: 1px solid var(--mdl-steel-100);
}
.compare-row .k { font-size: 12px; color: var(--mdl-steel-700); }
.compare-row .v { font-size: 12px; font-weight: var(--fw-semibold); text-align: right; font-variant-numeric: tabular-nums; }

/* ---- Pricing ---- */
.pricing-lede { margin: 0 0 30px; font-size: 14px; color: var(--mdl-steel-700); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(440px, 1fr));
  gap: 24px;
}
.price-card { overflow: hidden; }
.price-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 2px solid var(--mdl-green);
}
.price-card-title { font-family: var(--font-display); font-weight: var(--fw-black); font-size: 18px; }
.price-card-meta {
  font-size: 12px;
  font-weight: var(--fw-bold);
  color: var(--mdl-steel-500);
  font-variant-numeric: tabular-nums;
}
.price-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.price-table th {
  padding: 10px 12px 8px;
  font-size: 11px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mdl-steel-500);
  text-align: right;
}
.price-table th:first-child { text-align: left; padding-left: 22px; }
.price-table th:last-child { padding-right: 22px; }
.price-table td { padding: 10px 12px; text-align: right; font-variant-numeric: tabular-nums; }
.price-table td:first-child { text-align: left; padding-left: 22px; font-weight: var(--fw-bold); }
.price-table td:last-child { padding-right: 22px; }
.price-table td:nth-child(3) { font-weight: var(--fw-bold); color: var(--mdl-green-700); }
.price-table tbody tr { border-top: 1px solid var(--mdl-steel-100); }
.price-table tbody tr[data-unit] { cursor: pointer; transition: background 120ms; -webkit-tap-highlight-color: transparent; }
.price-table tbody tr[data-unit]:focus { outline: none; }
.price-table tbody tr[data-unit]:hover { background: var(--mdl-green-50); }
.price-table tbody tr[data-unit]:focus-visible { outline: 2px solid var(--mdl-green-500); outline-offset: -2px; background: var(--mdl-green-50); }
/* Off-market rows: dimmed, chipped, and inert (bound after the hover
   rule so the transparent hover wins). */
.price-table tbody tr.is-unavailable { cursor: default; }
.price-table tbody tr.is-unavailable:hover { background: transparent; }
.price-table tr.is-unavailable td,
.price-table tr.is-unavailable td:nth-child(3) { color: var(--mdl-steel-500); }
.status-chip {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  background: var(--mdl-steel-100);
  color: var(--mdl-steel-700);
  font-size: 10px;
  font-weight: var(--fw-black);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: 1px;
}
.status-chip-closed { background: var(--mdl-green-100); color: var(--mdl-green-800); }
.price-table .total-row { border-top: 2px solid var(--mdl-ink); background: var(--mdl-steel-50); }
.price-table .total-row td { padding-top: 11px; padding-bottom: 11px; }
.price-table .total-row td:first-child { font-weight: var(--fw-black); font-family: var(--font-display); }
.price-table .total-row td:nth-child(3) { font-weight: var(--fw-black); }

/* ---- Location ---- */
.section-location { padding: 20px 0 76px; }
.location-inner { border-top: 1px solid var(--mdl-steel-100); padding-top: 56px; }
.location-title {
  margin: 0 0 26px;
  font-family: var(--font-display);
  font-weight: var(--fw-black);
  font-size: 28px;
  letter-spacing: var(--ls-snug);
}
.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}
.loc-card {
  background: var(--mdl-white);
  border: 1px solid var(--mdl-steel-100);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
}
.loc-figure {
  font-family: var(--font-display);
  font-weight: var(--fw-black);
  font-size: 26px;
  color: var(--mdl-green);
  font-variant-numeric: tabular-nums;
}
.loc-label { font-size: 13px; font-weight: var(--fw-semibold); color: var(--mdl-steel-700); margin-top: 4px; }
.location-copy {
  margin: 0;
  max-width: 820px;
  font-size: 14px;
  line-height: var(--lh-relaxed);
  color: var(--mdl-steel-700);
}

/* ---- Contact ---- */
.contact-section {
  background: var(--mdl-ink);
  clip-path: polygon(0 36px, 100% 0, 100% 100%, 0 100%);
  padding: 104px 0 40px;
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}
.contact-title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: var(--fw-black);
  font-size: 34px;
  letter-spacing: var(--ls-snug);
  color: var(--mdl-white);
}
.contact-lede { margin: 0 0 26px; font-size: 15px; line-height: var(--lh-relaxed); color: var(--mdl-steel-300); }
.contact-phone {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: var(--fw-black);
  font-size: 30px;
  color: var(--mdl-white);
  font-variant-numeric: tabular-nums;
  margin-bottom: 26px;
}
.contact-phone:hover { color: var(--mdl-green-300); }
.brochure-links { display: flex; flex-direction: column; gap: 10px; max-width: 340px; }
.brochure-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-md);
  color: var(--mdl-white);
  font-size: 14px;
  font-weight: var(--fw-bold);
  transition: border-color 150ms;
}
.brochure-link:hover { border-color: var(--mdl-green-300); color: var(--mdl-green-300); }
.brochure-tag { font-size: 11px; font-weight: var(--fw-bold); letter-spacing: 0.1em; opacity: 0.7; }

.broker-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.broker-card {
  background: var(--mdl-steel-900);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 18px;
}
.broker-name { font-weight: var(--fw-bold); font-size: 15px; color: var(--mdl-white); }
.broker-title { font-size: 12px; color: var(--mdl-steel-300); margin-top: 2px; }
.broker-lic { font-size: 11px; color: var(--mdl-steel-300); margin-top: 2px; } /* AA on steel-900 */
.broker-links { margin-top: 10px; display: flex; flex-direction: column; gap: 3px; }
.broker-links a { font-size: 13px; font-weight: var(--fw-semibold); color: var(--mdl-green-300); }
.broker-links a:hover { color: var(--mdl-white); }

.footer-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 64px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand img { height: 26px; display: block; }
.footer-tag { font-size: 13px; color: #9a9b9d; }
.footer-copy { font-size: 12px; color: var(--mdl-steel-300); } /* AA on ink */

/* ---- Responsive ---- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-photo { height: 320px; }
  .explorer-grid { grid-template-columns: minmax(0, 1fr); }
  .detail-card { position: static; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .pricing-grid { grid-template-columns: minmax(0, 1fr); }
  .price-card { overflow-x: auto; }
}

@media (max-width: 720px) {
  /* Header collapses to logo + call button */
  .brand-name { display: none; }
  .brand-divider { display: none; }
  .nav-link { display: none; }
  .header-inner { gap: 10px; }
  .btn-sm { padding: 0 12px; }

  /* Hero: tighter scale, stacked full-width CTAs, 2x2 stat grid */
  .hero { padding: 48px 0 84px; }
  .hero-inner { gap: 32px; }
  .hero-title { font-size: clamp(32px, 9.5vw, 40px); }
  .hero-lede { font-size: 15px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn, .hero-ctas .btn-ghost { justify-content: center; }
  .hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 20px; }
  .hero-photo { height: 260px; }

  /* Section rhythm */
  .section { padding-top: 52px; padding-bottom: 52px; }
  .section-explorer { padding-top: 52px; padding-bottom: 48px; }
  .section-title { font-size: 26px; }
  .section-lede { font-size: 14px; }
  .location-inner { padding-top: 40px; }
  .location-title { font-size: 24px; }
  .compare-section { padding-top: 48px; padding-bottom: 48px; }
  .compare-title { font-size: 24px; }

  /* Explorer: full-width building toggle, roomier plan via horizontal scroll */
  .bld-toggle { width: 100%; }
  .bld-tab { flex: 1; }
  .plan-card { padding: 16px; }
  .detail-card { padding: 18px; }
  .plan-scroll .plan-figure { min-width: 600px; }

  /* Pricing tables scroll inside their card instead of crushing */
  .price-table { font-size: 13px; min-width: 440px; }
  .price-table th, .price-table td { padding-left: 8px; padding-right: 8px; }
  .price-table th:first-child, .price-table td:first-child { padding-left: 16px; }
  .price-table th:last-child, .price-table td:last-child { padding-right: 16px; }

  /* Contact */
  .contact-section { padding-top: 84px; padding-bottom: 32px; }
  .contact-title { font-size: 28px; }
  .contact-phone { font-size: 26px; }
  .footer-bar { margin-top: 44px; }
}
