/* =============================================
   DISABILITY ATTORNEY NKY — styles.css
   Aesthetic: Authoritative/trustworthy — deep teal,
   warm gold accents, Playfair Display + Source Sans 3
   ============================================= */

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

:root {
  --teal:       #0d3d4f;
  --teal-mid:   #155e75;
  --teal-light: #1a7a96;
  --gold:       #c8920a;
  --gold-light: #e8ab20;
  --gold-pale:  #fdf6e3;
  --slate:      #f2f6f8;
  --text:       #1a1a2a;
  --text-mid:   #374151;
  --text-light: #6b7280;
  --border:     #d1dde3;
  --white:      #ffffff;
  --red:        #991b1b;
  --green:      #166534;
  --blue:       #1d4ed8;
  --purple:     #5b21b6;
  --radius:     10px;
  --radius-lg:  16px;
  --shadow:     0 2px 12px rgba(13,61,79,.09);
  --shadow-md:  0 6px 28px rgba(13,61,79,.14);
  --shadow-lg:  0 16px 48px rgba(13,61,79,.18);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Source Sans 3', system-ui, sans-serif;
  --max-width:  1200px;
  --transition: .2s ease;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--teal-mid); text-decoration: none; }
a:hover { color: var(--gold); }
ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .6rem 1.3rem;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary { background: var(--gold); color: var(--teal); border-color: var(--gold); }
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--teal);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(200,146,10,.35);
}
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-outline:hover { background: rgba(255,255,255,.15); border-color: var(--white); color: var(--white); }
.btn-lg { padding: .9rem 2rem; font-size: 1rem; border-radius: 8px; }
.btn-sm { padding: .4rem .9rem; font-size: .82rem; }

/* --- HEADER --- */
.site-header {
  background: var(--teal);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--gold);
  box-shadow: 0 2px 16px rgba(0,0,0,.25);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: .65rem;
  flex-shrink: 0;
  color: var(--white) !important;
}
.logo img { height: 32px; width: auto; border-radius: 4px; }
.logo-text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--white);
  line-height: 1.1;
}
.logo-text em { font-style: normal; color: var(--gold-light); }
.main-nav {
  display: flex;
  gap: .1rem;
  flex: 1;
  justify-content: center;
}
.main-nav a {
  color: rgba(255,255,255,.78);
  font-size: .85rem;
  font-weight: 600;
  padding: .4rem .8rem;
  border-radius: 5px;
  transition: all var(--transition);
}
.main-nav a:hover { color: var(--white); background: rgba(255,255,255,.1); }
.nav-cta { flex-shrink: 0; }

/* --- HERO --- */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 35%;
  filter: brightness(.4) saturate(.5);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(125deg, rgba(13,61,79,.95) 35%, rgba(13,61,79,.6) 100%);
}
.hero-content {
  position: relative; z-index: 1;
  padding: 4.5rem 1.25rem;
  max-width: 740px;
}
.hero-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--teal);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .9rem;
  border-radius: 4px;
  margin-bottom: 1.25rem;
}
.hero-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.1rem;
}
.hero-content h1 em {
  font-style: italic;
  color: var(--gold-light);
}
.hero-sub {
  color: rgba(255,255,255,.82);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 600px;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-stats { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  color: var(--gold-light);
  line-height: 1;
}
.stat-label {
  font-size: .75rem;
  color: rgba(255,255,255,.65);
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-top: .2rem;
}

/* --- ALERT STRIP --- */
.alert-strip {
  background: #7c2d12;
  color: var(--white);
  padding: .8rem 0;
  font-size: .9rem;
  border-bottom: 2px solid #9a3412;
}
.alert-strip .container {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
}
.alert-strip strong { color: #fdba74; }
.alert-strip a { color: #fdba74; font-weight: 700; text-decoration: underline; }
.alert-strip a:hover { color: var(--white); }

/* --- SECTION BASE --- */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--slate); }
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}
.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  color: var(--teal);
  margin-bottom: .75rem;
  line-height: 1.2;
}
.section-header p { color: var(--text-mid); font-size: 1.05rem; }

