/* ============================================================
   Nicole Lloyd Real Estate — styles.css
   Design System: Modern Showcase × Luxury Editorial
   Palette: Navy #0F172A · Cream #F7F4EF · Gold #C9A84C · Text #1A1A1A
   Fonts: Cormorant Garamond (display) · DM Sans (body)
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Brand Palette */
  --color-primary:        #0F172A;   /* Deep navy-slate */
  --color-accent:         #C9A84C;   /* Champagne gold */
  --color-accent-hover:   #B8933A;   /* Gold darkened for hover */
  --color-bg:             #F7F4EF;   /* Warm cream */
  --color-text:           #1A1A1A;   /* Near-black body */
  --color-text-light:     #F2EEE7;   /* Warm off-white for dark sections */
  --color-text-muted:     #6B6560;   /* Muted warm gray */
  --color-text-muted-dark:#9A9590;   /* Muted on dark bg */
  --color-surface-light:  #F7F4EF;   /* Cream panel */
  --color-surface-dark:   #0F172A;   /* Navy panel */
  --color-border-light:   #E4DED5;   /* Cream border */
  --color-border-dark:    #1E293B;   /* Navy border */
  --color-card-bg:        #FDFBF8;   /* Slightly warmer card surface */
  --color-overlay-dark:   rgba(15, 23, 42, 0.72);

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, -apple-system, sans-serif;

  /* Type Scale */
  --text-xs:    0.75rem;    /* 12px */
  --text-sm:    0.875rem;   /* 14px */
  --text-base:  1rem;       /* 16px */
  --text-lg:    1.125rem;   /* 18px */
  --text-xl:    1.25rem;    /* 20px */
  --text-2xl:   1.5rem;     /* 24px */
  --text-3xl:   2rem;       /* 32px */
  --text-4xl:   2.5rem;     /* 40px */
  --text-5xl:   3.5rem;     /* 56px */
  --text-6xl:   4.5rem;     /* 72px */
  --text-drama: 7.5rem;     /* 120px — drama moment */

  /* Spacing (4px grid) */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Borders & Radius */
  --radius-sm: 2px;
  --radius:    4px;

  /* Transitions */
  --ease-out:     cubic-bezier(0.25, 0, 0, 1);
  --ease-in-out:  cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast:    0.2s;
  --duration-base:    0.4s;
  --duration-slow:    0.7s;
  --duration-cinematic: 1.2s;

  /* Layout */
  --container-max:    1280px;
  --container-wide:   1440px;
  --container-narrow: 760px;
  --section-pad-v:    var(--space-24);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol { list-style: none; }

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* Image fade-in on load */
img {
  opacity: 0;
  transition: opacity 0.45s var(--ease-out);
}
img.loaded {
  opacity: 1;
}

/* ============================================================
   LAYOUT CONTAINERS
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(var(--space-6), 5vw, var(--space-16));
}

.container-wide {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 clamp(var(--space-6), 5vw, var(--space-16));
}

.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* ============================================================
   SECTION SYSTEM — Sharp alternating dark/cream
   ============================================================ */
.section {
  padding: var(--section-pad-v) 0;
}

.section-sm {
  padding: var(--space-16) 0;
}

.section-light {
  background: var(--color-surface-light);
  color: var(--color-text);
  padding: var(--section-pad-v) 0;
}

.section-dark {
  background: var(--color-surface-dark);
  color: var(--color-text-light);
  padding: var(--section-pad-v) 0;
}

/* ============================================================
   TYPOGRAPHY SYSTEM
   ============================================================ */

/* Display headings — Cormorant Garamond */
h1, h2, h3, h4, .display { font-family: var(--font-display); }

h1 {
  font-size: clamp(var(--text-4xl), 5.5vw, var(--text-6xl));
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(var(--text-xl), 2.5vw, var(--text-3xl));
  font-weight: 400;
  line-height: 1.2;
}

h4 {
  font-size: var(--text-xl);
  font-weight: 500;
  line-height: 1.3;
}

