/**
 * Created by 11Hopem
 * Copyright (c) 2026 11Hopem. All rights reserved.
 * Licensed under 11Hopem Proprietary License.
 */

:root {
  --bg-obsidian: #07070a;
  --bg-surface: #0e0e14;
  --bg-card: #13131b;
  --bg-elevated: #1a1a25;
  --crimson-bright: #ff3b3b;
  --crimson-main: #dc2626;
  --crimson-deep: #991b1b;
  --crimson-dark: #450a0a;
  --crimson-glow: rgba(220, 38, 38, 0.38);
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --border-subtle: rgba(255, 255, 255, 0.09);
  --border-crimson: rgba(220, 38, 38, 0.42);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Cinzel', Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background-color: var(--bg-obsidian);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--crimson-main);
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  z-index: 9999;
}

.skip-link:focus {
  left: 16px;
}

.container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 20px;
}

.honeypot-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Top Utility Bar */
.top-utility-bar {
  background: #040406;
  border-bottom: 1px solid rgba(220, 38, 38, 0.24);
  font-size: 12.5px;
  padding: 8px 0;
}

.utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.utility-left,
.utility-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.utility-pill,
.supabase-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(220, 38, 38, 0.1);
  border: 1px solid rgba(220, 38, 38, 0.3);
  color: #fecaca;
  font-weight: 600;
}

.supabase-live-pill {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.35);
  color: #a7f3d0;
}

.crimson-dot,
.db-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--crimson-bright);
  box-shadow: 0 0 10px var(--crimson-bright);
  animation: pulseDot 2s infinite;
}

.db-pulse {
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.55; }
}

.utility-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.utility-link:hover {
  color: var(--crimson-bright);
}

.utility-sep {
  color: rgba(255, 255, 255, 0.2);
}

/* Sticky Header & Animated Red-Black Brand Identity */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(8, 8, 12, 0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(220, 38, 38, 0.28);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 18px;
}

.brand-identity {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #fff;
}

.animated-logo-stage {
  position: relative;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-crimson-orbit-outer,
.logo-crimson-orbit-inner {
  position: absolute;
  inset: -3px;
  border-radius: 18px;
  border: 2px solid transparent;
  border-top-color: var(--crimson-bright);
  border-bottom-color: var(--crimson-main);
  animation: spinClock 6s linear infinite;
  pointer-events: none;
}

.logo-crimson-orbit-inner {
  inset: 1px;
  border-top-color: transparent;
  border-left-color: #ef4444;
  animation: spinCounter 4s linear infinite;
}

@keyframes spinClock {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes spinCounter {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

.brand-logo-img {
  width: 58px;
  height: 58px;
  border-radius: 15px;
  box-shadow: 0 0 22px rgba(220, 38, 38, 0.55);
  transition: transform 0.3s ease;
}

.brand-identity:hover .brand-logo-img {
  transform: scale(1.06) rotate(-2deg);
}

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

.brand-name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 1.2px;
  line-height: 1.1;
}

.crimson-accent {
  color: var(--crimson-bright);
  text-shadow: 0 0 16px rgba(220, 38, 38, 0.5);
}

.brand-subtitle {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: #fca5a5;
  margin-top: 3px;
}

/* Navigation */
.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
  border-radius: 12px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.22s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
  background: rgba(220, 38, 38, 0.14);
}

.nav-link-pos {
  color: #fecaca;
  border: 1px solid rgba(220, 38, 38, 0.35);
}

.has-dropdown {
  position: relative;
}

.mega-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: -120px;
  width: 660px;
  background: rgba(14, 14, 20, 0.98);
  border: 1px solid rgba(220, 38, 38, 0.4);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.24s ease;
  z-index: 1100;
}

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

.mega-dropdown-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 16px;
}

.mega-dropdown-grid a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13.5px;
  padding: 8px 12px;
  border-radius: 10px;
  transition: all 0.2s;
  border-left: 2px solid transparent;
}

