/* ============================================================
   COASTAL REALTY GROUP — Main Stylesheet
   Charleston SC Real Estate | Coastal Realty Group
   Merriweather (heading) + Source Sans 3 (body)
   ============================================================ */

/* ============================================================
   1. CSS CUSTOM PROPERTIES (ROOT VARIABLES)
   ============================================================ */
:root {
  /* Brand Colors */
  --color-primary: #0d2137;
  --color-primary-dark: #060f1a;
  --color-primary-light: #1a3555;
  --color-accent: #3a9b8c;
  --color-accent-dark: #2d7a6e;
  --color-accent-light: #4db8a8;
  --color-gold: #c49a3c;
  --color-gold-dark: #a07e2e;
  --color-gold-light: #d4b05a;
  --color-sand: #faf7f2;
  --color-sand-dark: #f0ebe2;
  --color-bg: #faf7f2;
  --color-bg-alt: #f0f7f6;
  --color-bg-dark: #0d2137;
  --color-text: #0d2137;
  --color-text-light: #6b7280;
  --color-text-muted: #9ca3af;
  --color-border: #d1dce8;
  --color-border-light: #e8edf3;
  --color-white: #ffffff;
  --color-error: #dc2626;
  --color-success: #16a34a;

  /* Typography */
  --font-heading: 'Merriweather', 'Georgia', 'Times New Roman', serif;
  --font-body: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;

  /* Font Sizes */
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;
  --font-size-4xl: 2.5rem;
  --font-size-5xl: 3rem;
  --font-size-hero: 3.5rem;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-section: 5rem;
  --space-section-lg: 7rem;

  /* Layout */
  --max-width: 1280px;
  --max-width-narrow: 800px;
  --nav-height: 72px;
  --border-radius: 8px;
  --border-radius-sm: 4px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;
  --border-radius-pill: 100px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(13, 33, 55, 0.06);
  --shadow-sm: 0 1px 4px rgba(13, 33, 55, 0.08);
  --shadow-md: 0 4px 16px rgba(13, 33, 55, 0.10);
  --shadow-lg: 0 8px 32px rgba(13, 33, 55, 0.12);
  --shadow-xl: 0 16px 56px rgba(13, 33, 55, 0.15);
  --shadow-gold: 0 4px 20px rgba(196, 154, 60, 0.25);
  --shadow-accent: 0 4px 20px rgba(58, 155, 140, 0.25);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
  --transition-slow: 0.4s ease;
  --transition-spring: 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================================
   2. MINIMAL CSS RESET
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

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

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-accent-dark);
}

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: var(--font-body);
}

input,
textarea,
select {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
}