/* Body — DM Sans */
p {
  font-size: var(--text-base);
  line-height: 1.75;
  max-width: 66ch;
}

.lead {
  font-size: var(--text-lg);
  line-height: 1.65;
  font-weight: 300;
  max-width: 60ch;
}

/* Eyebrow labels */
.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  display: block;
  margin-bottom: var(--space-4);
}

.eyebrow-light {
  color: var(--color-accent);
}

/* Typography drama — 5.0 oversized stat */
.drama-number {
  font-family: var(--font-display);
  font-size: clamp(80px, 12vw, var(--text-drama));
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--color-primary);
  display: block;
}

.drama-number-light {
  color: var(--color-text-light);
}

/* Pull quote */
.pull-quote {
  font-family: var(--font-display);
  font-size: clamp(var(--text-2xl), 3.5vw, var(--text-4xl));
  font-weight: 300;
  font-style: italic;
  line-height: 1.35;
  color: var(--color-text-light);
}

/* Section heading with gold rule above */
.section-heading {
  position: relative;
  padding-top: var(--space-8);
}
.section-heading::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 48px;
  height: 2px;
  background: var(--color-accent);
}
.section-heading.centered::before {
  left: 50%;
  transform: translateX(-50%);
}

/* Gold horizontal rule */
.gold-rule {
  width: 56px;
  height: 2px;
  background: var(--color-accent);
  margin: var(--space-6) 0;
}
.gold-rule.centered {
  margin-left: auto;
  margin-right: auto;
}
.gold-rule.wide {
  width: 80px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) clamp(var(--space-6), 5vw, var(--space-16));
  background: transparent;
  transition: background var(--duration-base) var(--ease-out),
              border-color var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out);
}

.nav.scrolled {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(201, 168, 76, 0.15);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--color-text-light);
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-decoration: none;
}

.nav-logo-name {
  font-size: var(--text-xl);
}

.nav-logo-tagline {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-10);
}

.nav-links a {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(242, 238, 231, 0.8);
  text-decoration: none;
  position: relative;
  transition: color var(--duration-fast) var(--ease-out);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: width var(--duration-base) var(--ease-out);
}

.nav-links a:hover {
  color: var(--color-text-light);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.625rem 1.5rem;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background var(--duration-fast) var(--ease-out),
              color var(--duration-fast) var(--ease-out);
  border-radius: var(--radius-sm);
}

.nav-cta:hover {
  background: var(--color-accent);
  color: var(--color-primary);
}

/* Mobile hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  cursor: pointer;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--color-text-light);
  transition: transform var(--duration-base) var(--ease-out),
              opacity var(--duration-fast) var(--ease-out);
}

.nav-hamburger.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile nav drawer */
.nav-drawer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-primary);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-base) var(--ease-out);
}

.nav-drawer.open {
  opacity: 1;
  pointer-events: all;
}

.nav-drawer a {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 400;
  color: var(--color-text-light);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color var(--duration-fast) var(--ease-out);
}

.nav-drawer a:hover {
  color: var(--color-accent);
}

/* ============================================================
   BUTTONS & CTAs
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 1rem 2.25rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background var(--duration-fast) var(--ease-out),
              color var(--duration-fast) var(--ease-out),
              transform var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out);
  border-radius: var(--radius-sm);
  min-height: 48px;
  min-width: 160px;
}

/* Gold filled — primary */
.btn-primary {
  background: var(--color-accent);
  color: var(--color-primary);
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.28);
}

/* Gold outlined — secondary */
.btn-outline {
  background: transparent;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
}

.btn-outline:hover {
  background: var(--color-accent);
  color: var(--color-primary);
  transform: translateY(-2px);
}

/* Light outlined — on dark sections */
.btn-outline-light {
  background: transparent;
  color: var(--color-text-light);
  border: 1px solid rgba(242, 238, 231, 0.4);
}

.btn-outline-light:hover {
  background: rgba(242, 238, 231, 0.1);
  border-color: var(--color-text-light);
}