.mega-dropdown-grid a:hover {
  background: rgba(220, 38, 38, 0.15);
  color: #fff;
  border-left-color: var(--crimson-bright);
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-header-pos,
.btn-header-consult {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-header-pos {
  background: rgba(220, 38, 38, 0.14);
  border: 1px solid rgba(220, 38, 38, 0.45);
  color: #fecaca;
}

.btn-header-pos:hover {
  background: rgba(220, 38, 38, 0.28);
  transform: translateY(-2px);
}

.btn-header-consult {
  background: linear-gradient(135deg, var(--crimson-bright), var(--crimson-deep));
  color: #fff;
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.4);
}

.btn-header-consult:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(220, 38, 38, 0.6);
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(220, 38, 38, 0.4);
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 4px 0;
}

/* SECTION 1: HERO VIDEO & AMBIENT CANVAS (.law-video-hero) */
.law-video-hero {
  position: relative;
  min-height: 700px;
  overflow: hidden;
  background: radial-gradient(circle at 20% 30%, #2a0808 0%, #09090d 65%, #050507 100%);
  border-bottom: 1px solid rgba(220, 38, 38, 0.28);
}

.hero-video-wrapper {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.85;
}

.hero-ambient-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 75% 30%, rgba(200, 16, 46, 0.28) 0%, transparent 60%),
              radial-gradient(circle at 20% 80%, rgba(139, 0, 0, 0.2) 0%, transparent 55%),
              linear-gradient(135deg, #09090c 0%, #150a0e 50%, #070709 100%);
  overflow: hidden;
}

.ambient-justice-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(200, 16, 46, 0.09) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(200, 16, 46, 0.09) 1px, transparent 1px);
  background-size: 56px 56px;
  animation: gridDrift 28s linear infinite;
}

.ambient-crimson-rays {
  position: absolute;
  top: -50%;
  right: -20%;
  width: 140%;
  height: 200%;
  background: conic-gradient(from 180deg at 50% 50%, rgba(200, 16, 46, 0.14) 0deg, transparent 70deg, rgba(200, 16, 46, 0.09) 140deg, transparent 200deg);
  animation: slowRayRotate 45s linear infinite;
  mix-blend-mode: screen;
}

@keyframes gridDrift {
  0% { transform: translateY(0); }
  100% { transform: translateY(56px); }
}

@keyframes slowRayRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.hero-video-wrapper iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.77vh;
  height: 56.25vw;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  border: 0;
}

.law-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(6, 6, 9, 0.92) 15%, rgba(28, 6, 6, 0.72) 60%, rgba(7, 7, 10, 0.94) 100%);
  z-index: 2;
}

.law-video-content {
  position: relative;
  z-index: 3;
  min-height: 700px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 40px;
  padding-top: 48px;
  padding-bottom: 48px;
}

.law-video-box {
  max-width: 720px;
}

.law-video-badge {
  display: inline-block;
  background: rgba(220, 38, 38, 0.16);
  border: 1px solid rgba(239, 68, 68, 0.45);
  color: #fca5a5;
  padding: 8px 16px;
  border-radius: 40px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.8px;
  margin-bottom: 16px;
}

.law-video-box h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.08;
  font-weight: 800;
  color: #ffffff;
}

.text-crimson-gradient {
  background: linear-gradient(90deg, #ff4d4d, #dc2626, #fca5a5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.law-video-box p {
  margin: 0 0 26px;
  color: #e2e8f0;
  font-size: 17px;
  line-height: 1.65;
  max-width: 640px;
}

.law-video-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.law-video-btn {
  min-height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 800;
  transition: all 0.25s ease;
}

.law-video-btn.primary {
  background: linear-gradient(135deg, var(--crimson-bright), var(--crimson-deep));
  color: #fff;
  box-shadow: 0 12px 28px rgba(220, 38, 38, 0.42);
}

.law-video-btn.secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
}

.law-video-btn.pos-action {
  background: rgba(220, 38, 38, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.5);
  color: #fecaca;
}

