/* Senior Move Guide, Institutional Design System */
:root {
  color-scheme: light;
  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --serif: 'Lora', Georgia, 'Times New Roman', Times, serif;
  --accent: #1A5C6B;
  --accent-light: #237A8C;
  --accent-warm: #8B6914;
  --text: #1C1917;
  --text-muted: #6B6560;
  --bg: #FAF9F6;
  --bg-card: #FFFFFF;
  --bg-section: #F3F1EC;
  --border: #E2DFD9;
  --content-width: 740px;
  --wide-width: 1140px;
  /* Directory design tokens */
  --navy: #1A3D5C;
  --navy-light: #245577;
  --amber: #8B6914;
  --sage: #4A7C59;
  --sage-light: #E8F0EA;
  --gold: #8B6914;
  --gold-light: #FDF8EE;
  --text-secondary: #57534E;
  --bg-warm: #FAF7F2;
  --border-light: #F0EEEC;
  --teal: #1A5C6B;
  --teal-light: #E6F0F2;
  --cream: #FBF9F4;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-padding-top: 5rem; overflow-x: hidden; }
body {
  font-family: var(--serif);
  background: var(--bg);
  color: var(--text);
  line-height: 1.85;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100vw;
}
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-light); }
img { display: block; max-width: 100%; }
ul, ol { padding-left: 1.25em; }
ul li, ol li { margin-bottom: 0.4em; }

