/* =============================================
   LAHARI LEGAL ASSOCIATES — Premium Design System
   Theme: Dark (Deep Black + Gold)
   ============================================= */

/* ===========================
   1. CSS Variables (Design Tokens)
   =========================== */
:root {
  --gold: #C9A24A;
  --gold-light: #E2C97E;
  --gold-dark: #A68A2E;
  --gold-gradient: linear-gradient(135deg, #C9A24A 0%, #E2C97E 50%, #C9A24A 100%);
  --gold-rgb: 201, 162, 74;
  --bg-primary: #0A0A0A;
  --bg-secondary: #111111;
  --bg-elevated: #161616;
  --bg-card: rgba(22, 22, 22, 0.75);
  --bg-card-solid: #161616;
  --bg-card-hover: #1C1C1C;
  --bg-overlay: rgba(10, 10, 10, 0.92);
  --bg-glass: rgba(22, 22, 22, 0.6);
  --bg-input: #141414;
  --bg-footer: #111111;
  --bg-stats: #111111;
  --text-primary: #FFFFFF;
  --text-secondary: #CCCCCC;
  --text-muted: #888888;
  --text-heading: #FFFFFF;
  --border-subtle: rgba(201, 162, 74, 0.08);
  --border-light: rgba(201, 162, 74, 0.12);
  --border-medium: rgba(201, 162, 74, 0.2);
  --border-strong: rgba(201, 162, 74, 0.3);
  --border-surface: rgba(255, 255, 255, 0.06);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.4);
  --shadow-gold: 0 4px 30px rgba(201, 162, 74, 0.12);
  --shadow-gold-strong: 0 8px 50px rgba(201, 162, 74, 0.2);
  --shadow-gold-hover: 0 6px 40px rgba(201, 162, 74, 0.25);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: all 0.25s ease;
  --container-max: 1200px;
  --container-wide: 1400px;
  --header-height: 94px;
  --glass-blur: blur(16px);
  --glass-blur-strong: blur(20px);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  --gold-bg-soft: rgba(201, 162, 74, 0.06);
  --gold-bg-medium: rgba(201, 162, 74, 0.1);
  --gold-bg-strong: rgba(201, 162, 74, 0.15);
  --header-bg: rgba(10, 10, 10, 0.92);
  --header-scrolled-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
  --dropdown-bg: rgba(14, 14, 14, 0.98);
  --dropdown-shadow: 0 12px 48px rgba(0, 0, 0, 0.6);
  --dropdown-hover-bg: rgba(201, 162, 74, 0.08);
  --mobile-nav-bg: rgba(10, 10, 10, 0.98);
  --hero-overlay: rgba(10, 10, 10, 0.4);
  --scrollbar-thumb: rgba(201, 162, 74, 0.2);
  --scrollbar-track: #0A0A0A;
}


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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: var(--font-body);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--scrollbar-track); }
::-webkit-scrollbar-thumb { background: var(--scrollbar-thumb); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

a { text-decoration: none; color: inherit; transition: var(--transition-fast); }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
p, span, a, h1, h2, h3, h4, h5, h6, li, td, th, label, input, textarea, select, button, .service-card, .insight-card, .legal-update-card, .feature-card, .position-card, .value-card {
  overflow-wrap: break-word;
  word-wrap: break-word;
}
img, video, iframe, svg {
  max-width: 100%;
}
.office-map-wrapper iframe, .location-map-container iframe, .map-container iframe {
  max-width: 100%;
}
::selection { background: rgba(201, 162, 74, 0.3); color: var(--text-primary); }

/* ===========================
   3. Typography
   =========================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-heading);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: clamp(1.1rem, 2.5vw, 1.3rem); }
h5 { font-size: 1rem; }
p {
  font-family: var(--font-body);
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
}

/* ===========================
   4. Layout
   =========================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  text-align: left;
}
.section-padding { padding: 100px 0; }
.text-center { text-align: center; }

/* ===========================
   5. Utility
   =========================== */
.gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gold-divider {
  width: 60px;
  height: 3px;
  background: var(--gold-gradient);
  border-radius: 2px;
  margin-top: 16px;
}
.gold-divider-center {
  width: 60px;
  height: 3px;
  background: var(--gold-gradient);
  margin: 16px auto 0;
  border-radius: 2px;
}
.section-header {
  margin-bottom: 64px;
  text-align: center;
}
.section-header h2 { margin-bottom: 8px; }
.section-header .gold-divider-center { margin-bottom: 20px; }
.section-header p { max-width: 650px; margin: 0 auto; font-size: 1.05rem; line-height: 1.8; }

/* ===========================
   6. Buttons
   =========================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--gold-gradient);
  color: #1a1a1a;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  text-align: center;
  transition: var(--transition-smooth);
}
.btn-primary:hover {
  box-shadow: var(--shadow-gold-strong);
  transform: translateY(-2px);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: transparent;
  color: var(--gold);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 2px solid var(--gold);
  border-radius: 2px;
  cursor: pointer;
  transition: var(--transition-smooth);
}
.btn-outline:hover {
  background: var(--gold);
  color: #1a1a1a;
}
.btn-sm { padding: 10px 24px; font-size: 0.82rem; }

/* ===========================
   7. Header
   =========================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--header-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  z-index: 1000;
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-fast);
}
.site-header.scrolled {
  background: var(--header-bg);
  box-shadow: var(--header-scrolled-shadow);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  overflow: visible;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-heading);
}
.logo-full {
  display: block;
  height: 64px;
  width: auto;
}
.footer-about .logo-full { height: 74px; }
/* Theme-aware wordmark: dark (default) shows cream/gold; light shows dark ink */
.logo-light { display: none; }
[data-theme="light"] .logo-dark { display: none; }
[data-theme="light"] .logo-light { display: block; }
.logo-text span { color: var(--gold); }
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav > a {
  padding: 8px 16px;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  border-radius: 2px;
  transition: color 0.25s ease;
}
.main-nav > a:hover,
.main-nav > a.active { color: var(--gold); }

/* Desktop Dropdown */
.nav-dropdown-wrapper { position: relative; }
.nav-dropdown-trigger {
  padding: 8px 16px;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  border-radius: 2px;
  transition: color 0.25s ease;
  border: none;
  background: none;
  font-family: var(--font-body);
}
.nav-dropdown-trigger:hover,
.nav-dropdown-trigger.active { color: var(--gold); }
.nav-dropdown-trigger .arrow {
  font-size: 0.6rem;
  transition: transform 0.3s ease;
}
.nav-dropdown-wrapper.open .nav-dropdown-trigger .arrow {
  transform: rotate(180deg);
}
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  transform: translateY(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  min-width: 620px;
  max-width: min(620px, calc(100vw - 32px));
  padding-top: 8px;
  z-index: 1001;
}
.nav-dropdown-wrapper.open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-dropdown-inner {
  background: var(--dropdown-bg);
  backdrop-filter: var(--glass-blur-strong);
  -webkit-backdrop-filter: var(--glass-blur-strong);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  box-shadow: var(--dropdown-shadow);
  padding: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  max-height: min(78vh, 620px);
  overflow-y: auto;
  overflow-x: hidden;
}
.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  transition: background-color 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
  cursor: pointer;
  border-radius: 4px;
}
.nav-dropdown-item:hover {
  background: var(--dropdown-hover-bg);
  color: var(--gold);
  padding-left: 20px;
}
.nav-dropdown-item i {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold-bg-soft);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 0.8rem;
  flex-shrink: 0;
}
.nav-dropdown-item:hover i { background: var(--gold-bg-medium); }

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-cta .btn-primary {
  padding: 10px 24px;
  font-size: 0.82rem;
}
.mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition-fast);
}
.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===========================
   8. Mobile Nav
   =========================== */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  height: 100vh;
  background: var(--mobile-nav-bg);
  backdrop-filter: var(--glass-blur-strong);
  -webkit-backdrop-filter: var(--glass-blur-strong);
  padding: 100px 24px 24px;
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a {
  display: block;
  padding: 14px 0;
  color: var(--text-secondary);
  font-size: 1.05rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border-surface);
  transition: color 0.25s ease, padding-left 0.25s ease;
}
.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--gold);
  padding-left: 8px;
}
.mobile-services-toggle {
  display: block;
  width: 100%;
  padding: 14px 0;
  color: var(--text-secondary);
  font-size: 1.05rem;
  font-weight: 500;
  border: none;
  background: none;
  text-align: left;
  cursor: pointer;
  border-bottom: 1px solid var(--border-surface);
  transition: color 0.25s ease;
  font-family: var(--font-body);
}
.mobile-services-toggle:hover,
.mobile-services-toggle.open { color: var(--gold); }
.mobile-services-toggle i { transition: transform 0.3s ease; }
.mobile-services-toggle.open i { transform: rotate(180deg); }
.mobile-services-list {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.mobile-services-list.open { max-height: 900px; }
.mobile-services-list a {
  padding: 10px 0 10px 16px;
  font-size: 0.92rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-surface);
}
.mobile-services-list a:hover { color: var(--gold); }

/* ===========================
   9. Hero
   =========================== */
.hero {
  background-color: #0A0A0A;
  height: 100vh;
  min-height: 600px;
  width: 100%;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(10, 10, 10, 0.25) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
  width: 90%;
  max-width: 800px;
}
.hero-content h1 { margin-bottom: 20px; letter-spacing: -0.5px; }
.hero-content p {
  max-width: 600px;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 auto 36px;
}
.hero-badge {
  display: inline-block;
  padding: 8px 24px;
  background: rgba(201, 162, 74, 0.15);
  border: 1px solid rgba(201, 162, 74, 0.3);
  border-radius: 2px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--gold-light);
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: heroBounce 2s ease infinite;
}
@keyframes heroBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* Hero Slideshow */
.hero-slides {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.hero-slide.active {
  opacity: 1;
}

/* ===========================
   10. Services Grid
   =========================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 36px 30px;
  text-align: center;
  transition: var(--transition-smooth);
}
.service-card:hover {
  border-color: var(--border-light);
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
}
.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gold-bg-soft);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--gold);
  margin: 0 auto 20px;
  transition: var(--transition-smooth);
}
.service-card:hover .service-icon {
  background: var(--gold-bg-medium);
  box-shadow: var(--shadow-gold);
}
.service-card h3 { margin-bottom: 14px; font-size: 1.2rem; }
.service-card p {
  font-size: 0.92rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--text-secondary);
}
.card-link {
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s ease;
}
.card-link:hover { gap: 12px; }

/* ===========================
   11. Stats
   =========================== */
.stats-section {
  background: var(--bg-stats);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 60px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item h3 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: 8px;
}

/* Counter animation: fade-in + upward slide */
.stat-item h3.counter {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.stat-item h3.counter.animated {
  opacity: 1;
  transform: translateY(0);
}

.stat-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0;
}

/* ===========================
   12. Advocate Profile
   =========================== */
.advocate-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.advocate-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}
.advocate-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}
.advocate-image-frame {
  width: 320px;
  height: 400px;
  border: 2px solid var(--gold);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-gold-strong);
  transition: var(--transition-smooth);
}
.advocate-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.advocate-image-frame:hover {
  box-shadow: 0 0 60px rgba(201, 162, 74, 0.3);
}
.advocate-badge {
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold-gradient);
  color: #1a1a1a;
  padding: 8px 24px;
  border-radius: 2px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  white-space: nowrap;
  z-index: 2;
}
.advocate-info h2 { margin-bottom: 6px; }
.advocate-info .advocate-subtitle {
  font-size: 1.1rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 24px;
}
.advocate-bio {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 32px;
}
.advocate-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.advocate-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 20px;
  text-align: center;
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* ===========================
   13. Booking Section
   =========================== */
