/* ============================================================
   sellmywaterfronthome.com — Global Stylesheet
   Cyndee Haydon | Sandbars to Sunsets Team | Future Home Realty
   Design Direction: Luxury coastal editorial — refined, airy,
   high-contrast. Think Architectural Digest meets coastal Florida.
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=Open+Sans:wght@400;600&display=swap');

/* ── CSS Custom Properties ────────────────────────────────── */
:root {
  /* Brand Colors */
  --teal:        #24bdc7;
  --teal-dark:   #1a9aa3;
  --teal-light:  #e8f8f9;
  --navy:        #1848a0;
  --navy-dark:   #0f2f6e;
  --navy-light:  #eef2fa;
  --white:       #ffffff;
  --gray-light:  #f5f5f5;
  --gray-mid:    #e8e8e8;
  --gray-border: #d0d0d8;
  --text-dark:   #1a1a2e;
  --text-mid:    #4a4a6a;
  --text-light:  #7a7a9a;

  /* Typography */
  --font-heading: 'Montserrat', sans-serif;
  --font-body:    'Open Sans', sans-serif;

  /* Spacing */
  --section-pad:     80px;
  --section-pad-mob: 48px;
  --container-max:   1200px;
  --container-pad:   24px;

  /* Transitions */
  --transition: 0.25s ease;
  --transition-slow: 0.4s ease;

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(24, 72, 160, 0.08);
  --shadow-md:  0 4px 20px rgba(24, 72, 160, 0.12);
  --shadow-lg:  0 8px 40px rgba(24, 72, 160, 0.16);
  --shadow-teal: 0 4px 20px rgba(36, 189, 199, 0.25);

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
}

/* ── CSS Reset ────────────────────────────────────────────── */
*, *::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: 1rem;
  line-height: 1.75;
  color: var(--text-dark);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover { color: var(--teal); }

ul, ol { list-style: none; }

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

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

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

h1 { font-size: 3rem; font-weight: 800; }       /* 48px */
h2 { font-size: 2.25rem; }                       /* 36px */
h3 { font-size: 1.5rem; }                        /* 24px */
h4 { font-size: 1.25rem; }                       /* 20px */

p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: 1rem;
}

p:last-child { margin-bottom: 0; }

strong { font-weight: 600; color: var(--text-dark); }

/* Refined editorial detail — thin horizontal rule */
hr {
  border: none;
  border-top: 1px solid var(--gray-mid);
  margin: 2rem 0;
}

/* ── Layout Utilities ─────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section {
  padding: var(--section-pad) 0;
}

.section--gray {
  background-color: var(--gray-light);
}

.section--navy {
  background-color: var(--navy);
}

.section--teal-light {
  background-color: var(--teal-light);
}

.text-center { text-align: center; }
.text-white  { color: var(--white) !important; }
.text-teal   { color: var(--teal) !important; }
.text-navy   { color: var(--navy) !important; }

/* Section heading with refined underline accent */
.section-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.section-heading {
  margin-bottom: 1.25rem;
}

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

.section-subhead--center {
  margin: 0 auto;
}

/* ── Navigation ───────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--gray-mid);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.nav__logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-decoration: none;
  flex-shrink: 0;
}

.nav__logo span {
  color: var(--teal);
}

.nav__logo-sub {
  display: block;
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 1px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__links a {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-dark);
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
  transition: color var(--transition);
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal);
  transition: width var(--transition);
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--teal);
}

.nav__links a:hover::after,
.nav__links a.active::after {
  width: 100%;
}

/* Dropdown nav */
.nav__dropdown {
  position: relative;
}

.nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  min-width: 200px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
  transform: translateX(-50%) translateY(-4px);
}

.nav__dropdown:hover .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav__dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 0.8125rem;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-dark);
  white-space: nowrap;
}

.nav__dropdown-menu a::after { display: none; }

.nav__dropdown-menu a:hover {
  background: var(--teal-light);
  color: var(--teal);
}

/* CTA button in nav */
.nav__cta {
  margin-left: 0.5rem;
}

