/* ==========================================================================
   Sakstons — Public Brand Site
   Premium dark-navy + gold design system. Zero build dependencies.
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand palette (sampled from brand assets) */
  --navy-900: #000810;
  --navy-850: #001020;
  --navy-800: #001830;
  --navy-700: #002040;
  --navy-600: #012a52;
  --navy-500: #1a3a5c;

  --gold-100: #f8e9c8;
  --gold-200: #f0d090;
  --gold-300: #f0c060;
  --gold-400: #e0a040;
  --gold-500: #d09030;
  --gold-600: #b87820;

  /* Neutrals */
  --white: #ffffff;
  --off-white: #f5f7fa;
  --gray-100: #e8edf2;
  --gray-200: #c5cdd6;
  --gray-300: #9aa5b2;
  --gray-400: #6b7684;
  --gray-500: #4a5260;
  --gray-600: #2d3340;
  --gray-700: #1a1f28;
  --gray-800: #10141c;

  /* Semantic */
  --bg: var(--navy-900);
  --bg-elevated: var(--navy-850);
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --border: rgba(240, 192, 96, 0.12);
  --border-strong: rgba(240, 192, 96, 0.3);
  --text: var(--off-white);
  --text-muted: var(--gray-300);
  --text-dim: var(--gray-400);
  --accent: var(--gold-300);
  --accent-hover: var(--gold-200);

  /* Typography */
  --font-display: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --container: 1200px;
  --container-narrow: 880px;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;

  /* Effects */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.5);
  --glow-gold: 0 0 40px rgba(240, 192, 96, 0.15);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle ambient background gradient */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(240, 192, 96, 0.06), transparent 60%),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(1, 42, 82, 0.4), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ---------- Layout Helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
.container-narrow { max-width: var(--container-narrow); }

.section { padding: 96px 0; position: relative; }
.section-sm { padding: 64px 0; }

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.7;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-400));
  color: var(--navy-900);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-200), var(--gold-300));
  transform: translateY(-2px);
  box-shadow: var(--glow-gold), var(--shadow);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-outline:hover {
  border-color: var(--accent);
  background: rgba(240, 192, 96, 0.06);
}
.btn-ghost {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: var(--bg-card-hover); border-color: var(--border-strong); }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: all var(--transition);
  background: linear-gradient(180deg, rgba(0, 8, 16, 0.8), transparent);
}
.site-header.scrolled {
  background: rgba(0, 8, 16, 0.92);
  backdrop-filter: blur(20px);
  padding: 14px 0;
  box-shadow: var(--shadow-sm);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-cta-mobile { display: none; }
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--white);
}
.logo img {
  height: 60px;
  width: auto;
  max-width: none;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.28));
}
.logo-text { color: var(--white); }
.logo-text span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -6px; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--text); }

.nav-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--text);
  transition: all var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,8,16,0.4) 0%, rgba(0,8,16,0.7) 60%, var(--navy-900) 100%);
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }

.hero-content { position: relative; z-index: 2; max-width: 760px; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 8px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  margin-bottom: 28px;
  background: rgba(0, 8, 16, 0.4);
  backdrop-filter: blur(10px);
}
.hero-eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.75rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: var(--white);
}
.hero h1 .accent { color: var(--accent); font-style: italic; }
.hero p {
  font-size: 1.2rem;
  color: var(--gray-200);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* Homepage journey selector — a compact, conversion-led first step. */
.hero-paths {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 42px;
  border: 1px solid rgba(240,192,96,.24);
  border-radius: 16px;
  background: rgba(0,8,16,.72);
  backdrop-filter: blur(16px);
  overflow: hidden;
  box-shadow: 0 22px 60px rgba(0,0,0,.24);
}
.hero-paths a,
.hero-paths button {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 17px 18px;
  border: 0;
  border-right: 1px solid rgba(240,192,96,.16);
  background: transparent;
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background .25s ease;
}
.hero-paths > :last-child { border-right: 0; }
.hero-paths a:hover,
.hero-paths button:hover { background: rgba(240,192,96,.1); }
.hero-paths span { color: var(--accent); font-size: .68rem; letter-spacing: .12em; }
.hero-paths strong { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; }
.hero-paths small { color: var(--text-muted); font-size: .72rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

@media (max-width: 700px) {
  .hero-paths { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 28px; }
  .hero-paths a, .hero-paths button { padding: 14px; border-bottom: 1px solid rgba(240,192,96,.16); }
  .hero-paths > :nth-child(2) { border-right: 0; }
  .hero-paths > :nth-child(n+3) { border-bottom: 0; }
  .hero-paths strong { font-size: 1.15rem; }
}

/* ---------- Trust Bar ---------- */
.trust-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(0, 16, 32, 0.5);
  backdrop-filter: blur(10px);
}
.trust-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 40px 0;
}
.stat { text-align: center; }
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 8px;
  letter-spacing: 0.04em;
}