/* Text link with gold underline */
.btn-text-link {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color var(--duration-fast) var(--ease-out);
}

.btn-text-link:hover {
  border-bottom-color: var(--color-accent);
}

.btn-group {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}

/* ============================================================
   HERO — Split Column (Home)
   ============================================================ */
.hero-split {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}

.hero-split-image {
  position: relative;
  min-height: 70vh;
  overflow: hidden;
}

.hero-split-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(15%) contrast(1.03);
  transition: filter var(--duration-cinematic) var(--ease-out);
}

.hero-split-image:hover img {
  filter: grayscale(0%) contrast(1);
}

/* Subtle gold overlay at bottom of portrait */
.hero-split-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30%;
  background: linear-gradient(to top, rgba(201, 168, 76, 0.08), transparent);
  pointer-events: none;
}

.hero-split-panel {
  background: var(--color-primary);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(var(--space-16), 8vw, var(--space-32))
           clamp(var(--space-8), 5vw, var(--space-16));
  position: relative;
  overflow: hidden;
}

/* Faint background texture on dark panel */
.hero-split-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("IMAGE:Aerial view of South Florida coastline at golden hour, Fort Lauderdale waterfront, warm sunset light reflecting off water, cinematic wide shot");
  background-size: cover;
  background-position: center;
  opacity: 0.04;
  pointer-events: none;
}

.hero-split-panel > * {
  position: relative;
  z-index: 1;
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-6);
}

.hero-split-panel h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 4.5vw, 4.2rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--color-text-light);
  margin-bottom: var(--space-8);
}

.hero-split-panel h1 em {
  font-style: italic;
  color: var(--color-accent);
}

.hero-split-panel .lead {
  color: rgba(242, 238, 231, 0.72);
  margin-bottom: var(--space-10);
  font-weight: 300;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-10);
  left: clamp(var(--space-8), 5vw, var(--space-16));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  z-index: 2;
}

.scroll-indicator-line {
  width: 1px;
  height: 60px;
  background: rgba(242, 238, 231, 0.15);
  position: relative;
  overflow: hidden;
}

.scroll-indicator-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 24px;
  background: var(--color-accent);
  animation: scroll-drop 2s var(--ease-out) infinite;
}

@keyframes scroll-drop {
  0%   { transform: translateY(-24px); opacity: 0; }
  30%  { opacity: 1; }
  100% { transform: translateY(60px); opacity: 0; }
}

.scroll-indicator-text {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(242, 238, 231, 0.4);
  writing-mode: vertical-rl;
}

/* ============================================================
   HERO — Full-bleed Page Hero (Services, Contact)
   ============================================================ */
.hero-full {
  position: relative;
  height: 60vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-primary);
}

.hero-full-bg {
  position: absolute;
  inset: 0;
}

.hero-full-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.hero-full-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.85) 0%,
    rgba(15, 23, 42, 0.55) 100%
  );
}

.hero-full-content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-full-content h1 {
  color: var(--color-text-light);
  margin-bottom: var(--space-4);
}

.hero-full-content .lead {
  color: rgba(242, 238, 231, 0.7);
}

/* ============================================================
   HERO — About Page (Dark with pull quote)
   ============================================================ */
.hero-about {
  min-height: 55vh;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: var(--space-32) 0 var(--space-24);
}

.hero-about::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: rgba(201, 168, 76, 0.03);
  pointer-events: none;
}

.hero-about .pull-quote {
  max-width: 760px;
}

/* ============================================================
   TRUST ANCHOR — Oversized 5.0 Section
   ============================================================ */
.trust-anchor {
  background: var(--color-surface-light);
  padding: var(--section-pad-v) 0;
  overflow: hidden;
}

.trust-anchor-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-16);
  align-items: center;
}

.trust-score-block {
  text-align: center;
}

.trust-score-number {
  font-family: var(--font-display);
  font-size: clamp(80px, 14vw, 140px);
  font-weight: 300;
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: var(--color-primary);
  display: block;
}

