/* ==========================================================================
   Whitman Mesothelioma Law Firm — Premium Stylesheet
   whitmanmesotheliomalawfirm.com
   Designed for authority, trust, and conversion.
   ========================================================================== */


/* --------------------------------------------------------------------------
   1. CSS Custom Properties
   -------------------------------------------------------------------------- */

:root {
  /* Brand Colors — Bright, warm, trustworthy */
  --primary: #1e3a5f;
  --primary-dark: #152d4a;
  --primary-light: #edf2f8;
  --secondary: #2b6cb0;
  --accent: #2b6cb0;          /* Blue CTA — trustworthy, not aggressive red */
  --accent-hover: #2c5282;

  /* Text Palette */
  --text: #2d3748;
  --text-light: #5a6577;
  --text-muted: #a0aec0;

  /* Background Palette — Bright and warm */
  --bg: #ffffff;
  --bg-alt: #f8fafb;
  --bg-warm: #fdfcfb;

  /* Borders — Lighter, softer */
  --border: #e8ecf1;
  --border-light: #f0f3f7;

  /* Signal Colors — Trust-forward */
  --trust-green: #2f855a;
  --gold: #c6953b;
  --success: #48bb78;

  /* Typography — Serif headings (law firm authority) + Sans body (readability) */
  --font-heading: 'Lora', 'Georgia', 'Times New Roman', serif;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --heading-color: #1a202c;

  /* Spacing Scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;

  /* Layout */
  --max-width: 1200px;
  --content-width: 800px;
  --sidebar-width: 350px;

  /* Transitions */
  --transition: 0.18s ease;
  --transition-slow: 0.3s ease;

  /* Shadows — layered for depth */
  --shadow-sm: 0 1px 2px rgba(15, 36, 64, 0.04), 0 1px 3px rgba(15, 36, 64, 0.06);
  --shadow-md: 0 1px 3px rgba(15, 36, 64, 0.06), 0 4px 14px rgba(15, 36, 64, 0.05);
  --shadow-lg: 0 2px 6px rgba(15, 36, 64, 0.06), 0 8px 24px rgba(15, 36, 64, 0.08);
  --shadow-xl: 0 4px 10px rgba(15, 36, 64, 0.06), 0 12px 40px rgba(15, 36, 64, 0.1);
  --shadow-elevated: 0 1px 1px rgba(0,0,0,0.03), 0 2px 4px rgba(0,0,0,0.04), 0 8px 16px rgba(0,0,0,0.06), 0 16px 32px rgba(0,0,0,0.04);
  --shadow-inset: inset 0 1px 3px rgba(15, 36, 64, 0.08);

  /* Radii */
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
}


/* --------------------------------------------------------------------------
   2. Reset & Base
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--secondary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

ul, ol {
  list-style: none;
}

table {
  border-collapse: collapse;
  width: 100%;
}

::selection {
  background-color: var(--primary-light);
  color: var(--primary-dark);
}


/* --------------------------------------------------------------------------
   3. Typography — Dramatic Hierarchy
   -------------------------------------------------------------------------- */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: -0.01em;
  margin-bottom: var(--space-sm);
  line-height: 1.2;
  color: var(--heading-color);
}

h1 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--heading-color);
  line-height: 1.1;
}

h2 {
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--heading-color);
  line-height: 1.25;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--heading-color);
}

h4 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
}

h5 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

h6 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-light);
}

p {
  margin-bottom: var(--space-sm);
}

p:last-child {
  margin-bottom: 0;
}

strong, b {
  font-weight: 600;
}

blockquote {
  border-left: 4px solid var(--gold);
  padding: var(--space-md) var(--space-lg);
  margin: var(--space-lg) 0;
  background: linear-gradient(135deg, var(--bg-alt) 0%, var(--bg-warm) 100%);
  color: var(--text-light);
  font-style: italic;
  border-radius: 0 var(--radius) var(--radius) 0;
  position: relative;
}

blockquote::before {
  content: '\201C';
  position: absolute;
  top: -0.25rem;
  left: 0.75rem;
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-light);
  font-style: normal;
  line-height: 1;
}

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: var(--space-lg) 0;
}

small {
  font-size: 0.875rem;
}


/* --------------------------------------------------------------------------
   4. Layout
   -------------------------------------------------------------------------- */

.container {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

.content-width {
  max-width: var(--content-width);
  margin-left: auto;
  margin-right: auto;
}


/* --------------------------------------------------------------------------
   5. Site Header — Anchored, Authoritative
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background-color: var(--primary);
}

/* -- Utility Bar -- */

.utility-bar {
  background: var(--primary);
  padding: 0.4rem 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.9);
}

.utility-bar .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: var(--space-md);
}

.utility-bar a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: opacity var(--transition);
}

.utility-bar a:hover {
  opacity: 0.85;
  text-decoration: none;
}

.utility-bar .phone-link {
  letter-spacing: 0.04em;
  font-weight: 600;
}

.utility-bar .free-consult {
  background: var(--trust-green);
  padding: 0.25rem 0.875rem;
  border-radius: var(--radius-sm, 4px);
  font-weight: 700;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* -- Main Navigation Bar — Clean white, bright, approachable -- */

.nav-bar {
  background: #ffffff;
  padding: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  position: relative;
  border-bottom: 1px solid var(--border);
}

.nav-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 64px;
}

.nav-logo a {
  color: var(--heading-color);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  transition: opacity var(--transition);
}

.nav-logo a:hover {
  opacity: 0.92;
  text-decoration: none;
}

.nav-logo img {
  height: 40px;
  width: auto;
}

/* -- Navigation Links -- */

.nav-menu {
  display: none;
  flex-direction: column;
  width: 100%;
  background: #fff;
  position: absolute;
  top: 100%;
  left: 0;
  padding: var(--space-xs) 0 var(--space-sm);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-top: 1px solid var(--border);
}

.nav-menu li {
  position: relative;
}

.nav-menu > li > a {
  display: block;
  color: var(--text-light);
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 0.7rem var(--space-md);
  text-decoration: none;
  transition: color var(--transition);
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
  color: var(--primary);
  text-decoration: none;
}

/* -- Dropdown Menus -- */

.nav-dropdown {
  display: none;
  background: #fff;
  border: 1px solid var(--border);
}

.nav-dropdown a {
  display: block;
  color: var(--text-light);
  padding: 0.5rem var(--space-md) 0.5rem var(--space-lg);
  font-size: 0.875rem;
  font-weight: 400;
  text-decoration: none;
  transition: background-color var(--transition), color var(--transition);
}

.nav-dropdown a:hover {
  background: var(--bg-alt);
  color: var(--primary);
  text-decoration: none;
}

.has-dropdown > a::after {
  content: '\25BE';
  margin-left: 0.375rem;
  font-size: 0.7rem;
  opacity: 0.6;
}

/* Mobile: tap/focus to open dropdown */
.has-dropdown > input[type="checkbox"] {
  display: none;
}

.has-dropdown > input[type="checkbox"]:checked ~ .nav-dropdown {
  display: block;
}

.has-dropdown:focus-within > .nav-dropdown {
  display: block;
}

/* Nav CTA button in menu */
.nav-cta {
  padding: var(--space-xs) var(--space-md) var(--space-sm);
}

.nav-cta .btn {
  display: inline-block;
  font-size: 0.875rem;
  padding: 0.5rem 1.25rem;
}

