/* =============================================
   RegReady — styles.css
   Mobile-first, single stylesheet, no framework
   ============================================= */

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:       #1a3a5c;
  --blue-mid:   #2457a0;
  --blue-light: #e8f0fb;
  --ky-red:     #c0392b;
  --ky-light:   #fdf0ee;
  --oh-scarlet: #bb0000;
  --oh-light:   #fff0f0;
  --gray-dark:  #1e2533;
  --gray-mid:   #4a5568;
  --gray-light: #f4f6f9;
  --border:     #dce3ed;
  --white:      #ffffff;
  --green:      #1a7a45;
  --warn:       #7a4a00;
  --warn-bg:    #fff8e6;
  --radius:     8px;
  --shadow:     0 2px 12px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 24px rgba(0,0,0,0.12);
  --font:       'Segoe UI', system-ui, -apple-system, sans-serif;
  --max-width:  1160px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray-dark);
  background: var(--white);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

img { max-width: 100%; height: auto; display: block; }
address { font-style: normal; }
a { color: var(--blue-mid); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }

/* --- TYPOGRAPHY --- */
h1 { font-size: clamp(1.75rem, 4vw, 2.6rem); font-weight: 800; line-height: 1.2; color: var(--gray-dark); }
h2 { font-size: clamp(1.35rem, 3vw, 1.9rem); font-weight: 700; line-height: 1.3; color: var(--blue); }
h3 { font-size: 1.15rem; font-weight: 700; color: var(--gray-dark); }
h4 { font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gray-mid); margin-bottom: 8px; }
p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  padding: 11px 22px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.1s;
  text-decoration: none;
  border: 2px solid transparent;
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); text-decoration: none; }
.btn-primary   { background: var(--blue-mid); color: var(--white); }
.btn-secondary { background: var(--white); color: var(--blue-mid); border-color: var(--blue-mid); }
.btn-outline   { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-sm        { padding: 7px 14px; font-size: 0.85rem; }
.btn-ky        { background: var(--ky-red); color: var(--white); }
.btn-oh        { background: var(--oh-scarlet); color: var(--white); }

/* --- SITE HEADER --- */
.site-header {
  background: var(--blue);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo img { height: 36px; width: auto; }
.main-nav { display: flex; gap: 6px; flex-wrap: wrap; }
.main-nav a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 5px;
  transition: background 0.15s;
}
.main-nav a:hover { background: rgba(255,255,255,0.15); color: var(--white); text-decoration: none; }

/* --- HERO --- */
.hero {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%);
  color: var(--white);
  padding: 60px 0 50px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}
@media (min-width: 768px) {
  .hero-grid { grid-template-columns: 1fr 1fr; }
}
.hero-label {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 14px;
}
.hero h1 { color: var(--white); margin-bottom: 16px; }
.hero-sub { color: rgba(255,255,255,0.85); font-size: 1.05rem; margin-bottom: 28px; }
.hero-cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-image img {
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  width: 100%;
  object-fit: cover;
}

