/* StoreDash design system — dark navy + warm amber, geometric sans headings */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Core palette */
  --navy:        #0a1628;
  --navy-2:      #112239;
  --navy-3:      #1c3252;
  --navy-line:   #233a5b;
  --ink:         #0a1628;
  --ink-soft:    #2a3f5a;
  --muted:       #6b7a8e;
  --line:        #e3e6ec;
  --line-soft:   #eef0f4;
  --paper:       #ffffff;
  --bone:        #faf7f0;
  --bone-2:      #f3eee0;

  --amber:       #f59e0b;
  --amber-deep:  #c97a06;
  --amber-light: #fde68a;
  --amber-soft:  #fff5d6;
  --rust:        #b45309;

  --good:        #1f7a3a;

  --shadow-1: 0 1px 2px rgba(10,22,40,.05), 0 4px 14px rgba(10,22,40,.06);
  --shadow-2: 0 6px 14px rgba(10,22,40,.08), 0 22px 48px rgba(10,22,40,.12);
  --shadow-amber: 0 8px 22px rgba(217,119,6,.20);

  --r-sm: 6px; --r-md: 10px; --r-lg: 16px; --r-xl: 22px;
  --maxw: 1200px;

  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --display: 'Space Grotesk', 'Inter', -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--rust); text-decoration: none; }
a:hover { text-decoration: underline; }
.vh { position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ========================= HEADER ========================= */
.site-header {
  background: var(--navy);
  color: #e6ecf4;
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 1px 0 rgba(255,255,255,.04), 0 6px 18px rgba(0,0,0,.18);
}
.header-wrap {
  display: flex; align-items: center; gap: 28px;
  padding: 14px 24px;
  max-width: var(--maxw); margin: 0 auto;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display);
  font-size: 22px; font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 30px; height: 30px;
  display: inline-grid; place-items: center;
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-deep) 100%);
  color: var(--navy);
  border-radius: 7px;
  font-weight: 800; font-size: 17px;
  box-shadow: 0 2px 0 rgba(0,0,0,.2);
}
.brand-name { letter-spacing: -0.01em; }
.brand-name b { color: var(--amber-light); font-weight: 700; }

