:root {
  --bg-page: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-soft-blue: #EFF6FF;
  --bg-soft-green: #ECFDF5;
  --bg-warm-cream: #FEFCE8;

  --text-main: #0F172A;
  --text-body: #1E293B;
  --text-muted: #475569;

  --blue-900: #0B3B66;
  --blue-800: #1E40AF;
  --blue-700: #1D4ED8;
  --blue-600: #2563EB;
  --blue-200: #BFDBFE;
  --blue-100: #DBEAFE;

  --green-800: #065F46;
  --green-700: #047857;
  --green-600: #059669;
  --green-500: #10B981;
  --green-200: #A7F3D0;
  --green-100: #D1FAE5;

  --border-light: #CBD5E1;
  --border-focus: #1D4ED8;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.09);
  --shadow-lg: 0 16px 36px rgba(11, 59, 102, 0.14);
  --radius-md: 14px;
  --radius-lg: 20px;
}

/* Base & Senior-Friendly Font Scaling */
html {
  font-size: 100%; /* 16px root default, body uses 1.2rem (19.2px) */
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html[data-font-scale="large"] {
  font-size: 114%;
}

html[data-font-scale="xlarge"] {
  font-size: 128%;
}

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

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-page);
  color: var(--text-body);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.2rem; /* ~19.2px base for effortless reading */
  line-height: 1.72;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  color: var(--blue-900);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.25;
  margin-top: 0;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  margin-bottom: 0.9rem;
}

h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  margin-bottom: 0.65rem;
}

p {
  margin-top: 0;
  margin-bottom: 1.2rem;
}

a {
  color: var(--blue-700);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
  transition: color 0.15s ease;
}

a:hover, a:focus {
  color: var(--green-700);
}

/* Focus Ring for Accessibility */
:focus-visible {
  outline: 4px solid #F59E0B;
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--blue-900);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  z-index: 9999;
  font-weight: 700;
}
.skip-link:focus {
  top: 0.75rem;
}

/* Top Senior Accessibility & Trust Utility Bar */
.utility-bar {
  background: var(--blue-900);
  color: #FFFFFF;
  padding: 0.6rem 0;
  font-size: 1rem;
  border-bottom: 3px solid var(--green-500);
}

.utility-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.utility-trust {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
}

.utility-badge {
  background: var(--green-600);
  color: #fff;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* Font Size Adjuster Control */
.font-adjuster {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.12);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.font-adjuster-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #E2E8F0;
  margin-right: 0.2rem;
}

.font-btn {
  background: #FFFFFF;
  color: var(--blue-900);
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 0.25rem 0.65rem;
  font-weight: 800;
  cursor: pointer;
  line-height: 1.2;
  transition: all 0.15s ease;
}

.font-btn[data-size="normal"] { font-size: 0.92rem; }
.font-btn[data-size="large"] { font-size: 1.05rem; }
.font-btn[data-size="xlarge"] { font-size: 1.18rem; }

.font-btn:hover {
  background: var(--blue-100);
}

.font-btn.active {
  background: var(--green-500);
  color: #FFFFFF;
  border-color: #FFFFFF;
}

/* Sticky Main Header */
.site-header {
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #E2E8F0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 0;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--blue-900);
}

.brand-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue-900), var(--green-600));
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--blue-900);
  line-height: 1.15;
}

.brand-subtitle {
  font-size: 0.92rem;
  color: var(--green-700);
  font-weight: 700;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.nav-link {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
}

.nav-link:hover {
  background: var(--bg-soft-blue);
  color: var(--blue-800);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  color: var(--blue-900);
  background: var(--bg-soft-blue);
  border: 2px solid var(--blue-200);
  padding: 0.6rem 1.05rem;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1.08rem;
}

.phone-pill:hover {
  background: var(--blue-100);
  color: var(--blue-900);
}

/* Primary CTA Button */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: linear-gradient(180deg, var(--green-600) 0%, var(--green-700) 100%);
  color: #FFFFFF !important;
  text-decoration: none !important;
  font-weight: 800;
  font-size: 1.15rem;
  padding: 0.85rem 1.55rem;
  border-radius: 14px;
  border: 2px solid var(--green-800);
  box-shadow: 0 6px 18px rgba(4, 120, 87, 0.28);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-align: center;
}

