/* ==========================================================================
   ANALYSIS LAW FIRM LLP - MASTER STYLESHEET (PREMIUM LIGHT THEME)
   Aesthetic: Regal Supreme Court Jurisprudence, British Colonial Chambers,
   Ivory Marble, Crisp Oxford Navy & Gilded Gold Accents.
   Fully Responsive Across All Device Screens (Mobile, Tablet, Desktop, Ultra-wide).
   ========================================================================== */

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

:root {
  /* Primary Royal Navy & Slate Shades */
  --navy-950: #070d18;
  --navy-900: #0b162c;
  --navy-850: #101f3d;
  --navy-800: #15274d;
  --navy-700: #1e3668;
  --navy-600: #294a8c;

  /* Burnished Court Gold & Bronze Accents */
  --gold-200: #faedcc;
  --gold-300: #f0d592;
  --gold-400: #dfb76c;
  --gold-500: #b88d3b;
  --gold-600: #9b7228;
  --gold-700: #7a5619;
  --gold-800: #573c0f;

  /* Judicial Crimson & Burgundy */
  --crimson-800: #6b1525;
  --crimson-900: #4a0c17;

  /* Light Theme Surfaces & Parchment */
  --surface-white: #ffffff;
  --surface-ivory: #fcfbfa;
  --surface-cream: #f8f6f0;
  --surface-parchment: #f4f0e6;
  --surface-border: rgba(184, 141, 59, 0.22);
  --surface-border-strong: rgba(184, 141, 59, 0.45);

  /* High-Contrast Texts */
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;

  /* Professional Legal Typography */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-display: 'Cinzel', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Refined Court Gold & Bronze Accents */
  --gold-200: #fbf5e7;
  --gold-300: #f4e7c7;
  --gold-400: #d6b26d;
  --gold-500: #b8934a;
  --gold-600: #9a7836;
  --gold-700: #7b5d23;
  --gold-800: #553f14;

  /* Judicial Crimson & Burgundy */
  --crimson-800: #6b1525;
  --crimson-900: #4a0c17;

  /* Light Theme Surfaces & Parchment */
  --surface-white: #ffffff;
  --surface-ivory: #fcfcfc;
  --surface-cream: #f9f8f5;
  --surface-parchment: #f4f0e6;
  --surface-border: rgba(15, 27, 45, 0.08);
  --surface-border-strong: rgba(184, 147, 74, 0.35);

  /* High-Contrast Texts */
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;

  /* Gradients */
  --gold-gradient: linear-gradient(135deg, #cfa85e 0%, #b8934a 50%, #9a7836 100%);
  --gold-gradient-soft: linear-gradient(135deg, rgba(207, 168, 94, 0.12) 0%, rgba(184, 147, 74, 0.04) 100%);
  --hero-light-gradient: linear-gradient(180deg, #fdfbf7 0%, #f7f4ea 100%);
  --court-card-gradient: linear-gradient(145deg, #ffffff 0%, #faf8f2 100%);

  /* Premium Subtle Shadows */
  --shadow-sm: 0 1px 3px rgba(11, 22, 44, 0.04), 0 1px 2px rgba(11, 22, 44, 0.02);
  --shadow-md: 0 6px 18px -2px rgba(11, 22, 44, 0.06);
  --shadow-lg: 0 16px 32px -4px rgba(11, 22, 44, 0.08);
  --shadow-gold: 0 8px 24px rgba(184, 147, 74, 0.14);
  --shadow-card-hover: 0 14px 32px -4px rgba(11, 22, 44, 0.1);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--slate-800);
  background-color: var(--surface-ivory);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
}

/* Utilities */
.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 24px;
}

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

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

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 12px;
}

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

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.8vw, 2.6rem);
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.section-title.light {
  color: var(--navy-900) !important;
}

.section-subtitle {
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
  color: var(--slate-600);
  max-width: 720px;
  margin: 0 auto 40px auto;
  line-height: 1.7;
}

.section-subtitle.light {
  color: var(--slate-600) !important;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  border-radius: var(--radius-sm);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  text-decoration: none;
  max-width: 100%;
  box-sizing: border-box;
}

.btn-primary {
  background: var(--navy-900);
  color: #ffffff;
  font-weight: 600;
  border: 1px solid var(--navy-950);
  box-shadow: 0 2px 8px rgba(11, 22, 44, 0.12);
}

.btn-primary:hover {
  background: var(--navy-800);
  border-color: var(--gold-500);
  color: #ffffff;
  transform: translateY(-1.5px);
  box-shadow: 0 6px 18px rgba(11, 22, 44, 0.18);
}

.btn-gold {
  background: var(--gold-gradient);
  color: #ffffff;
  font-weight: 700;
  border: 1px solid rgba(154, 120, 54, 0.35);
  box-shadow: 0 2px 10px rgba(184, 147, 74, 0.22);
}

.btn-gold:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 6px 20px rgba(184, 147, 74, 0.35);
}

.btn-secondary {
  background: #ffffff;
  border: 1px solid rgba(15, 27, 45, 0.18);
  color: var(--navy-900);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--slate-100);
  border-color: var(--gold-600);
  color: var(--navy-900);
  transform: translateY(-1.5px);
  box-shadow: var(--shadow-md);
}

.btn-navy {
  background: var(--navy-900);
  color: #ffffff;
  border: 1px solid var(--navy-900);
}

.btn-navy:hover {
  background: var(--navy-800);
  transform: translateY(-1.5px);
  box-shadow: 0 6px 16px rgba(11, 22, 44, 0.2);
}

/* ==========================================================================
   SMART ANNOUNCEMENT & CREDENTIALS STRIP (Under Menu Bar)
   ========================================================================== */
.top-notice-bar {
  background-color: var(--surface-cream);
  border-bottom: 1px solid var(--surface-border);
  padding: 7px 0;
  font-size: 0.78rem;
  color: var(--slate-600);
  position: relative;
  z-index: 90;
}

.top-bar-content {
  display: flex;
  align-items: center;
  width: 100%;
}

.top-bar-desktop-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.top-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #ffffff;
  color: var(--navy-900);
  padding: 3px 9px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.3px;
  border: 1px solid var(--surface-border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  white-space: nowrap;
}

.top-tag i {
  color: var(--gold-600);
}

.top-hours-text {
  font-size: 0.76rem;
  color: var(--slate-600);
  white-space: nowrap;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.top-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--navy-900);
  font-weight: 600;
  font-size: 0.78rem;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.top-link:hover {
  color: var(--gold-700);
}

/* Mobile Smart Ticker (Hidden on Desktop) */
.top-bar-mobile-ticker {
  display: none;
  width: 100%;
  height: 34px;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.top-bar-ticker-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--navy-900);
  color: var(--gold-400);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  flex-shrink: 0;
  margin-right: 12px;
  z-index: 2;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.08);
}

.top-bar-ticker-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
  flex: 1;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 12px, black calc(100% - 12px), transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 12px, black calc(100% - 12px), transparent);
}

.top-bar-ticker-content {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: smartAnnouncementScroll 28s linear infinite;
  padding-left: 10px;
}

.top-bar-mobile-ticker:hover .top-bar-ticker-content,
.top-bar-mobile-ticker:active .top-bar-ticker-content {
  animation-play-state: paused;
}

@keyframes smartAnnouncementScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-seg {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  color: var(--navy-950);
  font-weight: 600;
}

.ticker-seg strong {
  color: var(--gold-700);
  font-weight: 700;
}

.ticker-bullet {
  color: var(--gold-500);
  margin: 0 10px;
  font-size: 0.8rem;
  opacity: 0.7;
}

.ticker-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--navy-900);
  font-weight: 700;
  font-size: 0.75rem;
  text-decoration: underline;
  text-decoration-color: rgba(184, 147, 74, 0.4);
  text-underline-offset: 3px;
  touch-action: manipulation;
}

.ticker-link:hover, .ticker-link:active {
  color: var(--gold-700);
}

