/* ==========================================================================
   WESTMONT CHAMBERS LLP — MASTER DESIGN SYSTEM & STYLESHEET
   Aesthetics: Luxury, Authoritative, Restrained, Modern Elite Law Firm
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Brand Palette */
  --bg-darkest: #060911;
  --bg-primary: #0A0F1D;
  --bg-secondary: #10192D;
  --bg-card: #15223C;
  --bg-card-hover: #1C2C4E;
  --bg-glass: rgba(16, 25, 45, 0.75);
  --bg-glass-card: rgba(21, 34, 60, 0.65);
  --bg-surface-elevated: #1B2947;
  
  /* Metallic Champagne Bronze Gold Palette */
  --gold-100: #F7EFE3;
  --gold-200: #EEDBBD;
  --gold-300: #DFBE99;
  --gold-400: #D0A775;
  --gold-500: #C5A880; /* Primary Brand Gold */
  --gold-600: #A88656;
  --gold-700: #88683E;
  --gold-gradient: linear-gradient(135deg, #F0DBBC 0%, #C5A880 50%, #9C7744 100%);
  --gold-glow: rgba(197, 168, 128, 0.25);
  --gold-border: rgba(197, 168, 128, 0.22);
  --gold-border-strong: rgba(197, 168, 128, 0.55);

  /* Typography & Text */
  --text-white: #FFFFFF;
  --text-primary: #F1F5F9;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-gold: #DFBE99;
  
  /* Functional Accents */
  --accent-emerald: #10B981;
  --accent-ruby: #EF4444;
  --accent-azure: #38BDF8;
  
  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glass: rgba(255, 255, 255, 0.12);
  
  /* Shadows */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.4), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 40px -15px rgba(0, 0, 0, 0.6), 0 0 1px 1px rgba(197, 168, 128, 0.12);
  --shadow-gold: 0 0 25px rgba(197, 168, 128, 0.2);

  /* Typography Fonts */
  --font-serif-heading: 'Cinzel', 'Playfair Display', Georgia, serif;
  --font-editorial: 'Playfair Display', Georgia, serif;
  --font-sans-ui: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-luxury: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Layout */
  --container-max: 1320px;
  --container-narrow: 960px;
  --header-height: 86px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-xl: 20px;
}

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

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

body {
  font-family: var(--font-sans-ui);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(197, 168, 128, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 85% 85%, rgba(16, 25, 45, 0.6) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(14, 23, 42, 0.4) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-darkest);
}
::-webkit-scrollbar-thumb {
  background: #1B2947;
  border-radius: 5px;
  border: 2px solid var(--bg-darkest);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-600);
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif-heading);
  color: var(--text-white);
  line-height: 1.25;
  letter-spacing: 0.02em;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.3rem, 4.2vw, 3.8rem);
  letter-spacing: 0.03em;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.75rem);
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.85rem);
}

h4 {
  font-size: 1.2rem;
  letter-spacing: 0.03em;
}

p {
  color: var(--text-secondary);
  font-size: 1.02rem;
}

p.lead {
  font-size: 1.22rem;
  line-height: 1.7;
  color: #CBD5E1;
  font-weight: 300;
}

.text-gold {
  color: var(--gold-400) !important;
}

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

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

.text-white {
  color: var(--text-white) !important;
}

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

.uppercase-eyebrow {
  font-family: var(--font-sans-ui);
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold-400);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.uppercase-eyebrow::before, .uppercase-eyebrow::after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--gold-500);
}

.uppercase-eyebrow.no-after::after {
  display: none;
}

/* ==========================================================================
   CONTAINERS & LAYOUT
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

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

.section {
  padding-top: 100px;
  padding-bottom: 100px;
  position: relative;
}

.section-sm {
  padding-top: 60px;
  padding-bottom: 60px;
}

.section-hero {
  padding-top: 140px;
  padding-bottom: 100px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-darkest) 0%, var(--bg-primary) 100%);
}

.section-title-wrap {
  margin-bottom: 50px;
}

.section-title-wrap.text-center {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.section-title-wrap h2 {
  margin-bottom: 14px;
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: 28px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-auto-fit {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding-top: 70px;
    padding-bottom: 70px;
  }
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   BUTTONS & ACTIONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans-ui);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
}

.btn-primary {
  background: var(--gold-gradient);
  color: #0B111E;
  box-shadow: 0 4px 18px rgba(197, 168, 128, 0.35);
  font-weight: 700;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(197, 168, 128, 0.5);
  filter: brightness(1.08);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border-color: var(--gold-border);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(197, 168, 128, 0.12);
  border-color: var(--gold-500);
  color: var(--gold-300);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-glass);
}

.btn-outline:hover {
  border-color: var(--gold-400);
  color: var(--gold-400);
  background: rgba(255, 255, 255, 0.03);
}

.btn-text {
  background: none;
  border: none;
  padding: 0;
  color: var(--gold-400);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
}

.btn-text:hover {
  color: var(--gold-200);
  gap: 12px;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1.02rem;
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
}

/* ==========================================================================
   TOP BAR & NAVIGATION HEADER
   ========================================================================== */
