/* ==========================================================================
   ChicagolandLawyers.com - Luxury Law Firm Editorial Design System
   Aesthetic: Cravath / Wachtell / Skadden / Pentagram Legal Authority
   Palette: Warm White (#FAF9F7), Rich Charcoal (#1F2937), Deep Navy (#173A63),
            Warm Gold Accent (#B08D57)
   ========================================================================== */

:root {
  /* Warm White & Alabaster Canvas (Bright, Spacious, Luxurious) */
  --bg-body: #FAF9F7;
  --bg-surface: #FFFFFF;
  --bg-surface-subtle: #F4F2EC;
  --bg-sand: #EFECE6;
  --bg-card: #FFFFFF;

  /* Authoritative Deep Navy (Cravath / Sullivan & Cromwell Heritage) */
  --navy-primary: #173A63;
  --navy-deep: #0E2540;
  --navy-hover: #102B4C;
  --navy-light: #EEF4FB;
  --navy-border: rgba(23, 58, 99, 0.16);

  /* Rich Charcoal & Neutral Typography (Trustworthy, Ultra-Legible) */
  --text-main: #1F2937;
  --text-heading: #0F172A;
  --text-muted: #4B5563;
  --text-dim: #6B7280;
  --text-inverse: #FFFFFF;

  /* Warm Refined Gold Accent (Prestige, Success, Exclusivity) */
  --gold-primary: #B08D57;
  --gold-dark: #8C6928;
  --gold-light: #F7F2E8;
  --gold-border: rgba(176, 141, 87, 0.38);
  --gold-border-subtle: rgba(176, 141, 87, 0.2);

  /* Functional Accents */
  --emerald: #0D8259;
  --emerald-bg: #EAF7F1;
  --crimson: #C53030;

  /* Refined Editorial Typography */
  --font-serif: 'Playfair Display', 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Layout & Geometry */
  --max-w: 1320px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --transition: all 0.25s ease;

  /* Subtle, Soft Luxury Shadows (No Harsh Stark Drop-Shadows) */
  --border-light: #EAE6DF;
  --border-subtle: #E5E7EB;
  --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-card: 0 10px 30px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.03);
  --shadow-hover: 0 20px 42px rgba(23, 58, 99, 0.09), 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-navy: 0 8px 24px rgba(23, 58, 99, 0.22);
  --shadow-luxury: 0 24px 60px rgba(23, 58, 99, 0.08);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-body);
  color: var(--text-main);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  line-height: 1.7;
  background-color: var(--bg-body);
  color: var(--text-main);
}

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

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

/* Typography Utilities */
.serif-display {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--navy-primary);
}

.mono-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-dark);
  font-weight: 600;
}

.gold-gradient-text {
  color: var(--gold-dark);
  font-weight: 700;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ==========================================================================
   Top Executive Status Bar (Deep Prestigious Anchor)
   ========================================================================== */
.top-bar {
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(176, 141, 87, 0.3);
  padding: 0.55rem 0;
  font-size: 0.76rem;
  z-index: 100;
  position: relative;
  color: #D1D5DB;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.71rem;
  color: #E5E7EB;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--emerald);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(13, 130, 89, 0.7);
  animation: pulseGold 2s infinite;
}

@keyframes pulseGold {
  0% { box-shadow: 0 0 0 0 rgba(13, 130, 89, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(13, 130, 89, 0); }
  100% { box-shadow: 0 0 0 0 rgba(13, 130, 89, 0); }
}

.top-bar-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  flex-wrap: wrap;
}

.top-bar-links a {
  white-space: nowrap;
  color: #D1D5DB;
}

.top-bar-links a:hover {
  color: #FFFFFF;
}

/* ==========================================================================
   Main Navigation (Crisp Pure White Luxury Sticky Header)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
  width: 100%;
  max-width: 100vw;
  overflow-x: clip;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
  gap: 1.25rem;
  width: 100%;
  max-width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}

.header-phone-compact {
  display: none;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--navy-primary);
  background: var(--navy-light);
  border-radius: var(--radius-sm);
  color: var(--navy-primary);
  font-size: 1rem;
  text-decoration: none;
  flex-shrink: 0;
  transition: var(--transition);
}

.header-phone-compact:hover {
  background: var(--navy-primary);
  color: #FFFFFF;
}

.mobile-only-nav-item {
  display: none;
}

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

.brand-crest {
  width: 42px;
  height: 42px;
  border: 1.5px solid var(--gold-primary);
  background: var(--navy-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.35rem;
  color: #FAF9F7;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(23, 58, 99, 0.2);
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--navy-primary);
  line-height: 1.1;
  white-space: nowrap;
}

.brand-name span {
  color: var(--gold-dark);
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 3px;
  white-space: nowrap;
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.85rem;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-main);
  padding: 0.5rem 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--navy-primary);
}

.dropdown-arrow {
  display: inline-block;
  font-size: 0.72rem;
  color: var(--gold-dark);
  margin-left: 0.35rem;
  transition: transform 0.2s ease;
}

/* Mega Dropdown Menu (Clean White Luxury Card) */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 340px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
  z-index: 120;
}