.law-video-btn:hover {
  transform: translateY(-3px);
}

.law-video-stats {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 680px;
}

.law-video-stat {
  background: rgba(18, 18, 26, 0.78);
  border: 1px solid rgba(220, 38, 38, 0.3);
  border-radius: 18px;
  padding: 16px;
  backdrop-filter: blur(10px);
}

.law-video-stat strong {
  display: block;
  color: var(--crimson-bright);
  font-size: 26px;
  line-height: 1;
  font-weight: 800;
  margin-bottom: 6px;
}

.law-video-stat span {
  color: #e2e8f0;
  font-size: 13px;
  line-height: 1.35;
}

/* Hero Animated Red & Black Emblem Stage */
.hero-emblem-showcase {
  display: flex;
  justify-content: center;
}

.emblem-kinetic-card {
  position: relative;
  width: 340px;
  height: 380px;
  border-radius: 32px;
  background: radial-gradient(circle at 50% 42%, rgba(220, 38, 38, 0.22), rgba(12, 12, 18, 0.95) 72%);
  border: 1px solid rgba(220, 38, 38, 0.45);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.8), 0 0 40px rgba(220, 38, 38, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
}

.kinetic-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.kinetic-ring-1 {
  width: 280px;
  height: 280px;
  border: 2px dashed rgba(239, 68, 68, 0.45);
  animation: spinClock 16s linear infinite;
}

.kinetic-ring-2 {
  width: 246px;
  height: 246px;
  border: 2px solid transparent;
  border-top-color: #ff3b3b;
  border-right-color: #991b1b;
  animation: spinCounter 9s linear infinite;
}

.kinetic-ring-3 {
  width: 308px;
  height: 308px;
  border: 1px solid rgba(220, 38, 38, 0.22);
  animation: pulseRing 3.4s ease-in-out infinite;
}

@keyframes pulseRing {
  0%, 100% { transform: scale(0.96); opacity: 0.4; }
  50% { transform: scale(1.04); opacity: 0.9; }
}

.kinetic-laser-sweep {
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, transparent 35%, rgba(239, 68, 68, 0.16) 50%, transparent 65%);
  animation: laserMove 4.5s ease-in-out infinite;
  pointer-events: none;
}

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

.hero-animated-logo {
  position: relative;
  z-index: 2;
  width: 210px;
  height: 210px;
  border-radius: 42px;
  filter: drop-shadow(0 12px 28px rgba(220, 38, 38, 0.5));
}

.emblem-caption {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-top: 18px;
}

.emblem-caption strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 16px;
  color: #fff;
  letter-spacing: 1.5px;
}

.emblem-caption span {
  font-size: 11px;
  color: #fca5a5;
  letter-spacing: 1px;
  font-weight: 700;
}

/* Section Headers */
.section-kicker {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(220, 38, 38, 0.14);
  border: 1px solid rgba(220, 38, 38, 0.38);
  color: #fca5a5;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}

.section-main-title {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: #fff;
}

.section-subtitle {
  margin: 0 0 32px;
  color: var(--text-secondary);
  max-width: 780px;
  font-size: 16px;
}

/* SECTION 2: PRACTICE AREAS (.practice-areas-v2) */
.practice-areas-v2 {
  padding: 72px 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}

.pa2-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 24px;
}

.pa2-item {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  padding: 16px 18px;
  border-radius: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: all 0.24s ease;
}

.pa2-item:hover,
.pa2-item.active-area {
  background: rgba(220, 38, 38, 0.1);
  border-color: var(--crimson-main);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
}

.pa2-icon {
  min-width: 58px;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: rgba(220, 38, 38, 0.14);
  border: 1px solid rgba(220, 38, 38, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--crimson-bright);
  transition: all 0.24s ease;
}

.pa2-item:hover .pa2-icon,
.pa2-item.active-area .pa2-icon {
  background: linear-gradient(135deg, var(--crimson-bright), var(--crimson-deep));
  color: #fff;
}