/* ---------- Services / Cards ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 56px;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(240, 192, 96, 0.1);
  border: 1px solid var(--border);
  margin-bottom: 24px;
}
.service-icon svg { width: 28px; height: 28px; stroke: var(--accent); fill: none; stroke-width: 1.5; }
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--white);
}
.service-card p { color: var(--text-muted); font-size: 0.97rem; line-height: 1.65; }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
}
.service-link:hover { gap: 10px; color: var(--accent-hover); }

/* ---------- Featured Properties ---------- */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
  margin-top: 56px;
}
.property-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  cursor: pointer;
}
.property-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.property-img {
  position: relative;
  aspect-ratio: 16 / 11;
  background: var(--navy-700);
  overflow: hidden;
}
.property-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.property-card:hover .property-img img { transform: scale(1.05); }
.property-img-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  padding: 20px;
  background:
    radial-gradient(circle at top, rgba(240, 192, 96, 0.12), transparent 45%),
    linear-gradient(135deg, rgba(0, 24, 48, 0.95), rgba(0, 16, 32, 0.98));
  color: var(--text-muted);
}
.property-img-fallback span {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--white);
}
.property-img-fallback small {
  max-width: 220px;
  font-size: 0.75rem;
  line-height: 1.5;
}
.property-badge {
  position: absolute;
  top: 16px; left: 16px;
  padding: 6px 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--navy-900);
  border-radius: 100px;
}
.property-price {
  position: absolute;
  bottom: 16px; left: 16px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
.property-body { padding: 24px; }
.property-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--white);
}
.property-location {
  font-size: 0.88rem;
  color: var(--text-dim);
  margin-bottom: 18px;
}
.property-specs {
  display: flex;
  gap: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
}
.property-specs span { display: inline-flex; align-items: center; gap: 6px; }
.property-specs svg { width: 16px; height: 16px; stroke: var(--accent); fill: none; stroke-width: 1.5; }
.property-link {
  margin-top: 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
}

/* ---------- Property Detail ---------- */
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 32px;
  align-items: start;
}
.detail-column { display: grid; gap: 24px; }
.detail-media,
.detail-info,
.detail-panel,
.detail-empty {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.detail-media { padding: 0; }
.detail-img {
  aspect-ratio: 16 / 11;
  min-height: 360px;
}
.detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-img .img-fallback {
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 24, 48, 0.9), rgba(0, 16, 32, 0.95));
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.detail-info {
  padding: 32px;
}
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 24px;
}
.detail-meta span,
.detail-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
}
.detail-price {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1;
  color: var(--accent);
  margin-bottom: 12px;
}
.detail-price small {
  font-size: 0.42em;
  color: var(--text-muted);
  font-weight: 600;
  margin-left: 6px;
}
.detail-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  line-height: 1.08;
  margin-bottom: 12px;
  color: var(--white);
}
.detail-loc {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.detail-copy {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}
.detail-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}
.detail-spec {
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(0, 8, 16, 0.35);
}
.detail-spec .k {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.detail-spec .v {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
}
.detail-sub {
  margin-top: 28px;
  margin-bottom: 14px;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.feature-chip {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 0.86rem;
}
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.detail-office {
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 0.94rem;
}
.detail-office a { color: var(--accent); }
.detail-agent {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin-top: 18px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}
.detail-agent-avatar {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(46,125,50,0.25), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.08);
  display: grid;
  place-items: center;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.detail-agent-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-agent-copy .eyebrow {
  margin-bottom: 6px;
}
.detail-agent-copy h3 {
  margin-bottom: 4px;
  font-family: var(--font-head);
  font-size: 1.1rem;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text);
}
.detail-agent-copy p {
  margin-bottom: 8px;
}
.detail-agent-copy a {
  display: inline-block;
  margin-right: 12px;
  color: var(--accent);
  font-weight: 600;
}
.detail-panel {
  padding: 24px;
}
.detail-panel + .detail-panel { margin-top: 20px; }
.detail-panel h3 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.detail-panel p {
  color: var(--text-muted);
  line-height: 1.8;
}
.detail-panel ul {
  display: grid;
  gap: 10px;
  color: var(--text-muted);
}
.detail-panel li {
  padding-left: 18px;
  position: relative;
}
.detail-panel li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 0.65em;
  background: var(--accent);
}
.detail-empty {
  padding: 40px;
}
.detail-empty .detail-actions { margin-top: 24px; }
.detail-empty .btn { flex-wrap: wrap; }

