/* ==========================================================================
   ADVOCATE IMRAN HOSSAIN - OFFICIAL LEGAL COUNSEL PORTAL
   Barasat District & Sessions Court & Rajarhat Chamber, Kolkata
   Design System & Luxury Styling
   ========================================================================== */

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

:root {
  /* Colors */
  --bg-main: #070c18;
  --bg-deep: #0a1122;
  --bg-surface: #0f1930;
  --bg-surface-elevated: #142242;
  --bg-card: rgba(15, 25, 48, 0.8);
  --bg-card-hover: rgba(20, 34, 66, 0.92);
  
  --gold-primary: #d4af37;
  --gold-light: #f5df88;
  --gold-bright: #ffd700;
  --gold-dark: #a27e1a;
  --gold-gradient: linear-gradient(135deg, #f5df88 0%, #d4af37 50%, #aa821d 100%);
  --gold-glow: 0 0 25px rgba(212, 175, 55, 0.25);
  
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-gold: #f0d078;
  
  --border-gold-subtle: rgba(212, 175, 55, 0.16);
  --border-gold-medium: rgba(212, 175, 55, 0.35);
  --border-gold-strong: rgba(212, 175, 55, 0.7);
  
  --accent-emerald: #10b981;
  --accent-crimson: #ef4444;
  --accent-whatsapp: #25d366;
  --accent-whatsapp-hover: #1ebd5a;
  
  /* Typography */
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', 'Hind Siliguri', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Shadows & Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.65);
  --shadow-card: 0 14px 35px -8px rgba(3, 7, 18, 0.7), 0 0 1px 1px rgba(212, 175, 55, 0.15);
  
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: 
    radial-gradient(circle at 15% 15%, rgba(212, 175, 55, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 85% 65%, rgba(30, 64, 175, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(15, 25, 48, 0.7) 0%, transparent 100%);
  pointer-events: none;
  z-index: -1;
}

::selection {
  background: var(--gold-primary);
  color: #060a14;
}

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

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

/* Container */
.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-gold-medium);
  color: var(--gold-light);
  font-size: 0.825rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.section-badge i {
  color: var(--gold-primary);
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3.5rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.2vw, 2.65rem);
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* ==========================================================================
   TOP EMERGENCY TICKER BAR
   ========================================================================== */
.top-notice-bar {
  background: linear-gradient(90deg, #0a1120 0%, #111e38 50%, #0a1120 100%);
  border-bottom: 1px solid var(--border-gold-subtle);
  padding: 0.5rem 0;
  font-size: 0.825rem;
  position: relative;
  z-index: 101;
}

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

.top-alert {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-secondary);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreen 2s infinite;
  flex-shrink: 0;
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.top-alert strong {
  color: #fff;
}

.top-alert-link {
  color: var(--gold-light);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-left: 0.35rem;
  white-space: nowrap;
}

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

.top-quick-contact {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-secondary);
  font-weight: 600;
  white-space: nowrap;
}

.top-quick-contact:hover {
  color: var(--gold-light);
}

.lang-switch {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-gold-subtle);
  border-radius: var(--radius-full);
  padding: 2px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-fast);
}

.lang-btn.active {
  background: var(--gold-primary);
  color: #060a14;
}

/* ==========================================================================
   NAVIGATION BAR (CLEAN, NO OVERLAPPING)
   ========================================================================== */
.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 12, 24, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-gold-subtle);
  transition: var(--transition-normal);
}

.main-header.scrolled {
  background: rgba(6, 10, 20, 0.98);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
  border-bottom-color: var(--border-gold-medium);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 1.5rem;
}

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

.brand-emblem {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #182848 0%, #0d172b 100%);
  border: 1px solid var(--border-gold-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--gold-glow);
  flex-shrink: 0;
}

.emblem-scales {
  font-size: 1.3rem;
  color: var(--gold-light);
}

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

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  line-height: 1.15;
  white-space: nowrap;
}

.brand-sub {
  font-size: 0.75rem;
  color: var(--gold-light);
  letter-spacing: 0.04em;
  font-weight: 500;
  white-space: nowrap;
}