/* ── Site Header ── */
.site-header {
  padding: 0.75rem 2rem;
  border-bottom: 1px solid var(--border);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  white-space: nowrap;
}
.logo-mark { flex-shrink: 0; }
.logo-text {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.header-right { display: flex; align-items: center; gap: 1.75rem; }
.site-nav { display: flex; gap: 1.5rem; align-items: center; }
.site-nav a {
  font-family: var(--sans);
  font-size: 13.5px;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.site-nav a:hover, .site-nav a.active { color: var(--teal); }
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--teal);
  color: #fff;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.15s;
  white-space: nowrap;
}
.header-cta:hover { background: var(--accent-light); color: #fff; }
.header-cta svg { flex-shrink: 0; }
@media (max-width: 768px) {
  .header-cta { display: none; }
  .site-nav { display: none; }
  .site-header { padding: 0.6rem 1rem; overflow: hidden; max-width: 100vw; box-sizing: border-box; }
}

/* ── Home Hero ── */
.home-hero {
  background: linear-gradient(135deg, #F7F4EE 0%, #EDE8DE 100%);
  color: var(--text);
  padding: 0 2rem;
  overflow: hidden;
}
.home-hero-inner {
  max-width: var(--wide-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  min-height: 520px;
  gap: 0;
}
.hero-left {
  flex: 1 1 50%;
  padding: 4rem 3rem 4rem 0;
  max-width: 560px;
}
.home-hero h1 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0;
}
.home-sub {
  font-family: var(--sans);
  font-size: 1rem;
  color: #555;
  margin-top: 1.1rem;
  line-height: 1.65;
}
.hero-divider {
  border: none;
  border-top: 1px solid #d6cfc4;
  margin: 1.75rem 0;
}
.hero-search-label {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  margin: 0 0 0.6rem;
}
.hero-search-wrap {
  display: flex;
  gap: 0;
  max-width: 460px;
}
.hero-search-input-wrap {
  position: relative;
  flex: 1;
}
.hero-search-input {
  width: 100%;
  padding: 0.8rem 1rem;
  font-size: 0.95rem;
  font-family: var(--sans);
  border: 1.5px solid var(--border);
  border-right: none;
  border-radius: 4px 0 0 4px;
  background: #fff;
  color: var(--text);
  outline: none;
}
.hero-search-input:focus { border-color: var(--teal); }
.hero-search-btn {
  padding: 0.8rem 1.4rem;
  background: var(--teal);
  color: #fff;
  border: none;
  border-radius: 0 4px 4px 0;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
}
.hero-search-btn:hover { background: var(--accent-light); }
.hero-sub-note {
  font-size: 0.82rem;
  color: #777;
  margin-top: 0.75rem;
  font-weight: 600;
}
.hero-right {
  flex: 0 0 46%;
  align-self: stretch;
  position: relative;
  overflow: hidden;
}
.hero-photo-wrap {
  height: 100%;
  min-height: 520px;
  clip-path: polygon(8% 0%, 100% 0%, 100% 100%, 0% 100%);
  overflow: hidden;
}
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
@media (max-width: 1024px) {
  .home-hero-inner { flex-direction: column; min-height: auto; }
  .hero-left { padding: 2.5rem 0 1.5rem; max-width: 100%; order: 1; }
  .hero-right { display: block; order: 2; width: 100%; flex: none; align-self: auto; }
  .hero-photo-wrap { clip-path: none; border-radius: 10px; overflow: hidden; height: 260px; min-height: 0; }
  .hero-photo { width: 100%; height: 260px; object-fit: cover; object-position: center 30%; }
  .hero-search-wrap { max-width: 100%; }
}
@media (max-width: 640px) {
  .hero-photo-wrap { height: 200px; }
  .hero-photo { height: 200px; }
}
.hero-actions {
  margin-top: 2.5rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  padding: 0.8rem 1.75rem;
  border-radius: 6px;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background 0.15s;
}
.btn-primary:hover { background: var(--accent-light); color: #fff; }
.btn-secondary {
  display: inline-block;
  background: transparent;
  color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.35);
  padding: 0.8rem 1.75rem;
  border-radius: 3px;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}
.btn-secondary:hover { background: rgba(255,255,255,0.08); color: #fff; }

/* ── Quiz Section ── */
/* ── Quiz + Calc Section ── */
.quiz-section { background: #fff; padding: 4rem 2rem 3rem; border-top: 1px solid #e8e8e8; border-bottom: 1px solid #e8e8e8; }
.quiz-inner { max-width: var(--wide-width); margin: 0 auto; display: flex; gap: 3.5rem; align-items: flex-start; }
/* Left column */
.quiz-left { flex: 1 1 44%; }
.quiz-left h2 { font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 1.9rem); color: #111; font-weight: 700; margin: 0 0 0.75rem; line-height: 1.25; }
.quiz-body { font-size: 0.97rem; color: #555; line-height: 1.7; margin-bottom: 1.75rem; }
.quiz-features { display: flex; flex-direction: column; gap: 1.1rem; margin-bottom: 2rem; }
.quiz-feature-title { font-family: var(--sans); font-size: 0.97rem; font-weight: 700; color: var(--teal); margin: 0 0 0.15rem; }
.quiz-feature-desc { font-size: 0.9rem; color: #555; margin: 0; line-height: 1.5; }
.quiz-get-started-btn { background: var(--teal); color: #fff; border: none; border-radius: 50px; padding: 0.85rem 2.25rem; font-family: var(--sans); font-size: 1rem; font-weight: 700; cursor: pointer; transition: background 0.15s; }
.quiz-get-started-btn:hover { background: var(--accent-light); }
/* Right card */
.quiz-right { flex: 1 1 50%; }
.quiz-card { background: #0F2E3D; border-radius: 8px; overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,0.18); }
.quiz-card-header { background: #163A4D; color: #fff; font-family: var(--sans); font-size: 0.88rem; font-weight: 700; padding: 0.9rem 1.5rem; letter-spacing: 0.02em; text-align: center; }
.quiz-card-body { padding: 1.5rem; }
.quiz-progress-track { background: rgba(255,255,255,0.12); border-radius: 4px; height: 4px; margin-bottom: 1.5rem; }
.quiz-progress-fill { background: var(--gold); height: 4px; border-radius: 4px; transition: width 0.35s ease; }
/* Override lead widget styles inside the dark card */
.quiz-card .lead-widget { background: none; border: none; box-shadow: none; padding: 0; margin: 0; }
.quiz-card .lead-eyebrow { display: none; }
.quiz-card .lead-question { color: #fff; font-family: var(--sans); font-weight: 700; font-size: 1rem; margin: 0 0 1rem; line-height: 1.4; }
.quiz-card .lead-options { gap: 0.55rem; }
.quiz-card .lead-opt { background: #fff; border: 1.5px solid #fff; border-radius: 50px; color: #111; font-family: var(--sans); font-size: 0.9rem; font-weight: 500; text-align: left; padding: 0.7rem 1.1rem; cursor: pointer; display: flex; align-items: center; gap: 0.75rem; transition: background 0.15s, border-color 0.15s; }
.quiz-card .lead-opt::before { content: ''; display: inline-block; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--teal); background: #fff; flex-shrink: 0; transition: background 0.15s, border-color 0.15s; }
.quiz-card .lead-opt:hover { background: var(--teal-light); border-color: var(--teal); }
.quiz-card .lead-opt:hover::before { border-color: var(--teal); background: var(--teal); }
.quiz-card .lead-input { border: 1.5px solid rgba(255,255,255,0.25); border-radius: 8px; background: rgba(255,255,255,0.1); color: #fff; font-family: var(--sans); font-size: 0.9rem; }
.quiz-card .lead-input::placeholder { color: rgba(255,255,255,0.4); }
.quiz-card .lead-input:focus { border-color: var(--gold); background: rgba(255,255,255,0.15); }
.quiz-card .lead-btn { background: var(--teal); border-radius: 8px; font-family: var(--sans); font-size: 0.95rem; }
.quiz-card .lead-btn:hover { background: var(--accent-light); }
.quiz-card .lead-fine { color: rgba(255,255,255,0.5); font-size: 0.78rem; }
.quiz-card .lead-error { color: #fca5a5; }
.quiz-card .lead-success { background: none; }
.quiz-card .lead-success-check { color: #4ade80; font-size: 2.5rem; }
.quiz-card .lead-success-title { color: #fff; }
.quiz-card .lead-success-body { color: rgba(255,255,255,0.75); }
/* Calculator bar */
.calc-bar-section { background: #fff; padding: 0 2rem 3rem; }
.calc-bar-wrap { max-width: var(--wide-width); margin: 0 auto; }
.calc-bar-wrap .cost-calc-card { border: 1.5px solid #e0e0e0; border-radius: 10px; box-shadow: none; }
.calc-bar-wrap .cost-calc-teaser { display: flex; align-items: center; gap: 1.5rem; padding: 1.4rem 1.75rem; }
.calc-bar-wrap .cost-calc-left { flex: 1; display: flex; align-items: center; gap: 1.25rem; }
.calc-bar-wrap .cost-calc-icon-box { flex-shrink: 0; background: var(--teal-light); border-radius: 8px; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; }
.calc-bar-wrap .cost-calc-teaser-body { flex: 1; }
.calc-bar-wrap .cost-calc-headline { font-family: var(--sans); font-size: 1rem; font-weight: 700; color: #111; margin: 0 0 0.3rem; }
.calc-bar-wrap .cost-calc-checklist { flex-direction: row; flex-wrap: wrap; gap: 0 1.5rem; }
.calc-bar-wrap .cost-calc-checklist li { font-size: 0.88rem; color: #555; }
.calc-bar-wrap .cost-calc-start-btn { flex-shrink: 0; background: var(--teal); border-radius: 8px; padding: 0.8rem 1.75rem; font-size: 0.95rem; white-space: nowrap; }
.calc-bar-wrap .cost-calc-start-btn:hover { background: var(--accent-light); }
.calc-bar-wrap .cost-calc-steps { padding: 1.5rem 1.75rem; border-top: 1px solid #e8e8e8; }
@media (max-width: 768px) {
  .quiz-inner { flex-direction: column; gap: 2rem; }
  .quiz-left, .quiz-right { flex: 1 1 100%; }
  .calc-bar-wrap .cost-calc-teaser { flex-wrap: wrap; }
  .calc-bar-wrap .cost-calc-start-btn { width: 100%; }
}

/* ── Trust Bar ── */
.trust-bar {
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 2rem;
  background: #fff;
}
.trust-bar-inner {
  max-width: var(--wide-width);
  margin: 0 auto;
  display: flex;
  justify-content: center;
}
.trust-badge-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
}
.trust-badge-link:hover .trust-badge-title { color: var(--teal); }
.trust-seal { flex-shrink: 0; }
.trust-badge-title {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  display: block;
  line-height: 1.3;
  transition: color 0.15s;
}
.trust-badge-sub {
  font-family: var(--sans);
  font-size: 0.75rem;
  color: #999;
  display: block;
  line-height: 1.3;
}
@media(max-width:540px){
  .trust-bar { padding: 1rem 1.25rem; }
  .trust-seal { width: 46px; height: 46px; }
  .trust-badge-title { font-size: 0.8rem; }
  .trust-badge-sub { font-size: 0.7rem; }
}

/* ── Guides Section ── */
/* ── Category Tiles ── */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-bottom: 3.5rem; }
.cat-tile { position: relative; display: block; border-radius: 10px; overflow: hidden; background: #2a3a4a center/cover no-repeat; aspect-ratio: 16/10; text-decoration: none; }
.cat-tile-overlay { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.62) 100%); }
.cat-tile-body { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.1rem 1.25rem 1.25rem; }
.cat-tile-name { font-family: var(--sans); font-size: 1.1rem; font-weight: 800; color: #fff; margin: 0 0 0.65rem; line-height: 1.25; text-shadow: 0 1px 4px rgba(0,0,0,0.4); }
.cat-tile-btn { display: inline-block; background: var(--teal); color: #fff; font-family: var(--sans); font-size: 0.82rem; font-weight: 700; padding: 0.4rem 0.9rem; border-radius: 5px; transition: background 0.15s; }
.cat-tile:hover .cat-tile-btn { background: var(--accent-light); }
.all-guides-heading { font-family: var(--serif); font-size: 1.4rem; color: var(--navy); font-weight: 700; margin: 0 0 1.5rem; }
/* ── Inline link style (geo pages) ── */
.inline-link { color: var(--teal); font-weight: 600; }
.inline-link:hover { text-decoration: underline; }
.smm-cta-context { background: var(--teal-light); border: 1.5px solid #C2D9DD; border-radius: 10px; padding: 1.25rem 1.5rem; margin: 2rem 0 1rem; }
.smm-cta-definition { font-size: 0.93rem; color: var(--text); margin: 0 0 0.6rem; line-height: 1.6; }
.smm-cta-situation { font-size: 0.93rem; color: var(--text); margin: 0; line-height: 1.6; }
.dir-cta-block { background: var(--teal-light); border: 1.5px solid #C2D9DD; border-radius: 10px; padding: 1.25rem 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin: 0 0 1.25rem; }
.dir-cta-label { font-family: var(--sans); font-size: 0.97rem; font-weight: 600; color: var(--navy); margin: 0; }
.dir-cta-block .btn-primary { white-space: nowrap; flex-shrink: 0; }
.mini-card { display: block; background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; padding: 0.9rem 1rem; text-decoration: none; transition: box-shadow 0.2s, border-color 0.2s; }
.mini-card:hover { border-color: var(--teal); box-shadow: 0 2px 8px rgba(26,122,110,0.12); text-decoration: none; }
.mini-card-name { font-weight: 600; color: var(--navy); font-size: 0.95rem; }
.mini-card-company { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.15rem; }
.mini-card-meta { font-size: 0.8rem; color: #64748b; margin-top: 0.35rem; }
.mini-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0.75rem; }

/* ── State + City Guide Pages ── */
.state-hero { background: var(--navy); padding: 3rem 2rem 2.5rem; }
.state-hero-inner { max-width: var(--wide-width); margin: 0 auto; }
.state-hero h1 { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.4rem); color: #fff; font-weight: 700; margin: 0.5rem 0 0.75rem; }
.state-hero-sub { font-family: var(--sans); font-size: 1rem; color: rgba(255,255,255,0.8); margin: 0 0 1.25rem; max-width: 640px; line-height: 1.6; }
.state-trust-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.state-trust-pills span { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.9); font-family: var(--sans); font-size: 0.82rem; font-weight: 600; padding: 0.3rem 0.8rem; border-radius: 50px; }
.state-page-wrap { background: #f7f7f7; padding: 2.5rem 2rem 5rem; }
.state-page-inner { max-width: var(--wide-width); margin: 0 auto; display: flex; gap: 2.5rem; align-items: flex-start; }
.state-sidebar { flex: 0 0 320px; position: sticky; top: 2rem; }
.state-sidebar .lead-widget { background: #fff; border: 1px solid #e5e5e5; border-radius: 10px; padding: 1.5rem; box-shadow: 0 2px 12px rgba(0,0,0,0.07); }
.state-dir-cta { margin-top: 0.75rem; }
.state-content { flex: 1; min-width: 0; }
.state-section { background: #fff; border-radius: 10px; padding: 1.75rem 2rem; margin-bottom: 1.25rem; border: 1px solid #e8e8e8; }
.state-section h2 { font-family: var(--serif); font-size: 1.3rem; color: var(--navy); font-weight: 700; margin: 0 0 0.75rem; }
.state-section p, .state-section li { font-family: var(--sans); font-size: 0.95rem; color: #444; line-height: 1.7; }
.state-section ul { padding-left: 1.25rem; margin: 0.5rem 0; }
.state-section li { margin-bottom: 0.4rem; }
.state-section a { color: var(--teal); }
.state-cities-grid { display: flex; flex-wrap: wrap; gap: 0.4rem 0.75rem; margin-top: 0.75rem; }
.state-city-link { font-family: var(--sans); font-size: 0.88rem; color: var(--teal); text-decoration: none; border: 1px solid #C2D9DD; border-radius: 4px; padding: 0.25rem 0.6rem; background: var(--teal-light); }
.state-city-link:hover { background: var(--teal); color: #fff; border-color: var(--teal); }
@media (max-width: 800px) {
  .state-page-inner { flex-direction: column; }
  .state-sidebar { flex: none; width: 100%; position: static; }
}

/* ── Category Page ── */
.cat-page-hero { position: relative; background: #1E3A5F; min-height: 180px; display: flex; align-items: flex-end; }
.cat-page-hero-overlay { display: none; }
.cat-page-hero-inner { position: relative; max-width: var(--wide-width); margin: 0 auto; padding: 2.5rem 2rem; width: 100%; }
.cat-page-breadcrumb { font-family: var(--sans); font-size: 0.82rem; color: rgba(255,255,255,0.7); margin: 0 0 0.6rem; }
.cat-page-breadcrumb a { color: rgba(255,255,255,0.7); text-decoration: none; }
.cat-page-breadcrumb a:hover { color: #fff; }
.cat-page-heading { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.4rem); color: #fff; font-weight: 700; margin: 0 0 0.6rem; }
.cat-page-desc { font-family: var(--sans); font-size: 1rem; color: rgba(255,255,255,0.85); margin: 0; max-width: 600px; }
.cat-page-main { padding: 3rem 2rem 5rem; }
.cat-page-main .section-inner { max-width: var(--wide-width); margin: 0 auto; }
.hub-intro-section { margin-bottom: 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border); }
.hub-intro-text { font-size: 1rem; line-height: 1.85; color: var(--text-muted); max-width: 760px; margin: 0 0 1.5rem; }
.cat-page-count { font-family: var(--sans); font-size: 0.9rem; color: #888; margin: 0 0 1.5rem; }
/* ── Geo States + Cities ── */
.geo-section { background: #f5f5f5; padding: 3rem 2rem; }
.geo-section .section-inner { max-width: var(--wide-width); margin: 0 auto; }
.geo-card { background: #fff; border-radius: 10px; padding: 2rem 2.25rem; border: 1px solid #e5e5e5; }
.geo-heading { font-family: var(--sans); font-size: 1.1rem; font-weight: 800; color: #111; margin: 0 0 1.4rem; }
.geo-state-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.45rem 1rem; }
.geo-city-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.45rem 1rem; }
.geo-link { font-family: var(--sans); font-size: 0.9rem; color: var(--teal); text-decoration: none; line-height: 1.7; }
.geo-link:hover { text-decoration: underline; color: var(--accent-light); }
@media (max-width: 900px) { .geo-state-grid { grid-template-columns: repeat(3, 1fr); } .geo-city-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .geo-state-grid { grid-template-columns: repeat(2, 1fr); } .geo-city-grid { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cat-grid { grid-template-columns: 1fr; } }

.home-plan-section { padding: 3rem 2rem 0; }
.home-plan-section .section-inner { max-width: var(--wide-width); margin: 0 auto; }
.home-plan-card { background: #f5fafb; border: 1px solid #d6e8ec; border-radius: 8px; padding: 2rem 2.5rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.home-plan-text h2 { font-family: var(--serif); font-size: 1.3rem; color: var(--navy); font-weight: 600; margin: 0 0 0.4rem; }
.home-plan-text p { font-family: var(--sans); font-size: 0.92rem; color: #6b6560; line-height: 1.6; margin: 0; max-width: 520px; }
.home-plan-btn { font-family: var(--sans); font-size: 0.88rem; font-weight: 600; color: #fff; background: var(--navy); padding: 0.75rem 1.75rem; border-radius: 4px; text-decoration: none; white-space: nowrap; transition: background 0.2s; }
.home-plan-btn:hover { background: #15344d; }
@media(max-width:700px){ .home-plan-card { flex-direction: column; align-items: flex-start; padding: 1.5rem; } }
.guides-section { padding: 4.5rem 2rem; }
.directory-promo {
  background: var(--bg-section);
  padding: 3.5rem 2rem;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.directory-promo .btn-primary { margin-top: 1.25rem; }
.section-inner { max-width: var(--wide-width); margin: 0 auto; }
.section-inner h2 {
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}
.section-inner p { font-family: var(--sans); color: var(--text-muted); margin-bottom: 1.5rem; font-size: 0.95rem; }
.section-sub { font-size: 1rem; }

/* ── Guide Cards ── */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.guide-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s;
  overflow: hidden;
}
.guide-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.guide-card-img-wrap { width: 100%; height: 200px; overflow: hidden; }
.guide-card-img { width: 100%; height: 200px; object-fit: cover; object-position: center; display: block; }
.guide-card-inner { padding: 1.5rem 1.75rem; }
.guide-keyword {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.guide-card h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.6rem;
}
.guide-desc {
  font-family: var(--sans);
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.guide-link {
  font-family: var(--sans);
  font-size: 0.875rem;
  color: var(--accent);
  font-weight: 600;
}
.empty-state { color: var(--text-muted); font-style: italic; }

/* ── Article Hero, Full-Bleed with Overlay ── */
.article-hero-full {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  height: 480px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
}
.article-hero-overlay {
  width: 100%;
  padding: 3rem 2rem 2.5rem;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.35) 50%, rgba(0,0,0,0.08) 100%);
}
.article-hero-overlay .breadcrumb { color: rgba(255,255,255,0.7); margin-bottom: 0.75rem; }
.article-hero-overlay .breadcrumb a { color: rgba(255,255,255,0.7); }
.article-hero-overlay .breadcrumb a:hover { color: #fff; }
.article-hero-overlay h1 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
  max-width: var(--content-width);
  margin-bottom: 0.75rem;
}
.article-hero-overlay .article-meta { color: rgba(255,255,255,0.7); }
.article-hero-overlay .meta-dot { color: rgba(255,255,255,0.4); }

/* ── Article Hero, No Image Fallback ── */
.article-hero-img-wrap {
  width: 100%;
  max-height: 420px;
  overflow: hidden;
}
.article-hero-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ── Article Layout ── */
.article-wrap { max-width: var(--wide-width); margin: 0 auto; padding: 0 2rem 4rem; }
.article-hero {
  padding: 3rem 0 2rem;
  max-width: var(--content-width);
}
.breadcrumb {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 1rem;
  letter-spacing: 0.01em;
}
.breadcrumb a { color: var(--text-muted); }
.article-hero h1 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.article-meta {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  align-items: center;
  letter-spacing: 0.01em;
}
.meta-dot { color: var(--border); }

/* ── Article Page Grid (full-height 2-col) ── */
.article-page-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2.5rem;
  align-items: stretch;
}
.article-main-col { min-width: 0; }
.article-sidebar-col { align-self: stretch; }
.article-sidebar-sticky {
  position: sticky;
  top: 1.5rem;
}
.article-hero-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1.25rem;
  display: block;
}
.article-top h1 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.6rem;
  color: var(--text);
}
.article-meta-row {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
/* ── Byline ── */
.article-byline { font-size: 13px; color: var(--text-muted); }
.byline-link { color: var(--text-muted); text-decoration: none; }
.byline-link:hover { text-decoration: underline; }
/* ── Author Box ── */
.author-box {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  border-top: 1px solid var(--border);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
}
.author-box-avatar {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
}
.author-box-name {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.25rem;
}
.author-box-bio {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
}
.author-box-bio a { color: var(--primary); }
/* ── Share Row (inline with meta) ── */
.share-row {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-left: auto;
}
.share-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.share-icon-btn:hover { background: var(--bg-section); color: var(--text); }
.share-icon-btn.copied { color: var(--sage); }
.share-tooltip {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--text);
  color: #fff;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s;
}
.share-icon-btn { position: relative; }
.share-icon-btn.copied .share-tooltip { opacity: 1; }

/* ── TOC Dropdown (right sidebar) ── */
.toc-dropdown {
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 1.25rem;
  overflow: hidden;
}
.toc-dropdown-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
}
.toc-dropdown-trigger::-webkit-details-marker { display: none; }
.toc-dropdown-arrow { font-size: 12px; color: var(--text-muted); transition: transform 0.2s; }
.toc-dropdown[open] .toc-dropdown-arrow { transform: rotate(180deg); }
.toc-dropdown-list {
  list-style: none;
  padding: 0 1rem 0.85rem;
  margin: 0;
}
.toc-dropdown-list li { margin-bottom: 0.3rem; }
.toc-dropdown-list a {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  line-height: 1.5;
  display: block;
  padding: 0.15rem 0;
}
.toc-dropdown-list a:hover { color: var(--navy); }
.toc-mobile { display: none; }

.article-content { min-width: 0; }

/* ── Article Content ── */
.article-content { min-width: 0; max-width: var(--content-width); }
.lead-paragraph {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 2rem;
}
.article-section { margin-bottom: 3.5rem; }
.article-section h2 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}
.article-section h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 2rem 0 0.75rem;
}
.article-section p { margin-bottom: 1.1rem; }
.article-section p:last-child { margin-bottom: 0; }

/* ── Definition List (bold-lead items) ── */
.def-list { margin: 1.25rem 0; }
.def-item { margin-bottom: 1.25rem; }
.def-term {
  display: block;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.2rem;
}
.def-body {
  display: block;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Quick Answer Box ── */
.quick-answer-box {
  background: rgba(30,58,95,0.04);
  border-left: 3px solid var(--accent);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
}
.quick-answer-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.quick-answer-box ul {
  list-style: none;
  padding: 0;
}
.quick-answer-box li {
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--text);
  padding: 0.35rem 0 0.35rem 1.25rem;
  position: relative;
  line-height: 1.55;
}
.quick-answer-box li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ── Directory CTA Box (inline) ── */
.directory-cta-box {
  background: var(--sage-light);
  border: 1px solid #c5d9c9;
  border-left: 4px solid var(--sage);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}
.directory-cta-box-inner { display:flex; align-items:center; gap:1.5rem; flex-wrap:wrap; }
.directory-cta-box-text { flex:1; min-width:200px; }
.directory-cta-box-label { font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:0.07em; color:var(--sage); margin:0 0 0.3rem; }
.directory-cta-box-body { font-size:14px; line-height:1.6; color:var(--text); margin:0; }
.directory-cta-box-body a { color:var(--sage); font-weight:600; }
.directory-cta-box-btn { display:inline-block; background:var(--sage); color:white; font-size:13.5px; font-weight:700; padding:0.6rem 1.25rem; border-radius:8px; text-decoration:none; white-space:nowrap; transition:background 0.15s; flex-shrink:0; }
.directory-cta-box-btn:hover { background:#3a6347; color:white; }

/* ── FAQ Section ── */
.faq-section h2 { margin-bottom: 1.5rem; }
.faq-item { margin-bottom: 2rem; border-bottom: 1px solid var(--border); padding-bottom: 2rem; }
.faq-item:last-child { border-bottom: none; }
.faq-item h3 {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.faq-item p {
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.7;
  margin: 0;
}

/* ── Article Footer CTA ── */
.article-footer-cta {
  background: var(--navy);
  border-radius: 14px;
  padding: 2rem 2.25rem;
  margin-top: 3rem;
}
.article-footer-cta-inner { display:flex; align-items:center; gap:2rem; flex-wrap:wrap; }
.article-footer-cta-text { flex:1; min-width:200px; }
.article-footer-cta-headline { font-family:var(--serif); font-size:1.2rem; font-weight:700; color:#fff; margin:0 0 0.4rem; line-height:1.3; }
.article-footer-cta-sub { font-size:14px; color:rgba(255,255,255,0.75); margin:0 0 0.75rem; line-height:1.6; }
.article-footer-cta-trust { font-size:12px; color:rgba(255,255,255,0.55); margin:0; letter-spacing:0.01em; }
.article-footer-cta-btn { display:inline-block; background:var(--sage); color:#fff; font-size:14px; font-weight:700; padding:0.75rem 1.5rem; border-radius:9px; text-decoration:none; white-space:nowrap; transition:background 0.15s; flex-shrink:0; }
.article-footer-cta-btn:hover { background:#3a6347; color:#fff; }
@media(max-width:600px){ .article-footer-cta-inner { flex-direction:column; align-items:flex-start; } .article-footer-cta-btn { width:100%; text-align:center; } .directory-cta-box-inner { flex-direction:column; align-items:flex-start; } .directory-cta-box-btn { width:100%; text-align:center; } }

/* ── Cost Calculator Widget ── */
.cost-calc-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-card);
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  padding: 1.5rem 1.75rem;
  margin: 2.5rem 0;
  overflow: hidden;
}
.cost-calc-teaser { display:flex; align-items:center; gap:1.5rem; flex-wrap:wrap; }
.cost-calc-left { display:flex; align-items:flex-start; gap:1rem; flex:1; min-width:220px; }
.cost-calc-icon-box {
  width:48px; height:48px; min-width:48px;
  background: var(--sage-light);
  border-radius:10px;
  display:flex; align-items:center; justify-content:center;
}
.cost-calc-teaser-body { flex:1; }
.cost-calc-headline {
  font-family:var(--serif); font-size:1.1rem; font-weight:700;
  color:var(--navy); margin:0 0 0.5rem; line-height:1.3;
}
.cost-calc-checklist {
  list-style:none; padding:0; margin:0;
}
.cost-calc-checklist li {
  font-family:var(--sans); font-size:0.875rem; color:var(--text);
  margin-bottom:0.3rem; padding-left:1.4rem; position:relative; line-height:1.4;
}
.cost-calc-checklist li::before {
  content:'';
  position:absolute; left:0; top:0.15em;
  width:16px; height:16px;
  background-image:url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='7.25' stroke='%234A7C59' stroke-width='1.5'/%3E%3Cpath d='M5 8.2l2 2 4-4' stroke='%234A7C59' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size:contain; background-repeat:no-repeat;
}
.cost-calc-start-btn {
  background:var(--navy); color:#fff; border:none;
  padding:0.75rem 1.4rem; border-radius:8px;
  font-family:var(--sans); font-size:0.9rem; font-weight:700;
  cursor:pointer; white-space:nowrap; flex-shrink:0;
  transition:background 0.15s; line-height:1;
}
.cost-calc-start-btn:hover { background:var(--accent-light); }
/* Steps */
.cost-calc-steps { display:none; }
.calc-step { display:none; }
.calc-step:first-child { display:block; }
.calc-progress {
  font-family:var(--sans); font-size:11px; font-weight:700;
  text-transform:uppercase; letter-spacing:0.07em;
  color:var(--sage); margin:0 0 0.4rem;
}
.calc-q {
  font-family:var(--serif); font-size:1.15rem;
  color:var(--navy); margin:0 0 1rem; line-height:1.3;
}
.calc-pills { display:flex; flex-wrap:wrap; gap:0.5rem; }
.calc-pill {
  border:1.5px solid var(--navy); background:#fff; color:var(--navy);
  padding:0.5rem 1rem; border-radius:24px;
  font-family:var(--sans); font-size:0.875rem; font-weight:600;
  cursor:pointer; transition:all 0.15s;
}
.calc-pill:hover { background:var(--navy); color:#fff; }
/* Result */
.calc-result-eyebrow {
  font-family:var(--sans); font-size:11px; font-weight:700;
  text-transform:uppercase; letter-spacing:0.07em;
  color:var(--sage); margin:0 0 0.2rem;
}
.calc-result-range {
  font-family:var(--serif); font-size:2.25rem; font-weight:700;
  color:var(--navy); margin:0 0 0.4rem; line-height:1.1;
}
.calc-result-desc {
  font-family:var(--sans); font-size:0.875rem;
  color:var(--text-muted); margin:0 0 1.25rem; line-height:1.5;
}
.calc-connect-btn {
  background:var(--teal); color:#fff; border:none;
  padding:0.75rem 1.4rem; border-radius:8px;
  font-family:var(--sans); font-size:0.9rem; font-weight:700;
  cursor:pointer; transition:background 0.15s;
}
.calc-connect-btn:hover { background:var(--accent-light); }
/* Calculator inline form */
.calc-lead-form { display:flex; flex-direction:column; gap:0.6rem; }
.calc-input {
  width:100%; padding:0.65rem 0.9rem; box-sizing:border-box;
  border:1.5px solid var(--border); border-radius:8px;
  font-family:var(--sans); font-size:0.9rem; color:var(--text);
  background:#fff; transition:border-color 0.15s;
}
.calc-input:focus { outline:none; border-color:var(--sage); }
.calc-form-note {
  font-family:var(--sans); font-size:0.78rem; color:var(--text-muted);
  margin:0.1rem 0 0.3rem; line-height:1.4;
}
.calc-form-error {
  display:none; font-family:var(--sans); font-size:0.8rem;
  color:#dc2626; margin:0;
}
/* Success */
.calc-success-inner { text-align:center; padding:0.5rem 0; }
.calc-success-check { margin-bottom:0.75rem; }
.calc-success-headline {
  font-family:var(--serif); font-size:1.2rem; color:var(--navy);
  margin:0 0 0.5rem;
}
.calc-success-msg {
  font-family:var(--sans); font-size:0.9rem; color:var(--text-muted);
  margin:0; line-height:1.5;
}
.calc-success-msg strong { color:var(--navy); }
@media(max-width:640px) {
  .cost-calc-teaser { gap:1rem; }
  .cost-calc-start-btn { width:100%; text-align:center; }
  .calc-result-range { font-size:1.75rem; }
  .calc-connect-btn { width:100%; }
}

/* ── SMM City Search Bar ── */
.smm-city-search {
  background:var(--navy);
  border-radius:12px;
  padding:2.25rem 1.75rem;
  text-align:center;
  margin:2.5rem 0;
}
.smm-city-search-trust {
  font-family:var(--sans); font-size:11px; font-weight:600;
  text-transform:uppercase; letter-spacing:0.06em;
  color:rgba(255,255,255,0.6); margin:0 0 0.6rem;
}
.smm-city-search-headline {
  font-family:var(--serif); font-size:1.45rem; font-weight:700;
  color:#fff; margin:0 0 1.25rem; line-height:1.3;
}
.smm-city-search-row {
  display:flex; gap:0.5rem; max-width:480px; margin:0 auto; position:relative;
}
.smm-city-autocomplete-wrap { position:relative; flex:1; }
.smm-city-input {
  width:100%; padding:0.75rem 1rem;
  border:none; border-radius:8px;
  font-family:var(--sans); font-size:1rem;
  color:var(--text); background:#fff; box-sizing:border-box;
}
.smm-city-input:focus { outline:2px solid var(--sage); outline-offset:0; }
.smm-city-suggestions {
  position:absolute; top:calc(100% + 4px); left:0; right:0;
  background:#fff; border:1px solid var(--border); border-radius:8px;
  list-style:none; padding:0.25rem 0; margin:0;
  z-index:200; display:none;
  box-shadow:0 4px 16px rgba(0,0,0,0.14);
}
.smm-city-suggestions li {
  padding:0.55rem 1rem; font-family:var(--sans); font-size:0.9rem;
  color:var(--text); cursor:pointer;
}
.smm-city-suggestions li:hover { background:var(--sage-light); }
.city-suggestions {
  position:absolute; top:calc(100% + 2px); left:0; right:0;
  background:#fff; border:1.5px solid #c9c1b5; border-radius:4px;
  padding:0.25rem 0; margin:0; z-index:200; display:none;
  box-shadow:0 4px 16px rgba(0,0,0,0.12);
}
.city-suggestion-item {
  padding:0.55rem 1rem; font-family:var(--sans); font-size:0.9rem;
  color:var(--text); cursor:pointer;
}
.city-suggestion-item:hover { background:#f5f0e8; }
.smm-city-btn {
  background:var(--sage); color:#fff; border:none;
  padding:0.75rem 1.25rem; border-radius:8px;
  font-family:var(--sans); font-size:0.9rem; font-weight:700;
  cursor:pointer; white-space:nowrap; flex-shrink:0;
  transition:background 0.15s;
}
.smm-city-btn:hover { background:#3a6347; }
@media(max-width:500px) {
  .smm-city-search-row { flex-direction:column; }
  .smm-city-btn { width:100%; }
}

/* ── Directory Coming Soon ── */
.directory-coming {
  max-width: 600px;
  margin: 6rem auto;
  text-align: center;
  padding: 0 2rem;
}
.directory-coming h1 {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}
.coming-sub {
  font-family: var(--sans);
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.65;
}
.directory-coming p {
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.directory-coming .btn-secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

/* ── Footer ── */
/* ── Footer ── */
.site-footer { background: #162D3E; color: rgba(255,255,255,0.75); margin-top: 0; border: none; }
.footer-main { max-width: var(--wide-width); margin: 0 auto; padding: 3.5rem 2rem 2.5rem; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-brand {}
.footer-logo { font-family: var(--serif); font-size: 1.25rem; font-weight: 700; color: #fff; text-decoration: none; display: block; margin-bottom: 0.35rem; }
.footer-tagline { font-family: var(--serif); font-size: 0.9rem; font-style: italic; color: rgba(255,255,255,0.5); margin-bottom: 1rem; }
.footer-mission { font-family: var(--sans); font-size: 0.85rem; color: rgba(255,255,255,0.7); line-height: 1.65; margin-bottom: 1rem; }
.footer-disclaimer { font-family: var(--sans); font-size: 0.78rem; color: rgba(255,255,255,0.45); line-height: 1.6; }
.footer-disclaimer a { color: rgba(255,255,255,0.65); text-decoration: underline; }
.footer-col-heading { font-family: var(--sans); font-size: 0.88rem; font-weight: 800; color: #fff; margin: 0 0 0.9rem; text-transform: none; letter-spacing: 0; }
.footer-col-list { list-style: disc; padding-left: 1.1rem; margin: 0; display: flex; flex-direction: column; gap: 0.45rem; }
.footer-col-list li { font-family: var(--sans); font-size: 0.84rem; color: rgba(255,255,255,0.65); }
.footer-col-list a { color: rgba(255,255,255,0.65); text-decoration: none; }
.footer-col-list a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); }
.footer-bottom > * { max-width: var(--wide-width); margin: 0 auto; padding: 1.25rem 2rem; display: flex; align-items: center; justify-content: space-between; }
.footer-copy { font-family: var(--sans); font-size: 0.82rem; color: rgba(255,255,255,0.45); }
.footer-social { display: flex; gap: 0.6rem; }
.footer-social-btn { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 6px; background: rgba(255,255,255,0.12); color: #fff; transition: background 0.15s; }
.footer-social-btn:hover { background: rgba(255,255,255,0.22); }
@media (max-width: 900px) { .footer-main { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-main { grid-template-columns: 1fr; } }

/* ── Numbered Steps ── */
.steps-list { display: flex; flex-direction: column; gap: 0; margin: 1.5rem 0; }
.step-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 0 1.25rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
  position: relative;
}
.step-card:last-child { border-bottom: none; }
.step-num {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.12;
  line-height: 1;
  letter-spacing: -0.04em;
}
.step-body { padding-top: 0.25rem; }
.step-heading {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.step-body p { margin: 0; font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }

/* ── Comparison Block ── */
.comparison-block { margin: 1.5rem 0; }
.comparison-cols--three { grid-template-columns: repeat(3, 1fr); }
.comparison-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.compare-col {
  border: 1px solid var(--border);
  overflow: hidden;
}
.compare-col-header {
  padding: 1rem 1.25rem;
  border-top: 3px solid var(--accent);
  background: transparent;
}
.compare-col-header--warm { border-top-color: var(--accent-warm); }
.compare-col-header h3 {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0;
  color: var(--text);
  letter-spacing: -0.01em;
}
.compare-tagline {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--text-muted);
  margin: 0.25rem 0 0;
}
.compare-col-body { padding: 1.25rem; }
.compare-cost {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.75rem;
}
.compare-cost-label { font-family: var(--sans); font-size: 13px; color: var(--text-muted); }
.compare-cost-val { font-family: var(--sans); font-size: 0.9rem; font-weight: 700; color: var(--text); }
.compare-pros, .compare-cons { list-style: none; padding: 0; margin: 0.75rem 0; }
.compare-pros li, .compare-cons li {
  font-family: var(--sans);
  font-size: 0.875rem;
  color: var(--text);
  padding: 0.3rem 0 0.3rem 1.25rem;
  position: relative;
  line-height: 1.5;
}
.compare-pros li::before { content: '+'; position: absolute; left: 0; color: #059669; font-weight: 700; font-family: var(--sans); }
.compare-cons li::before { content: '–'; position: absolute; left: 0; color: #B91C1C; font-weight: 700; font-family: var(--sans); }
.compare-best {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0.75rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}
.comparison-verdict {
  border-left: 3px solid var(--accent);
  padding: 1rem 1.25rem;
  margin-top: 1.25rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.6;
  background: transparent;
}

/* ── Stats Row ── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
/* Force 2-col on narrow content areas to prevent cramping */
@container (max-width: 500px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  padding: 1.5rem 1.25rem;
  text-align: center;
  container-type: inline-size;
}
.stat-value {
  font-family: var(--serif);
  font-size: clamp(0.95rem, 11cqi, 1.75rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  white-space: nowrap;
}
.stat-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}
.stat-context {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
  margin-top: 0.4rem;
}

/* ── Callout Boxes ── */
.callout {
  padding: 1.1rem 1.25rem;
  margin: 1.5rem 0;
  border-left: 3px solid var(--accent);
  background: rgba(30,58,95,0.03);
}
.callout--warning { border-left-color: var(--accent-warm); background: rgba(180,83,9,0.04); }
.callout--tip { border-left-color: #059669; background: rgba(5,150,105,0.04); }
.callout-label {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.4rem;
}
.callout--warning .callout-label { color: var(--accent-warm); }
.callout--tip .callout-label { color: #059669; }
.callout-heading {
  display: block;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.3rem;
}
.callout p { font-family: var(--sans); font-size: 0.875rem; color: var(--text); line-height: 1.65; margin: 0; }

/* ── Checklist ── */
.checklist { margin: 1.5rem 0; display: flex; flex-direction: column; gap: 0; }
.checklist-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0 0.75rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.checklist-item:last-child { border-bottom: none; }
.checklist-box {
  width: 18px;
  height: 18px;
  border: 2px solid var(--border);
  border-radius: 3px;
  display: block;
  margin-top: 0.15rem;
  flex-shrink: 0;
}
.checklist-heading {
  display: block;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.2rem;
}
.checklist-content p {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* ── State Cards & Cities ── */
.state-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s;
}
.state-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.state-card-inner { padding: 1.25rem 1.5rem; }
.state-card h3 { font-family: var(--serif); font-size: 1.05rem; font-weight: 700; margin-bottom: 0.3rem; letter-spacing: -0.01em; }
.state-card p { font-family: var(--sans); font-size: 13px; color: var(--text-muted); margin-bottom: 0.75rem; }
.state-nav ul { list-style: none; padding: 0; }
.state-nav li { margin-bottom: 0.35rem; }
.state-nav a { font-family: var(--sans); font-size: 13px; color: var(--text-muted); text-decoration: none; }
.state-nav a:hover { color: var(--accent); }
.cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.city-blurb {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 1.25rem 1.5rem;
}
.city-blurb h3 { font-family: var(--sans); font-size: 0.9rem; font-weight: 700; margin-bottom: 0.4rem; color: var(--accent); }
.city-blurb p { font-family: var(--sans); font-size: 0.85rem; color: var(--text-muted); line-height: 1.55; margin: 0; }

/* ── City Links Grid (state pages) ── */
.city-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}
.city-link-card {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.875rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.city-link-card:hover { border-color: var(--accent); box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.city-link-card strong { font-family: var(--sans); font-size: 0.9rem; font-weight: 700; color: var(--text); }
.city-link-card span { font-family: var(--sans); font-size: 0.75rem; color: var(--text-muted); }

/* ── Directory Index City Links ── */
.state-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.state-card-inner { display: block; padding: 1.25rem 1.5rem; text-decoration: none; color: inherit; transition: background 0.15s; }
.state-card-inner:hover { background: var(--bg); }
.state-card-cities { padding: 0 1rem 1rem; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.state-city-link {
  font-family: var(--sans);
  font-size: 0.75rem;
  color: var(--accent);
  text-decoration: none;
  padding: 0.2rem 0.5rem;
  background: #EFF4FA;
  border-radius: 3px;
  white-space: nowrap;
}
.state-city-link:hover { background: #D6E8FA; }

/* ── Nearby Areas ── */
.nearby-areas { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }
.nearby-label { font-family: var(--sans); font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 0.6rem; }
.nearby-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.nearby-tag { font-family: var(--sans); font-size: 0.78rem; color: var(--text-muted); background: var(--bg); border: 1px solid var(--border); border-radius: 3px; padding: 0.2rem 0.6rem; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .toc-mobile { display: block; margin-bottom: 2rem; }
  .toc-mobile details { background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; }
  .toc-mobile summary { padding: 0.75rem 1rem; font-family: var(--sans); font-size: 0.9rem; cursor: pointer; color: var(--text-muted); }
  .toc-mobile ol { list-style: none; padding: 0 1rem 1rem; }
  .toc-mobile li { margin-bottom: 0.4rem; }
  .toc-mobile a { font-family: var(--sans); font-size: 0.85rem; color: var(--accent); }
  .home-hero h1 { font-size: 1.7rem; }
  .home-hero { padding: 4rem 1.5rem 3.5rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .trust-bar-inner { justify-content: center; } /* trust-bar responsive handled inline */
  .trust-item + .trust-item::before { display: none; }
  .guide-grid { grid-template-columns: 1fr; }
  .guide-card-img-wrap { height: 140px; }
  .guide-card-img { height: 140px; }
  .guide-card-inner { padding: 1rem 1.25rem; }
  .comparison-cols { grid-template-columns: 1fr; }
}

/* ── Directory Hero ── */
.dir-hero { background:linear-gradient(135deg, #1E3A5F 0%, #152C4A 100%); color:#fff; padding:3rem 1.5rem 2.5rem; }
.dir-hero-inner { max-width:600px; margin:0 auto; text-align:center; }
.dir-search-box { display:flex; gap:0.5rem; margin-top:1.5rem; max-width:480px; margin-left:auto; margin-right:auto; }
.dir-search-input { flex:1; padding:0.85rem 1.25rem; font-size:16px; border:2px solid transparent; border-radius:10px; outline:none; box-shadow:0 2px 8px rgba(0,0,0,0.1); }
.dir-search-input:focus { border-color:#fff; }
.dir-search-btn { padding:0.85rem 1.5rem; font-size:15px; font-weight:600; background:#fff; color:var(--navy); border:none; border-radius:10px; cursor:pointer; transition:transform 0.15s; }
.dir-search-btn:hover { transform:scale(1.02); }
.dir-search-hint { font-size:13px; color:rgba(255,255,255,0.6); margin-top:0.75rem; }
.dir-hero-inner { max-width:760px; margin:0 auto; }
.dir-hero h1 { font-family:var(--serif); font-size:clamp(1.4rem,3.5vw,1.85rem); font-weight:700; letter-spacing:-0.02em; line-height:1.2; color:#fff; }
.dir-hero-sub { font-size:14px; color:rgba(255,255,255,0.7); margin-top:0.4rem; line-height:1.5; }
.dir-hero-sub a { color:rgba(255,255,255,0.85); text-decoration:underline; text-underline-offset:2px; }
.dir-meta-bar { display:flex; flex-wrap:wrap; gap:1rem; margin-top:1rem; font-size:13px; color:rgba(255,255,255,0.6); }
.dir-meta-bar .dm-item { display:flex; align-items:center; gap:0.3rem; }
.dir-meta-bar .dm-item strong { color:rgba(255,255,255,0.9); }

/* ── City Filter ── */
.city-filter-bar { display:flex; flex-wrap:wrap; gap:0.4rem; padding:1rem 0; overflow-x:auto; -webkit-overflow-scrolling:touch; }
.city-filter-link { font-size:12px; font-weight:500; color:var(--navy); background:white; border:1px solid var(--border); padding:5px 12px; border-radius:20px; text-decoration:none; white-space:nowrap; transition:all 0.15s; }
.city-filter-link:hover { background:var(--navy); color:white; border-color:var(--navy); }

/* ── Member Cards ── */
.profile-list { display:flex; flex-direction:column; gap:0.75rem; }
.profile-card { background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius); padding:1.5rem; display:grid; grid-template-columns:64px 1fr auto; gap:1.25rem; align-items:start; transition:box-shadow 0.2s ease,border-color 0.2s ease; cursor:pointer; position:relative; }
.profile-card:hover { box-shadow:var(--shadow-hover); border-color:#D6D3D1; }
.profile-card + .profile-card { margin-top:0.75rem; }
.profile-card.featured { border-color:var(--gold); background:var(--gold-light); box-shadow:var(--shadow-card); }
.profile-card.featured:hover { box-shadow:var(--shadow-hover); }
.featured-badge { position:absolute; top:-1px; right:1.25rem; background:var(--gold); color:white; font-size:10px; font-weight:700; letter-spacing:0.06em; text-transform:uppercase; padding:3px 10px 4px; border-radius:0 0 4px 4px; }
.card-avatar { width:64px; height:64px; border-radius:50%; background:var(--bg-warm); border:2px solid var(--border-light); display:flex; align-items:center; justify-content:center; font-family:var(--serif); font-size:22px; font-weight:700; color:var(--navy); flex-shrink:0; }
.card-body { min-width:0; }
.card-name { font-family:var(--serif); font-size:1.05rem; font-weight:700; color:var(--text); letter-spacing:-0.01em; line-height:1.3; }
.card-credentials { display:inline-flex; align-items:center; gap:0.4rem; margin-top:0.2rem; font-size:12px; font-weight:600; color:var(--sage); }
.card-location { margin-top:0.35rem; font-size:13px; color:var(--text-secondary); }
.card-service-area { margin-top:0.25rem; font-size:12.5px; color:var(--text-muted); line-height:1.5; }
.card-tags { display:flex; flex-wrap:wrap; gap:0.35rem; margin-top:0.6rem; }
.card-tag { font-size:11px; font-weight:500; color:var(--text-secondary); background:var(--bg); border:1px solid var(--border-light); padding:2px 8px; border-radius:20px; }
.card-tag.accredited { background:var(--sage-light); border-color:#C2D9C8; color:var(--sage); }
.card-actions { display:flex; flex-direction:column; align-items:flex-end; gap:0.5rem; padding-top:0.2rem; }
.card-cta { display:inline-block; font-size:13px; font-weight:600; color:white; background:var(--navy); padding:0.45rem 1rem; border-radius:var(--radius-sm); white-space:nowrap; transition:background 0.15s; }
.card-cta:hover { background:var(--navy-light); color:white; }
.card-website { font-size:12px; color:var(--text-muted); }
.card-website:hover { color:var(--navy); }
.card-member-since { font-size:11px; color:var(--text-muted); text-align:right; }
.profile-card.unclaimed .card-body { opacity:0.8; }
.profile-card.unclaimed .card-cta { background:transparent; color:var(--navy); border:1px solid var(--border); }
.profile-card:hover { box-shadow:0 4px 16px rgba(0,0,0,0.08); border-color:#ccc; transform:translateY(-1px); }
.profile-card.accredited { border-left:3px solid var(--sage); }
.profile-card-avatar { width:72px; height:72px; border-radius:14px; background:linear-gradient(135deg, #1E3A5F, #2A5090); color:white; display:flex; align-items:center; justify-content:center; font-family:var(--serif); font-size:24px; font-weight:700; letter-spacing:1px; flex-shrink:0; }
.profile-card-body { min-width:0; }
.profile-card-name { font-family:var(--serif); font-size:1.05rem; font-weight:700; letter-spacing:-0.01em; line-height:1.3; }
.profile-card-name a { color:var(--text); text-decoration:none; }
.profile-card-name a:hover { color:var(--navy); }
.profile-card-contact { font-size:13px; color:var(--text-secondary); margin-top:0.1rem; }
.profile-card-meta { display:flex; flex-wrap:wrap; align-items:center; gap:0.5rem; margin-top:0.4rem; }
.profile-card-location { font-size:13px; color:var(--text-secondary); display:flex; align-items:center; gap:0.25rem; }
.card-tag { display:inline-flex; align-items:center; gap:0.25rem; font-size:11px; font-weight:600; padding:2px 8px; border-radius:4px; }
.card-tag.nasmm { background:#F0F7F1; color:#2D6A3F; }
.card-tag.accredited { background:#ECFDF5; color:#065F46; border:1px solid #A7F3D0; }
.card-tag.cred { background:#EEF2FF; color:#4338CA; }
.profile-card-area { font-size:12.5px; color:var(--text-muted); margin-top:0.35rem; line-height:1.45; }
.profile-card-footer { display:flex; align-items:center; justify-content:space-between; gap:0.75rem; margin-top:0.75rem; padding-top:0.65rem; border-top:1px solid var(--border-light); }
.profile-card-since { font-size:11px; color:var(--text-muted); }
.profile-card-btn { display:inline-flex; align-items:center; gap:0.3rem; font-size:13px; font-weight:600; color:white; background:var(--navy); padding:0.45rem 1rem; border-radius:6px; white-space:nowrap; text-decoration:none; transition:background 0.15s; }
.profile-card-btn:hover { background:#2A5090; color:white; }
.profile-card-website { font-size:12px; color:var(--text-muted); text-decoration:none; }
.profile-card-website:hover { color:var(--navy); }
 { display:flex; align-items:center; justify-content:space-between; padding:0.75rem 0; margin-bottom:0.5rem; font-size:13px; color:var(--text-muted); }
.results-count { font-weight:600; color:var(--text-secondary); }

/* ── Profile Page ── */
.profile-top { display:grid; grid-template-columns:96px 1fr; gap:1.75rem; align-items:start; padding-bottom:2rem; border-bottom:1px solid var(--border); }
.profile-avatar { width:96px; height:96px; border-radius:16px; background:linear-gradient(135deg, #1E3A5F, #2A5090); color:white; display:flex; align-items:center; justify-content:center; font-family:var(--serif); font-size:32px; font-weight:700; letter-spacing:1px; box-shadow:0 2px 8px rgba(30,58,95,0.2); }
.profile-name { font-family:var(--serif); font-size:1.65rem; font-weight:700; letter-spacing:-0.02em; line-height:1.2; }
.profile-company { font-size:15px; color:var(--text-secondary); margin-top:0.25rem; }
.profile-badges { display:flex; flex-wrap:wrap; gap:0.5rem; margin-top:0.75rem; }
.profile-badge { font-size:12px; font-weight:600; padding:4px 12px; border-radius:6px; display:inline-flex; align-items:center; gap:0.3rem; }
.badge-nasmm { background:#F0F7F1; color:#2D6A3F; border:1px solid #C2D9C8; }
.badge-creds { background:#EEF2FF; color:#4338CA; border:1px solid #DDD6FE; }
.badge-accredited { background:#ECFDF5; color:#065F46; border:1px solid #A7F3D0; }
.profile-location { font-size:14px; color:var(--text-secondary); margin-top:0.75rem; display:flex; align-items:center; gap:0.4rem; }
.claim-banner { background:white; border:1px solid var(--border); border-radius:12px; padding:2rem; margin-top:2rem; text-align:center; box-shadow:0 1px 4px rgba(0,0,0,0.04); }
.claim-banner h3 { font-family:var(--serif); font-size:1.15rem; font-weight:700; color:var(--text); }
.claim-banner p { font-size:14px; color:var(--text-secondary); margin-top:0.5rem; line-height:1.65; max-width:460px; margin-left:auto; margin-right:auto; }
.claim-actions { display:flex; gap:0.75rem; justify-content:center; flex-wrap:wrap; margin-top:1.25rem; }
.claim-btn-free { display:inline-block; padding:0.65rem 1.5rem; background:white; color:var(--navy); font-size:14px; font-weight:600; border:1.5px solid var(--border); border-radius:8px; text-decoration:none; transition:all 0.15s; }
.claim-btn-free:hover { border-color:var(--navy); background:var(--bg); }
.claim-btn-paid { display:inline-block; padding:0.65rem 1.5rem; background:var(--navy); color:white; font-size:14px; font-weight:600; border-radius:8px; text-decoration:none; transition:background 0.15s; }
.claim-btn-paid:hover { background:#2A5090; color:white; }
.profile-section { margin-top:2rem; padding-top:1.75rem; border-top:1px solid var(--border-light); }
.profile-section h2 { font-family:var(--serif); font-size:1.2rem; font-weight:700; margin-bottom:0.75rem; }
.profile-section p { font-size:15px; color:var(--text-secondary); line-height:1.75; }
.hub-link-block { margin-top:2.5rem; padding:1rem 1.25rem; background:#f8f4ee; border-left:3px solid #8B6914; border-radius:0 4px 4px 0; }
.hub-link-label { font-family:var(--sans); font-size:0.78rem; font-weight:600; color:#8B6914; text-transform:uppercase; letter-spacing:0.06em; margin:0 0 0.3rem; }
.hub-link-anchor { font-family:var(--sans); font-size:0.9rem; font-weight:600; color:var(--navy); text-decoration:none; }
.hub-link-anchor:hover { text-decoration:underline; }
.sidebar-hub-link, .sidebar-dir-link { margin-top:1.25rem; padding:0.85rem 1rem; background:#f5fafb; border:1px solid #d6e8ec; border-radius:6px; }
.sidebar-hub-label { font-family:var(--sans); font-size:0.75rem; font-weight:700; color:var(--text-muted); text-transform:uppercase; letter-spacing:0.06em; margin:0 0 0.3rem; }
.sidebar-hub-anchor { font-family:var(--sans); font-size:0.85rem; font-weight:600; color:var(--navy); text-decoration:none; display:block; }
.sidebar-hub-anchor:hover { text-decoration:underline; }
.plan-banner { margin-top:3rem; padding:1.25rem 1.5rem; background:#f5fafb; border:1px solid #d6e8ec; border-radius:6px; display:flex; align-items:center; justify-content:space-between; gap:1rem; flex-wrap:wrap; }
.plan-banner-text { font-family:'DM Sans',sans-serif; font-size:0.92rem; font-weight:600; color:#1A3D5C; margin:0; }
.plan-banner-link { font-family:'DM Sans',sans-serif; font-size:0.85rem; font-weight:600; color:#1A5C6B; text-decoration:none; white-space:nowrap; }
.plan-banner-link:hover { text-decoration:underline; }
@media(max-width:540px){ .plan-banner { flex-direction:column; align-items:flex-start; gap:0.4rem; } }
.related-guides { margin-top:3rem; }
.related-guides h3 { font-size:12px; font-weight:700; color:var(--text-muted); text-transform:uppercase; letter-spacing:0.07em; margin-bottom:1rem; }
.related-cards { display:grid; grid-template-columns:repeat(2,1fr); gap:1rem; }
.related-card { display:flex; flex-direction:column; background:white; border:1px solid var(--border); border-radius:12px; overflow:hidden; text-decoration:none; color:inherit; transition:box-shadow 0.18s, transform 0.18s; }
.related-card:hover { box-shadow:0 4px 18px rgba(0,0,0,0.10); transform:translateY(-2px); }
.related-card-img { width:100%; aspect-ratio:16/9; background-size:cover; background-position:center; background-color:var(--bg-warm); }
.related-card-img--placeholder { background-color:var(--bg-warm); }
.related-card-body { padding:0.85rem 1rem 1rem; display:flex; flex-direction:column; gap:0.35rem; flex:1; }
.related-card-title { font-size:14px; font-weight:600; color:var(--navy); line-height:1.4; }
.related-card-cta { font-size:12.5px; font-weight:600; color:var(--sage); margin-top:auto; padding-top:0.35rem; }
@media(max-width:540px){ .related-cards { grid-template-columns:1fr; } }
@media(max-width:600px){.profile-card{grid-template-columns:56px 1fr;gap:0.85rem;padding:1rem 1.15rem}.profile-card-avatar{width:56px;height:56px;border-radius:10px;font-size:18px}.profile-card-footer{flex-direction:column;align-items:flex-start}.profile-top{grid-template-columns:72px 1fr;gap:1rem}.profile-avatar{width:72px;height:72px;border-radius:12px;font-size:24px}.dir-hero{padding:2rem 1.25rem 1.5rem}}

/* ── Sources Section ── */
.sources-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid var(--border);
}
.sources-heading {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 1.25rem;
}
.sources-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sources-item {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-light);
}
.sources-item:last-child { border-bottom: none; }
.sources-link {
  color: var(--sage);
  font-weight: 600;
  text-decoration: none;
}
.sources-link:hover { text-decoration: underline; }
.sources-claim { font-weight: 400; color: var(--text-muted); font-style: italic; }

/* ── Lead Capture Widget (gradient) ── */
.lead-widget {
  background: linear-gradient(165deg, #2a5090 0%, #1E3A5F 100%);
  border-radius: 14px;
  padding: 1.5rem 1.35rem 1.25rem;
  color: white;
}
.lead-form { margin: 0; }
.lead-eyebrow {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.75);
  margin: 0 0 0.5rem;
  text-align: center;
}
.lead-question {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
  text-align: center;
  margin: 0 0 1.15rem;
  line-height: 1.3;
}
.lead-options { display: flex; flex-direction: column; gap: 0.5rem; }
.lead-opt {
  display: block;
  width: 100%;
  padding: 0.7rem 1rem;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: 8px;
  color: white;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--sans);
  cursor: pointer;
  text-align: center;
  transition: background 0.15s, border-color 0.15s;
}
.lead-opt:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.8); }
.lead-input {
  display: block;
  width: 100%;
  padding: 0.7rem 0.9rem;
  font-size: 14px;
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: 8px;
  margin-bottom: 0.6rem;
  background: rgba(255,255,255,0.12);
  color: white;
  font-family: var(--sans);
  box-sizing: border-box;
  outline: none;
  -webkit-appearance: none;
  transition: border-color 0.15s, background 0.15s;
}
.lead-input::placeholder { color: rgba(255,255,255,0.5); }
.lead-input:focus { border-color: white; background: rgba(255,255,255,0.18); }
.lead-input.input-error { border-color: #fca5a5; }
.lead-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.75rem 1rem;
  background: white;
  color: #1E3A5F;
  font-size: 14px;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--sans);
  margin-top: 0.35rem;
  transition: background 0.15s, transform 0.1s;
}
.lead-btn:hover { background: #e8eef5; }
.lead-btn:active { transform: scale(0.98); }
.lead-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.lead-error { font-size: 12px; color: #fca5a5; margin: -0.15rem 0 0.5rem; }
.lead-spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(30,58,95,0.3);
  border-top-color: #1E3A5F;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }
.lead-fine {
  font-size: 11.5px;
  color: rgba(255,255,255,0.7);
  text-align: center;
  margin: 1rem 0 0;
}
.lead-success {
  text-align: center;
  padding: 0.5rem 0;
}
.lead-success-check {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.lead-success-title {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: white;
  margin: 0 0 0.5rem;
}
.lead-success-body {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin: 0;
}

/* ── Mobile Sticky Bar ── */
.lead-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom));
  background: white;
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.lead-mobile-bar.visible { transform: translateY(0); }
.lead-mobile-trigger {
  display: block;
  width: 100%;
  padding: 0.8rem 1.25rem;
  background: linear-gradient(165deg, #2a5090 0%, #1E3A5F 100%);
  color: white;
  font-size: 14px;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-family: var(--sans);
  text-align: center;
}
.lead-sheet-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 200;
  opacity: 0;
  transition: opacity 0.3s;
}
.lead-sheet-backdrop.open { display: block; opacity: 1; }
.lead-sheet {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 201;
  background: white;
  border-radius: 20px 20px 0 0;
  padding: 0.75rem 1rem 2rem;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.32,0.72,0,1);
}
.lead-sheet.open { transform: translateY(0); }
.lead-sheet-handle {
  width: 36px; height: 4px;
  background: var(--border);
  border-radius: 99px;
  margin: 0 auto 1rem;
}
.lead-sheet-close {
  position: absolute;
  top: 1rem; right: 1.25rem;
  background: rgba(0,0,0,0.06);
  border: none;
  border-radius: 50%;
  width: 30px; height: 30px;
  font-size: 14px;
  cursor: pointer;
  color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
}

@media(max-width: 900px) {
  .article-page-grid { grid-template-columns: 1fr; }
  .article-sidebar-col { display: none; }
  .lead-mobile-bar { display: block; }
  .toc-mobile { display: block; }
}

/* Dark mode disabled, site is light mode only (color-scheme: light in :root) */

/* ── Action Plan Tool ── */
.plan-hero {
  max-width: 640px;
  margin: 0 auto;
  padding: 5rem 2rem 4rem;
  text-align: center;
}
.plan-hero h1 {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 1rem;
  line-height: 1.2;
}
@media(max-width:600px){ .plan-hero h1 { font-size: 1.8rem; } }
.plan-hero .plan-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0 0 2.5rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.plan-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  background: var(--accent);
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: var(--sans);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}
.plan-cta-btn:hover { background: #15505d; }
.plan-cta-btn:active { transform: scale(0.98); }
.plan-fine {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  opacity: 0.7;
}

/* Progress bar */
.plan-progress {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  padding: 1rem 2rem 0.75rem;
  display: none;
}
.plan-progress-inner {
  max-width: 600px;
  margin: 0 auto;
}
.plan-progress-bar {
  height: 4px;
  background: var(--border);
  border-radius: 99px;
  overflow: hidden;
}
.plan-progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 99px;
  transition: width 0.4s ease;
  width: 0%;
}
.plan-progress-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
  text-align: center;
}

/* Question cards */
.plan-questions {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
  display: none;
}
.plan-q {
  display: none;
  animation: planFadeIn 0.35s ease;
}
.plan-q.active { display: block; }
@keyframes planFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.plan-q h2 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 1.5rem;
  line-height: 1.3;
}
@media(max-width:600px){ .plan-q h2 { font-size: 1.25rem; } }
.plan-option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  background: white;
  border: 2px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  font-family: var(--sans);
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
  min-height: 48px;
}
.plan-option:hover { border-color: var(--accent); background: #f0f9fa; }
.plan-option.selected { border-color: var(--accent); background: #e8f4f6; box-shadow: 0 0 0 1px var(--accent); }
.plan-option-title {
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.plan-option-icon { font-size: 1.3rem; flex-shrink: 0; }
.plan-option-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
  padding-left: 2.1rem;
  line-height: 1.5;
}
.plan-option.multi-selected { border-color: var(--accent); background: #e8f4f6; box-shadow: 0 0 0 1px var(--accent); }
.plan-option .plan-check-icon {
  width: 20px; height: 20px;
  border: 2px solid var(--border);
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.15s;
  margin-right: 0.5rem;
}
.plan-option.multi-selected .plan-check-icon {
  background: var(--accent);
  border-color: var(--accent);
}
.plan-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.5rem;
  padding: 0.6rem 1rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--sans);
  font-size: 0.9rem;
  cursor: pointer;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}
.plan-back-btn:hover { color: var(--navy); background: rgba(0,0,0,0.04); }
.plan-next-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.8rem 1.5rem;
  background: var(--accent);
  color: white;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--sans);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  margin-top: 1rem;
  transition: background 0.15s, transform 0.1s;
}
.plan-next-btn:hover { background: #15505d; }
.plan-next-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.plan-q-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
}

/* State dropdown */
.plan-select {
  display: block;
  width: 100%;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  font-family: var(--sans);
  border: 2px solid var(--border);
  border-radius: 12px;
  background: white;
  color: var(--navy);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%231A3D5C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.25rem center;
  transition: border-color 0.15s;
}
.plan-select:focus { border-color: var(--accent); outline: none; }

/* Generated plan */
.plan-result {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
  display: none;
  animation: planFadeIn 0.5s ease;
}
.plan-result-header {
  text-align: center;
  margin-bottom: 2.5rem;
  padding-top: 2rem;
}
.plan-result-header h2 {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 0.5rem;
}
.plan-result-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.plan-result-progress {
  max-width: 400px;
  margin: 1.5rem auto 0;
}
.plan-result-progress-bar {
  height: 8px;
  background: var(--border);
  border-radius: 99px;
  overflow: hidden;
}
.plan-result-progress-fill {
  height: 100%;
  border-radius: 99px;
  transition: width 0.3s ease;
  width: 0%;
  background: var(--accent);
}
.plan-result-progress-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.4rem;
}

/* Timeline sections */
.plan-section {
  margin-bottom: 2.5rem;
}
.plan-section-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border);
}
.plan-section-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}
.plan-section-dot.urgent { background: #C0392B; }
.plan-section-dot.important { background: var(--accent); }
.plan-section-dot.longterm { background: var(--sage); }
.plan-section-title {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}
.plan-section-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-left: auto;
}

/* Checklist items */
.plan-item {
  display: flex;
  gap: 0.75rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  align-items: flex-start;
}
.plan-item:last-child { border-bottom: none; }
.plan-item-check {
  width: 22px;
  height: 22px;
  border: 2px solid var(--border);
  border-radius: 6px;
  flex-shrink: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  transition: all 0.15s;
  background: white;
}
.plan-item-check:hover { border-color: var(--accent); }
.plan-item-check.checked {
  background: var(--accent);
  border-color: var(--accent);
}
.plan-item-check.checked svg { display: block; }
.plan-item-check svg { display: none; }
.plan-item-content { flex: 1; min-width: 0; }
.plan-item-action {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  margin: 0;
  line-height: 1.4;
}
.plan-item.checked-item .plan-item-action {
  text-decoration: line-through;
  opacity: 0.5;
}
.plan-item-why {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0.2rem 0 0;
  line-height: 1.5;
}
.plan-item.checked-item .plan-item-why { opacity: 0.4; }
.plan-item-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.82rem;
  color: var(--accent);
  text-decoration: none;
  margin-top: 0.3rem;
  font-weight: 500;
}
.plan-item-link:hover { text-decoration: underline; }

/* Share panel */
.plan-share {
  max-width: 600px;
  margin: 2rem auto 0;
  padding: 2rem;
  background: var(--bg-warm);
  border-radius: 16px;
  text-align: center;
}
.plan-share h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 0.5rem;
}
.plan-share p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}
.plan-share-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}
.plan-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.25rem;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--navy);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  text-decoration: none;
}
.plan-share-btn:hover { border-color: var(--accent); background: #f0f9fa; }
.plan-share-btn.sms-only { display: none; }
@media(max-width:600px){ .plan-share-btn.sms-only { display: inline-flex; } }

/* Reset button */
.plan-reset {
  display: block;
  margin: 2rem auto 0;
  padding: 0.6rem 1rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--sans);
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: underline;
}
.plan-reset:hover { color: var(--navy); }

/* Print styles */
@media print {
  .site-header, .site-footer, .plan-share, .plan-reset, .plan-progress, .plan-hero,
  .plan-questions, .plan-back-btn, .plan-next-btn, .lead-mobile-bar, .lead-sheet-backdrop,
  .lead-sheet { display: none !important; }
  .plan-result { display: block !important; padding: 0; }
  .plan-result::before {
    content: "SeniorMoveGuide.com";
    display: block;
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 0.25rem;
  }
  .plan-result-header::before {
    content: "Your Family Action Plan";
    display: block;
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: #1A3D5C;
    margin-bottom: 0.5rem;
  }
  .plan-item-check { border: 2px solid #999 !important; background: white !important; }
  .plan-item-check svg { display: none !important; }
  .plan-item.checked-item .plan-item-action { text-decoration: none; opacity: 1; }
  .plan-item.checked-item .plan-item-why { opacity: 1; }
  .plan-item-link { color: #1A5C6B; }
  body { background: white; }
}

