/* SepticTankQuotes — Editorial Directory */

/* ═══════════════════════════════════════
   SELF-HOSTED FONTS
   ═══════════════════════════════════════ */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/dm-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/dm-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Serif Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/dm-serif-display-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Serif Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/dm-serif-display-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #faf9f6;
  --bg2: #f1efe9;
  --bg3: #e8e5dc;
  --card: #ffffff;
  --accent: #2d6a4f;
  --accent-l: #eaf3ed;
  --accent-h: #1b4332;
  --accent-bright: #40916c;
  --amber: #b45309;
  --amber-l: #fef3c7;
  --tx: #3d3d3d;
  --tx1: #1a1a1a;
  --tx2: #6b6b6b;
  --tx3: #9a9a9a;
  --br: #e4e0d8;
  --br2: #d4cfc5;
  --r: 6px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.04), 0 1px 3px rgba(0,0,0,.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,.06), 0 1px 3px rgba(0,0,0,.04);
  --shadow-lg: 0 8px 30px rgba(0,0,0,.08);
  --ff: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --fb: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

body {
  font-family: var(--fb);
  color: var(--tx);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; transition: color .15s; }
a:hover { color: var(--accent-h); }

.container { max-width: 1140px; margin: 0 auto; padding: 0 28px; }

/* ═══════════════════════════════════════
   GRAIN & REVEAL ANIMATIONS
   ═══════════════════════════════════════ */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 9999; opacity: 0.3;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

/* ═══════════════════════════════════════
   HEADER
   ═══════════════════════════════════════ */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--br);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 1px 0 rgba(0,0,0,.03);
  transition: background 0.3s, box-shadow 0.3s;
}
.site-header .container {
  display: flex; align-items: center; gap: 24px; height: 60px;
}
.logo {
  font-family: var(--ff); font-size: 1.2rem; font-weight: 400;
  color: var(--tx1); display: flex; align-items: center; gap: 10px;
  letter-spacing: -.2px;
}
.logo, .logo:visited, .logo:hover { color: var(--tx1); text-decoration: none; }
.logo span { color: var(--accent); }
.logo-icon { width: 24px; height: 24px; color: var(--accent); }
.nav-desktop { display: flex; gap: 2px; margin-left: 8px; }
.nav-desktop a {
  color: var(--tx2); font-size: .84rem; font-weight: 500;
  padding: 6px 14px; border-radius: 5px; transition: all .15s;
}
.nav-desktop a:hover { color: var(--tx1); background: var(--bg2); }

/* Header search */
.header-search {
  position: relative; flex: 1; max-width: 320px; margin-left: 8px;
}
.hs-icon {
  position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; color: var(--tx3); pointer-events: none;
}
.hs-input {
  width: 100%; padding: 8px 12px 8px 32px;
  border: 1px solid var(--br); border-radius: 6px; outline: none;
  font-family: var(--fb); font-size: .84rem; color: var(--tx1);
  background: var(--bg); transition: border-color .2s, box-shadow .2s;
}
.hs-input::placeholder { color: var(--tx3); }
.hs-input:focus { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-l); background: #fff; }
.hs-results {
  position: absolute; top: calc(100% + 4px); left: 0; right: 0;
  background: #fff; border: 1px solid var(--br2); border-radius: 8px;
  box-shadow: var(--shadow-lg); max-height: 300px; overflow-y: auto;
  display: none; z-index: 150;
}
.hs-results.open { display: block; }
.hs-result {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; cursor: pointer; text-decoration: none;
  color: var(--tx1); font-size: .86rem; transition: background .1s;
}
.hs-result:hover, .hs-result.active { background: var(--accent-l); color: var(--tx1); }
.hs-empty { padding: 14px; text-align: center; font-size: .84rem; color: var(--tx3); }