.nav-item:last-child .dropdown-menu {
  left: auto;
  right: 0;
}

.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  flex-direction: column;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.dropdown-item:hover {
  background: var(--navy-light);
}

.dropdown-item strong {
  font-size: 0.86rem;
  color: var(--navy-primary);
  font-weight: 600;
}

.dropdown-item span {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 2px;
  white-space: normal;
}

.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.nav-cta-phone {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  color: var(--navy-primary);
  font-weight: 600;
}

.nav-cta-phone:hover {
  color: var(--navy-hover);
}

/* ==========================================================================
   Upgraded Buttons (Exact Specification: 8px Radius, 14px 28px Padding, Navy Primary)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 14px 26px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 1.5px solid transparent;
  text-align: center;
  letter-spacing: 0.01em;
  text-decoration: none;
  max-width: 100%;
  box-sizing: border-box;
  line-height: 1.3;
}

/* Primary Button: Navy background, White text */
.btn-primary,
.btn-navy,
.btn-gold {
  background: var(--navy-primary);
  color: #FFFFFF;
  border-color: var(--navy-primary);
  box-shadow: 0 4px 14px rgba(23, 58, 99, 0.18);
}

.btn-primary:hover,
.btn-navy:hover,
.btn-gold:hover {
  background: var(--navy-hover);
  border-color: var(--navy-hover);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(23, 58, 99, 0.28);
}

/* Secondary Button: White background, Navy border */
.btn-outline,
.btn-secondary {
  background: #FFFFFF;
  color: var(--navy-primary);
  border-color: var(--navy-primary);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.btn-outline:hover,
.btn-secondary:hover {
  background: var(--navy-light);
  color: var(--navy-deep);
  border-color: var(--navy-deep);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(23, 58, 99, 0.12);
}

/* Gold Accent Button (Emergency Helpline / Highlight) */
.btn-gold-accent {
  background: var(--gold-primary);
  color: #FFFFFF;
  border-color: var(--gold-primary);
  box-shadow: 0 4px 14px rgba(176, 141, 87, 0.24);
}

.btn-gold-accent:hover {
  background: #9E7D47;
  border-color: #9E7D47;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(176, 141, 87, 0.35);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.84rem;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 0.98rem;
}

.mobile-menu-btn {
  display: none;
  background: #FFFFFF;
  border: 1px solid var(--navy-primary);
  color: var(--navy-primary);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
}

/* ==========================================================================
   Hero Section (Bright, Spacious, Light Luxury Law Atmosphere)
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 4.5rem 0 5rem;
  overflow: hidden;
  background: linear-gradient(180deg, #FFFFFF 0%, #FAF9F7 100%);
  border-bottom: 1px solid var(--border-light);
}

.hero-bg-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.06;
  pointer-events: none;
}

.hero-bg-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(1) contrast(1.1);
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, #FAF9F7 100%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 3.5rem;
  align-items: start;
}

.hero-grid > * {
  min-width: 0;
}

.hero-left-col {
  padding-top: 0;
}

.hero-badge-row {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1rem;
  background: var(--gold-light);
  border: 1px solid var(--gold-border);
  border-radius: 999px;
  margin-bottom: 1.35rem;
  max-width: 100%;
}

.hero-title {
  font-size: clamp(2.4rem, 3.8vw, 3.85rem);
  color: var(--navy-primary);
  margin-bottom: 1.15rem;
  line-height: 1.14;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 650px;
  margin-bottom: 2rem;
  line-height: 1.75;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.75rem;
}

.hero-metrics-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
}

.hero-metric-item strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.1rem;
  color: var(--navy-primary);
  line-height: 1.05;
}

.hero-metric-item span {
  font-size: 0.82rem;
  color: var(--text-dim);
  display: block;
  margin-top: 0.35rem;
  line-height: 1.5;
}

/* ==========================================================================
   Case Evaluation Form Card (Pure White Luxury Box with Soft Shadows)
   ========================================================================== */
.audit-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2.25rem;
  box-shadow: var(--shadow-card);
  position: relative;
  width: 100%;
  min-width: 0;
}