.pa2-icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pa2-title {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.pa2-sub {
  display: block;
  color: var(--text-muted);
  font-size: 12.5px;
  margin-top: 3px;
}

/* Practice Area Spotlight Drawer */
.practice-detail-spotlight {
  margin-top: 32px;
  background: linear-gradient(135deg, #17090b 0%, #111118 100%);
  border: 1px solid rgba(220, 38, 38, 0.45);
  border-radius: 26px;
  padding: 32px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.spotlight-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(220, 38, 38, 0.2);
  color: #fca5a5;
  font-size: 11.5px;
  font-weight: 800;
  margin-bottom: 10px;
}

.spotlight-left h3 {
  margin: 0 0 12px;
  font-size: 26px;
  color: #fff;
}

.spotlight-left p {
  margin: 0 0 16px;
  color: var(--text-secondary);
}

.spotlight-law-ref {
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.35);
  border-left: 3px solid var(--crimson-bright);
  font-size: 13.5px;
}

.spotlight-right h4 {
  margin: 0 0 12px;
  color: #fca5a5;
  font-size: 16px;
}

.spotlight-service-list {
  margin: 0 0 20px;
  padding-left: 18px;
  color: var(--text-secondary);
  font-size: 14.5px;
}

.spotlight-service-list li {
  margin-bottom: 8px;
}

.spotlight-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-crimson-sm,
.btn-outline-sm {
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
}

.btn-crimson-sm {
  background: var(--crimson-main);
  color: #fff;
}

.btn-outline-sm {
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff;
}

/* SECTION 3: ABOUT US (.about-law) */
.about-law {
  padding: 76px 0;
  background: var(--bg-obsidian);
  border-bottom: 1px solid var(--border-subtle);
}

.about-grid {
  display: grid;
  grid-template-columns: 390px 1fr;
  gap: 36px;
  align-items: start;
}

.about-image {
  position: sticky;
  top: 104px;
}

.about-portrait-card {
  background: linear-gradient(165deg, #1b080a 0%, #0f0f15 100%);
  border: 1px solid rgba(220, 38, 38, 0.4);
  border-radius: 30px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
}

.portrait-visual {
  position: relative;
  display: flex;
  justify-content: center;
  margin-bottom: 22px;
}

.portrait-logo-svg {
  width: 164px;
  height: 164px;
  border-radius: 34px;
  position: relative;
  z-index: 2;
}

.portrait-photo-frame {
  position: relative;
  display: inline-block;
  z-index: 2;
}

.portrait-real-photo {
  width: 210px;
  height: 210px;
  object-fit: cover;
  border-radius: 32px;
  border: 2px solid rgba(239, 68, 68, 0.65);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.72), 0 0 28px rgba(220, 38, 38, 0.35);
}

.portrait-corner-crest {
  position: absolute;
  right: -12px;
  bottom: -10px;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  border: 2px solid rgba(239, 68, 68, 0.8);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.8);
}

.portrait-external-links {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-linkedin-badge,
.btn-baro-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 12px;
  font-size: 12.5px;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-linkedin-badge {
  background: linear-gradient(135deg, #dc2626, #991b1b);
  color: #fff;
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.35);
}

.btn-baro-badge {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(220, 38, 38, 0.38);
  color: #fecaca;
}

.btn-linkedin-badge:hover,
.btn-baro-badge:hover {
  transform: translateY(-2px);
}

.working-domains-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.working-domains-cloud span {
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(220, 38, 38, 0.13);
  border: 1px solid rgba(220, 38, 38, 0.36);
  color: #fecaca;
  font-size: 13px;
  font-weight: 700;
}

.portrait-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: #fca5a5;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.portrait-meta h3 {
  margin: 0 0 8px;
  font-size: 22px;
  color: #fff;
}

.portrait-meta p {
  margin: 0 0 18px;
  color: var(--text-muted);
  font-size: 13.5px;
}