/* ==========================================================================
   MAIN HEADER / NAVIGATION (Zero-Collision Responsive Header)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--surface-border);
  transition: all 0.25s ease;
  box-shadow: 0 2px 14px rgba(11, 22, 44, 0.04);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 8px 0;
  gap: 16px;
  flex-wrap: nowrap;
}

.brand-logo-wrap {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-logo-img {
  height: 58px;
  max-height: 60px;
  max-width: 240px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(11, 22, 44, 0.08));
  transition: transform 0.22s ease, filter 0.22s ease;
}

.brand-logo-wrap:hover .brand-logo-img {
  transform: translateY(-1px) scale(1.02);
  filter: drop-shadow(0 4px 12px rgba(184, 147, 74, 0.28));
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.2vw, 20px);
  flex-shrink: 1;
}

.nav-link {
  font-size: clamp(0.82rem, 0.88vw, 0.88rem);
  font-weight: 600;
  color: var(--navy-900);
  letter-spacing: 0.2px;
  position: relative;
  padding: 6px 2px;
  white-space: nowrap;
}

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

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-actions .btn {
  padding: 9px 18px;
  font-size: 0.84rem;
}

.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: 1.5px solid var(--surface-border-strong);
  background: #ffffff;
  color: var(--navy-900);
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.mobile-menu-btn:hover {
  background: var(--surface-cream);
  color: var(--gold-700);
  border-color: var(--gold-500);
}

/* ==========================================================================
   MOBILE SLIDE-OUT DRAWER NAVIGATION
   ========================================================================== */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -360px;
  width: min(320px, 86vw);
  max-width: 320px;
  height: 100vh;
  height: 100dvh;
  background: #ffffff;
  z-index: 1002;
  box-shadow: -10px 0 30px rgba(11, 22, 44, 0.15);
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-left: 2px solid var(--gold-500);
}

.mobile-nav-drawer.open {
  right: 0;
}

.mobile-drawer-header {
  padding: 18px 20px;
  border-bottom: 1px solid var(--slate-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--surface-cream);
}

.mobile-drawer-logo {
  height: 44px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}

.mobile-drawer-close {
  font-size: 1.8rem;
  line-height: 1;
  color: var(--navy-900);
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
}

.mobile-drawer-close:hover {
  color: var(--crimson-800);
}

.mobile-drawer-body {
  padding: 20px;
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-drawer-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy-900);
  border-radius: 6px;
  transition: all 0.2s ease;
}

.mobile-drawer-link:hover {
  background: var(--surface-cream);
  color: var(--gold-700);
  transform: translateX(4px);
}

.mobile-drawer-link i {
  width: 20px;
  text-align: center;
}

.mobile-drawer-footer {
  border-top: 1px solid var(--slate-200);
  padding-top: 16px;
  margin-top: 16px;
}

.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 22, 44, 0.45);
  backdrop-filter: blur(4px);
  z-index: 1001;
  display: none;
}

.mobile-drawer-backdrop.open {
  display: block;
}

/* ==========================================================================
   LIVE SUPREME COURT CAUSELIST TICKER (Light Theme)
   ========================================================================== */
.sc-live-ticker-wrap {
  background: #ffffff;
  border-bottom: 1px solid var(--surface-border);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  height: 38px;
}

.ticker-label {
  background: var(--crimson-800);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 0 14px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
  flex-shrink: 0;
  border-right: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.08);
  white-space: nowrap;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #ef4444;
  box-shadow: 0 0 8px #ef4444;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
  100% { opacity: 1; transform: scale(1); }
}

.ticker-marquee {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: scrollTicker 35s linear infinite;
  padding-left: 20px;
}

.ticker-marquee:hover {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  margin-right: 48px;
  font-size: 0.82rem;
  color: var(--slate-700);
}

.ticker-court {
  color: var(--gold-700);
  font-weight: 800;
  margin-right: 6px;
}

.ticker-status {
  background: var(--surface-cream);
  border: 1px solid var(--slate-200);
  color: var(--navy-900);
  padding: 1px 8px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  margin-right: 6px;
}

@keyframes scrollTicker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   HERO SECTION (High Stature, Clean Judicial Editorial Aesthetic)
   ========================================================================== */
.hero-section {
  position: relative;
  background: 
    radial-gradient(circle at 88% 20%, rgba(207, 168, 94, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 10% 80%, rgba(15, 27, 45, 0.03) 0%, transparent 45%),
    linear-gradient(180deg, #fdfbf7 0%, #f7f5ed 100%);
  color: var(--slate-800);
  padding: clamp(50px, 6.5vw, 90px) 0;
  border-bottom: 1px solid var(--surface-border);
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.6) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.16fr 0.84fr;
  gap: clamp(32px, 4.5vw, 56px);
  align-items: center;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid rgba(184, 147, 74, 0.35);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold-700);
  margin-bottom: 18px;
  box-shadow: 0 1px 4px rgba(11, 22, 44, 0.04);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 3.8vw, 3.25rem);
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 18px;
  letter-spacing: -0.4px;
  color: var(--navy-950);
  text-wrap: balance;
}

.hero-subhead {
  display: block;
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  color: var(--gold-600);
  margin-top: 6px;
  letter-spacing: 0;
}

.hero-desc {
  font-size: clamp(0.94rem, 1.2vw, 1.05rem);
  color: var(--slate-600);
  line-height: 1.7;
  margin-bottom: 30px;
  max-width: 620px;
  text-wrap: pretty;
}

.hero-cta-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--surface-border);
}

.stat-item {
  background: #ffffff;
  border: 1px solid var(--surface-border);
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.stat-item:hover {
  border-color: var(--gold-500);
  transform: translateY(-1.5px);
  box-shadow: var(--shadow-md);
}

.stat-item h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.1vw, 1.9rem);
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-item p {
  font-size: 0.72rem;
  color: var(--slate-600);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 700;
}

/* Hero Right Column: Executive Partner Showcase Card */
.hero-partner-card {
  background: #ffffff;
  border: 1px solid rgba(184, 147, 74, 0.35);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 16px 36px -8px rgba(11, 22, 44, 0.08), 0 0 0 1px rgba(184, 147, 74, 0.12);
  position: relative;
  width: 100%;
}

.hero-partner-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 3px;
  background: var(--gold-gradient);
  border-radius: 3px 3px 0 0;
}

.hero-partner-header {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}

.hero-partner-photo-wrap {
  width: 95px;
  height: 120px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 12px rgba(11, 22, 44, 0.12);
  flex-shrink: 0;
  background: #f1f5f9;
}

.hero-partner-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.hero-partner-title-wrap {
  flex: 1;
}

.hero-partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--gold-700);
  background: var(--gold-200);
  border: 1px solid rgba(184, 147, 74, 0.25);
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 4px;
}

.hero-partner-name {
  font-family: var(--font-heading);
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--navy-950);
  line-height: 1.2;
  margin-bottom: 4px;
}

.hero-partner-creds {
  font-size: 0.78rem;
  color: var(--slate-600);
  line-height: 1.4;
  margin-bottom: 4px;
}

.hero-partner-bar {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--navy-900);
  display: flex;
  align-items: center;
  gap: 5px;
}

.hero-partner-spotlight {
  background: linear-gradient(145deg, #fdfbf7 0%, #f6f3eb 100%);
  border: 1px solid rgba(184, 147, 74, 0.28);
  border-left: 3.5px solid var(--gold-500);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 16px;
}

.spotlight-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold-700);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.spotlight-case-title {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 2px;
}

.spotlight-citation {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  color: #7b1d2e;
  margin-bottom: 6px;
}

.spotlight-desc {
  font-size: 0.78rem;
  color: var(--slate-600);
  line-height: 1.45;
  margin: 0;
}

.hero-partner-psu-wrap {
  margin-bottom: 18px;
}

.hero-partner-psu-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.hero-partner-psu-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.psu-tag {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--navy-900);
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  padding: 2.5px 8px;
  border-radius: 4px;
}

.hero-partner-actions {
  display: flex;
  gap: 8px;
}

/* Hero Right: Supreme Court Live Board Card (Light Theme) */
.sc-court-card {
  background: var(--court-card-gradient);
  border: 1.5px solid var(--surface-border-strong);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 30px);
  box-shadow: var(--shadow-lg), var(--shadow-gold);
  position: relative;
  width: 100%;
}

.sc-court-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 3.5px;
  background: var(--gold-gradient);
}

.court-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--surface-border);
  gap: 12px;
}

.court-card-title {
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  font-weight: 800;
  color: var(--navy-900);
  display: flex;
  align-items: center;
  gap: 12px;
}

