/* ============================================
   MobileHomeTitleKY — styles.css
   Aesthetic: Editorial warmth / civic authority
   Fonts: Playfair Display + Source Serif 4
   ============================================ */

:root {
  --navy: #1a2744;
  --navy-mid: #243358;
  --teal: #2a7d6f;
  --teal-light: #3a9d8f;
  --amber: #c8832a;
  --amber-light: #e8a84a;
  --cream: #f7f3ed;
  --cream-dark: #ede7dd;
  --warm-gray: #8a8278;
  --text-dark: #1e1a16;
  --text-body: #3d3830;
  --text-light: #6b6258;
  --white: #ffffff;
  --border: #d8d0c4;
  --shadow: 0 2px 12px rgba(26,39,68,0.10);
  --shadow-md: 0 6px 24px rgba(26,39,68,0.14);
  --radius: 6px;
  --radius-lg: 12px;
}

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

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

body {
  font-family: 'Source Serif 4', Georgia, serif;
  color: var(--text-body);
  background: var(--white);
  line-height: 1.7;
}

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

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-light); text-decoration: underline; }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--navy);
  line-height: 1.2;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); font-weight: 700; margin-bottom: 0.5em; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); font-weight: 700; margin-bottom: 0.4em; }
h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4em; }
p { margin-bottom: 1em; }

.section-sub {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 720px;
  margin-bottom: 2rem;
  font-style: italic;
}
.section-header { margin-bottom: 2.5rem; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-family: 'Source Serif 4', serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
  text-decoration: none;
}
.btn-primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn-primary:hover {
  background: var(--teal-light);
  border-color: var(--teal-light);
  color: var(--white);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  text-decoration: none;
}

/* ---- HEADER ---- */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(0,0,0,0.25);
}
.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 66px;
}
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-img { width: 44px; height: 44px; border-radius: 8px; background: var(--teal); }
.logo-text { display: flex; flex-direction: column; }
.logo-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  line-height: 1.1;
}
.logo-tagline {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.main-nav a {
  color: rgba(255,255,255,0.8);
  padding: 6px 12px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.15s;
  white-space: nowrap;
}
.main-nav a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.1);
  text-decoration: none;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 4px 8px;
}

/* ---- 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;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(26,39,68,0.88) 0%, rgba(26,39,68,0.65) 60%, rgba(42,125,111,0.4) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  margin: 0 auto;
  padding: 80px 24px;
  max-width: 700px;
}
.hero-badge {
  display: inline-block;
  background: var(--amber);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.hero-sub {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  margin-bottom: 32px;
  line-height: 1.7;
}
.hero-cta-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---- ALERT BAND ---- */
.alert-band {
  background: #fef3cd;
  border-bottom: 2px solid var(--amber);
  padding: 14px 0;
}
.alert-band .container {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: #5c3d00;
  line-height: 1.5;
}
.alert-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ---- QUICK LOOKUP ---- */
.quick-lookup {
  background: var(--cream);
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}
.quick-lookup h2 { margin-bottom: 0.3em; }
.county-grid-quick {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}
.county-card-quick {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all 0.2s;
  text-decoration: none;
}
.county-card-quick:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  text-decoration: none;
}
.county-card-quick.featured {
  border-color: var(--teal);
  background: linear-gradient(135deg, #f0f9f7 0%, var(--white) 100%);
}
.county-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
}
.county-city {
  font-size: 0.85rem;
  color: var(--text-light);
}
.county-note {
  font-size: 0.78rem;
  color: var(--teal);
  font-weight: 600;
  margin-top: 4px;
}
.see-all-note {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0;
}