.audit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 2rem;
  right: 2rem;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.audit-card-header {
  margin-bottom: 1.4rem;
}

.audit-card-header h2 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--navy-primary);
  margin: 0.35rem 0 0.45rem;
  line-height: 1.2;
}

.audit-card-header p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.95rem;
}

.form-grid > * {
  min-width: 0;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.95rem;
  min-width: 0;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.74rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-main);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.form-control {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  color: #0F172A;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.03);
  transition: var(--transition);
}

select.form-control {
  text-overflow: ellipsis;
  background-color: #FFFFFF;
}

.form-control:focus {
  outline: none;
  border-color: var(--navy-primary);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(23, 58, 99, 0.15);
}

.form-trust-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.76rem;
  color: var(--text-dim);
  margin-top: 0.95rem;
  text-align: center;
}

/* ==========================================================================
   Courthouse & Authority Strip (Warm Stone Wash)
   ========================================================================== */
.courthouse-strip {
  background: var(--bg-surface-subtle);
  border-bottom: 1px solid var(--border-light);
  padding: 1.35rem 0;
}

.courthouse-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.courthouse-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.courthouse-pill {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  padding: 0.4rem 0.85rem;
  background: #FFFFFF;
  border: 1px solid #D9D4C7;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-weight: 500;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.courthouse-pill:hover {
  border-color: var(--navy-primary);
  color: var(--navy-primary);
  transform: translateY(-1px);
}

/* ==========================================================================
   Section Layout & Headers (Spacious White Space & Generous Margins)
   ========================================================================== */
.section {
  padding: 6.5rem 0;
  position: relative;
}

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

.section-ivory {
  background: #FFFFFF;
  color: var(--text-main);
}

.section-header {
  max-width: 840px;
  margin-bottom: 3.75rem;
}

.section-header.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-title {
  font-size: clamp(2.1rem, 3.4vw, 3.1rem);
  color: var(--navy-primary);
  margin: 0.5rem 0 1.1rem;
  font-family: var(--font-serif);
  line-height: 1.2;
}

.section-desc {
  font-size: 1.08rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ==========================================================================
   Architecture & Process Comparison Grid
   ========================================================================== */
.architecture-comparison-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.85rem;
  margin-top: 2.5rem;
}

.arch-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.arch-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.arch-card.recommended {
  background: var(--navy-primary);
  color: #FFFFFF;
  border: 1.5px solid var(--gold-primary);
  box-shadow: 0 24px 50px rgba(23, 58, 99, 0.22);
  transform: translateY(-6px);
}

.arch-card.recommended h3 {
  color: #FFFFFF;
}

.arch-card.recommended p {
  color: #E5E7EB;
}

.arch-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.2rem;
  background: var(--bg-surface-subtle);
  color: var(--navy-primary);
  font-weight: 600;
}

.arch-card.recommended .arch-badge {
  background: var(--gold-primary);
  color: #FFFFFF;
  font-weight: 700;
}

.arch-card h3 {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  margin-bottom: 0.85rem;
  color: var(--navy-primary);
  line-height: 1.25;
}

.arch-list {
  list-style: none;
  margin: 1.4rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  font-size: 0.92rem;
}

.arch-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

/* ==========================================================================
   Practice Area & Regional Hub Cards (Pure White Luxury Cards)
   ========================================================================== */
.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.85rem;
}

.cards-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.85rem;
}

.luxury-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  min-width: 0;
  box-shadow: var(--shadow-card);
}

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

.luxury-card h3 {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  color: var(--navy-primary);
  margin: 0.5rem 0 0.8rem;
  line-height: 1.22;
}

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

.luxury-card p {
  font-size: 0.94rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.68;
}