.trust-score-stars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  margin-top: var(--space-4);
}

.trust-score-stars svg {
  fill: var(--color-accent);
  width: 18px;
  height: 18px;
}

.trust-score-meta {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: var(--space-3);
}

.trust-platforms {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.trust-platform-badge {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.trust-platform-badge .platform-name {
  font-weight: 500;
  color: var(--color-text);
}

/* ============================================================
   STATS ROW
   ============================================================ */
.stats-row {
  background: var(--color-primary);
  padding: var(--space-16) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(201, 168, 76, 0.2);
}

.stat-item {
  background: var(--color-primary);
  padding: var(--space-10) var(--space-8);
  text-align: center;
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: 300;
  line-height: 1;
  color: var(--color-accent);
  display: block;
  margin-bottom: var(--space-2);
}

.stat-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(242, 238, 231, 0.55);
}

/* ============================================================
   SERVICES BENTO GRID (Asymmetric — NOT 3-column icon grid)
   ============================================================ */
.services-bento {
  background: var(--color-primary);
  padding: var(--section-pad-v) 0;
}

.bento-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  grid-template-rows: auto auto;
  gap: var(--space-3);
}

.bento-card {
  position: relative;
  overflow: hidden;
  background: #141A2E;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.bento-card.bento-large {
  grid-column: 1;
  grid-row: 1 / 3;
  min-height: 560px;
}

.bento-card.bento-small-top {
  grid-column: 2;
  grid-row: 1;
}

.bento-card.bento-small-bottom {
  grid-column: 2;
  grid-row: 2;
}

.bento-card-image {
  position: absolute;
  inset: 0;
}

.bento-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(45%) contrast(1.05);
  transition: filter var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.bento-card:hover .bento-card-image img {
  filter: grayscale(0%) contrast(1);
  transform: scale(1.04);
}

.bento-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 30%,
    rgba(15, 23, 42, 0.88) 100%
  );
}

.bento-card-content {
  position: relative;
  z-index: 1;
  padding: var(--space-8);
}

.bento-card-number {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 300;
  color: var(--color-accent);
  opacity: 0.6;
  margin-bottom: var(--space-2);
}

.bento-card-content h3 {
  font-family: var(--font-display);
  font-size: clamp(var(--text-2xl), 3vw, var(--text-3xl));
  font-weight: 400;
  color: var(--color-text-light);
  line-height: 1.15;
  margin-bottom: var(--space-3);
}

.bento-card-content p {
  font-size: var(--text-sm);
  color: rgba(242, 238, 231, 0.65);
  max-width: 36ch;
  line-height: 1.65;
  margin-bottom: var(--space-5);
}

.bento-card-link {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  transition: gap var(--duration-fast) var(--ease-out);
}

.bento-card-link:hover {
  gap: var(--space-4);
}

/* ============================================================
   SERVICES — Full Page (services.html pillar sections)
   ============================================================ */
.service-pillar {
  padding: var(--section-pad-v) 0;
}

.service-pillar:nth-child(odd) {
  background: var(--color-surface-light);
}

.service-pillar:nth-child(even) {
  background: var(--color-primary);
  color: var(--color-text-light);
}

.service-pillar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-10), 6vw, var(--space-20));
  align-items: center;
}

.service-pillar-grid.reverse {
  direction: rtl;
}

.service-pillar-grid.reverse > * {
  direction: ltr;
}