/* -- Hamburger Toggle (CSS-only) -- */

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  padding: 2px;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
  transform-origin: center;
}

.nav-toggle-checkbox {
  display: none;
}

.nav-toggle-checkbox:checked ~ .nav-menu {
  display: flex;
}

.nav-toggle-checkbox:checked ~ .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle-checkbox:checked ~ .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-toggle-checkbox:checked ~ .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* --------------------------------------------------------------------------
   6. Hero — Commands Attention
   -------------------------------------------------------------------------- */

.hero {
  background: linear-gradient(160deg, #f8fafb 0%, #edf2f8 40%, #dce6f2 100%);
  padding: var(--space-2xl) 0 var(--space-xl);
  color: var(--text);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero h1 { color: var(--heading-color); }
.hero .hero-subtitle { color: var(--text-light); }
.hero .hero-badge { color: var(--text-light); }
.hero .hero-badge svg { color: var(--trust-green); }
.hero .hero-promise { color: var(--text-muted); }
.hero .btn--outline-white { border-color: var(--primary); color: var(--primary); }
.hero .btn--outline-white:hover { background: var(--primary); color: #fff; }

/* Soft radial accent */
.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 60%;
  height: 160%;
  background: radial-gradient(ellipse at center, rgba(43, 108, 176, 0.06) 0%, transparent 65%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.015) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.02) 0%, transparent 40%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h1 {
  color: var(--primary);
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.hero p {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-light);
  margin-bottom: var(--space-md);
  max-width: 640px;
}

.hero .phone-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.hero .phone-number a {
  color: #ffffff;
  text-decoration: none;
  transition: opacity var(--transition);
}

.hero .phone-number a:hover {
  opacity: 0.9;
  text-decoration: none;
}

/* Hero Split Layout — text left, form right */
.hero-split {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  align-items: stretch;
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-subtitle {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-light);
  max-width: 560px;
  margin-bottom: var(--space-md);
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.hero-promise {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.02em;
  font-weight: 400;
}

.hero-promise strong {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

/* Hero form card — frosted glass on dark */
.hero-form {
  width: 100%;
  max-width: 420px;
}

.hero-form .form--consultation {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-lg);
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.08),
    0 8px 24px rgba(0, 0, 0, 0.12),
    0 20px 48px rgba(0, 0, 0, 0.08);
}

/* Territory hero variant */
.hero--territory {
  padding: var(--space-xl) 0 var(--space-lg);
}

.hero--territory h1 {
  font-size: 1.875rem;
}


/* --------------------------------------------------------------------------
   7. Buttons — Substantial, Clickable
   -------------------------------------------------------------------------- */

.btn {
  display: inline-block;
  padding: 0.8rem 1.75rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-family);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color var(--transition),
    color var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    transform var(--transition);
  position: relative;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

/* Accent / CTA Button — gradient + shadow */
.btn--accent {
  background: linear-gradient(180deg, #3182ce 0%, #2b6cb0 100%);
  color: #ffffff;
  border-color: #2b6cb0;
  box-shadow: 0 2px 8px rgba(43, 108, 176, 0.25);
}

.btn--accent:hover {
  background: linear-gradient(180deg, #2b6cb0 0%, #2c5282 100%);
  border-color: #2c5282;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(43, 108, 176, 0.3);
}

/* Primary Button */
.btn--primary {
  background: linear-gradient(180deg, var(--secondary) 0%, var(--primary) 100%);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-color: var(--primary-dark);
  color: #ffffff;
  box-shadow: var(--shadow-md);
}

/* Outline Button */
.btn--outline {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn--outline:hover {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: var(--shadow-md);
}

/* Outline White */
.btn--outline-white {
  background-color: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.6);
}

.btn--outline-white:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  color: #ffffff;
}

/* Large Button */
.btn--large {
  padding: 1rem 2.75rem;
  font-size: 1.0625rem;
  border-radius: var(--radius-lg);
}

/* Full Width Button */
.btn--full {
  width: 100%;
  display: block;
}

/* Disabled / Loading */
.btn:disabled,
.btn.is-loading {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn.is-loading {
  color: transparent;
  position: relative;
}

.btn.is-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: btn-spin 0.6s linear infinite;
}

@keyframes btn-spin {
  to { transform: rotate(360deg); }
}


/* --------------------------------------------------------------------------
   8. Forms — Premium Feel
   -------------------------------------------------------------------------- */

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.8125rem;
  margin-bottom: 0.4rem;
  color: var(--text);
  letter-spacing: 0.01em;
  text-transform: none;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="url"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background-color: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition), background-color var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

/* Focus — inner glow effect */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(44, 82, 130, 0.1), var(--shadow-inset);
  background-color: #ffffff;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234a5568' d='M6 8.825L1.175 4 2.238 2.938 6 6.7 9.763 2.937 10.825 4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* Error states */
.form-group .error-message {
  color: var(--accent);
  font-size: 0.8125rem;
  margin-top: 0.3rem;
  display: none;
  font-weight: 500;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(197, 48, 48, 0.08);
}

.form-group.has-error .error-message {
  display: block;
}

/* Consultation form container */
.form--consultation {
  background-color: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
}

/* Subtle top accent line */
.form--consultation::before {
  content: '';
  position: absolute;
  top: 0;
  left: var(--space-lg);
  right: var(--space-lg);
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 50%, var(--gold) 100%);
  border-radius: 0 0 2px 2px;
}

.form-title {
  text-align: center;
  color: var(--primary);
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
  letter-spacing: -0.02em;
  padding-top: 0.25rem;
}

.form-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 0.875rem;
  margin-bottom: var(--space-md);
  line-height: 1.5;
}

.form-row {
  display: flex;
  gap: var(--space-sm);
}

.form-row .form-group {
  flex: 1;
}

.form-disclaimer {
  font-size: 0.6875rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: var(--space-sm);
  line-height: 1.55;
  letter-spacing: 0.01em;
}


/* --------------------------------------------------------------------------
   9. Cards — Varied Treatments
   -------------------------------------------------------------------------- */

.card {
  background-color: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: var(--space-lg);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
  position: relative;
}

.card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
  border-color: rgba(43,108,176,0.2);
}

.card h3 {
  margin-bottom: var(--space-xs);
}

.card p {
  color: var(--text-light);
  font-size: 0.9375rem;
}

/* -- Card Grid -- */

.card-grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
}

.card-grid--2 {
  grid-template-columns: 1fr;
}

.card-grid--3 {
  grid-template-columns: 1fr;
}

/* Clickable card links */
a.card {
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition), box-shadow var(--transition);
}

a.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}

a.card h3 {
  color: var(--primary);
  transition: color var(--transition);
}

a.card:hover h3 {
  color: var(--secondary);
}

/* Practice area cards — colored top border + icon area */
a.card::after {
  content: '\2192';
  position: absolute;
  bottom: var(--space-md);
  right: var(--space-md);
  font-size: 1.125rem;
  color: var(--text-muted);
  transition: color var(--transition), transform var(--transition);
}

a.card:hover::after {
  color: var(--secondary);
  transform: translateX(3px);
}

/* -- Attorney Card -- */

.card--attorney {
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 40%);
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.card--attorney::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
}

.card--attorney .attorney-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto var(--space-md);
  border: 4px solid var(--bg);
  box-shadow:
    0 2px 8px rgba(15, 36, 64, 0.1),
    0 0 0 2px var(--primary-light);
}

.card--attorney h3 {
  color: var(--primary);
  font-size: 1.25rem;
}