/* Hamburger button */
.hamburger {
  display: none; background: none; border: none; cursor: pointer;
  width: 32px; height: 24px; position: relative; margin-left: auto;
  padding: 0; z-index: 201;
}
.hamburger span {
  display: block; position: absolute; left: 0; right: 0;
  height: 2px; background: var(--tx1); border-radius: 2px;
  transition: transform .3s, opacity .2s;
}
.hamburger span:nth-child(1) { top: 4px; }
.hamburger span:nth-child(2) { top: 11px; }
.hamburger span:nth-child(3) { top: 18px; }
.hamburger.active span:nth-child(1) { top: 11px; transform: rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { top: 11px; transform: rotate(-45deg); }
.is-home .hamburger span { background: var(--tx1); }

/* Mobile nav overlay */
.mobile-nav {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(250,249,246,.97);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.mobile-nav.open { opacity: 1; visibility: visible; }
.mobile-nav nav {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.mobile-nav nav a {
  font-family: var(--ff); font-size: 1.5rem; color: var(--tx1);
  padding: 8px 20px; border-radius: 6px; transition: all .15s;
}
.mobile-nav nav a:hover { color: var(--accent); background: var(--accent-l); }

/* Homepage header: fixed & transparent */
.is-home .header-search { display: none; }
.is-home .site-header {
  position: fixed; left: 0; right: 0;
  background: transparent;
  border-bottom: none;
  box-shadow: none;
}
.is-home .site-header.scrolled {
  background: rgba(250,249,246,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--br);
}

/* ═══════════════════════════════════════
   HOMEPAGE: HERO
   ═══════════════════════════════════════ */
.hero {
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  padding: 7rem 2rem 4rem;
  position: relative;
}
.hero::before {
  content: '+'; position: absolute; top: 12%; right: 8%;
  font-size: 20rem; font-weight: 100; color: var(--accent);
  opacity: 0.05; line-height: 1; pointer-events: none;
}

/* Hero split layout */
.hero-split {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 400px;
  gap: 48px; align-items: center;
  max-width: 1140px; width: 100%; margin: 0 auto;
}
.hero-left { text-align: left; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 2rem;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: ''; width: 24px; height: 1px; background: var(--accent);
}

.hero h1 {
  font-family: var(--ff); font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 400; line-height: 1.08; letter-spacing: -0.03em;
  color: var(--tx1); max-width: 680px; margin: 0 0 1.5rem;
}
.hero h1 em { font-style: italic; color: var(--accent); }

.hero-sub {
  font-size: 1.05rem; color: var(--tx2); max-width: 520px;
  margin: 0 0 2.5rem; line-height: 1.65;
}

/* Hero CTA card (right column) */
.hero-cta-card {
  background: var(--accent-h); color: #fff; border-radius: 14px;
  padding: 32px 28px; position: relative; overflow: hidden;
  box-shadow: 0 12px 40px rgba(45,106,79,.25);
}
.hero-cta-card::before {
  content: ''; position: absolute; inset: 0; opacity: .06;
  background: repeating-linear-gradient(45deg, transparent, transparent 8px, rgba(255,255,255,.2) 8px, rgba(255,255,255,.2) 9px);
}
.hcc-badge {
  position: relative; display: inline-block;
  font-size: .7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.12); padding: 4px 12px;
  border-radius: 20px; margin-bottom: 16px;
}
.hero-cta-card h2 {
  position: relative; font-family: var(--ff); font-weight: 400;
  font-size: 1.4rem; margin-bottom: 8px; color: #fff;
}
.hero-cta-card p {
  position: relative; font-size: .88rem; opacity: .8;
  line-height: 1.6; margin-bottom: 20px;
}
.hero-form { position: relative; }
.hf-input {
  display: block; width: 100%; padding: 14px 16px;
  border: 2px solid rgba(255,255,255,.25); border-radius: 8px;
  background: rgba(255,255,255,.12); color: #fff;
  font-family: var(--fb); font-size: .95rem; outline: none;
  margin-bottom: 12px; transition: border-color .2s, background .2s;
}
.hf-input::placeholder { color: rgba(255,255,255,.5); }
.hf-input:focus { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.18); }
.hf-btn {
  width: 100%; padding: 14px; background: #fff; color: var(--accent-h);
  border: none; border-radius: 8px; font-weight: 700; font-size: .95rem;
  font-family: var(--fb); cursor: pointer; transition: all .2s;
  letter-spacing: .2px;
}
.hf-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.hf-msg { margin-top: 10px; font-size: .82rem; text-align: center; min-height: 20px; }
.hf-success { color: #bbf7d0; }
.hf-error { color: #fca5a5; }
.hcc-trust {
  position: relative; display: flex; align-items: center; gap: 6px;
  justify-content: center; margin-top: 14px;
  font-size: .76rem; opacity: .55;
}
.hcc-trust svg { flex-shrink: 0; }

/* Search bar */
.hero-search {
  position: relative; width: 100%; max-width: 520px;
  margin: 0 0 2.5rem;
}
.search-box {
  position: relative; display: flex; align-items: center;
  background: #fff; border: 1px solid var(--br2);
  border-radius: 10px; box-shadow: var(--shadow-md);
  transition: border-color .2s, box-shadow .2s;
}
.search-box:focus-within {
  border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-l), var(--shadow-md);
}
.search-icon {
  position: absolute; left: 16px; width: 20px; height: 20px;
  color: var(--tx3); pointer-events: none;
}
.search-input {
  width: 100%; padding: 15px 50px 15px 46px;
  border: none; outline: none; background: transparent;
  font-family: var(--fb); font-size: 1rem; color: var(--tx1);
  border-radius: 10px;
}
.search-input::placeholder { color: var(--tx3); }
.search-kbd {
  position: absolute; right: 14px;
  padding: 2px 7px; border: 1px solid var(--br); border-radius: 4px;
  font-family: var(--fb); font-size: .7rem; color: var(--tx3);
  background: var(--bg); display: none;
}
.search-box:focus-within .search-kbd { display: inline; }
.search-results {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0;
  background: #fff; border: 1px solid var(--br2); border-radius: 10px;
  box-shadow: var(--shadow-lg); max-height: 340px; overflow-y: auto;
  display: none; z-index: 50;
}
.search-results.open { display: block; }
.search-result {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px; cursor: pointer; text-decoration: none;
  color: var(--tx1); font-size: .92rem; transition: background .1s;
}
.search-result:hover, .search-result.active {
  background: var(--accent-l); color: var(--tx1);
}
.search-result .sr-type {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: .68rem; font-weight: 700; letter-spacing: .3px;
}
.sr-type.sr-state { background: var(--accent); color: #fff; }
.sr-type.sr-county { background: var(--bg2); color: var(--tx2); }
.search-result .sr-name { font-weight: 500; }
.search-result .sr-name mark {
  background: var(--amber-l); color: inherit; border-radius: 2px;
  padding: 0 1px;
}
.search-empty {
  padding: 20px 18px; text-align: center;
  font-size: .88rem; color: var(--tx3);
}

.hero-stats {
  display: inline-flex; gap: 0;
  background: rgba(255,255,255,.7); border: 1px solid var(--br);
  border-radius: 10px; backdrop-filter: blur(8px); overflow: hidden;
}
.hero-stat {
  text-align: center; padding: 20px 36px;
  border-right: 1px solid var(--br);
}
.hero-stat:last-child { border-right: none; }
.hs-val {
  font-family: var(--ff); font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 400; letter-spacing: -0.03em; line-height: 1;
  color: var(--tx1); margin-bottom: 4px;
}
.hs-val .green { color: var(--accent-bright); }
.hs-lbl {
  font-size: 0.75rem; color: var(--tx3); letter-spacing: 0.06em;
  text-transform: uppercase; font-weight: 500;
}

/* ═══════════════════════════════════════
   HOMEPAGE: HOW SECTION
   ═══════════════════════════════════════ */
.how-section { padding: 6rem 2rem; max-width: 1080px; margin: 0 auto; }
.how-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 2rem; margin-bottom: 4rem; flex-wrap: wrap;
}
.how-header h2 {
  font-family: var(--ff); font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 400; letter-spacing: -0.02em; line-height: 1.15; max-width: 420px;
}
.how-header p { font-size: 0.9rem; color: var(--tx2); max-width: 320px; line-height: 1.6; }
.how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.h-step {
  padding: 2.5rem 2rem; border-top: 2px solid var(--br);
  position: relative; transition: border-color 0.3s;
}
.h-step:hover { border-top-color: var(--accent); }
.h-step-num {
  font-family: var(--ff); font-size: 4rem; color: var(--bg2);
  line-height: 1; margin-bottom: 1.25rem; transition: color 0.3s;
}
.h-step:hover .h-step-num { color: var(--accent-l); }
.h-step h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; letter-spacing: -0.01em; color: var(--tx1); }
.h-step p { font-size: 0.875rem; color: var(--tx2); line-height: 1.6; }

/* ═══════════════════════════════════════
   HOMEPAGE: TOP STATES
   ═══════════════════════════════════════ */
.top-section { padding: 0 2rem 5rem; }
.top-inner { max-width: 1080px; margin: 0 auto; }
.top-header { margin-bottom: 2.5rem; }
.top-header h2 {
  font-family: var(--ff); font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 400; letter-spacing: -0.02em; margin-bottom: 0.5rem;
}
.top-header p { color: var(--tx2); font-size: 0.95rem; }

.top-states-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}
.top-state-card {
  background: var(--card); border: 1px solid var(--br); border-radius: 10px;
  padding: 22px 24px; transition: all .2s; color: var(--tx);
  box-shadow: var(--shadow-sm); position: relative;
}
.top-state-card:hover {
  border-color: var(--accent); box-shadow: var(--shadow-md);
  transform: translateY(-2px); color: var(--tx);
}
.top-state-card .tsc-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.top-state-card .tsc-abbr {
  width: 44px; height: 44px; border-radius: 8px;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .88rem; letter-spacing: .5px; flex-shrink: 0;
}
.top-state-card .tsc-name { font-family: var(--ff); font-size: 1.1rem; color: var(--tx1); }
.top-state-card .tsc-sub { font-size: .8rem; color: var(--tx2); margin-top: 2px; }
.top-state-card .tsc-stats {
  display: flex; gap: 20px; padding-top: 14px;
  border-top: 1px solid var(--br);
}
.top-state-card .tsc-stat { font-size: .8rem; color: var(--tx2); }
.top-state-card .tsc-stat b { color: var(--accent); font-weight: 700; }

