/*
Theme Name: NeighborCard
Theme URI: https://getneighborcard.com
Author: NeighborCard
Author URI: https://getneighborcard.com
Description: Custom theme for NeighborCard - The neighborhood referral card. Deep forest green, cream, Plus Jakarta Sans + Instrument Serif.
Version: 1.0.0
License: Private
Text Domain: neighborcard
Tags: custom-background, custom-logo, custom-menu, full-site-editing
*/

/* NeighborCard - Main Stylesheet */
/* Design: deep forest green, cream/sand neutrals, rounded corners, generous whitespace */

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

:root {
  --cream: #f5f0e8;
  --warm-white: #ffffff;
  --sand: #ede8de;
  --sand-dark: #e0d9cc;
  --charcoal: #1a2e1a;
  --charcoal-light: #2d452d;
  --navy: #1a2e1a;
  --body: #1a2e1a;
  --muted: #5a6e5a;
  --border: #d6e0d0;
  --amber: #1f7a3a;
  --amber-light: #27a34e;
  --amber-bg: #eef7f1;
  --green: #1f7a3a;
  --green-light: #eef7f1;
  --accent: #1f7a3a;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 2px 12px rgba(26,46,26,0.08);
  --shadow-md: 0 4px 24px rgba(26,46,26,0.12);
  --font: 'Plus Jakarta Sans', system-ui, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --max: 1100px;
  --section-pad: 5rem 1.5rem;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--cream); color: var(--body); line-height: 1.65; font-size: 1rem; }

