/* ========================================
   Car Accident Help Florida
   Calm. Clear. Trustworthy.
   ======================================== */

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

:root {
  --slate-900: #1A1F2E;
  --slate-800: #2D3344;
  --slate-700: #3D4455;
  --slate-600: #555D6E;
  --slate-500: #6B7385;
  --slate-400: #929AAD;
  --slate-300: #C5CAD3;
  --slate-200: #DFE2E8;
  --slate-100: #EEEEF2;
  --slate-50: #F6F6F8;
  --white: #FFFFFF;
  --blue-700: #1B4C8F;
  --blue-600: #2460B8;
  --blue-50: #F0F5FB;
  --amber-600: #D97706;
  --green-700: #15803D;
  --green-50: #F0FDF4;
  --red-50: #FEF2F2;
  --red-700: #B91C1C;
  --text: var(--slate-800);
  --text-secondary: var(--slate-600);
  --text-muted: var(--slate-500);
  --border: var(--slate-200);
  --bg: var(--white);
  --bg-alt: var(--slate-50);
  --radius: 6px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --max-width: 1100px;
  --content-width: 720px;
}

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

body {
  font-family: 'Source Sans 3', 'Georgia', -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue-700); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--slate-900); text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

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

h1, h2, h3, h4 {
  font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  font-weight: 700;
  line-height: 1.3;
  color: var(--slate-900);
}

h1 { font-size: 2.25rem; letter-spacing: -0.01em; }
h2 { font-size: 1.625rem; }
h3 { font-size: 1.25rem; }
p { margin-bottom: 1rem; }

/* --- Accent bar at top of page --- */
body::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-700) 0%, var(--blue-600) 40%, var(--amber-600) 100%);
}

/* --- Header: quiet, functional --- */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--slate-900);
}

.logo-mark {
  width: 32px;
  height: 32px;
  background: var(--slate-900);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}

.logo-text {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--slate-900);
}

.header-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.header-nav a {
  color: var(--slate-600);
  font-size: 0.875rem;
  font-weight: 500;
}

.header-nav a:hover { color: var(--slate-900); }

/* --- Homepage Hero: calm, empathetic --- */
.hero {
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--blue-50) 0%, var(--white) 100%);
}

.hero-inner {
  max-width: 640px;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--slate-500);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--slate-900);
}

.hero p {
  font-size: 1.125rem;
  color: var(--slate-600);
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-btn {
  display: inline-block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--white);
  background: var(--slate-900);
  padding: 12px 24px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
}

.hero-btn:hover {
  background: var(--blue-700);
  color: var(--white);
  text-decoration: none;
  transform: translateY(-1px);
}

.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--blue-700);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}

.hero-link:hover { color: var(--slate-900); }

/* --- Guide List: clean, scannable --- */
.section { padding: 56px 0; }
.section-bordered { border-bottom: 1px solid var(--border); }
.section-alt { background: var(--slate-50); }

.section-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-400);
  margin-bottom: 24px;
}

.guide-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.guide-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--slate-100);
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
  margin: 0 -12px;
  padding-left: 12px;
  padding-right: 12px;
  border-radius: var(--radius);
}

.guide-item:last-child { border-bottom: none; }

.guide-item {
  border-left: 3px solid transparent;
}

.guide-item:hover {
  background: var(--slate-50);
  border-left-color: var(--blue-600);
}

.guide-item-content { flex: 1; padding-right: 24px; }

.guide-item h3 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.4;
  color: var(--slate-900);
}

.guide-item:hover h3 { color: var(--blue-700); }

.guide-item p {
  font-size: 0.875rem;
  color: var(--slate-500);
  margin: 0;
  line-height: 1.5;
}

.guide-item-meta {
  font-size: 0.75rem;
  color: var(--slate-400);
  white-space: nowrap;
  padding-top: 4px;
}

.guide-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--slate-500);
  background: var(--slate-100);
  padding: 2px 8px;
  border-radius: 3px;
  margin-right: 8px;
}

/* --- Featured guide badge --- */
.guide-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  background: var(--blue-700);
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 8px;
}

.guide-featured {
  background: var(--blue-50);
  border-left-color: var(--blue-600) !important;
  border-left: 3px solid var(--blue-600);
}