/* ============================================================
   3. ACCESSIBILITY
   ============================================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: var(--color-white);
  padding: 12px 24px;
  border-radius: 0 0 var(--border-radius) var(--border-radius);
  z-index: 10000;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s ease;
  font-size: var(--font-size-base);
}

.skip-link:focus {
  top: 0;
  color: var(--color-white);
}

.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;
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: var(--border-radius-sm);
}

/* ============================================================
   4. LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-xl);
}

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

.section {
  padding-block: var(--space-section);
}

.section-lg {
  padding-block: var(--space-section-lg);
}

.section-sm {
  padding-block: var(--space-2xl);
}

.section-title {
  font-family: var(--font-heading);
  font-size: var(--font-size-4xl);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: var(--font-size-lg);
  color: var(--color-text-light);
  line-height: 1.6;
  max-width: 600px;
  margin-bottom: var(--space-2xl);
}

.section-header {
  margin-bottom: var(--space-2xl);
}

.section-header.centered {
  text-align: center;
}

.section-header.centered .section-subtitle {
  margin-inline: auto;
}

.section-eyebrow {
  font-size: var(--font-size-sm);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
  display: block;
}

.section-eyebrow.gold {
  color: var(--color-gold);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.bg-white { background-color: var(--color-white); }
.bg-sand { background-color: var(--color-sand); }
.bg-bg-alt { background-color: var(--color-bg-alt); }
.bg-primary { background-color: var(--color-primary); }
.bg-accent { background-color: var(--color-accent); }

/* ============================================================
   5. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-primary);
  letter-spacing: -0.01em;
}

h1 { font-size: var(--font-size-hero); }
h2 { font-size: var(--font-size-4xl); }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }
h5 { font-size: var(--font-size-lg); }
h6 { font-size: var(--font-size-base); }

p {
  line-height: 1.7;
  color: var(--color-text);
  max-width: 70ch;
}

p + p {
  margin-top: var(--space-md);
}

strong { font-weight: 700; }
em { font-style: italic; }

.text-white { color: var(--color-white) !important; }
.text-white p { color: rgba(255, 255, 255, 0.88) !important; }
.text-white h1, .text-white h2, .text-white h3 { color: var(--color-white) !important; }
.text-accent { color: var(--color-accent); }
.text-gold { color: var(--color-gold); }
.text-muted { color: var(--color-text-light); }
.text-sm { font-size: var(--font-size-sm); }
.text-lg { font-size: var(--font-size-lg); }
.text-center { text-align: center; }
.text-left { text-align: left; }

.lead {
  font-size: var(--font-size-xl);
  line-height: 1.6;
  color: var(--color-text-light);
}

blockquote {
  border-left: 4px solid var(--color-accent);
  padding-left: var(--space-lg);
  font-style: italic;
  color: var(--color-text-light);
  font-size: var(--font-size-lg);
  line-height: 1.7;
  margin-block: var(--space-xl);
}

/* ============================================================
   6. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  border-radius: var(--border-radius);
  font-size: var(--font-size-base);
  font-weight: 700;
  font-family: var(--font-body);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
  background-color: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(58, 155, 140, 0.35);
}

.btn-primary:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 3px;
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
}

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

.btn-gold {
  background-color: var(--color-gold);
  color: var(--color-white);
  border-color: var(--color-gold);
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  background-color: var(--color-gold-dark);
  border-color: var(--color-gold-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(196, 154, 60, 0.35);
}

.btn-white {
  background-color: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}

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

.btn-outline-white {
  background-color: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn-lg {
  padding: 18px 42px;
  font-size: var(--font-size-lg);
}

.btn-sm {
  padding: 10px 20px;
  font-size: var(--font-size-sm);
}

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

/* ============================================================
   7. NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(13, 33, 55, 0.98);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: all var(--transition-base);
}

.site-header.scrolled {
  background: rgba(13, 33, 55, 1);
  box-shadow: var(--shadow-lg);
}

.nav-inner {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-xl);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo svg {
  height: 46px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex: 1;
  justify-content: center;
}

.nav-links a {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  padding: 8px 12px;
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-fast);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.08);
}

.nav-links a.active {
  color: var(--color-accent);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-shrink: 0;
}

.nav-phone {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.82);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition-fast);
}

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

.nav-phone svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius-sm);
  transition: background var(--transition-fast);
}

.nav-hamburger:hover {
  background: rgba(255, 255, 255, 0.08);
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all var(--transition-base);
  transform-origin: center;
}

.nav-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav panel */
.nav-mobile {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--color-primary-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transform: translateY(-100%);
  opacity: 0;
  transition: all var(--transition-slow);
  z-index: 998;
  pointer-events: none;
  max-height: calc(100vh - var(--nav-height));
  overflow-y: auto;
}

.nav-mobile.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.nav-mobile-inner {
  padding: var(--space-lg) var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.nav-mobile-inner a {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  padding: 12px 16px;
  border-radius: var(--border-radius);
  transition: all var(--transition-fast);
  display: block;
}

.nav-mobile-inner a:hover {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.06);
}

.nav-mobile-inner a.active {
  color: var(--color-accent);
}

.nav-mobile-cta {
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.nav-mobile-phone {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-accent);
  display: block;
  padding: 12px 16px;
  text-align: center;
  border: 2px solid var(--color-accent);
  border-radius: var(--border-radius);
}

/* ============================================================
   8. HERO SECTIONS
   ============================================================ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background-color: var(--color-primary-dark);
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #060f1a 0%, #0d2137 40%, #1a3555 70%, #0d2137 100%);
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c49a3c' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(6, 15, 26, 0.85) 0%,
    rgba(13, 33, 55, 0.5) 50%,
    rgba(13, 33, 55, 0.2) 100%
  );
  z-index: 1;
}

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

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  min-height: calc(90vh - var(--nav-height));
}

.hero-text {
  padding-block: var(--space-section);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-size-sm);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-lg);
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--color-gold);
}

.hero h1 {
  font-size: var(--font-size-hero);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-lg);
}

.hero h1 .hero-accent {
  color: var(--color-accent);
}

.hero h1 .hero-gold {
  color: var(--color-gold);
}

.hero-subtitle {
  font-size: var(--font-size-xl);
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
  margin-bottom: var(--space-2xl);
  max-width: 520px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stat-item {
  text-align: center;
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
  display: block;
}

.hero-stat-label {
  font-size: var(--font-size-xs);
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 4px;
  display: block;
}

/* Hero Visual Side */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  position: relative;
}