/* ═══════════════════════════════════════
   HOMEPAGE: ALL STATES PILLS
   ═══════════════════════════════════════ */
.allstates-section {
  max-width: 1080px; margin: 0 auto; padding: 0 2rem 5rem;
}
.allstates-section h2 {
  font-family: var(--ff); font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400; letter-spacing: -0.02em; margin-bottom: 1.5rem;
}
.states-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.state-pill {
  padding: 0.6rem 1.1rem; font-size: 0.82rem; font-weight: 500;
  background: white; border: 1px solid var(--br); border-radius: 6px;
  text-decoration: none; color: var(--tx1); transition: all 0.15s;
  min-height: 44px; display: inline-flex; align-items: center;
}
.state-pill:hover {
  border-color: var(--accent); color: var(--accent);
  background: var(--accent-l);
}

/* ═══════════════════════════════════════
   HOMEPAGE: INFO CARD
   ═══════════════════════════════════════ */
.info-card-section {
  max-width: 880px; margin: 0 auto; padding: 0 2rem 3rem;
}
.info-card {
  background: white; border: 1px solid var(--br);
  border-radius: 12px; padding: 2.5rem; position: relative; overflow: hidden;
}
.info-card-deco {
  position: absolute; right: 2rem; top: -0.5rem;
  font-family: var(--ff); font-size: 8rem;
  color: var(--bg2); line-height: 1; pointer-events: none;
}
.info-card h2 {
  font-family: var(--ff); font-size: 1.35rem; font-weight: 400;
  margin-bottom: 1rem; position: relative;
}
.info-card h3 {
  font-size: 0.95rem; font-weight: 600;
  margin: 1.5rem 0 0.6rem; position: relative; color: var(--tx1);
}
.info-card p {
  font-size: 0.875rem; color: var(--tx2); line-height: 1.75;
  margin-bottom: 0.6rem; max-width: 680px; position: relative;
}