.btn-cta:hover {
  background: linear-gradient(180deg, var(--green-500) 0%, var(--green-600) 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(4, 120, 87, 0.36);
}

.btn-cta-lg {
  font-size: 1.3rem;
  padding: 1.1rem 2rem;
  border-radius: 16px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #FFFFFF;
  color: var(--blue-900) !important;
  text-decoration: none !important;
  font-weight: 800;
  font-size: 1.12rem;
  padding: 0.85rem 1.45rem;
  border-radius: 14px;
  border: 2px solid var(--blue-700);
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn-secondary:hover {
  background: var(--bg-soft-blue);
}

/* Breadcrumbs */
.breadcrumbs {
  background: #F1F5F9;
  padding: 0.65rem 0;
  font-size: 0.98rem;
  border-bottom: 1px solid #E2E8F0;
}

.breadcrumb-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumb-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-weight: 600;
}

.breadcrumb-list a {
  color: var(--blue-800);
  text-decoration: none;
}

.breadcrumb-list a:hover {
  text-decoration: underline;
}

/* Hero Section */
.hero {
  background: linear-gradient(165deg, #FFFFFF 0%, #EFF6FF 52%, #ECFDF5 100%);
  padding: 3rem 0 3.5rem;
  border-bottom: 2px solid var(--blue-200);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: start;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-soft-green);
  color: var(--green-800);
  border: 2px solid var(--green-200);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.98rem;
  margin-bottom: 1rem;
}

.hero-lead {
  font-size: 1.3rem;
  color: var(--text-body);
  margin-bottom: 1.5rem;
  line-height: 1.65;
}

.hero-highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem 0;
  display: grid;
  gap: 0.8rem;
}

.hero-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: #FFFFFF;
  padding: 0.85rem 1.1rem;
  border-radius: 12px;
  border: 1px solid var(--blue-200);
  box-shadow: var(--shadow-sm);
  font-weight: 600;
}

.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green-600);
  color: #FFFFFF;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Personal Local Expert Trust Card */
.expert-mini-card {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  background: #FFFFFF;
  border: 2px solid var(--blue-200);
  border-left: 6px solid var(--blue-700);
  padding: 1.15rem 1.35rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-top: 1.5rem;
}

.expert-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-800), var(--green-600));
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 800;
  flex-shrink: 0;
  border: 3px solid var(--green-200);
}

/* Quote Form Card */
.quote-card {
  background: #FFFFFF;
  border: 3px solid var(--blue-700);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.quote-card-header {
  background: var(--blue-900);
  color: #FFFFFF;
  margin: -1.85rem -1.85rem 1.5rem -1.85rem;
  padding: 1.35rem 1.65rem;
  border-radius: 16px 16px 0 0;
  border-bottom: 4px solid var(--green-500);
}

.quote-card-header h2, .quote-card-header h3 {
  color: #FFFFFF;
  margin: 0 0 0.35rem 0;
  font-size: 1.55rem;
}

.quote-card-header p {
  margin: 0;
  color: #E2E8F0;
  font-size: 1rem;
}

/* 3-Step Wizard Progress Bar */
.step-progress-wrap {
  margin-bottom: 1.25rem;
}

.step-Indicators {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.step-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.5rem 0.4rem;
  border-radius: 10px;
  background: #F1F5F9;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 800;
  border: 2px solid #E2E8F0;
  text-align: center;
  transition: all 0.2s ease;
}

.step-pill.active {
  background: var(--bg-soft-blue);
  color: var(--blue-900);
  border-color: var(--blue-700);
  box-shadow: 0 2px 8px rgba(29, 78, 216, 0.12);
}

.step-pill.done {
  background: var(--bg-soft-green);
  color: var(--green-800);
  border-color: var(--green-500);
}

.step-track {
  height: 8px;
  background: #E2E8F0;
  border-radius: 999px;
  overflow: hidden;
}

.step-track-fill {
  height: 100%;
  width: 33.33%;
  background: linear-gradient(90deg, var(--blue-700), var(--green-500));
  border-radius: 999px;
  transition: width 0.25s ease;
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: fadeStep 0.2s ease;
}

@keyframes fadeStep {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.step-nav-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.15rem;
}

.btn-back-step {
  background: #F1F5F9;
  color: var(--blue-900);
  border: 2px solid #CBD5E1;
  border-radius: 14px;
  padding: 0.9rem 1.2rem;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.btn-back-step:hover {
  background: #E2E8F0;
}

.step-error-msg {
  display: none;
  background: #FEF2F2;
  color: #991B1B;
  border: 2px solid #F87171;
  border-radius: 10px;
  padding: 0.65rem 0.9rem;
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.autosave-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--green-800);
  background: var(--bg-soft-green);
  border: 1px solid var(--green-200);
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-weight: 700;
}

.form-group {
  margin-bottom: 1.15rem;
}

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

.form-label {
  display: block;
  font-weight: 800;
  color: var(--blue-900);
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
}

.form-hint {
  display: block;
  font-size: 0.92rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.form-input, .form-select {
  width: 100%;
  min-height: 56px;
  padding: 0.75rem 1rem;
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--text-main);
  background: #F8FAFC;
  border: 2px solid #94A3B8;
  border-radius: 12px;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.form-input:focus, .form-select:focus {
  background: #FFFFFF;
  border-color: var(--blue-700);
  box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.15);
  outline: none;
}

/* Quick Preset Amount Buttons for Seniors */
.preset-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.45rem;
}

