/* ==========================================================================
   VANGUARD & STERLING — PREMIER LEGAL PRACTICE DESIGN SYSTEM
   Modern, Editorial, High-Converting Lead Gen & Showcase Architecture
   ========================================================================== */

:root {
  /* Color Tokens */
  --bg-darkest: #06090F;
  --bg-primary: #0A0F1D;
  --bg-surface: #0F172A;
  --bg-surface-elevated: #152037;
  --bg-glass: rgba(15, 23, 42, 0.75);
  --bg-glass-hover: rgba(21, 32, 55, 0.85);

  --gold-primary: #C5A059;
  --gold-light: #E7C986;
  --gold-dark: #977838;
  --gold-gradient: linear-gradient(135deg, #F3E5AB 0%, #D4AF37 50%, #997938 100%);
  --gold-glow: rgba(197, 160, 89, 0.25);

  --text-main: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-gold: #D4AF37;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(212, 175, 55, 0.35);
  --border-gold-solid: #C5A059;

  --status-success: #10B981;
  --status-danger: #EF4444;

  /* Typography */
  --font-serif: 'Cinzel', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Elevation & Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-gold: 0 8px 30px rgba(212, 175, 55, 0.15);

  /* Layout */
  --container-max: 1240px;
  --container-sm: 860px;
  --header-height: 80px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg-darkest);
  color: var(--text-main);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

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

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

/* Ambient Subtle Lighting Orbs */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.4;
}

.glow-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.18) 0%, transparent 70%);
  top: -100px;
  right: -100px;
}

.glow-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(21, 32, 55, 0.6) 0%, transparent 70%);
  bottom: 10%;
  left: -200px;
}

/* Container Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-sm {
  max-width: var(--container-sm);
}

.flex-align {
  display: flex;
  align-items: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }

.text-center { text-align: center; }
.text-gold { color: var(--gold-light); }
.text-muted { color: var(--text-muted); }
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.font-semibold { font-weight: 600; }
.font-mono { font-family: monospace; }
.uppercase { text-transform: uppercase; }
.tracking-wider { letter-spacing: 0.08em; }
.full-width { width: 100%; }
.mt-1 { margin-top: 0.25rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-8 { margin-top: 2rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }

.gold-gradient-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* ==========================================================================
   Header & Top Hotline Bar
   ========================================================================== */
.top-legal-bar {
  background: #04060A;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0.45rem 0;
}

.status-indicator {
  width: 7px;
  height: 7px;
  background-color: var(--status-success);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px var(--status-success);
  animation: pulseStatus 2s infinite;
}

@keyframes pulseStatus {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.divider {
  color: rgba(255, 255, 255, 0.15);
}

.hotline-link {
  color: var(--text-main);
  font-weight: 500;
}
.hotline-link:hover {
  color: var(--gold-light);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: rgba(10, 15, 29, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.logo-mark {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  color: #0A0F1D;
  background: var(--gold-gradient);
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 1.05rem;
  color: var(--text-main);
}

.brand-sub {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: var(--gold-primary);
  font-weight: 500;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover {
  color: var(--gold-light);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gold-primary);
  transition: width var(--transition-fast);
}

.nav-link:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* ==========================================================================
   Buttons & Interactive Elements
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--gold-gradient);
  color: #06090F;
  border-color: var(--gold-light);
  box-shadow: 0 4px 16px rgba(197, 160, 89, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.45);
  filter: brightness(1.05);
}

.btn-outline {
  background: transparent;
  border-color: var(--border-gold);
  color: var(--gold-light);
}

.btn-outline:hover {
  background: rgba(197, 160, 89, 0.1);
  border-color: var(--gold-light);
  color: #FFFFFF;
}

.btn-glass {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--text-main);
  backdrop-filter: blur(8px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}

.btn-ghost:hover {
  color: var(--text-main);
}

.btn-lg {
  padding: 0.9rem 1.85rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.8rem;
}

.icon-xs { width: 14px; height: 14px; }
.icon-sm { width: 18px; height: 18px; }
.icon-gold { color: var(--gold-primary); }

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 5rem 0 6rem 0;
  background-image: linear-gradient(to bottom, rgba(6, 9, 15, 0.75), rgba(10, 15, 29, 0.95)), 
                    url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1920&q=85');
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(212, 175, 55, 0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 960px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-gold);
  border-radius: 999px;
  padding: 0.4rem 1.15rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gold-light);
  margin-bottom: 1.75rem;
  backdrop-filter: blur(10px);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 780px;
  margin-bottom: 2.5rem;
}