/* ═══════════════════════════════════════
   HOMEPAGE: SOURCE BAR
   ═══════════════════════════════════════ */
.source-bar {
  border-top: 1px solid var(--br); padding: 1.5rem 2rem;
  display: flex; align-items: center; justify-content: center;
  gap: 0.6rem; font-size: 0.8rem; color: var(--tx3);
}
.source-bar svg { width: 14px; height: 14px; }
.source-mark {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-weight: 600; color: var(--tx2);
}

/* ═══════════════════════════════════════
   BREADCRUMBS
   ═══════════════════════════════════════ */
.breadcrumbs { padding: 20px 0 12px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: .82rem; }
.breadcrumbs li::after { content: '\203A'; color: var(--tx3); margin-left: 6px; }
.breadcrumbs li:last-child::after { display: none; }
.breadcrumbs a { color: var(--accent); font-weight: 500; }
.breadcrumbs span { color: var(--tx2); }

/* ═══════════════════════════════════════
   SECTION TITLES
   ═══════════════════════════════════════ */
.section-title {
  font-family: var(--ff); font-size: 1.6rem; font-weight: 400;
  color: var(--tx1); margin-bottom: 8px; padding-top: 52px; letter-spacing: -.3px;
}
.section-sub { color: var(--tx2); margin-top: 0; margin-bottom: 28px; font-size: .92rem; }