.hero-card-stack {
  position: relative;
}

.hero-main-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.hero-listing-img {
  width: 100%;
  height: 280px;
  background: linear-gradient(135deg, #1a3555 0%, #2d7a6e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-listing-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a3555 0%, #0d2137 50%, #2d7a6e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.15);
  font-size: 5rem;
}

.hero-listing-info {
  padding: var(--space-lg);
}

.hero-listing-price {
  font-family: var(--font-heading);
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: 4px;
}

.hero-listing-address {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: var(--space-sm);
}

.hero-listing-details {
  display: flex;
  gap: var(--space-lg);
  font-size: var(--font-size-xs);
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  background: var(--color-accent);
  color: var(--color-white);
  font-size: var(--font-size-xs);
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--border-radius-pill);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-floating-card {
  position: absolute;
  background: var(--color-white);
  border-radius: var(--border-radius);
  padding: var(--space-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.hero-floating-card.card-reviews {
  bottom: -var(--space-lg);
  right: var(--space-md);
  bottom: var(--space-lg);
}

.hero-floating-card.card-sold {
  top: var(--space-md);
  right: -var(--space-md);
}

.hero-floating-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius);
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
}

.hero-floating-text {
  line-height: 1.3;
}

.hero-floating-number {
  font-family: var(--font-heading);
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--color-primary);
  display: block;
}

.hero-floating-label {
  font-size: var(--font-size-xs);
  color: var(--color-text-light);
}

/* Interior page hero (smaller) */
.hero-interior {
  min-height: 40vh;
  padding-top: var(--nav-height);
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 60%, var(--color-primary-light) 100%);
  display: flex;
  align-items: center;
}

.hero-interior .container {
  display: block;
  padding-block: var(--space-section);
  min-height: auto;
}

.hero-interior h1 {
  color: var(--color-white);
  font-size: var(--font-size-4xl);
  margin-bottom: var(--space-md);
}

.hero-interior p {
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--font-size-lg);
  max-width: 600px;
}

/* ============================================================
   9. CARDS
   ============================================================ */
.card {
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-body {
  padding: var(--space-xl);
}

.card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.card-img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-border);
  font-size: 3rem;
}

.card-tag {
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
  display: block;
}

.card-title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
  font-family: var(--font-heading);
  line-height: 1.3;
}

.card-text {
  font-size: var(--font-size-base);
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border-light);
  margin-top: var(--space-md);
}

/* Service Cards */
.service-card {
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--color-border-light);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--color-accent), var(--color-accent-light));
  opacity: 0;
  transition: opacity var(--transition-base);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--border-radius);
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  transition: all var(--transition-base);
}

.service-card:hover .service-icon {
  background: var(--color-accent);
  color: var(--color-white);
}

.service-icon svg {
  width: 28px;
  height: 28px;
  color: var(--color-accent);
  transition: color var(--transition-base);
}

.service-card:hover .service-icon svg {
  color: var(--color-white);
}

.service-card h3 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-sm);
}

.service-card p {
  font-size: var(--font-size-base);
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
  max-width: none;
}

.service-card .link-arrow {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition-fast);
}

.service-card .link-arrow:hover {
  gap: 8px;
}

/* Neighborhood Cards */
.neighborhood-card {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--color-primary);
  transition: all var(--transition-base);
}

.neighborhood-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.neighborhood-card-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.neighborhood-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 15, 26, 0.88) 0%, rgba(13, 33, 55, 0.3) 60%, transparent 100%);
  z-index: 1;
  transition: background var(--transition-base);
}

.neighborhood-card:hover .neighborhood-card-overlay {
  background: linear-gradient(to top, rgba(6, 15, 26, 0.92) 0%, rgba(13, 33, 55, 0.5) 60%, rgba(13, 33, 55, 0.1) 100%);
}