.court-card-crest {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.court-status-pill {
  background: #ecfdf5;
  border: 1px solid #10b981;
  color: #047857;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  white-space: nowrap;
  flex-shrink: 0;
}

.court-bench-highlight {
  background: #ffffff;
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  margin-bottom: 16px;
  border-left: 3.5px solid var(--gold-500);
  border-top: 1px solid var(--slate-100);
  border-right: 1px solid var(--slate-100);
  border-bottom: 1px solid var(--slate-100);
  box-shadow: var(--shadow-sm);
}

.court-bench-highlight h4 {
  font-size: 0.88rem;
  color: var(--navy-900);
  margin-bottom: 4px;
  font-weight: 700;
}

.court-bench-highlight p {
  font-size: 0.8rem;
  color: var(--slate-600);
}

.court-quick-items {
  list-style: none;
  margin-bottom: 18px;
}

.court-quick-items li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 0.84rem;
  border-bottom: 1px dashed var(--slate-200);
  gap: 12px;
}

.court-quick-items li span:first-child {
  color: var(--slate-600);
  font-weight: 600;
}

.court-quick-items li span:last-child {
  font-weight: 700;
  color: var(--navy-900);
  text-align: right;
}

.sc-card-actions {
  display: flex;
  gap: 10px;
}

.sc-card-actions .btn {
  flex: 1;
  padding: 11px 12px;
  font-size: 0.82rem;
}

/* ==========================================================================
   SUPREME COURT JURISPRUDENCE & INFORMATION CENTER (The Big Hub)
   ========================================================================== */
.supreme-court-hub {
  padding: clamp(50px, 8vw, 100px) 0;
  background: var(--surface-cream);
  position: relative;
  border-bottom: 1px solid var(--surface-border);
}

.hub-header-wrap {
  text-align: center;
  margin-bottom: clamp(30px, 5vw, 50px);
}

/* Navigation Tabs inside Supreme Court Center (Touch scrollable on mobile) */
.sc-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.sc-tab-btn {
  background: #ffffff;
  color: var(--slate-800);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 11px 22px;
  border-radius: 40px;
  border: 1px solid var(--surface-border);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.sc-tab-btn:hover {
  border-color: var(--gold-500);
  color: var(--gold-700);
  transform: translateY(-1px);
}

.sc-tab-btn.active {
  background: var(--navy-900);
  color: #ffffff;
  border-color: var(--navy-900);
  box-shadow: var(--shadow-md);
}

.sc-tab-btn.active svg, .sc-tab-btn.active i {
  color: var(--gold-400);
}

.sc-tab-pane {
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

.sc-tab-pane.active {
  display: block;
}

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

/* Tab 1: Constitutional Framework & Powers Grid */
.powers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 22px;
}

.power-card {
  background: #ffffff;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: clamp(20px, 3vw, 30px);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

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

.power-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(184, 141, 59, 0.12);
  color: var(--gold-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
  border: 1px solid rgba(184, 141, 59, 0.2);
}

.power-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 10px;
}

.power-desc {
  font-size: 0.92rem;
  color: var(--slate-600);
  line-height: 1.65;
  margin-bottom: 18px;
}

.power-article-badge {
  display: inline-block;
  background: var(--surface-cream);
  border: 1px solid var(--surface-border);
  color: var(--navy-900);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

/* Tab 2: Landmark Judgments Search & Library */
.library-search-bar {
  background: #ffffff;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 30px;
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
}

.search-input-wrap {
  flex: 1;
  min-width: 240px;
  position: relative;
}

.search-input-wrap input {
  width: 100%;
  padding: 11px 14px 11px 38px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--slate-800);
}

.search-input-wrap input:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(184, 141, 59, 0.15);
}

.search-icon-inside {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-600);
}

.category-filter-select {
  padding: 11px 16px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--slate-800);
  background: #ffffff;
  font-weight: 600;
  min-width: 220px;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 22px;
}

.case-card {
  background: #ffffff;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: clamp(20px, 3vw, 28px);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
}

.case-card:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: var(--gold-500);
  transform: translateY(-3px);
}

.case-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.case-category {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold-700);
  background: rgba(184, 141, 59, 0.12);
  padding: 3px 9px;
  border-radius: 4px;
}

.case-year {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--gold-600);
  font-size: 1rem;
}

.case-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.35;
  margin-bottom: 6px;
}

.case-citation {
  font-family: monospace;
  font-size: 0.85rem;
  color: var(--crimson-800);
  font-weight: 700;
  margin-bottom: 12px;
}

.case-bench {
  font-size: 0.82rem;
  color: var(--slate-600);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.case-significance {
  font-size: 0.92rem;
  color: var(--slate-700);
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.case-principles {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.principle-tag {
  font-size: 0.72rem;
  background: var(--surface-cream);
  border: 1px solid var(--slate-200);
  padding: 3px 8px;
  border-radius: 4px;
  color: var(--navy-900);
  font-weight: 600;
}

.case-card-footer {
  border-top: 1px solid var(--slate-200);
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.view-summary-btn {
  color: var(--gold-700);
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.view-summary-btn:hover {
  color: var(--navy-900);
}

/* Tab 3: Supreme Court Daily Causelist Board */
.causelist-panel {
  background: #ffffff;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.causelist-top {
  background: var(--navy-900);
  color: #ffffff;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.causelist-top-title h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: #ffffff;
  font-weight: 800;
}

.causelist-top-title p {
  font-size: 0.82rem;
  color: var(--slate-300);
}

.mobile-table-hint {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--slate-600);
  padding: 8px 16px;
  background: #fdfaf3;
  border-bottom: 1px solid var(--surface-border);
  font-weight: 600;
}

@media (max-width: 768px) {
  .mobile-table-hint {
    display: flex;
  }
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  display: block;
}

.sc-table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

.sc-table th {
  background: #fdfaf3;
  color: var(--navy-900);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.8px;
  padding: 14px 18px;
  border-bottom: 2px solid var(--surface-border);
}

.sc-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--slate-200);
  vertical-align: top;
}

.sc-table tr:hover {
  background: rgba(184, 141, 59, 0.05);
}

.court-badge {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--navy-900);
  font-size: 0.95rem;
}

.case-num-text {
  font-family: monospace;
  font-weight: 700;
  color: var(--crimson-800);
  font-size: 0.85rem;
}

.parties-text {
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 3px;
}

.stage-badge {
  display: inline-block;
  background: #ffffff;
  border: 1px solid var(--surface-border);
  color: var(--slate-800);
  padding: 3px 9px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Tab 4: Supreme Court Step-by-Step Filing Procedure */
.filing-flow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 20px;
}

.flow-step-card {
  background: #ffffff;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.flow-step-card:hover {
  border-color: var(--gold-500);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.step-num-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(184, 141, 59, 0.35);
}

.flow-step-card h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--navy-900);
  margin-bottom: 8px;
  font-weight: 800;
}

.flow-step-card p {
  font-size: 0.88rem;
  color: var(--slate-600);
  line-height: 1.65;
}

/* Tab 5: Limitation Period & Court Fee Calculator */
.calculator-box {
  background: #ffffff;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: clamp(20px, 3.5vw, 36px);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3vw, 40px);
}

.calc-input-col h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--navy-900);
  margin-bottom: 18px;
  font-weight: 800;
}

.calc-form-group {
  margin-bottom: 18px;
}

.calc-form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 6px;
}

.calc-form-group select, .calc-form-group input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--slate-800);
}

.calc-form-group select:focus, .calc-form-group input:focus {
  outline: none;
  border-color: var(--gold-500);
}

.calc-result-col {
  background: #fdfaf3;
  color: var(--navy-900);
  border-radius: var(--radius-md);
  padding: clamp(20px, 3vw, 30px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1.5px solid var(--surface-border-strong);
}

.calc-result-title {
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-700);
  margin-bottom: 14px;
  font-weight: 800;
}

.calc-result-days {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: var(--navy-900);
  line-height: 1;
  margin-bottom: 8px;
}

.calc-result-deadline {
  font-size: 1.05rem;
  color: var(--crimson-800);
  margin-bottom: 20px;
  font-weight: 700;
}