.card-meta-table {
  border-top: 1px solid var(--border-light);
  padding-top: 1.1rem;
  margin-bottom: 1.4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.card-meta-cell span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.card-meta-cell strong {
  font-size: 0.92rem;
  color: var(--navy-primary);
  font-weight: 600;
}

.luxury-card .btn {
  padding: 12px 18px;
  font-size: 0.9rem;
  white-space: normal;
  line-height: 1.35;
  text-align: center;
  box-sizing: border-box;
}

/* ==========================================================================
   Editorial Image Feature Blocks
   ========================================================================== */
.editorial-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3.5rem;
  align-items: center;
}

.editorial-split > * {
  min-width: 0;
}

.editorial-image-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-hover);
}

.editorial-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.25rem;
  background: linear-gradient(0deg, rgba(14, 37, 64, 0.92) 0%, transparent 100%);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #FFFFFF;
}

/* ==========================================================================
   FAQ Accordion (Crisp White Luxury Cards)
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.faq-item summary {
  padding: 1.35rem 1.55rem;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--navy-primary);
  gap: 1rem;
}

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

.faq-item[open] {
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-card);
}

.faq-body {
  padding: 0 1.55rem 1.45rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.72;
}

/* ==========================================================================
   TCPA Consent, Case Match Wizard & Actions
   ========================================================================== */
.tcpa-consent-box {
  background: var(--bg-surface-subtle);
  border: 1px solid #D9D4C7;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  margin: 0.75rem 0 1rem;
  font-size: 0.74rem;
  line-height: 1.52;
  color: var(--text-muted);
}

.tcpa-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  cursor: pointer;
}

.tcpa-consent-label input[type="checkbox"] {
  margin-top: 0.18rem;
  width: 18px;
  height: 18px;
  accent-color: var(--navy-primary);
  flex-shrink: 0;
  cursor: pointer;
}

.tcpa-consent-label a {
  color: var(--navy-primary);
  text-decoration: underline;
  font-weight: 600;
}

.legal-advertising-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.7rem;
  background: var(--gold-light);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
}

/* Interactive Consumer Case Assessment Box */
.case-matcher-box {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-top: 4px solid var(--navy-primary);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  box-shadow: 0 10px 30px -5px rgba(23, 58, 99, 0.08), 0 20px 40px -15px rgba(0, 0, 0, 0.05);
}

.matcher-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.matcher-grid > * {
  min-width: 0;
}

/* Step container card for high contrast against white card */
.matcher-step-box {
  background: #F8FAFC;
  border: 1.5px solid #CBD5E1;
  border-radius: 10px;
  padding: 1.15rem 1.25rem;
  margin-bottom: 1.15rem;
  transition: all 0.25s ease;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.matcher-step-box:focus-within {
  background: #FFFFFF;
  border-color: var(--navy-primary);
  box-shadow: 0 4px 14px rgba(23, 58, 99, 0.12), 0 0 0 3px rgba(23, 58, 99, 0.15);
}

.matcher-step-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}

.matcher-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--navy-primary);
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: var(--font-mono);
  flex-shrink: 0;
}

.matcher-step-title {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--navy-primary);
  font-family: var(--font-sans);
  margin: 0;
  line-height: 1.35;
}

.matcher-select {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  background: #FFFFFF;
  border: 1.5px solid #94A3B8;
  color: #0F172A;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  outline: none;
  cursor: pointer;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.03);
  transition: all 0.2s ease;
  font-family: var(--font-sans);
}

.matcher-select:focus {
  border-color: var(--navy-primary);
  box-shadow: 0 0 0 3px rgba(23, 58, 99, 0.18);
}

.matcher-result-card {
  background: #FFFFFF;
  border: 2px solid var(--navy-primary);
  border-top: 5px solid var(--gold-primary);
  border-radius: 12px;
  padding: 2.25rem 2rem;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.09), 0 2px 6px rgba(15, 23, 42, 0.04);
  position: relative;
}

.matcher-result-card h2,
.matcher-result-card h3 {
  color: var(--navy-deep) !important;
}

.matcher-result-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  margin-top: 1.25rem;
}

.matcher-result-actions .btn {
  width: 100%;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
}

/* Dedicated For-Attorneys Marketing Section Banner */
.attorney-marketing-showcase {
  background: var(--navy-deep);
  border-top: 3px solid var(--gold-primary);
  border-bottom: 3px solid var(--gold-primary);
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
}

.attorney-marketing-showcase .section-title {
  color: #FFFFFF;
}

.attorney-marketing-showcase .section-desc {
  color: #D1D5DB;
}