.card--attorney .attorney-title {
  color: var(--text-light);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: var(--space-xs);
}

/* -- Office Card -- */

.card--office {
  border-top: 4px solid var(--primary);
  padding-left: var(--space-lg);
  position: relative;
}

.card--office::before {
  content: '';
  position: absolute;
  top: var(--space-lg);
  left: var(--space-md);
  width: 6px;
  height: 6px;
  background-color: var(--accent);
  border-radius: 50%;
  display: none;
}

.card--office h3 {
  color: var(--primary);
  margin-bottom: var(--space-xs);
}

.card--office .office-address {
  color: var(--text-light);
  font-size: 0.9375rem;
  margin-bottom: var(--space-xs);
  line-height: 1.6;
}

.card--office .office-phone {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.0625rem;
  letter-spacing: 0.01em;
}

/* -- Territory / Community Link Card -- */

.card--territory {
  border-left: 4px solid var(--secondary);
  padding: var(--space-sm) var(--space-md);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.card--territory h3 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.card--territory h3 a {
  color: var(--primary);
}

.card--territory h3 a:hover {
  color: var(--secondary);
  text-decoration: underline;
}

/* -- Exposure Site Card -- */

.card--exposure-site {
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.card--exposure-site h3 {
  color: var(--primary);
  margin-bottom: var(--space-sm);
}

.card--exposure-site dl {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0.375rem 1rem;
  margin-bottom: var(--space-sm);
}

.card--exposure-site dt {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-light);
}

.card--exposure-site dd {
  font-size: 0.9375rem;
  color: var(--text);
}

.card--exposure-site .exposure-description {
  font-size: 0.9375rem;
  color: var(--text-light);
  border-top: 1px solid var(--border-light);
  padding-top: var(--space-sm);
}


/* --------------------------------------------------------------------------
   10. Trust Bar — Stats Dashboard Feel
   -------------------------------------------------------------------------- */

.trust-bar {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border);
  padding: var(--space-lg) 0;
  position: relative;
}

.trust-bar .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-lg) var(--space-xl);
  text-align: center;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  min-width: 120px;
}

.trust-item .trust-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--trust-green);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.trust-item .trust-number--gold {
  color: var(--gold);
}

.trust-item .trust-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.15rem;
}


/* --------------------------------------------------------------------------
   11. Sections — Varied Rhythm
   -------------------------------------------------------------------------- */

.section {
  padding: var(--space-xl) 0;
  position: relative;
}

.section--alt {
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg-warm) 100%);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section--primary {
  background: linear-gradient(145deg, #1e3a5f 0%, #264a73 60%, #1e3a5f 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

/* Subtle radial on primary sections */
.section--primary::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -10%;
  width: 50%;
  height: 160%;
  background: radial-gradient(ellipse at center, rgba(44, 82, 130, 0.25) 0%, transparent 60%);
  pointer-events: none;
}

.section--primary .container {
  position: relative;
  z-index: 1;
}

.section--primary h2,
.section--primary h3 {
  color: #ffffff;
}

.section--primary p {
  color: rgba(255, 255, 255, 0.88);
}

/* Section titles — decorative underline */
.section-title {
  text-align: center;
  margin-bottom: var(--space-xl);
  position: relative;
}

.section-title h2 {
  margin-bottom: 0.75rem;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

.section--primary .section-title h2::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.2) 100%);
}

.section-title .section-subtitle,
.section-subtitle {
  color: var(--text-light);
  font-size: 1.0625rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}

.section--primary .section-title .section-subtitle {
  color: rgba(255, 255, 255, 0.75);
}


/* --------------------------------------------------------------------------
   12. Territory Page Layout (Main + Sidebar)
   -------------------------------------------------------------------------- */

.territory-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.territory-main {
  min-width: 0;
}

.territory-sidebar {
  order: -1;
}


/* --------------------------------------------------------------------------
   13. Sidebar CTA
   -------------------------------------------------------------------------- */

.sidebar-cta {
  background: linear-gradient(180deg, var(--primary-light) 0%, #dfe8f3 100%);
  border-radius: var(--radius-lg);
  border-top: 4px solid var(--primary);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  position: relative;
}

.sidebar-cta .form-title {
  font-size: 1.25rem;
}

.sidebar-cta .form--consultation {
  background: var(--bg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.sidebar-cta .form--consultation::before {
  display: none;
}

.sidebar-cta .form-group input,
.sidebar-cta .form-group select,
.sidebar-cta .form-group textarea {
  background-color: var(--bg);
}


/* --------------------------------------------------------------------------
   14. Case Results — Big Numbers
   -------------------------------------------------------------------------- */

.case-result {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  padding: var(--space-lg) var(--space-md);
  border-bottom: 1px solid var(--border-light);
  transition: background-color var(--transition);
}

.case-result:hover {
  background-color: var(--bg-alt);
}

.case-result:last-child {
  border-bottom: none;
}

.case-result .case-amount {
  font-size: 2rem;
  font-weight: 800;
  color: var(--trust-green);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.case-result .case-type {
  font-weight: 600;
  color: var(--primary);
  font-size: 1.0625rem;
}

.case-result .case-details {
  font-size: 0.9375rem;
  color: var(--text-light);
  line-height: 1.6;
}

.case-disclaimer {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-style: italic;
  padding: var(--space-sm) var(--space-md);
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
  border-radius: 0 0 var(--radius) var(--radius);
}


/* --------------------------------------------------------------------------
   15. FAQ Accordion — Refined
   -------------------------------------------------------------------------- */

.faq-section {
  max-width: var(--content-width);
}

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

.faq-item:first-child {
  border-top: 1px solid var(--border-light);
}

.faq-item summary {
  padding: var(--space-md) var(--space-sm);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color var(--transition), background-color var(--transition);
  border-radius: var(--radius-sm);
  margin: 0 -0.25rem;
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--text-muted);
  border-radius: 50%;
  background: var(--bg-alt);
  flex-shrink: 0;
  margin-left: var(--space-sm);
  transition: all var(--transition);
}

.faq-item[open] summary::after {
  content: '\2212';
  background: var(--primary-light);
  color: var(--primary);
}

.faq-item summary:hover {
  color: var(--secondary);
}

.faq-item summary:hover::after {
  background: var(--primary-light);
  color: var(--primary);
}

.faq-item .faq-answer {
  padding: 0 var(--space-sm) var(--space-md);
  color: var(--text-light);
  font-size: 0.9375rem;
  line-height: 1.75;
}

/* Generic details/summary accordion (non-FAQ pages) */
details summary {
  cursor: pointer;
}


/* --------------------------------------------------------------------------
   16. Breadcrumbs
   -------------------------------------------------------------------------- */

.breadcrumbs {
  font-size: 0.8125rem;
  color: var(--text-muted);
  padding: var(--space-sm) 0;
  line-height: 1.4;
}

.breadcrumbs a {
  color: var(--secondary);
  text-decoration: none;
  transition: color var(--transition);
}

.breadcrumbs a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.breadcrumbs .separator {
  margin: 0 0.375rem;
  color: var(--border);
}

.breadcrumbs .current {
  color: var(--text-light);
  font-weight: 500;
}


/* --------------------------------------------------------------------------
   17. Disclaimer
   -------------------------------------------------------------------------- */

.disclaimer {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.6;
}


/* --------------------------------------------------------------------------
   18. Footer — Authoritative Structure
   -------------------------------------------------------------------------- */

.site-footer {
  background: #1e3a5f;
  color: rgba(255, 255, 255, 0.8);
  padding: var(--space-2xl) 0 0;
  font-size: 0.875rem;
  line-height: 1.65;
  position: relative;
}

/* Subtle top border accent */
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 40%, var(--gold) 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-col h4 {
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-xs);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

/* Gold accent mark under footer headings */
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.footer-col p {
  margin-bottom: var(--space-xs);
  color: rgba(255, 255, 255, 0.55);
}

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: #ffffff;
  text-decoration: none;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  display: inline-block;
  padding: 0.1rem 0;
  position: relative;
}

.footer-col ul li a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
  transition: width var(--transition);
}

.footer-col ul li a:hover::before {
  width: 100%;
}

.footer-col .footer-phone {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.02em;
  display: inline-block;
  margin-top: 0.25rem;
}

/* Footer Disclaimer */
.footer-disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: var(--space-lg) 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.8;
}