.hero-trust-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-top: 4.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.trust-icon {
  width: 28px;
  height: 28px;
  color: var(--gold-primary);
  flex-shrink: 0;
}

.trust-item strong {
  display: block;
  font-size: 0.875rem;
  color: var(--text-main);
  line-height: 1.2;
}

.trust-item small {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Stats / Numbers Section
   ========================================================================== */
.stats-section {
  padding: 3.5rem 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.stat-card {
  padding: 1.5rem;
  border-left: 2px solid var(--gold-primary);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  transition: transform var(--transition-normal);
}

.stat-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.04);
}

.stat-number-wrapper {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  color: var(--gold-light);
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.stat-desc {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ==========================================================================
   Case Evaluation Wizard (Lead Gen Engine)
   ========================================================================== */
.evaluator-section {
  padding: 6.5rem 0;
  position: relative;
  background: linear-gradient(180deg, var(--bg-darkest) 0%, var(--bg-primary) 100%);
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.wizard-container {
  max-width: 840px;
  margin: 0 auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  box-shadow: var(--shadow-lg), var(--shadow-gold);
  position: relative;
}

.wizard-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3rem;
  position: relative;
}

.step-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
}

.step-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-darkest);
  border: 2px solid var(--border-subtle);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all var(--transition-normal);
}

.step-indicator.active .step-circle {
  border-color: var(--gold-primary);
  background: var(--gold-gradient);
  color: #06090F;
  box-shadow: 0 0 16px var(--gold-glow);
}

.step-indicator.completed .step-circle {
  border-color: var(--gold-primary);
  background: var(--gold-primary);
  color: #06090F;
}

.step-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.step-indicator.active .step-label {
  color: var(--gold-light);
}

.step-line {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 0.75rem;
  margin-bottom: 1.5rem;
  transition: background var(--transition-normal);
}

.step-line.active {
  background: var(--gold-primary);
}

.wizard-step {
  display: none;
  animation: fadeInStep 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.wizard-step.active {
  display: block;
}

@keyframes fadeInStep {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.wizard-question {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 1.75rem;
  color: var(--text-main);
}

/* Category Grid */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.category-card {
  cursor: pointer;
  position: relative;
}

.category-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.card-inner {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  transition: all var(--transition-normal);
  height: 100%;
}

.category-card:hover .card-inner {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(212, 175, 55, 0.4);
}

.category-card input:checked + .card-inner {
  background: rgba(197, 160, 89, 0.12);
  border-color: var(--gold-primary);
  box-shadow: 0 0 20px rgba(197, 160, 89, 0.2);
}

.category-icon {
  width: 28px;
  height: 28px;
  color: var(--gold-primary);
  margin-bottom: 0.85rem;
}

.card-inner h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--text-main);
}

.card-inner p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Wizard Form Elements */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.45rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-darkest);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 0.925rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 10px rgba(197, 160, 89, 0.3);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

/* Range Slider */
.gold-range {
  width: 100%;
  accent-color: var(--gold-primary);
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  cursor: pointer;
}

.range-value {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold-light);
}

.privilege-box {
  display: flex;
  gap: 1rem;
  background: rgba(197, 160, 89, 0.08);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  margin-bottom: 1.75rem;
}

.privilege-box strong {
  display: block;
  font-size: 0.85rem;
  color: var(--gold-light);
  margin-bottom: 0.2rem;
}