.neighborhood-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-xl);
  z-index: 2;
}

.neighborhood-card h3 {
  font-size: var(--font-size-xl);
  color: var(--color-white);
  margin-bottom: 4px;
  line-height: 1.2;
}

.neighborhood-card-price {
  font-size: var(--font-size-sm);
  color: var(--color-gold);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  display: block;
}

.neighborhood-card-desc {
  font-size: var(--font-size-xs);
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.4;
  margin-bottom: var(--space-sm);
  display: block;
}

.neighborhood-card-link {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition-fast);
}

.neighborhood-card-link:hover {
  gap: 8px;
  color: var(--color-accent-light);
}

/* Team Cards */
.team-card {
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  border: 1px solid var(--color-border-light);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.team-card-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  background: linear-gradient(135deg, var(--color-bg-alt) 0%, var(--color-border-light) 100%);
}

.team-card-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.2);
  font-size: 4rem;
  font-family: var(--font-heading);
}

.team-card-body {
  padding: var(--space-lg);
}

.team-card h3 {
  font-size: var(--font-size-xl);
  margin-bottom: 4px;
}

.team-card-role {
  font-size: var(--font-size-sm);
  color: var(--color-accent);
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: var(--space-sm);
  display: block;
}

.team-card-specialty {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  line-height: 1.5;
  margin-bottom: var(--space-md);
  max-width: none;
}

.team-card-contact {
  display: flex;
  gap: var(--space-sm);
}

/* Testimonial Cards */
.testimonial-card {
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border-light);
  position: relative;
}

.testimonial-stars {
  color: var(--color-gold);
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: var(--space-md);
  display: block;
}

.testimonial-text {
  font-size: var(--font-size-base);
  line-height: 1.7;
  color: var(--color-text);
  font-style: italic;
  margin-bottom: var(--space-lg);
  max-width: none;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--font-size-lg);
  color: var(--color-primary);
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 700;
  color: var(--color-primary);
  font-size: var(--font-size-base);
  display: block;
}

.testimonial-source {
  font-size: var(--font-size-xs);
  color: var(--color-text-light);
  display: block;
}

/* ============================================================
   10. STATS SECTION
   ============================================================ */
.stats-section {
  background: var(--color-primary);
  padding-block: var(--space-section);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(58, 155, 140, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  text-align: center;
}

.stat-item {
  padding: var(--space-lg);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: var(--font-size-5xl);
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
  display: block;
  margin-bottom: var(--space-sm);
}

.stat-label {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: block;
}

.stat-divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}

/* ============================================================
   11. TRUST SIGNALS / BADGES
   ============================================================ */
.trust-bar {
  background: var(--color-white);
  padding-block: var(--space-xl);
  border-bottom: 1px solid var(--color-border-light);
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-2xl);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-primary);
}

.trust-item svg {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
  flex-shrink: 0;
}

.trust-item .trust-divider {
  width: 1px;
  height: 24px;
  background: var(--color-border-light);
}

/* Google / Zillow Rating Display */
.rating-display {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.rating-stars {
  color: var(--color-gold);
  font-size: 1rem;
  letter-spacing: 1px;
}

.rating-count {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
}

.rating-score {
  font-weight: 700;
  color: var(--color-primary);
}

/* ============================================================
   12. PROCESS / HOW IT WORKS
   ============================================================ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 28px);
  right: calc(12.5% + 28px);
  height: 2px;
  background: linear-gradient(to right, var(--color-accent), var(--color-gold));
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: var(--font-size-xl);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  box-shadow: var(--shadow-accent);
}

.process-step h3 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-sm);
}

.process-step p {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  line-height: 1.5;
  max-width: 200px;
  margin-inline: auto;
}

/* ============================================================
   13. CTA SECTIONS
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-primary-light) 100%);
  padding-block: var(--space-section-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(58, 155, 140, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 154, 60, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  color: var(--color-white);
  font-size: var(--font-size-4xl);
  margin-bottom: var(--space-lg);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--font-size-xl);
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
}

.cta-section .btn-group {
  justify-content: center;
}

/* ============================================================
   14. FORMS
   ============================================================ */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--color-border);
  border-radius: var(--border-radius);
  font-size: var(--font-size-base);
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  transition: all var(--transition-fast);
  line-height: 1.5;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(58, 155, 140, 0.12);
}

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

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

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%236b7280' d='M8 10L3 5h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

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