.footer-disclaimer p {
  margin-bottom: var(--space-xs);
  color: rgba(255, 255, 255, 0.35);
}

/* Footer Bottom Bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: var(--space-md) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.01em;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.4);
  transition: color var(--transition);
}

.footer-bottom a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.footer-links {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.footer-links a {
  position: relative;
}

.footer-links a:not(:last-child)::after {
  content: '\00B7';
  margin-left: var(--space-sm);
  color: rgba(255, 255, 255, 0.15);
}


/* --------------------------------------------------------------------------
   19. Sticky Mobile Call Bar
   -------------------------------------------------------------------------- */

.mobile-call-bar {
  display: none;
}


/* --------------------------------------------------------------------------
   20. Author Byline (E-E-A-T)
   -------------------------------------------------------------------------- */

.author-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  padding: 0.875rem 0;
  border-bottom: 2px solid var(--border-light);
  margin-bottom: var(--space-lg);
  font-size: 0.85rem;
  color: var(--text-light);
}

.byline-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.byline-icon {
  flex-shrink: 0;
  color: var(--text-muted);
}

.byline-sep {
  color: var(--border);
  display: none;
}

.author-byline a {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 500;
}

.author-byline a:hover {
  text-decoration: underline;
}


/* --------------------------------------------------------------------------
   21. Table of Contents — Desktop (sticky sidebar)
   -------------------------------------------------------------------------- */

.toc-desktop {
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  margin-bottom: var(--space-md);
  display: none;
  box-shadow: var(--shadow-sm);
}

.toc-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.625rem;
}

.toc-desktop ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-desktop li {
  margin: 0;
}

.toc-desktop a {
  display: block;
  padding: 0.375rem 0;
  font-size: 0.85rem;
  color: var(--text-light);
  text-decoration: none;
  border-left: 2px solid transparent;
  padding-left: 0.875rem;
  transition: all 0.15s;
}

.toc-desktop a:hover,
.toc-desktop a.active {
  color: var(--primary);
  border-left-color: var(--primary);
  background: rgba(26, 54, 93, 0.02);
}

/* -- Table of Contents — Mobile (collapsible) -- */
.toc-mobile {
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  margin-bottom: var(--space-md);
}

.toc-mobile summary {
  padding: 0.75rem 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--primary);
}

.toc-mobile ul {
  list-style: none;
  padding: 0 1rem 0.75rem;
  margin: 0;
}

.toc-mobile li {
  margin: 0;
}

.toc-mobile a {
  display: block;
  padding: 0.35rem 0;
  font-size: 0.85rem;
  color: var(--text-light);
  text-decoration: none;
  transition: color var(--transition);
}

.toc-mobile a:hover {
  color: var(--primary);
}


/* --------------------------------------------------------------------------
   22. Key Facts Infobox
   -------------------------------------------------------------------------- */

.key-facts {
  background: linear-gradient(135deg, var(--bg-alt) 0%, var(--bg-warm) 100%);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
  box-shadow: var(--shadow-sm);
}

.key-facts-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.key-facts-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.key-facts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.875rem;
}

.key-fact-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.key-fact-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.key-fact-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}


/* --------------------------------------------------------------------------
   23. Exposure Site Cards (enhanced)
   -------------------------------------------------------------------------- */

.exposure-card {
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-bottom: var(--space-md);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}

.exposure-card:hover {
  box-shadow: var(--shadow-md);
}

.exposure-card h3 {
  color: var(--primary);
  font-size: 1.125rem;
  margin-bottom: 0.875rem;
  padding-bottom: 0.625rem;
  border-bottom: 1px solid var(--border-light);
}

.exposure-card-meta dl {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0.3rem 1rem;
  margin: 0 0 0.875rem;
  font-size: 0.9rem;
}

.exposure-card-meta dt {
  font-weight: 600;
  color: var(--text-light);
  font-size: 0.85rem;
}

.exposure-card-meta dd {
  margin: 0;
  color: var(--text);
}

.exposure-card-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.65;
}

.exposure-status {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.exposure-status--operating { background: rgba(56, 161, 105, 0.1); color: var(--trust-green); }
.exposure-status--closed { background: rgba(160, 174, 192, 0.12); color: var(--text-light); }
.exposure-status--superfund { background: rgba(197, 48, 48, 0.08); color: var(--accent); }
.exposure-status--demolished { background: rgba(160, 174, 192, 0.08); color: var(--text-muted); }


/* --------------------------------------------------------------------------
   24. Next Steps Bridge CTA
   -------------------------------------------------------------------------- */

.next-steps {
  background: linear-gradient(135deg, var(--bg-alt) 0%, var(--bg-warm) 100%);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  margin: var(--space-xl) 0;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.next-steps h2 {
  margin-bottom: 0.5rem;
}

.next-steps-intro {
  color: var(--text-light);
  margin-bottom: var(--space-lg);
}

.next-steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}

.next-step-card {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: var(--space-md) var(--space-lg);
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: var(--shadow-sm);
}

.next-step-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

.next-step-card svg {
  flex-shrink: 0;
  color: var(--primary);
  margin-top: 0.15rem;
}

.next-step-card strong {
  display: block;
  color: var(--primary);
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.next-step-card span {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.55;
}

.next-step-card--cta {
  border-color: rgba(197, 48, 48, 0.2);
  background: linear-gradient(135deg, var(--bg) 0%, rgba(197, 48, 48, 0.02) 100%);
}

.next-step-card--cta strong { color: var(--accent); }
.next-step-card--cta svg { color: var(--accent); }

.next-step-card--phone {
  border-color: rgba(39, 103, 73, 0.2);
  background: linear-gradient(135deg, var(--bg) 0%, rgba(39, 103, 73, 0.02) 100%);
}

.next-step-card--phone strong { color: var(--trust-green); }
.next-step-card--phone svg { color: var(--trust-green); }


/* --------------------------------------------------------------------------
   25. References Section
   -------------------------------------------------------------------------- */

.references-section {
  border-top: 2px solid var(--border-light);
  padding-top: var(--space-lg);
  margin-top: var(--space-xl);
}

.references-section h2 {
  font-size: 1.125rem;
  color: var(--text-light);
}

.ref-list {
  padding-left: 1.5rem;
  font-size: 0.8125rem;
  color: var(--text-light);
  line-height: 1.9;
  list-style: decimal;
}

.ref-list li {
  margin-bottom: 0.25rem;
  padding-left: 0.25rem;
}

.ref-list a {
  color: var(--secondary);
  text-decoration: none;
  word-break: break-word;
}

.ref-list a:hover {
  text-decoration: underline;
}

.ref-hidden {
  display: none;
}

.ref-toggle {
  background: none;
  border: none;
  color: var(--secondary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.5rem 0;
  transition: color var(--transition);
}

.ref-toggle:hover {
  color: var(--primary);
  text-decoration: underline;
}

.references-expandable[open] .ref-hidden {
  display: list-item;
}

.references-expandable summary {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary);
  cursor: pointer;
  padding: 0.5rem 0;
  transition: color var(--transition);
}

.references-expandable summary:hover {
  color: var(--primary);
}


/* --------------------------------------------------------------------------
   26. Related Locations
   -------------------------------------------------------------------------- */

.related-locations {
  background: linear-gradient(135deg, var(--bg-alt) 0%, var(--bg-warm) 100%);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-top: var(--space-xl);
  border: 1px solid var(--border-light);
}

.related-locations h2 {
  font-size: 1.125rem;
  margin-bottom: 0.875rem;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.related-link {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: all 0.15s;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.related-link:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}


/* --------------------------------------------------------------------------
   27. Freshness Date
   -------------------------------------------------------------------------- */

.content-date {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

.content-date time {
  font-weight: 500;
}


/* --------------------------------------------------------------------------
   28. Practice Areas List
   -------------------------------------------------------------------------- */

.practice-list {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
}

.practice-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg);
  background-color: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.practice-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  opacity: 0;
  transition: opacity var(--transition);
}

.practice-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--secondary);
  transform: translateY(-1px);
}