/* Centered Desktop Menu - STRICTLY SINGLE LINE */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--text-secondary);
  font-size: 0.925rem;
  font-weight: 600;
  position: relative;
  padding: 0.4rem 0.2rem;
  white-space: nowrap; /* PREVENTS WRAPPING & OVERLAPPING */
  display: inline-block;
  transition: color var(--transition-fast);
}

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

.nav-link:hover,
.nav-link.active {
  color: #fff;
}

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

/* Nav Actions */
.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn-nav-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid #38e47d;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
  transition: var(--transition-fast);
}

.btn-nav-wa:hover {
  background: #1ebd5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.btn-nav-consult {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--gold-gradient);
  color: #060a14;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--gold-light);
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.3);
  transition: var(--transition-fast);
}

.btn-nav-consult:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #ffe599 0%, #e0bd45 50%, #b88f28 100%);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.45);
}

.mobile-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-gold-medium);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 1.25rem;
  padding: 0.45rem 0.65rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.mobile-toggle:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-light);
}

/* Generic Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: var(--gold-gradient);
  color: #060a14;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--gold-light);
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.35);
  transition: var(--transition-fast);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
  background: linear-gradient(135deg, #ffe599 0%, #e0bd45 50%, #b88f28 100%);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-gold-medium);
  backdrop-filter: blur(10px);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.btn-secondary:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--gold-light);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
  border: 1px solid #34e77a;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: #1ebd5a;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
  transform: translateY(-2px);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 4.5rem 0 5.5rem;
  background: 
    linear-gradient(180deg, rgba(7, 12, 24, 0.84) 0%, rgba(10, 17, 34, 0.95) 75%, #070c18 100%),
    url('assets/images/legal-hero.jpg') center center / cover no-repeat;
  border-bottom: 1px solid var(--border-gold-subtle);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(15, 25, 48, 0.85);
  border: 1px solid var(--border-gold-medium);
  border-radius: var(--radius-full);
  padding: 0.4rem 1.1rem;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--gold-light);
  backdrop-filter: blur(12px);
  margin-bottom: 1.35rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.3rem, 4.2vw, 3.6rem);
  font-weight: 700;
  line-height: 1.18;
  color: #ffffff;
  margin-bottom: 1.15rem;
  letter-spacing: -0.015em;
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--gold-light);
  margin-bottom: 1.15rem;
  display: block;
  font-weight: 500;
  line-height: 1.4;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.85rem;
  max-width: 620px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2.25rem;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  color: #e2e8f0;
  white-space: nowrap;
}

.hero-tag i {
  color: var(--gold-primary);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

/* Full Width Balanced Trust Grid across entire container */
.hero-trust-container {
  margin-top: 3.5rem;
  position: relative;
  z-index: 2;
}

.hero-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  background: rgba(12, 20, 38, 0.82);
  border: 1px solid var(--border-gold-medium);
  border-radius: var(--radius-xl);
  padding: 1.5rem 1.75rem;
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.7), var(--gold-glow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.trust-card-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0.5rem;
  border-right: 1px solid rgba(212, 175, 55, 0.15);
  transition: var(--transition-fast);
}

.trust-card-item:last-child {
  border-right: none;
}

.trust-card-item:hover {
  transform: translateY(-2px);
}

.trust-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(14, 23, 44, 0.8) 100%);
  border: 1px solid var(--border-gold-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--gold-light);
  flex-shrink: 0;
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.2);
}

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

.trust-main-text {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.trust-sub-text {
  font-size: 0.785rem;
  color: var(--text-muted);
  line-height: 1.35;
  margin-top: 0.2rem;
}

/* ==========================================================================
   HERO ADVOCATE CARD (DUAL PHOTO)
   ========================================================================== */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.advocate-portrait-wrapper {
  position: relative;
  width: 100%;
  max-width: 420px;
  border-radius: var(--radius-xl);
  padding: 8px;
  background: linear-gradient(145deg, rgba(212, 175, 55, 0.4) 0%, rgba(15, 25, 48, 0.8) 50%, rgba(212, 175, 55, 0.2) 100%);
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.85), var(--gold-glow);
}

.portrait-frame {
  position: relative;
  border-radius: calc(var(--radius-xl) - 6px);
  overflow: hidden;
  background-color: #0b1120;
  aspect-ratio: 1 / 1.05;
}