.form-error {
  font-size: var(--font-size-sm);
  color: var(--color-error);
  margin-top: 4px;
  display: none;
}

.form-input.error {
  border-color: var(--color-error);
}

.form-input.error + .form-error {
  display: block;
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
  tab-index: -1;
}

.form-submit {
  width: 100%;
  padding: 16px;
  font-size: var(--font-size-lg);
}

.form-container {
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-lg);
  max-width: 600px;
  margin-inline: auto;
}

.form-container h2 {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-sm);
}

.form-container .form-intro {
  color: var(--color-text-light);
  margin-bottom: var(--space-xl);
  max-width: none;
}

/* ============================================================
   15. FAQ ACCORDION
   ============================================================ */
.faq-list {
  max-width: 800px;
  margin-inline: auto;
}

.faq-item {
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius);
  margin-bottom: var(--space-sm);
  overflow: hidden;
  transition: box-shadow var(--transition-fast);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-item.open {
  border-color: var(--color-accent);
}

.faq-question {
  width: 100%;
  padding: var(--space-lg);
  background: var(--color-white);
  border: none;
  text-align: left;
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--color-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  transition: all var(--transition-fast);
}

.faq-question:hover {
  background: var(--color-bg-alt);
}

.faq-item.open .faq-question {
  color: var(--color-accent);
  background: rgba(58, 155, 140, 0.04);
}

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border: 2px solid var(--color-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  color: var(--color-text-light);
}

.faq-item.open .faq-icon {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: var(--color-white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 var(--space-lg) var(--space-lg);
  font-size: var(--font-size-base);
  color: var(--color-text-light);
  line-height: 1.7;
}

.faq-answer-inner p { max-width: none; }

/* ============================================================
   16. BREADCRUMBS
   ============================================================ */
.breadcrumbs {
  padding: var(--space-md) 0;
  margin-bottom: var(--space-lg);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumbs li:not(:last-child)::after {
  content: '›';
  color: var(--color-text-muted);
}

.breadcrumbs a {
  color: var(--color-accent);
  transition: color var(--transition-fast);
}

.breadcrumbs a:hover {
  color: var(--color-accent-dark);
}

/* White breadcrumbs for dark hero */
.breadcrumbs.white ol {
  color: rgba(255, 255, 255, 0.65);
}

.breadcrumbs.white a {
  color: rgba(255, 255, 255, 0.85);
}

.breadcrumbs.white a:hover {
  color: var(--color-white);
}

.breadcrumbs.white li:not(:last-child)::after {
  color: rgba(255, 255, 255, 0.4);
}

/* ============================================================
   17. FOOTER
   ============================================================ */
.site-footer {
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.78);
  padding-top: var(--space-section);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  padding-bottom: var(--space-section);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  margin-bottom: var(--space-lg);
}

.footer-tagline {
  font-size: var(--font-size-base);
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
  max-width: none;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.65);
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition-fast);
}

.footer-contact-item a:hover {
  color: var(--color-accent);
}

.footer-col h4 {
  font-size: var(--font-size-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-white);
  margin-bottom: var(--space-lg);
}

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

.footer-links a {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition-fast);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--color-accent);
  transform: none;
}

.footer-bottom {
  padding-block: var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.footer-copyright {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.45);
}

.powered-by {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.45);
}

.powered-by a {
  color: var(--color-accent);
  font-weight: 700;
}

.powered-by a:hover {
  color: var(--color-accent-light);
}

.footer-legal {
  display: flex;
  gap: var(--space-xl);
}

.footer-legal a {
  font-size: var(--font-size-xs);
  color: rgba(255, 255, 255, 0.35);
  transition: color var(--transition-fast);
}

.footer-legal a:hover {
  color: rgba(255, 255, 255, 0.65);
}

.footer-rating {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--border-radius);
  margin-bottom: var(--space-lg);
}

.footer-rating-item {
  text-align: center;
}

.footer-rating-score {
  font-family: var(--font-heading);
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--color-gold);
  display: block;
  line-height: 1;
}

.footer-rating-platform {
  font-size: var(--font-size-xs);
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
  display: block;
}