.practice-item:hover::before {
  opacity: 1;
}

.practice-item h3 a {
  color: var(--primary);
  text-decoration: none;
}

.practice-item h3 a:hover {
  color: var(--secondary);
  text-decoration: underline;
}


/* --------------------------------------------------------------------------
   29. Locations Grid
   -------------------------------------------------------------------------- */

.locations-grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
}


/* --------------------------------------------------------------------------
   30. Attorney Grid
   -------------------------------------------------------------------------- */

.attorney-grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
}


/* --------------------------------------------------------------------------
   31. Prose Content (long-form text)
   -------------------------------------------------------------------------- */

.prose {
  max-width: var(--content-width);
}

.prose h2 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-light);
}

.prose h3 {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-xs);
}

.prose h4 {
  margin-top: var(--space-md);
}

.prose p {
  margin-bottom: var(--space-sm);
  line-height: 1.75;
}

.prose ul,
.prose ol {
  margin-bottom: var(--space-md);
  padding-left: 1.5rem;
}

.prose ul {
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
  color: var(--text-light);
}

.prose li::marker {
  color: var(--primary);
}

.prose a {
  color: var(--secondary);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(44, 82, 130, 0.3);
  transition: text-decoration-color var(--transition), color var(--transition);
}

.prose a:hover {
  color: var(--primary-dark);
  text-decoration-color: var(--primary-dark);
}

.prose img {
  border-radius: var(--radius);
  margin: var(--space-md) 0;
  box-shadow: var(--shadow-sm);
}

.prose table {
  margin: var(--space-md) 0;
}


/* --------------------------------------------------------------------------
   32. Tables
   -------------------------------------------------------------------------- */

.table-wrap {
  overflow-x: auto;
  margin-bottom: var(--space-md);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.data-table th,
.data-table td {
  padding: 0.875rem 1.125rem;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

.data-table th {
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: sticky;
  top: 0;
}

.data-table th:first-child {
  border-radius: var(--radius) 0 0 0;
}

.data-table th:last-child {
  border-radius: 0 var(--radius) 0 0;
}

.data-table tr:nth-child(even) {
  background-color: var(--bg-alt);
}

.data-table tr:hover {
  background-color: var(--primary-light);
}

.data-table td {
  vertical-align: top;
}


/* --------------------------------------------------------------------------
   33. Utility Classes
   -------------------------------------------------------------------------- */

.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }
.mt-4 { margin-top: var(--space-xl); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }
.mb-4 { margin-bottom: var(--space-xl); }

.py-1 { padding-top: var(--space-sm); padding-bottom: var(--space-sm); }
.py-2 { padding-top: var(--space-md); padding-bottom: var(--space-md); }
.py-3 { padding-top: var(--space-lg); padding-bottom: var(--space-lg); }
.py-4 { padding-top: var(--space-xl); padding-bottom: var(--space-xl); }

.px-1 { padding-left: var(--space-sm); padding-right: var(--space-sm); }
.px-2 { padding-left: var(--space-md); padding-right: var(--space-md); }

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}


/* --------------------------------------------------------------------------
   34. Animations
   -------------------------------------------------------------------------- */

@keyframes phone-ring {
  0%   { transform: rotate(0deg); }
  10%  { transform: rotate(14deg); }
  20%  { transform: rotate(-10deg); }
  30%  { transform: rotate(10deg); }
  40%  { transform: rotate(-6deg); }
  50%  { transform: rotate(4deg); }
  60%  { transform: rotate(0deg); }
  100% { transform: rotate(0deg); }
}

.phone-icon--animated {
  display: inline-block;
  animation: phone-ring 2.5s ease-in-out infinite;
  transform-origin: center center;
}


/* --------------------------------------------------------------------------
   35. Responsive — Tablet (768px+)
   -------------------------------------------------------------------------- */

@media (min-width: 768px) {

  /* Typography dramatic scale-up */
  h1 { font-size: 2.75rem; }
  h2 { font-size: 1.875rem; }
  h3 { font-size: 1.375rem; }

  /* Section spacing */
  .section { padding: var(--space-xl) 0; }

  /* Hero */
  .hero { padding: var(--space-2xl) 0 var(--space-xl); }
  .hero h1 { font-size: 2.75rem; }
  .hero--territory h1 { font-size: 2.125rem; }

  /* Hero split becomes side by side */
  .hero-split {
    flex-direction: row;
    align-items: center;
    gap: var(--space-xl);
  }

  .hero-content {
    flex: 1.2;
  }

  .hero-form {
    flex: 0 0 380px;
  }

  /* Trust bar numbers bigger on tablet */
  .trust-item .trust-number {
    font-size: 2.75rem;
  }

  /* Card grids */
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .locations-grid { grid-template-columns: repeat(2, 1fr); }
  .attorney-grid { grid-template-columns: repeat(2, 1fr); }
  .practice-list { grid-template-columns: repeat(2, 1fr); }

  /* Key facts */
  .key-facts-grid { grid-template-columns: repeat(3, 1fr); }

  /* Next steps */
  .next-steps-grid { grid-template-columns: repeat(3, 1fr); }

  /* Footer */
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  /* Territory sidebar order fix */
  .territory-sidebar { order: 0; }

  /* Byline separators visible */
  .byline-sep { display: inline; }

  /* Form row stays side by side */
  .form--consultation { padding: var(--space-lg); }

  /* Exposure card meta */
  .exposure-card-meta dl {
    grid-template-columns: 140px 1fr;
  }

  /* Case result amounts bigger */
  .case-result .case-amount {
    font-size: 2.25rem;
  }
}


/* --------------------------------------------------------------------------
   36. Responsive — Desktop (1024px+)
   -------------------------------------------------------------------------- */