.portrait-badges {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.portrait-badges span {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(220, 38, 38, 0.15);
  border: 1px solid rgba(220, 38, 38, 0.35);
  font-size: 12px;
  font-weight: 700;
  color: #fecaca;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.about-head {
  background: linear-gradient(135deg, #3b0a0a 0%, #160708 100%);
  border: 1px solid rgba(220, 38, 38, 0.45);
  border-radius: 28px;
  padding: 32px;
}

.about-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.08);
  color: #fca5a5;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 8px 16px;
  border-radius: 40px;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 14px;
}

.about-head h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  font-weight: 800;
}

.about-head p {
  margin: 0;
  color: #f1f5f9;
  font-size: 16.5px;
  line-height: 1.8;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 30px;
}

.about-card h3 {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: 26px;
  font-weight: 800;
}

.about-card p {
  margin: 0 0 14px;
  color: var(--text-secondary);
  font-size: 15.5px;
  line-height: 1.85;
}

.about-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.about-point {
  background: var(--bg-card);
  border: 1px solid rgba(220, 38, 38, 0.25);
  border-radius: 18px;
  padding: 20px;
}

.about-point strong {
  display: block;
  color: #fff;
  font-size: 17px;
  margin-bottom: 6px;
}

.about-point span {
  color: var(--text-muted);
  font-size: 14px;
}

/* SECTION 4: WHY LAW SECTION (.why-law-section) */
.why-law-section {
  padding: 72px 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}

.why-law-head {
  text-align: center;
  margin-bottom: 40px;
}

.why-law-head span {
  display: inline-block;
  background: rgba(220, 38, 38, 0.14);
  color: #fca5a5;
  border: 1px solid rgba(220, 38, 38, 0.35);
  padding: 8px 18px;
  border-radius: 40px;
  font-size: 12.5px;
  font-weight: 800;
  margin-bottom: 12px;
}

.why-law-head h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
}

.why-law-head p {
  max-width: 700px;
  margin: 12px auto 0;
  color: var(--text-secondary);
}

.why-law-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.why-law-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 28px 22px;
  transition: all 0.25s ease;
}

.why-law-card:hover {
  transform: translateY(-6px);
  border-color: var(--crimson-main);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.5);
}

.why-law-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--crimson-bright), var(--crimson-deep));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}

.why-law-card h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 19px;
}

.why-law-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14.5px;
}

/* SECTION 5: SUPABASE ARTICLES & PUBLICATIONS */
.articles-section {
  padding: 76px 0;
  background: var(--bg-obsidian);
  border-bottom: 1px solid var(--border-subtle);
}

.articles-top-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-crimson-publish {
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid rgba(239, 68, 68, 0.6);
  background: linear-gradient(135deg, var(--crimson-bright), var(--crimson-deep));
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.2s;
}

.btn-crimson-publish:hover {
  transform: translateY(-2px);
}

.articles-filter-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.category-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cat-pill {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.cat-pill.active,
.cat-pill:hover {
  background: var(--crimson-main);
  border-color: var(--crimson-bright);
  color: #fff;
}

.article-search-box input {
  min-width: 290px;
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: #fff;
  font-size: 14px;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
}

.article-card:hover {
  border-color: var(--crimson-main);
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}

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

.article-cat-tag {
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(220, 38, 38, 0.16);
  color: #fca5a5;
  font-size: 11.5px;
  font-weight: 800;
}

.article-read-time {
  color: var(--text-muted);
  font-size: 12px;
}

.article-card h3 {
  margin: 0 0 12px;
  font-size: 19px;
  line-height: 1.35;
  color: #fff;
}

.article-card p {
  margin: 0 0 20px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.65;
}

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

.article-author {
  font-size: 12px;
  color: var(--text-muted);
}

.btn-read-article {
  background: transparent;
  border: none;
  color: var(--crimson-bright);
  font-weight: 800;
  font-size: 13.5px;
  cursor: pointer;
  padding: 0;
}

/* SECTION 6: VIRTUAL POS / ONLINE E-TAHSILAT */
.pos-section {
  padding: 76px 0;
  background: radial-gradient(circle at 80% 20%, rgba(153, 27, 27, 0.16), var(--bg-surface) 70%);
  border-bottom: 1px solid var(--border-subtle);
}

.pos-layout-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: start;
}