.booking-section {
  background: var(--bg-primary);
  position: relative;
}
.booking-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.booking-info h3 { font-size: 1.5rem; margin-bottom: 16px; }
.booking-info > p { font-size: 1.05rem; margin-bottom: 32px; }
.booking-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.booking-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.booking-feature-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: var(--gold-bg-soft);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1rem;
}
.booking-feature h4 {
  margin-bottom: 4px;
  font-family: var(--font-body);
  font-weight: 600;
}
.booking-feature p {
  font-size: 0.88rem;
  color: var(--text-muted);
}
.booking-form-panel {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 36px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.booking-form-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold-gradient);
}
.booking-form-panel.confidential-mode {
  border-color: rgba(147, 51, 234, 0.3);
}
.booking-form-panel.confidential-mode::before {
  background: linear-gradient(135deg, #9333ea, #c084fc, #9333ea);
}
.confidential-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--gold-bg-soft);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  margin-bottom: 16px;
  cursor: pointer;
  transition: var(--transition-fast);
}
.confidential-toggle:hover { border-color: var(--border-medium); }
.confidential-toggle.active {
  background: rgba(147, 51, 234, 0.08);
  border-color: rgba(147, 51, 234, 0.3);
}
.confidential-toggle.active .confidential-toggle-left i { color: #a855f7; }
.confidential-toggle-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.confidential-toggle-left i {
  font-size: 1.1rem;
  color: var(--gold);
  transition: color 0.25s ease;
}
.confidential-toggle-text h4 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
}
.confidential-toggle-text span {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: block;
  margin-top: 2px;
}
.confidential-switch {
  width: 48px;
  height: 26px;
  background: var(--border-medium);
  border-radius: 13px;
  position: relative;
  transition: background-color 0.3s ease;
  flex-shrink: 0;
}
.confidential-switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  transition: transform 0.3s ease;
}
.confidential-toggle.active .confidential-switch { background: #9333ea; }
.confidential-toggle.active .confidential-switch::after { transform: translateX(22px); }
.privacy-badge {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(147, 51, 234, 0.06);
  border: 1px solid rgba(147, 51, 234, 0.15);
  border-radius: 4px;
  margin-bottom: 20px;
  font-size: 0.8rem;
  color: #a855f7;
}
.privacy-badge.visible { display: flex; }
.privacy-badge i { font-size: 0.9rem; }
.booking-service-types {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}
.service-type-option {
  padding: 10px 14px;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition-fast);
}
.service-type-option:hover {
  border-color: var(--border-medium);
  background: var(--gold-bg-soft);
}
.service-type-option.active {
  background: var(--gold-gradient);
  color: #1a1a1a;
  border-color: transparent;
  font-weight: 700;
}

/* Calendar */
.booking-calendar {
  margin-bottom: 20px;
  background: var(--bg-card-solid);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 16px;
}
.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.calendar-month-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
}
.calendar-nav { display: flex; gap: 8px; }
.calendar-nav button {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border-light);
  border-radius: 50%;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  transition: var(--transition-fast);
}
.calendar-nav button:hover { border-color: var(--gold); color: var(--gold); }
.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 8px;
}
.calendar-weekday {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  padding: 4px;
}
.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
  color: var(--text-secondary);
  border: 1px solid transparent;
}
.calendar-day:hover:not(.disabled) {
  border-color: var(--border-medium);
  background: var(--gold-bg-soft);
}
.calendar-day.today { border-color: var(--border-medium); }
.calendar-day.selected {
  background: var(--gold-gradient);
  color: #1a1a1a;
  font-weight: 700;
}
.calendar-day.disabled { opacity: 0.3; cursor: not-allowed; }
.calendar-day.empty { cursor: default; }

/* Timeslots */
.booking-timeslots h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 12px;
}
.timeslot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}
.timeslot {
  padding: 10px 8px;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-fast);
  background: transparent;
  font-family: var(--font-body);
}
.timeslot:hover:not(.disabled) {
  border-color: var(--border-medium);
  background: var(--gold-bg-soft);
}
.timeslot.selected {
  background: var(--gold-gradient);
  color: #1a1a1a;
  border-color: transparent;
  font-weight: 700;
}
.timeslot.disabled { opacity: 0.3; cursor: not-allowed; }

/* Form Fields */
.form-group {
  margin-bottom: 16px;
  position: relative;
}
.form-group.hidden { display: none; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.form-group label .optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  opacity: 0.7;
}
.form-input {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-input);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  outline: none;
}
.form-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 74, 0.1);
}
.form-input::placeholder { color: var(--text-muted); opacity: 0.6; }
textarea.form-input { min-height: 100px; resize: vertical; }
.booking-submit {
  width: 100%;
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-top: 8px;
}

/* Booking Confirmation */
.booking-confirmation {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-overlay);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}
.booking-confirmation.active { display: flex; }
.confirmation-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #1a1a1a;
  margin: 0 auto 24px;
}

/* ===========================
   14. Testimonials
   =========================== */
.testimonials-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}
.testimonials-carousel {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
}
.testimonials-track {
  display: flex;
  transition: transform 0.5s ease;
}
.testimonial-slide {
  min-width: 100%;
  padding: 0 10px;
  box-sizing: border-box;
}
.testimonial-glass {
  background: var(--bg-glass);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 44px;
  box-shadow: var(--glass-shadow);
  text-align: center;
  position: relative;
}
.testimonial-glass::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold-gradient);
}
.testimonial-stars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-bottom: 20px;
}
.testimonial-stars i { font-size: 1rem; color: var(--gold); }
.testimonial-stars i.empty { color: var(--border-medium); }
.testimonial-text {
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 24px;
  position: relative;
  padding-top: 20px;
}
.testimonial-text::before {
  content: '\201C';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 4rem;
  font-family: var(--font-heading);
  color: var(--gold);
  opacity: 0.2;
  line-height: 1;
}
.testimonial-author-info h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 4px;
}
.testimonial-author-info span {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 12px;
}
.testimonial-case-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--gold-bg-soft);
  border: 1px solid var(--border-light);
  border-radius: 2px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
}
.carousel-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-medium);
  border-radius: 50%;
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}
.carousel-btn:hover {
  background: var(--gold-bg-soft);
  border-color: var(--gold);
}
.carousel-dots {
  display: flex;
  gap: 8px;
}
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid var(--border-medium);
  background: transparent;
  cursor: pointer;
  transition: var(--transition-fast);
}
.carousel-dot.active {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.2);
}

/* ===========================
   15. Legal Updates
   =========================== */
.legal-updates-section { background: var(--bg-primary); }
.legal-updates-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.legal-update-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 24px;
  transition: var(--transition-fast);
}
.legal-update-card:hover {
  border-color: var(--border-light);
  box-shadow: var(--shadow-sm);
}
.legal-update-card h3 {
  margin: 12px 0;
  font-size: 1.15rem;
}
.legal-update-card p {
  font-size: 0.92rem;
  margin-bottom: 16px;
}
.update-category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 2px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.update-category.new-law {
  background: rgba(34, 197, 94, 0.1);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.2);
}
.update-category.amendment {
  background: rgba(59, 130, 246, 0.1);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.2);
}
.update-category.judgment {
  background: rgba(201, 162, 74, 0.1);
  color: #E2C97E;
  border: 1px solid rgba(201, 162, 74, 0.2);
}
.update-category.alert {
  background: rgba(239, 68, 68, 0.1);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.2);
}
.update-timestamp {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ===========================
   16. Location + Maps
   =========================== */
.location-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}
.location-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.location-info h3 { margin-bottom: 16px; }
.location-info > p { margin-bottom: 32px; font-size: 1.05rem; }
.location-address {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 32px;
}
.location-address-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  background: var(--gold-bg-soft);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
}
.location-address-text h4 {
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 4px;
}
.location-address-text p { font-size: 0.92rem; }
.location-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.location-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-fast);
  background: transparent;
  font-family: var(--font-body);
  text-decoration: none;
}
.location-action-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-bg-soft);
}
.location-action-btn i { font-size: 1rem; color: var(--gold); }
.location-map-container {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  min-height: 350px;
}
.location-map-container iframe {
  width: 100%;
  height: 100%;
  min-height: 350px;
  border: none;
}

/* ===========================
   17. CTA Section
   =========================== */