/* --- PROCESS STEPS --- */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 3rem;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 40px;
  bottom: 40px;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), var(--teal-light));
  z-index: 0;
}
.step {
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
  padding: 1.5rem 0;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  flex-shrink: 0;
  border: 3px solid var(--gold);
  box-shadow: var(--shadow);
}
.step-body {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  flex: 1;
}
.step-body h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--teal);
  margin-bottom: .6rem;
}
.step-body p { font-size: .92rem; color: var(--text-mid); line-height: 1.7; }
.step-body p strong { color: var(--text); }
.step-detail {
  margin-top: .85rem;
  padding: .75rem 1rem;
  background: var(--slate);
  border-radius: 7px;
  border-left: 3px solid var(--gold);
  font-size: .84rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* --- COMPARISON TABLE --- */
.comparison-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.comparison-wrap h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--teal);
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--slate);
}
.comparison-table-wrap { overflow-x: auto; }
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
}
.comparison-table thead tr { background: var(--teal); color: var(--white); }
.comparison-table th { padding: .9rem 1.25rem; text-align: left; font-weight: 600; font-size: .86rem; }
.comparison-table td { padding: .9rem 1.25rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:nth-child(even) { background: var(--slate); }
.comparison-table tr:hover td { background: var(--gold-pale); }
.comparison-table td:first-child { font-weight: 600; color: var(--text); }

/* --- CALCULATOR --- */
.calculator-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.calc-inputs {
  padding: 2rem;
  background: var(--teal);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.calc-group { display: flex; flex-direction: column; gap: .45rem; }
.calc-group label {
  color: rgba(255,255,255,.85);
  font-size: .85rem;
  font-weight: 600;
}
.calc-hint { font-size: .78rem; color: rgba(255,255,255,.5); line-height: 1.5; }
.input-prefix {
  display: flex; align-items: center;
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: 7px; overflow: hidden;
  transition: border-color var(--transition);
}
.input-prefix:focus-within { border-color: var(--gold-light); }
.input-prefix span {
  padding: .65rem .9rem;
  color: var(--gold-light);
  font-weight: 700;
  background: rgba(255,255,255,.05);
  border-right: 1.5px solid rgba(255,255,255,.15);
  font-size: .9rem;
}
.input-prefix input {
  flex: 1; background: transparent; border: none; outline: none;
  color: var(--white); padding: .65rem .9rem;
  font-size: .95rem; font-family: var(--font-sans);
}
.input-prefix input::placeholder { color: rgba(255,255,255,.35); }
.date-input, .select-input {
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: 7px;
  color: var(--white);
  padding: .65rem .9rem;
  font-size: .92rem;
  font-family: var(--font-sans);
  outline: none;
  width: 100%;
  transition: border-color var(--transition);
}
.date-input:focus, .select-input:focus { border-color: var(--gold-light); }
.select-input option { background: var(--teal); color: var(--white); }
.calc-btn { align-self: flex-start; margin-top: .25rem; }
.calc-results {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 320px;
}
.calc-placeholder {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; gap: .75rem; color: var(--text-light);
}
.calc-placeholder span { font-size: 2.5rem; }
.result-row {
  padding: .9rem 1rem;
  background: var(--slate);
  border-radius: 8px;
  border-left: 4px solid var(--border);
  display: flex; flex-direction: column; gap: .3rem;
}
.result-row.highlight { background: var(--gold-pale); border-left-color: var(--gold); }
.result-row.warning { background: #fff7ed; border-left-color: #ea580c; }
.result-label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--text-light); }
.result-value { font-family: var(--font-serif); font-size: 1.3rem; color: var(--teal); }
.result-note { font-size: .8rem; color: var(--text-mid); }
.calc-disclaimer {
  font-size: .78rem; color: var(--text-light);
  text-align: center; margin-top: .75rem; font-style: italic;
}

/* --- COUNTY GRID --- */
.county-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.75rem;
}
.county-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow var(--transition);
}
.county-card:hover { box-shadow: var(--shadow-md); }
.county-header {
  padding: 1.25rem 1.5rem;
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: .5rem;
}
.county-header h3 { font-family: var(--font-serif); font-size: 1.3rem; }
.county-sub { font-size: .78rem; opacity: .75; margin-top: .2rem; }
.county-pop { font-size: .78rem; opacity: .7; font-weight: 600; white-space: nowrap; }
.boone    { background: linear-gradient(135deg, #0d3d4f, #155e75); }
.kenton   { background: linear-gradient(135deg, #155e75, #1a7a96); }
.campbell { background: linear-gradient(135deg, #0a2e3d, #0d4d63); }
.hamilton { background: linear-gradient(135deg, #1a3a5c, #1e4976); }
.county-body {
  padding: 1.25rem 1.5rem;
  display: flex; flex-direction: column; gap: 1.1rem; flex: 1;
}
.county-section h4 {
  font-size: .87rem; font-weight: 700; color: var(--teal);
  margin-bottom: .5rem; padding-bottom: .35rem;
  border-bottom: 1px solid var(--border);
}
.county-section p { font-size: .85rem; color: var(--text-mid); line-height: 1.65; }
.county-section ul { display: flex; flex-direction: column; gap: .4rem; }
.county-section li { font-size: .83rem; color: var(--text-mid); padding-left: .4rem; }
.county-section li strong { color: var(--text); }
.county-btn { align-self: flex-start; margin-top: auto;
  background: transparent; color: var(--teal-mid); border-color: var(--teal-mid); }
.county-btn:hover { background: var(--teal-mid); color: var(--white); }

/* --- CHECKLIST SECTION --- */
.checklist-section { background: var(--teal); }
.checklist-wrap {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3rem; align-items: center;
}
.checklist-copy h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--white); margin-bottom: 1rem; line-height: 1.2;
}
.checklist-copy p { color: rgba(255,255,255,.75); margin-bottom: 1.5rem; line-height: 1.7; }
.checklist-note { font-size: .78rem; color: rgba(255,255,255,.45); margin-top: .5rem !important; font-style: italic; }
.checklist-list h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem; color: var(--gold-light); margin-bottom: 1rem;
}
.checklist-cols {
  display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 1.5rem;
}
.checklist-cols ul { display: flex; flex-direction: column; gap: .5rem; }
.checklist-cols li { font-size: .86rem; color: rgba(255,255,255,.8); }

/* --- OFFICES GRID --- */
.offices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.office-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: .85rem;
  position: relative; padding-top: 2.75rem;
}
.office-type {
  position: absolute; top: 1rem; left: 1.5rem;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: .2rem .65rem; border-radius: 4px;
  background: #dbeafe; color: #1e40af;
}
.office-card:nth-child(4) .office-type,
.office-card:nth-child(5) .office-type { background: #dcfce7; color: #166534; }
.office-card:nth-child(6) .office-type { background: #f3e8ff; color: #6b21a8; }
.office-card h3 {
  font-family: var(--font-serif); font-size: 1.15rem; color: var(--teal);
}
.office-card p { font-size: .86rem; color: var(--text-mid); line-height: 1.6; }
.office-card ul { display: flex; flex-direction: column; gap: .4rem; }
.office-card li { font-size: .84rem; color: var(--text-mid); }
.office-tip {
  font-size: .81rem; color: var(--text-mid);
  background: var(--gold-pale); border-radius: 6px;
  padding: .6rem .9rem; border-left: 3px solid var(--gold);
  margin-top: auto;
}

/* --- FAQ --- */
.faq-list {
  max-width: 820px; margin: 0 auto;
  display: flex; flex-direction: column; gap: .75rem;
}
.faq-item {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.faq-item summary {
  padding: 1.1rem 1.4rem; font-weight: 600; color: var(--teal);
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-size: .94rem; transition: background var(--transition);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-size: 1.4rem; font-weight: 300;
  color: var(--gold); flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { background: var(--gold-pale); }
.faq-body { padding: 1rem 1.4rem 1.4rem; display: flex; flex-direction: column; gap: .75rem; }
.faq-body p { font-size: .91rem; color: var(--text-mid); line-height: 1.75; }
.faq-body p strong { color: var(--text); }

/* --- DISCLAIMER --- */
.disclaimer-section { background: var(--slate); padding: 2.5rem 0; }
.disclaimer-box {
  background: var(--white); border: 1px solid var(--border);
  border-left: 5px solid var(--gold); border-radius: var(--radius);
  padding: 1.5rem 2rem; max-width: 860px; margin: 0 auto;
}
.disclaimer-box h3 { font-size: 1rem; font-weight: 700; color: var(--teal); margin-bottom: .6rem; }
.disclaimer-box p { font-size: .84rem; color: var(--text-mid); line-height: 1.7; }

/* --- FOOTER --- */
.site-footer { background: var(--teal); padding-top: 3rem; color: rgba(255,255,255,.7); }
.footer-inner {
  display: grid; grid-template-columns: 1.4fr 2fr; gap: 3rem;
  padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .footer-logo {
  font-family: var(--font-serif); font-size: 1.2rem;
  color: var(--white); display: block; margin-bottom: .6rem;
}
.footer-brand p { font-size: .84rem; line-height: 1.65; max-width: 340px; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.footer-col h4 {
  font-size: .78rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gold-light); margin-bottom: .85rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .45rem; }
.footer-col li a {
  font-size: .84rem; color: rgba(255,255,255,.6);
  transition: color var(--transition);
}
.footer-col li a:hover { color: var(--white); }
.footer-bottom { padding: 1.2rem 0; text-align: center; }
.footer-bottom p { font-size: .77rem; color: rgba(255,255,255,.38); }

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .calculator-wrap { grid-template-columns: 1fr; }
  .checklist-wrap { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
}
@media (max-width: 640px) {
  .hero { min-height: 500px; }
  .hero-content { padding: 3rem 1.25rem; }
  .hero-ctas { flex-direction: column; }
  .hero-stats { gap: 1.5rem; }
  .county-grid { grid-template-columns: 1fr; }
  .offices-grid { grid-template-columns: 1fr; }
  .checklist-cols { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; }
  .step { flex-direction: column; gap: .75rem; }
  .step-num { width: 44px; height: 44px; font-size: 1.1rem; }
  .comparison-table th:last-child, .comparison-table td:last-child { display: none; }
  .alert-strip .container { flex-direction: column; text-align: center; }
}