/* ---- HOW IT WORKS ---- */
.how-it-works {
  padding: 80px 0;
  background: var(--white);
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}
.process-step {
  padding: 28px;
  background: var(--cream);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--teal);
  position: relative;
}
.step-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 900;
  color: var(--teal);
  opacity: 0.2;
  position: absolute;
  top: 12px;
  right: 20px;
  line-height: 1;
}
.process-step h3 { color: var(--navy); margin-bottom: 10px; }
.process-step p { font-size: 0.95rem; color: var(--text-body); }
.step-detail {
  margin-top: 14px;
  padding: 12px 16px;
  background: rgba(42,125,111,0.08);
  border-radius: var(--radius);
  border-left: 3px solid var(--teal);
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* ---- DOCUMENTS ---- */
.documents {
  padding: 80px 0;
  background: var(--cream);
}
.docs-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}
.checklist-group {
  margin-bottom: 32px;
}
.checklist-group h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}
.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.checklist li {
  display: flex;
  gap: 10px;
  font-size: 0.95rem;
  line-height: 1.5;
  padding: 10px 12px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.check-icon {
  flex-shrink: 0;
  font-size: 1rem;
  color: var(--teal);
  margin-top: 1px;
}

/* ---- SIDEBAR CARDS ---- */
.docs-sidebar { display: flex; flex-direction: column; gap: 20px; }
.sidebar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px;
  border: 1px solid var(--border);
  font-size: 0.88rem;
}
.sidebar-card h4 { font-size: 0.95rem; margin-bottom: 10px; }
.sidebar-card ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.sidebar-card ul li {
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}
.sidebar-card ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-size: 0.8rem;
}
.warning-card { border-left: 4px solid #d97706; }
.warning-card h4 { color: #92400e; }
.tip-card { border-left: 4px solid var(--teal); }
.info-card { border-left: 4px solid var(--navy); }

.fee-table-mini { width: 100%; border-collapse: collapse; margin-top: 8px; }
.fee-table-mini tr { border-bottom: 1px solid var(--border); }
.fee-table-mini td { padding: 6px 4px; font-size: 0.85rem; }
.fee-table-mini td:last-child { text-align: right; font-weight: 600; color: var(--navy); }
.fee-note { font-size: 0.78rem; color: var(--text-light); margin-top: 8px; margin-bottom: 0; }

/* ---- COUNTY OFFICES ---- */
.county-offices {
  padding: 80px 0;
  background: var(--white);
}
.region-label {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--amber);
  margin: 40px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--amber);
}
.region-label:first-of-type { margin-top: 0; }
.office-list { display: flex; flex-direction: column; gap: 16px; }
.office-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.office-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.office-name {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 2px;
}
.office-name a { color: var(--navy); }
.office-name a:hover { color: var(--teal); }
.office-location { font-size: 0.85rem; color: var(--text-light); }
.office-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--teal);
  background: rgba(42,125,111,0.1);
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}
.office-body {
  padding: 16px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.office-detail {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.5;
}
.office-detail strong { color: var(--navy); }

.county-note-box {
  margin-top: 32px;
  padding: 20px 24px;
  background: var(--cream);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  font-size: 0.92rem;
}
.county-note-box p { margin-bottom: 0; }

/* ---- CALCULATOR ---- */
.calculator {
  padding: 80px 0;
  background: var(--navy);
  color: var(--white);
}
.calculator h2 { color: var(--white); }
.calculator p { color: rgba(255,255,255,0.8); }
.calc-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}
.calc-widget {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-top: 24px;
}
.calc-field {
  margin-bottom: 20px;
}
.calc-field label {
  display: block;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 6px;
  font-weight: 600;
}
.calc-field input[type="number"],
.calc-field select {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.1);
  color: var(--white);
  font-family: 'Source Serif 4', serif;
  font-size: 1rem;
}
.calc-field input[type="number"]::placeholder { color: rgba(255,255,255,0.4); }
.calc-field select option { background: var(--navy-mid); color: var(--white); }
.calc-field input[type="checkbox"] {
  margin-right: 8px;
  accent-color: var(--teal);
}
.calc-btn { margin-top: 8px; width: 100%; text-align: center; }
.calc-result {
  margin-top: 24px;
  padding: 20px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.2);
}
.calc-result h4 { color: var(--white); margin-bottom: 12px; font-size: 0.95rem; }
.fee-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
}
.total-row {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
  border-bottom: none;
  margin-top: 4px;
  padding-top: 12px;
}
.calc-disclaimer {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  margin-top: 12px;
  margin-bottom: 0;
  font-style: italic;
}
.calc-sidebar .sidebar-card {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.85);
}
.calc-sidebar .sidebar-card h4 { color: var(--white); }
.calc-sidebar .sidebar-card p { color: rgba(255,255,255,0.75); }
.calc-sidebar .sidebar-card ul li::before { color: var(--teal-light); }
.calc-sidebar .sidebar-card ul li { color: rgba(255,255,255,0.8); }