.cta-section {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
  padding: 80px 0;
  text-align: center;
}
.cta-section p {
  max-width: 600px;
  margin: 0 auto 32px;
  font-size: 1.05rem;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===========================
   18. Footer
   =========================== */
.site-footer {
  background: var(--bg-footer);
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-about p { margin-top: 16px; font-size: 0.92rem; }
.footer-col h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 20px;
  color: var(--text-heading);
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col li a {
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: color 0.25s ease, padding-left 0.25s ease;
}
.footer-col li a:hover {
  color: var(--gold);
  padding-left: 4px;
}
.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}
.footer-social a:hover {
  color: var(--gold);
  background: var(--gold-bg-soft);
  border-color: var(--gold);
}

/* ===========================
   19. Page Hero
   =========================== */
.page-hero {
  position: relative;
  padding: 160px 0 80px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: radial-gradient(ellipse at center, var(--gold-bg-soft) 0%, transparent 70%);
  opacity: 0.5;
}
.page-hero .container { position: relative; z-index: 1; }
.page-badge {
  display: inline-block;
  padding: 6px 20px;
  background: var(--gold-bg-soft);
  border: 1px solid var(--border-light);
  border-radius: 2px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.page-hero h1 { margin-bottom: 16px; }
.page-subtitle {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: var(--text-secondary);
}
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 20px;
}
.breadcrumb a { color: var(--gold); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { opacity: 0.5; }
.breadcrumb .current { color: var(--text-muted); }

/* ===========================
   20. About Page
   =========================== */
.about-intro-section {
  padding: 100px 0;
  text-align: center;
}
.about-intro-content {
  max-width: 800px;
  margin: 0 auto;
}
.about-intro-content h2 { margin-bottom: 8px; }
.about-intro-content p { margin-bottom: 20px; }
.firm-section {
  padding: 80px 0;
  text-align: center;
  background: var(--bg-secondary);
}
.firm-section-title {
  margin-bottom: 8px;
}
.firm-image-frame {
  position: relative;
  max-width: 600px;
  margin: 40px auto 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-light);
}
.firm-image {
  width: 100%;
  height: auto;
  display: block;
}
.firm-image-corner {
  position: absolute;
  width: 30px;
  height: 30px;
  border-color: var(--gold);
  border-style: solid;
  border-width: 0;
}
.firm-image-corner.tl { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.firm-image-corner.tr { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.firm-image-corner.bl { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.firm-image-corner.br { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.about-text h2 { margin-bottom: 8px; }
.about-text p { margin-bottom: 16px; }
.timeline-section {
  padding: 100px 0;
  background: var(--bg-secondary);
}
.timeline {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.timeline-entry {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 24px;
  position: relative;
}
.timeline-entry::before {
  content: '';
  position: absolute;
  top: 24px;
  left: -16px;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
}
.timeline-entry-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.timeline-year-tag {
  padding: 4px 10px;
  background: var(--gold-bg-medium);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 2px;
  letter-spacing: 0.5px;
}
.timeline-case-tag {
  padding: 4px 10px;
  background: var(--bg-elevated);
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 2px;
  border: 1px solid var(--border-light);
}
.timeline-entry h3 { margin-bottom: 8px; font-size: 1.15rem; }
.timeline-entry p { font-size: 0.92rem; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.value-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  transition: var(--transition-fast);
}
.value-card:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
}
.value-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gold-bg-soft);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--gold);
  margin: 0 auto 16px;
}
.value-card h4 { margin-bottom: 8px; }
.value-card p { font-size: 0.88rem; }

/* ===========================
   21. Services Page
   =========================== */
.all-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.all-services-grid .service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  padding: 40px 30px;
}
.all-services-grid .service-card .card-link { margin-top: auto; padding-top: 12px; }
.all-services-grid .service-card h3 { text-align: center; }
.all-services-grid .service-card p {
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* ===========================
   22. Contact Page — Premium Dark Luxury
   =========================== */
.contact-premium-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}
.contact-premium-section::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201, 162, 74, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

/* Premium Contact Grid */
.contact-grid-premium {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

/* Form Card — Glass Container */
.contact-form-card {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(201, 162, 74, 0.12);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.contact-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold-gradient);
}
.contact-form-card:hover {
  border-color: rgba(201, 162, 74, 0.2);
  box-shadow: 0 8px 48px rgba(201, 162, 74, 0.08);
}
.contact-form-card-inner {
  padding: 40px 36px;
}
.contact-form-header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
}
.contact-form-header h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
}
.contact-form-header p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Form Row Layout */
.contact-form-premium {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.contact-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-field label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(201, 162, 74, 0.7);
}
.contact-field-full {
  width: 100%;
}

/* Glassmorphism Inputs */
.glass-input {
  width: 100%;
  padding: 14px 18px;
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(201, 162, 74, 0.1);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.5;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  outline: none;
  -webkit-appearance: none;
}
.glass-input::placeholder {
  color: var(--text-muted);
  opacity: 0.45;
}
.glass-input:hover {
  border-color: rgba(201, 162, 74, 0.25);
  background: rgba(10, 10, 10, 0.75);
  box-shadow: 0 0 20px rgba(201, 162, 74, 0.04);
}
.glass-input:focus {
  border-color: rgba(201, 162, 74, 0.45);
  background: rgba(10, 10, 10, 0.8);
  box-shadow: 0 0 0 3px rgba(201, 162, 74, 0.08), 0 0 30px rgba(201, 162, 74, 0.06);
}

/* Select Dropdown */
.glass-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23C9A24A' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
  cursor: pointer;
}
.glass-select option {
  background: #1a1a1a;
  color: #fff;
  padding: 8px;
}

/* Textarea */
.glass-textarea {
  min-height: 120px;
  resize: vertical;
}

/* Submit Button — Gold Gradient with Shine */
.contact-submit-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 40px;
  background: linear-gradient(135deg, #C9A24A 0%, #A68A2E 50%, #C9A24A 100%);
  background-size: 200% 200%;
  color: #0A0A0A;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 4px 20px rgba(201, 162, 74, 0.2);
  margin-top: 4px;
}
.contact-submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}
.contact-submit-btn:hover {
  background-position: 100% 100%;
  box-shadow: 0 8px 40px rgba(201, 162, 74, 0.35);
  transform: translateY(-2px);
}
.contact-submit-btn:hover::before {
  left: 100%;
}
.contact-submit-btn i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}
.contact-submit-btn:hover i {
  transform: translateX(4px);
}

/* Info Card — Glass Container */
.contact-info-card {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(201, 162, 74, 0.12);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
}
.contact-info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold-gradient);
}
.contact-info-card:hover {
  border-color: rgba(201, 162, 74, 0.2);
  box-shadow: 0 8px 48px rgba(201, 162, 74, 0.08);
}
.contact-info-card-inner {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.contact-info-header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
}
.contact-info-header h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
}
.contact-info-header p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Info Grid */
.contact-info-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}
.contact-info-tile {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid rgba(201, 162, 74, 0.06);
  transition: all 0.35s ease;
}
.contact-info-tile:last-child {
  border-bottom: none;
}
.contact-info-tile:hover {
  padding-left: 4px;
}

/* Icon Circles with Glow */
.contact-info-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 50%;
  background: rgba(201, 162, 74, 0.08);
  border: 1px solid rgba(201, 162, 74, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1rem;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 0 0 rgba(201, 162, 74, 0);
}
.contact-info-tile:hover .contact-info-icon {
  background: rgba(201, 162, 74, 0.12);
  box-shadow: 0 0 24px rgba(201, 162, 74, 0.15);
  border-color: rgba(201, 162, 74, 0.3);
}
.contact-info-content h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-heading);
  margin-bottom: 4px;
}
.contact-info-content p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.contact-info-content a {
  color: var(--gold);
  transition: color 0.25s ease;
}
.contact-info-content a:hover {
  color: var(--gold-light);
}

/* Pill Action Buttons */
.contact-premium-actions {
  margin-top: auto;
  padding-top: 28px;
  display: flex;
  gap: 12px;
}
.contact-pill-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  text-decoration: none;
  border: none;
  position: relative;
  overflow: hidden;
}
.contact-pill-btn i {
  font-size: 1.05rem;
}

/* WhatsApp Pill */
.contact-pill-whatsapp {
  background: rgba(37, 211, 102, 0.12);
  color: #25D366;
  border: 1px solid rgba(37, 211, 102, 0.2);
}
.contact-pill-whatsapp:hover {
  background: rgba(37, 211, 102, 0.2);
  border-color: rgba(37, 211, 102, 0.4);
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.15);
  transform: translateY(-3px);
  color: #25D366;
}

/* Call Pill */
.contact-pill-call {
  background: rgba(201, 162, 74, 0.1);
  color: var(--gold);
  border: 1px solid rgba(201, 162, 74, 0.2);
}
.contact-pill-call:hover {
  background: rgba(201, 162, 74, 0.18);
  border-color: rgba(201, 162, 74, 0.4);
  box-shadow: 0 4px 24px rgba(201, 162, 74, 0.15);
  transform: translateY(-3px);
  color: var(--gold);
}