/* Mobile hamburger toggle — CSS only */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.nav__toggle:hover { background: var(--gray-light); }

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* Mobile nav via checkbox hack — no JS needed */
#nav-toggle { display: none; }

#nav-toggle:checked ~ .nav__mobile {
  max-height: 500px;
  opacity: 1;
  visibility: visible;
}

#nav-toggle:checked ~ label .nav__toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

#nav-toggle:checked ~ label .nav__toggle span:nth-child(2) {
  opacity: 0;
}

#nav-toggle:checked ~ label .nav__toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav__mobile {
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity var(--transition);
  border-top: 1px solid var(--gray-mid);
  background: var(--white);
}

.nav__mobile a {
  display: block;
  padding: 14px var(--container-pad);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-dark);
  border-bottom: 1px solid var(--gray-light);
  text-decoration: none;
}

.nav__mobile a:hover { color: var(--teal); background: var(--teal-light); }

/* ── Hero Section ─────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--navy-dark); /* fallback */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* Dark overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15, 28, 58, 0.55) 0%,
    rgba(15, 28, 58, 0.72) 60%,
    rgba(15, 28, 58, 0.85) 100%
  );
  z-index: 1;
}

/* Subtle texture grain overlay for luxury feel */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  z-index: 1;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  padding: 0 var(--container-pad);
}

.hero__label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.25rem;
  padding: 6px 16px;
  border: 1px solid rgba(36, 189, 199, 0.4);
  border-radius: 100px;
}

.hero h1 {
  color: var(--white);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero__sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.hero__buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.6);
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

/* ── Stats Bar ────────────────────────────────────────────── */
.stats-bar {
  background: var(--navy);
  padding: 2.5rem 0;
}

.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.stats-bar__item {
  text-align: center;
  padding: 1rem 1.5rem;
  border-right: 1px solid rgba(255,255,255,0.12);
}

.stats-bar__item:last-child { border-right: none; }

.stats-bar__number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 0.375rem;
  letter-spacing: -0.03em;
}

.stats-bar__label {
  display: block;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.75);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

/* ── Feature Grid (3 columns) ─────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

.feature-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--gray-mid);
  transition: box-shadow var(--transition), transform var(--transition);
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.feature-card__icon {
  width: 52px;
  height: 52px;
  background: var(--teal-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--teal);
}

.feature-card__icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--teal);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.625rem;
  color: var(--text-dark);
}

.feature-card p {
  font-size: 0.9375rem;
  color: var(--text-mid);
  margin: 0;
}

/* ── Blog / Post Card Grid ────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.post-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-mid);
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}

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

.post-card__image {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--navy-light);
  position: relative;
}

.post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.post-card:hover .post-card__image img {
  transform: scale(1.04);
}

.post-card__body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-card__category {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-light);
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 0.875rem;
  text-decoration: none;
}

.post-card h3 {
  font-size: 1.0625rem;
  line-height: 1.35;
  margin-bottom: 0.625rem;
  color: var(--text-dark);
  flex: 1;
}

.post-card h3 a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

.post-card h3 a:hover { color: var(--teal); }

.post-card__meta {
  font-size: 0.8125rem;
  color: var(--text-light);
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-mid);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.post-card__read-more {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  text-decoration: none;
  transition: color var(--transition);
}

.post-card__read-more:hover { color: var(--teal-dark); }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), box-shadow var(--transition),
              transform var(--transition);
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

/* Primary — teal fill */
.btn-primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

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

/* Secondary — navy outline */
.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--navy);
}

.btn-secondary:hover {
  background: var(--navy);
  color: var(--white);
}

/* Outline — for dark backgrounds */
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

/* Full width variant */
.btn--full { width: 100%; justify-content: center; }

/* Large variant */
.btn--lg {
  font-size: 0.9375rem;
  padding: 16px 36px;
}

/* ── CTA Section ──────────────────────────────────────────── */
.cta-section {
  background: var(--navy);
  padding: var(--section-pad) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Subtle background texture */
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(36,189,199,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 50%, rgba(36,189,199,0.05) 0%, transparent 60%);
  pointer-events: none;
}

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