.calc-rule-notes {
  font-size: 0.84rem;
  color: var(--slate-600);
  line-height: 1.65;
  border-top: 1px solid var(--surface-border);
  padding-top: 16px;
}

/* ==========================================================================
   PRACTICE AREAS SECTION (Light Theme)
   ========================================================================== */
.practice-areas-section {
  padding: clamp(50px, 8vw, 100px) 0;
  background: #ffffff;
}

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

@media (max-width: 900px) {
  .practice-grid {
    grid-template-columns: 1fr;
  }
}

.practice-card {
  background: var(--surface-ivory);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: clamp(26px, 3.2vw, 36px);
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.practice-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--gold-gradient);
  transition: height 0.3s ease;
}

.practice-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-500);
  box-shadow: var(--shadow-card-hover);
  background: #ffffff;
}

.practice-card:hover::before {
  height: 100%;
}

.practice-icon {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--surface-border);
  color: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  transition: all 0.3s;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.practice-card:hover .practice-icon {
  background: var(--gold-gradient);
  color: #ffffff;
  transform: rotate(-6deg);
}

.practice-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 12px;
  line-height: 1.3;
}

.practice-summary {
  font-size: 0.94rem;
  color: var(--slate-600);
  line-height: 1.65;
  margin-bottom: 24px;
  flex: 1 1 auto;
}

.practice-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--gold-700);
  margin-top: auto;
}

.practice-learn-more:hover {
  color: var(--navy-900);
}

/* ==========================================================================
   SENIOR ADVOCATES & ATTORNEYS (Prestigious Light Theme)
   ========================================================================== */
.attorneys-section {
  padding: clamp(50px, 8vw, 100px) 0;
  background: var(--surface-cream);
  color: var(--slate-800);
  position: relative;
  border-top: 1px solid var(--surface-border);
  border-bottom: 1px solid var(--surface-border);
}

.attorneys-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(20px, 3vw, 30px);
}

.attorney-card {
  background: #ffffff;
  border: 1.5px solid var(--surface-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

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

.attorney-image-wrap {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  overflow: hidden;
  position: relative;
  background: #fdfaf3;
  border-bottom: 1px solid var(--surface-border);
}

.attorney-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.attorney-info {
  padding: clamp(18px, 2.5vw, 24px);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.attorney-role {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold-700);
  margin-bottom: 6px;
}

.attorney-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 8px;
}

.attorney-credentials {
  font-size: 0.8rem;
  color: var(--slate-500);
  margin-bottom: 12px;
  line-height: 1.45;
  font-weight: 600;
}

.attorney-bio {
  font-size: 0.88rem;
  color: var(--slate-700);
  line-height: 1.6;
  margin-bottom: 16px;
}

.attorney-badge-win {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(184, 141, 59, 0.1);
  border: 1px solid var(--surface-border-strong);
  color: var(--gold-800);
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 800;
}

/* ==========================================================================
   LEGAL INSIGHTS & ARTICLES (Light Theme)
   ========================================================================== */
.insights-section {
  padding: clamp(50px, 8vw, 100px) 0;
  background: #ffffff;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(20px, 3vw, 30px);
}

.article-card {
  background: var(--surface-ivory);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: clamp(20px, 3vw, 30px);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--gold-500);
  background: #ffffff;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--slate-500);
  margin-bottom: 12px;
}

.article-cat-tag {
  color: var(--crimson-800);
  background: rgba(107, 21, 37, 0.08);
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 4px;
}

.article-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.35;
  margin-bottom: 12px;
}

.article-summary {
  font-size: 0.92rem;
  color: var(--slate-600);
  line-height: 1.65;
  margin-bottom: 20px;
}

.article-author {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy-900);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================================================
   CONSULTATION & APPOINTMENT BOOKING FORM (Light Chamber Aesthetic)
   ========================================================================== */
.consultation-section {
  padding: clamp(50px, 8vw, 100px) 0;
  background: linear-gradient(135deg, #fbf9f4 0%, #f3eee2 100%);
  color: var(--slate-800);
  position: relative;
  border-top: 1.5px solid var(--surface-border-strong);
  border-bottom: 1.5px solid var(--surface-border-strong);
}

.consultation-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(30px, 4vw, 50px);
  align-items: center;
}

.consult-info h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.25;
  margin-bottom: 18px;
}

.consult-info p {
  color: var(--slate-700);
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.75;
  margin-bottom: 30px;
}

.consult-perks {
  list-style: none;
  margin-bottom: 30px;
}

.consult-perks li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--navy-900);
  font-weight: 600;
  margin-bottom: 12px;
}

.consult-perks li svg, .consult-perks li i {
  color: var(--gold-600);
  font-size: 1.15rem;
}

.consult-hotline-card {
  background: #ffffff;
  border: 1.5px solid var(--surface-border-strong);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  box-shadow: var(--shadow-sm);
}

.consult-hotline-card h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold-700);
  margin-bottom: 4px;
  font-weight: 800;
}

.consult-hotline-card a {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 800;
  color: var(--navy-900);
}

/* Right Form Box */
.consultation-form-card {
  background: #ffffff;
  color: var(--slate-900);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-lg), var(--shadow-gold);
  border: 1px solid var(--surface-border);
}

.consultation-form-card h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  color: var(--navy-900);
  margin-bottom: 6px;
  font-weight: 800;
}

.consultation-form-card p {
  font-size: 0.9rem;
  color: var(--slate-600);
  margin-bottom: 24px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 6px;
}

.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--slate-800);
  background: #ffffff;
  transition: all 0.2s;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(184, 141, 59, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* ==========================================================================
   FOOTER & BAR COUNCIL DISCLAIMER (Prestigious Light Executive Palette)
   ========================================================================== */
.site-footer {
  background: var(--surface-cream);
  color: var(--slate-700);
  padding: clamp(50px, 7vw, 80px) 0 30px 0;
  border-top: 2px solid var(--gold-500);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(24px, 3.5vw, 40px);
  margin-bottom: 50px;
}

.footer-brand-logo {
  height: 62px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  margin-bottom: 18px;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(11, 22, 44, 0.09));
  transition: transform 0.22s ease, filter 0.22s ease;
}

.footer-brand-logo:hover {
  transform: translateY(-1px);
  filter: drop-shadow(0 4px 10px rgba(184, 147, 74, 0.25));
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--navy-900);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
  font-weight: 800;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2.5px;
  background: var(--gold-500);
}

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

.footer-links li {
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.footer-links a {
  color: var(--slate-700);
  font-weight: 500;
}

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

.footer-contact-info p {
  font-size: 0.9rem;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact-info svg, .footer-contact-info i {
  color: var(--gold-600);
  margin-top: 4px;
}

.bar-council-notice {
  background: #ffffff;
  border: 1px solid var(--surface-border-strong);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  font-size: 0.8rem;
  color: var(--slate-600);
  line-height: 1.65;
  margin-bottom: 30px;
  box-shadow: var(--shadow-sm);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--surface-border);
  padding-top: 24px;
  font-size: 0.84rem;
  color: var(--slate-600);
  flex-wrap: wrap;
  gap: 16px;
}

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 22, 44, 0.6);
  backdrop-filter: blur(6px);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-dialog {
  background: #ffffff;
  border-radius: var(--radius-md);
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
  animation: modalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--surface-border);
}

@keyframes modalPop {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal-header {
  padding: 20px 24px;
  background: var(--navy-900);
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: #ffffff;
}

.modal-close-btn {
  color: #ffffff;
  font-size: 1.4rem;
  line-height: 1;
}

.modal-body {
  padding: 26px;
  color: var(--slate-800);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Toast Notification */
.toast-notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  background: var(--navy-900);
  color: #ffffff;
  border-left: 4px solid var(--gold-500);
  padding: 16px 22px;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 14px;
  transform: translateY(120px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-notice.show {
  transform: translateY(0);
}

/* ==========================================================================
   SUBPAGE HEADER BANNER & BREADCRUMBS
   ========================================================================== */
.page-banner {
  position: relative;
  background: 
    radial-gradient(circle at 10% 20%, rgba(223, 183, 108, 0.14) 0%, transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(184, 141, 59, 0.08) 0%, transparent 40%),
    linear-gradient(180deg, #fdfcf9 0%, #f6f3e8 100%);
  padding: clamp(40px, 6vw, 70px) 0 clamp(30px, 5vw, 55px) 0;
  border-bottom: 2px solid var(--gold-500);
  overflow: hidden;
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(184, 141, 59, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(184, 141, 59, 0.05) 1px, transparent 1px);
  pointer-events: none;
}

.page-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}

.breadcrumb-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate-600);
  margin-bottom: 16px;
  background: #ffffff;
  padding: 5px 16px;
  border-radius: 20px;
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow-sm);
}