/* Responsive: Contact Premium */
@media (max-width: 1024px) {
  .contact-grid-premium {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
@media (max-width: 768px) {
  .contact-form-card-inner,
  .contact-info-card-inner {
    padding: 28px 20px;
  }
  .contact-form-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .contact-premium-actions {
    flex-direction: column;
  }
  .contact-pill-btn {
    justify-content: center;
  }
  .contact-form-header h3,
  .contact-info-header h3 {
    font-size: 1.35rem;
  }
}
@media (max-width: 480px) {
  .contact-form-card-inner,
  .contact-info-card-inner {
    padding: 24px 16px;
  }
}

/* ===========================
   23. Careers Page
   =========================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 36px 28px;
  transition: var(--transition-fast);
}
.feature-card:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
}
.feature-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold-bg-soft);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 20px;
}
.feature-card h4 { margin-bottom: 10px; font-size: 1.08rem; }
.feature-card p { font-size: 0.92rem; line-height: 1.75; color: var(--text-secondary); }
.careers-hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}
.positions-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}
.position-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 32px 30px;
  transition: var(--transition-smooth);
}
.position-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold-gradient);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s ease;
}
.position-card:hover {
  border-color: var(--border-light);
  box-shadow: var(--shadow-gold);
  transform: translateY(-6px);
}
.position-card:hover::before { transform: scaleX(1); }
.position-info {
  display: flex;
  flex-direction: column;
}
.position-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}
.position-card-top h3 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.3;
}
.position-tag {
  flex-shrink: 0;
  display: inline-block;
  padding: 5px 12px;
  background: var(--gold-bg-soft);
  color: var(--gold);
  border: 1px solid var(--border-light);
  border-radius: 3px;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  white-space: nowrap;
}
.position-info p {
  font-size: 0.9rem;
  margin-bottom: 22px;
  line-height: 1.7;
  color: var(--text-secondary);
}
.position-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}
.position-meta span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.83rem;
  color: var(--text-muted);
}
.position-meta i {
  color: var(--gold);
  width: 16px;
  text-align: center;
  font-size: 0.85rem;
}
.position-card .careers-apply-btn {
  margin-top: auto;
  width: 100%;
  justify-content: center;
}

/* ===========================
   24. Insights Page
   =========================== */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.insight-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 28px;
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
}
.insight-card:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
}
.insight-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 16px;
}
.insight-tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--gold-bg-soft);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 2px;
}
.insight-date {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.insight-card h3 { margin-bottom: 12px; font-size: 1.15rem; }
.insight-card p { font-size: 0.92rem; margin-bottom: 16px; flex-grow: 1; }

/* Insight Card Media & Body */
.insight-card-media {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  border-radius: 8px 8px 0 0;
  position: relative;
  overflow: hidden;
}
.insight-card-media::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.4));
}
.insight-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.insight-read {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.insight-read i {
  font-size: 0.72rem;
}
.insight-card:has(.insight-card-media) {
  padding: 0;
  border-radius: 8px;
}

/* ===========================
   25. Scroll Animations
   =========================== */
.fade-in, .fade-in-up, .fade-in-left, .fade-in-right {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in-up { transform: translateY(30px); }
.fade-in-left { transform: translateX(-30px); }
.fade-in-right { transform: translateX(30px); }
.fade-in.visible,
.fade-in-up.visible,
.fade-in-left.visible,
.fade-in-right.visible {
  opacity: 1;
  transform: translate(0);
}
.fade-in-d1 { transition-delay: 0.1s; }
.fade-in-d2 { transition-delay: 0.2s; }
.fade-in-d3 { transition-delay: 0.3s; }
.fade-in-d4 { transition-delay: 0.4s; }
.fade-in-d5 { transition-delay: 0.5s; }
.fade-in-d6 { transition-delay: 0.6s; }
.fade-in-d7 { transition-delay: 0.7s; }

/* ===========================
   26. Responsive
   =========================== */

/* Tablet (768px–1024px) */
@media (max-width: 1024px) {
  .main-nav, .header-cta { display: none; }
  .mobile-toggle { display: flex; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .all-services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat-item h3 { font-size: 2rem; }
  .advocate-grid { grid-template-columns: 1fr; gap: 40px; }
  .advocate-image-wrap { justify-content: center; }
  .booking-container { grid-template-columns: 1fr; }
  .legal-updates-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .positions-list { grid-template-columns: repeat(2, 1fr); }
  .office-grid { grid-template-columns: 1fr !important; }
  .testimonials-carousel { max-width: 100%; }
  .testimonial-glass { padding: 32px 24px; }
  .contact-grid-premium { grid-template-columns: 1fr; }
}

/* Mobile (320px–768px) */
@media (max-width: 768px) {
  html { font-size: 15px; }
  .section-padding { padding: 50px 0; }

  /* Header */
  .header-inner { padding: 0 16px; }
  .logo { font-size: 1.15rem; gap: 8px; }
  .logo-full { height: 46px; }
  .footer-about .logo-full { height: 54px; }
  .mobile-nav { width: 100%; }
  .mobile-nav { padding-top: 80px; }

  /* Hero */
  .hero { min-height: 500px; height: auto; padding: 120px 0 60px; display: flex; align-items: center; position: relative; }
  .hero::after { display: block; background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.35) 100%); }
  .hero-content { width: 92%; max-width: 100%; position: relative; transform: none; left: auto; top: auto; margin: 0 auto; text-align: center; }
  .hero-content h1 { font-size: clamp(1.6rem, 6vw, 2.2rem); margin-bottom: 14px; letter-spacing: -0.3px; }
  .hero-content p { font-size: 0.95rem; margin: 0 auto 28px; max-width: 100%; }
  .hero-badge { font-size: 0.6rem; padding: 6px 14px; letter-spacing: 2px; margin-bottom: 16px; }
  .hero-scroll { display: none; }
  .hero-slides { height: 100%; }
  .hero-slide { background-position: center 25%; }

  /* Grids — single column */
  .services-grid { grid-template-columns: 1fr; }
  .all-services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-item h3 { font-size: 1.8rem; }
  .stat-item p { font-size: 0.78rem; }
  .legal-updates-grid { grid-template-columns: 1fr; }
  .insights-grid { grid-template-columns: 1fr; }
  .positions-list { grid-template-columns: 1fr; }
  .insights-categories { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .features-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }

  /* Advocate */
  .advocate-image-frame { width: 220px; height: 300px; }
  .advocate-stats { grid-template-columns: repeat(2, 1fr); }
  .advocate-info h2 { text-align: center; }
  .advocate-subtitle { text-align: center; }

  /* Booking */
  .booking-service-types { grid-template-columns: 1fr 1fr; }
  .timeslot-grid { grid-template-columns: repeat(3, 1fr); }
  .booking-form-panel { padding: 20px 16px; }
  .booking-feature { gap: 12px; }
  .booking-feature-icon { width: 36px; height: 36px; min-width: 36px; font-size: 0.85rem; }

  /* Testimonials */
  .testimonial-glass { padding: 28px 20px; }
  .testimonial-text { font-size: 0.95rem; }
  .testimonial-text::before { font-size: 3rem; }

  /* Location */
  .location-grid { grid-template-columns: 1fr; }
  .location-actions { flex-direction: column; }
  .location-map-container { min-height: 280px; }
  .location-map-container iframe { min-height: 280px; }

  /* Page Hero */
  .page-hero { padding: 110px 0 50px; }
  .page-hero h1 { font-size: clamp(1.5rem, 6vw, 2.2rem); }
  .page-subtitle { font-size: 0.95rem; }

  /* Section Headers */
  .section-header { margin-bottom: 36px; }
  .section-header p { font-size: 0.92rem; }

  /* Buttons */
  .btn-primary, .btn-outline { padding: 12px 24px; font-size: 0.82rem; letter-spacing: 1px; }
  .confirmation-actions { flex-direction: column; }
  .confirmation-actions a { width: 100%; text-align: center; justify-content: center; }

  /* CTA */
  .cta-section { padding: 60px 0; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-buttons a { width: 100%; max-width: 300px; justify-content: center; }

  /* Service Detail Process */
  .svc-process-step { flex-direction: column; gap: 12px; }
  .svc-cta-bar { flex-direction: column; }
  .svc-cta-bar a { width: 100%; text-align: center; justify-content: center; }

  /* Careers */
  .careers-hero-actions { flex-direction: column; align-items: center; }
  .careers-hero-actions a,
  .careers-hero-actions button { width: 100%; max-width: 280px; justify-content: center; }
  .position-card { flex-direction: column; align-items: flex-start; }
  .position-card-top { flex-direction: column; gap: 8px; }
  .position-tag { align-self: flex-start; }
  .careers-form-row { grid-template-columns: 1fr; }
  .careers-confirm-grid { grid-template-columns: 1fr; }
  .careers-modal { padding: 32px 24px; max-height: 85vh; }

  /* Contact */
  .contact-form-card-inner, .contact-info-card-inner { padding: 24px 16px; }
  .contact-form-row { grid-template-columns: 1fr; }
  .contact-premium-actions { flex-direction: column; }

  /* Insights */
  .insight-modal { padding: 28px 20px; max-height: 85vh; }

  /* Office Section */
  .office-grid { grid-template-columns: 1fr !important; }
  .office-info-col { order: 2; }
  .office-carousel-wrapper { order: 1; }
  .office-map-wrapper { min-height: 250px; }

  /* Stats Section */
  .stats-section { padding: 40px 0; }

  /* Legal Feed */
  .legal-feed-section { max-height: none; overflow: visible; }
  .legal-feed-section:hover .legal-feed-track { animation-play-state: running; }
  .legal-feed-track { animation: none; }

  /* Misc */
  .advocate-section { padding: 50px 0; }
  .testimonial-author-info h4 { font-size: 0.92rem; }
  .testimonial-case-tag { font-size: 0.68rem; }
  .carousel-controls { margin-top: 24px; }
  .carousel-btn { width: 38px; height: 38px; font-size: 0.8rem; }
}

/* Small Mobile (320px–480px) */
@media (max-width: 480px) {
  html { font-size: 14px; }
  .container { padding: 0 12px; }

  /* Hero */
  .hero { min-height: 420px; padding: 100px 0 40px; }
  .hero-content h1 { font-size: clamp(1.4rem, 7vw, 1.8rem); }
  .hero-content p { font-size: 0.88rem; }
  .hero-badge { font-size: 0.55rem; padding: 5px 12px; letter-spacing: 1.5px; }
  .hero-buttons { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-buttons a { width: 100%; justify-content: center; padding: 12px 20px; }
  .hero-slide { background-position: center 20%; }

  /* Stats */
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-item h3 { font-size: 1.5rem; }
  .stat-item p { font-size: 0.72rem; letter-spacing: 0.5px; }

  /* Cards */
  .service-card { padding: 24px 20px; }
  .service-icon { width: 52px; height: 52px; font-size: 1rem; }
  .section-padding { padding: 40px 0; }
  .section-header { margin-bottom: 28px; }
  .section-header h2 { margin-bottom: 6px; }

  /* Booking */
  .booking-service-types { grid-template-columns: 1fr; }
  .timeslot-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .booking-form-panel { padding: 16px 12px; }
  .booking-info h3 { font-size: 1.2rem; }

  /* Advocate */
  .advocate-image-frame { width: 180px; height: 250px; }
  .advocate-stats { grid-template-columns: 1fr; }
  .stat-number { font-size: 1.5rem; }
  .advocate-badge { font-size: 0.65rem; padding: 6px 16px; }

  /* Testimonials */
  .testimonial-glass { padding: 24px 16px; }
  .testimonial-text { font-size: 0.88rem; line-height: 1.7; }
  .testimonial-text::before { font-size: 2.5rem; }
  .testimonial-stars { margin-bottom: 16px; gap: 3px; }
  .testimonial-stars i { font-size: 0.85rem; }

  /* Page Hero */
  .page-hero { padding: 100px 0 40px; }
  .page-badge { font-size: 0.62rem; padding: 4px 14px; }
  .breadcrumb { font-size: 0.78rem; }

  /* Footer */
  .footer-bottom p { font-size: 0.78rem; }
  .footer-social a { width: 36px; height: 36px; font-size: 0.82rem; }

  /* CTA */
  .cta-section p { font-size: 0.92rem; }

  /* Modal */
  .careers-modal { padding: 24px 16px; }
  .careers-modal h2 { font-size: 1.3rem; }
  .insight-modal { padding: 20px 16px; }
  .insight-modal h2 { font-size: 1.3rem; }

  /* Misc */
  .position-card { padding: 24px 20px; }
  .position-card h3 { font-size: 1.05rem; }
  .feature-card { padding: 24px 20px; }
  .insight-card { padding: 20px; }
  .legal-update-card { padding: 20px; }
  .key-areas-list li { font-size: 0.85rem; padding: 8px 12px 8px 24px; }

  /* Buttons */
  .btn-primary, .btn-outline { padding: 11px 20px; font-size: 0.78rem; }
  .btn-sm { padding: 9px 18px; font-size: 0.75rem; }

  /* WhatsApp Float */
  .whatsapp-float { width: 52px; height: 52px; bottom: 16px; right: 16px; font-size: 1.4rem; }
}

/* Ensure no horizontal overflow on any element */
.container,
.section-padding,
.hero,
.page-hero,
.site-footer,
.mobile-nav,
.booking-container,
.location-grid,
.contact-grid-premium,
.advocate-grid,
.about-grid,
.testimonials-carousel,
.legal-updates-grid,
.insights-grid,
.office-grid,
.position-card,
.service-card,
.insight-card,
.legal-update-card {
  max-width: 100%;
  overflow: hidden;
}

/* Ensure flex and grid children don't overflow */
.header-inner,
.hero-content,
.footer-grid,
.stats-grid,
.services-grid,
.all-services-grid,
.features-grid,
.values-grid,
.positions-list,
.advocate-stats,
.booking-features,
.booking-service-types,
.timeslot-grid,
.calendar-days,
.calendar-weekdays,
.location-actions,
.cta-buttons,
.hero-buttons,
.careers-hero-actions,
.contact-premium-actions,
.footer-social,
.testimonials-track {
  max-width: 100%;
  overflow-wrap: break-word;
}

/* ===========================
   Key Areas List (Enhanced)
   =========================== */
.key-areas-list { display: flex; flex-direction: column; gap: 10px; padding-left: 0; }
.key-areas-list li { position: relative; padding: 10px 16px 10px 28px; font-size: 0.92rem; color: var(--text-secondary); background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 4px; transition: var(--transition-fast); }
.key-areas-list li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--gold); font-size: 0.7rem; }
.key-areas-list li:hover { border-color: var(--border-light); padding-left: 32px; }

/* ===========================
   Services SPA Layout
   =========================== */
.services-spa-layout { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: start; }
.services-sidebar { position: sticky; top: 100px; }
.services-sidebar h3 { font-size: 1.1rem; margin-bottom: 20px; color: var(--text-heading); }
.services-sidebar-nav { display: flex; flex-direction: column; gap: 4px; }
.services-sidebar-link { display: flex; align-items: center; gap: 12px; padding: 12px 16px; color: var(--text-secondary); font-size: 0.88rem; font-weight: 500; border-radius: 4px; border: 1px solid transparent; transition: var(--transition-fast); cursor: pointer; background: none; border: none; text-align: left; font-family: var(--font-body); width: 100%; }
.services-sidebar-link:hover { background: var(--gold-bg-soft); color: var(--gold); }
.services-sidebar-link.active { background: var(--gold-bg-medium); color: var(--gold); border-color: var(--border-light); }
.services-sidebar-link i { width: 28px; text-align: center; font-size: 0.85rem; }
.services-detail { min-height: 400px; }
.services-detail-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--gold-bg-soft); border: 1px solid var(--border-light); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: var(--gold); margin-bottom: 20px; }
.services-detail h2 { margin-bottom: 8px; }
.services-detail .gold-divider { margin-bottom: 24px; }
.services-detail > p { margin-bottom: 16px; font-size: 1rem; line-height: 1.8; }
.services-detail h4 { font-family: var(--font-body); font-weight: 600; font-size: 1rem; margin-bottom: 16px; color: var(--text-heading); }
.services-cta { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border-subtle); }
.services-cta p { margin-bottom: 16px; font-size: 0.95rem; }