/* Typography */
h1,h2,h3,h4 { color: var(--charcoal); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { color: var(--body); }
a { color: var(--amber); text-decoration: none; }
a:hover { text-decoration: underline; }
em { font-family: var(--serif); font-style: italic; color: var(--amber); }
strong { color: var(--charcoal); }

/* Layout */
.container { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: var(--section-pad); }
.section-cream { background: var(--cream); }
.section-white { background: var(--warm-white); }
.section-sand { background: var(--sand); }
.section-navy { background: var(--navy); }
.section-green { background: var(--green); }

.section-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.75rem;
}
.section-heading { margin-bottom: 1rem; }
.section-sub { font-size: 1.05rem; color: var(--body); max-width: 640px; margin-bottom: 2rem; }
.section-center { text-align: center; }
.section-center .section-sub { margin-left: auto; margin-right: auto; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--warm-white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s;
}
.header--scrolled { box-shadow: var(--shadow); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 1.5rem;
  max-width: var(--max);
  margin: 0 auto;
}
.logo { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.logo img { height: 40px; width: auto; max-width: 240px; object-fit: contain; filter: brightness(0); }
.logo-text { font-size: 1.05rem; font-weight: 700; color: var(--charcoal); letter-spacing: -0.01em; }
.logo-text span { color: var(--amber); }

.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav a { font-size: 0.9rem; font-weight: 500; color: var(--body); text-decoration: none; transition: color 0.15s; }
.nav a:hover { color: var(--charcoal); }
.nav-cta { background: var(--amber); color: #fff !important; padding: 0.5rem 1.1rem; border-radius: 999px; font-weight: 600 !important; transition: background 0.15s !important; }
.nav-cta:hover { background: var(--amber-light) !important; color: var(--charcoal) !important; text-decoration: none !important; }

.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--charcoal); margin: 5px 0; border-radius: 2px; transition: 0.2s; }
.mobile-nav { display: none; }
@media (max-width: 820px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
  .mobile-nav {
    display: block;
    max-height: 0;
    overflow: hidden;
    background: var(--warm-white);
    border-top: 1px solid var(--border);
    transition: max-height 0.3s ease;
  }
  .mobile-nav.open { max-height: 400px; }
  .mobile-nav a {
    display: block;
    padding: 0.85rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--body);
    border-bottom: 1px solid var(--border);
    text-decoration: none;
  }
  .mobile-nav a:last-child { background: var(--amber); color: #fff; font-weight: 600; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.15s;
  white-space: nowrap;
}
.btn-primary { background: var(--amber); color: #fff; }
.btn-primary:hover { background: #155c2b; color: #fff; text-decoration: none; }
.btn-secondary { background: transparent; border: 2px solid var(--charcoal); color: var(--charcoal); }
.btn-secondary:hover { background: var(--charcoal); color: #fff; text-decoration: none; }
.btn-ghost { background: transparent; border: 2px solid rgba(255,255,255,0.5); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,0.1); text-decoration: none; }
.btn-white { background: #fff; color: var(--charcoal); }
.btn-white:hover { background: var(--sand); text-decoration: none; }
.btn-outline-amber { background: transparent; border: 2px solid var(--amber); color: var(--amber); }
.btn-outline-amber:hover { background: var(--amber); color: #fff; text-decoration: none; }
.btn-lg { padding: 0.9rem 2rem; font-size: 1rem; }
.btn-block { width: 100%; }

/* Hero */
.hero {
  background: #1a2e1a;
  padding: 5rem 1.5rem 4rem;
  position: relative;
  overflow: hidden;
}
.hero .container { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(31,122,58,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 720px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image { display: none; }
}
.hero-eyebrow {
  display: inline-block;
  background: rgba(39,163,78,0.18);
  border: 1px solid rgba(39,163,78,0.35);
  color: #6fcf8e;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}
.hero-heading { color: #fff; font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 1rem; }
.hero-heading em { color: #6fcf8e; }
.hero-sub { color: rgba(255,255,255,0.78); font-size: 1.05rem; margin-bottom: 0.5rem; max-width: 520px; }
.hero-trust { font-size: 0.82rem; color: rgba(255,255,255,0.5); margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 0.85rem; flex-wrap: wrap; margin-bottom: 2rem; }
.hero-image img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

/* Social proof pill */
.social-proof {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(39,163,78,0.12); border: 1px solid rgba(39,163,78,0.25);
  color: #6fcf8e; font-size: 0.78rem; font-weight: 600;
  padding: 0.4rem 0.85rem; border-radius: 999px; margin-bottom: 1rem;
}
.social-proof-dot { width: 7px; height: 7px; background: #27a34e; border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }

/* Stats bar */
.stats-bar {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.stat-item { display: flex; flex-direction: column; }
.stat-num { font-size: 1.5rem; font-weight: 800; color: #fff; }
.stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.5); margin-top: 0.1rem; }

/* Spot bar (westwood) */
.spot-bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  margin-top: 2rem;
}
.spot-bar-item { text-align: center; }
.spot-bar-num { font-size: 1.6rem; font-weight: 800; color: #fff; display: block; }
.spot-bar-label { font-size: 0.72rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.06em; }
.spot-bar-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.15); flex-shrink: 0; }

/* Card showcase */
.card-showcase {
  background: var(--sand);
  padding: 5rem 1.5rem;
  text-align: center;
}
.card-showcase-inner { max-width: 700px; margin: 0 auto; }
.card-showcase img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(26,46,26,0.18);
  margin-top: 2rem;
}

/* Urgency badge */
.urgency-badge {
  display: inline-block;
  background: #1f7a3a;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

/* Map section */
.map-section {
  background: var(--sand);
  padding: 4rem 1.5rem;
}
.map-section-inner {
  max-width: 900px;
  margin: 0 auto;
}
.map-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(26,46,26,0.14);
  margin-top: 1.5rem;
  border: 3px solid #1a2e1a;
}
.map-wrap iframe {
  width: 100%;
  height: 400px;
  display: block;
  border: none;
}
.map-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: #1a2e1a;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  pointer-events: none;
}

/* Cards grid */
.cards-grid { display: grid; gap: 1.25rem; }
.cards-grid-2 { grid-template-columns: repeat(2, 1fr); }
.cards-grid-3 { grid-template-columns: repeat(3, 1fr); }
.cards-grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .cards-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .cards-grid-3, .cards-grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .cards-grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--warm-white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

/* Feature list */
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.feature-list li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.95rem; }
.feature-list li::before { content: '✓'; color: #fff; font-size: 0.65rem; font-weight: 700; width: 18px; height: 18px; min-width: 18px; background: var(--amber); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-top: 0.15rem; }

/* Steps */
.steps { display: flex; flex-direction: column; gap: 1.5rem; }
.step { display: flex; gap: 1.25rem; align-items: flex-start; }
.step-num {
  width: 2.25rem; height: 2.25rem; min-width: 2.25rem;
  background: var(--amber); color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem;
}
.step-body h3 { font-size: 1rem; margin-bottom: 0.25rem; }
.step-body p { font-size: 0.92rem; color: var(--muted); }

/* Category list */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
}
.category-pill {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.6rem 1rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--charcoal);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.category-pill .pill-dot { width: 8px; height: 8px; background: var(--amber); border-radius: 50%; flex-shrink: 0; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 680px) { .pricing-grid { grid-template-columns: 1fr; } }
.pricing-card {
  background: var(--warm-white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex; flex-direction: column;
}
.pricing-card.featured { border-color: var(--amber); }
.pricing-badge {
  display: inline-block;
  background: var(--amber);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  align-self: flex-start;
}
.pricing-name { font-size: 1.1rem; font-weight: 700; color: var(--charcoal); margin-bottom: 0.25rem; }
.pricing-price { font-size: 2.4rem; font-weight: 800; color: var(--charcoal); line-height: 1; margin-bottom: 0.25rem; }
.pricing-price span { font-size: 1rem; font-weight: 400; color: var(--muted); }
.pricing-desc { font-size: 0.88rem; color: var(--muted); margin-bottom: 1.25rem; }
.pricing-includes { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.75rem; flex: 1; }
.pricing-includes li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.9rem; }
.pricing-includes li::before { content: '✓'; color: var(--amber); font-weight: 700; flex-shrink: 0; margin-top: 0.05rem; }
.pricing-note { font-size: 0.8rem; color: var(--muted); margin-top: 1rem; text-align: center; line-height: 1.5; }

/* Form */
.form-wrap {
  background: var(--warm-white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  max-width: 680px;
  margin: 0 auto;
}
.form-intro { font-size: 0.95rem; color: var(--muted); margin-bottom: 1.75rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--charcoal); margin-bottom: 0.4rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.95rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.93rem;
  font-family: var(--font);
  color: var(--charcoal);
  background: var(--cream);
  transition: border-color 0.15s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--amber); background: #fff; }
.form-group input.error,
.form-group select.error { border-color: #e53e3e; }
.form-group textarea { resize: vertical; min-height: 90px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.optional { font-weight: 400; color: var(--muted); }
.form-note { font-size: 0.8rem; color: var(--muted); margin-top: 0.85rem; text-align: center; line-height: 1.5; }

/* Success state */
.form-success { display: none; text-align: left; }
.form-success.visible { display: block; }
.success-icon { width: 52px; height: 52px; background: var(--green); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.4rem; font-weight: 700; margin-bottom: 1.25rem; }
.form-success h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.success-steps { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.25rem; }
.success-step { display: flex; align-items: flex-start; gap: 1rem; background: var(--cream); border-radius: var(--radius-sm); padding: 0.9rem 1rem; }
.success-step-num { flex-shrink: 0; width: 2rem; height: 2rem; background: var(--amber); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.88rem; }

/* Recommend form */
.recommend-wrap {
  background: var(--warm-white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  max-width: 580px;
  margin: 0 auto;
}

/* Callout */
.callout {
  background: var(--amber-bg);
  border-left: 4px solid var(--amber);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  color: var(--charcoal);
  font-weight: 500;
}

/* Bold line */
.bold-line {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 1.5rem 0;
}

/* Section divider */
.divider { height: 1px; background: var(--border); margin: 0; }

/* Town card */
.town-card {
  background: var(--warm-white);
  border: 2px solid var(--amber);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}
.town-card-icon { font-size: 2rem; }
.town-card-body h3 { margin-bottom: 0.4rem; }
.town-card-body p { font-size: 0.93rem; color: var(--muted); margin-bottom: 1rem; }

/* Not-list */
.not-list { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.not-list li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.95rem; color: var(--muted); }
.not-list li::before { content: '✗'; color: #94a3b8; font-weight: 700; flex-shrink: 0; margin-top: 0.05rem; }

/* Is-list */
.is-list { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1rem; }
.is-list li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.95rem; color: var(--charcoal); font-weight: 500; }
.is-list li::before { content: '✓'; color: var(--amber); font-weight: 700; flex-shrink: 0; margin-top: 0.05rem; }

/* Two col layout */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.two-col-center { align-items: center; }
@media (max-width: 720px) { .two-col { grid-template-columns: 1fr; gap: 2rem; } }

/* CTA band */
.cta-band {
  background: #1a2e1a;
  padding: 4rem 1.5rem;
  text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: 0.75rem; }
.cta-band p { color: rgba(255,255,255,0.7); margin-bottom: 2rem; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-band .cta-buttons { display: flex; gap: 0.85rem; justify-content: center; flex-wrap: wrap; }

/* Footer */
.footer { background: #111f11; padding: 3rem 1.5rem; }
.footer-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2.5rem; }
@media (max-width: 680px) { .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; } }
.footer-brand .logo-text { color: #fff; }
.footer-brand p { font-size: 0.85rem; color: rgba(255,255,255,0.45); margin-top: 0.5rem; }
.footer-col h4 { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 0.85rem; }
.footer-col a { display: block; font-size: 0.88rem; color: rgba(255,255,255,0.6); text-decoration: none; margin-bottom: 0.5rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { max-width: var(--max); margin: 2rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem; }
.footer-legal { font-size: 0.78rem; color: rgba(255,255,255,0.3); }
.footer-disclosure { font-size: 0.75rem; color: rgba(255,255,255,0.25); max-width: 700px; line-height: 1.6; }

/* Contrast section */
.contrast-section { background: var(--cream); }
.contrast-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}
@media (max-width: 720px) { .contrast-grid { grid-template-columns: 1fr; } }
.contrast-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.contrast-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}
.contrast-label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.contrast-label-bad { background: #1c1c1a; color: #fff; }
.contrast-card-dim { opacity: 0.7; }
.contrast-label-good { background: #1f7a3a; color: #fff; }
.contrast-caption {
  padding: 1.25rem 1.5rem;
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
}
.contrast-caption h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.contrast-caption p { font-size: 0.9rem; color: var(--muted); }
.contrast-points {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2.5rem;
}
.contrast-point {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: var(--warm-white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.contrast-point-icon {
  width: 2.25rem;
  height: 2.25rem;
  min-width: 2.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}
.contrast-point-icon.good { background: var(--amber-bg); color: var(--amber); }
.contrast-point p { font-size: 0.92rem; color: var(--body); }
.contrast-point p strong { color: var(--charcoal); }

/* Directory page */
.directory-hero {
  background: var(--navy);
  padding: 3.5rem 1.5rem;
  text-align: center;
}
.directory-hero h1 { color: #fff; margin-bottom: 0.75rem; }
.directory-hero p { color: rgba(255,255,255,0.7); max-width: 520px; margin: 0 auto; }

.directory-filters {
  background: var(--warm-white);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 1.5rem;
  position: sticky;
  top: 64px;
  z-index: 50;
}
.directory-filters-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}
.filter-btn {
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--body);
  cursor: pointer;
  transition: all 0.15s;
  font-family: var(--font);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--amber);
  border-color: var(--amber);
  color: #fff;
}
.filter-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-right: 0.25rem;
}

.directory-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.pro-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: box-shadow 0.15s, transform 0.15s;
}
.pro-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.pro-card-category {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.5rem;
}
.pro-card-name { font-size: 1.05rem; font-weight: 700; color: var(--charcoal); margin-bottom: 0.4rem; }
.pro-card-town { font-size: 0.82rem; color: var(--muted); margin-bottom: 0.85rem; display: flex; align-items: center; gap: 0.35rem; }
.pro-card-desc { font-size: 0.88rem; color: var(--muted); line-height: 1.55; margin-bottom: 1rem; }
.pro-card-contact { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.pro-card-contact a {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--amber);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.pro-card-contact a:hover { text-decoration: underline; }
.pro-card-verified {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--amber);
  background: var(--amber-bg);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  margin-top: 0.75rem;
}

.no-pros-msg {
  grid-column: 1/-1;
  text-align: center;
  padding: 3rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Town selector */
.town-selector {
  background: var(--sand);
  padding: 1.5rem;
}
.town-selector-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}
.town-btn {
  background: var(--warm-white);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--body);
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
  display: inline-block;
}
.town-btn:hover, .town-btn.active {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: #fff;
  text-decoration: none;
}

/* Utilities */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.text-muted { color: var(--muted); }
.text-small { font-size: 0.85rem; }
.text-amber { color: var(--amber); }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }

/* Elementor compatibility */
.elementor-page .header { position: sticky; }
body.elementor-editor-active .header { position: relative; }

/* WPForms overrides */
.wpforms-container .wpforms-form input,
.wpforms-container .wpforms-form select,
.wpforms-container .wpforms-form textarea {
  font-family: var(--font) !important;
  border-color: var(--border) !important;
  border-radius: var(--radius-sm) !important;
  background: var(--cream) !important;
  color: var(--charcoal) !important;
}
.wpforms-container .wpforms-form input:focus,
.wpforms-container .wpforms-form select:focus,
.wpforms-container .wpforms-form textarea:focus {
  border-color: var(--amber) !important;
  background: #fff !important;
}
.wpforms-container .wpforms-submit-container button {
  background: var(--amber) !important;
  border-radius: 999px !important;
  font-family: var(--font) !important;
  font-weight: 600 !important;
  padding: 0.9rem 2rem !important;
  font-size: 1rem !important;
}

/* ================================================
   MOBILE UX FIXES — v1.1
   ================================================ */

/* ── Global mobile padding tighter */
@media (max-width: 600px) {
  :root { --section-pad: 3.5rem 1.25rem; }
}

/* ── Hero: fix cramped layout on small screens */
@media (max-width: 720px) {
  .hero { padding: 3rem 1.25rem 2.5rem; }
  .hero-inner { padding: 0; gap: 1.5rem; }
  .hero-heading { font-size: clamp(1.85rem, 8vw, 2.6rem); margin-bottom: 0.85rem; }
  .hero-sub { font-size: 1rem; max-width: 100%; }
  .hero-trust { font-size: 0.8rem; margin-bottom: 1.5rem; }
  .hero-actions { gap: 0.65rem; }
  .hero-actions .btn { font-size: 0.92rem; padding: 0.8rem 1.4rem; }
  /* Stats bar — smaller on mobile */
  .stats-bar { gap: 1.25rem; padding-top: 1.5rem; flex-wrap: nowrap; }
  .stat-num { font-size: 1.25rem; }
  .stat-label { font-size: 0.7rem; }
  /* Spot bar (Westwood) */
  .spot-bar { padding: 0.85rem 1rem; gap: 0.85rem; }
  .spot-bar-num { font-size: 1.3rem; }
  .spot-bar-label { font-size: 0.65rem; }
  .spot-bar-divider { height: 28px; }
}

/* ── Social proof pill — don't let it wrap awkwardly */
@media (max-width: 480px) {
  .social-proof { font-size: 0.72rem; padding: 0.35rem 0.7rem; }
}

/* ── Reserve form: fix clipped button + callout spacing */
@media (max-width: 600px) {
  .form-wrap { padding: 1.75rem 1.25rem; }
  .btn-block { 
    font-size: 0.88rem; 
    padding: 0.85rem 1rem;
    white-space: normal;
    line-height: 1.3;
    text-align: center;
  }
  /* Extra breathing room above the callout */
  .form-wrap .callout { margin-top: 1.25rem; margin-bottom: 1.25rem; }
  .recommend-wrap { padding: 1.75rem 1.25rem; }
}

/* ── Contrast section: left-align copy on mobile (easier to read than centered) */
@media (max-width: 720px) {
  .contrast-section .section-center { text-align: left; }
  .contrast-section .section-center .section-eyebrow { display: block; }
  .contrast-section .bold-line { font-size: 1.05rem; }
}

/* ── Section headings: tighten on mobile */
@media (max-width: 600px) {
  h2.section-heading { font-size: clamp(1.35rem, 5.5vw, 1.8rem); }
  .section-sub { font-size: 0.97rem; }
  .bold-line { font-size: 1.05rem; }
}

/* ── Two-col: tighten gap on mobile */
@media (max-width: 720px) {
  .two-col { gap: 1.5rem; }
  .two-col > div:first-child img { border-radius: var(--radius-sm); }
}

/* ── Pricing cards: full width, less padding */
@media (max-width: 600px) {
  .pricing-card { padding: 1.5rem 1.25rem; }
  .pricing-price { font-size: 2rem; }
}

/* ── Steps: tighter on mobile */
@media (max-width: 600px) {
  .steps { gap: 1.1rem; }
  .step-body h3 { font-size: 0.97rem; }
  .step-body p { font-size: 0.88rem; }
}

/* ── Category grid: 2-col on mobile instead of 1 */
@media (max-width: 720px) {
  .category-grid { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .category-pill { font-size: 0.82rem; padding: 0.5rem 0.75rem; }
}
@media (max-width: 400px) {
  .category-grid { grid-template-columns: 1fr; }
}

/* ── Card showcase: less padding on mobile */
@media (max-width: 600px) {
  .card-showcase { padding: 3rem 1.25rem; }
  .card-showcase h2 { font-size: clamp(1.35rem, 5.5vw, 1.8rem); }
}

/* ── Map section */
@media (max-width: 600px) {
  .map-section { padding: 2.5rem 1.25rem; }
  .map-wrap iframe { height: 260px; }
}

/* ── Town card */
@media (max-width: 600px) {
  .town-card { flex-direction: column; gap: 1rem; padding: 1.5rem; }
}

/* ── CTA band */
@media (max-width: 600px) {
  .cta-band { padding: 3rem 1.25rem; }
  .cta-band h2 { font-size: clamp(1.4rem, 5.5vw, 1.8rem); }
  .cta-band p { font-size: 0.95rem; margin-bottom: 1.5rem; }
  .cta-band .cta-buttons { flex-direction: column; align-items: center; }
  .cta-band .cta-buttons .btn { width: 100%; max-width: 320px; justify-content: center; }
}

/* ── Footer: tighter on mobile */
@media (max-width: 600px) {
  .footer { padding: 2.5rem 1.25rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; }
}

/* ── Directory filters: scroll horizontally on mobile */
@media (max-width: 600px) {
  .directory-filters-inner { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 0.25rem; -webkit-overflow-scrolling: touch; }
  .filter-btn { flex-shrink: 0; }
  .town-selector-inner { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .town-btn { flex-shrink: 0; }
  .directory-grid { grid-template-columns: 1fr; padding: 2rem 1.25rem; }
}

/* ── Page hero (reserve/recommend): tighter on mobile */
@media (max-width: 600px) {
  section[style*="background:var(--navy)"],
  section[style*="background: var(--navy)"] {
    padding: 2.25rem 1.25rem !important;
  }
  .hero-eyebrow { margin-bottom: 0.6rem; }
}

/* ── Contrast cards: min image height on mobile */
@media (max-width: 600px) {
  .contrast-card img { height: 200px; }
  .contrast-caption { padding: 1rem 1.1rem; }
  .contrast-caption h3 { font-size: 0.95rem; }
}

/* ── Contrast points: tighter */
@media (max-width: 600px) {
  .contrast-point { padding: 0.85rem 1rem; gap: 0.75rem; }
  .contrast-point-icon { width: 2rem; height: 2rem; min-width: 2rem; font-size: 0.75rem; }
}

/* ── Success steps */
@media (max-width: 600px) {
  .success-step { padding: 0.75rem; gap: 0.75rem; }
  .success-step-num { width: 1.75rem; height: 1.75rem; font-size: 0.8rem; }
}

/* ── Nav CTA pill: shrink on small screens if needed */
@media (max-width: 420px) {
  .header-inner { padding: 0 1rem; }
}