.breadcrumb-nav a {
  color: var(--navy-900);
}

.breadcrumb-nav a:hover {
  color: var(--gold-600);
}

.breadcrumb-sep {
  color: var(--gold-500);
  font-size: 0.75rem;
}

.breadcrumb-current {
  color: var(--gold-700);
  font-weight: 700;
}

.page-banner-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: var(--navy-900);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.page-banner-desc {
  font-size: clamp(0.95rem, 1.25vw, 1.1rem);
  color: var(--slate-700);
  line-height: 1.75;
  max-width: 760px;
  margin: 0 auto;
}

/* ==========================================================================
   PUBLIC NEWSLETTER & JURISPRUDENCE BULLETIN SUBSCRIPTION STRIP
   ========================================================================== */
.newsletter-strip {
  background: var(--navy-900);
  color: #ffffff;
  padding: clamp(50px, 6vw, 75px) 0;
  position: relative;
  overflow: hidden;
  border-top: 2px solid var(--gold-500);
  border-bottom: 2px solid var(--gold-500);
}

.newsletter-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 15% 30%, rgba(223, 183, 108, 0.15) 0%, transparent 50%),
                    radial-gradient(circle at 85% 70%, rgba(184, 141, 59, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.newsletter-content-wrap {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.newsletter-text h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  color: #ffffff;
  font-weight: 800;
  margin-bottom: 10px;
}

.newsletter-text p {
  color: var(--slate-300);
  font-size: 0.95rem;
  line-height: 1.65;
}

.newsletter-form-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(184, 141, 59, 0.35);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
}

.newsletter-form-row {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.newsletter-form-row input {
  flex: 1;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.95);
  font-size: 0.9rem;
  color: var(--navy-900);
}

.newsletter-form-row input:focus {
  outline: none;
  border-color: var(--gold-400);
  box-shadow: 0 0 0 3px rgba(223, 183, 108, 0.25);
}

.newsletter-disclaimer {
  font-size: 0.75rem;
  color: var(--slate-400);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* About Page Specific Styles */
.about-story-section {
  padding: clamp(50px, 7vw, 90px) 0;
  background: #ffffff;
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 4vw, 55px);
  align-items: center;
}

.story-lead-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  font-style: italic;
  color: var(--navy-900);
  line-height: 1.6;
  border-left: 4px solid var(--gold-500);
  padding-left: 20px;
  margin-bottom: 24px;
}

.credentials-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.credential-box {
  background: var(--surface-ivory);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.credential-box:hover {
  transform: translateY(-3px);
  border-color: var(--gold-500);
  box-shadow: var(--shadow-md);
}

.credential-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(184, 141, 59, 0.12);
  color: var(--gold-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 14px;
}

.credential-box h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--navy-900);
  font-weight: 800;
  margin-bottom: 8px;
}

.credential-box p {
  font-size: 0.88rem;
  color: var(--slate-600);
  line-height: 1.65;
}

/* Contact Page Layout */
.contact-page-section {
  padding: clamp(50px, 7vw, 90px) 0;
  background: var(--surface-cream);
}

.contact-page-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(30px, 4vw, 50px);
}

.chamber-office-card {
  background: #ffffff;
  border: 1.5px solid var(--surface-border-strong);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.chamber-office-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--navy-900);
  margin-bottom: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}

.office-detail-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 16px;
  font-size: 0.92rem;
  color: var(--slate-700);
}

.office-detail-row i, .office-detail-row svg {
  color: var(--gold-600);
  font-size: 1.1rem;
  margin-top: 4px;
  flex-shrink: 0;
}

.map-mockup-frame {
  background: #ffffff;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-top: 20px;
}

.map-placeholder-graphic {
  height: 220px;
  background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--navy-900);
  text-align: center;
  padding: 20px;
  position: relative;
}

.map-pin-pulse {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 10px;
  box-shadow: 0 0 0 8px rgba(184, 141, 59, 0.25);
}

/* ==========================================================================
   ADVANCED RESPONSIVE SYSTEM ACROSS ALL BREAKPOINTS
   ========================================================================== */

/* 1. Large Laptops / Desktops (1201px - 1360px)
   Fluid typography and spacing to ensure all 8 links & brand fit comfortably */
@media (min-width: 1201px) and (max-width: 1360px) {
  .nav-container {
    gap: 10px;
  }
  .main-nav {
    gap: clamp(6px, 0.8vw, 12px);
  }
  .nav-link {
    font-size: 0.81rem;
    padding: 6px 2px;
  }
  .brand-logo-img {
    height: 50px;
    max-width: 210px;
  }
  .nav-actions .btn {
    padding: 8px 12px;
    font-size: 0.8rem;
  }
}

/* 2. Laptops, Foldables & Landscape Tablets (<= 1200px)
   Activate Slide-Out Drawer Navigation so navigation NEVER collides or wraps */