.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: opacity 0.3s ease, transform 0.5s ease;
}

.portrait-frame:hover .portrait-img {
  transform: scale(1.02);
}

.photo-toggle-bar {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  background: rgba(7, 12, 24, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-gold-medium);
  border-radius: var(--radius-full);
  padding: 3px;
  z-index: 10;
  box-shadow: var(--shadow-sm);
}

.photo-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.photo-btn.active {
  background: var(--gold-gradient);
  color: #060a14;
}

.advocate-badge-float {
  position: absolute;
  bottom: 20px;
  left: 18px;
  right: 18px;
  background: rgba(9, 15, 29, 0.94);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-gold-medium);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.badge-info-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.badge-info-role {
  font-size: 0.8rem;
  color: var(--gold-light);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.2rem;
}

.badge-seal {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #060a14;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
  flex-shrink: 0;
}

/* ==========================================================================
   URGENT BAIL & EMERGENCY HELP BANNER
   ========================================================================== */
.emergency-strip {
  background: linear-gradient(90deg, #1b0e10 0%, #291216 50%, #1b0e10 100%);
  border-top: 1px solid rgba(239, 68, 68, 0.3);
  border-bottom: 1px solid rgba(239, 68, 68, 0.3);
  padding: 1.15rem 0;
  position: relative;
  box-shadow: 0 0 25px rgba(239, 68, 68, 0.15);
}

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

.emergency-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.emergency-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-crimson);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  animation: pulseRed 2s infinite;
  flex-shrink: 0;
}

@keyframes pulseRed {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { box-shadow: 0 0 0 9px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.emergency-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.emergency-desc {
  font-size: 0.875rem;
  color: #fca5a5;
  margin-top: 0.15rem;
}

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

.btn-emergency-call {
  background: #ef4444;
  color: #fff;
  font-weight: 700;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
  font-size: 0.9rem;
  white-space: nowrap;
}

.btn-emergency-call:hover {
  background: #dc2626;
  transform: translateY(-2px);
}

/* ==========================================================================
   ABOUT ADVOCATE SECTION
   ========================================================================== */
.about-section {
  padding: 6rem 0;
  position: relative;
  background-color: var(--bg-deep);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3.5rem;
  align-items: stretch; /* Stretches both columns to exactly 100% equal height */
}

.about-visual {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.about-composite-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-gold-medium);
  box-shadow: var(--shadow-lg);
  background: var(--bg-surface);
  flex: 1;
  min-height: 370px;
  display: flex;
  flex-direction: column;
}

.court-img-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(7, 12, 24, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-gold-medium);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-light);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.court-feature-img {
  width: 100%;
  height: 100%;
  min-height: 370px;
  flex: 1;
  object-fit: cover;
  filter: brightness(0.95);
  display: block;
}

.about-overlay-card {
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: auto;
  min-width: 230px;
  background: rgba(7, 12, 24, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--gold-primary);
  border-radius: var(--radius-lg);
  padding: 0.85rem 1.15rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 2;
}

.about-overlay-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold-light);
  flex-shrink: 0;
}

.about-overlay-text h4 {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 0.15rem;
  line-height: 1.2;
}

.about-overlay-text p {
  font-size: 0.775rem;
  color: var(--gold-light);
}

/* Judicial Accreditation Box below image (Fills bottom space evenly) */
.court-accreditation-box {
  margin-top: 1.35rem;
  background: rgba(12, 20, 38, 0.85);
  border: 1px solid var(--border-gold-medium);
  border-radius: var(--radius-xl);
  padding: 1.35rem 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), var(--gold-glow);
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.accreditation-item {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.12);
}

.accreditation-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.acc-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(14, 23, 44, 0.8) 100%);
  border: 1px solid var(--border-gold-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 1.05rem;
  flex-shrink: 0;
}

.acc-info strong {
  display: block;
  font-size: 0.925rem;
  color: #ffffff;
  font-weight: 700;
  line-height: 1.2;
}

.acc-info span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.about-overlay-text p {
  font-size: 0.775rem;
  color: var(--gold-light);
}

.about-content h2.section-title {
  text-align: left;
  margin-bottom: 1.25rem;
}

