/*
Theme Name: AMA Law Firm
Theme URI: https://amalawfirm.com
Description: Custom theme for The Law Office of Anthony J. Muhammad
Version: 1.0.0
Author: AMA Law Firm
*/

/* =============================================
   CSS CUSTOM PROPERTIES
============================================= */
:root {
  --dark:       #0f172a;
  --dark-2:     #1e293b;
  --bg:         #f8fafc;
  --white:      #ffffff;
  --border:     #e2e8f0;
  --muted:      #64748b;
  --muted-lt:   #94a3b8;
  --success:    #10b981;
  --warning:    #f59e0b;
  --accent:     #2563eb;
  --accent-dk:  #1d4ed8;

  /* Category accents */
  --pi-bg:   #eff6ff; --pi-tx:  #1e40af;
  --pl-bg:   #faf5ff; --pl-tx:  #7e22ce;
  --med-bg:  #ecfdf5; --med-tx: #065f46;
  --tox-bg:  #fff7ed; --tox-tx: #9a3412;

  --radius:    16px;
  --radius-sm: 8px;
  --radius-xs: 6px;
  --max-w:     1200px;
  --shadow:    0 1px 3px rgba(0,0,0,.08), 0 4px 12px rgba(0,0,0,.06);
}

/* =============================================
   LOGO IMAGES
============================================= */
.header-logo-img {
  max-height: 48px;
  width: auto;
  display: block;
}
.hero-logo-wrap {
  display: flex;
  justify-content: center;
  padding: 36px 24px 0;
}
.hero-logo-img {
  max-height: 80px;
  width: auto;
  display: block;
}
.footer-logo-img {
  max-height: 56px;
  width: auto;
  display: block;
}

/* =============================================
   ATTORNEY PHOTOS
============================================= */
.attorney-photo-hero {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.attorney-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--dark);
  background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

h1, h2, h3, h4, h5 {
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--dark);
}

p { color: var(--muted); }

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

.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

/* =============================================
   BUTTONS
============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.18s ease;
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn-primary    { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-dk); border-color: var(--accent-dk); color: #fff; }
.btn-dark       { background: var(--dark); color: #fff; border-color: var(--dark); }
.btn-dark:hover { background: var(--dark-2); border-color: var(--dark-2); color: #fff; }
.btn-outline    { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-outline:hover { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.6); }
.btn-outline-dark { background: transparent; color: var(--dark); border-color: var(--border); }
.btn-outline-dark:hover { background: var(--dark); color: #fff; border-color: var(--dark); }
.btn-sm { padding: 9px 18px; font-size: 0.875rem; }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }

/* =============================================
   BADGES
============================================= */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.badge-pi   { background: #f1f5f9; color: #0f172a; }
.badge-pl   { background: #f1f5f9; color: #0f172a; }
.badge-med  { background: #f1f5f9; color: #0f172a; }
.badge-tox  { background: #f1f5f9; color: #0f172a; }
.badge-free { background: var(--success); color: #fff; }
.badge-dark { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.2); }

/* =============================================
   CARDS
============================================= */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.card:hover { box-shadow: var(--shadow); transition: box-shadow 0.18s; }

/* =============================================
   HEADER
============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--dark);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.site-logo a {
  display: block;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.site-logo .logo-sub {
  display: block;
  font-size: 0.68rem;
  font-weight: 400;
  color: var(--muted-lt);
  letter-spacing: 0.02em;
  margin-top: 1px;
}
.primary-nav { display: flex; align-items: center; gap: 4px; }
.primary-nav a {
  color: rgba(255,255,255,.8);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-xs);
  transition: all 0.15s;
}
.primary-nav a:hover,
.primary-nav a.current { color: #fff; background: rgba(255,255,255,.1); }
.header-cta { flex-shrink: 0; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.2s;
}
.mobile-nav {
  display: none;
  background: var(--dark-2);
  padding: 16px 24px 20px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.mobile-nav a {
  display: block;
  color: rgba(255,255,255,.85);
  padding: 10px 0;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav .btn { margin-top: 16px; width: 100%; }
.mobile-nav.open { display: block; }

@media (max-width: 900px) {
  .primary-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
}

/* =============================================
   FOOTER
============================================= */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,.7);
  padding: 64px 0 32px;
}
.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .brand-name {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
  display: block;
}
.footer-brand .brand-full {
  font-size: 0.8rem;
  color: var(--muted-lt);
  margin-bottom: 16px;
}
.footer-brand address {
  font-style: normal;
  font-size: 0.875rem;
  line-height: 1.8;
}
.footer-col h4 {
  color: #fff;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,.6);
  transition: color 0.15s;
}
.footer-col ul li a:hover { color: #fff; }
.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 28px 24px 0;
  font-size: 0.8rem;
  line-height: 1.7;
  color: rgba(255,255,255,.4);
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* =============================================
   FLOATING CTA
============================================= */
.floating-cta {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 150;
  background: var(--accent);
  color: #fff;
  padding: 14px 24px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.5);
  transition: all 0.2s;
  text-decoration: none;
}
.floating-cta:hover {
  background: var(--accent-dk);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37, 99, 235, 0.6);
}

/* =============================================
   HERO
============================================= */
.hero {
  background: var(--dark);
  color: #fff;
  padding: 96px 24px 110px;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 100px;
  padding: 6px 18px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  margin-bottom: 28px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2rem, 5.5vw, 3.75rem);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 20px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.65);
  line-height: 1.75;
  max-width: 580px;
  margin: 0 auto 40px;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =============================================
   HERO CAROUSEL
