/* ============================================
   PERMITPATH — styles.css
   Aesthetic: Editorial / Utilitarian Government
   Palette: Deep slate + amber accent + clean white
   Fonts: DM Serif Display (headings) + IBM Plex Sans (body)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@500&display=swap');

/* ── TOKENS ── */
:root {
  --slate-950: #0d1117;
  --slate-900: #161b22;
  --slate-800: #21262d;
  --slate-700: #30363d;
  --slate-500: #6e7681;
  --slate-300: #d0d7de;
  --slate-100: #f6f8fa;
  --white:      #ffffff;

  --amber-500:  #d97706;
  --amber-400:  #f59e0b;
  --amber-100:  #fef3c7;

  --ky-blue:    #1d4ed8;
  --ky-blue-lt: #dbeafe;
  --oh-red:     #b91c1c;
  --oh-red-lt:  #fee2e2;

  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body:    'IBM Plex Sans', system-ui, sans-serif;
  --font-mono:    'IBM Plex Mono', monospace;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,.15);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.18);

  --max-width: 1140px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--slate-900);
  background: var(--white);
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--ky-blue); text-decoration: none; }
a:hover { text-decoration: underline; }
address { font-style: normal; }

/* ── UTILITY ── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 20px;
}

/* ── HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--slate-950);
  border-bottom: 2px solid var(--amber-500);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 60px;
}
.logo img { height: 32px; width: auto; }

.main-nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.main-nav a {
  color: var(--slate-300);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: background .15s, color .15s;
}
.main-nav a:hover {
  background: var(--slate-800);
  color: var(--white);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--slate-300);
  border-radius: 2px;
  transition: transform .2s;
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(13,17,23,.92) 0%,
    rgba(13,17,23,.75) 55%,
    rgba(13,17,23,.45) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  padding-block: 60px;
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amber-400);
  margin-bottom: 12px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 16px;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--slate-300);
  margin-bottom: 28px;
  max-width: 520px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: .02em;
  cursor: pointer;
  transition: background .15s, transform .1s;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: var(--amber-500);
  color: var(--slate-950);
}
.btn-primary:hover { background: var(--amber-400); }
.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.4);
}
.btn-secondary:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-outline {
  background: transparent;
  color: var(--ky-blue);
  border: 1.5px solid var(--ky-blue);
  font-size: 0.875rem;
  padding: 8px 18px;
}
.btn-outline:hover { background: var(--ky-blue); color: var(--white); }

/* ── QUICK STRIP ── */
.quick-strip {
  background: var(--slate-900);
  border-bottom: 1px solid var(--slate-700);
  padding-block: 14px;
}
.quick-strip-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: center;
}
.qs-item {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.qs-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--slate-500);
}
.qs-value {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate-100);
}

/* ── SECTION STYLES ── */
.explainer { padding-block: 64px; }
.explainer > h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 12px;
  color: var(--slate-950);
}
.explainer > p {
  color: var(--slate-500);
  font-size: 1rem;
  max-width: 680px;
  margin-bottom: 36px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* ── EXPLAINER CARDS ── */
.explainer-card {
  background: var(--slate-100);
  border-radius: var(--radius-lg);
  padding: 28px;
  border-top: 4px solid transparent;
}
.explainer-card.ky { border-top-color: var(--ky-blue); }
.explainer-card.oh { border-top-color: var(--oh-red); }

.card-flag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: var(--slate-500);
}
.explainer-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--slate-950);
}
.explainer-card p {
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 14px;
  color: var(--slate-700);
}
.card-checklist {
  list-style: none;
  margin-bottom: 20px;
}
.card-checklist li {
  font-size: 0.875rem;
  padding: 5px 0 5px 22px;
  position: relative;
  color: var(--slate-700);
  border-bottom: 1px solid var(--slate-300);
}
.card-checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--amber-500);
  font-weight: 700;
}
.card-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ky-blue);
}

/* ── DIRECTORY SECTION ── */
.directory-section {
  padding-block: 64px;
}
.directory-section.alt-bg {
  background: var(--slate-100);
}
.section-header {
  margin-bottom: 36px;
}
.section-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.ky-badge { background: var(--ky-blue-lt); color: var(--ky-blue); }
.oh-badge { background: var(--oh-red-lt); color: var(--oh-red); }

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.875rem);
  color: var(--slate-950);
  margin-bottom: 8px;
}
.section-header p {
  font-size: 0.95rem;
  color: var(--slate-500);
  max-width: 640px;
}

/* ── DIRECTORY TABLE ── */
.directory-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-300);
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}
.directory-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  background: var(--white);
}
.directory-table thead {
  background: var(--slate-950);
  color: var(--slate-300);
}
.directory-table th {
  padding: 12px 16px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.directory-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--slate-300);
  color: var(--slate-700);
  vertical-align: middle;
}
.directory-table td strong { color: var(--slate-950); }
.directory-table tbody tr:last-child td { border-bottom: none; }
.directory-table tbody tr:hover { background: var(--slate-100); }
.directory-table a { font-weight: 600; }
.coming-soon {
  font-size: 0.78rem;
  color: var(--slate-500);
  font-style: italic;
}

.table-note {
  background: var(--amber-100);
  border-left: 3px solid var(--amber-500);
  padding: 12px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.875rem;
  color: var(--slate-800);
  margin-bottom: 40px;
}