/* ===========================
   Insights Category Cards
   =========================== */
.insights-categories { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 60px; }
.insight-category-card { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 12px; padding: 32px 24px; text-align: center; transition: var(--transition-smooth); cursor: pointer; position: relative; overflow: hidden; }
.insight-category-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gold-gradient); transform: scaleX(0); transition: transform 0.4s ease; }
.insight-category-card:hover::before { transform: scaleX(1); }
.insight-category-card:hover { border-color: var(--border-light); box-shadow: var(--shadow-gold); transform: translateY(-6px); }
.insight-category-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--gold-bg-soft); border: 1px solid var(--border-light); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: var(--gold); margin: 0 auto 20px; transition: var(--transition-smooth); }
.insight-category-card:hover .insight-category-icon { background: var(--gold-bg-medium); box-shadow: var(--shadow-gold); }
.insight-category-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.insight-category-card p { font-size: 0.85rem; color: var(--text-muted); }
.insight-category-count { display: inline-block; margin-top: 12px; padding: 4px 12px; background: var(--gold-bg-soft); border-radius: 2px; font-size: 0.75rem; font-weight: 600; color: var(--gold); }

/* ===========================
   Careers Apply Modal
   =========================== */
.careers-modal-overlay { position: fixed; inset: 0; z-index: 2000; background: var(--bg-overlay); backdrop-filter: var(--glass-blur); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; padding: 20px; }
.careers-modal-overlay.active { opacity: 1; visibility: visible; }
.careers-modal {
  background: var(--bg-card-solid);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  max-width: 580px;
  width: 100%;
  padding: 44px 40px;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s ease;
  box-shadow: var(--shadow-lg);
  max-height: 90vh;
  overflow-y: auto;
}
.careers-modal-overlay.active .careers-modal { transform: translateY(0) scale(1); }
.careers-modal-close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border: 1px solid var(--border-light); border-radius: 50%; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 0.9rem; transition: var(--transition-fast); }
.careers-modal-close:hover { color: var(--gold); border-color: var(--gold); background: var(--gold-bg-soft); }
.careers-modal h2 { font-size: 1.5rem; margin-bottom: 8px; }
.careers-modal .modal-position { color: var(--gold); font-size: 0.95rem; font-weight: 600; margin-bottom: 28px; }
.careers-form-group {
  margin-bottom: 20px;
}
.careers-form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  margin-bottom: 8px;
}
.careers-form-group input,
.careers-form-group select {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}
.careers-form-group input:focus,
.careers-form-group select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 74, 0.1);
}
.careers-form-group input::placeholder {
  color: var(--text-muted);
}
.careers-form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  resize: vertical;
  min-height: 100px;
  transition: var(--transition-fast);
}
.careers-form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 74, 0.1);
}
.careers-form-group textarea::placeholder {
  color: var(--text-muted);
}
.careers-file-upload {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.careers-file-upload-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  border: 2px dashed var(--border-light);
  border-radius: 8px;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition-fast);
  background: var(--bg-elevated);
}
.careers-file-upload-label:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-bg-soft);
}
.careers-file-upload-label i {
  font-size: 1.2rem;
}
.careers-file-upload input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.careers-file-name {
  font-size: 0.82rem;
  color: var(--gold);
  font-weight: 500;
  min-height: 20px;
}
.careers-success-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: var(--bg-overlay);
  backdrop-filter: var(--glass-blur);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.careers-success-overlay.active {
  opacity: 1;
  visibility: visible;
}
.careers-success-modal {
  background: var(--bg-card-solid);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 48px 40px;
  text-align: center;
  max-width: 440px;
  width: 100%;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.4s ease;
  box-shadow: var(--shadow-lg);
}
.careers-success-overlay.active .careers-success-modal {
  transform: translateY(0) scale(1);
}
.careers-success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  color: #22c55e;
}
.careers-success-modal h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}
.careers-success-modal p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}
.careers-whatsapp-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(37, 211, 102, 0.08);
  border: 1px solid rgba(37, 211, 102, 0.2);
  border-radius: 8px;
  font-size: 0.82rem;
  color: #25D366;
  margin-top: 16px;
}
.careers-whatsapp-hint i {
  font-size: 1rem;
}

/* ===========================
   Careers Modal Header + Form Helpers
   =========================== */
.careers-modal-head { margin-bottom: 24px; }
.careers-modal-eyebrow { display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.careers-modal .modal-position { margin-bottom: 0; }
.careers-form-group .req { color: #ef4444; margin-left: 2px; }
.careers-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.careers-modal select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

/* ===========================
   Careers Success Confirmation Cards
   =========================== */
.careers-success-x { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border: 1px solid var(--border-light); border-radius: 50%; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 0.85rem; transition: var(--transition-fast); }
.careers-success-x:hover { color: var(--gold); border-color: var(--gold); background: var(--gold-bg-soft); }
.careers-confirm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0 24px; }
.careers-confirm-card { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 10px; border: 1px solid var(--border-subtle); background: var(--bg-elevated); text-align: left; text-decoration: none; transition: var(--transition-fast); }
.careers-confirm-card:hover { border-color: var(--border-light); transform: translateY(-2px); }
.careers-confirm-card i { font-size: 1.4rem; flex-shrink: 0; }
.careers-confirm-card.whatsapp { color: #25D366; }
.careers-confirm-card.whatsapp i { color: #25D366; }
.careers-confirm-card.email { color: var(--gold); }
.careers-confirm-card.email i { color: var(--gold); }
.careers-confirm-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.careers-confirm-text strong { font-size: 0.82rem; color: var(--text-heading); font-weight: 700; }
.careers-confirm-text span { font-size: 0.72rem; color: var(--text-muted); line-height: 1.4; }
.careers-success-modal .btn-primary { width: 100%; justify-content: center; }

/* ===========================
   Insight Detail Modal
   =========================== */
.insight-modal-overlay { position: fixed; inset: 0; z-index: 2000; background: var(--bg-overlay); backdrop-filter: var(--glass-blur); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; padding: 20px; }
.insight-modal-overlay.active { opacity: 1; visibility: visible; }
.insight-modal { background: var(--bg-card-solid); border: 1px solid var(--border-light); border-radius: 12px; max-width: 720px; width: 100%; max-height: 80vh; overflow-y: auto; padding: 40px; position: relative; transform: translateY(20px) scale(0.97); transition: transform 0.3s ease; box-shadow: var(--shadow-lg); }
.insight-modal-overlay.active .insight-modal { transform: translateY(0) scale(1); }
.insight-modal-close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border: 1px solid var(--border-light); border-radius: 50%; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 0.9rem; transition: var(--transition-fast); }
.insight-modal-close:hover { color: var(--gold); border-color: var(--gold); }
.insight-modal h2 { font-size: 1.5rem; margin-bottom: 12px; }
.insight-modal .insight-modal-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--border-subtle); }
.insight-modal .insight-modal-meta .insight-tag { background: var(--gold-bg-soft); color: var(--gold); padding: 4px 12px; border-radius: 2px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.insight-modal .insight-modal-meta span:not(.insight-tag) { font-size: 0.85rem; color: var(--text-muted); }
.insight-modal p { font-size: 1rem; line-height: 1.8; margin-bottom: 16px; }
.insight-modal ul { margin-bottom: 16px; }
.insight-modal ul li { color: var(--text-secondary); line-height: 1.7; }

/* ===========================
   WhatsApp Floating Button
   =========================== */
.whatsapp-float { position: fixed; bottom: 24px; right: 24px; width: 60px; height: 60px; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.6rem; box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); z-index: 900; transition: transform 0.3s ease, box-shadow 0.3s ease; cursor: pointer; text-decoration: none; }
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5); }
.whatsapp-float::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(37, 211, 102, 0.3); animation: whatsappPulse 2s ease infinite; }
@keyframes whatsappPulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.15); opacity: 0; } }