/* --- COMPARE BANNER --- */
.compare-banner {
  background: var(--gray-light);
  padding: 56px 0;
}
.compare-banner h2 { text-align: center; margin-bottom: 10px; }
.section-intro { text-align: center; color: var(--gray-mid); max-width: 640px; margin: 0 auto 36px; }
.compare-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 640px) {
  .compare-grid { grid-template-columns: 1fr 1fr; }
}
.compare-card {
  background: var(--white);
  border-radius: 12px;
  padding: 28px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--ky-red);
}
.compare-card.oh { border-top-color: var(--oh-scarlet); }
.compare-state-badge {
  display: inline-block;
  background: var(--ky-light);
  color: var(--ky-red);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.oh-badge { background: var(--oh-light); color: var(--oh-scarlet); }
.compare-card h3 { margin-bottom: 14px; }
.compare-card ul { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.compare-card li {
  padding-left: 18px;
  position: relative;
  font-size: 0.93rem;
  color: var(--gray-mid);
}
.compare-card li::before { content: "•"; position: absolute; left: 0; color: var(--blue-mid); }

/* --- COUNTY SECTIONS --- */
.county-section { padding: 64px 0; }
.ohio-bg { background: var(--gray-light); }
.section-header { margin-bottom: 40px; }
.section-header h2 { margin: 8px 0 10px; }
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 4px;
}
.ky-tag { background: var(--ky-light); color: var(--ky-red); }
.oh-tag { background: var(--oh-light); color: var(--oh-scarlet); }
.county-section .section-intro { text-align: left; margin: 0; max-width: none; }

.county-cards { display: flex; flex-direction: column; gap: 28px; margin-bottom: 36px; }
@media (min-width: 900px) {
  .county-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
}

.county-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.county-card-header {
  background: var(--blue-light);
  padding: 18px 22px 14px;
  border-bottom: 1px solid var(--border);
}
.county-card-header h3 { font-size: 1.1rem; margin-bottom: 4px; }
.county-card-header h3 a { color: var(--blue); }
.county-card-header h3 a:hover { color: var(--blue-mid); }
.county-pop { font-size: 0.82rem; color: var(--gray-mid); }

.county-card-body { padding: 20px 22px; flex: 1; display: flex; flex-direction: column; gap: 20px; }

.office-block address { font-size: 0.9rem; color: var(--gray-mid); line-height: 1.5; margin-bottom: 10px; }
.office-block address a { color: var(--blue-mid); }

.hours-table, .fee-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.hours-table th, .hours-table td,
.fee-table th, .fee-table td {
  padding: 6px 10px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.hours-table th { background: var(--gray-light); font-weight: 700; font-size: 0.8rem; color: var(--gray-mid); }
.fee-table td:last-child { text-align: right; font-weight: 600; color: var(--blue); }
.fee-table tr:last-child td { border-bottom: none; }

.local-notes ul { display: flex; flex-direction: column; gap: 7px; }
.local-notes li {
  font-size: 0.88rem;
  color: var(--gray-mid);
  padding-left: 16px;
  position: relative;
}
.local-notes li::before { content: "›"; position: absolute; left: 0; color: var(--blue-mid); font-weight: 700; }

.county-card-link {
  display: block;
  padding: 14px 22px;
  background: var(--blue-light);
  color: var(--blue-mid);
  font-weight: 700;
  font-size: 0.9rem;
  border-top: 1px solid var(--border);
  transition: background 0.15s;
}
.county-card-link:hover { background: var(--blue-mid); color: var(--white); text-decoration: none; }

/* ALERT BOX */
.alert-box {
  background: var(--warn-bg);
  border: 1px solid #f0c040;
  border-left: 4px solid #e6a800;
  border-radius: 6px;
  padding: 14px 16px;
  font-size: 0.9rem;
}
.alert-box strong { color: var(--warn); display: block; margin-bottom: 6px; }
.alert-box p { margin: 0; color: var(--warn); }

/* ONLINE BOXES */
.online-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 32px;
  box-shadow: var(--shadow);
}
.online-box h3 { margin-bottom: 12px; }
.online-box ol { padding-left: 20px; margin-bottom: 14px; font-size: 0.93rem; color: var(--gray-mid); }
.online-box ol li { margin-bottom: 6px; }
.online-box p { font-size: 0.93rem; color: var(--gray-mid); }

/* --- CHECKLIST SECTION --- */
.checklist-section { padding: 56px 0; background: var(--white); }
.checklist-section h2 { margin-bottom: 32px; }
.checklist-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 640px) {
  .checklist-grid { grid-template-columns: 1fr 1fr; }
}
.checklist-card {
  background: var(--gray-light);
  border-radius: 10px;
  padding: 24px;
  border: 1px solid var(--border);
}
.checklist-card h3 { margin-bottom: 14px; font-size: 1rem; }
.checklist { display: flex; flex-direction: column; gap: 9px; margin-bottom: 14px; }
.checklist li {
  padding-left: 24px;
  position: relative;
  font-size: 0.9rem;
  color: var(--gray-mid);
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}
.checklist-note { font-size: 0.82rem; color: var(--gray-mid); font-style: italic; margin: 0; }

/* --- FAQ SECTION --- */
.faq-section { padding: 56px 0; background: var(--gray-light); }
.faq-section h2 { margin-bottom: 32px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 800px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.faq-item summary {
  padding: 16px 20px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--blue);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.3rem; font-weight: 400; color: var(--blue-mid); flex-shrink: 0; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding: 0 20px 16px; font-size: 0.9rem; color: var(--gray-mid); }

/* --- LOCATIONS NAV SECTION --- */
.locations-nav-section { padding: 56px 0; background: var(--blue); color: var(--white); }
.locations-nav-section h2 { color: var(--white); margin-bottom: 28px; }
.locations-nav-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
@media (max-width: 500px) {
  .locations-nav-grid { grid-template-columns: 1fr; }
}
.locations-nav-section h3 { color: rgba(255,255,255,0.6); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }
.locations-nav-section ul { display: flex; flex-direction: column; gap: 8px; }
.locations-nav-section li { font-size: 0.93rem; }
.locations-nav-section a { color: rgba(255,255,255,0.9); }
.locations-nav-section a:hover { color: var(--white); text-decoration: underline; }
.coming-soon {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5);
  font-size: 0.72rem;
  padding: 1px 6px;
  border-radius: 3px;
  margin-left: 6px;
  font-style: italic;
}

/* --- SITE FOOTER --- */
.site-footer {
  background: var(--gray-dark);
  color: rgba(255,255,255,0.65);
  padding: 40px 0;
}
.footer-inner { display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 640px) {
  .footer-inner { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 32px; }
}
.footer-brand { flex: 1; min-width: 200px; }
.footer-brand img { margin-bottom: 10px; opacity: 0.8; }
.footer-brand p { font-size: 0.85rem; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: rgba(255,255,255,0.7); font-size: 0.88rem; }
.footer-links a:hover { color: var(--white); }
.footer-legal { width: 100%; font-size: 0.78rem; color: rgba(255,255,255,0.4); border-top: 1px solid rgba(255,255,255,0.1); padding-top: 16px; }