/* ============================================================
   18. STICKY MOBILE CTA BAR
   ============================================================ */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-primary);
  padding: 14px 20px;
  z-index: 1000;
  box-shadow: 0 -3px 16px rgba(0, 0, 0, 0.2);
  text-align: center;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.mobile-cta-bar.visible {
  transform: translateY(0);
}

.mobile-cta-bar a {
  color: var(--color-white);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  letter-spacing: 0.02em;
}

.mobile-cta-bar a:hover {
  color: var(--color-accent);
}

/* ============================================================
   19. SCROLL ANIMATIONS
   ============================================================ */
.fade-in-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-up:nth-child(2) { transition-delay: 0.1s; }
.fade-in-up:nth-child(3) { transition-delay: 0.2s; }
.fade-in-up:nth-child(4) { transition-delay: 0.3s; }
.fade-in-up:nth-child(5) { transition-delay: 0.4s; }
.fade-in-up:nth-child(6) { transition-delay: 0.5s; }

.fade-in {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
}

/* ============================================================
   20. BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 100px;
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  border: none;
  opacity: 0;
  transform: translateY(16px);
  transition: all var(--transition-base);
  z-index: 900;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-accent);
  transform: translateY(-2px);
}

/* ============================================================
   21. SECTION-SPECIFIC: HOME PAGE
   ============================================================ */
.services-section {
  background: var(--color-white);
}

.neighborhoods-section {
  background: var(--color-sand);
  clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
  padding-bottom: calc(var(--space-section) + 3rem);
}

.neighborhoods-section + * {
  margin-top: -2rem;
}

.about-preview-section {
  background: var(--color-white);
}

.about-preview-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about-preview-img {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.1);
  font-size: 6rem;
  font-family: var(--font-heading);
  font-weight: 700;
  position: relative;
}

.about-preview-img-caption {
  position: absolute;
  bottom: var(--space-lg);
  left: var(--space-lg);
  right: var(--space-lg);
  color: rgba(255,255,255,0.75);
  font-size: var(--font-size-sm);
  background: rgba(13,33,55,0.7);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--border-radius);
  backdrop-filter: blur(4px);
}

.about-preview-text .section-eyebrow {
  display: block;
  margin-bottom: var(--space-sm);
}

.about-preview-text .section-title {
  margin-bottom: var(--space-lg);
}

.about-preview-text p {
  margin-bottom: var(--space-md);
  max-width: none;
}

.credential-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-block: var(--space-lg);
}

.credential-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-primary);
}

.credential-item svg {
  width: 18px;
  height: 18px;
  color: var(--color-accent);
  flex-shrink: 0;
}

.reviews-section {
  background: var(--color-bg-alt);
}

.reviews-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.reviews-overall {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.reviews-score {
  text-align: center;
}

.reviews-score-number {
  font-family: var(--font-heading);
  font-size: var(--font-size-hero);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  display: block;
}

.reviews-score-stars {
  color: var(--color-gold);
  font-size: 1.25rem;
  display: block;
  margin-block: 4px;
}

.reviews-score-count {
  font-size: var(--font-size-xs);
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.relocation-section {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  position: relative;
  overflow: hidden;
}

.relocation-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.relocation-guide-card {
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-xl);
}

.guide-cover {
  width: 100%;
  aspect-ratio: 3/4;
  max-width: 240px;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-primary) 100%);
  border-radius: var(--border-radius);
  margin: 0 auto var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--space-sm);
  padding: var(--space-xl);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.guide-cover h3 {
  color: var(--color-white);
  font-size: var(--font-size-lg);
  line-height: 1.2;
}

.guide-cover span {
  font-size: var(--font-size-xs);
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Blog/Article styles */
.article-content h2 {
  font-size: var(--font-size-2xl);
  margin-block: var(--space-2xl) var(--space-md);
}

.article-content h3 {
  font-size: var(--font-size-xl);
  margin-block: var(--space-xl) var(--space-sm);
}

.article-content p {
  margin-bottom: var(--space-md);
  max-width: none;
}

.article-content ul,
.article-content ol {
  list-style: disc;
  padding-left: var(--space-xl);
  margin-bottom: var(--space-md);
}

.article-content ol {
  list-style: decimal;
}

.article-content li {
  margin-bottom: var(--space-sm);
  color: var(--color-text);
  line-height: 1.7;
}

.article-content a {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: underline;
}

/* ============================================================
   22. AREA/NEIGHBORHOOD SPECIFIC
   ============================================================ */
.area-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
  margin-bottom: var(--space-section);
}