/* ===========================
   Mobile Nav Body Lock
   =========================== */
body.mobile-nav-open { overflow: hidden; }
.mobile-nav-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 998; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; }
.mobile-nav-overlay.visible { opacity: 1; visibility: visible; }

/* ===========================
   Form Select Styling
   =========================== */
select.form-input { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }

/* ===========================
   Contact Page Extras (Legacy — Kept for Maps)
   =========================== */
.contact-map-section { margin-top: 60px; }
.contact-map-section h2 { margin-bottom: 24px; }
.map-container { border-radius: 12px; overflow: hidden; border: 1px solid var(--border-subtle); height: 400px; }
.map-container iframe { width: 100%; height: 100%; border: none; }

/* SPA sidebar responsive — handled in main responsive section */
@media (max-width: 1024px) { .services-spa-layout { grid-template-columns: 1fr; } .services-sidebar { position: static; } }
@media (max-width: 768px) { .insights-categories { grid-template-columns: 1fr; } }

/* ===========================
   Service Detail Panels (SPA)
   =========================== */
.service-detail-panel { display: none; }
.service-detail-panel.active { display: block; }

/* =============================================
   Service Detail Pages
   ============================================= */
.service-detail-content {
  padding: 80px 0;
}
.service-detail-content .container {
  max-width: 900px;
}
.svc-overview {
  margin-bottom: 60px;
}
.svc-overview h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 24px;
  color: var(--text-heading);
}
.svc-overview p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.svc-section {
  margin-bottom: 48px;
}
.svc-section h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  margin-bottom: 24px;
  color: var(--text-heading);
  display: flex;
  align-items: center;
  gap: 12px;
}
.svc-section h3 i {
  color: var(--gold);
  font-size: 1.1rem;
}
.svc-process-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.svc-process-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 24px;
  transition: var(--transition-fast);
}
.svc-process-step:hover {
  border-color: var(--border-light);
  transform: translateX(4px);
}
.step-number {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #1a1a1a;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-content h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--text-heading);
}
.step-content p {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 0;
}
.svc-benefits {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.svc-benefit {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}
.svc-benefit:hover {
  border-color: var(--border-light);
  background: var(--gold-bg-soft);
}
.svc-benefit i {
  color: var(--gold);
  font-size: 0.8rem;
  margin-top: 4px;
  min-width: 16px;
}
.svc-cta-bar {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
  margin-top: 16px;
}

/* ===========================
   Utility: Inline Style Replacements
   =========================== */
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.careers-intro { margin-top: 32px; }
.careers-intro a { color: var(--gold); }
.firm-section-desc { max-width: 700px; margin: 20px auto 0; color: var(--text-secondary); line-height: 1.8; }
.contact-form-desc, .contact-info-desc { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 32px; line-height: 1.7; }

/* glassmorphism input light overrides — moved to unified light overrides section above */
.services-view-all { text-align: center; margin-top: 40px; }
.booking-form-label { font-size: 0.82rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; display: block; margin-bottom: 10px; }
.service-type-option i { margin-right: 6px; }
.confirmation-text { color: var(--text-muted); margin-bottom: 24px; }
.btn-full-width { width: 100%; }
.btn-mt { margin-top: 16px; }

/* =============================================
   27. Micro Interactions
   Reusable hover/interaction utility classes
   ============================================= */

/* Gold glow pulse on hover — for primary buttons */
.btn-glow {
 position: relative;
 transition: var(--transition-smooth);
}
.btn-glow:hover {
 box-shadow: 0 0 20px rgba(var(--gold-rgb), 0.4),
              0 0 40px rgba(var(--gold-rgb), 0.2);
}

/* Card lift — subtle upward float with shadow escalation */
.card-lift {
 transition: var(--transition-smooth);
}
.card-lift:hover {
 transform: translateY(-6px);
 box-shadow: var(--shadow-lg);
}

/* Animated underline for links */
.link-underline {
 position: relative;
 display: inline-block;
}
.link-underline::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: width 0.35s ease;
}
.link-underline:hover::after {
  width: 100%;
}

/* Gentle scale on hover */
.scale-hover {
 transition: var(--transition-smooth);
}
.scale-hover:hover {
 transform: scale(1.03);
}

/* Gold glow box-shadow on hover */
.glow-hover {
 transition: var(--transition-smooth);
}
.glow-hover:hover {
 box-shadow: 0 0 24px rgba(var(--gold-rgb), 0.3),
              0 0 48px rgba(var(--gold-rgb), 0.12);
}

/* Enhance existing btn-primary hover with gold glow pulse */
.btn-primary:hover {
 box-shadow: 0 0 18px rgba(var(--gold-rgb), 0.35),
              0 0 36px rgba(var(--gold-rgb), 0.15),
              var(--shadow-gold-strong);
 transform: translateY(-2px);
}

/* Enhance service-card hover with card-lift effect */
.service-card:hover {
 transform: translateY(-6px);
 box-shadow: var(--shadow-gold),
              0 0 20px rgba(var(--gold-rgb), 0.1);
 border-color: var(--border-medium);
}

/* =============================================
   29. Live Legal Updates Feed
   Auto-scrolling vertical news ticker with cards
   ============================================= */
.legal-feed-section {
  position: relative;
}

/* Only the cards scroll/clip — the section heading stays fixed above */
.legal-feed-container {
  position: relative;
  max-height: 460px;
  overflow: hidden;
}

/* Vertical scrolling track — duplicated content for seamless loop */
.legal-feed-track {
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: feedScroll 45s linear infinite;
}

/* Pause the feed on hover */
.legal-feed-section:hover .legal-feed-track {
  animation-play-state: paused;
}

@keyframes feedScroll {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

/* Individual feed card — glassmorphism magazine style */
.legal-feed-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 24px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.legal-feed-card:hover {
  border-color: var(--border-medium);
  box-shadow: 0 0 24px rgba(var(--gold-rgb), 0.15),
              var(--shadow-gold);
  transform: translateY(-3px);
}

/* Category pills — color-coded by type */
.feed-category-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 2px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.feed-category-tag.new-law {
  background: rgba(34, 197, 94, 0.1);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.2);
}
.feed-category-tag.judgment {
  background: rgba(201, 162, 74, 0.12);
  color: var(--gold-light);
  border: 1px solid rgba(201, 162, 74, 0.25);
}
.feed-category-tag.amendment {
  background: rgba(59, 130, 246, 0.1);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.2);
}
.feed-category-tag.alert {
  background: rgba(239, 68, 68, 0.1);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.2);
}
.feed-category-tag.telangana {
  background: rgba(168, 85, 247, 0.1);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.2);
}

/* Timestamp row */
.feed-timestamp {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}
.feed-timestamp i {
  font-size: 0.7rem;
  color: var(--gold);
}

/* Card title */
.feed-card-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
  line-height: 1.4;
}

/* Excerpt — clamped to 2 lines */
.feed-card-excerpt {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}

/* Read more link with arrow */
.feed-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  transition: gap 0.3s ease, color 0.25s ease;
}
.feed-read-more:hover {
  gap: 10px;
  color: var(--gold-light);
}

/* =============================================
   30. Legal Feed Modal
   Full article/detail overlay for feed cards
   ============================================= */
.feed-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: var(--bg-overlay);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  padding: 24px;
}

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

.feed-modal {
  background: var(--bg-card-solid);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  max-width: 700px;
  width: 100%;
  padding: 40px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s ease;
  box-shadow: var(--shadow-lg);
}

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

/* Close button — top-right */
.feed-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-light);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.feed-modal-close:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: var(--gold-bg-soft);
}

/* Modal category tag */
.feed-modal-category {
  margin-bottom: 12px;
}

/* Modal title */
.feed-modal-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 12px;
  line-height: 1.3;
}

/* Modal timestamp */
.feed-modal-timestamp {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

/* Modal body content */
.feed-modal-body {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-secondary);
}
.feed-modal-body p {
  margin-bottom: 16px;
}

/* =============================================
   31. Smart Office Experience
   Office info + map + image carousel section
   ============================================= */
.office-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

/* Two-column layout: info left, map right */
.office-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* Glassmorphism card for office info */
.office-glass-card {
  background: var(--bg-glass);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 32px;
  box-shadow: var(--glass-shadow);
}

/* Address block with icon */
.office-address-block {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.office-address-block i {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: var(--gold-bg-soft);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1rem;
  margin-top: 2px;
}
.office-address-block h4 {
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 4px;
}
.office-address-block p {
  font-size: 0.92rem;
}

/* Row of action buttons */
.office-action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.office-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: transparent;
  cursor: pointer;
  transition: var(--transition-fast);
  text-decoration: none;
  font-family: var(--font-body);
}

.office-action-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-bg-soft);
  box-shadow: 0 0 16px rgba(var(--gold-rgb), 0.12);
  transform: translateY(-2px);
}

.office-action-btn i {
  font-size: 1rem;
  color: var(--gold);
}

/* Map wrapper */
.office-map-wrapper {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  min-height: 400px;
}

.office-map-wrapper iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
  display: block;
}


/* Section label badge */
.office-label {
  display: inline-block;
  padding: 6px 20px;
  background: var(--gold-bg-soft);
  border: 1px solid var(--border-light);
  border-radius: 2px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

/* =============================================
   32. Enhanced Booking Section
   Step indicators, calendar accents, success overlay
   ============================================= */
.booking-section-enhanced {
 position: relative;
}

/* Visual card stack behind booking form */
.booking-card-stack {
  position: relative;
}
.booking-card-stack::before,
.booking-card-stack::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: var(--bg-card);
  z-index: -1;
}
.booking-card-stack::before {
  transform: translate(6px, 6px);
  opacity: 0.5;
}
.booking-card-stack::after {
  transform: translate(12px, 12px);
  opacity: 0.25;
}

/* Calendar gold accent for selected day */
.calendar-day.selected {
 box-shadow: 0 0 12px rgba(var(--gold-rgb), 0.35);
}