/* --- RESPONSIVE CLEANUP --- */
@media (max-width: 480px) {
  .hero { padding: 40px 0 36px; }
  .county-section, .faq-section, .checklist-section { padding: 44px 0; }
  .hero-cta-row { flex-direction: column; }
  .btn { width: 100%; text-align: center; }
  .main-nav { display: none; }
}

/* =============================================
   LOCATION DETAIL PAGES
   ============================================= */

/* PAGE HERO */
.page-hero {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%);
  color: var(--white);
  padding: 40px 0 36px;
}
.breadcrumb { font-size: 0.82rem; color: rgba(255,255,255,0.6); margin-bottom: 12px; }
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: var(--white); }
.page-hero h1 { color: var(--white); margin: 8px 0 12px; }
.page-hero-sub { color: rgba(255,255,255,0.85); font-size: 1rem; max-width: 680px; margin: 0; }

/* LOCATION GRID */
.location-detail { padding: 48px 0 64px; }
.location-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 900px) {
  .location-grid { grid-template-columns: 1fr 300px; }
}

/* QUICK FACTS BAR */
.quick-facts-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}
@media (min-width: 600px) {
  .quick-facts-bar { grid-template-columns: repeat(4, 1fr); }
}
.quick-fact {
  background: var(--blue-light);
  border-radius: 8px;
  padding: 12px 14px;
  border: 1px solid var(--border);
}
.qf-label { display: block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gray-mid); margin-bottom: 4px; }
.qf-value { display: block; font-size: 0.92rem; font-weight: 700; color: var(--blue); }

/* LOCATION MAIN HEADINGS */
.location-main h2 { margin: 32px 0 16px; padding-top: 8px; border-top: 2px solid var(--border); }
.location-main h2:first-of-type { border-top: none; margin-top: 0; }

/* OFFICE DETAIL CARDS */
.office-detail-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}
.office-detail-header {
  background: var(--blue-light);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--border);
}
.office-detail-header h3 { font-size: 1rem; margin: 0; }
.office-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--blue);
  color: var(--white);
  white-space: nowrap;
}
.branch-badge { background: var(--gray-mid); }
.office-detail-body {
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 600px) {
  .office-detail-body { grid-template-columns: 1fr 1fr; }
}
.office-info-col address { color: var(--gray-mid); font-size: 0.9rem; line-height: 1.6; margin-bottom: 14px; }
.office-info-col address a { color: var(--blue-mid); }

/* FULL FEE TABLE */
.full-fee-table { margin-bottom: 28px; }
.full-fee-table thead th { background: var(--blue); color: var(--white); padding: 10px 12px; font-size: 0.82rem; }
.full-fee-table tbody tr:nth-child(even) { background: var(--gray-light); }
.full-fee-table td { padding: 9px 12px; font-size: 0.88rem; color: var(--gray-mid); border-bottom: 1px solid var(--border); }
.full-fee-table td:nth-child(2) { font-weight: 700; color: var(--blue); white-space: nowrap; }
.full-fee-table td:nth-child(3) { font-size: 0.82rem; }

/* METHOD CARDS */
.method-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 32px;
}
@media (min-width: 600px) {
  .method-cards { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
}
.method-card {
  background: var(--gray-light);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
}
.method-icon { font-size: 1.8rem; margin-bottom: 10px; }
.method-card h3 { font-size: 0.95rem; margin-bottom: 12px; color: var(--blue); }
.steps { padding-left: 18px; margin-bottom: 12px; }
.steps li { font-size: 0.88rem; color: var(--gray-mid); margin-bottom: 6px; }
.method-note { font-size: 0.8rem; color: var(--gray-mid); font-style: italic; margin: 0; }

/* TIP LIST */
.tip-list { display: flex; flex-direction: column; gap: 8px; }
.tip-list li {
  font-size: 0.88rem;
  color: var(--gray-mid);
  padding-left: 16px;
  position: relative;
}
.tip-list li::before { content: "›"; position: absolute; left: 0; color: var(--blue-mid); font-weight: 700; }

/* INFO BOX */
.info-box {
  background: var(--blue-light);
  border: 1px solid var(--border);
  border-left: 4px solid var(--blue-mid);
  border-radius: 8px;
  padding: 18px 20px;
  margin-bottom: 24px;
}
.info-box h3 { font-size: 0.95rem; margin-bottom: 12px; color: var(--blue); }

/* SIDEBAR */
.location-sidebar { display: flex; flex-direction: column; gap: 16px; }
.sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 20px;
  box-shadow: var(--shadow);
}
.sidebar-card h3 { font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gray-mid); margin-bottom: 12px; }
.sidebar-card p { font-size: 0.88rem; color: var(--gray-mid); margin-bottom: 6px; }
.sidebar-links { display: flex; flex-direction: column; gap: 8px; }
.sidebar-links li { font-size: 0.9rem; }
.sidebar-links a { color: var(--blue-mid); }
.sidebar-links small { color: var(--gray-mid); font-size: 0.78rem; }