/* --- Info boxes --- */
.info-box {
  background: var(--slate-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 32px 0;
}

.info-box h3 { margin-bottom: 8px; font-size: 1.1rem; }
.info-box p { color: var(--slate-600); margin-bottom: 0; font-size: 0.95rem; }

/* --- Quiet CTA (bottom of page, understated) --- */
.quiet-cta {
  background: var(--slate-50);
  border-top: 1px solid var(--border);
  padding: 48px 0;
}

.quiet-cta-inner {
  max-width: 560px;
}

.quiet-cta h2 {
  font-size: 1.375rem;
  margin-bottom: 12px;
}

.quiet-cta p {
  color: var(--slate-600);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.quiet-cta .text-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--blue-600);
}

/* --- FAQ --- */
.faq-list { max-width: 680px; }

.faq-item { border-bottom: 1px solid var(--slate-100); }

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

.faq-question:hover { color: var(--blue-700); }

.faq-icon {
  font-size: 1.25rem;
  color: var(--slate-400);
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }

.faq-answer-inner {
  padding: 0 0 18px;
  color: var(--slate-600);
  font-size: 0.9rem;
  line-height: 1.7;
}

.faq-answer-inner a { text-decoration: underline; text-underline-offset: 2px; }

/* --- Footer: minimal --- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  color: var(--slate-500);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
}

.footer-brand {
  max-width: 360px;
}

.footer-brand p {
  font-size: 0.825rem;
  color: var(--slate-400);
  margin-top: 12px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 48px;
}

.footer-col h4 {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-400);
  margin-bottom: 12px;
}

.footer-col a {
  display: block;
  font-size: 0.825rem;
  color: var(--slate-500);
  padding: 3px 0;
}

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

.footer-bottom {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--slate-100);
  font-size: 0.75rem;
  color: var(--slate-400);
  display: flex;
  justify-content: space-between;
}

.footer-bottom a { color: var(--slate-400); }
.footer-bottom a:hover { color: var(--slate-600); }

.footer-legal { display: flex; gap: 20px; }

/* --- Disclaimer: small, bottom --- */
.disclaimer {
  padding: 16px 0;
  font-size: 0.75rem;
  color: var(--slate-400);
  line-height: 1.5;
  border-top: 1px solid var(--slate-100);
}

.disclaimer a { color: var(--slate-400); text-decoration: underline; }

/* --- Stats Bar --- */
.stats-bar {
  background: var(--slate-900);
  padding: 28px 0;
}

.stats-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--slate-400);
  margin-top: 4px;
  line-height: 1.4;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--slate-700);
}

.stats-source {
  text-align: center;
  font-size: 0.65rem;
  color: var(--slate-600);
  margin-top: 16px;
  margin-bottom: 0;
}

.stats-source a {
  color: var(--slate-500);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* --- Who We Are section --- */
.who-we-are {
  padding: 56px 0;
  background: var(--blue-50);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.who-inner {
  max-width: 680px;
}

.who-we-are h2 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.who-we-are > .container > .who-inner > p {
  color: var(--slate-600);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.who-points {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
}

.who-point {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.who-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.who-point strong {
  display: block;
  font-size: 0.9rem;
  color: var(--slate-900);
  margin-bottom: 2px;
}

.who-point p {
  font-size: 0.85rem;
  color: var(--slate-500);
  margin: 0;
  line-height: 1.5;
}

.text-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--blue-600);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .hero { padding: 40px 0 36px; }
  .hero h1 { font-size: 1.875rem; }
  .hero p { font-size: 1rem; }
  .section { padding: 40px 0; }
  .header-nav { gap: 20px; }
  .footer-inner { flex-direction: column; gap: 32px; }
  .footer-links { gap: 32px; }
  h1 { font-size: 1.875rem; }
  h2 { font-size: 1.375rem; }
  .guide-item { flex-direction: column; gap: 4px; }
  .guide-item-meta { padding-top: 8px; }
  .stats-grid { flex-direction: column; gap: 20px; }
  .stat-divider { width: 40px; height: 1px; }
  .stats-bar { padding: 24px 0; }
  .who-we-are { padding: 40px 0; }
  .who-we-are h2 { font-size: 1.25rem; }
}

@media (max-width: 480px) {
  .header-nav { gap: 16px; }
  .header-nav a { font-size: 0.8rem; }
  .footer-links { flex-direction: column; gap: 24px; }
}