.attorney-marketing-showcase .btn-gold {
  background: var(--gold-primary);
  border-color: var(--gold-primary);
  color: #FFFFFF;
}

.attorney-marketing-showcase .btn-gold:hover {
  background: #9E7D47;
  border-color: #9E7D47;
}

.attorney-marketing-showcase .btn-outline {
  background: transparent;
  color: #FFFFFF;
  border-color: #FFFFFF;
}

.attorney-marketing-showcase .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

/* Legal Compliance Document Pages */
.legal-doc-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 100px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.65rem;
  box-shadow: var(--shadow-sm);
}

.legal-toc h4 {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy-primary);
  margin-bottom: 1.1rem;
}

.legal-toc ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.86rem;
}

.legal-toc a {
  color: var(--text-muted);
}

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

.legal-prose {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 3rem;
  box-shadow: var(--shadow-card);
}

.legal-prose h2 {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  color: var(--navy-primary);
  margin: 2.2rem 0 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-light);
}

.legal-prose h2:first-of-type {
  margin-top: 0;
}

.legal-prose h3 {
  font-size: 1.15rem;
  color: var(--gold-dark);
  margin: 1.5rem 0 0.55rem;
}

.legal-prose p, .legal-prose li {
  color: var(--text-main);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 0.95rem;
}

.legal-prose ul {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

/* ==========================================================================
   Footer (Prestigious Deep Navy Anchor)
   ========================================================================== */
.site-footer {
  background: var(--navy-deep);
  border-top: 3px solid var(--gold-primary);
  padding: 5rem 0 2.75rem;
  font-size: 0.9rem;
  color: #D1D5DB;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #FFFFFF;
  margin-bottom: 1.2rem;
  font-weight: 600;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: #D1D5DB;
}

.footer-links a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem;
  font-size: 0.8rem;
  color: #9CA3AF;
}

/* ==========================================================================
   Cookie & Privacy Consent Bar (Deep Navy Executive Bar with Warm Gold Accent)
   ========================================================================== */
.cookie-consent-bar {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  max-width: 1180px;
  margin: 0 auto;
  background: var(--navy-deep);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-top: 3px solid var(--gold-primary);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.85rem;
  box-shadow: 0 20px 50px rgba(14, 37, 64, 0.45);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  color: #F1F5F9;
}
}

.cookie-consent-bar.visible {
  display: flex;
}

/* ==========================================================================
   Sticky Mobile Conversion Bar
   ========================================================================== */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #FFFFFF;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-light);
  box-shadow: 0 -4px 18px rgba(15, 23, 42, 0.08);
  padding: 0.65rem 1rem;
  z-index: 150;
  gap: 0.65rem;
}

/* Toast Notification */
.toast-msg {
  padding: 0.95rem;
  border-radius: var(--radius-sm);
  margin-top: 0.8rem;
  font-size: 0.85rem;
  display: none;
}

.toast-msg.success {
  display: block;
  background: var(--emerald-bg);
  border: 1px solid var(--emerald);
  color: var(--emerald);
  font-weight: 600;
}

/* Suburb Pill (708 Landing Page) */
.suburb-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  background: #FFFFFF;
  border: 1px solid #D9D4C7;
  border-radius: 999px;
  color: var(--text-main);
  font-size: 0.84rem;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: left;
  font-family: inherit;
  box-shadow: var(--shadow-sm);
}

.suburb-pill:hover {
  border-color: var(--navy-primary);
  color: var(--navy-primary);
  background: var(--navy-light);
}