.service-pillar-image {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.service-pillar-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: grayscale(40%) contrast(1.05);
  transition: filter var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.service-pillar-image:hover img {
  filter: grayscale(0%) contrast(1);
  transform: scale(1.03);
}

.service-pillar-body h2 {
  margin-bottom: var(--space-4);
}

.service-pillar-body p {
  margin-bottom: var(--space-6);
  color: inherit;
  opacity: 0.85;
}

.service-list {
  margin: var(--space-6) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.service-list li {
  font-size: var(--text-sm);
  padding-left: var(--space-5);
  position: relative;
  line-height: 1.6;
  opacity: 0.9;
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 12px;
  height: 1px;
  background: var(--color-accent);
}

/* Services decision CTA */
.services-decision {
  background: var(--color-primary);
  padding: var(--space-24) 0;
  text-align: center;
}

.services-decision h2 {
  color: var(--color-text-light);
  margin-bottom: var(--space-4);
}

.services-decision p {
  color: rgba(242, 238, 231, 0.65);
  margin: 0 auto var(--space-10);
  text-align: center;
}

/* ============================================================
   FEATURED LISTING CARD
   ============================================================ */
.featured-listing {
  background: var(--color-surface-light);
  padding: var(--section-pad-v) 0;
}

.listing-card {
  background: var(--color-card-bg);
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.listing-card-image {
  position: relative;
  overflow: hidden;
}

.listing-card-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: grayscale(20%) contrast(1.03);
  transition: filter var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.listing-card:hover .listing-card-image img {
  filter: grayscale(0%) contrast(1);
  transform: scale(1.03);
}

.listing-badge {
  position: absolute;
  top: var(--space-6);
  left: var(--space-6);
  background: var(--color-accent);
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm);
}

.listing-card-body {
  padding: var(--space-8) var(--space-8) var(--space-8);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-6);
  align-items: start;
}

.listing-price {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 400;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.listing-address {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

.listing-specs {
  display: flex;
  gap: var(--space-6);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.listing-spec {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

/* ============================================================
   TESTIMONIAL BAND — Dark cinematic
   ============================================================ */
.testimonial-band {
  background: var(--color-primary);
  padding: var(--section-pad-v) 0;
  position: relative;
  overflow: hidden;
}

.testimonial-band::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-accent),
    transparent
  );
}

.testimonial-band::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-accent),
    transparent
  );
}

.testimonial-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 0 var(--space-6);
}

.testimonial-inner blockquote {
  font-family: var(--font-display);
  font-size: clamp(var(--text-xl), 2.8vw, var(--text-3xl));
  font-style: italic;
  font-weight: 300;
  line-height: 1.5;
  color: var(--color-text-light);
  margin-bottom: var(--space-8);
}

.testimonial-attribution {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
}

.testimonial-name {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.testimonial-meta {
  font-size: var(--text-xs);
  color: var(--color-text-muted-dark);
  letter-spacing: 0.04em;
}

/* Platform badge in testimonial */
.testimonial-platform {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
  padding: var(--space-2) var(--space-4);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: var(--radius-sm);
}

.testimonial-platform span {
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(242, 238, 231, 0.45);
}

/* ============================================================
   ABOUT PAGE — Two-column story section
   ============================================================ */
.about-story {
  background: var(--color-surface-light);
  padding: var(--section-pad-v) 0;
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-10), 6vw, var(--space-20));
  align-items: start;
}

.about-story-text h2 {
  margin-bottom: var(--space-6);
}

.about-story-text p {
  margin-bottom: var(--space-5);
  color: var(--color-text);
}

/* Credentials column */
.credentials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.credential-badge {
  border: 1px solid var(--color-border-light);
  padding: var(--space-4);
  text-align: center;
  border-radius: var(--radius-sm);
  background: var(--color-card-bg);
}

.credential-badge-abbr {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--color-primary);
  display: block;
  margin-bottom: var(--space-1);
}

.credential-badge-name {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.license-info {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-border-light);
}

.license-info strong {
  color: var(--color-text);
  font-weight: 500;
}

/* ============================================================
   ABOUT — Asymmetric overlap block
   ============================================================ */
.about-overlap {
  background: var(--color-primary);
  padding: var(--section-pad-v) 0;
  overflow: hidden;
}

.about-overlap-inner {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 0;
  align-items: center;
  position: relative;
}

.about-overlap-image {
  position: relative;
  z-index: 2;
  margin-right: calc(-1 * var(--space-12));
}

.about-overlap-image img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
  filter: grayscale(20%) contrast(1.03);
}