@media (min-width: 1024px) {

  /* Typography final scale */
  h1 { font-size: 3rem; }
  h2 { font-size: 2rem; }

  /* Hero — full dramatic size */
  .hero {
    padding: var(--space-3xl) 0 var(--space-2xl);
  }

  .hero h1 {
    font-size: 3.25rem;
    letter-spacing: -0.035em;
  }

  .hero--territory {
    padding: var(--space-xl) 0 var(--space-lg);
  }

  .hero--territory h1 {
    font-size: 2.5rem;
  }

  .hero-split {
    gap: var(--space-2xl);
  }

  .hero-form {
    flex: 0 0 400px;
  }

  /* Header: desktop nav — horizontal */
  .nav-toggle,
  .nav-toggle-checkbox {
    display: none;
  }

  .nav-menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: static;
    width: auto;
    background: none;
    padding: 0;
    box-shadow: none;
    gap: 0;
    border-top: none;
  }

  .nav-menu > li > a {
    padding: 1.3rem 0.9rem;
    font-size: 0.875rem;
    border-left: none;
    position: relative;
  }

  .nav-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0.9rem;
    right: 0.9rem;
    height: 3px;
    background: #ffffff;
    border-radius: 2px 2px 0 0;
    transform: scaleX(0);
    transition: transform var(--transition);
  }

  /* Override the dropdown caret — restore it for .has-dropdown */
  .has-dropdown > a::after {
    content: '\25BE';
    position: static;
    height: auto;
    background: none;
    transform: none;
    margin-left: 0.375rem;
    font-size: 0.7rem;
    opacity: 0.6;
    border-radius: 0;
    display: inline;
    left: auto;
    right: auto;
    bottom: auto;
  }

  .nav-menu > li > a:hover::after,
  .nav-menu > li > a.active::after {
    transform: scaleX(1);
  }

  /* Dropdown caret shouldn't get the underline animation */
  .has-dropdown > a:hover::after,
  .has-dropdown > a.active::after {
    transform: none;
  }

  .nav-menu > li > a:hover,
  .nav-menu > li > a.active {
    background-color: transparent;
    text-decoration: none;
    color: #ffffff;
    border-left-color: transparent;
  }

  /* Desktop dropdowns: hover-based with smooth reveal */
  .has-dropdown {
    position: relative;
  }

  .has-dropdown > input[type="checkbox"] {
    display: none;
  }

  .nav-dropdown {
    display: block;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 250px;
    background: var(--primary-dark);
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25), 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: var(--space-xs) 0;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(4px);
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  }

  .has-dropdown:hover > .nav-dropdown,
  .has-dropdown:focus-within > .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }

  .nav-dropdown a {
    padding: 0.6rem var(--space-md);
    white-space: nowrap;
    font-size: 0.875rem;
    padding-left: var(--space-md);
  }

  .nav-dropdown a:hover {
    padding-left: calc(var(--space-md) + 0.2rem);
  }

  /* Territory layout: two columns */
  .territory-layout {
    grid-template-columns: 1fr var(--sidebar-width);
    gap: var(--space-xl);
  }

  .territory-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
  }

  /* TOC */
  .toc-desktop { display: block; }
  .toc-mobile { display: none; }

  /* Card grids */
  .card-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .card-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .locations-grid { grid-template-columns: repeat(3, 1fr); }
  .attorney-grid { grid-template-columns: repeat(3, 1fr); }

  /* Footer — 4-column structure */
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }

  /* Section generous spacing */
  .section { padding: var(--space-2xl) 0; }

  /* Trust bar — full stats feel */
  .trust-item .trust-number {
    font-size: 3.25rem;
  }
}


/* --------------------------------------------------------------------------
   37. Responsive — Large Desktop (1280px+)
   -------------------------------------------------------------------------- */

@media (min-width: 1280px) {

  .hero h1 {
    font-size: 3.5rem;
  }

  .container {
    padding-left: var(--space-lg);
    padding-right: var(--space-lg);
  }
}


/* --------------------------------------------------------------------------
   38. Responsive — Mobile Call Bar (below 768px)
   -------------------------------------------------------------------------- */