/* ---------- CTA Band ---------- */
.cta-band {
  position: relative;
  padding: 80px 0;
  background:
    linear-gradient(135deg, rgba(0,16,32,0.95), rgba(0,24,48,0.95)),
    radial-gradient(circle at 30% 50%, rgba(240,192,96,0.08), transparent 50%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  overflow: hidden;
}
.cta-band::before, .cta-band::after {
  content: "";
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
}
.cta-band::before { background: var(--gold-300); top: -100px; left: -100px; }
.cta-band::after { background: var(--navy-500); bottom: -100px; right: -100px; }
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--white);
}
.cta-band p { font-size: 1.1rem; color: var(--text-muted); max-width: 540px; margin: 0 auto 32px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* ---------- Contact Strip ---------- */
.contact-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 56px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.contact-item:hover { border-color: var(--border-strong); background: var(--bg-card-hover); }
.contact-item .icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(240,192,96,0.1);
}
.contact-item .icon svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; stroke-width: 1.5; }
.contact-item h4 { font-size: 0.95rem; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.contact-item p, .contact-item a { font-size: 0.9rem; color: var(--text-muted); }
.contact-item a:hover { color: var(--accent); }

/* ---------- About / Story ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.about-visual img { width: 100%; height: 100%; object-fit: cover; }
.about-visual::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,8,16,0.6));
}
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}
.about-stat {
  padding: 24px;
  border-left: 2px solid var(--accent);
}
.about-stat .num {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--accent);
}
.about-stat .lbl { font-size: 0.88rem; color: var(--text-muted); margin-top: 4px; }

/* ---------- Values ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 56px;
}
.value-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.value-card:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.value-card .num {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.value-card h3 { font-family: var(--font-display); font-size: 1.35rem; margin-bottom: 12px; color: var(--white); }
.value-card p { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 56px;
}
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}
.team-card:hover { border-color: var(--border-strong); transform: translateY(-4px); box-shadow: var(--shadow); }
.team-photo {
  aspect-ratio: 1;
  background: var(--navy-700);
  overflow: hidden;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-info { padding: 24px; }
.team-info h3 { font-size: 1.15rem; font-weight: 600; color: var(--white); }
.team-role { font-size: 0.85rem; color: var(--accent); margin-top: 4px; }
.team-bio { font-size: 0.88rem; color: var(--text-muted); margin-top: 12px; line-height: 1.6; }
.team-contact { display: flex; gap: 10px; margin-top: 16px; }
.team-contact a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.team-contact a:hover { border-color: var(--accent); background: rgba(240,192,96,0.1); }
.team-contact svg { width: 16px; height: 16px; stroke: var(--text-muted); fill: none; stroke-width: 1.5; }
.team-contact a:hover svg { stroke: var(--accent); }

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  --hero-image: url("https://images.unsplash.com/photo-1504384308090-c894fdcc538d?auto=format&fit=crop&w=1600&q=80");
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(0, 8, 16, 0.88), rgba(0, 8, 16, 0.96)),
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(240, 192, 96, 0.08), transparent 62%);
  background-size: cover;
  background-position: center;
}
.page-hero-compact { padding-bottom: 56px; }
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0, 10, 20, 0.14), rgba(0, 10, 20, 0.28));
  pointer-events: none;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  opacity: 0.12;
  filter: saturate(0.75) blur(0.4px);
  transform: scale(1.03);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 20px;
}
.breadcrumb a:hover { color: var(--accent); }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--white);
}
.page-hero p { font-size: 1.15rem; color: var(--text-muted); max-width: 620px; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(10px);
}
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.property-filters { grid-template-columns: 1.2fr 1fr 1fr 0.8fr 0.8fr; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  background: rgba(0, 8, 16, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  transition: all var(--transition);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(0, 8, 16, 0.7);
  box-shadow: 0 0 0 3px rgba(240, 192, 96, 0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-message {
  padding: 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 0.9rem;
  display: none;
}
.form-message.success { display: block; background: rgba(72, 187, 120, 0.1); border: 1px solid rgba(72, 187, 120, 0.3); color: #68d391; }
.form-message.error { display: block; background: rgba(245, 101, 101, 0.1); border: 1px solid rgba(245, 101, 101, 0.3); color: #fc8181; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--navy-900);
  padding: 64px 0 24px;
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { color: var(--text-muted); font-size: 0.92rem; max-width: 320px; line-height: 1.7; }
.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul a { font-size: 0.92rem; color: var(--text-muted); }
.footer-col ul a:hover { color: var(--accent); }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.footer-social a:hover { border-color: var(--accent); background: rgba(240,192,96,0.1); }
.footer-social svg { width: 18px; height: 18px; stroke: var(--text-muted); fill: none; stroke-width: 1.5; transition: stroke var(--transition); }
.footer-social a:hover svg { stroke: var(--accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-dim);
}
.footer-bottom a:hover,
.footer-link-button:hover { color: var(--accent); }
.footer-link-button {
  appearance: none;
  border: 0;
  padding: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.footer-link-button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Answer-first SEO / local guidance ---------- */
.seo-faq { background: linear-gradient(135deg, rgba(0, 16, 32, .98), rgba(4, 29, 45, .98)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.seo-faq-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.seo-faq-intro p { color: var(--text-muted); font-size: 1rem; line-height: 1.75; margin: 0 0 28px; max-width: 34rem; }
.seo-faq-list { display: grid; gap: 12px; }
.seo-faq-list details { background: rgba(255,255,255,.035); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0 22px; transition: border-color var(--transition), background var(--transition); }
.seo-faq-list details[open] { background: rgba(240,192,96,.055); border-color: rgba(240,192,96,.35); }
.seo-faq-list summary { color: var(--text); cursor: pointer; font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; line-height: 1.35; list-style: none; padding: 20px 30px 20px 0; position: relative; }
.seo-faq-list summary::-webkit-details-marker { display: none; }
.seo-faq-list summary::after { color: var(--accent); content: '+'; font-family: var(--font-body); font-size: 1.45rem; font-weight: 400; position: absolute; right: 0; top: 17px; }
.seo-faq-list details[open] summary::after { content: '–'; }
.seo-faq-list details p { color: var(--text-muted); font-size: .96rem; line-height: 1.7; margin: -2px 0 20px; }
.seo-faq-list details p strong { color: var(--text); font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 968px) {
  .site-header .container { padding: 0 16px; }
  .nav {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "logo toggle"
      "links links";
    align-items: center;
    row-gap: 16px;
    column-gap: 12px;
  }
  .nav-cta-mobile { display: none !important; }
  .nav .logo {
    /* grid-area: auto keeps the nav (not the 1fr grid column) as the
       containing block, so left: 50% centers on the full header width.
       Scoped to .nav so the footer logo keeps normal flow. */
    grid-area: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    justify-self: unset;
    z-index: 1;
  }
  .nav .logo img { height: 52px; max-width: none; }
  .footer-brand .logo img { height: 52px; max-width: none; }
  .nav-cta-desktop { display: none; }
  .nav-links, .nav-cta-desktop .btn:not(.btn-primary) {
    display: none;
  }
  .nav-toggle {
    display: flex;
    grid-area: toggle;
    justify-self: end;
    position: relative;
    z-index: 2;
  }
  .nav-links.mobile-open {
    display: flex;
    grid-area: links;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 12px); left: 16px; right: 16px;
    background: rgba(0, 8, 16, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    gap: 20px;
    box-shadow: var(--shadow-lg);
  }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .seo-faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .trust-stats { grid-template-columns: 1fr 1fr; gap: 32px; }
  .detail-layout { grid-template-columns: 1fr; }
  /* On tablet/mobile, keep the property photo first, then surface the
     actionable property information and enquiry panel before secondary
     overview/guidance content from the left column. */
  .detail-column { display: contents; }
  .detail-media { order: 1; }
  .detail-info { order: 2; }
  .detail-column .detail-panel { order: 3; }
  .detail-info { padding: 28px; }
  .detail-img,
  .detail-img .img-fallback { min-height: 300px; }
  .detail-panel + .detail-panel { margin-top: 16px; }
}
@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .hero {
    min-height: auto;
    padding: 104px 0 64px;
  }
  .hero h1 {
    font-size: clamp(2.2rem, 10vw, 3.2rem);
  }
  .hero p {
    font-size: 1rem;
    margin-bottom: 28px;
  }
  .hero-eyebrow { margin-bottom: 20px; }
  .page-hero { padding: 120px 0 56px; }
  .page-hero h1 { font-size: clamp(2rem, 11vw, 2.8rem); }
  .page-hero p { font-size: 1rem; }
  .service-grid,
  .properties-grid,
  .contact-strip,
  .about-stats,
  .values-grid,
  .team-grid,
  .trust-stats { grid-template-columns: 1fr; }
  .service-card { padding: 28px 24px; }
  .value-card { padding: 24px; }
  .contact-item { padding: 18px; }
  .team-info { padding: 20px; }
  .team-contact { flex-wrap: wrap; }
  .form-row { grid-template-columns: 1fr; }
  .property-filters { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .form-card { padding: 28px 24px; }
  .detail-specs { grid-template-columns: 1fr; }
  .detail-actions { flex-direction: column; }
  .detail-actions .btn { width: 100%; }
  .detail-empty { padding: 28px 20px; }
  .seo-faq-list details { padding: 0 18px; }
  .seo-faq-list summary { font-size: 1.15rem; padding: 18px 28px 18px 0; }
}

/* ---------- Animations ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; }
.reveal.in-view { animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.reveal:nth-child(2).in-view { animation-delay: 0.1s; }
.reveal:nth-child(3).in-view { animation-delay: 0.2s; }
.reveal:nth-child(4).in-view { animation-delay: 0.3s; }

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

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px 30px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  transition: border-color var(--transition), background var(--transition);
}
.testimonial-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-strong);
}
.testimonial-card::before {
  content: "\201C";
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--accent);
  position: absolute;
  top: 18px;
  left: 26px;
  opacity: 0.85;
}
.testimonial-card blockquote {
  margin-top: 28px;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.75;
}
.testimonial-card figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
}
.testimonial-card .g-badge {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  background: var(--white);
  border-radius: 50%;
  padding: 7px;
  box-shadow: var(--shadow-sm);
}
.testimonial-card figcaption strong {
  display: block;
  color: var(--text);
  font-size: 0.95rem;
}
.testimonial-card figcaption span {
  display: block;
  color: var(--text-dim);
  font-size: 0.82rem;
  font-style: italic;
}
@media (max-width: 900px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* ---------- WhatsApp buttons ---------- */
a.wa-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #25d366;
  color: #fff !important;
  transition: transform 0.2s ease;
}
a.wa-chip:hover { transform: scale(1.08); }
.wa-chip svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-color: rgba(37, 211, 102, 0.45);
  color: #25d366;
}
.btn-wa:hover {
  border-color: #25d366;
  background: rgba(37, 211, 102, 0.1);
  color: #25d366;
}
.btn-wa svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}
@media (max-width: 640px) {
}
.detail-agent-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.detail-agent-links a { margin-right: 0; }
.detail-column > .detail-panel + .detail-panel { margin-top: 0; }