.about-content p {
  color: var(--text-secondary);
  font-size: 1.025rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
  margin: 1.85rem 0 2.25rem;
}

.highlight-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-gold-subtle);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  transition: var(--transition-fast);
}

.highlight-box:hover {
  border-color: var(--gold-light);
  background: rgba(212, 175, 55, 0.05);
  transform: translateY(-3px);
}

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

.highlight-icon {
  color: var(--gold-primary);
  font-size: 1.15rem;
}

.highlight-box h3 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0;
}

.highlight-box p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

/* ==========================================================================
   PRACTICE AREAS SECTION
   ========================================================================== */
.practice-section {
  padding: 6rem 0;
  background-color: var(--bg-main);
  position: relative;
}

.practice-filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 3rem;
}

.filter-btn {
  background: rgba(14, 23, 42, 0.7);
  border: 1px solid var(--border-gold-subtle);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--border-gold-medium);
  color: #fff;
}

.filter-btn.active {
  background: var(--gold-gradient);
  color: #060a14;
  border-color: var(--gold-light);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.practice-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.85rem;
  position: relative;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  backdrop-filter: blur(14px);
}

.practice-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold-gradient);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.practice-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold-medium);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-card);
}

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

.card-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-gold-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gold-light);
  margin-bottom: 1.35rem;
  box-shadow: var(--gold-glow);
  transition: var(--transition-fast);
}

.practice-card:hover .card-icon-wrap {
  background: var(--gold-gradient);
  color: #060a14;
  transform: scale(1.05);
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

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

.card-features-list {
  list-style: none;
  margin-bottom: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 1.15rem;
}

.card-features-list li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.card-features-list li i {
  color: var(--gold-primary);
  font-size: 0.75rem;
}

.card-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  align-self: flex-start;
  transition: var(--transition-fast);
}

.card-action-btn:hover {
  color: #fff;
  gap: 0.65rem;
}

/* ==========================================================================
   COURT & CHAMBER LOCATIONS SECTION (DUAL HUB)
   ========================================================================== */
.location-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, var(--bg-deep) 0%, #070c18 100%);
  position: relative;
  border-top: 1px solid var(--border-gold-subtle);
  border-bottom: 1px solid var(--border-gold-subtle);
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.25rem;
}

.location-card {
  background: rgba(15, 25, 48, 0.85);
  border: 1px solid var(--border-gold-medium);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
}

.location-card:hover {
  border-color: var(--gold-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--gold-glow);
}

.location-media {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.location-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.location-card:hover .location-img {
  transform: scale(1.04);
}

.location-type-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(7, 12, 24, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-gold-medium);
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.775rem;
  font-weight: 700;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.location-details {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.location-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.65rem;
}

.location-address {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.location-address i {
  color: var(--gold-primary);
  margin-top: 0.25rem;
  font-size: 1.05rem;
}

.location-hours-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
}

.hours-row:last-child {
  margin-bottom: 0;
}

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

.hours-val {
  color: #fff;
  font-weight: 600;
}

.location-actions {
  display: flex;
  gap: 0.85rem;
  margin-top: auto;
}

/* ==========================================================================
   INTERACTIVE CASE CONSULTATION & APPOINTMENT SCHEDULER
   ========================================================================== */
.booking-section {
  padding: 6rem 0;
  background: 
    radial-gradient(circle at 20% 40%, rgba(212, 175, 55, 0.05) 0%, transparent 60%),
    var(--bg-main);
  position: relative;
}

.booking-wrapper {
  background: rgba(15, 25, 48, 0.88);
  border: 1px solid var(--border-gold-medium);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  box-shadow: var(--shadow-lg), var(--gold-glow);
  backdrop-filter: blur(20px);
}

.booking-form-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
}

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

.form-label {
  display: block;
  font-size: 0.885rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 0.45rem;
}

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

.form-control {
  width: 100%;
  background: rgba(7, 12, 24, 0.7);
  border: 1px solid var(--border-gold-subtle);
  border-radius: var(--radius-md);
  padding: 0.8rem 1.15rem;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold-light);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
  background: rgba(9, 16, 32, 0.9);
}

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

.custom-radio-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

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

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