@media (max-width: 767px) {

  .mobile-call-bar {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: linear-gradient(135deg, #276749 0%, #1a4731 100%);
    box-shadow: 0 -3px 16px rgba(0, 0, 0, 0.25);
  }

  .mobile-call-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.0625rem;
    padding: 0.9rem var(--space-sm);
    letter-spacing: 0.02em;
  }

  .mobile-call-bar a:hover {
    text-decoration: none;
  }

  .mobile-call-bar .phone-icon--animated {
    font-size: 1.25rem;
  }

  /* Prevent footer overlap */
  body {
    padding-bottom: 72px;
  }

  /* Form row stacks on mobile */
  .form-row {
    flex-direction: column;
    gap: 0;
  }

  /* Hero adjustments */
  .hero {
    padding: var(--space-xl) 0 var(--space-lg);
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-form {
    max-width: 100%;
  }

  /* Section padding tighter on mobile */
  .section {
    padding: var(--space-lg) 0;
  }

  /* Trust numbers scale down gracefully */
  .trust-item .trust-number {
    font-size: 2rem;
  }

  /* Case amounts */
  .case-result .case-amount {
    font-size: 1.625rem;
  }

  /* Exposure site card dl stacks */
  .card--exposure-site dl {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .card--exposure-site dt {
    margin-top: 0.5rem;
  }

  .card--exposure-site dt:first-child {
    margin-top: 0;
  }

  .exposure-card-meta dl {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .exposure-card-meta dt {
    margin-top: 0.5rem;
  }

  .exposure-card-meta dt:first-child {
    margin-top: 0;
  }

  /* Container tighter padding on mobile */
  .container {
    padding-left: var(--space-sm);
    padding-right: var(--space-sm);
  }

  /* Cards reduced padding */
  .card {
    padding: var(--space-md);
  }

  .form--consultation {
    padding: var(--space-md);
  }

  /* Next steps card padding */
  .next-step-card {
    padding: var(--space-sm) var(--space-md);
  }
}


/* --------------------------------------------------------------------------
   39. Print Styles
   -------------------------------------------------------------------------- */

@media print {
  *,
  *::before,
  *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  body {
    font-size: 11pt;
    line-height: 1.5;
    padding-bottom: 0 !important;
    font-family: 'Georgia', 'Times New Roman', serif;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #555 !important;
  }

  a[href^="#"]::after,
  a[href^="javascript"]::after,
  a[href^="tel"]::after {
    content: "";
  }

  .site-header,
  .nav-bar,
  .utility-bar,
  .site-footer,
  .mobile-call-bar,
  .sidebar-cta,
  .form--consultation,
  .btn,
  .trust-bar,
  .nav-cta,
  .hero-form,
  .hero-actions,
  .next-steps,
  .toc-mobile,
  .toc-desktop {
    display: none !important;
  }

  .hero {
    padding: 1rem 0;
    border-bottom: 2px solid #000;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .container {
    max-width: 100%;
    padding: 0;
  }

  .territory-layout {
    display: block;
  }

  .territory-sidebar {
    display: none !important;
  }

  h1, h2, h3, h4 {
    page-break-after: avoid;
  }

  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }

  p, li {
    orphans: 3;
    widows: 3;
  }

  .card-grid,
  .locations-grid,
  .attorney-grid,
  .practice-list {
    display: block;
  }

  .card,
  .practice-item {
    border: 1px solid #ccc !important;
    margin-bottom: 0.5rem;
    page-break-inside: avoid;
  }
}


/* --------------------------------------------------------------------------
   40. Focus & Accessibility
   -------------------------------------------------------------------------- */

:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* Remove focus outline for mouse users */
:focus:not(:focus-visible) {
  outline: none;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--primary);
  color: #ffffff;
  padding: 0.5rem 1rem;
  z-index: 10000;
  transition: top var(--transition);
}

.skip-link:focus {
  top: 0;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .phone-icon--animated {
    animation: none;
  }
}


/* ==========================================================================
   HOMEPAGE COMPONENTS — All classes used by index.php
   ========================================================================== */

/* -- Container narrow variant -- */
.container--narrow { max-width: 720px; margin-left: auto; margin-right: auto; padding: 0 var(--space-sm); }

/* -- Section header -- */
.section-header { text-align: center; margin-bottom: var(--space-xl); }
.section-header h2 { margin-bottom: 0.5rem; }
.section-subtitle--light { color: rgba(255,255,255,0.8); }

/* -- Hero split layout -- */
.hero-split { display: grid; grid-template-columns: 1fr; gap: var(--space-lg); align-items: center; }
@media (min-width: 1024px) { .hero-split { grid-template-columns: 1fr 440px; } }

.hero-content h1 { color: var(--heading-color); }
.hero-badges { display: flex; flex-wrap: wrap; gap: 0.75rem; list-style: none; padding: 0; margin: var(--space-md) 0; }
.hero-badge { display: inline-flex; align-items: center; gap: 0.4rem; color: rgba(255,255,255,0.9); font-size: 0.9rem; font-weight: 500; }
.hero-badge svg { color: rgba(255,255,255,0.6); flex-shrink: 0; }
.hero-phone-btn { margin-top: 0.5rem; display: inline-flex; align-items: center; gap: 0.5rem; }

/* -- Hero form card (frosted glass) -- */
/* Hero form — clean white card with soft shadow on light background */
.hero-form { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: var(--space-lg); box-shadow: 0 4px 24px rgba(0,0,0,0.06), 0 1px 4px rgba(0,0,0,0.04); }
.hero-form__header { margin-bottom: var(--space-md); text-align: center; }
.hero-form__title { color: var(--primary); font-size: 1.3rem; font-weight: 700; margin: 0 0 0.25rem; }
.hero-form__subtitle { color: var(--text-light); font-size: 0.9rem; margin: 0; }
.hero-form .form-label { color: var(--text); }
.hero-form .form-group input,
.hero-form .form-group select { background: #fff; border: 1px solid var(--border); color: var(--text); }
.hero-form .form-group input:focus,
.hero-form .form-group select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(43,108,176,0.1); }
.hero-form-trust { display: flex; justify-content: center; gap: 1.5rem; margin-top: 0.75rem; font-size: 0.8rem; color: var(--text-muted); }
.hero-form-trust span { display: inline-flex; align-items: center; gap: 0.3rem; }
.hero-form-trust svg { flex-shrink: 0; color: var(--trust-green); }

/* -- Form labels (global) -- */
.form-label { display: block; font-weight: 600; font-size: 0.875rem; margin-bottom: 0.3rem; color: var(--text); }
.form-label--light { color: rgba(255,255,255,0.85); }

/* -- Social proof bar -- */
.social-proof-bar { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: var(--space-md) 0; }
.social-proof-bar .container { text-align: center; }
.social-proof-bar__heading { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-muted); margin: 0 0 0.75rem; }
.social-proof-bar__logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2rem; list-style: none; padding: 0; margin: 0; }
.social-proof-bar__item { display: flex; align-items: center; }
.social-proof-bar__badge { font-size: 0.85rem; font-weight: 700; color: var(--text-muted); letter-spacing: 0.02em; opacity: 0.6; transition: opacity 0.2s; }
.social-proof-bar__badge:hover { opacity: 1; }

/* -- Card featured (full-width practice area) -- */
.card--featured { display: block; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: #fff; border-radius: 12px; padding: var(--space-xl); margin-bottom: var(--space-md); text-decoration: none; transition: transform 0.2s, box-shadow 0.2s; box-shadow: 0 4px 20px rgba(26,54,93,0.3); }
.card--featured:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(26,54,93,0.4); color: #fff; text-decoration: none; }
.card--featured__body { max-width: 680px; }
.card__eyebrow { display: inline-block; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); margin-bottom: 0.5rem; }
.card--featured__title { font-size: 1.5rem; font-weight: 800; margin-bottom: 0.75rem; color: #fff; }
.card--featured__text { font-size: 1rem; line-height: 1.6; color: rgba(255,255,255,0.85); margin-bottom: 1rem; }
.card__link { font-weight: 600; font-size: 0.9rem; color: var(--secondary); }
.card--featured .card__link { color: var(--gold); }

/* -- Card grid 2x2 -- */
.card-grid--2x2 { display: grid; grid-template-columns: 1fr; gap: var(--space-md); }
@media (min-width: 768px) { .card-grid--2x2 { grid-template-columns: repeat(2, 1fr); } }

/* -- Tool cards with colored borders -- */
.card--tool { border-left: 4px solid var(--border); }
.card--tool-green { border-left-color: var(--trust-green); }
.card--tool-navy { border-left-color: var(--primary); }
.card--tool-gold { border-left-color: var(--gold); }
.card--tool-red { border-left-color: var(--accent); }
.card__link--green { color: var(--trust-green); }
.card__link--navy { color: var(--primary); }
.card__link--gold { color: var(--gold); }
.card__link--red { color: var(--accent); }

/* -- Why Whitman asymmetric grid -- */
.why-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-md); margin-bottom: var(--space-md); }
@media (min-width: 768px) { .why-grid { grid-template-columns: 1.2fr 1fr; } }
.why-grid__primary { display: flex; flex-direction: column; justify-content: center; }
.why-grid__secondary { display: flex; flex-direction: column; gap: var(--space-md); }
.why-grid__stat { margin-top: var(--space-md); padding-top: var(--space-md); border-top: 1px solid var(--border); }
.why-grid__stat-number { display: block; font-size: 2.5rem; font-weight: 800; color: var(--trust-green); line-height: 1; }
.why-grid__stat-label { display: block; font-size: 0.9rem; color: var(--text-light); margin-top: 0.25rem; }
.why-empathy { text-align: center; }
.why-empathy h3 { color: var(--heading-color); }