.primary-nav {
  display: flex; gap: 26px; margin-left: auto;
}
.primary-nav a {
  color: #cdd6e3;
  font-size: 14.5px; font-weight: 500;
  letter-spacing: 0.01em;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.primary-nav a:hover {
  color: #fff; text-decoration: none;
  border-bottom-color: var(--amber);
}
.cta-secondary {
  background: var(--amber);
  color: var(--navy) !important;
  padding: 10px 18px;
  border-radius: var(--r-sm);
  font-size: 14px; font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform .12s, box-shadow .12s;
}
.cta-secondary:hover {
  background: var(--amber-light);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: var(--shadow-amber);
}

/* ========================= AD SLOTS ========================= */
.ad-slot {
  margin: 22px auto;
  background: linear-gradient(180deg, #f4eed9 0%, #ece5cd 100%);
  color: var(--ink-soft);
  border: 1px dashed #c9bf9c;
  border-radius: var(--r-md);
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 26px 14px;
  max-width: var(--maxw);
}
.ad-slot-header { margin: 0 auto; max-width: var(--maxw); border-radius: 0; border-left: 0; border-right: 0; padding: 10px; background: #15263e; color: #97a4b8; border-color: #233a5b; }
.ad-slot-footer { max-width: var(--maxw); }
.ad-slot-sidebar { padding: 36px 14px; }
.ad-label { opacity: 0.75; font-weight: 600; }

/* ========================= HERO ========================= */
.hero {
  position: relative;
  background: var(--navy);
  color: #e6ecf4;
  overflow: hidden;
  border-bottom: 4px solid var(--amber);
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(1100px 480px at 85% -10%, rgba(245,158,11,.18) 0%, rgba(245,158,11,0) 60%),
    radial-gradient(900px 600px at -10% 120%, rgba(28,50,82,.85) 0%, rgba(28,50,82,0) 65%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 80%);
  pointer-events: none;
}
.hero-wrap {
  position: relative;
  padding: 78px 24px 88px;
  max-width: var(--maxw); margin: 0 auto;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 56px; align-items: center;
}
.hero-copy { max-width: 640px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  text-transform: uppercase;
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
  color: var(--amber-light);
  background: rgba(245,158,11,.10);
  border: 1px solid rgba(245,158,11,.35);
  padding: 7px 12px;
  border-radius: 999px;
  margin: 0 0 22px;
}
.eyebrow::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 3px rgba(245,158,11,.2);
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05;
  margin: 0 0 22px;
  letter-spacing: -0.025em;
  color: #fff;
  font-weight: 700;
}
.hero h1 .accent { color: var(--amber); }
.hero h1 .underline {
  position: relative;
  white-space: nowrap;
}
.hero h1 .underline::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -4px;
  height: 4px;
  background: var(--amber);
  border-radius: 2px;
  opacity: .85;
}
.lede {
  font-size: 18px; line-height: 1.6;
  color: #b6c2d4;
  max-width: 560px;
  margin: 0 0 26px;
}
.hero-search {
  display: flex; gap: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 6px;
  box-shadow: var(--shadow-1);
  max-width: 560px;
  margin-bottom: 18px;
}
.hero-search input[type="search"] {
  flex: 1;
  border: 0; outline: 0;
  font-size: 16px;
  padding: 13px 14px;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
}
.hero-search button {
  background: var(--amber);
  color: var(--navy);
  border: 0; font-weight: 700; font-size: 15px;
  padding: 0 22px;
  border-radius: var(--r-sm);
  cursor: pointer;
  font-family: inherit;
  transition: background .12s;
}
.hero-search button:hover { background: var(--amber-light); }
.hero-search.inline { margin: 18px 0 26px; background: #fff; }

.hero-stats {
  display: flex; gap: 32px;
  margin: 28px 0 0;
  flex-wrap: wrap;
}
.hero-stat .num {
  font-family: var(--display);
  font-weight: 700;
  color: #fff;
  font-size: 26px;
  letter-spacing: -0.02em;
}
.hero-stat .num .accent { color: var(--amber); }
.hero-stat .label {
  font-size: 12px;
  color: #97a4b8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

/* Hero featured categories panel */
.hero-cats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  position: relative;
}
.hero-cat {
  display: flex; flex-direction: column; gap: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,.04) 0%, rgba(255,255,255,.01) 100%);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--r-lg);
  padding: 22px 20px 20px;
  color: #e6ecf4;
  transition: transform .12s, border-color .12s, background .12s;
}
.hero-cat:hover {
  text-decoration: none;
  transform: translateY(-3px);
  border-color: var(--amber);
  background: linear-gradient(180deg, rgba(245,158,11,.10) 0%, rgba(245,158,11,.02) 100%);
}
.hero-cat .cat-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-deep) 100%);
  border-radius: 10px;
  color: var(--navy);
  box-shadow: 0 4px 14px rgba(245,158,11,.30);
}
.hero-cat .cat-icon svg { width: 26px; height: 26px; }
.hero-cat .cat-name {
  font-family: var(--display);
  font-weight: 700; font-size: 17px;
  color: #fff; letter-spacing: -0.01em;
}
.hero-cat .cat-tag {
  font-size: 13px; color: #97a4b8; line-height: 1.4;
}
.hero-cat .cat-arrow {
  margin-top: auto;
  font-size: 13px;
  color: var(--amber-light);
  font-weight: 600;
  letter-spacing: 0.02em;
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-cats { grid-template-columns: 1fr 1fr; }
}