.about-overlap-stats {
  background: #141A2E;
  padding: var(--space-12) var(--space-12) var(--space-12) clamp(var(--space-16), 8vw, var(--space-24));
  position: relative;
  z-index: 1;
  border-left: 2px solid var(--color-accent);
}

.about-stat-row {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.about-stat {
  padding-bottom: var(--space-8);
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

.about-stat:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.about-stat-value {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: 300;
  color: var(--color-accent);
  display: block;
  line-height: 1;
  margin-bottom: var(--space-2);
}

.about-stat-label {
  font-size: var(--text-sm);
  color: rgba(242, 238, 231, 0.55);
  letter-spacing: 0.04em;
}

/* ============================================================
   IMAGE BAND (Full-bleed between sections)
   ============================================================ */
.image-band {
  width: 100%;
  height: 45vh;
  min-height: 280px;
  overflow: hidden;
  position: relative;
}

.image-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%) contrast(1.03);
  transition: filter var(--duration-slow) var(--ease-out);
}

.image-band:hover img {
  filter: grayscale(0%) contrast(1);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-layout {
  background: var(--color-surface-light);
  padding: var(--section-pad-v) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: clamp(var(--space-10), 6vw, var(--space-20));
  align-items: start;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-group label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: var(--space-4) var(--space-5);
  background: var(--color-card-bg);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  transition: border-color var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
  appearance: none;
  -webkit-appearance: none;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-muted);
  opacity: 0.6;
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B6560' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-5) center;
  padding-right: var(--space-10);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}

/* Contact details panel */
.contact-details {
  padding-top: var(--space-8);
  border-top: 2px solid var(--color-accent);
}

.contact-details h3 {
  margin-bottom: var(--space-6);
}

.contact-detail-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--color-border-light);
}

.contact-detail-item:last-of-type {
  border-bottom: none;
}

.contact-detail-label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.contact-detail-value {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

.contact-detail-value:hover {
  color: var(--color-accent);
}

.response-promise {
  background: var(--color-primary);
  padding: var(--space-6);
  border-radius: var(--radius-sm);
  margin-top: var(--space-6);
}

.response-promise p {
  font-size: var(--text-sm);
  color: rgba(242, 238, 231, 0.7);
  max-width: none;
  margin: 0;
}

.response-promise strong {
  color: var(--color-accent);
}

/* ============================================================
   CTA SECTION — Consultation
   ============================================================ */
.cta-section {
  background: var(--color-surface-light);
  padding: var(--section-pad-v) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 60px;
  background: var(--color-accent);
}

.cta-section-dark {
  background: var(--color-primary);
  padding: var(--section-pad-v) 0;
  text-align: center;
}

.cta-section-dark h2 {
  color: var(--color-text-light);
  margin-bottom: var(--space-4);
}

.cta-section-dark p {
  color: rgba(242, 238, 231, 0.65);
  text-align: center;
  margin: 0 auto var(--space-10);
}

.cta-section h2 {
  margin-bottom: var(--space-4);
}

.cta-section .lead {
  margin: 0 auto var(--space-10);
  text-align: center;
  color: var(--color-text-muted);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #080D1A;
  padding: var(--space-16) 0 var(--space-8);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  color: var(--color-text-light);
  margin-bottom: var(--space-4);
}

.footer-brand-desc {
  font-size: var(--text-sm);
  color: rgba(242, 238, 231, 0.45);
  line-height: 1.7;
  max-width: 36ch;
  margin-bottom: var(--space-6);
}

.footer-phone {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-accent);
  text-decoration: none;
  display: block;
  margin-bottom: var(--space-2);
  transition: opacity var(--duration-fast) var(--ease-out);
}

.footer-phone:hover {
  opacity: 0.8;
}