@media (max-width: 1200px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-btn {
    display: inline-flex !important;
  }
  .hero-content {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-desc {
    max-width: 100%;
  }
  .hero-text-col {
    max-width: 100%;
  }
  .hero-board-col {
    max-width: 100%;
  }
  .consultation-wrap {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

/* 3. Tablets in Portrait & Medium Devices (<= 992px) */
@media (max-width: 992px) {
  .top-notice-bar {
    padding: 0;
    height: 36px;
    display: flex;
    align-items: center;
  }
  .top-bar-desktop-wrap {
    display: none !important;
  }
  .top-bar-mobile-ticker {
    display: flex !important;
  }
  
  /* Touch-Swipe Supreme Court Tabs */
  .sc-tabs-nav {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 8px;
    padding: 6px 4px 14px 4px;
    margin-bottom: 26px;
    scrollbar-width: none;
  }
  .sc-tabs-nav::-webkit-scrollbar {
    display: none;
  }
  .sc-tab-btn {
    scroll-snap-align: start;
    flex-shrink: 0;
    white-space: nowrap;
    padding: 10px 16px;
    font-size: 0.84rem;
  }

  .calculator-box {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 22px;
  }

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

  .newsletter-content-wrap {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  .about-story-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .contact-page-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .newsletter-form-row {
    flex-direction: column;
  }
}

/* 4. Small Tablets & Phablets (<= 768px) */
@media (max-width: 768px) {
  .btn {
    white-space: normal;
    text-align: center;
  }

  .ticker-label-text {
    display: none;
  }
  .ticker-label::after {
    content: "LIVE";
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1px;
  }
  .ticker-item {
    margin-right: 32px;
    font-size: 0.78rem;
  }

  .library-search-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .search-input-wrap, .category-filter-select {
    width: 100%;
    min-width: 100%;
  }

  .causelist-top {
    padding: 16px 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

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

  .attorneys-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .modal-dialog {
    max-width: 96vw;
    margin: 8px auto;
    max-height: 90vh;
    max-height: 90dvh;
  }

  /* PDF Modal Tablet Adaptations */
  .pdf-modal-container {
    width: 96vw;
    height: 94vh;
    height: 94dvh;
    max-width: 96vw;
  }
  .pdf-modal-backdrop {
    padding: 10px;
  }
  .pdf-modal-switcher {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 8px;
    padding: 8px 14px;
  }
  .pdf-modal-switcher::-webkit-scrollbar {
    display: none;
  }
  .pdf-switch-btn {
    flex-shrink: 0;
    white-space: nowrap;
  }
}

/* 5. Phablets & Mid-Size Mobile (<= 640px) */
@media (max-width: 640px) {
  /* Full Mobile PDF Viewer */
  .pdf-modal-backdrop {
    padding: 0;
  }
  .pdf-modal-container {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    max-width: 100vw;
    border-radius: 0;
    border: none;
  }
  .pdf-modal-header {
    padding: 10px 14px;
    gap: 8px;
  }
  .pdf-court-badge {
    font-size: 0.66rem;
  }
  .pdf-doc-title {
    font-size: 0.95rem;
    line-height: 1.25;
  }
  .pdf-doc-sub {
    font-size: 0.72rem;
  }
  .pdf-modal-actions {
    gap: 6px;
  }
  .btn-pdf-tool span {
    display: none;
  }
  .btn-pdf-tool {
    padding: 7px 10px;
    min-width: 36px;
    height: 36px;
    justify-content: center;
  }
  .btn-pdf-close {
    width: 36px;
    height: 36px;
  }
  .switcher-label {
    display: none;
  }
  .pdf-switch-btn {
    font-size: 0.74rem;
    padding: 6px 10px;
  }
  .pdf-modal-footer {
    padding: 8px 12px;
    font-size: 0.72rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  /* Attorney Cards Column Collapsing */
  .attorney-card {
    flex-direction: column;
  }
  .attorney-image-wrap {
    width: 100%;
    min-width: 100%;
    aspect-ratio: 16 / 11;
    height: auto;
  }
  .attorney-info {
    padding: 20px 16px;
  }
}

/* 6. Standard Mobile Phones (<= 520px) */
@media (max-width: 520px) {
  .container {
    padding: 0 16px;
  }
  
  .brand-logo-wrap {
    min-width: 0;
  }

  .brand-logo-img {
    height: 42px;
    max-width: 170px;
  }
  
  .nav-actions #headerCtaBtn {
    display: none; /* Accessible in the slide-out drawer */
  }

  .hero-section {
    padding: 36px 0 28px 0;
  }

  .hero-badge-pill {
    font-size: 0.7rem;
    padding: 5px 12px;
    margin-bottom: 12px;
  }

  .hero-title {
    font-size: clamp(1.7rem, 6.5vw, 2.15rem);
    margin-bottom: 12px;
    line-height: 1.2;
  }

  .hero-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 22px;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin-bottom: 26px;
  }

  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
    padding: 12px 16px;
  }

  /* Executive Vertical Card Stack for Mobile Stats */
  .hero-stats-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-top: 16px;
  }

  .stat-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: #ffffff;
    border-radius: var(--radius-sm);
    border: 1px solid var(--surface-border);
    text-align: left;
  }

  .stat-item h3 {
    font-size: 1.35rem;
    margin-bottom: 0;
    color: var(--navy-900);
  }

  .stat-item p {
    font-size: 0.72rem;
    text-align: right;
    max-width: 58%;
    margin-bottom: 0;
    line-height: 1.3;
  }

  /* Hero Partner Card Mobile Polish */
  .hero-partner-card {
    padding: 18px 16px;
  }

  .hero-partner-photo-wrap {
    width: 80px;
    height: 105px;
  }

  .hero-partner-name {
    font-size: 1.15rem;
  }

  .hero-partner-creds {
    font-size: 0.74rem;
  }

  .hero-partner-actions .btn {
    width: 100%;
    font-size: 0.82rem;
    padding: 11px 14px;
    white-space: normal;
    line-height: 1.35;
  }

  .psu-tag {
    font-size: 0.68rem;
    padding: 2.5px 7px;
  }

  /* Pillars Single Column */
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* Court card adjustments on mobile */
  .sc-court-card {
    padding: 18px 16px;
  }

  .court-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .court-status-pill {
    align-self: flex-start;
  }

  .court-card-crest {
    width: 36px;
    height: 36px;
    min-width: 36px;
  }

  .court-card-title {
    font-size: 1.05rem;
  }

  .court-bench-highlight {
    padding: 12px 14px;
  }

  .court-bench-highlight h4 {
    font-size: 0.88rem;
  }

  .court-bench-highlight p {
    font-size: 0.78rem;
  }

  .sc-card-actions {
    flex-direction: column;
    gap: 8px;
  }

  .sc-card-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Grids collapse to single clean column */
  .powers-grid, .cases-grid, .practice-grid, .articles-grid {
    grid-template-columns: 1fr;
  }

  .power-card, .case-card, .practice-card, .article-card, .consultation-form-card {
    padding: 20px 16px;
  }

  /* Inputs iOS font zoom prevention */
  input, select, textarea {
    font-size: 16px !important;
  }
}

/* 7. Ultra-Compact Mobile Devices (<= 380px, e.g. iPhone SE, Galaxy Fold) */
@media (max-width: 380px) {
  .container {
    padding: 0 12px;
  }

  .brand-logo-img {
    height: 38px;
    max-width: 150px;
  }

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

  .hero-partner-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .hero-partner-photo-wrap {
    width: 72px;
    height: 95px;
  }

  .hero-partner-actions .btn {
    font-size: 0.78rem;
    padding: 10px 12px;
  }

  .top-tag {
    font-size: 0.68rem;
    padding: 2px 6px;
  }

  .top-link {
    font-size: 0.74rem;
  }

  .court-card-crest {
    width: 32px;
    height: 32px;
    min-width: 32px;
  }

  .court-card-title {
    font-size: 0.98rem;
  }

  .court-bench-highlight {
    padding: 10px 12px;
  }

  .court-bench-highlight h4 {
    font-size: 0.82rem;
  }

  .court-bench-highlight p {
    font-size: 0.74rem;
  }

  .pillar-card {
    padding: 18px 14px;
  }

  .attorney-info {
    padding: 16px 14px;
  }

  .modal-dialog {
    max-width: 100%;
    margin: 0;
  }

  .modal-body {
    padding: 16px 14px;
  }
}

/* ==========================================================================
   COURT DOCUMENTS SHOWCASE & INTERACTIVE PDF VIEWER
   ========================================================================== */
.court-docs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}

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

@media (max-width: 768px) {
  .court-docs-grid {
    grid-template-columns: 1fr;
  }
}

.court-doc-card {
  background: #ffffff;
  border: 1px solid var(--surface-border-strong);
  border-top: 3px solid var(--gold-500);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: all 0.25s ease;
  position: relative;
}

.court-doc-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  border-color: var(--gold-500);
}

.doc-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  gap: 8px;
}

.doc-type-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(184, 141, 59, 0.12);
  color: var(--gold-700);
  border: 1px solid rgba(184, 141, 59, 0.25);
}

.doc-pages-pill {
  display: none !important;
}

.doc-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--navy-900);
  margin-bottom: 6px;
  line-height: 1.35;
}

.doc-card-subtitle {
  font-size: 0.82rem;
  color: var(--gold-700);
  font-weight: 600;
  margin-bottom: 10px;
}

.doc-citation-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  background: #f1f5f9;
  color: var(--navy-900);
  padding: 4px 8px;
  border-radius: 4px;
  margin-bottom: 14px;
}

.doc-card-desc {
  font-size: 0.86rem;
  color: var(--slate-600);
  line-height: 1.55;
  margin-bottom: 16px;
}

.doc-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.doc-checklist li {
  font-size: 0.8rem;
  color: var(--slate-700);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.doc-checklist li i {
  color: var(--gold-500);
  margin-top: 3px;
  font-size: 0.75rem;
}

.doc-card-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--slate-100);
}

.doc-card-actions .btn-primary {
  flex: 1;
  padding: 9px 14px;
  font-size: 0.82rem;
  justify-content: center;
}

.doc-action-btn-sm {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--slate-200);
  background: #ffffff;
  color: var(--navy-900);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}

.doc-action-btn-sm:hover {
  background: var(--slate-100);
  border-color: var(--slate-400);
  color: var(--gold-600);
}

.view-pdf-btn {
  padding: 8px 14px;
  background: #fdfaf3;
  border: 1.5px solid var(--gold-500);
  border-radius: var(--radius-sm);
  color: var(--navy-900);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.view-pdf-btn i {
  color: #dc2626;
}

.view-pdf-btn:hover {
  background: #fbf3dd;
  border-color: var(--gold-600);
  transform: translateY(-1px);
}

/* ==========================================================================
   INTERACTIVE PDF VIEWER MODAL
   ========================================================================== */
.pdf-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(11, 21, 40, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: all 0.25s ease;
}

.pdf-modal-backdrop.open {
  display: flex;
}

.pdf-modal-container {
  width: 94vw;
  max-width: 1240px;
  height: 92vh;
  background: #ffffff;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  border: 1.5px solid rgba(197, 160, 89, 0.4);
  transition: all 0.2s ease;
}

.pdf-modal-container.fullscreen {
  width: 100vw;
  height: 100vh;
  max-width: none;
  border-radius: 0;
  border: none;
}

.pdf-modal-header {
  background: #0b1528;
  color: #ffffff;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--gold-500);
  gap: 16px;
}

.pdf-court-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold-400);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 3px;
}