.area-img {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.1);
  font-size: 5rem;
}

.area-quick-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.area-fact {
  background: var(--color-bg-alt);
  border-radius: var(--border-radius);
  padding: var(--space-md);
  text-align: center;
}

.area-fact-value {
  font-family: var(--font-heading);
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-primary);
  display: block;
}

.area-fact-label {
  font-size: var(--font-size-xs);
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.contact-info-card {
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  padding: var(--space-2xl);
  border: 1px solid var(--color-border-light);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-border-light);
}

.contact-info-item:last-child {
  border-bottom: none;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  background: var(--color-bg-alt);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
}

.contact-info-label {
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-light);
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
}

.contact-info-value {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--color-primary);
}

.contact-info-value a {
  color: var(--color-primary);
  font-weight: 600;
}

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

.map-embed {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  aspect-ratio: 16/9;
  margin-top: var(--space-xl);
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================================
   23. UTILITY CLASSES
   ============================================================ */
.mt-xs { margin-top: var(--space-xs); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }

.mb-xs { margin-bottom: var(--space-xs); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }

.border-top { border-top: 1px solid var(--color-border-light); }
.border-bottom { border-bottom: 1px solid var(--color-border-light); }

.rounded { border-radius: var(--border-radius); }
.rounded-lg { border-radius: var(--border-radius-lg); }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }

.w-full { width: 100%; }
.max-w-prose { max-width: 70ch; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--color-accent);
  font-size: var(--font-size-sm);
  letter-spacing: 0.01em;
  transition: gap var(--transition-fast);
}

.link-arrow:hover {
  gap: 10px;
  color: var(--color-accent-dark);
}

.link-arrow::after {
  content: '→';
}

/* ============================================================
   24. RESPONSIVE BREAKPOINTS — 480px
   ============================================================ */