.privilege-box p {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.wizard-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.confidential-pill {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Success Card */
.success-card {
  padding: 2rem 0;
}

.success-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  box-shadow: 0 0 25px var(--gold-glow);
}

.success-icon {
  width: 32px;
  height: 32px;
  color: #06090F;
  stroke-width: 3;
}

.success-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.success-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 2rem auto;
}

.success-meta-box {
  background: var(--bg-darkest);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  max-width: 500px;
  margin: 0 auto 2rem auto;
  padding: 1.25rem;
  text-align: left;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.875rem;
}

.meta-row:last-child {
  border-bottom: none;
}

/* ==========================================================================
   Practice Areas Grid
   ========================================================================== */
.section {
  padding: 6.5rem 0;
}

.bg-elevated {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.practice-card {
  position: relative;
  min-height: 380px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  transition: all var(--transition-slow);
}

.practice-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0.25;
}

.practice-card:hover .practice-image {
  transform: scale(1.08);
  opacity: 0.35;
}

.practice-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 15, 29, 0.4) 0%, rgba(6, 9, 15, 0.95) 100%);
}

.practice-content {
  position: relative;
  z-index: 2;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.practice-icon-box {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: rgba(197, 160, 89, 0.15);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
}

.practice-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.practice-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.practice-stats {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.bullet {
  color: var(--text-muted);
}

.practice-cta {
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  transition: color var(--transition-fast);
}

.practice-card:hover {
  border-color: var(--gold-primary);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(197, 160, 89, 0.15);
}

.practice-card:hover .practice-cta {
  color: var(--gold-light);
}

/* ==========================================================================
   Settlements & Verdicts Section
   ========================================================================== */
.section-header-split {
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.filter-tab-group {
  display: flex;
  background: var(--bg-darkest);
  padding: 0.35rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  gap: 0.35rem;
}

.filter-btn {
  background: transparent;
  border: none;
  padding: 0.45rem 1.15rem;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn.active {
  background: var(--gold-primary);
  color: #06090F;
}

.settlements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.75rem;
}

.settlement-card {
  background: var(--bg-darkest);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  position: relative;
  transition: all var(--transition-normal);
}

.settlement-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.settlement-amount {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}

.settlement-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(197, 160, 89, 0.15);
  color: var(--gold-light);
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.settlement-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.settlement-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

.settlement-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1rem;
}

.lead-lawyer {
  color: var(--gold-light);
  font-weight: 600;
}

/* ==========================================================================
   Attorneys / Partners Grid
   ========================================================================== */
.attorney-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2rem;
}

.attorney-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.attorney-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.attorney-image-wrap {
  position: relative;
  height: 340px;
  overflow: hidden;
  background: #000;
}

.attorney-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(20%);
  transition: all var(--transition-slow);
}

.attorney-card:hover .attorney-img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.attorney-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(10, 15, 29, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
}

.attorney-info {
  padding: 1.75rem;
}