/* Timeslot hover glow effect */
.timeslot:hover:not(.disabled) {
 border-color: var(--gold);
 background: var(--gold-bg-soft);
 box-shadow: 0 0 12px rgba(var(--gold-rgb), 0.15);
}

.timeslot.selected {
  box-shadow: 0 0 16px rgba(var(--gold-rgb), 0.3);
}

/* Step progress indicator (1. Select Date → 2. Choose Time → 3. Your Details) */
.booking-step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 24px;
  padding: 0 20px;
}

.booking-step {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border-subtle);
  transition: var(--transition-fast);
  white-space: nowrap;
}

.booking-step.active {
  color: #1a1a1a;
  background: var(--gold-gradient);
  border-color: transparent;
}

.booking-step.completed {
  color: var(--gold);
  border-color: var(--gold);
}

.booking-step-line {
  width: 32px;
  height: 2px;
  background: var(--border-light);
  margin: 0 4px;
}

.step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--border-light);
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.booking-step.active .step-num {
  background: rgba(0, 0, 0, 0.15);
  color: #1a1a1a;
}

.step-label {
  font-family: var(--font-body);
}

.booking-step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--border-medium);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.booking-step.active .booking-step-number {
  background: var(--gold-gradient);
  border-color: transparent;
  color: #1a1a1a;
  box-shadow: 0 0 14px rgba(var(--gold-rgb), 0.3);
}

.booking-step.completed .booking-step-number {
  background: var(--gold);
  border-color: transparent;
  color: #1a1a1a;
}

.booking-step-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.25s ease;
}

.booking-step.active .booking-step-label {
  color: var(--gold);
  font-weight: 600;
}

.booking-step.completed .booking-step-label {
  color: var(--text-secondary);
}

.booking-step-connector {
  flex: 0 0 40px;
  height: 2px;
  background: var(--border-medium);
  margin: 0 8px;
  border-radius: 1px;
  transition: background 0.4s ease;
}

.booking-step-connector.active {
  background: var(--gold-gradient);
}

/* Booking Confirmation Overlay */
.booking-confirmation-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--bg-overlay);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  padding: 24px;
}
.booking-confirmation-overlay.active {
  opacity: 1;
  visibility: visible;
}
.booking-confirmation-modal {
  background: var(--bg-card-solid);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 48px 40px;
  max-width: 460px;
  width: 100%;
  text-align: center;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.35s ease;
  box-shadow: var(--shadow-lg);
}
.booking-confirmation-overlay.active .booking-confirmation-modal {
  transform: translateY(0) scale(1);
}
.booking-success-check {
  margin-bottom: 24px;
}
.checkmark-svg {
  width: 72px;
  height: 72px;
}
.checkmark-circle {
  stroke: var(--gold);
  stroke-width: 2;
  stroke-dasharray: 166;
  stroke-dashoffset: 0;
  animation: checkmarkCircle 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}
.checkmark-check {
  stroke: var(--gold);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: checkmarkCheck 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}
@keyframes checkmarkCircle {
  0% { stroke-dashoffset: 166; }
  100% { stroke-dashoffset: 0; }
}
@keyframes checkmarkCheck {
  0% { stroke-dashoffset: 48; }
  100% { stroke-dashoffset: 0; }
}
.booking-confirmation-modal h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}
.confirmation-details {
  text-align: left;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 24px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-secondary);
}
.confirmation-details p {
  margin-bottom: 8px;
}
.confirmation-details p:last-child {
  margin-bottom: 0;
}
.confirmation-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Full-screen booking success confirmation overlay */
.booking-success-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: var(--bg-overlay);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

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

.booking-success-content {
  text-align: center;
  max-width: 440px;
  padding: 20px;
}

/* SVG checkmark draw animation */
.booking-success-check {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
}

.booking-success-check svg {
  width: 100%;
  height: 100%;
}

.booking-success-check .checkmark-circle {
  stroke: var(--gold);
  stroke-width: 2;
  fill: none;
  stroke-dasharray: 240;
  stroke-dashoffset: 240;
  animation: checkmarkCircle 0.6s ease forwards;
}

.booking-success-check .checkmark-tick {
  stroke: var(--gold);
  stroke-width: 3;
  fill: none;
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: checkmarkDraw 0.4s 0.5s ease forwards;
}

@keyframes checkmarkCircle {
  to { stroke-dashoffset: 0; }
}

@keyframes checkmarkDraw {
  to { stroke-dashoffset: 0; }
}

/* Pulse glow around checkmark */
.booking-success-content .success-icon-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 24px;
}

.success-icon-wrapper::after {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  animation: successPulse 1.5s ease-out infinite;
}

@keyframes successPulse {
  0%   { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.4); opacity: 0; }
}

.booking-success-content h2 {
  margin-bottom: 12px;
}

.booking-success-content p {
  font-size: 1rem;
  margin-bottom: 28px;
}

/* =============================================
   33. Enhanced Scroll Animations
   Stagger, slide variants, scale-in, spring easing
   ============================================= */

/* Staggered children — each child animates with incremental delay */
.stagger-children > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-children > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-children > *:nth-child(6) { transition-delay: 0.6s; }
.stagger-children > *:nth-child(7) { transition-delay: 0.7s; }
.stagger-children > *:nth-child(8) { transition-delay: 0.8s; }

/* Small slide-up variant */
.slide-up-sm {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Large slide-up variant */
.slide-up-lg {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

/* Scale-in variant */
.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Enhanced .visible state — spring-like cubic-bezier for livelier feel */
.fade-in.visible,
.fade-in-up.visible,
.fade-in-left.visible,
.fade-in-right.visible,
.slide-up-sm.visible,
.slide-up-lg.visible,
.scale-in.visible {
  opacity: 1;
  transform: translate(0) scale(1);
  transition-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* =============================================
   34. Responsive — New Sections
   ============================================= */
@media (max-width: 1024px) {
  /* Office section stacks to single column */
  .office-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  /* Feed cards use smaller padding */
  .legal-feed-card {
    padding: 18px;
  }
  .feed-card-title {
    font-size: 1rem;
  }
  .feed-card-excerpt {
    font-size: 0.85rem;
  }
  /* Booking steps stay side by side (1 · 2 · 3) on mobile */
  .booking-step-indicator {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 4px;
    padding: 0 8px;
  }
  .booking-step {
    padding: 7px 12px;
  }
  .booking-step-line {
    width: 16px;
    margin: 0 2px;
  }
  .booking-step-connector {
    width: 24px;
    height: 2px;
    flex: 0 0 auto;
  }
  /* Feed modal */
  .feed-modal {
    padding: 28px 20px;
  }
  .feed-modal-title {
    font-size: 1.3rem;
  }
  /* Office glass card */
  .office-glass-card {
    padding: 24px;
  }
  .office-action-buttons {
    flex-direction: column;
  }
  .office-action-btn {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  /* Everything full-width, reduced padding */
  .legal-feed-card {
    padding: 14px;
  }
  .feed-card-title {
    font-size: 0.95rem;
  }
  .feed-card-excerpt {
    font-size: 0.82rem;
  -webkit-line-clamp: 1;
  }
  .office-action-buttons {
    flex-direction: column;
  }
  .office-action-btn {
    justify-content: center;
  }
  .office-map-wrapper {
    min-height: 280px;
  }
  .office-map-wrapper iframe {
    min-height: 280px;
  }
  .booking-step-label {
    font-size: 0.72rem;
  }
  .feed-modal {
    padding: 20px 16px;
    max-height: 90vh;
  }
  .feed-modal-title {
    font-size: 1.15rem;
  }
  .booking-success-content h2 {
    font-size: 1.5rem;
  }
}

/* =============================================
   35. Body Scroll Lock
   Prevents background scroll when overlay is open
   ============================================= */
body.scroll-locked {
  overflow: hidden;
}

/* =============================================
   36. Featured Firm Image Section (REMOVED)
   ============================================= */

/* =============================================
   37. Insight Card Click Enhancement
   Make grid insight cards behave like clickable items
   ============================================= */
.insight-card {
  cursor: pointer;
  transition: var(--transition-smooth);
}
.insight-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-gold);
  border-color: var(--border-medium);
}
.insight-card .card-link {
  pointer-events: none;
}

/* =============================================
   38. Premium Hero Slideshow (Ken Burns + Fade)
   ============================================= */
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 30%;
 opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.4s ease;
  will-change: opacity, transform;
}
.hero-slide.active { opacity: 1; animation: heroKenBurns 6s ease-out forwards; }
@keyframes heroKenBurns {
  from { transform: scale(1); }
  to   { transform: scale(1.14); }
}
/* =============================================
   39. Booking Confirmation Overlay (fix)
   ============================================= */
.booking-confirmation-overlay {
  position: fixed; inset: 0; z-index: 3000;
  background: var(--bg-overlay);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  padding: 24px;
}
.booking-confirmation-overlay.visible { opacity: 1; visibility: visible; }
.booking-confirmation-modal {
  background: var(--bg-card-solid);
  border-radius: 14px;
  max-width: 100%;
  padding: 44px 36px 32px;
  text-align: center;
  position: relative;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
  box-shadow: var(--shadow-lg);
}
.booking-confirmation-overlay.visible .booking-confirmation-modal { transform: translateY(0) scale(1); }
.booking-success-check { width: 80px; height: 80px; margin: 0 auto 20px; }
.booking-confirmation-modal h3 { font-size: 1.5rem; margin-bottom: 8px; }
.confirmation-text { color: var(--text-muted); font-size: 0.92rem; }
.confirmation-details { display: flex; flex-direction: column; gap: 0; text-align: left; margin-bottom: 24px; }
.detail-row {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.detail-label {
  font-size: 0.74rem; color: var(--text-muted);
  text-transform: uppercase;
}
.detail-value { font-size: 0.9rem; color: var(--text-primary); font-weight: 600; text-align: right; }
.confirmation-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }
/* booking confirmation modal — moved to unified light overrides section above */

/* =============================================
   40. Services Card Grid (replaces sidebar SPA)
   ============================================= */
.all-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 1024px) { .all-services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .all-services-grid { grid-template-columns: 1fr; } }

/* =============================================
   41. Enhanced Insight Cards (link cards) + Article Pages
   ============================================= */