/* ═══════════════════════════════════════
   PAGE HEADING
   ═══════════════════════════════════════ */
.page-h1 {
  font-family: var(--ff); font-size: 2rem; font-weight: 400;
  color: var(--tx1); margin-bottom: 6px; letter-spacing: -.3px;
}
.page-sub { color: var(--tx2); font-size: .92rem; margin-bottom: 32px; }

/* ═══════════════════════════════════════
   STATE PAGE: INFO BOX
   ═══════════════════════════════════════ */
.info-box {
  background: var(--card); border: 1px solid var(--br); border-radius: 10px;
  padding: 28px; margin-bottom: 36px; box-shadow: var(--shadow-sm);
}
.info-box h2 {
  font-family: var(--ff); font-size: 1.15rem; font-weight: 400;
  color: var(--tx1); margin-bottom: 20px; padding-bottom: 14px;
  border-bottom: 1px solid var(--br);
}
.info-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.info-label {
  font-size: .72rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .8px; color: var(--tx3); margin-bottom: 4px;
}
.info-value { font-size: .95rem; color: var(--tx1); font-weight: 500; }

/* ═══════════════════════════════════════
   STATE PAGE: COUNTY GRID
   ═══════════════════════════════════════ */
.counties-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 10px;
}
.county-card {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--card); border: 1px solid var(--br); border-radius: var(--r);
  padding: 14px 18px; transition: all .2s; color: var(--tx);
  box-shadow: var(--shadow-sm);
}
.county-card:hover {
  border-color: var(--accent); background: var(--accent-l);
  transform: translateY(-1px); box-shadow: var(--shadow-md);
}
.county-card strong { color: var(--tx1); font-weight: 600; font-size: .92rem; }
.county-card .cc-meta { font-size: .77rem; color: var(--tx2); text-align: right; white-space: nowrap; }

/* ═══════════════════════════════════════
   COUNTY DETAIL — HERO
   ═══════════════════════════════════════ */