/* -- Results showcase -- */
.results-showcase { display: grid; grid-template-columns: 1fr; gap: var(--space-lg); }
@media (min-width: 768px) { .results-showcase { grid-template-columns: 1fr 1fr; } }
.results-showcase__featured { background: linear-gradient(135deg, #f0faf4 0%, #e6f7ed 100%); border: 1px solid rgba(39,103,73,0.15); border-radius: 12px; padding: var(--space-xl); display: flex; flex-direction: column; justify-content: center; }
.results-showcase__featured .results-showcase__amount { font-size: 3rem; font-weight: 800; color: var(--trust-green); line-height: 1; display: block; }
.results-showcase__grid { display: flex; flex-direction: column; gap: var(--space-md); }
.results-showcase__item { padding: var(--space-md); background: var(--bg); border: 1px solid var(--border); border-radius: 8px; }
.results-showcase__amount { font-size: 1.75rem; font-weight: 800; color: var(--trust-green); display: block; line-height: 1.1; }
.results-showcase__type { font-size: 0.9rem; font-weight: 600; color: var(--primary); display: block; margin: 0.25rem 0 0.5rem; }
.results-showcase__desc { font-size: 0.875rem; color: var(--text-light); line-height: 1.5; margin: 0; }
.results-disclaimer { text-align: center; font-size: 0.8rem; color: var(--text-muted); font-style: italic; margin-top: var(--space-md); }

/* -- Inline form (horizontal on desktop) -- */
.form--inline { max-width: 900px; margin: 0 auto; }
.form--inline__fields { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 768px) { .form--inline__fields { flex-direction: row; align-items: flex-end; } .form--inline__fields .form-group { flex: 1; margin-bottom: 0; } .form--inline__fields .btn { flex-shrink: 0; } }
.form--inline__phone { text-align: center; margin-top: 0.75rem; font-size: 0.9rem; color: rgba(255,255,255,0.7); }
.form--inline__phone a { color: #fff; font-weight: 700; text-decoration: none; }
.form--inline__phone a:hover { text-decoration: underline; }

/* -- Form card (on dark background) -- */
.form--card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: var(--space-lg); max-width: 700px; margin: 0 auto; }
.form--card .form-label--light { color: rgba(255,255,255,0.85); }
.form--card input, .form--card select, .form--card textarea { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); color: #fff; }
.form--card input::placeholder, .form--card textarea::placeholder { color: rgba(255,255,255,0.4); }
.form--card input:focus, .form--card select:focus, .form--card textarea:focus { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.12); }
.form--card select option { color: var(--text); background: #fff; }
.form--card__footnote { text-align: center; margin-top: 0.75rem; font-size: 0.85rem; color: rgba(255,255,255,0.6); }

/* -- Timeline (How It Works steps) -- */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr; gap: 0; position: relative; max-width: 700px; margin: 0 auto; }
.timeline__step { display: grid; grid-template-columns: 60px 1fr; gap: var(--space-md); padding: var(--space-md) 0; position: relative; }
.timeline__step:not(:last-child) { border-bottom: 1px solid var(--border); }
.timeline__marker { display: flex; align-items: flex-start; justify-content: center; padding-top: 0.25rem; }
.timeline__number { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: var(--primary); color: #fff; font-size: 1.25rem; font-weight: 800; border-radius: 50%; box-shadow: 0 2px 8px rgba(26,54,93,0.3); }
.timeline__content { padding-top: 0.25rem; }
.timeline__title { font-size: 1.125rem; font-weight: 700; color: var(--heading-color); margin-bottom: 0.35rem; }
.timeline__content p { font-size: 0.95rem; color: var(--text-light); line-height: 1.6; margin: 0; }
@media (min-width: 768px) {
  .timeline { grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
  .timeline__step { grid-template-columns: 1fr; text-align: center; padding: 0; border-bottom: none; }
  .timeline__marker { justify-content: center; margin-bottom: var(--space-sm); }
  .timeline__step:not(:last-child)::after { content: ''; position: absolute; top: 24px; left: calc(50% + 30px); width: calc(100% - 60px); height: 2px; background: var(--border); }
}


/* ==========================================================================
   HOMEPAGE CRO COMPONENTS (v3 — bright, warm, conversion-focused)
   ========================================================================== */

/* Section heading — clean, centered, no decoration */
.section-heading { text-align: center; font-size: 1.75rem; font-weight: 700; color: var(--heading-color); margin-bottom: 0.5rem; }
.section-sub { text-align: center; color: var(--text-light); font-size: 1.05rem; margin-bottom: 2rem; max-width: 600px; margin-left: auto; margin-right: auto; }

/* Warm section — subtle warm background */
.section--warm { background: #faf9f7; }

/* Hero form — white card variant for light hero */
.hero-form-title { color: var(--primary); font-size: 1.25rem; font-weight: 700; margin: 0 0 0.2rem; text-align: center; }
.hero-form-sub { color: var(--text-light); font-size: 0.875rem; margin: 0 0 1.25rem; text-align: center; }
.hero-form-trust { text-align: center; margin-top: 0.75rem; font-size: 0.8rem; color: var(--text-muted); display: flex; align-items: center; justify-content: center; gap: 0.35rem; }
.hero-form-trust svg { color: var(--trust-green); flex-shrink: 0; }
.hero-phone-btn { margin-top: 1rem; display: inline-flex; align-items: center; gap: 0.4rem; border-color: var(--primary); color: var(--primary); }
.hero-phone-btn:hover { background: var(--primary); color: #fff; text-decoration: none; }

/* Results showcase */
.results-showcase { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .results-showcase { grid-template-columns: 1fr 1fr; } }
.results-featured { background: #f0faf4; border: 1px solid rgba(47,133,90,0.15); border-radius: 12px; padding: 2rem; display: flex; flex-direction: column; justify-content: center; }
.results-amount-lg { font-size: 3rem; font-weight: 800; color: var(--trust-green); line-height: 1; display: block; }
.results-type { font-size: 1rem; font-weight: 600; color: var(--primary); display: block; margin: 0.5rem 0; }
.results-featured p { font-size: 0.95rem; color: var(--text-light); line-height: 1.6; margin: 0; }
.results-grid { display: flex; flex-direction: column; gap: 1rem; }
.results-item { padding: 1.25rem; border: 1px solid var(--border); border-radius: 8px; background: #fff; }
.results-amount { font-size: 1.5rem; font-weight: 800; color: var(--trust-green); display: block; line-height: 1.1; }
.results-note { text-align: center; font-size: 0.8rem; color: var(--text-muted); font-style: italic; margin-bottom: 1rem; }

/* Practice area grid — clean, minimal cards */
.practice-grid { display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
@media (min-width: 768px) { .practice-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .practice-grid { grid-template-columns: repeat(3, 1fr); } }
.practice-card { display: block; padding: 1.5rem; background: #fff; border: 1px solid var(--border); border-radius: 10px; text-decoration: none; color: var(--text); transition: border-color 0.2s, box-shadow 0.2s; }
.practice-card:hover { border-color: var(--accent); box-shadow: 0 2px 12px rgba(43,108,176,0.08); text-decoration: none; }
.practice-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--heading-color); margin: 0 0 0.4rem; }
.practice-card p { font-size: 0.9rem; color: var(--text-light); line-height: 1.6; margin: 0; }

/* Tools grid — clean interactive cards */
.tools-grid { display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
@media (min-width: 768px) { .tools-grid { grid-template-columns: repeat(2, 1fr); } }
.tool-card { display: block; padding: 1.25rem 1.5rem; background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: 8px; text-decoration: none; color: var(--text); transition: border-color 0.2s, box-shadow 0.2s; }
.tool-card:hover { box-shadow: 0 2px 12px rgba(0,0,0,0.06); text-decoration: none; }
.tool-card strong { display: block; font-size: 1rem; color: var(--primary); margin-bottom: 0.25rem; }
.tool-card span { font-size: 0.875rem; color: var(--text-light); }

/* Process steps — vertical timeline */
.process-steps { display: flex; flex-direction: column; gap: 0; }
.process-step { display: flex; gap: 1.25rem; padding: 1.25rem 0; border-bottom: 1px solid var(--border); }
.process-step:last-child { border-bottom: none; }
.process-number { width: 44px; height: 44px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--primary); color: #fff; font-size: 1.1rem; font-weight: 800; border-radius: 50%; }
.process-step h3 { font-size: 1.05rem; font-weight: 700; color: var(--heading-color); margin: 0 0 0.3rem; }
.process-step p { font-size: 0.9rem; color: var(--text-light); line-height: 1.6; margin: 0; }