/* ── LOCATION SPOTLIGHT ── */
.location-spotlight {
  background: var(--white);
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.alt-bg .location-spotlight { background: var(--white); }

.location-spotlight h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--slate-950);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--slate-300);
}
.spotlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 24px;
}
.spotlight-info h4,
.spotlight-rates h4 {
  font-size: 0.8rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--slate-500);
  margin-bottom: 12px;
}
.spotlight-info address {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 10px;
  color: var(--slate-700);
}
.spotlight-info p {
  font-size: 0.875rem;
  color: var(--slate-700);
  margin-bottom: 4px;
}

.mini-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}
.mini-table tr { border-bottom: 1px solid var(--slate-300); }
.mini-table tr:last-child { border-bottom: none; }
.mini-table td {
  padding: 7px 0;
  color: var(--slate-700);
}
.mini-table td:last-child {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--slate-950);
}

.spotlight-notes {
  background: var(--slate-100);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 20px;
}
.spotlight-notes h4 {
  font-size: 0.8rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--slate-500);
  margin-bottom: 12px;
}
.spotlight-notes ul {
  list-style: none;
}
.spotlight-notes li {
  font-size: 0.875rem;
  color: var(--slate-700);
  padding: 6px 0 6px 18px;
  position: relative;
  border-bottom: 1px solid var(--slate-300);
  line-height: 1.55;
}
.spotlight-notes li:last-child { border-bottom: none; }
.spotlight-notes li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--amber-500);
  font-size: 0.75rem;
  top: 8px;
}

/* ── HOW TO FILE ── */
.how-to-section {
  padding-block: 64px;
  background: var(--slate-950);
}
.how-to-section .section-header h2 {
  color: var(--white);
}
.how-to-section .section-header p {
  color: var(--slate-500);
}

.steps-card {
  background: var(--slate-900);
  border: 1px solid var(--slate-700);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.steps-header {
  padding: 14px 24px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.ky-header { background: var(--ky-blue); color: var(--white); }
.oh-header { background: var(--oh-red); color: var(--white); }

.steps-list {
  list-style: none;
  counter-reset: steps;
  padding: 20px 24px;
}
.steps-list li {
  counter-increment: steps;
  padding: 12px 0 12px 44px;
  position: relative;
  font-size: 0.875rem;
  color: var(--slate-300);
  border-bottom: 1px solid var(--slate-700);
  line-height: 1.6;
}
.steps-list li:last-child { border-bottom: none; }
.steps-list li::before {
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 12px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--amber-500);
  color: var(--slate-950);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.steps-list li strong { color: var(--white); }

/* ── FAQ ── */
.faq-section { padding-block: 64px; background: var(--white); }
.faq-section .section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.875rem);
  color: var(--slate-950);
  margin-bottom: 36px;
}
.faq-list { max-width: 800px; }
.faq-item {
  border-bottom: 1px solid var(--slate-300);
}
.faq-item summary {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--slate-950);
  padding: 18px 36px 18px 0;
  cursor: pointer;
  position: relative;
  list-style: none;
  line-height: 1.45;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: var(--amber-500);
  font-weight: 400;
  line-height: 1;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p {
  font-size: 0.9rem;
  color: var(--slate-700);
  line-height: 1.7;
  padding-bottom: 18px;
}

/* ── CTA SECTION ── */
.cta-section {
  padding-block: 64px;
  background: var(--slate-100);
  border-top: 1px solid var(--slate-300);
}
.cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.875rem);
  color: var(--slate-950);
  margin-bottom: 8px;
}
.cta-inner p {
  color: var(--slate-500);
  font-size: 0.95rem;
  margin-bottom: 32px;
}
.cta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 12px;
}
.cta-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1.5px solid var(--slate-300);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  text-decoration: none;
  transition: border-color .15s, box-shadow .15s, transform .1s;
}
.cta-card:hover {
  border-color: var(--amber-500);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  text-decoration: none;
}
.cta-state {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-bottom: 4px;
}
.cta-city {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--slate-950);
  margin-bottom: 2px;
}
.cta-county {
  font-size: 0.78rem;
  color: var(--slate-500);
}

/* ── FOOTER ── */
.site-footer {
  background: var(--slate-950);
  padding-top: 48px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
}
.footer-brand img { margin-bottom: 12px; opacity: .9; }
.footer-brand p {
  font-size: 0.82rem;
  color: var(--slate-500);
  line-height: 1.6;
  max-width: 320px;
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-col strong {
  font-size: 0.78rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--slate-500);
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 0.85rem;
  color: var(--slate-300);
  transition: color .15s;
}
.footer-col a:hover { color: var(--white); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid var(--slate-800);
  padding-block: 16px;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: var(--slate-500);
  text-align: center;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; }
  .spotlight-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .main-nav { display: none; }
  .main-nav.nav-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--slate-900);
    padding: 12px;
    border-bottom: 1px solid var(--slate-700);
    z-index: 99;
  }
  .nav-toggle { display: flex; }
  .header-inner { position: relative; }

  .hero { min-height: 360px; }
  .hero-content { padding-block: 40px; }

  .quick-strip-inner { gap: 12px; }
  .qs-item { min-width: 140px; }

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

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