.pos-form-card {
  background: var(--bg-card);
  border: 1px solid rgba(220, 38, 38, 0.38);
  border-radius: 28px;
  padding: 32px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.pos-security-strip {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(220, 38, 38, 0.1);
  border: 1px solid rgba(220, 38, 38, 0.28);
  font-size: 12.5px;
  font-weight: 700;
  color: #fecaca;
}

.form-row-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form-row-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

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

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #09090e;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 14.5px;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--crimson-bright);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.22);
}

.card-input-wrap {
  display: flex;
  gap: 8px;
}

.btn-fill-test-card {
  white-space: nowrap;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(220, 38, 38, 0.45);
  background: rgba(220, 38, 38, 0.15);
  color: #fecaca;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.pos-divider {
  border: 0;
  border-top: 1px solid var(--border-subtle);
  margin: 20px 0;
}

.pos-consent-box {
  margin: 14px 0 18px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 13px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.checkbox-label a {
  color: #fca5a5;
}

.btn-pos-submit,
.btn-crimson-submit {
  width: 100%;
  padding: 16px 24px;
  border-radius: 16px;
  border: none;
  background: linear-gradient(135deg, var(--crimson-bright), var(--crimson-deep));
  color: #fff;
  font-size: 15.5px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 14px 32px rgba(220, 38, 38, 0.4);
  transition: transform 0.2s;
}

.btn-crimson-submit {
  justify-content: center;
}

.btn-pos-submit:hover,
.btn-crimson-submit:hover {
  transform: translateY(-2px);
}

.pos-feedback {
  margin-bottom: 14px;
  font-size: 13.5px;
  font-weight: 700;
}

.pos-feedback.success {
  color: #6ee7b7;
}

.pos-feedback.error {
  color: #fca5a5;
}

/* Interactive 3D Red & Black Credit Card */
.credit-card-scene {
  perspective: 1000px;
  margin-bottom: 22px;
}

.credit-card-3d {
  position: relative;
  width: 100%;
  height: 220px;
  transform-style: preserve-3d;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.credit-card-3d.is-flipped {
  transform: rotateY(180deg);
}

.card-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 24px;
  padding: 24px;
  background: linear-gradient(135deg, #1a0507 0%, #09090d 55%, #7f1d1d 100%);
  border: 1px solid rgba(239, 68, 68, 0.5);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.65);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-back {
  transform: rotateY(180deg);
}

.card-top-row,
.card-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-chip {
  width: 48px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, #fbbf24, #d97706);
}

.card-brand-badge {
  font-size: 13px;
  font-weight: 800;
  color: #fecaca;
  letter-spacing: 1px;
}

.card-number-display {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 2.5px;
  color: #fff;
}

.card-meta-label {
  display: block;
  font-size: 10px;
  color: #fca5a5;
}

.card-magnetic-strip {
  height: 42px;
  background: #000;
  margin: 0 -24px;
}

.card-cvv-band {
  background: #1f2937;
  padding: 10px 16px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
}

.installment-summary-card,
.pos-receipt-card,
.pos-ledger-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 22px;
  padding: 22px;
  margin-bottom: 20px;
}

.installment-summary-card h3 {
  margin: 0 0 14px;
  font-size: 17px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 14px;
}

.summary-line.total-line {
  border-bottom: 0;
  font-size: 16px;
  color: var(--crimson-bright);
  padding-top: 12px;
}

.pos-receipt-card {
  border-color: #10b981;
  background: rgba(6, 78, 59, 0.16);
}

.receipt-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.receipt-header h4 {
  margin: 0;
  font-size: 15px;
}

.receipt-approved-badge {
  margin-left: auto;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
  font-size: 11px;
  font-weight: 800;
}

.receipt-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  font-size: 12.5px;
}