.preset-btn {
  background: var(--bg-soft-blue);
  color: var(--blue-900);
  border: 1.5px solid var(--blue-200);
  border-radius: 8px;
  padding: 0.35rem 0.7rem;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
}

.preset-btn:hover {
  background: var(--blue-100);
  border-color: var(--blue-700);
}

/* Live Equity Preview Box inside Form */
.live-equity-box {
  background: var(--bg-soft-green);
  border: 2px solid var(--green-500);
  border-radius: 14px;
  padding: 1rem 1.15rem;
  margin: 1.15rem 0;
}

.live-equity-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--green-800);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.35rem;
}

.live-equity-numbers {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.live-equity-amount {
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--green-800);
  font-family: Georgia, serif;
}

.form-privacy-note {
  font-size: 0.92rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.85rem;
  margin-bottom: 0;
}

.quote-result-panel {
  display: none;
  background: var(--bg-soft-green);
  border: 3px solid var(--green-600);
  border-radius: 16px;
  padding: 1.5rem;
  margin-top: 1rem;
  text-align: center;
}

/* Quick Stats Bar */
.stats-strip {
  background: var(--blue-900);
  color: #FFFFFF;
  padding: 1.85rem 0;
}

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

.stat-item {
  background: rgba(255, 255, 255, 0.08);
  padding: 1.1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.stat-value {
  font-family: Georgia, serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: #6EE7B7;
  line-height: 1.15;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.98rem;
  color: #F1F5F9;
  font-weight: 600;
}

/* Sections */
.section {
  padding: 3.75rem 0;
}

.section-alt {
  background: #FFFFFF;
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
}

.section-blue {
  background: var(--bg-soft-blue);
  border-top: 2px solid var(--blue-200);
  border-bottom: 2px solid var(--blue-200);
}

.section-header {
  max-width: 820px;
  margin: 0 auto 2.25rem auto;
  text-align: center;
}

/* Interactive Long-Form Dropdowns (<details class="rm-dropdown">) */
.dropdown-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
  background: #FFFFFF;
  padding: 1rem 1.35rem;
  border-radius: 14px;
  border: 2px solid var(--blue-200);
}

.dropdown-stack {
  display: grid;
  gap: 1.15rem;
}

details.rm-dropdown {
  background: #FFFFFF;
  border: 2px solid #CBD5E1;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

details.rm-dropdown[open] {
  border-color: var(--blue-700);
  box-shadow: var(--shadow-md);
}

details.rm-dropdown summary {
  list-style: none;
  cursor: pointer;
  padding: 1.35rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #FFFFFF;
  user-select: none;
  transition: background 0.15s ease;
}

details.rm-dropdown summary::-webkit-details-marker {
  display: none;
}

details.rm-dropdown summary:hover {
  background: var(--bg-soft-blue);
}

details.rm-dropdown[open] summary {
  background: var(--bg-soft-blue);
  border-bottom: 2px solid var(--blue-200);
}

.summary-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.summary-num {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--blue-900);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.15rem;
  flex-shrink: 0;
}

details.rm-dropdown[open] .summary-num {
  background: var(--green-600);
}

.summary-title {
  font-family: Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--blue-900);
  line-height: 1.3;
}

.summary-toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: var(--blue-100);
  color: var(--blue-900);
  font-size: 0.95rem;
  font-weight: 800;
  flex-shrink: 0;
  white-space: nowrap;
}

details.rm-dropdown[open] .summary-toggle-icon {
  background: var(--green-600);
  color: #FFFFFF;
}

.dropdown-body {
  padding: 1.65rem 1.75rem;
  background: #FFFFFF;
  font-size: 1.18rem;
  line-height: 1.75;
}

/* Callout Boxes Inside Long-Form Content */
.callout-box {
  background: var(--bg-soft-green);
  border-left: 6px solid var(--green-600);
  padding: 1.25rem 1.5rem;
  border-radius: 0 14px 14px 0;
  margin: 1.25rem 0;
}

.callout-blue {
  background: var(--bg-soft-blue);
  border-left: 6px solid var(--blue-700);
  padding: 1.25rem 1.5rem;
  border-radius: 0 14px 14px 0;
  margin: 1.25rem 0;
}

/* Comparison Table */
.table-wrap {
  overflow-x: auto;
  margin: 1.25rem 0;
  border-radius: 14px;
  border: 2px solid var(--blue-200);
}