/* Anchor-based insight card (entire card is clickable) */
.insights-grid .insight-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}
.insight-card-media {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
}
.insight-card:hover .insight-card-media { transform: scale(1.06); }
.insight-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.insight-card-body .card-link { margin-top: auto; padding-top: 4px; }
.insight-read {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.insight-date i, .insight-read i { color: var(--gold); font-size: 0.72rem; }

/* ---------- Insight Article Page ---------- */
.article-hero {
  position: relative;
  height: 46vh;
  min-height: 340px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}
.article-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.25) 0%, rgba(10,10,10,0.85) 100%);
}
.article-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 0 44px;
}
.article-hero-inner .breadcrumb .current { color: rgba(255,255,255,0.85); }
.article-hero-inner h1 { color: #fff; margin: 14px 0 0; max-width: 820px; }
.article-hero-inner .page-badge { background: rgba(201,162,74,0.2); }

.article-body-section { padding: 56px 0 24px; }
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 56px;
  align-items: start;
}
.article-content { min-width: 0; }
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 20px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border-subtle);
  align-items: center;
}
.article-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.article-meta-item i { color: var(--gold); }
.article-meta-item .insight-tag { margin: 0; }
.article-share {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.article-share-label { font-size: 0.8rem; color: var(--text-muted); font-weight: 600; }
.article-share-btn {
  width: 36px; height: 36px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  background: transparent;
  transition: var(--transition-fast);
  cursor: pointer;
}
.article-share-btn:hover { background: var(--gold); color: #1a1a1a; border-color: transparent; transform: translateY(-2px); }

.article-prose p { font-size: 1.02rem; line-height: 1.85; color: var(--text-secondary); margin-bottom: 20px; }
.article-prose h2 { margin: 36px 0 16px; font-size: 1.5rem; }
.article-prose h3 { margin: 28px 0 12px; font-size: 1.2rem; }
.article-prose ul { margin: 0 0 24px; padding-left: 22px; }
.article-prose li { font-size: 1rem; line-height: 1.8; color: var(--text-secondary); margin-bottom: 8px; }
.article-prose blockquote {
  border-left: 3px solid var(--gold);
  padding: 14px 22px;
  margin: 24px 0;
  background: var(--bg-card);
  border-radius: 0 6px 6px 0;
  font-style: italic;
  color: var(--text-secondary);
}

/* Sidebar (related + back) */
.article-sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 24px; }
.back-to-insights {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--gold); font-weight: 600; font-size: 0.9rem;
  margin-bottom: 8px;
}
.related-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 18px;
  margin-bottom: 14px;
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}
.related-card:hover { border-color: var(--border-light); transform: translateY(-2px); }
.related-card h4 { font-size: 0.98rem; margin-bottom: 6px; }
.related-card .related-meta { font-size: 0.76rem; color: var(--text-muted); }
.sidebar-cta-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 24px;
  text-align: center;
}
.sidebar-cta-card h4 { margin-bottom: 8px; }
.sidebar-cta-card p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 16px; }

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

/* =============================================
   42. 404 Error Page
   ============================================= */
.error-section {
  min-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 130px 0 60px;
  position: relative;
  overflow: hidden;
}
.error-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, rgba(201,162,74,0.08), transparent 60%);
  z-index: 0;
}
.error-content { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.error-code {
  font-family: var(--font-heading);
  font-size: clamp(6rem, 18vw, 11rem);
  line-height: 1;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
  letter-spacing: -3px;
  font-weight: 700;
}
.error-content h1 { font-size: 1.9rem; margin-bottom: 14px; }
.error-content > p { color: var(--text-secondary); margin-bottom: 30px; font-size: 1.05rem; }
.error-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }
.error-popular { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.error-popular a {
  font-size: 0.85rem; color: var(--text-muted);
  padding: 8px 16px; border: 1px solid var(--border-subtle); border-radius: 4px;
  transition: var(--transition-fast);
}
.error-popular a:hover { color: var(--gold); border-color: var(--border-light); }

/* =============================================
   43. Global UI Polish
   ============================================= */

/* Prevent text overflow globally */
h1, h2, h3, h4, h5, h6, p, span, a, li {
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
}

/* Ensure cards never overflow their containers */
.service-card, .feature-card, .position-card, .insight-card,
.value-card, .timeline-entry, .key-areas-list li {
  overflow: hidden;
}

/* About grid culture section improved spacing */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.about-text h2 { margin-bottom: 20px; }
.about-text p { margin-bottom: 16px; line-height: 1.8; }

/* Careers intro section polished */
.careers-intro {
  text-align: center;
  padding: 24px 0 0;
  border-top: 1px solid var(--border-subtle);
  margin-top: 40px;
}
.careers-intro p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Position card Apply Now button styling enhancement */
.position-card .btn-primary {
  flex-shrink: 0;
  white-space: nowrap;
}

/* Smooth page transitions for all internal links */
a[href$='.html'] {
  transition: color 0.2s ease, transform 0.2s ease;
}

/* Section padding breathing room */
.section-padding + .section-padding {
  border-top: 1px solid var(--border-subtle);
}

/* Responsive: Careers modal and success popup */
@media (max-width: 1100px) {
  .positions-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .careers-form-row {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .positions-list {
    grid-template-columns: 1fr;
  }
  .position-card {
    padding: 26px 22px;
  }
  .careers-modal {
    padding: 28px 20px;
  }
  .careers-success-modal {
    padding: 32px 22px;
  }
  .careers-confirm-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .position-card {
    padding: 24px 18px;
  }
  .careers-modal {
    padding: 24px 16px;
  }
}

/* Ensure consistent card border-radius across the site */
.service-card, .feature-card, .position-card, .value-card,
.insight-card, .insight-category-card, .contact-form-card,
.contact-info-card, .careers-modal, .careers-success-modal {
  border-radius: 10px;
}

/* Button consistency - prevent text overflow */
.btn-primary, .btn-outline {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Light theme careers modal — moved to unified light overrides section above */

/* =============================================
   44. About Page — Advocate Profile Section
   ============================================= */
.about-advocate-section {
  padding: 100px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.about-advocate-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 60px;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}
.about-advocate-image-col {
  display: flex;
  justify-content: center;
}
.about-advocate-frame {
  width: 320px;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  border: 3px solid var(--gold);
  box-shadow: var(--shadow-gold-strong);
  transition: var(--transition-smooth);
}
.about-advocate-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.about-advocate-frame:hover {
  box-shadow: 0 0 60px rgba(201, 162, 74, 0.3);
}
.about-advocate-info-col {
  padding-top: 8px;
}
.about-advocate-name h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 4px;
  color: var(--text-heading);
}
.about-advocate-role {
  font-size: 1rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 28px;
}
.about-advocate-data {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}
.about-advocate-data-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.about-advocate-data-item .data-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
}
.about-advocate-data-item .data-value {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.about-advocate-bio {
  border-top: 1px solid var(--border-subtle);
  padding-top: 28px;
}
.about-advocate-bio h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 16px;
}
.about-advocate-bio p {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.about-advocate-bio p:last-child {
  margin-bottom: 0;
}

/* Responsive: About Advocate Section */
@media (max-width: 1024px) {
  .about-advocate-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 100%;
  }
  .about-advocate-image-col {
    justify-content: center;
  }
  .about-advocate-data {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 768px) {
  .about-advocate-section {
    padding: 60px 0;
  }
  .about-advocate-frame {
    width: 280px;
    height: 350px;
  }
  .about-advocate-name h3 {
    font-size: 1.5rem;
  }
  .about-advocate-data {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}
@media (max-width: 480px) {
  .about-advocate-frame {
    width: 240px;
    height: 300px;
  }
  .about-advocate-data {
    grid-template-columns: 1fr;
  }
  .about-advocate-data-item {
    padding: 14px 16px;
  }
  .about-advocate-name h3 {
    font-size: 1.3rem;
  }
}


/* === svc-faqs (generated) === */
.svc-faqs { display: flex; flex-direction: column; gap: 12px; }
.svc-faq {
  background: var(--surface-1, rgba(255,255,255,0.02));
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 0 18px;
}
.svc-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 0;
  font-weight: 600;
  color: var(--text-primary, #fff);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.svc-faq summary::-webkit-details-marker { display: none; }
.svc-faq summary::after {
  content: "\002B";
  color: var(--gold);
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}
.svc-faq[open] summary::after { content: "\2212"; }
.svc-faq > p {
  margin: 0;
  padding: 0 0 18px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==========================================================================
   LIGHT / DARK THEME TOGGLE (generated)
   Dark is the default (:root). [data-theme="light"] on <html> flips the palette.
   Gold brand accents stay identical in both modes.
   ========================================================================== */
[data-theme="light"] {
  --bg-primary: #FAFAF8;
  --bg-secondary: #F1F0EC;
  --bg-elevated: #FFFFFF;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-solid: #FFFFFF;
  --bg-card-hover: #F4F2EC;
  --bg-overlay: rgba(255, 255, 255, 0.92);
  --bg-glass: rgba(255, 255, 255, 0.72);
  --bg-input: #FFFFFF;
  --bg-footer: #F1F0EC;
  --bg-stats: #F1F0EC;
  --text-primary: #1A1A1A;
  --text-secondary: #4A4A4A;
  --text-muted: #6F6F6F;
  --text-heading: #141414;
  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-light: rgba(0, 0, 0, 0.12);
  --border-medium: rgba(201, 162, 74, 0.35);
  --border-strong: rgba(201, 162, 74, 0.5);
  --border-surface: rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.10);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  --header-bg: rgba(255, 255, 255, 0.90);
  --header-scrolled-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  --dropdown-bg: rgba(255, 255, 255, 0.98);
  --dropdown-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
  --dropdown-hover-bg: rgba(201, 162, 74, 0.12);
  --mobile-nav-bg: rgba(255, 255, 255, 0.98);
  --scrollbar-thumb: rgba(201, 162, 74, 0.35);
  --scrollbar-track: #F1F0EC;
}

/* Smooth palette transition when toggling */
body, .site-header, .nav-dropdown-inner, .mobile-nav, .service-card,
.footer, .site-footer { transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease; }

/* Theme toggle button (injected into .header-actions by main.js) */
.theme-toggle {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border-medium);
  background: var(--gold-bg-soft);
  color: var(--gold);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  transition: background-color 0.25s ease, transform 0.3s ease, border-color 0.25s ease;
}
.theme-toggle:hover {
  background: var(--gold-bg-medium);
  border-color: var(--border-strong);
  transform: rotate(20deg);
}
.theme-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* The hero sits on a fixed dark image in BOTH themes, so its text must stay
   light even in light mode (otherwise the heading goes dark-on-dark). */
[data-theme="light"] .hero-content h1 { color: #FFFFFF; }
[data-theme="light"] .hero-scroll,
[data-theme="light"] .hero-scroll * { color: rgba(255, 255, 255, 0.7); }
