/* ============================================
   SmallClaimsLocal — styles.css
   DM Serif Display + DM Sans | Legal/civic utility
   ============================================ */

:root {
  --navy:       #1a2744;
  --navy-deep:  #0f1a30;
  --navy-mid:   #243358;
  --gold:       #c8992a;
  --gold-light: #e8b94a;
  --cream:      #faf8f3;
  --offwhite:   #f4f1eb;
  --text:       #1e1e2e;
  --text-mid:   #444460;
  --text-light: #6b6b88;
  --border:     #ddd8cc;
  --ky-blue:    #003087;
  --ky-bg:      #eef2f9;
  --oh-red:     #bb1c2b;
  --oh-bg:      #fdf0f1;
  --white:      #ffffff;
  --radius:     6px;
  --radius-lg:  12px;
  --shadow:     0 2px 12px rgba(26,39,68,0.10);
  --shadow-lg:  0 6px 28px rgba(26,39,68,0.14);
  --font-serif: 'DM Serif Display', Georgia, serif;
  --font-sans:  'DM Sans', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold); }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   HEADER
   ============================================ */

.site-header {
  background: var(--navy-deep);
  border-bottom: 3px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 24px;
}

.logo img { height: 36px; width: auto; }

.main-nav {
  display: flex;
  gap: 8px;
  align-items: center;
}

.main-nav a {
  color: rgba(255,255,255,0.8);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
}

.main-nav a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: 0.3s;
}

/* ============================================
   HERO
   ============================================ */

.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10,18,40,0.92) 0%, rgba(10,18,40,0.75) 55%, rgba(10,18,40,0.40) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding-top: 60px;
  padding-bottom: 60px;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.82);
  margin-bottom: 32px;
  max-width: 560px;
  line-height: 1.65;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-deep);
}

.btn-primary:hover {
  background: var(--gold-light);
  color: var(--navy-deep);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(200,153,42,0.4);
}

.btn-outline {
  border: 2px solid rgba(255,255,255,0.5);
  color: var(--white);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
  color: var(--white);
}

/* ============================================
   COMPARISON BANNER
   ============================================ */

.comparison-banner {
  background: var(--offwhite);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 56px 0;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 24px;
  text-align: center;
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: start;
}

.compare-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}

.compare-ky { border-top: 4px solid var(--ky-blue); }
.compare-oh { border-top: 4px solid var(--oh-red); }

.compare-state {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  margin-bottom: 16px;
  color: var(--navy);
}

.compare-ky .compare-state { color: var(--ky-blue); }
.compare-oh .compare-state { color: var(--oh-red); }

.compare-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.compare-list li {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text);
  display: flex;
  gap: 8px;
  align-items: baseline;
}

.compare-list .label {
  font-weight: 600;
  min-width: 80px;
  color: var(--text-mid);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.compare-divider {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--text-light);
  align-self: center;
  text-align: center;
  padding-top: 32px;
}

.compare-note {
  margin-top: 28px;
  background: #fff8e7;
  border: 1px solid #f0d88a;
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #5a4a1a;
}

/* ============================================
   COUNTY SECTIONS
   ============================================ */

.county-section {
  padding: 64px 0;
}

.county-section-oh {
  background: var(--cream);
}

.section-header {
  margin-bottom: 40px;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  color: var(--navy);
  margin-bottom: 10px;
}

.section-intro {
  font-size: 1rem;
  color: var(--text-mid);
  max-width: 680px;
  line-height: 1.65;
}

.county-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.county-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid var(--border);
  transition: box-shadow 0.2s, transform 0.2s;
}

.county-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.county-card.tier-1 { border-top: 3px solid var(--gold); }
.county-card.tier-2 { border-top: 3px solid var(--border); }

.county-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.county-card-header h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--navy);
}

.county-card-header h3 a {
  color: var(--navy);
}

.county-card-header h3 a:hover {
  color: var(--gold);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.badge-ky { background: var(--ky-bg); color: var(--ky-blue); }
.badge-oh { background: var(--oh-bg); color: var(--oh-red); }
.badge.sm { font-size: 0.65rem; padding: 2px 8px; }

.county-meta {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.meta-row {
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--text);
  display: flex;
  gap: 8px;
  align-items: baseline;
}

.meta-label {
  font-weight: 600;
  min-width: 72px;
  color: var(--text-mid);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.county-note {
  background: var(--offwhite);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--text-mid);
  border-left: 3px solid var(--gold);
}

.county-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  margin-top: auto;
}

.county-link:hover { color: var(--gold); }

/* ============================================
   HOW IT WORKS
   ============================================ */

.how-section {
  padding: 64px 0;
  background: var(--navy-deep);
}

.how-section .section-header h2 {
  color: var(--white);
}

.how-section .section-intro {
  color: rgba(255,255,255,0.7);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.step {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.step-num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 12px;
  opacity: 0.8;
}

.step h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}

.step p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.68);
  line-height: 1.6;
}

.checklist-box {
  background: rgba(200,153,42,0.1);
  border: 1px solid rgba(200,153,42,0.25);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  max-width: 760px;
}

.checklist-box h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--gold-light);
  margin-bottom: 16px;
}

.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checklist li {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.82);
  padding-left: 24px;
  position: relative;
  line-height: 1.5;
}

.checklist li::before {
  content: '☐';
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* ============================================
   FAQ
   ============================================ */

.faq-section {
  padding: 64px 0;
  background: var(--offwhite);
}

.faq-section .section-header h2 {
  color: var(--navy);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item summary {
  font-weight: 600;
  font-size: 0.925rem;
  padding: 16px 20px;
  cursor: pointer;
  color: var(--navy);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  line-height: 1.4;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 20px 16px;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-mid);
  border-top: 1px solid var(--offwhite);
}

/* ============================================
   FEE TABLE
   ============================================ */

.fee-section {
  padding: 64px 0;
}

.fee-section .section-header h2 { color: var(--navy); }
.fee-section .section-intro { color: var(--text-mid); }

.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  margin-bottom: 12px;
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  background: var(--white);
}

.fee-table thead {
  background: var(--navy);
  color: var(--white);
}

.fee-table th {
  padding: 14px 18px;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: left;
  white-space: nowrap;
}

.fee-table td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: middle;
}

.fee-table tr:last-child td { border-bottom: none; }

.fee-table tbody tr:hover { background: var(--offwhite); }

.fee-table tr.oh-row td:first-child { border-left: 3px solid var(--oh-red); }

.fee-table td a {
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--navy);
}

.fee-table td a:hover { color: var(--gold); }

.table-note {
  font-size: 0.8rem;
  color: var(--text-light);
  font-style: italic;
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  background: var(--navy-deep);
  border-top: 3px solid var(--gold);
  padding-top: 56px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  margin-top: 14px;
  line-height: 1.6;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
  padding: 20px 0;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
  margin-bottom: 4px;
}

.footer-bottom a {
  color: rgba(255,255,255,0.55);
  text-decoration: underline;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 900px) {
  .compare-grid {
    grid-template-columns: 1fr;
  }

  .compare-divider { display: none; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-nav {
    grid-template-columns: repeat(2, 1fr);
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--navy-deep);
    flex-direction: column;
    padding: 16px 24px 24px;
    border-bottom: 2px solid var(--gold);
    gap: 4px;
  }

  .main-nav.nav-open { display: flex; }

  .nav-toggle { display: flex; }

  .county-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    grid-template-columns: 1fr;
  }

  .hero { min-height: 420px; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .btn { justify-content: center; }
  .checklist-box { padding: 20px; }
}