.attorney-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.attorney-title {
  display: block;
  font-size: 0.8rem;
  color: var(--gold-primary);
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.attorney-bio {
  font-size: 0.825rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.attorney-credentials {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.attorney-credentials span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--bg-darkest);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stars {
  color: var(--gold-light);
  letter-spacing: 3px;
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.75rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
}

.testimonial-author small {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.accordion-item.active {
  border-color: var(--border-gold);
}

.accordion-header {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1.35rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
}

.accordion-icon {
  width: 20px;
  height: 20px;
  color: var(--gold-primary);
  transition: transform var(--transition-normal);
  flex-shrink: 0;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
  padding: 0 1.75rem;
}

.accordion-item.active .accordion-body {
  max-height: 300px;
  padding-bottom: 1.5rem;
}

.accordion-body p {
  font-size: 0.885rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ==========================================================================
   CTA Banner
   ========================================================================== */
.cta-banner {
  padding: 6.5rem 0;
  background: linear-gradient(135deg, #0A0F1D 0%, #152037 100%);
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
}

.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.cta-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 2.5rem auto;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #04060A;
  padding: 5rem 0 2.5rem 0;
  border-top: 1px solid var(--border-subtle);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-bio {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 380px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.825rem;
  color: var(--text-main);
}

.footer-heading {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--gold-light);
}

.disclaimer-text {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}

.footer-legal-links a:hover {
  color: var(--text-main);
}

/* ==========================================================================
   Custom Top-Layer <dialog> (Direct Partner Consultation)
   Modern Top-Layer Animations with @starting-style
   ========================================================================== */
.custom-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  color: var(--text-main);
  padding: 0;
  max-width: 580px;
  width: 90%;
  box-shadow: var(--shadow-lg), var(--shadow-gold);
  z-index: 1000;
  overflow: hidden;

  /* Modern Dialog Transitions */
  opacity: 0;
  transform: scale(0.95) translateY(20px);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              overlay 0.35s cubic-bezier(0.16, 1, 0.3, 1) allow-discrete,
              display 0.35s cubic-bezier(0.16, 1, 0.3, 1) allow-discrete;
}

.custom-dialog[open] {
  opacity: 1;
  transform: scale(1) translateY(0);
}

@starting-style {
  .custom-dialog[open] {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
  }
}

.custom-dialog::backdrop {
  background: rgba(4, 6, 10, 0.85);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              overlay 0.35s cubic-bezier(0.16, 1, 0.3, 1) allow-discrete,
              display 0.35s cubic-bezier(0.16, 1, 0.3, 1) allow-discrete;
}

.custom-dialog[open]::backdrop {
  opacity: 1;
}

@starting-style {
  .custom-dialog[open]::backdrop {
    opacity: 0;
  }
}

.dialog-content {
  padding: 2.5rem;
  position: relative;
}

.dialog-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.dialog-close:hover {
  color: var(--text-main);
}

.dialog-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.dialog-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   Practice Area Slide-Over Drawer
   ========================================================================== */
.practice-drawer {
  position: fixed;
  top: 0;
  right: -520px;
  width: 100%;
  max-width: 500px;
  height: 100vh;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-gold);
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.7);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.practice-drawer.open {
  right: 0;
}

.drawer-header {
  padding: 1.75rem 2rem;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-darkest);
}

.drawer-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--gold-light);
}

.btn-close {
  background: transparent;
  border: none;
  font-size: 1.75rem;
  color: var(--text-muted);
  cursor: pointer;
}

.drawer-body {
  padding: 2rem;
  overflow-y: auto;
  flex: 1;
}

/* ==========================================================================
   Floating Action Bar (Mobile & Desktop)
   ========================================================================== */
.floating-cta-bar {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  width: 90%;
  max-width: 650px;
  background: rgba(10, 15, 29, 0.9);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-gold);
  border-radius: 999px;
  padding: 0.65rem 1.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(197, 160, 89, 0.2);
  transition: all var(--transition-normal);
}

.live-pulse {
  width: 8px;
  height: 8px;
  background: var(--status-success);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px var(--status-success);
  animation: pulseStatus 2s infinite;
}

.floating-text {
  font-size: 0.8rem;
  color: var(--text-main);
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .desktop-nav, .top-legal-bar {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

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

  .hero-trust-bar {
    grid-template-columns: 1fr 1fr;
  }

  .section-header-split {
    flex-direction: column;
    align-items: flex-start;
  }

  .wizard-container {
    padding: 1.5rem;
  }

  .floating-text {
    display: none;
  }

  .floating-cta-bar {
    width: 95%;
    padding: 0.5rem 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-legal-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: var(--bg-darkest);
  z-index: 200;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--transition-normal);
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-drawer-header {
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2.5rem 0;
}

.mobile-nav-link {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--text-main);
}

.mobile-nav-link:hover {
  color: var(--gold-light);
}

.mobile-drawer-footer {
  margin-top: auto;
}