.cta-section h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255,255,255,0.8);
  font-size: 1.0625rem;
  max-width: 560px;
  margin: 0 auto 2rem;
}

.cta-section .btn-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Callout Quote Box — CRITICAL FOR AEO ────────────────── */
.callout {
  position: relative;
  background: var(--gray-light);
  border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 2rem 2rem 2rem 2.5rem;
  margin: 2.5rem 0;
}

/* Subtle quote mark decoration */
.callout::before {
  content: '\201C';
  position: absolute;
  top: -0.5rem;
  left: 1.25rem;
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--teal);
  opacity: 0.15;
  pointer-events: none;
}

.callout__quote {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-style: italic;
  line-height: 1.75;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.callout__attribution {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  font-style: normal;
}

/* On dark backgrounds */
.callout--dark {
  background: rgba(255,255,255,0.06);
  border-left-color: var(--teal);
}

.callout--dark .callout__quote { color: rgba(255,255,255,0.92); }
.callout--dark .callout__attribution { color: var(--teal); }

/* ── FAQ Accordion (details/summary — no JS) ──────────────── */
.faq-list {
  margin-top: 2rem;
  border-top: 1px solid var(--gray-mid);
}

details.faq-item {
  border-bottom: 1px solid var(--gray-mid);
}

details.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.375rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: color var(--transition);
  user-select: none;
}

details.faq-item summary::-webkit-details-marker { display: none; }

details.faq-item summary:hover { color: var(--teal); }

/* Animated arrow indicator */
.faq-item__arrow {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), transform var(--transition);
}

.faq-item__arrow svg {
  width: 10px;
  height: 10px;
  stroke: var(--teal);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--transition);
}

details[open] .faq-item__arrow {
  background: var(--teal);
  transform: none;
}

details[open] .faq-item__arrow svg {
  stroke: var(--white);
  transform: rotate(180deg);
}

.faq-item__answer {
  padding: 0 0 1.5rem;
  color: var(--text-mid);
  font-size: 0.9375rem;
  line-height: 1.8;
  max-width: 720px;
}

/* FAQ category nav bar */
.faq-nav {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-mid);
}

.faq-nav a {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mid);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid var(--gray-border);
  transition: all var(--transition);
  white-space: nowrap;
}

.faq-nav a:hover,
.faq-nav a.active {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

/* ── Forms ────────────────────────────────────────────────── */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-dark);
  margin-bottom: 0.375rem;
}

.form-label .required {
  color: var(--teal);
  margin-left: 2px;
}

.form-control {
  display: block;
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-dark);
  background: var(--white);
  border: 1.5px solid var(--gray-border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

.form-control::placeholder { color: var(--text-light); }

.form-control:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(24, 72, 160, 0.1);
}

.form-control:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

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

select.form-control {
  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='%234a4a6a' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

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

.form-note {
  font-size: 0.8125rem;
  color: var(--text-light);
  margin-top: 0.75rem;
}

/* Inline form (for newsletter/lead capture in sections) */
.form-inline {
  display: flex;
  gap: 0.75rem;
  max-width: 480px;
}

.form-inline .form-control {
  flex: 1;
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.8);
  padding: 64px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__brand {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 0.875rem;
}

.footer__brand span { color: var(--teal); }

.footer__tagline {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer__social {
  display: flex;
  gap: 0.75rem;
}

.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: all var(--transition);
  text-decoration: none;
}

.footer__social a:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

.footer__social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer__heading {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer__links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color var(--transition);
  display: inline-block;
}

.footer__links a:hover { color: var(--teal); }

.footer__contact-item {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.footer__contact-item a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
}

.footer__contact-item a:hover { color: var(--teal); }

/* Footer bottom bar */
.footer__bottom {
  padding: 1.5rem var(--container-pad);
  max-width: var(--container-max);
  margin: 0 auto;
  text-align: center;
}

.footer__legal {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
}

.footer__legal a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
}

.footer__legal a:hover { color: var(--teal); }