.ledger-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.ledger-head h4 {
  margin: 0;
  font-size: 14.5px;
}

.ledger-pill {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(220, 38, 38, 0.16);
  color: #fca5a5;
}

.pos-ledger-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 12.5px;
}

/* SECTION 7: PREMIUM CONTACT (.premium-contact) */
.premium-contact {
  padding: 76px 0;
  background: var(--bg-obsidian);
}

.pc-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid rgba(220, 38, 38, 0.35);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}

.pc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--crimson-deep), var(--crimson-bright), var(--crimson-deep));
}

.pc-grid {
  display: grid;
  grid-template-columns: 440px 1fr;
}

.pc-left {
  background: linear-gradient(180deg, #1b080a 0%, #0d0d13 100%);
  padding: 38px 32px;
  border-right: 1px solid var(--border-subtle);
}

.pc-badge {
  display: inline-block;
  background: rgba(220, 38, 38, 0.18);
  border: 1px solid rgba(220, 38, 38, 0.4);
  color: #fca5a5;
  padding: 8px 16px;
  border-radius: 40px;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 16px;
}

.pc-left h2 {
  margin: 0 0 12px;
  font-size: 32px;
  color: #fff;
}

.pc-left p {
  margin: 0 0 24px;
  color: var(--text-secondary);
  font-size: 15px;
}

.pc-office-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pc-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
}

.pc-icon {
  min-width: 52px;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--crimson-bright), var(--crimson-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.pc-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.pc-info h3 {
  margin: 0 0 4px;
  font-size: 16px;
  color: #fff;
}

.pc-info p,
.pc-info a {
  margin: 0;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13.5px;
  line-height: 1.65;
}

.pc-right {
  padding: 38px 36px;
}

.consult-form-title {
  margin: 0 0 8px;
  font-size: 24px;
}

.consult-form-desc {
  margin: 0 0 22px;
  color: var(--text-secondary);
  font-size: 14px;
}

/* Footer */
.site-footer {
  background: #040406;
  border-top: 1px solid rgba(220, 38, 38, 0.3);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.footer-logo-row strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 18px;
}

.footer-logo-row span {
  font-size: 11px;
  color: #fca5a5;
}

.footer-tbb-notice {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.7;
}

.footer-links-col h4 {
  margin: 0 0 14px;
  color: #fff;
}

.footer-links-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links-col li {
  margin-bottom: 9px;
}

.footer-links-col a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
}

.footer-links-col a:hover {
  color: var(--crimson-bright);
}

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

.hopem-signature a {
  color: var(--crimson-bright);
  font-weight: 800;
  text-decoration: none;
}

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 2000;
}

.modal-backdrop[hidden] {
  display: none !important;
}

.modal-window {
  background: var(--bg-card);
  border: 1px solid rgba(220, 38, 38, 0.5);
  border-radius: 26px;
  max-width: 680px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 28px;
}