.county-hero {
  background: var(--accent-h); color: #fff;
  padding: 32px 28px 28px; position: relative;
}
.county-hero::before {
  content: ''; position: absolute; inset: 0; opacity: .06;
  background: repeating-linear-gradient(0deg, transparent, transparent 32px, rgba(255,255,255,.15) 32px, rgba(255,255,255,.15) 33px);
}
.county-hero .container { position: relative; z-index: 1; }
.county-hero .breadcrumbs { padding-top: 0; }
.county-hero .breadcrumbs a { color: rgba(255,255,255,.7); }
.county-hero .breadcrumbs a:hover { color: #fff; }
.county-hero .breadcrumbs span { color: rgba(255,255,255,.5); }
.county-hero .breadcrumbs li::after { color: rgba(255,255,255,.35); }
.county-hero h1 {
  font-family: var(--ff); font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  font-weight: 400; margin-bottom: 6px; letter-spacing: -.2px;
}
.county-hero .ch-sub { opacity: .75; font-size: .92rem; }
.county-hero .ch-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.county-hero .ch-tag {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  border-radius: 4px; padding: 5px 14px; font-size: .78rem; font-weight: 500;
  letter-spacing: .2px;
}

/* ═══════════════════════════════════════
   COUNTY DETAIL — LAYOUT
   ═══════════════════════════════════════ */
.county-summary {
  font-size: .95rem; line-height: 1.8; color: var(--tx);
  background: var(--accent-l); border-left: 3px solid var(--accent);
  padding: 16px 20px; border-radius: 0 var(--r) var(--r) 0;
  margin-bottom: 28px;
}

.county-content { padding: 36px 0 72px; }
.county-grid { display: grid; grid-template-columns: 1fr 320px; gap: 28px; }
.county-main { min-width: 0; }
.county-sidebar { display: flex; flex-direction: column; gap: 20px; }

/* ═══════════════════════════════════════
   CONTENT SECTIONS
   ═══════════════════════════════════════ */
.c-section {
  background: var(--card); border: 1px solid var(--br); border-radius: 10px;
  padding: 28px; margin-bottom: 20px; box-shadow: var(--shadow-sm);
}
.c-section h2 {
  font-family: var(--ff); font-size: 1.2rem; font-weight: 400;
  color: var(--tx1); margin-bottom: 20px; display: flex; align-items: center; gap: 10px;
  padding-bottom: 14px; border-bottom: 1px solid var(--br); letter-spacing: -.1px;
}
.c-section h2 .icon { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }
.c-section h3 {
  font-family: var(--fb); font-size: .78rem; font-weight: 700;
  color: var(--tx1); margin: 24px 0 10px;
  text-transform: uppercase; letter-spacing: .5px;
}
.c-section p { margin-bottom: 12px; font-size: .9rem; line-height: 1.75; }

/* ═══════════════════════════════════════
   DATA TABLES
   ═══════════════════════════════════════ */
.data-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.data-table th {
  text-align: left; font-weight: 600; color: var(--tx2); font-size: .72rem;
  text-transform: uppercase; letter-spacing: .8px;
  padding: 10px 14px; border-bottom: 2px solid var(--br); background: var(--bg);
}
.data-table td {
  padding: 11px 14px; border-bottom: 1px solid var(--br); color: var(--tx1);
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tbody tr:nth-child(even) td { background: var(--bg); }
.data-table tbody tr:hover td { background: var(--accent-l); }
.data-table strong { font-weight: 600; color: var(--accent-h); }

/* ═══════════════════════════════════════
   SIDEBAR
   ═══════════════════════════════════════ */
.side-card {
  background: var(--card); border: 1px solid var(--br); border-radius: 10px;
  padding: 22px; box-shadow: var(--shadow-sm);
}
.side-card h3 {
  font-family: var(--ff); font-size: 1.05rem; font-weight: 400;
  color: var(--tx1); margin-bottom: 16px; padding-bottom: 10px;
  border-bottom: 1px solid var(--br);
}

/* CTA card */
.cta-card {
  background: var(--accent-h); color: #fff; border-radius: 10px;
  padding: 28px; text-align: center; position: relative; overflow: hidden;
}
.cta-card::before {
  content: ''; position: absolute; inset: 0; opacity: .06;
  background: repeating-linear-gradient(45deg, transparent, transparent 8px, rgba(255,255,255,.2) 8px, rgba(255,255,255,.2) 9px);
}
.cta-card h3 {
  color: #fff; font-family: var(--ff); font-size: 1.15rem; font-weight: 400;
  margin-bottom: 8px; border: none; padding: 0; position: relative;
}
.cta-card p { opacity: .85; font-size: .88rem; margin-bottom: 18px; position: relative; }
.cta-btn {
  display: inline-block; background: #fff; color: var(--accent-h) !important;
  font-weight: 700; padding: 11px 32px; border-radius: 6px;
  font-size: .88rem; transition: all .2s; position: relative;
  letter-spacing: .2px;
}
.cta-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); color: var(--accent-h) !important; }

/* ═══════════════════════════════════════
   LEAD FORM (County sidebar)
   ═══════════════════════════════════════ */