/* ========================= TRUST BAR ========================= */
.trust-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12.5px; color: var(--ink-soft);
  background: #fff;
  border: 1px solid var(--line);
  padding: 6px 11px;
  border-radius: 999px;
  font-weight: 500;
}
.badge.verified { background: #e6f3ea; color: var(--good); border-color: #c5e1cd; }
.badge.verified.small { padding: 2px 8px; font-size: 11.5px; margin-left: 6px; }
.badge.insured { background: var(--amber-soft); color: var(--rust); border-color: #f0d99a; }
.badge.sla { background: #e6effa; color: var(--navy-3); border-color: #c4d6ee; }
.badge.bbb { background: #fbe9e2; color: var(--rust); border-color: #f1cab8; }

/* hero-only trust row */
.hero .trust-row .badge { background: rgba(255,255,255,.06); color: #cdd6e3; border-color: rgba(255,255,255,.14); }
.hero .trust-row .badge.verified { background: rgba(31,122,58,.18); color: #95d6a8; border-color: rgba(31,122,58,.40); }
.hero .trust-row .badge.insured { background: rgba(245,158,11,.10); color: var(--amber-light); border-color: rgba(245,158,11,.30); }
.hero .trust-row .badge.sla     { background: rgba(135,170,220,.10); color: #b6c8e1; border-color: rgba(135,170,220,.20); }
.hero .trust-row .badge.bbb     { background: rgba(245,158,11,.10); color: var(--amber-light); border-color: rgba(245,158,11,.30); }

/* ========================= SECTIONS ========================= */
.section-pad { padding: 72px 0 24px; }
.section-pad-tight { padding: 44px 0 16px; }
.section-head { margin: 0 0 30px; max-width: 740px; }
.section-head .kicker {
  display: inline-block;
  text-transform: uppercase;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.16em;
  color: var(--amber-deep);
  margin-bottom: 10px;
}
.section-head h2 {
  font-family: var(--display);
  font-size: clamp(28px, 3.4vw, 38px);
  margin: 0 0 10px;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
}
.section-head p { color: var(--ink-soft); margin: 0; font-size: 17px; line-height: 1.6; }
.bg-tint { background: var(--bone); }
.bg-navy { background: var(--navy); color: #cdd6e3; }
.bg-navy h2 { color: #fff; }
.bg-navy .section-head p { color: #b6c2d4; }

/* ========================= CATEGORY GRID (homepage feature) ========================= */
.cat-feature {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 980px) { .cat-feature { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .cat-feature { grid-template-columns: 1fr; } }
.cat-feature-card {
  display: flex; flex-direction: column; gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 24px 22px;
  color: var(--ink);
  position: relative; overflow: hidden;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.cat-feature-card::before {
  content: '';
  position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--amber) 0%, var(--amber-deep) 100%);
  opacity: 0;
  transition: opacity .15s;
}
.cat-feature-card:hover {
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
  border-color: var(--navy-3);
}
.cat-feature-card:hover::before { opacity: 1; }
.cat-feature-card .cat-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%);
  border-radius: 12px;
  color: var(--amber);
  box-shadow: var(--shadow-1);
}
.cat-feature-card .cat-icon svg { width: 32px; height: 32px; }
.cat-feature-card h3 {
  font-family: var(--display);
  font-size: 19px; font-weight: 700; margin: 4px 0 0;
  letter-spacing: -0.01em;
  color: var(--navy);
}
.cat-feature-card .cat-spec {
  font-size: 13px; color: var(--rust); font-weight: 600;
  letter-spacing: 0.01em;
  margin-top: -6px;
}
.cat-feature-card p { font-size: 14.5px; color: var(--ink-soft); margin: 0; line-height: 1.55; }
.cat-feature-card .card-cta { margin-top: auto; padding-top: 6px; }

/* ========================= TYPE GRID (smaller chips) ========================= */
.type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.type-grid.wide { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.type-card {
  display: flex; flex-direction: column; gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px 20px;
  color: var(--ink);
  transition: transform .12s, box-shadow .12s, border-color .12s;
}
.type-card:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
  border-color: var(--navy-3);
}
.type-card .type-icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--rust);
  font-size: 22px;
}
.type-card .type-icon svg { width: 22px; height: 22px; }
.type-card h3, .type-card h2 {
  font-family: var(--display);
  font-size: 18px; margin: 0;
  letter-spacing: -0.01em;
  color: var(--navy);
  font-weight: 700;
}
.type-card p { font-size: 14px; color: var(--ink-soft); margin: 0; }
.type-card.lg p { font-size: 15px; }
.type-card.lg h2 { font-size: 22px; }
.type-card .tagline { color: var(--rust); font-weight: 600; margin: 2px 0 4px; font-size: 13.5px; }
.link-cta { color: var(--rust); font-weight: 600; font-size: 14px; }
.link-cta::after { content: ' →'; }

/* ========================= CITY GRID ========================= */
.city-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.city-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 13px 16px;
  color: var(--ink);
  display: flex; flex-direction: column; gap: 3px;
  transition: border-color .12s, background .12s;
}
.city-card:hover {
  border-color: var(--amber);
  background: var(--amber-soft);
  text-decoration: none;
}
.city-name { font-weight: 600; font-size: 15px; color: var(--navy); }
.city-meta { font-size: 12.5px; color: var(--ink-soft); }
.see-all { margin: 22px 0 0; font-weight: 600; }

/* ========================= FACILITY CARDS ========================= */
.facility-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
}
.facility-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px 18px 20px;
  display: flex; flex-direction: column; gap: 10px;
  transition: box-shadow .12s, border-color .12s, transform .12s;
}
.facility-card:hover {
  box-shadow: var(--shadow-2);
  border-color: var(--navy-3);
  transform: translateY(-2px);
}
.facility-card h3 {
  font-family: var(--display);
  font-size: 18px; margin: 0;
  letter-spacing: -0.01em;
  font-weight: 700;
}
.facility-card h3 a { color: var(--navy); }
.facility-card h3 a:hover { color: var(--rust); text-decoration: none; }
.facility-loc { font-size: 13.5px; color: var(--ink-soft); margin: 0; }
.chip-row { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 5px; }
.chip {
  background: var(--bone);
  color: var(--ink-soft);
  font-size: 11.5px;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 500;
}
.chip.active { background: var(--amber); color: var(--navy); border-color: var(--amber-deep); font-weight: 600; }
.card-cta { margin-top: auto; font-weight: 600; font-size: 13.5px; color: var(--rust); }
.card-cta::after { content: ' →'; }

/* Stars */
.stars { display: inline-flex; gap: 1px; color: var(--amber); font-size: 15px; line-height: 1; vertical-align: middle; }
.stars .star.empty { color: #d8cfb6; }
.muted { color: var(--muted); font-size: 13px; }
.small { font-size: 12px; }

/* ========================= STATES ========================= */
.state-pill-grid, .state-list-grid { display: grid; gap: 12px; }
.state-pill-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.state-list-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.state-pill {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 14px 16px;
  color: var(--ink);
  display: flex; justify-content: space-between; align-items: center;
  transition: background .12s, border-color .12s;
}
.state-pill:hover { background: var(--amber-soft); border-color: var(--amber); text-decoration: none; }
.state-pill-name { font-weight: 600; color: var(--navy); }
.state-pill-count { font-size: 13px; color: var(--ink-soft); }
.state-list-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px 20px;
  color: var(--ink);
  display: flex; flex-direction: column; gap: 5px;
  transition: border-color .12s, transform .12s, box-shadow .12s;
}
.state-list-card:hover {
  border-color: var(--navy-3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-1);
  text-decoration: none;
}
.state-list-name { font-family: var(--display); font-size: 19px; font-weight: 700; color: var(--navy); }
.state-list-count { color: var(--rust); font-weight: 600; font-size: 14px; }
.state-list-major { color: var(--ink-soft); font-size: 13px; }

/* ========================= CRUMBS ========================= */
.crumbs {
  font-size: 13px; color: var(--muted);
  margin: 4px 0 18px;
}
.crumbs a { color: var(--ink-soft); }
.crumbs a:hover { color: var(--rust); }
.crumbs span { color: var(--navy); font-weight: 500; }

/* ========================= LONG PROSE ========================= */
h1 { font-family: var(--display); font-weight: 700; color: var(--navy); letter-spacing: -0.02em; }
.long-prose {
  max-width: 740px;
}
.long-prose h2 {
  font-family: var(--display);
  font-size: 26px;
  margin: 36px 0 12px;
  letter-spacing: -0.015em;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.2;
}
.long-prose h3 {
  font-family: var(--display);
  font-size: 19px;
  margin: 26px 0 8px;
  letter-spacing: -0.01em;
  color: var(--navy);
  font-weight: 600;
}
.long-prose p { font-size: 16.5px; color: var(--ink-soft); margin: 0 0 14px; line-height: 1.7; }
.long-prose ul, .long-prose ol { padding-left: 22px; color: var(--ink-soft); font-size: 16.5px; line-height: 1.7; }
.long-prose ul li, .long-prose ol li { margin: 6px 0; }
.long-prose strong { color: var(--navy); font-weight: 600; }

/* Pull quote / callout */
.callout {
  background: var(--bone);
  border-left: 4px solid var(--amber);
  padding: 18px 22px;
  border-radius: var(--r-sm);
  margin: 22px 0;
  font-size: 16px;
  color: var(--ink-soft);
}
.callout strong { color: var(--navy); }

/* Spec table inside long-prose */
.spec-table {
  width: 100%; border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  margin: 18px 0;
  font-size: 14.5px;
}
.spec-table th, .spec-table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.spec-table th { background: var(--bone); color: var(--navy); font-weight: 700; font-family: var(--display); }
.spec-table tr:last-child td { border-bottom: 0; }

/* ========================= CTA BAND ========================= */
.cta-band {
  display: grid; grid-template-columns: 1fr auto;
  gap: 28px; align-items: center;
  background: var(--navy);
  color: #fff;
  border-radius: var(--r-xl);
  padding: 36px 40px;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(700px 300px at 90% 50%, rgba(245,158,11,.16) 0%, rgba(245,158,11,0) 70%);
  pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-band h2 {
  font-family: var(--display);
  font-size: 28px; margin: 0 0 8px;
  letter-spacing: -0.02em;
  color: #fff;
  font-weight: 700;
}
.cta-band p { color: #b6c2d4; margin: 0; font-size: 16px; }
.cta-primary {
  display: inline-block;
  background: var(--amber);
  color: var(--navy) !important;
  padding: 14px 26px;
  font-size: 15px; font-weight: 700;
  border-radius: var(--r-sm);
  text-decoration: none;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: 0.01em;
  transition: transform .12s, box-shadow .12s, background .12s;
}
.cta-primary:hover { background: var(--amber-light); text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-amber); }
.cta-primary.big { padding: 16px 30px; font-size: 16px; }

/* ========================= LEAD FORM ========================= */
.lead-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px 22px 20px;
  box-shadow: var(--shadow-1);
}
.lead-wrap.big { max-width: 640px; padding: 30px; margin: 0 0 30px; }
.lead-form h3 {
  font-family: var(--display);
  font-size: 20px; margin: 0 0 6px;
  letter-spacing: -0.01em; color: var(--navy);
  font-weight: 700;
}
.lead-sub { font-size: 13.5px; color: var(--ink-soft); margin: 0 0 14px; line-height: 1.5; }
.lead-grid { display: grid; gap: 10px; }
.lead-form label { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; font-weight: 600; color: var(--navy); }
.lead-form input, .lead-form select {
  font-family: inherit; font-size: 15px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 10px 12px;
  background: #fff; color: var(--ink);
}
.lead-form input:focus, .lead-form select:focus { outline: 2px solid var(--amber); outline-offset: 1px; border-color: var(--amber); }
.lead-form button { width: 100%; margin: 14px 0 0; }
.lead-fine { font-size: 11px; color: var(--muted); margin: 8px 0 0; line-height: 1.5; }

/* ========================= 2-COL LAYOUT ========================= */
.layout-2col { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; align-items: start; }
@media (max-width: 980px) {
  .layout-2col { grid-template-columns: 1fr; }
  .sidebar { order: -1; }
  .cta-band { grid-template-columns: 1fr; padding: 28px 24px; }
}
.sidebar { display: flex; flex-direction: column; gap: 18px; }
.sticky { position: sticky; top: 96px; }

/* ========================= RELATED RESOURCES SIDEBAR ========================= */
.related-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px 20px 14px;
  box-shadow: var(--shadow-1);
}
.related-block .related-head {
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
  margin-bottom: 12px;
}
.related-block .related-head h4 {
  font-family: var(--display);
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--navy);
  margin: 0;
}
.related-block .related-head .dot {
  width: 6px; height: 6px; background: var(--amber); border-radius: 50%;
}
.related-list { list-style: none; padding: 0; margin: 0; }
.related-list li { border-bottom: 1px solid var(--line-soft); }
.related-list li:last-child { border-bottom: 0; }
.related-link {
  display: block;
  padding: 11px 0;
  color: var(--navy) !important;
}
.related-link:hover { text-decoration: none; }
.related-link:hover .related-title { color: var(--rust); }
.related-link .related-title {
  display: block;
  font-size: 14px; font-weight: 600;
  color: var(--navy);
  line-height: 1.35;
  transition: color .12s;
}
.related-link .related-source {
  display: block;
  font-size: 11.5px; color: var(--muted);
  margin-top: 3px;
  text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600;
}

/* Footer recommended block (4-col footer column) */
.foot-related li { border-bottom: 1px solid #1f3653; }
.foot-related li:last-child { border-bottom: 0; }
.foot-related a {
  display: block; padding: 8px 0;
  color: #cdd6e3 !important;
  font-size: 13.5px;
}
.foot-related a:hover { color: var(--amber-light) !important; text-decoration: none; }
.foot-related .src { display: block; font-size: 10.5px; color: #7f8da3; text-transform: uppercase; letter-spacing: 0.08em; margin-top: 2px; }

/* In-content recommended (article inline editorial block) */
.inline-rec {
  background: var(--bone);
  border: 1px solid var(--line);
  border-left: 3px solid var(--amber);
  border-radius: var(--r-sm);
  padding: 14px 18px;
  margin: 22px 0;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.inline-rec strong { color: var(--navy); font-weight: 600; }
.inline-rec a { font-weight: 600; }

/* ========================= FACILITY DETAIL ========================= */
.facility-head {
  display: grid; grid-template-columns: 1fr auto;
  gap: 20px; align-items: end;
  margin: 8px 0 26px; padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.facility-head h1 {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 4px;
  letter-spacing: -0.02em;
}
.rating-row { margin: 8px 0 12px; display: flex; gap: 8px; align-items: center; }
.size-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  margin: 8px 0 6px;
}
.size-table th, .size-table td {
  text-align: left; padding: 12px 14px;
  font-size: 14.5px; border-bottom: 1px solid var(--line);
}
.size-table th { background: var(--bone); color: var(--navy); font-weight: 700; font-family: var(--display); letter-spacing: 0.01em; }
.size-table tr:last-child td { border-bottom: 0; }
.size-table tr:hover td { background: var(--bone); }
.size-table .price { font-weight: 700; color: var(--navy); }
.amen-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 6px 16px; color: var(--ink-soft); font-size: 14px; }
.amen-grid li::before { content: "✓ "; color: var(--good); font-weight: 700; }
.type-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.type-list li { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 16px; }
.type-list li p { margin: 4px 0 0; color: var(--ink-soft); font-size: 14px; }

/* ========================= TESTIMONIALS ========================= */
.testi-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin: 12px 0 28px; }
.testi {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--amber);
  border-radius: var(--r-md);
  padding: 18px 20px;
  margin: 0;
  box-shadow: var(--shadow-1);
}
.testi p { color: var(--navy); margin: 0 0 8px; font-size: 15px; line-height: 1.55; }
.testi cite { font-style: normal; color: var(--ink-soft); font-size: 12.5px; }
.testi cite strong { color: var(--navy); font-weight: 600; }

/* ========================= ARTICLES ========================= */
.article-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.article-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 22px;
  transition: box-shadow .12s, border-color .12s, transform .12s;
}
.article-card:hover { box-shadow: var(--shadow-2); border-color: var(--navy-3); transform: translateY(-2px); }
.art-cat { text-transform: uppercase; font-size: 11px; letter-spacing: 0.14em; color: var(--rust); font-weight: 700; margin: 0 0 8px; }
.article-card h2 { font-family: var(--display); font-size: 20px; margin: 0 0 8px; letter-spacing: -0.01em; color: var(--navy); font-weight: 700; }
.article-card h2 a { color: var(--navy); }
.article-card h2 a:hover { color: var(--rust); text-decoration: none; }
.article-card p { color: var(--ink-soft); font-size: 14.5px; margin: 0 0 8px; }
.art-meta { font-size: 12.5px; color: var(--muted); }
.article-body h1 { font-family: var(--display); font-size: clamp(28px, 4vw, 42px); margin: 4px 0 8px; letter-spacing: -0.02em; }