.radio-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.85rem 0.5rem;
  background: rgba(7, 12, 24, 0.6);
  border: 1px solid var(--border-gold-subtle);
  border-radius: var(--radius-md);
  font-size: 0.825rem;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  height: 100%;
}

.radio-card input:checked + .radio-content {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-light);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.25);
}

.radio-content i {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
  color: var(--gold-primary);
}

.booking-summary-card {
  background: rgba(9, 15, 29, 0.95);
  border: 1px solid var(--border-gold-medium);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.summary-heading {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-gold-subtle);
  padding-bottom: 0.85rem;
}

.summary-details-list {
  list-style: none;
  margin-bottom: 2rem;
}

.summary-details-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.925rem;
  color: var(--text-secondary);
  margin-bottom: 1.15rem;
}

.summary-details-list li i {
  color: var(--gold-light);
  font-size: 1.1rem;
  margin-top: 0.15rem;
}

.direct-booking-cta {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.direct-booking-cta button,
.direct-booking-cta a {
  width: 100%;
}

/* ==========================================================================
   WHY CHOOSE SECTION
   ========================================================================== */
.why-section {
  padding: 6rem 0;
  background-color: var(--bg-deep);
  position: relative;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.reason-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-gold-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition-normal);
}

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

.reason-icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(14, 23, 44, 0.8) 100%);
  border: 1px solid var(--border-gold-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gold-light);
  margin: 0 auto 1.25rem;
}

.reason-card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 0.65rem;
}

.reason-card p {
  font-size: 0.885rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   FAQ SECTION (ACCORDION)
   ========================================================================== */
.faq-section {
  padding: 6rem 0;
  background-color: var(--bg-main);
  position: relative;
}

.faq-container {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-gold-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-item.active {
  border-color: var(--border-gold-medium);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.65rem;
  background: transparent;
  border: none;
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: var(--transition-fast);
}

.faq-question:hover {
  color: var(--gold-light);
}

.faq-icon {
  font-size: 1.1rem;
  color: var(--gold-primary);
  transition: transform var(--transition-normal);
  flex-shrink: 0;
  margin-left: 1rem;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-out;
  padding: 0 1.65rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  padding-bottom: 1.5rem;
}

/* ==========================================================================
   LEGAL DISCLAIMER & BAR COUNCIL COMPLIANCE
   ========================================================================== */
.disclaimer-strip {
  background: rgba(7, 12, 24, 0.95);
  border-top: 1px solid var(--border-gold-subtle);
  border-bottom: 1px solid var(--border-gold-subtle);
  padding: 2.25rem 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.disclaimer-card {
  border: 1px dashed var(--border-gold-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.65rem;
  background: rgba(255, 255, 255, 0.015);
}

.disclaimer-card strong {
  color: var(--gold-light);
  display: block;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: #04070e;
  padding: 4.5rem 0 2rem;
  position: relative;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

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

.footer-brand h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.footer-col h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--gold-light);
  margin-bottom: 1.15rem;
  letter-spacing: 0.03em;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.885rem;
  white-space: nowrap;
}

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--text-secondary);
  font-size: 0.885rem;
}

.footer-contact-item i {
  color: var(--gold-primary);
  margin-top: 0.2rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.825rem;
  color: var(--text-muted);
}

/* ==========================================================================
   MOBILE STICKY ACTION BAR
   ========================================================================== */
.mobile-action-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(6, 10, 20, 0.97);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-gold-medium);
  padding: 0.65rem 1rem;
  z-index: 999;
  box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.6);
}

.mobile-bar-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 0.5rem;
}

.mobile-bar-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.725rem;
  font-weight: 700;
  text-align: center;
  gap: 0.25rem;
  white-space: nowrap;
}

.mobile-bar-btn i {
  font-size: 1.1rem;
}