.lead-card .lead-form { position: relative; margin-top: 14px; }
.lf-input {
  display: block; width: 100%; padding: 10px 14px;
  border: 2px solid rgba(255,255,255,.25); border-radius: 6px;
  background: rgba(255,255,255,.12); color: #fff;
  font-family: var(--fb); font-size: .88rem; outline: none;
  margin-bottom: 10px; transition: border-color .2s, background .2s;
}
.lf-input::placeholder { color: rgba(255,255,255,.55); }
.lf-input:focus { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.18); }
.lf-textarea { resize: vertical; min-height: 60px; }
.lf-btn {
  width: 100%; padding: 12px; background: #fff; color: var(--accent-h);
  border: none; border-radius: 6px; font-weight: 700; font-size: .92rem;
  font-family: var(--fb); cursor: pointer; transition: all .2s;
}
.lf-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.lf-msg { margin-top: 8px; font-size: .82rem; text-align: center; min-height: 20px; }
.lf-success { color: #bbf7d0; }
.lf-error { color: #fca5a5; }

/* ═══════════════════════════════════════
   RATING BARS
   ═══════════════════════════════════════ */
.rating-bar { margin-bottom: 12px; }
.rating-bar .rb-label {
  display: flex; justify-content: space-between; font-size: .82rem;
  margin-bottom: 5px; font-weight: 500; color: var(--tx);
}
.rating-bar .rb-track {
  height: 10px; background: var(--bg2); border-radius: 5px; overflow: hidden;
}
.rating-bar .rb-fill { height: 100%; border-radius: 5px; }
.rb-fill.good { background: linear-gradient(90deg, #22c55e, #4ade80); }
.rb-fill.moderate { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.rb-fill.limited { background: linear-gradient(90deg, #dc2626, #ef4444); }

/* ═══════════════════════════════════════
   TAGS
   ═══════════════════════════════════════ */
.tag {
  display: inline-block; padding: 3px 10px; border-radius: 4px;
  font-size: .76rem; font-weight: 600; letter-spacing: .3px;
}
.tag-green { background: #dcfce7; color: #166534; }
.tag-yellow { background: #fef3c7; color: #854d0e; }
.tag-red { background: #fee2e2; color: #991b1b; }
.tag-blue { background: #dbeafe; color: #1e40af; }

/* ═══════════════════════════════════════
   SEO CONTENT
   ═══════════════════════════════════════ */
.seo-content { padding: 52px 0 72px; max-width: 720px; }
.seo-content h2 {
  font-family: var(--ff); font-size: 1.4rem; font-weight: 400;
  color: var(--tx1); margin-bottom: 16px; letter-spacing: -.2px;
}
.seo-content p { margin-bottom: 18px; font-size: .95rem; line-height: 1.85; color: var(--tx); }

/* ═══════════════════════════════════════
   FAQ
   ═══════════════════════════════════════ */
.faq { margin-top: 16px; }
.faq-item { border-bottom: 1px solid var(--br); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 8px; cursor: pointer; font-weight: 600; color: var(--tx1);
  font-size: .9rem; gap: 16px; line-height: 1.4; min-height: 48px;
}
.faq-q::after {
  content: '+'; font-size: 1.3rem; color: var(--accent); transition: transform .2s;
  flex-shrink: 0; width: 24px; text-align: center;
}
.faq-item.open .faq-q::after { content: '\2212'; }
.faq-a {
  display: none; padding: 0 0 18px; font-size: .88rem;
  line-height: 1.8; color: var(--tx);
}
.faq-item.open .faq-a { display: block; }

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
.site-footer {
  background: var(--tx1); color: #999; padding: 52px 0 36px; margin-top: 0;
}
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 48px; margin-bottom: 36px;
}
.footer-brand p { font-size: .86rem; margin-top: 14px; line-height: 1.7; color: #777; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-heading {
  font-family: var(--ff); font-weight: 400; color: #ddd;
  font-size: .92rem; margin-bottom: 6px;
}
.footer-links a { color: #888; font-size: .84rem; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px;
  font-size: .78rem; color: #666;
}
.footer-bottom p { margin-bottom: 4px; }
.site-footer .logo { color: #eee; font-size: 1.1rem; }
.site-footer .logo span { color: var(--accent-bright); }

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 900px) {
  .county-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }

  /* Homepage */
  .hero { min-height: auto; padding: 8rem 1.5rem 3rem; }
  .hero::before { font-size: 10rem; top: 5%; right: -5%; }
  .hero-split { grid-template-columns: 1fr; gap: 32px; }
  .hero-left { text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-search { margin-left: auto; margin-right: auto; }
  .hero-stats { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .hero-stat { padding: 14px 20px; }
  .hero-cta-card { max-width: 420px; margin: 0 auto; }
  .how-section { padding: 4rem 1.5rem; }
  .how-steps { grid-template-columns: 1fr; }
  .how-header { flex-direction: column; align-items: flex-start; }
  .top-section { padding: 0 1.5rem 4rem; }
  .top-states-grid { grid-template-columns: 1fr 1fr; }
  .allstates-section { padding: 0 1.5rem 4rem; }

  /* Inner pages */
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .counties-grid { grid-template-columns: 1fr; }
  .nav-desktop { display: none; }
  .hamburger { display: block; }
  .header-search { max-width: 200px; }
  .section-title { padding-top: 36px; font-size: 1.4rem; }
  .page-h1 { font-size: 1.6rem; }
  .info-grid { grid-template-columns: 1fr 1fr; }
  .c-section { padding: 22px; }
  .data-table { font-size: .82rem; }
  .data-table th, .data-table td { padding: 9px 10px; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .hero-stat { padding: 12px 16px; }
  .top-states-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
}