/* Thank-you */
.thank-you { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 36px; }
.thank-you h1 { font-family: var(--display); margin: 0 0 12px; }

/* ========================= FOOTER ========================= */
.site-footer { background: var(--navy); color: #cdd6e3; padding: 60px 0 28px; margin-top: 72px; border-top: 4px solid var(--amber); }
.brand-foot { color: #fff; }
.brand-foot .brand-name { color: #fff; }
.foot-tag { color: #97a4b8; font-size: 13.5px; margin: 14px 0 0; max-width: 280px; line-height: 1.55; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 36px; align-items: start;
}
.footer-grid h4 {
  font-family: var(--display);
  color: #fff; font-size: 13px; margin: 0 0 14px;
  text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700;
}
.footer-grid h4::after {
  content: ''; display: block;
  width: 28px; height: 2px; background: var(--amber);
  margin-top: 6px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid a { color: #cdd6e3; font-size: 13.5px; }
.footer-grid a:hover { color: var(--amber-light); }
.footer-grid li { font-size: 13px; color: #97a4b8; }
.foot-legal {
  margin-top: 44px; padding-top: 22px;
  border-top: 1px solid #1f3653;
  color: #7f8da3; font-size: 12.5px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.foot-legal a { color: #97a4b8; }
.foot-legal a:hover { color: #fff; }
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .header-wrap { gap: 14px; flex-wrap: wrap; }
  .primary-nav { order: 4; width: 100%; flex-wrap: wrap; gap: 14px; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cats { grid-template-columns: 1fr; }
  .cat-feature { grid-template-columns: 1fr; }
}

/* ========================= AUTHORITY BAR ========================= */
.authority-bar {
  background: var(--bone);
  border-block: 1px solid var(--line);
  padding: 22px 0;
}
.authority-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 22px 38px;
  font-size: 13px; font-weight: 600;
  color: var(--ink-soft);
  text-transform: uppercase; letter-spacing: 0.10em;
}
.authority-row .authority-label { color: var(--rust); font-weight: 700; }
.authority-row .authority-pill {
  display: inline-flex; align-items: center; gap: 6px;
}
.authority-row .authority-pill::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--amber);
}

/* ========================= STATE TYPE GRID (cross page) ========================= */
.cross-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.cross-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 14px 18px; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center;
}
.cross-card:hover { background: var(--amber-soft); border-color: var(--amber); text-decoration: none; }
.cross-card .label { font-weight: 600; color: var(--navy); }
.cross-card .count { color: var(--rust); font-weight: 600; font-size: 13px; }