/* ---- AFFIXATION ---- */
.affixation {
  padding: 80px 0;
  background: var(--cream);
}
.affixation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}
.affixation-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.affixation-card h3 { color: var(--navy); margin-bottom: 12px; }
.affixation-card ul {
  list-style: none;
  margin: 12px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.affixation-card ul li {
  font-size: 0.9rem;
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}
.affixation-card ul li::before {
  content: '·';
  position: absolute;
  left: 4px;
  color: var(--teal);
  font-weight: 700;
}
.affixation-action {
  margin-top: 16px;
  padding: 12px 16px;
  background: rgba(42,125,111,0.08);
  border-radius: var(--radius);
  border-left: 3px solid var(--teal);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
}
.affixation-note {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ---- FAQ ---- */
.faq {
  padding: 80px 0;
  background: var(--white);
}
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-item summary {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  padding: 18px 16px 18px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  line-height: 1.4;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--teal);
  flex-shrink: 0;
  margin-left: 12px;
  font-family: sans-serif;
  font-weight: 300;
  transition: transform 0.2s;
}
.faq-item[open] summary::after {
  content: '−';
}
.faq-item p {
  font-size: 0.95rem;
  color: var(--text-body);
  padding: 0 0 20px 0;
  line-height: 1.7;
  margin-bottom: 0;
}

/* ---- OHIO COMPARISON ---- */
.ohio-comparison {
  background: var(--navy-mid);
  padding: 48px 0;
}
.comparison-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.comparison-text h2 {
  color: var(--white);
  margin-bottom: 8px;
  font-size: 1.4rem;
}
.comparison-text p {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  max-width: 640px;
  margin-bottom: 0;
}
.comparison-cta {
  text-align: center;
  flex-shrink: 0;
}
.coming-soon-label {
  font-weight: 700;
  color: var(--amber-light);
  font-size: 0.9rem;
  margin-bottom: 4px;
}
.coming-soon-sub {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  font-style: italic;
}

/* ---- FOOTER ---- */
.site-footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
}
.footer-disclaimer {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  font-style: italic;
  margin-top: 12px;
}
.footer-nav h4 {
  color: var(--white);
  font-size: 0.9rem;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer-nav ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-nav ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
}
.footer-nav ul li a:hover { color: var(--white); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--white); }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .docs-layout,
  .calc-layout {
    grid-template-columns: 1fr;
  }
  .docs-sidebar,
  .calc-sidebar {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
  }
  .affixation-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .main-nav { display: none; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 12px 24px 20px;
    gap: 4px;
    box-shadow: var(--shadow-md);
  }
  .nav-toggle { display: block; }
  .hero { min-height: 420px; }
  .hero-content { padding: 60px 24px; }
  .hero-cta-group { flex-direction: column; }
  .process-grid { grid-template-columns: 1fr; }
  .county-grid-quick { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .comparison-banner { flex-direction: column; }
  .office-header { flex-direction: column; gap: 8px; }
}

@media (max-width: 480px) {
  .county-grid-quick { grid-template-columns: 1fr; }
  .calc-widget { padding: 20px; }
}