.top-bar {
  background: var(--bg-darkest);
  border-bottom: 1px solid var(--border-subtle);
  padding: 8px 0;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

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

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.top-bar-item a:hover {
  color: var(--gold-400);
}

.hotline-badge {
  background: rgba(239, 68, 68, 0.15);
  color: #F87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
  70% { box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 15, 29, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gold-border);
  transition: all var(--transition-fast);
}

.header.scrolled {
  background: rgba(6, 9, 17, 0.98);
  box-shadow: var(--shadow-lg);
  border-bottom-color: rgba(197, 168, 128, 0.35);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #1C2A48 0%, #0D1628 100%);
  border: 1px solid var(--gold-border-strong);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.brand-logo:hover .brand-icon {
  border-color: var(--gold-300);
  box-shadow: var(--shadow-gold);
}

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

.brand-name {
  font-family: var(--font-serif-heading);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--text-white);
  line-height: 1;
}

.brand-tagline {
  font-family: var(--font-sans-ui);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold-400);
  margin-top: 4px;
  font-weight: 600;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: #CBD5E1;
  letter-spacing: 0.02em;
  position: relative;
  padding: 8px 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-link:hover, .nav-link.active {
  color: var(--gold-300);
}

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

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

/* Dropdown Menu */
.nav-item-has-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  min-width: 280px;
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--transition-smooth);
  list-style: none;
  z-index: 100;
}

.dropdown-menu.mega-menu {
  min-width: 600px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  left: -140px;
}

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

.dropdown-item a {
  display: flex;
  flex-direction: column;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  transition: var(--transition-fast);
}

.dropdown-item a:hover {
  background: rgba(197, 168, 128, 0.1);
  color: var(--gold-300);
}

.dropdown-title {
  font-weight: 600;
  font-size: 0.9rem;
}

.dropdown-desc {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}


/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 1080px) {
  .top-bar-left {
    display: none;
  }
  .nav-menu {
    display: none;
  }
  .mobile-nav-toggle {
    display: block;
  }
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 380px;
  height: 100vh;
  background: var(--bg-darkest);
  border-left: 1px solid var(--gold-border);
  z-index: 10000;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
}

.mobile-drawer.active {
  right: 0;
}

.mobile-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.mobile-drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-list a {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
}

.mobile-nav-list a:hover {
  color: var(--gold-400);
}

/* ==========================================================================
   CARDS & LUXURY GLASSMORPHISM
   ========================================================================== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: all var(--transition-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
}

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

.card-glass {
  background: var(--bg-glass-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.card-gold-border {
  border-top: 3px solid var(--gold-500);
}

/* Practice Area Card */
.practice-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.practice-icon {
  width: 56px;
  height: 56px;
  background: rgba(197, 168, 128, 0.08);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
  margin-bottom: 24px;
  transition: var(--transition-fast);
}

.practice-card:hover .practice-icon {
  background: var(--gold-gradient);
  color: #0A0F1D;
  transform: scale(1.08);
}

.practice-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.practice-card p {
  font-size: 0.95rem;
  margin-bottom: 24px;
  flex-grow: 1;
}

.practice-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.practice-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 3px 10px;
  border-radius: 3px;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* Attorney Card */
.attorney-card {
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
}

.attorney-img-wrap {
  width: 100%;
  height: 340px;
  position: relative;
  overflow: hidden;
  background: #080D1A;
}

.attorney-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-luxury);
}

.attorney-card:hover .attorney-img-wrap img {
  transform: scale(1.05);
}