.rm-table {
  width: 100%;
  border-collapse: collapse;
  background: #FFFFFF;
  font-size: 1.08rem;
}

.rm-table th {
  background: var(--blue-900);
  color: #FFFFFF;
  text-align: left;
  padding: 1rem 1.15rem;
  font-weight: 800;
}

.rm-table td {
  padding: 0.95rem 1.15rem;
  border-bottom: 1px solid #E2E8F0;
}

.rm-table tr:nth-child(even) td {
  background: #F8FAFC;
}

/* City Directory & Interlinking Cards */
/* City Finder Bar (Search Input + Quick Jump Dropdown) */
.city-finder-box {
  background: #FFFFFF;
  border: 3px solid var(--blue-700);
  border-radius: 18px;
  padding: 1.35rem 1.5rem;
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow-md);
}

.city-finder-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.15rem;
  align-items: end;
}

.city-search-input {
  width: 100%;
  min-height: 56px;
  padding: 0.75rem 1.15rem;
  font-size: 1.12rem;
  font-weight: 600;
  border: 2px solid var(--blue-700);
  border-radius: 12px;
  background: #F8FAFC;
  color: var(--text-main);
}

.city-search-input:focus {
  background: #FFFFFF;
  outline: none;
  box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.15);
}

.city-search-status {
  margin-top: 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-800);
  display: none;
}

.county-dropdown-count {
  background: var(--bg-soft-green);
  color: var(--green-800);
  border: 1px solid var(--green-200);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 800;
  margin-left: 0.5rem;
}

/* Local Town Snapshot Cards (Population, Weather, Hangouts, Schools) */
.local-snapshot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.35rem;
  margin-top: 1.5rem;
}

.snapshot-card {
  background: #FFFFFF;
  border: 2px solid var(--blue-200);
  border-top: 5px solid var(--blue-700);
  border-radius: 16px;
  padding: 1.45rem 1.55rem;
  box-shadow: var(--shadow-sm);
}

.snapshot-card.green-accent {
  border-top-color: var(--green-600);
}

.snapshot-card h3 {
  font-size: 1.32rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.snapshot-kv-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.snapshot-kv-list li {
  padding-bottom: 0.6rem;
  border-bottom: 1px dashed #CBD5E1;
  font-size: 1.08rem;
}

.snapshot-kv-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.hangout-list {
  margin: 0;
  padding-left: 1.25rem;
  display: grid;
  gap: 0.5rem;
  font-size: 1.08rem;
}

@media (max-width: 820px) {
  .local-snapshot-grid {
    grid-template-columns: 1fr;
  }
}

.cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.15rem;
}

.city-card {
  background: #FFFFFF;
  border: 2px solid #E2E8F0;
  border-radius: 16px;
  padding: 1.25rem 1.35rem;
  text-decoration: none;
  color: var(--text-body);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.city-card:hover {
  border-color: var(--green-600);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.city-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.city-card-name {
  font-family: Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--blue-900);
  margin: 0;
}

.drive-badge {
  background: var(--bg-soft-green);
  color: var(--green-800);
  border: 1px solid var(--green-200);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 800;
  white-space: nowrap;
}

.city-card-meta {
  font-size: 0.96rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.city-card-cta {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--blue-700);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Tag Pills for Neighborhoods & ZIPs */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0.85rem 0;
}

.tag-pill {
  background: var(--bg-soft-blue);
  color: var(--blue-900);
  border: 1px solid var(--blue-200);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 700;
}

/* Footer */
.site-footer {
  background: #072642;
  color: #E2E8F0;
  padding: 3.5rem 0 5rem 0;
  margin-top: 3rem;
  border-top: 5px solid var(--green-500);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.site-footer h3, .site-footer h4 {
  color: #FFFFFF;
  margin-bottom: 0.9rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.footer-links a {
  color: #BAE6FD;
  text-decoration: none;
  font-size: 1rem;
}

.footer-links a:hover {
  color: #6EE7B7;
  text-decoration: underline;
}

.footer-compliance {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 1.75rem;
  font-size: 0.94rem;
  color: #CBD5E1;
  line-height: 1.6;
}

/* Sticky Mobile Bottom CTA Bar */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #FFFFFF;
  border-top: 3px solid var(--green-600);
  padding: 0.65rem 1rem;
  box-shadow: 0 -6px 20px rgba(15, 23, 42, 0.15);
  z-index: 999;
  gap: 0.65rem;
}

/* Responsive Breakpoints */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .form-row-2 {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .mobile-sticky-cta {
    display: flex;
  }
  details.rm-dropdown summary {
    padding: 1.1rem;
    flex-wrap: wrap;
  }
  .dropdown-body {
    padding: 1.2rem;
  }
}