/* ==========================================================================
   Valuation Modal
   ========================================================================== */
.val-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 4, 10, 0);
  backdrop-filter: blur(0px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, background 0.3s ease;
}
.val-modal-overlay.open {
  background: rgba(0, 4, 10, 0.82);
  backdrop-filter: blur(8px);
  opacity: 1;
  visibility: visible;
}

.val-modal {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg), 0 0 60px rgba(240, 192, 96, 0.08);
  transform: translateY(24px) scale(0.96);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.val-modal-overlay.open .val-modal {
  transform: translateY(0) scale(1);
}

/* Hide scrollbar but keep scrolling */
.val-modal {
  scrollbar-width: none;           /* Firefox */
  -ms-overflow-style: none;        /* IE/Edge */
}
.val-modal::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;                   /* Chrome/Safari */
}

/* Close button */
.val-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-muted);
  border-radius: 50%;
  transition: all var(--transition);
  z-index: 2;
}
.val-modal-close:hover {
  color: var(--accent);
  background: rgba(240, 192, 96, 0.1);
}

/* Header */
.val-modal-header {
  text-align: center;
  margin-bottom: 28px;
}
.val-modal-header .eyebrow {
  color: var(--accent);
  margin-bottom: 8px;
}
.val-modal-header h3 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}
.val-modal-header p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
  max-width: 420px;
  margin: 0 auto;
}