.attorney-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(10, 15, 29, 0.9);
  border: 1px solid var(--gold-border);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: var(--gold-300);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.attorney-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.attorney-info h3 {
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.attorney-title {
  color: var(--gold-400);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.attorney-focus {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
  line-height: 1.5;
}

.attorney-meta {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Case Result Card */
.result-card {
  border-left: 3px solid var(--gold-500);
}

.result-amount {
  font-family: var(--font-serif-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold-300);
  margin-bottom: 6px;
}

.result-category {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.result-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.result-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* Testimonial Card */
.testimonial-card {
  position: relative;
}

.quote-icon {
  font-family: var(--font-editorial);
  font-size: 4rem;
  line-height: 1;
  color: rgba(197, 168, 128, 0.2);
  margin-bottom: -10px;
}

.testimonial-stars {
  color: var(--gold-400);
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  font-size: 1rem;
}

.testimonial-quote {
  font-size: 1.05rem;
  color: #E2E8F0;
  font-style: italic;
  margin-bottom: 24px;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--gold-border);
  background: #1B2947;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--gold-300);
}

.author-details h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.author-details span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   ACCREDITATIONS & TRUST BADGES BAR
   ========================================================================== */
.trust-bar {
  background: var(--bg-secondary);
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
  padding: 32px 0;
}

.trust-badges-grid {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 32px;
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0.85;
  transition: opacity var(--transition-fast);
}

.trust-badge-item:hover {
  opacity: 1;
}

.badge-icon-box {
  width: 48px;
  height: 48px;
  border: 1px solid var(--gold-border-strong);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
  background: rgba(197, 168, 128, 0.06);
}

.badge-text-primary {
  font-family: var(--font-serif-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-white);
  letter-spacing: 0.04em;
}

.badge-text-sub {
  font-size: 0.75rem;
  color: var(--gold-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Stats Counter Banner */
.stats-banner {
  background: linear-gradient(135deg, #10192D 0%, #0B111E 100%);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  box-shadow: var(--shadow-lg);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 15%;
  right: -12px;
  height: 70%;
  width: 1px;
  background: var(--border-subtle);
}

.stat-number {
  font-family: var(--font-serif-heading);
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 800;
  color: var(--gold-300);
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item:nth-child(2)::after {
    display: none;
  }
}

/* ==========================================================================
   ROADMAP & PROCESS SECTION (4-STEP WORKFLOW)
   ========================================================================== */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  margin-top: 40px;
}

.process-timeline::before {
  content: "";
  position: absolute;
  top: 40px;
  left: 10%;
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-border), var(--gold-500), var(--gold-border));
  z-index: 1;
}

.process-step {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 12px;
}

.step-bubble {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  background: var(--bg-card);
  border: 2px solid var(--gold-500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-300);
  font-family: var(--font-serif-heading);
  font-size: 1.5rem;
  font-weight: 800;
  box-shadow: 0 0 20px rgba(197, 168, 128, 0.25);
  transition: var(--transition-fast);
}

.process-step:hover .step-bubble {
  transform: scale(1.1);
  background: var(--gold-gradient);
  color: #0A0F1D;
}

.process-step h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.process-step p {
  font-size: 0.9rem;
}

@media (max-width: 992px) {
  .process-timeline {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .process-timeline::before {
    display: none;
  }
}

/* ==========================================================================
   FAQ ACCORDION & SEARCH
   ========================================================================== */
.faq-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.faq-tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.faq-tab-btn:hover, .faq-tab-btn.active {
  background: var(--gold-gradient);
  color: #0A0F1D;
  border-color: transparent;
  font-weight: 700;
}

.accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.accordion-item.active {
  border-color: var(--gold-500);
  box-shadow: var(--shadow-md);
}

.accordion-header {
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.accordion-header h3 {
  font-size: 1.15rem;
  margin: 0;
  font-weight: 600;
  color: var(--text-white);
  transition: color var(--transition-fast);
}

.accordion-item.active .accordion-header h3 {
  color: var(--gold-300);
}

.accordion-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
  transition: transform var(--transition-smooth);
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
  background: var(--gold-500);
  color: #0A0F1D;
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  padding: 0 28px;
}

.accordion-body-inner {
  padding-bottom: 24px;
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.7;
  border-top: 1px solid var(--border-subtle);
  padding-top: 18px;
}

/* ==========================================================================
   INTERACTIVE CONSULTATION INTAKE WIZARD
   ========================================================================== */
.wizard-container {
  background: var(--bg-card);
  border: 1px solid var(--gold-border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.wizard-progress {
  background: var(--bg-darkest);
  padding: 24px 32px;
  border-bottom: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wizard-step-indicator {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.wizard-step-indicator.active {
  color: var(--gold-300);
}

.wizard-step-indicator.completed {
  color: var(--accent-emerald);
}

.wizard-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.wizard-step-indicator.active .wizard-step-num {
  background: var(--gold-500);
  color: #0A0F1D;
  border-color: var(--gold-500);
}

.wizard-body {
  padding: 40px;
}

.wizard-step-pane {
  display: none;
}

.wizard-step-pane.active {
  display: block;
  animation: fadeIn 0.4s ease-in-out;
}

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

/* Form Controls */
.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-label span.req {
  color: var(--accent-ruby);
}

.form-control {
  width: 100%;
  background: rgba(10, 15, 29, 0.8);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: var(--text-white);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 2px rgba(197, 168, 128, 0.2);
}

.form-control::placeholder {
  color: var(--text-muted);
}

/* Option Select Cards (Grid of choices) */
.option-select-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.option-card {
  background: rgba(10, 15, 29, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 18px;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: left;
}

.option-card:hover {
  border-color: var(--gold-400);
  background: rgba(197, 168, 128, 0.05);
}

.option-card.selected {
  border-color: var(--gold-500);
  background: rgba(197, 168, 128, 0.12);
  box-shadow: 0 0 15px rgba(197, 168, 128, 0.2);
}

.option-card-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-white);
  margin-bottom: 4px;
}

.option-card-sub {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* Wizard Navigation Footer */
.wizard-footer {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ==========================================================================
   LOCATIONS & INTERACTIVE MAP VIEW
   ========================================================================== */
.office-tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  padding: 18px 24px;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: left;
  transition: all var(--transition-fast);
  width: 100%;
}

.office-tab-btn.active {
  background: var(--bg-card-hover);
  border-color: var(--gold-500);
  box-shadow: var(--shadow-gold);
}

.office-tab-btn h4 {
  color: var(--text-white);
  margin-bottom: 4px;
}

.office-tab-btn.active h4 {
  color: var(--gold-300);
}

.map-embed-placeholder {
  width: 100%;
  height: 420px;
  background: #0B1222;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   MODALS (SEARCH, HOTLINE, CLIENT PORTAL)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 9, 17, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 11000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  width: 100%;
  max-width: 620px;
  background: var(--bg-card);
  border: 1px solid var(--gold-border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transform: scale(0.94) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.modal-overlay.active .modal-dialog {
  transform: scale(1) translateY(0);
}

.modal-header {
  padding: 24px 32px;
  border-bottom: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-close-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.modal-close-btn:hover {
  color: var(--gold-400);
}

.modal-body {
  padding: 32px;
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 12000;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  background: var(--bg-card);
  border: 1px solid var(--gold-500);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-white);
  min-width: 320px;
  animation: slideToast 0.4s ease-out;
}

@keyframes slideToast {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ==========================================================================
   FOOTER & LEGAL COMPLIANCE
   ========================================================================== */
.footer {
  background: var(--bg-darkest);
  border-top: 1px solid var(--gold-border);
  padding-top: 80px;
  margin-top: auto;
  position: relative;
}

.footer-top {
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 22px;
  color: var(--gold-300);
  letter-spacing: 0.06em;
}

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

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--gold-300);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.footer-disclaimer-box {
  background: rgba(10, 15, 29, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 24px;
  margin: 40px 0;
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.footer-bottom {
  padding: 24px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

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

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

/* ==========================================================================
   BREADCRUMBS & INNER PAGE HEADERS
   ========================================================================== */
.page-hero {
  padding-top: 140px;
  padding-bottom: 60px;
  background: linear-gradient(180deg, var(--bg-darkest) 0%, var(--bg-primary) 100%);
  border-bottom: 1px solid var(--gold-border);
  position: relative;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.breadcrumbs a {
  color: var(--gold-400);
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs span.current {
  color: var(--text-secondary);
}

/* Tag Pill */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(197, 168, 128, 0.12);
  border: 1px solid var(--gold-border);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-300);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Filter controls & Search box */
.filter-search-box {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 480px;
}

.filter-search-box input {
  background: none;
  border: none;
  color: var(--text-white);
  width: 100%;
  outline: none;
  font-size: 0.95rem;
}

.filter-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-pill-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-pill-btn:hover, .filter-pill-btn.active {
  background: var(--gold-gradient);
  color: #0B111E;
  border-color: transparent;
  font-weight: 700;
}

/* Detail page sidebars */
.detail-sidebar {
  position: sticky;
  top: 110px;
}

.detail-sidebar-box {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 30px;
  margin-bottom: 28px;
}

.sidebar-attorney-thumb {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gold-border);
  object-fit: cover;
  margin-bottom: 16px;
}

/* Article Reader styling */
.article-content {
  color: #CBD5E1;
  font-size: 1.12rem;
  line-height: 1.85;
}

.article-content h2, .article-content h3 {
  margin-top: 36px;
  margin-bottom: 16px;
}

.article-content p {
  margin-bottom: 24px;
}

.article-content blockquote {
  border-left: 3px solid var(--gold-500);
  padding-left: 24px;
  margin: 32px 0;
  font-style: italic;
  color: var(--gold-200);
  background: rgba(197, 168, 128, 0.05);
  padding: 20px 24px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.statutory-tag {
  display: inline-block;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #6EE7B7;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-family: monospace;
  margin: 4px 4px 4px 0;
}