.footer-col-heading {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-5);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-links a {
  font-size: var(--text-sm);
  color: rgba(242, 238, 231, 0.55);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

.footer-links a:hover {
  color: var(--color-text-light);
}

.footer-bottom {
  padding-top: var(--space-8);
  border-top: 1px solid rgba(201, 168, 76, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.footer-legal {
  font-size: var(--text-xs);
  color: rgba(242, 238, 231, 0.3);
  line-height: 1.6;
}

.footer-license {
  font-size: var(--text-xs);
  color: rgba(242, 238, 231, 0.3);
  text-align: right;
}

.footer-realtor-badge {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(242, 238, 231, 0.4);
  text-transform: uppercase;
  border: 1px solid rgba(242, 238, 231, 0.15);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal:nth-child(5) { transition-delay: 0.4s; }

.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.image-reveal {
  overflow: hidden;
}

.image-reveal img {
  transform: scale(1.08);
  transition: transform var(--duration-cinematic) var(--ease-out);
}

.image-reveal.visible img {
  transform: scale(1);
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.text-center { text-align: center; }
.text-right  { text-align: right; }

.text-accent { color: var(--color-accent); }
.text-muted  { color: var(--color-text-muted); }
.text-light  { color: var(--color-text-light); }
.text-muted-dark { color: var(--color-text-muted-dark); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.visually-hidden { @extend .sr-only; }

.mt-auto { margin-top: auto; }
.ml-auto { margin-left: auto; }
.mr-auto { margin-right: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }

.mb-4  { margin-bottom: var(--space-4); }
.mb-6  { margin-bottom: var(--space-6); }
.mb-8  { margin-bottom: var(--space-8); }
.mb-10 { margin-bottom: var(--space-10); }
.mb-12 { margin-bottom: var(--space-12); }

/* ============================================================
   RESPONSIVE — Mobile First
   ============================================================ */

/* ---- 640px — Landscape phone ---- */
@media (min-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---- 768px — Tablet ---- */
@media (max-width: 768px) {
  :root {
    --section-pad-v: var(--space-16);
  }

  /* Nav */
  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-drawer {
    display: flex;
  }

  /* Hero Split — stack on mobile */
  .hero-split {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-split-image {
    min-height: 55vw;
    max-height: 65vh;
  }

  .hero-split-panel {
    padding: var(--space-12) var(--space-6);
  }

  .scroll-indicator {
    display: none;
  }

  /* About overlap — stack */
  .about-overlap-inner {
    grid-template-columns: 1fr;
  }

  .about-overlap-image {
    margin-right: 0;
    margin-bottom: calc(-1 * var(--space-12));
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
  }

  .about-overlap-stats {
    padding: var(--space-16) var(--space-6) var(--space-10);
    border-left: none;
    border-top: 2px solid var(--color-accent);
  }

  /* Services bento — stack */
  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-card.bento-large,
  .bento-card.bento-small-top,
  .bento-card.bento-small-bottom {
    grid-column: 1;
    grid-row: auto;
    min-height: 280px;
  }

  /* Service pillar */
  .service-pillar-grid,
  .service-pillar-grid.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  /* About story */
  .about-story-grid {
    grid-template-columns: 1fr;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-license {
    text-align: left;
  }

  /* Trust anchor */
  .trust-anchor-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .trust-platforms {
    align-items: center;
  }
}

/* ---- 1024px — Desktop ---- */
@media (min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .bento-card.bento-large {
    min-height: 600px;
  }
}

/* ---- 1280px — Wide desktop ---- */
@media (min-width: 1280px) {
  :root {
    --section-pad-v: var(--space-32);
  }
}

/* ---- Small mobile — < 480px ---- */
@media (max-width: 480px) {
  h1 {
    font-size: var(--text-3xl);
  }

  h2 {
    font-size: var(--text-2xl);
  }

  .hero-split-panel h1 {
    font-size: clamp(var(--text-3xl), 8vw, var(--text-4xl));
  }

  .trust-score-number {
    font-size: 72px;
  }

  .credentials-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================================
   PRINT — minimal
   ============================================================ */
@media print {
  .nav, .scroll-indicator, .nav-hamburger { display: none; }
  body { background: white; color: black; }
  .section-dark { background: #111; color: white; }
}