/* Form tweaks inside modal */
.val-modal .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.val-modal .form-group {
  margin-bottom: 16px;
}
.val-modal .form-group textarea {
  min-height: 70px;
}
.val-modal .val-submit-btn {
  width: 100%;
  margin-top: 4px;
}

.val-modal-disclaimer {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 14px;
}

/* Modal-scoped message */
.val-modal .val-modal-message {
  margin-bottom: 16px;
}

/* Responsive */
@media (max-width: 580px) {
  .val-modal {
    padding: 28px 20px;
    margin: 8px;
  }
  .val-modal .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .val-modal-header h3 {
    font-size: 1.6rem;
  }
}

/* Homepage rhythm and listing presentation. Keep inner pages untouched. */
.home-page .section { padding-top: 78px; padding-bottom: 78px; }
.home-page .featured-section { padding-top: 18px; }
.home-page .about-section,
.home-page .testimonials-section { padding-top: 54px; }
.home-page .featured-section::before,
.home-page .about-section::before,
.home-page .testimonials-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: max(24px, calc((100% - var(--container)) / 2));
  right: max(24px, calc((100% - var(--container)) / 2));
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240,192,96,.2), transparent);
}
.home-page .properties-grid { gap: 24px; }
.home-page .property-card {
  border-color: rgba(240,192,96,.13);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
  box-shadow: 0 18px 45px rgba(0,0,0,.18);
}
.home-page .property-card:hover {
  border-color: rgba(240,192,96,.38);
  box-shadow: 0 26px 60px rgba(0,0,0,.3);
}
.home-page .property-img::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(180deg, transparent, rgba(0,8,16,.72));
  pointer-events: none;
}
.home-page .property-price { z-index: 2; }
.home-page .property-body { position: relative; }
.home-page .property-body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  width: 42px;
  height: 2px;
  background: var(--accent);
}
.home-page .property-link {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: .02em;
}