============================================= */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
  background: var(--dark);
}
.carousel-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  z-index: 1;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,.45);
  color: #fff;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.75rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  cursor: pointer;
  transition: background 0.2s;
}
.carousel-btn:hover { background: rgba(0,0,0,.72); }
.carousel-prev { left: 20px; }
.carousel-next { right: 20px; }
.carousel-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.carousel-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.carousel-dot.active {
  background: #fff;
  transform: scale(1.2);
}
@media (max-width: 768px) { .hero-carousel { height: 240px; } }
@media (max-width: 480px) { .hero-carousel { height: 170px; } }

/* =============================================
   HERO SPLIT (home page — hero + attorney side by side)
============================================= */
.hero-split {
  background: var(--dark);
  padding: 80px 24px 90px;
}
.hero-split-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 56px;
  align-items: center;
}
.hero-split-left { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.attorney-card-logo { display: flex; justify-content: center; margin-bottom: 16px; }
.attorney-card-logo .hero-logo-img { max-height: 90px; width: auto; }
.hero-split-left .hero-badge { margin-bottom: 28px; }
.hero-split-left h1 {
  color: #fff;
  font-size: clamp(1.9rem, 4.5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.hero-split-left .hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.65);
  line-height: 1.75;
  max-width: 520px;
  margin: 0 0 36px 0;
}
.hero-split-left .hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Attorney card inside the hero split */
.attorney-card-hero {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  display: block;
  box-shadow: 0 8px 32px rgba(0,0,0,.25);
}

@media (max-width: 960px) {
  .hero-split-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-split-left { align-items: flex-start; text-align: left; }
  .hero-split-left .hero-sub { margin-left: 0; margin-right: 0; }
  .hero-split-left .hero-ctas { justify-content: flex-start; }
  .attorney-card-hero { max-width: 600px; margin: 0 auto; }
}

@media (max-width: 480px) {
  .hero-split { padding: 60px 16px 72px; }
  .attorney-card-hero {
    grid-template-columns: 1fr;
    padding: 28px 20px;
  }
  .attorney-card-hero .attorney-avatar { margin: 0 auto; }
}

/* =============================================
   STATS BAR
============================================= */
.stats-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 40px 24px;
}
.stats-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-number {
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.875rem;
  color: var(--muted);
}
@media (max-width: 480px) {
  .stats-inner { grid-template-columns: 1fr; }
}

/* =============================================
   ATTORNEY CARD (Home)
============================================= */
.attorney-section { background: var(--bg); }
.attorney-card {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: start;
}
.attorney-avatar {
  width: 80px;
  height: 80px;
  background: var(--dark);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.attorney-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 2px;
}
.attorney-title {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 12px;
}
.attorney-desc {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 20px;
}
.attorney-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}
.attorney-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--dark);
}
.attorney-features li::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--success);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}
@media (max-width: 600px) {
  .attorney-card { grid-template-columns: 1fr; }
  .attorney-avatar { margin: 0 auto; }
}