.suburb-pill.active {
  background: var(--navy-primary) !important;
  color: #FFFFFF !important;
  border-color: var(--navy-primary) !important;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1120px) {
  .hero-grid,
  .editorial-split,
  .architecture-comparison-grid,
  .cards-grid-3,
  .matcher-grid,
  .legal-doc-layout {
    grid-template-columns: 1fr;
  }
  .arch-card.recommended {
    transform: none;
  }
  .legal-toc {
    position: static;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nav-links {
    display: none;
  }
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: #FFFFFF;
    padding: 0.75rem 1.25rem 1.1rem;
    border-bottom: 2px solid var(--navy-primary);
    align-items: stretch;
    gap: 0;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    z-index: 120;
  }
  .nav-links.mobile-open .nav-item {
    width: 100%;
    border-bottom: 1px solid var(--border-light);
    padding: 0.25rem 0;
    margin: 0;
  }
  .nav-links.mobile-open .nav-item:last-child {
    border-bottom: none;
    padding-top: 0.65rem;
    padding-bottom: 0;
  }
  .nav-links.mobile-open .nav-link {
    width: 100%;
    padding: 0.55rem 0;
    font-size: 0.95rem;
    color: var(--text-main);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
  }
  .nav-links.mobile-open .dropdown-arrow {
    font-size: 0.72rem;
    color: var(--gold-dark);
    transition: transform 0.2s ease;
  }
  .nav-links.mobile-open .nav-item.dropdown-open .dropdown-arrow {
    transform: rotate(180deg);
  }
  .nav-links.mobile-open .dropdown-menu {
    display: none;
    position: static;
    min-width: 0;
    width: 100%;
    transform: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    background: var(--bg-surface-subtle);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    margin: 0.25rem 0 0.5rem;
    padding: 0.4rem 0.5rem;
  }
  .nav-links.mobile-open .nav-item.dropdown-open .dropdown-menu {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
  }
  .nav-links.mobile-open .dropdown-item {
    padding: 0.5rem 0.65rem;
    border-radius: 4px;
  }
  .nav-links.mobile-open .dropdown-item strong {
    font-size: 0.84rem;
    color: var(--navy-primary);
  }
  .nav-links.mobile-open .dropdown-item span {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 1px;
  }
  .mobile-only-nav-item {
    display: block;
  }
  .nav-cta-phone {
    display: none;
  }
  .mobile-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
    max-width: 100%;
    box-sizing: border-box;
  }
  .site-header {
    min-height: 60px;
    width: 100%;
    max-width: 100vw;
    overflow-x: clip;
  }
  .nav-inner {
    height: 60px;
    gap: 0.5rem;
    width: 100%;
    max-width: 100%;
  }
  .brand-logo {
    min-width: 0;
    flex-shrink: 1;
    gap: 0.55rem;
    overflow: hidden;
  }
  .brand-crest {
    width: 32px;
    height: 32px;
    font-size: 1rem;
    flex-shrink: 0;
  }
  .brand-text-wrap {
    min-width: 0;
    overflow: hidden;
  }
  .brand-name {
    font-size: 1.15rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .brand-sub {
    display: none;
  }
  .nav-cta-group {
    display: none;
  }
  .header-actions {
    gap: 0.5rem;
    flex-shrink: 0;
  }
  .header-phone-compact {
    display: inline-flex;
    width: 34px;
    height: 34px;
    font-size: 0.92rem;
  }
  .mobile-menu-btn {
    display: inline-flex;
    padding: 0.42rem 0.6rem;
    font-size: 0.72rem;
  }
  .hero-section {
    padding: 1.75rem 0 2.5rem;
  }
  .hero-left-col {
    padding-top: 0;
  }
  .hero-title {
    font-size: clamp(1.85rem, 6.6vw, 2.35rem);
    margin-bottom: 0.75rem;
  }
  .hero-subtitle {
    font-size: 0.98rem;
    margin-bottom: 1.35rem;
    line-height: 1.6;
  }
  .form-grid,
  .cards-grid-2,
  .hero-metrics-strip,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .case-matcher-box {
    padding: 1.35rem 1rem;
  }
  .matcher-step-box {
    padding: 1rem 0.95rem;
    margin-bottom: 0.95rem;
  }
  .matcher-result-card {
    padding: 1.35rem 1.15rem;
  }
  .hero-cta-row {
    flex-direction: column;
    gap: 0.75rem;
  }
  .hero-cta-row .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .btn {
    padding: 12px 18px;
    font-size: 0.9rem;
  }
  .section {
    padding: 3.5rem 0;
  }
  .section-header {
    margin-bottom: 2.25rem;
  }
  .legal-prose {
    padding: 1.5rem;
  }
  .mobile-sticky-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  body {
    padding-bottom: 66px;
  }
}

@media (max-width: 380px) {
  .brand-name {
    font-size: 1.02rem;
  }
  .brand-crest {
    width: 28px;
    height: 28px;
    font-size: 0.88rem;
  }
  .header-actions {
    gap: 0.35rem;
  }
  .header-phone-compact {
    width: 30px;
    height: 30px;
    font-size: 0.85rem;
  }
  .mobile-menu-btn {
    padding: 0.35rem 0.5rem;
    font-size: 0.66rem;
  }
}