@media (max-width: 700px) {
  .home-page .section { padding-top: 58px; padding-bottom: 58px; }
  .home-page .featured-section { padding-top: 30px; }
  .home-page .about-section,
  .home-page .testimonials-section { padding-top: 46px; }
  .home-page .properties-grid { gap: 18px; }
}

/* Property photo gallery */
.property-gallery-trigger { display:block; width:100%; padding:0; border:0; background:transparent; color:inherit; cursor:zoom-in; position:relative; overflow:hidden; }
.property-gallery-trigger img { display:block; width:100%; }
.property-gallery-trigger:focus-visible { outline:3px solid var(--accent); outline-offset:3px; }
.property-gallery-count { position:absolute; right:14px; bottom:14px; z-index:2; padding:8px 12px; border-radius:999px; background:rgba(0,9,18,.82); border:1px solid rgba(255,255,255,.28); color:#fff; font-size:.78rem; font-weight:700; letter-spacing:.02em; }
.property-gallery-modal { position:fixed; inset:0; z-index:20000; display:grid; grid-template-columns:auto minmax(0,1fr) auto; grid-template-rows:minmax(0,1fr) auto; align-items:center; gap:16px; padding:28px; background:rgba(0,5,12,.96); }
.gallery-stage { grid-column:2; width:min(100%, 1240px); justify-self:center; margin:0; min-width:0; height:min(76vh,850px); display:flex; flex-direction:column; align-items:center; justify-content:center; }
.gallery-stage img { width:100%; height:calc(100% - 36px); object-fit:contain; border-radius:4px; box-shadow:0 20px 60px rgba(0,0,0,.55); }
.gallery-stage figcaption { margin-top:10px; color:#fff; font-weight:700; }
.gallery-close,.gallery-nav { border:1px solid rgba(255,255,255,.35); background:rgba(12,22,31,.78); color:#fff; cursor:pointer; }
.gallery-close { position:absolute; right:22px; top:18px; width:44px; height:44px; border-radius:50%; font-size:30px; line-height:1; }
.gallery-nav { width:48px; height:58px; border-radius:8px; font-size:42px; line-height:1; }
.gallery-thumbs { grid-column:1 / -1; display:flex; gap:8px; max-width:min(980px,100%); overflow-x:auto; justify-self:center; padding:4px 0; }
.gallery-thumbs button { flex:0 0 72px; height:54px; padding:0; overflow:hidden; border:2px solid transparent; background:transparent; border-radius:4px; cursor:pointer; opacity:.68; }
.gallery-thumbs button.active,.gallery-thumbs button:hover { border-color:var(--accent); opacity:1; }
.gallery-thumbs img { width:100%; height:100%; object-fit:cover; }
@media (max-width:700px) { .property-gallery-modal { grid-template-columns:42px minmax(0,1fr) 42px; gap:7px; padding:16px 7px; } .gallery-stage { height:68vh; } .gallery-nav { width:40px; height:52px; font-size:34px; } .gallery-close { right:12px; top:10px; } .gallery-thumbs { justify-self:stretch; max-width:none; } .gallery-thumbs button { flex-basis:62px; height:48px; } .property-gallery-count { left:50%; right:auto; bottom:10px; transform:translateX(-50%); max-width:calc(100% - 24px); box-sizing:border-box; white-space:nowrap; } }

/* Homepage front-end refinement: clearer first decision point and stronger desktop balance. */
.home-page .hero .container { position: relative; }
.home-page .hero-content > .eyebrow {
  display: block;
  margin: 0 0 18px;
  color: var(--accent);
}
.home-page .hero-content > .eyebrow::before { display: none; }
.home-page .hero h1 { max-width: 740px; }
.home-page .hero p { max-width: 590px; font-size: clamp(1.02rem, 1.5vw, 1.18rem); }
.hero-signal {
  position: absolute;
  z-index: 2;
  right: 2px;
  bottom: 18px;
  width: min(250px, 26vw);
  padding: 0;
  border: 0;
  background: transparent;
  text-shadow: 0 2px 18px rgba(0,0,0,.9);
}
.hero-signal span {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .14em;
}
.hero-signal strong {
  display: block;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.72rem);
  font-weight: 600;
  line-height: 1.05;
}
.hero-signal p { margin: 12px 0 0; color: var(--text-muted); font-size: .78rem; line-height: 1.45; }
.home-page .hero-paths a:focus-visible,
.home-page .hero-paths button:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; }
.home-page .service-card { box-shadow: 0 14px 34px rgba(0,0,0,.14); }
.home-page .service-card h3 { letter-spacing: -.01em; }
@media (max-width: 900px) { .hero-signal { right: 24px; } }
@media (max-width: 700px) {
  .home-page .hero { min-height: 0; padding: 112px 0 48px; }
  .home-page .hero h1 { font-size: clamp(2.5rem, 13vw, 3.55rem); }
  .home-page .hero-content > .eyebrow { margin-bottom: 14px; font-size: .68rem; }
  .hero-signal { display: none; }
  .home-page .hero-paths small { white-space: normal; line-height: 1.35; }
}