/* =============================================
   PRACTICE PREVIEW (Home)
============================================= */
.practice-preview { background: var(--bg); }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: 12px; }
.section-header p { max-width: 560px; margin: 0 auto; }

.practice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.practice-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.practice-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}
.practice-card h3 { font-size: 1.1rem; }
.practice-card ul {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.practice-card ul li {
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.practice-card ul li::before {
  content: '·';
  font-weight: 700;
  color: var(--muted-lt);
}

/* Category color overrides */
.cat-pi .practice-card-icon  { background: var(--pi-bg);  color: var(--pi-tx); }
.cat-pl .practice-card-icon  { background: var(--pl-bg);  color: var(--pl-tx); }
.cat-med .practice-card-icon { background: var(--med-bg); color: var(--med-tx); }
.cat-tox .practice-card-icon { background: var(--tox-bg); color: var(--tox-tx); }
.cat-pi  h3 { color: #0f172a; }
.cat-pl  h3 { color: #0f172a; }
.cat-med h3 { color: #0f172a; }
.cat-tox h3 { color: #0f172a; }

/* =============================================
   FOOTER CTA BANNER
============================================= */
.cta-banner {
  background: var(--dark);
  color: #fff;
  padding: 72px 24px;
  text-align: center;
}
.cta-banner h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 24px;
}

/* =============================================
   PAGE HERO (inner pages)
============================================= */
.page-hero {
  background: var(--dark);
  color: #fff;
  padding: 64px 24px 72px;
}
.page-hero-inner { max-width: var(--max-w); margin: 0 auto; }
.page-hero h1 {
  color: #fff;
  font-size: clamp(1.75rem, 4vw, 3rem);
  margin-bottom: 12px;
}
.page-hero p {
  color: rgba(255,255,255,.65);
  font-size: 1.05rem;
  max-width: 580px;
}
.page-hero-intro {
  margin-top: 20px;
  max-width: 720px;
  font-size: 1rem;
  line-height: 1.8;
}

/* =============================================
   PRACTICE AREAS PAGE
============================================= */
.practice-areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.practice-area-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.practice-area-card .card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.practice-area-card h3 { font-size: 1.25rem; }
.practice-area-card .case-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.practice-area-card .pa-desc {
  font-size: 0.9rem;
  color: var(--dark-2);
  line-height: 1.7;
  flex: 1;
}
.practice-area-card .case-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--dark-2);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}
.practice-area-card .case-list li:last-child { border-bottom: none; }
.practice-area-card .case-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.pa-pi  .case-list li::before { background: var(--pi-tx); }
.pa-pl  .case-list li::before { background: var(--pl-tx); }
.pa-med .case-list li::before { background: var(--med-tx); }
.pa-tox .case-list li::before { background: var(--tox-tx); }

/* =============================================
   CASE PAGES HUB
============================================= */
.case-hub { background: var(--bg); }
.case-hub-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}
.case-sidebar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: sticky;
  top: 88px;
}
.case-sidebar h3 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 12px;
}
.case-sidebar-group { margin-bottom: 20px; }
.case-sidebar-group .group-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}
.case-sidebar-group ul li { margin-bottom: 2px; }
.case-sidebar-group ul li a {
  display: block;
  padding: 6px 8px;
  border-radius: var(--radius-xs);
  font-size: 0.875rem;
  color: var(--muted);
  transition: all 0.15s;
}
.case-sidebar-group ul li a:hover {
  background: var(--bg);
  color: var(--dark);
}
.case-main-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.case-category-section h2 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.case-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.case-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  transition: all 0.15s;
}
.case-card:hover {
  border-color: var(--accent);
  box-shadow: 0 2px 8px rgba(37,99,235,.12);
  transform: translateY(-1px);
}
.case-card h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.case-card .case-cat-label {
  font-size: 0.75rem;
  color: var(--muted);
}
.case-card .view-link {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

@media (max-width: 900px) {
  .case-hub-layout { grid-template-columns: 1fr; }
  .case-sidebar { position: static; }
}

/* =============================================
   INDIVIDUAL CASE PAGE
============================================= */
.case-page-layout {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}
.case-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.case-page-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  margin-bottom: 24px;
}
.case-overview {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.case-section { margin-bottom: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--border); }
.case-section:last-child { border-bottom: none; }
.case-section h2 {
  font-size: 1.25rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Qualify checklist */
.qualify-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.qualify-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--dark);
  padding: 12px 16px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-sm);
}
.qualify-list li::before {
  content: '';
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 50%;
  background: var(--success);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 1px;
}