@media (min-width: 480px) {
  .hero h1 {
    font-size: calc(var(--font-size-hero) * 0.9);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-bar-inner {
    gap: var(--space-xl);
  }
}

/* ============================================================
   25. RESPONSIVE BREAKPOINTS — 768px
   ============================================================ */
@media (min-width: 768px) {
  .section {
    padding-block: var(--space-section);
  }

  .hero {
    min-height: 85vh;
  }

  .hero h1 {
    font-size: var(--font-size-hero);
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   26. RESPONSIVE BREAKPOINTS — 1024px
   ============================================================ */
@media (min-width: 1024px) {
  .nav-hamburger {
    display: none;
  }

  .nav-links {
    display: flex;
  }

  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .process-steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ============================================================
   27. RESPONSIVE BREAKPOINTS — 1280px
   ============================================================ */
@media (min-width: 1280px) {
  .container {
    padding-inline: var(--space-2xl);
  }

  .section-title {
    font-size: var(--font-size-4xl);
  }

  .hero h1 {
    font-size: 4rem;
  }
}

/* ============================================================
   28. RESPONSIVE — MOBILE (max-width)
   ============================================================ */
@media (max-width: 1023px) {
  .nav-hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
  }

  .nav-actions .btn {
    display: none;
  }

  .hero .container {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .hero-text {
    padding-block: var(--space-2xl) var(--space-lg);
  }

  .hero-visual {
    display: none;
  }

  .hero h1 {
    font-size: var(--font-size-4xl);
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-preview-inner {
    grid-template-columns: 1fr;
  }

  .about-preview-img {
    aspect-ratio: 16/9;
    font-size: 4rem;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: none;
  }

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

  .area-header {
    grid-template-columns: 1fr;
  }

  .relocation-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  :root {
    --space-section: 3rem;
    --space-section-lg: 4rem;
  }

  h1 { font-size: var(--font-size-3xl); }
  h2 { font-size: var(--font-size-2xl); }
  h3 { font-size: var(--font-size-xl); }

  .section-title {
    font-size: var(--font-size-2xl);
  }

  .hero {
    min-height: 80vh;
  }

  .hero h1 {
    font-size: var(--font-size-3xl);
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
  }

  .hero-stat-number {
    font-size: var(--font-size-2xl);
  }

  .btn-group {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-lg {
    padding: 15px 24px;
    font-size: var(--font-size-base);
    text-align: center;
    justify-content: center;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: 1fr 1fr;
  }

  .process-steps::before {
    display: none;
  }

  .cta-section h2 {
    font-size: var(--font-size-2xl);
  }

  .cta-section p {
    font-size: var(--font-size-base);
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: var(--space-md);
  }

  .footer-legal {
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-md);
  }

  .reviews-header-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .mobile-cta-bar {
    display: block;
  }

  footer {
    padding-bottom: 70px;
  }

  .back-to-top {
    right: 16px;
    bottom: 80px;
  }

  .hero-interior h1 {
    font-size: var(--font-size-2xl);
  }

  .area-quick-facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-inner {
    padding-inline: var(--space-lg);
  }

  .container {
    padding-inline: var(--space-lg);
  }
}

@media (max-width: 480px) {
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
  }

  .hero-stat-number {
    font-size: var(--font-size-xl);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-bar-inner {
    flex-direction: column;
    gap: var(--space-md);
  }

  .process-steps {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   29. LUXURY PAGE SPECIFIC STYLES
   ============================================================ */
.luxury-hero {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, #1a2a1a 50%, var(--color-primary) 100%);
}

.luxury-feature {
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--color-gold);
  position: relative;
  overflow: hidden;
}

.luxury-feature::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: linear-gradient(225deg, rgba(196, 154, 60, 0.1) 0%, transparent 70%);
}

/* ============================================================
   30. BLOG SPECIFIC
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.blog-card {
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  border: 1px solid var(--color-border-light);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.blog-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.1);
  font-size: 3rem;
}

.blog-card-body {
  padding: var(--space-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-category {
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
  display: block;
}

.blog-card h3 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-sm);
  line-height: 1.3;
  flex: 1;
}

.blog-card h3 a {
  color: var(--color-primary);
  transition: color var(--transition-fast);
}

.blog-card h3 a:hover {
  color: var(--color-accent);
}

.blog-card-meta {
  font-size: var(--font-size-xs);
  color: var(--color-text-light);
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border-light);
}

.article-header {
  max-width: 800px;
  margin: 0 auto var(--space-section);
  text-align: center;
}

.article-body {
  max-width: 740px;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   31. ERROR AND THANK YOU PAGES
   ============================================================ */
.error-page,
.thank-you-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
}

.error-page-inner,
.thank-you-page-inner {
  max-width: 500px;
}

.error-page h1,
.thank-you-page h1 {
  font-size: var(--font-size-4xl);
  margin-bottom: var(--space-md);
}

.error-page p,
.thank-you-page p {
  color: var(--color-text-light);
  margin-bottom: var(--space-lg);
  max-width: none;
}

.error-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: center;
}

/* ============================================================
   32. PREFERS-REDUCED-MOTION (REQUIRED)
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .fade-in-up,
  .fade-in {
    opacity: 1;
    transform: none;
  }

  .mobile-cta-bar {
    transition: none;
  }
}

/* ============================================================
   33. BLOG & PROSE STYLES
   ============================================================ */
.prose-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
  align-items: start;
}

.blog-article {
  max-width: none;
}

.blog-article p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #333;
  margin-bottom: 1.4rem;
}

.blog-article h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--navy);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--seafoam);
}

.blog-article h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--navy);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.blog-article strong {
  color: var(--navy);
  font-weight: 700;
}

.blog-article ul,
.blog-article ol {
  padding-left: 1.5rem;
  margin-bottom: 1.4rem;
}

.blog-article li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
  color: #333;
}

.blog-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-card {
  background: var(--sand);
  border: 1px solid #e8e2d8;
  border-radius: 12px;
  padding: 28px;
}

.sidebar-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 12px;
}

.sidebar-card p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 16px;
  line-height: 1.6;
}

.sidebar-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-card ul li {
  margin-bottom: 8px;
}

.sidebar-card ul li a {
  color: var(--seafoam);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}

.sidebar-card ul li a:hover {
  color: var(--navy);
}

@media (max-width: 1023px) {
  .prose-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .blog-sidebar {
    position: static;
  }
}

/* ============================================================
   34. PRINT STYLES
   ============================================================ */
@media print {
  .site-header,
  .mobile-cta-bar,
  .back-to-top,
  #jess-widget {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  a[href]::after {
    content: ' (' attr(href) ')';
  }
}