.pdf-doc-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: #ffffff;
  margin: 0;
  line-height: 1.25;
}

.pdf-doc-sub {
  font-size: 0.78rem;
  color: #94a3b8;
  font-family: var(--font-mono);
  margin-top: 3px;
}

.pdf-modal-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.btn-pdf-tool {
  padding: 7px 13px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-pdf-tool:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

.btn-pdf-tool.highlight {
  background: var(--gold-500);
  color: var(--navy-900);
  border-color: var(--gold-500);
  font-weight: 700;
}

.btn-pdf-tool.highlight:hover {
  background: var(--gold-400);
}

.btn-pdf-close {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  border: none;
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  font-size: 1.1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.btn-pdf-close:hover {
  background: #ef4444;
  color: #ffffff;
}

.pdf-modal-switcher {
  background: #f8fafc;
  border-bottom: 1px solid var(--slate-200);
  padding: 10px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.switcher-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy-900);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 6px;
}

.pdf-switch-btn {
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid var(--slate-300);
  background: #ffffff;
  color: var(--slate-700);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.pdf-switch-btn:hover {
  border-color: var(--gold-500);
  color: var(--navy-900);
  background: #fdfaf3;
}

.pdf-switch-btn.active {
  background: #0b1528;
  color: #ffffff;
  border-color: #0b1528;
}

.pdf-switch-btn.active i {
  color: var(--gold-400);
}

.pdf-viewer-frame-wrap {
  flex: 1;
  width: 100%;
  height: 100%;
  position: relative;
  background: #333842;
  overflow: hidden;
}

.pdf-viewer-frame-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.pdf-modal-footer {
  background: #ffffff;
  padding: 10px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--slate-200);
  font-size: 0.8rem;
  color: var(--slate-600);
  flex-wrap: wrap;
  gap: 10px;
}

.pdf-footer-security {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--navy-900);
}

.pdf-footer-fallback a {
  color: var(--gold-700);
  font-weight: 700;
  text-decoration: underline;
}

.pdf-footer-fallback a:hover {
  color: var(--gold-600);
}

/* ==========================================================================
   INSTITUTIONAL CLIENTS: CONTINUOUS RUNNING LOGOS & NAMES (RIGHT TO LEFT)
   ========================================================================== */
.clients-section {
  padding: 34px 0 38px;
  background: linear-gradient(180deg, #fdfbf7 0%, #f6f3eb 100%);
  border-top: 1px solid var(--surface-border);
  border-bottom: 1px solid var(--surface-border);
  position: relative;
  overflow: hidden;
}

.clients-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-gradient);
}

.clients-strip-header {
  margin-bottom: 20px;
}

.clients-strip-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  background: #ffffff;
  border: 1px solid rgba(184, 141, 59, 0.35);
  padding: 5px 16px;
  border-radius: 30px;
  box-shadow: 0 2px 8px rgba(11, 22, 44, 0.04);
}

/* Continuous Marquee Ribbon */
.clients-marquee-wrap {
  width: 100%;
  position: relative;
  overflow: hidden;
  padding: 6px 0;
  -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}

.clients-marquee-track {
  display: flex;
  gap: 22px;
  width: max-content;
  will-change: transform;
  animation: marqueeRightToLeft 32s linear infinite;
}

.clients-marquee-track:hover {
  animation-play-state: paused;
}

/* Smooth Right to Left Continuous Keyframe */
@keyframes marqueeRightToLeft {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* Inline Pill: Logo + Name */
.client-inline-pill {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  padding: 8px 22px 8px 12px;
  border-radius: 40px;
  border: 1px solid rgba(184, 141, 59, 0.28);
  box-shadow: 0 3px 12px rgba(11, 22, 44, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
}

.client-inline-pill:hover {
  border-color: var(--gold-500);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(184, 141, 59, 0.18);
  background: #ffffff;
}

.client-logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 2px 4px;
  background: #ffffff;
  border-radius: 6px;
  flex-shrink: 0;
}

.client-brand-logo {
  height: 36px;
  width: auto;
  max-width: 165px;
  object-fit: contain;
  display: block;
}

.client-inline-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  line-height: 1.25;
}

.client-inline-code {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--navy-900);
  letter-spacing: 0.8px;
}

.client-inline-name {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--slate-600);
  max-width: 250px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .clients-section {
    padding: 26px 0 30px;
  }
  .client-inline-pill {
    padding: 6px 16px 6px 10px;
    gap: 10px;
  }
  .client-brand-logo {
    height: 30px;
  }
  .client-inline-code {
    font-size: 0.85rem;
  }
  .client-inline-name {
    font-size: 0.7rem;
    max-width: 160px;
  }
}

/* ==========================================================================
   EXECUTIVE INSTITUTIONAL CLIENTS GRID (Neat, Static, Dignified & 100% Centered)
   ========================================================================== */
.clients-section {
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.clients-section .container {
  width: 100%;
  max-width: 1260px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.clients-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
  margin: 36px auto 0 auto;
  width: 100%;
  max-width: 1212px;
  box-sizing: border-box;
}

.client-card {
  flex: 0 0 calc(25% - 15px);
  max-width: calc(25% - 15px);
  min-width: 0;
  background: #ffffff;
  border: 1px solid rgba(15, 27, 45, 0.09);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  overflow: hidden;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(11, 22, 44, 0.03);
}

.client-card:hover {
  transform: translateY(-3px);
  border-color: rgba(184, 147, 74, 0.45);
  box-shadow: 0 12px 28px rgba(11, 22, 44, 0.08);
}

.client-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 40px;
  margin-bottom: 14px;
  flex-shrink: 0;
  min-width: 0;
}

.client-logo-frame {
  height: 38px;
  max-width: 90px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
  min-width: 0;
}

.client-card-logo {
  max-height: 32px;
  max-width: 85px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: left center;
  display: block;
}

.client-standing-pill {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--gold-800);
  background: var(--gold-200);
  border: 1px solid rgba(184, 147, 74, 0.28);
  padding: 3px 7px;
  border-radius: 4px;
  letter-spacing: 0.25px;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 1;
  min-width: 0;
  max-width: 145px;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: right;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  line-height: 1;
}

.client-card-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.client-card-name {
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 6px;
  line-height: 1.35;
  height: 46px;
  min-height: 46px;
  display: flex;
  align-items: center;
  overflow: hidden;
  text-overflow: ellipsis;
}

.client-card-category {
  font-size: 0.8rem;
  color: var(--slate-600);
  line-height: 1.45;
  height: 42px;
  min-height: 42px;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.client-card-tags {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--slate-100);
  height: 56px;
  min-height: 56px;
  align-content: flex-start;
  overflow: hidden;
  box-sizing: border-box;
}

.client-tag {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--slate-700);
  background: var(--slate-100);
  padding: 2.5px 7px;
  border-radius: 4px;
  white-space: nowrap;
}

/* Responsive Adaptations for Institutional Clients */
@media (max-width: 1180px) {
  .clients-grid {
    gap: 18px;
  }
  .client-card {
    flex: 0 0 calc(33.333% - 12px);
    max-width: calc(33.333% - 12px);
  }
}

@media (max-width: 860px) {
  .clients-grid {
    gap: 16px;
  }
  .client-card {
    flex: 0 0 calc(50% - 8px);
    max-width: calc(50% - 8px);
    padding: 16px 14px;
  }
}

@media (max-width: 560px) {
  .clients-grid {
    gap: 14px;
  }
  .client-card {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 16px 14px;
  }
}

/* ==========================================================================
   FEATURED LANDMARK PRECEDENT SPOTLIGHT (Maya Devi v. Lalta Prasad)
   ========================================================================== */
.landmark-feature-section {
  padding: 72px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--surface-border);
}