.modal-window.modal-lg {
  max-width: 820px;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.modal-badge {
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(220, 38, 38, 0.2);
  color: #fca5a5;
  font-size: 11.5px;
  font-weight: 800;
}

.modal-close-btn {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
}

.reader-meta-bar {
  display: flex;
  gap: 10px;
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 20px;
}

.reader-content-body {
  white-space: pre-line;
  color: var(--text-secondary);
  line-height: 1.85;
  font-size: 15.5px;
}

.captcha-challenge-box {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(220, 38, 38, 0.1);
  border: 1px solid rgba(220, 38, 38, 0.35);
  margin-bottom: 16px;
}

.captcha-kicker {
  display: block;
  font-size: 10.5px;
  color: #fca5a5;
  font-weight: 800;
}

.captcha-challenge-box input {
  max-width: 110px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #09090d;
  color: #fff;
}

.btn-refresh-captcha {
  padding: 9px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #fff;
  cursor: pointer;
}

/* Floating WhatsApp Button */
.floating-whatsapp-btn {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #16a34a, #15803d);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 14px 32px rgba(22, 163, 74, 0.45);
}

/* Credentials, Career Timeline, Skills & 29 Certifications Section */
.credentials-section {
  padding: 76px 0;
  background: linear-gradient(180deg, #0b0b11 0%, #07070a 100%);
  border-bottom: 1px solid var(--border-subtle);
}

.credentials-two-col {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 36px;
  align-items: start;
}

.sub-block-title {
  margin: 0 0 18px;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}

.timeline-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid rgba(220, 38, 38, 0.55);
  border-radius: 20px;
  padding: 22px;
  transition: all 0.22s ease;
}

.timeline-card.current-role {
  background: linear-gradient(145deg, rgba(153, 27, 27, 0.16), var(--bg-card));
  border-color: rgba(220, 38, 38, 0.48);
  border-left-width: 5px;
  border-left-color: var(--crimson-bright);
}

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

.timeline-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(220, 38, 38, 0.16);
  color: #fca5a5;
  font-size: 11.5px;
  font-weight: 800;
  margin-bottom: 6px;
}

.timeline-badge.active-pill {
  background: var(--crimson-main);
  color: #fff;
}

.timeline-header h4 {
  margin: 0 0 3px;
  font-size: 18px;
  color: #fff;
}

.timeline-header strong {
  font-size: 13.5px;
  color: #fecaca;
}

.timeline-loc {
  font-size: 12px;
  color: var(--text-muted);
}

.timeline-card p {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
}

.timeline-skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.timeline-skill-tags span {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  font-size: 11.5px;
  font-weight: 700;
}

.education-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: linear-gradient(135deg, #22090c 0%, #12121a 100%);
  border: 1px solid rgba(220, 38, 38, 0.42);
  border-radius: 22px;
  padding: 22px;
}

.edu-icon {
  min-width: 58px;
  height: 58px;
  border-radius: 16px;
  background: rgba(220, 38, 38, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.education-card h4 {
  margin: 4px 0 6px;
  font-size: 19px;
  color: #fff;
}

.education-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.skills-badge-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.skill-endorse-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 14px 16px;
}

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

.skill-top strong {
  font-size: 14px;
  color: #fff;
}

.endorse-pill {
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(220, 38, 38, 0.18);
  color: #fca5a5;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.skill-endorse-card small {
  color: var(--text-muted);
  font-size: 12px;
  display: block;
}

.certs-header-block {
  margin-bottom: 16px;
}

.cert-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cert-pill {
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.cert-pill.active,
.cert-pill:hover {
  background: var(--crimson-main);
  border-color: var(--crimson-bright);
  color: #fff;
}

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

.cert-item-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 14px 16px;
  transition: border-color 0.2s;
}

.cert-item-card:hover {
  border-color: rgba(220, 38, 38, 0.5);
}

.cert-badge-icon {
  min-width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(220, 38, 38, 0.18);
  color: var(--crimson-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
}

.cert-body h4 {
  margin: 0 0 4px;
  font-size: 13.5px;
  line-height: 1.35;
  color: #fff;
}

.cert-body p {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
}

.cert-body span {
  color: #fca5a5;
  font-weight: 700;
}

/* Responsive Breakpoints */
@media (max-width: 1050px) {
  .law-video-content,
  .practice-detail-spotlight,
  .about-grid,
  .credentials-two-col,
  .pos-layout-grid,
  .pc-grid {
    grid-template-columns: 1fr;
  }

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

  .about-image {
    position: relative;
    top: auto;
  }
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: #0b0b10;
    padding: 18px;
    border-bottom: 1px solid rgba(220, 38, 38, 0.4);
  }

  .main-nav.is-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
  }

  .header-cta-group {
    display: none;
  }

  .pa2-grid,
  .articles-grid,
  .why-law-grid,
  .form-row-2,
  .form-row-3,
  .about-points,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