/* Injuries list */
.injury-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}
.injury-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--dark);
  padding: 10px 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.injury-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  min-width: 8px;
  border-radius: 50%;
  background: var(--warning);
}

/* Proof grid */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.proof-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-size: 0.875rem;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 10px;
}
.proof-item::before {
  content: '📄';
  font-size: 1rem;
}

/* FAQ Accordion */
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 20px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  transition: background 0.15s;
}
.faq-question:hover { background: var(--bg); }
.faq-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
  transition: transform 0.2s;
  color: var(--muted);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.2s;
}
.faq-answer-inner {
  padding: 0 20px 18px;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.75;
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* Case page CTA */
.case-cta {
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
}
.case-cta h2 { color: #fff; font-size: 1.4rem; margin-bottom: 8px; }
.case-cta p { color: rgba(255,255,255,.65); margin-bottom: 24px; }
.case-cta .cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* =============================================
   ABOUT PAGE
============================================= */
.about-intro { max-width: 760px; }
.about-intro p { font-size: 1.05rem; line-height: 1.8; }

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.about-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.about-card h3 {
  font-size: 1rem;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}
.about-card ul { display: flex; flex-direction: column; gap: 8px; }
.about-card ul li {
  font-size: 0.875rem;
  color: var(--muted);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 4px 0;
}
.about-card ul li::before {
  content: '›';
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: -1px;
}
.about-card.resources ul li a {
  color: var(--accent);
  font-weight: 500;
}
.about-card.resources ul li a:hover { color: var(--accent-dk); text-decoration: underline; }

/* =============================================
   CONTACT PAGE
============================================= */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-detail {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.contact-detail h3 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 8px;
}
.contact-detail p, .contact-detail a {
  font-size: 1rem;
  color: var(--dark);
  font-weight: 500;
}
.contact-detail a:hover { color: var(--accent); }
.contact-detail address { font-style: normal; line-height: 1.7; color: var(--muted); font-size: 0.9rem; }

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}
.contact-form-card h2 { font-size: 1.35rem; margin-bottom: 24px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--dark);
  background: var(--white);
  transition: border-color 0.15s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 120px; }

.form-disclaimer {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 16px;
  line-height: 1.6;
  padding: 12px 14px;
  background: var(--bg);
  border-radius: var(--radius-xs);
  border: 1px solid var(--border);
}
.form-success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* =============================================
   LEGAL PAGES
============================================= */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px;
}
.legal-content h1 { font-size: 2rem; margin-bottom: 8px; }
.legal-content .last-updated { color: var(--muted); font-size: 0.875rem; margin-bottom: 36px; }
.legal-content h2 { font-size: 1.25rem; margin: 32px 0 12px; }
.legal-content p { margin-bottom: 16px; }
.legal-content ul { margin-left: 24px; list-style: disc; display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.legal-content ul li { font-size: 0.9rem; color: var(--muted); }

/* =============================================
   BREADCRUMB
============================================= */
.breadcrumb {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}
.breadcrumb a { color: var(--accent); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--muted-lt); }

/* =============================================
   PAGE WRAPPER
============================================= */
.page-content { padding: 64px 0; }

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .hero { padding: 64px 24px 80px; }
  .page-hero { padding: 48px 24px 56px; }
  .attorney-card { padding: 24px; }
  .contact-form-card { padding: 24px; }
  .case-page-layout { padding: 0 16px; }
  .floating-cta { bottom: 16px; right: 16px; padding: 12px 18px; font-size: 0.85rem; }
}