.landmark-feature-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 40px;
  align-items: center;
  background: linear-gradient(145deg, #fdfbf7 0%, #f6f3ea 100%);
  border: 1px solid rgba(184, 147, 74, 0.32);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: 0 10px 30px rgba(11, 22, 44, 0.04);
  position: relative;
}

.landmark-feature-grid::before {
  content: "";
  position: absolute;
  top: 0;
  left: 36px;
  right: 36px;
  height: 3px;
  background: var(--gold-gradient);
  border-radius: 3px 3px 0 0;
}

.landmark-feature-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 700;
  color: var(--navy-950);
  margin-bottom: 8px;
  line-height: 1.2;
}

.landmark-citation-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.citation-code {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  color: #7b1d2e;
  background: #ffffff;
  border: 1px solid #fecdd3;
  padding: 3px 9px;
  border-radius: 4px;
}

.citation-bench {
  font-size: 0.82rem;
  color: var(--slate-600);
  font-weight: 600;
}

.landmark-feature-desc {
  font-size: 0.94rem;
  color: var(--slate-700);
  line-height: 1.7;
  margin-bottom: 22px;
  text-wrap: pretty;
}

.landmark-principles-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.principle-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid rgba(184, 147, 74, 0.3);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy-900);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.landmark-action-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.landmark-doc-preview-card {
  background: #ffffff;
  border: 1px solid rgba(184, 147, 74, 0.3);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: 0 8px 22px rgba(11, 22, 44, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.doc-emblem-wrap {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--gold-200);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.doc-emblem-wrap img {
  width: 38px;
  height: 38px;
}

.doc-preview-title {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--navy-950);
  margin-bottom: 4px;
}

.doc-preview-meta {
  font-size: 0.8rem;
  color: var(--slate-500);
  margin-bottom: 18px;
  font-family: var(--font-mono);
}

.doc-preview-highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  text-align: left;
  width: 100%;
  font-size: 0.8rem;
  color: var(--slate-600);
}

.doc-preview-highlights li {
  padding: 5px 0;
  border-bottom: 1px dashed var(--slate-200);
  display: flex;
  align-items: center;
  gap: 8px;
}

.doc-preview-highlights li:last-child {
  border-bottom: none;
}

@media (max-width: 900px) {
  .landmark-feature-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   FIRM PILLARS SECTION (Clean Architecture)
   ========================================================================== */
.pillars-section {
  padding: 72px 0;
  background: var(--surface-cream);
  border-bottom: 1px solid var(--surface-border);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 36px;
}

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

@media (max-width: 600px) {
  .pillars-grid {
    grid-template-columns: 1fr;
  }
}

.pillar-card {
  background: #ffffff;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  box-shadow: 0 2px 8px rgba(11, 22, 44, 0.02);
  transition: all 0.22s ease;
}

.pillar-card:hover {
  transform: translateY(-2px);
  border-color: rgba(184, 147, 74, 0.35);
  box-shadow: 0 10px 24px rgba(11, 22, 44, 0.06);
}

.pillar-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--gold-200);
  color: var(--gold-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 18px;
}

.pillar-card h3 {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--navy-950);
  margin-bottom: 8px;
  line-height: 1.3;
}

.pillar-card p {
  font-size: 0.86rem;
  color: var(--slate-600);
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   ATTORNEYS & COUNSEL OVERHAUL (Real Photographic Framing)
   ========================================================================== */
.attorneys-section {
  padding: 80px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--surface-border);
}

.attorneys-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 40px;
}

@media (max-width: 960px) {
  .attorneys-grid {
    grid-template-columns: 1fr;
  }
}

.attorney-card {
  background: #ffffff;
  border: 1px solid rgba(15, 27, 45, 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(11, 22, 44, 0.03);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: row;
  min-height: 310px;
}

.attorney-card:hover {
  transform: translateY(-3px);
  border-color: rgba(184, 147, 74, 0.4);
  box-shadow: 0 14px 30px rgba(11, 22, 44, 0.08);
}

.attorney-image-wrap {
  width: 220px;
  min-width: 220px;
  height: 100%;
  aspect-ratio: auto;
  overflow: hidden;
  position: relative;
  background: #f1f5f9;
}

.attorney-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.35s ease;
}

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

.attorney-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

@media (max-width: 600px) {
  .attorney-card {
    flex-direction: column;
  }
  .attorney-image-wrap {
    width: 100%;
    min-width: 100%;
    aspect-ratio: 3 / 3.4;
    height: auto;
  }
}

.attorney-role {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-700);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.attorney-name {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--navy-950);
  margin-bottom: 6px;
  line-height: 1.25;
}

.attorney-credentials {
  font-size: 0.78rem;
  color: var(--slate-600);
  line-height: 1.45;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--slate-100);
}

.attorney-bio {
  font-size: 0.84rem;
  color: var(--slate-600);
  line-height: 1.55;
  margin-bottom: 16px;
}

.attorney-badge-win {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--navy-900);
  background: var(--gold-200);
  border: 1px solid rgba(184, 147, 74, 0.3);
  padding: 3px 9px;
  border-radius: 4px;
}

/* ==========================================================================
   PAN-INDIA HIGH COURT ASSOCIATE NETWORK STYLING
   ========================================================================== */
.hc-network-section {
  padding: clamp(60px, 7vw, 90px) 0;
  background: linear-gradient(180deg, #f8f6f0 0%, #ffffff 100%);
  border-bottom: 1px solid var(--surface-border);
}

.hc-network-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.hc-network-card {
  background: #ffffff;
  border: 1px solid rgba(184, 147, 74, 0.22);
  border-radius: var(--radius-sm);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 18px rgba(11, 22, 44, 0.04);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  position: relative;
  overflow: hidden;
}

.hc-network-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--gold-600) 0%, var(--gold-400) 100%);
}

.hc-network-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(11, 22, 44, 0.09);
  border-color: var(--gold-500);
}

.hc-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  gap: 10px;
}

.hc-court-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--navy-900);
  background: rgba(184, 147, 74, 0.12);
  padding: 3px 8px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.hc-city-tag {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--slate-600);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.hc-court-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy-950);
  margin-bottom: 14px;
  line-height: 1.3;
}

.hc-counsel-box {
  background: #faf8f5;
  border-radius: 4px;
  padding: 12px;
  border: 1px dashed rgba(184, 147, 74, 0.35);
  margin-bottom: 14px;
}

.hc-counsel-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  display: block;
  margin-bottom: 4px;
}

.hc-counsel-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy-900);
  margin: 0;
  line-height: 1.4;
}

.hc-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid var(--slate-100);
}

.hc-status-pill {
  font-size: 0.73rem;
  font-weight: 600;
  color: #047857;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ==========================================================================
   OFFICIAL CONSULTANCY BANKING / PAYMENT CARD
   ========================================================================== */
.consult-banking-card {
  background: linear-gradient(135deg, #0b162c 0%, #15223e 100%);
  color: #ffffff;
  border: 2px solid var(--gold-500);
  border-radius: var(--radius-md);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: 0 16px 40px rgba(11, 22, 44, 0.25);
  position: relative;
  overflow: hidden;
  margin-top: 32px;
}

.consult-banking-card::after {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(223, 183, 108, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.banking-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 16px;
  border-bottom: 1px solid rgba(223, 183, 108, 0.25);
  padding-bottom: 18px;
}

.banking-card-title-group h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

.banking-card-title-group p {
  font-size: 0.85rem;
  color: var(--gold-300);
  margin: 0;
}

.banking-card-badge {
  background: rgba(223, 183, 108, 0.18);
  border: 1px solid var(--gold-400);
  color: #fef08a;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.banking-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.bank-detail-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 14px 16px;
  position: relative;
}

.bank-detail-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gold-300);
  font-weight: 700;
  margin-bottom: 4px;
  display: block;
}

.bank-detail-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  font-family: 'Space Grotesk', monospace, sans-serif;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.bank-copy-btn {
  background: rgba(223, 183, 108, 0.2);
  border: 1px solid var(--gold-400);
  color: #ffffff;
  font-size: 0.72rem;
  padding: 4px 9px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: var(--font-sans);
}

.bank-copy-btn:hover {
  background: var(--gold-500);
  color: var(--navy-950);
}

.bank-copy-btn.copied {
  background: #16a34a;
  border-color: #22c55e;
  color: #ffffff;
}

.banking-note-bar {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
}