.btn-bar-call {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-bar-wa {
  background: #25d366;
  color: #fff;
}

.btn-bar-book {
  background: var(--gold-gradient);
  color: #060a14;
}

/* ==========================================================================
   MODAL & NOTIFICATION
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 13, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
  padding: 1rem;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--gold-primary);
  border-radius: var(--radius-xl);
  max-width: 550px;
  width: 100%;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg), var(--gold-glow);
  position: relative;
  transform: translateY(20px);
  transition: transform var(--transition-normal);
}

.modal-overlay.open .modal-box {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.35rem;
  cursor: pointer;
}

.modal-close-btn:hover {
  color: #fff;
}

/* ==========================================================================
   RESPONSIVE DESIGN (BREAKPOINT AT 1100px PREVENTS ANY OVERLAP)
   ========================================================================== */
@media (max-width: 1100px) {
  /* Switch to hamburger drawer navigation on 1100px so menu links NEVER squish */
  .mobile-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 76px;
    left: 0;
    width: 100%;
    background: rgba(6, 10, 20, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--border-gold-medium);
    transform: translateY(-150%);
    transition: transform var(--transition-normal);
    z-index: 99;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
  }

  .nav-menu.open {
    transform: translateY(0);
  }

  .nav-link {
    font-size: 1.05rem;
    padding: 0.5rem 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-visual {
    order: -1;
  }
  
  .advocate-portrait-wrapper {
    max-width: 380px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

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

  .hero-trust-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 1.25rem;
    gap: 1rem;
  }

  .trust-card-item:nth-child(2) {
    border-right: none;
  }
}

@media (max-width: 768px) {
  /* Enforce Strict Viewport Containment */
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw;
    width: 100%;
  }

  /* Section Spacing & Container */
  .hero-section,
  .about-section,
  .practice-section,
  .location-section,
  .reasons-section,
  .booking-section,
  .faq-section {
    padding: 3rem 0;
  }

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

  .top-notice-bar {
    display: none; /* Keep clean space on mobile */
  }

  /* Header & Navigation Mobile Constraint (Prevents horizontal stretch beyond 360px) */
  .main-header {
    width: 100%;
    max-width: 100vw;
  }

  .nav-container {
    padding: 0 0.85rem;
    gap: 0.5rem;
    height: 64px;
    width: 100%;
    max-width: 100%;
  }

  .brand-identity {
    gap: 0.5rem;
    min-width: 0;
    flex: 1 1 auto;
  }

  .brand-emblem {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    flex-shrink: 0;
  }

  .brand-text {
    min-width: 0;
  }

  .brand-name {
    font-size: 1.05rem;
    white-space: nowrap;
  }

  .brand-sub {
    font-size: 0.68rem;
    white-space: nowrap;
  }

  .nav-cta-group {
    gap: 0.45rem;
    flex-shrink: 0;
  }

  .nav-cta-group .btn-nav-consult {
    display: none; /* Keep WhatsApp & hamburger on mobile header */
  }

  .btn-nav-wa {
    padding: 0.42rem 0.75rem;
    font-size: 0.78rem;
    gap: 0.35rem;
  }

  .mobile-toggle {
    padding: 0.42rem 0.6rem;
    font-size: 1.15rem;
  }

  /* Hero Section */
  .hero-grid {
    gap: 2rem;
  }

  .hero-status-pill {
    max-width: 100%;
    white-space: normal;
    font-size: 0.76rem;
    padding: 0.35rem 0.75rem;
    line-height: 1.35;
    text-align: left;
  }

  .hero-tags {
    gap: 0.45rem;
  }

  .hero-tag {
    font-size: 0.76rem;
    padding: 0.3rem 0.65rem;
    white-space: normal;
  }

  .hero-visual {
    order: 0;
    margin: 0 auto;
    width: 100%;
  }

  .advocate-portrait-wrapper {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
  }

  .hero-title {
    font-size: 2.1rem;
    line-height: 1.22;
  }

  .hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.45;
  }

  .hero-description {
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 100%;
  }

  .hero-trust-grid {
    grid-template-columns: 1fr;
    padding: 1rem;
    gap: 0.85rem;
    margin-top: 2rem;
  }

  .trust-card-item {
    border-right: none;
    border-bottom: 1px solid rgba(212, 175, 55, 0.12);
    padding-bottom: 0.75rem;
  }

  .trust-card-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }

  .hero-cta-group a,
  .hero-cta-group button {
    width: 100%;
    justify-content: center;
  }

  /* Emergency Callout */
  .emergency-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .emergency-actions {
    width: 100%;
  }

  .btn-emergency-call {
    width: 100%;
    justify-content: center;
    font-size: 0.95rem;
    padding: 0.85rem 1rem;
    text-align: center;
  }

  /* About Section */
  .about-overlay-card {
    position: relative;
    bottom: auto;
    right: auto;
    width: 100%;
    margin-top: 1rem;
  }

  .about-highlights {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .about-composite-card {
    min-height: 240px;
  }

  /* Practice Areas Grid - Single Column on Mobile */
  .practice-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .practice-card {
    padding: 1.5rem 1.15rem;
    width: 100%;
  }

  .card-title {
    font-size: 1.35rem;
    line-height: 1.35;
  }

  .card-desc {
    font-size: 0.925rem;
    line-height: 1.55;
  }

  .card-action-btn {
    width: 100%;
    text-align: center;
  }

  .practice-filter-bar {
    gap: 0.5rem;
    margin-bottom: 2rem;
  }

  .filter-btn {
    font-size: 0.825rem;
    padding: 0.45rem 1rem;
  }

  /* Court & Chamber Locations - Single Column on Mobile */
  .location-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .location-card {
    border-radius: var(--radius-lg);
    width: 100%;
  }

  .location-details {
    padding: 1.5rem 1.25rem;
  }

  .location-title {
    font-size: 1.35rem;
  }

  .location-actions {
    flex-direction: column;
    gap: 0.75rem;
  }

  .location-actions a {
    width: 100%;
    justify-content: center;
  }

  /* Why Choose Us - Single Column on Mobile */
  .reasons-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .reason-card {
    padding: 1.5rem 1.25rem;
    width: 100%;
  }

  /* Booking Consultation Form */
  .booking-wrapper {
    padding: 1.65rem 1.15rem;
    border-radius: var(--radius-lg);
    width: 100%;
  }

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

  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .custom-radio-group {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .radio-content {
    flex-direction: row;
    justify-content: flex-start;
    gap: 0.85rem;
    text-align: left;
    padding: 0.85rem 1rem;
  }

  .radio-content i {
    font-size: 1.25rem;
  }

  .booking-summary-card {
    padding: 1.5rem 1.25rem;
    width: 100%;
  }

  /* FAQ Section */
  .faq-question {
    padding: 1.15rem 1.25rem;
    font-size: 0.95rem;
    line-height: 1.45;
    text-align: left;
  }

  .faq-answer {
    padding: 0 1.25rem 1.15rem;
    font-size: 0.9rem;
    line-height: 1.6;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-links a {
    white-space: normal;
  }

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

  .mobile-action-bar {
    display: block;
  }

  body {
    padding-bottom: 68px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.75rem;
  }

  .btn-nav-wa span {
    display: none; /* Icon-only WhatsApp button on small mobile so header never overflows */
  }

  .btn-nav-wa {
    padding: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    justify-content: center;
  }

  .btn-nav-wa i {
    font-size: 1.15rem;
    margin: 0;
  }

  .brand-name {
    font-size: 0.95rem;
  }

  .brand-sub {
    font-size: 0.62rem;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .section-title {
    font-size: 1.55rem;
    line-height: 1.3;
  }

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

  .section-desc {
    font-size: 0.9rem;
  }

  .court-accreditation-box {
    padding: 1rem;
  }

  .acc-info strong {
    font-size: 0.85rem;
  }

  .acc-info span {
    font-size: 0.75rem;
  }

  .booking-wrapper {
    padding: 1.35rem 0.75rem;
  }
}

/* ==========================================================================
   BOOKING SUCCESS MODAL STYLES
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 1.25rem;
}

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

.modal-box {
  background: linear-gradient(145deg, #0e172a, #0b1120);
  border: 1px solid var(--border-gold-subtle);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  max-width: 480px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 25px rgba(212, 175, 55, 0.15);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s ease;
}

.modal-overlay.open .modal-box {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 0.85rem;
  right: 1.1rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease;
  z-index: 2;
}

.modal-close-btn:hover {
  color: #fff;
}

@media (max-width: 600px) {
  .modal-overlay {
    padding: 0.75rem;
  }

  .modal-box {
    padding: 1.35rem 1rem;
    border-radius: var(--radius-md);
  }

  .modal-box h3 {
    font-size: 1.3rem !important;
  }
}