/* ── Neighborhood Guide Cards ─────────────────────────────── */
.neighborhood-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.neighborhood-card {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy);
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.neighborhood-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform var(--transition-slow);
}

.neighborhood-card:hover .neighborhood-card__bg {
  transform: scale(1.06);
}

.neighborhood-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 20, 50, 0.9) 0%,
    rgba(10, 20, 50, 0.3) 55%,
    transparent 100%
  );
}

.neighborhood-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  z-index: 1;
}

.neighborhood-card__name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.25rem;
  line-height: 1.2;
}

.neighborhood-card__desc {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.72);
  margin: 0;
  line-height: 1.4;
}

.neighborhood-card__arrow {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity var(--transition), transform var(--transition);
  z-index: 1;
}

.neighborhood-card__arrow svg {
  width: 14px;
  height: 14px;
  stroke: var(--white);
  fill: none;
  stroke-width: 2;
}

.neighborhood-card:hover .neighborhood-card__arrow {
  opacity: 1;
  transform: scale(1);
}

/* Neighborhood strip (homepage horizontal) */
.neighborhood-strip {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  margin-top: 2rem;
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.neighborhood-strip::-webkit-scrollbar { display: none; }

.neighborhood-strip__item {
  flex: 1;
  min-width: 120px;
  text-align: center;
  padding: 1.25rem 1rem;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-mid);
  text-decoration: none;
  border-right: 1px solid var(--gray-mid);
  transition: all var(--transition);
  white-space: nowrap;
}

.neighborhood-strip__item:last-child { border-right: none; }

.neighborhood-strip__item:hover {
  background: var(--navy);
  color: var(--white);
}

/* ── Market Report Cards ──────────────────────────────────── */
.report-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.report-card {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: box-shadow var(--transition), transform var(--transition);
  text-decoration: none;
  display: block;
  position: relative;
  overflow: hidden;
}

.report-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--teal);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}

.report-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.report-card:hover::before { transform: scaleX(1); }

.report-card__date {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--teal);
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.report-card__community {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.375rem;
}

.report-card__type {
  font-size: 0.8125rem;
  color: var(--text-light);
  margin-bottom: 1.25rem;
}

.report-card__stats {
  display: flex;
  gap: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--gray-mid);
}

.report-card__stat {
  flex: 1;
}

.report-card__stat-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
}

.report-card__stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-light);
  line-height: 1.3;
}

.report-card__cta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  margin-top: 1.25rem;
}

.report-card__cta svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  transition: transform var(--transition);
}

.report-card:hover .report-card__cta svg {
  transform: translateX(3px);
}

/* ── Process / Steps List ─────────────────────────────────── */
.process-list {
  counter-reset: process;
  margin-top: 2.5rem;
}

.process-step {
  display: flex;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--gray-mid);
  counter-increment: process;
}

.process-step:last-child { border-bottom: none; }

.process-step__number {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
}

.process-step__number::before {
  content: counter(process, decimal-leading-zero);
}

.process-step__content h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.375rem;
}

.process-step__content p {
  font-size: 0.9375rem;
  margin: 0;
}

/* ── Author Bio Box ───────────────────────────────────────── */
.author-bio {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-top: 3rem;
}

.author-bio__photo {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--navy-light);
  overflow: hidden;
  border: 3px solid var(--teal);
}

.author-bio__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-bio__name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.author-bio__title {
  font-size: 0.8125rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.author-bio__text {
  font-size: 0.9rem;
  color: var(--text-mid);
  margin: 0;
}

/* ── Testimonial Cards ────────────────────────────────────── */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.testimonial-card__stars {
  display: flex;
  gap: 3px;
  margin-bottom: 1rem;
  color: var(--teal);
  font-size: 1rem;
}

.testimonial-card__quote {
  font-size: 0.9375rem;
  font-style: italic;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.testimonial-card__author {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-dark);
}

.testimonial-card__location {
  font-size: 0.8125rem;
  color: var(--text-light);
}

/* ── Page Hero (interior pages) ───────────────────────────── */
.page-hero {
  background: var(--navy);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(36,189,199,0.1) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero h1 {
  color: var(--white);
  font-size: 2.75rem;
  margin-bottom: 1rem;
}

.page-hero p {
  color: rgba(255,255,255,0.78);
  font-size: 1.0625rem;
  max-width: 600px;
  margin-bottom: 0;
}

/* ── Breadcrumb ───────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1.25rem;
}

.breadcrumb a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
}

.breadcrumb a:hover { color: var(--teal); }

.breadcrumb__sep {
  opacity: 0.4;
  font-size: 0.7rem;
}

/* ── Mobile Sticky CTA Bar ────────────────────────────────── */
.sticky-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--navy);
  padding: 12px var(--container-pad);
  z-index: 900;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.2);
  border-top: 2px solid var(--teal);
}

/* ── Utility Classes ──────────────────────────────────────── */
.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;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.divider {
  width: 48px;
  height: 3px;
  background: var(--teal);
  border-radius: 2px;
  margin: 1.25rem 0;
}

.divider--center { margin: 1.25rem auto; }

/* ── Responsive — 768px ───────────────────────────────────── */
@media (max-width: 768px) {
  :root {
    --section-pad: var(--section-pad-mob);
  }

  h1 { font-size: 2rem; }        /* 32px */
  h2 { font-size: 1.625rem; }    /* 26px */
  h3 { font-size: 1.25rem; }     /* 20px */

  .hero h1 { font-size: 2.125rem; }
  .hero__sub { font-size: 1rem; }
  .hero__buttons { flex-direction: column; align-items: center; }

  /* Nav — show hamburger, hide desktop links */
  .nav__links,
  .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  label[for="nav-toggle"] { display: flex; }

  .stats-bar__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: rgba(255,255,255,0.12);
  }

  .stats-bar__item {
    background: var(--navy);
    border-right: none;
  }

  .feature-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .card-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .neighborhood-grid { grid-template-columns: repeat(2, 1fr); }
  .report-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }
  .form-inline { flex-direction: column; }

  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }

  .cta-section h2 { font-size: 1.875rem; }

  .page-hero h1 { font-size: 2rem; }
  .page-hero { padding: 3rem 0 2.5rem; }

  .sticky-cta-bar { display: block; }
  /* Add padding to body to prevent content hidden behind sticky bar */
  body { padding-bottom: 68px; }

  .callout { padding: 1.5rem 1.5rem 1.5rem 2rem; }
  .callout__quote { font-size: 1rem; }

  .author-bio { flex-direction: column; }

  .faq-nav {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 1rem;
    scrollbar-width: none;
  }

  .faq-nav::-webkit-scrollbar { display: none; }

  .neighborhood-strip { border-radius: 0; }
  .neighborhood-strip__item { min-width: 140px; }
}

/* ── Responsive — 480px ───────────────────────────────────── */
@media (max-width: 480px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }

  .hero { min-height: 75vh; }
  .hero h1 { font-size: 1.75rem; }

  .btn { padding: 12px 22px; font-size: 0.8125rem; }
  .btn--lg { padding: 14px 28px; font-size: 0.875rem; }

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

  .stats-bar__number { font-size: 1.75rem; }
  .stats-bar__item { padding: 1rem; }

  .report-card__stats { flex-direction: column; gap: 0.75rem; }

  .process-step { flex-direction: column; gap: 1rem; }

  .hero__label { font-size: 0.6875rem; }
}

/* ── Print Styles ─────────────────────────────────────────── */
@media print {
  .nav,
  .footer,
  .sticky-cta-bar,
  .hero__scroll,
  .cta-section,
  .btn { display: none !important; }

  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
    padding-bottom: 0;
  }

  h1, h2, h3, h4 { color: #000; page-break-after: avoid; }

  .callout {
    border-left: 3pt solid #000;
    background: #f5f5f5;
  }

  a { color: #000; text-decoration: underline; }

  .container { max-width: 100%; padding: 0; }

  .section { padding: 1.5rem 0; }

  @page {
    margin: 1in;
  }
}
