/* ========================================================
   LAWCONNECT LUXURY LEGAL DESIGN SYSTEM (MASTER STYLESHEET)
   ======================================================== */

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

:root {
  --navy-obsidian: #071322;
  --navy-dark: #0b1a2d;
  --navy-card: #0f2238;
  --navy-border: #162c45;
  --navy-surface: #13273e;
  
  --gold-primary: #c59b27;
  --gold-light: #dfb743;
  --gold-dark: #997517;
  --gold-gradient: linear-gradient(135deg, #e5c158 0%, #c59b27 50%, #9e7514 100%);
  --gold-glow: 0 4px 20px rgba(197, 155, 39, 0.25);
  
  --text-main: #132130;
  --text-muted: #5e7184;
  --text-light: #8fa0b3;
  --text-white: #ffffff;
  
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --border-light: #e2e8f0;
  --border-soft: rgba(0, 0, 0, 0.06);

  --font-heading: 'Cinzel', Georgia, serif;
  --font-ui: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --emerald: #10b981;
  --amber: #f59e0b;
  --red: #ef4444;
  --blue: #3b82f6;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 9999px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 14px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.08);
}

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

body.site-body {
  margin: 0;
  font-family: var(--font-ui);
  color: var(--text-main);
  background: var(--bg-page);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* ========================================================
   VECTOR SVG & ICON UTILITIES
   ======================================================== */
.svg-icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}
.text-gold { color: var(--gold-primary) !important; }
.text-emerald { color: var(--emerald) !important; }
.text-amber { color: var(--amber) !important; }
.text-red { color: var(--red) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-center { text-align: center; }

/* ========================================================
   TOPBAR & PUBLIC NAVIGATION
   ======================================================== */
.topbar {
  background: rgba(7, 19, 34, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(223, 183, 67, 0.2);
}
.nav {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-crest {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, rgba(223,183,67,0.2) 0%, rgba(197,155,39,0.1) 100%);
  border: 1px solid rgba(223,183,67,0.4);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-text b {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
}
.brand-text small {
  font-size: 11px;
  color: var(--gold-light);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-item {
  color: #c4d3e2;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}
.nav-item:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}
.nav-item.active {
  color: #ffffff;
  background: rgba(197, 155, 39, 0.2);
  border: 1px solid rgba(197, 155, 39, 0.35);
}
.nav-cta {
  background: var(--gold-gradient);
  color: #071322 !important;
  font-weight: 700;
  font-size: 13px;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  box-shadow: var(--gold-glow);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 6px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(197, 155, 39, 0.4);
}
.nav-admin-btn {
  background: rgba(223, 183, 67, 0.15);
  color: var(--gold-light) !important;
  border: 1px solid rgba(223, 183, 67, 0.4);
}
.nav-admin-btn:hover {
  background: rgba(223, 183, 67, 0.3);
}
.nav-dash-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #fff !important;
}
.nav-logout {
  color: #ff9999 !important;
}
.nav-logout:hover {
  background: rgba(255, 100, 100, 0.15) !important;
}

/* ========================================================
   FLASH ALERTS
   ======================================================== */
.flash {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
}
.flash.success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}
.flash.error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}
.flash-icon { flex-shrink: 0; }

/* ========================================================
   HERO SECTION (LUXURY OBSIDIAN & GOLD)
   ======================================================== */
.hero-premium {
  background: radial-gradient(circle at 80% 20%, rgba(197, 155, 39, 0.15) 0%, transparent 45%),
              linear-gradient(180deg, #071322 0%, #0c1c30 60%, #091524 100%);
  color: #ffffff;
  padding: 70px 0 80px 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(223, 183, 67, 0.15);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 40px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(197, 155, 39, 0.12);
  border: 1px solid rgba(197, 155, 39, 0.3);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--gold-light);
  margin-bottom: 20px;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 18px 0;
  color: #ffffff;
}
.gold-gradient-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: 16px;
  line-height: 1.6;
  color: #a7bccf;
  margin: 0 0 32px 0;
  max-width: 580px;
}

/* SEARCH BOX */
.hero-search-box {
  background: rgba(15, 34, 56, 0.85);
  border: 1px solid rgba(223, 183, 67, 0.3);
  backdrop-filter: blur(16px);
  padding: 10px;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.search-field {
  flex: 1;
  min-width: 160px;
  display: flex;
  align-items: center;
  background: rgba(7, 19, 34, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 0 12px;
  height: 48px;
  transition: border-color 0.15s ease;
}
.search-field:focus-within {
  border-color: var(--gold-primary);
}
.field-icon {
  margin-right: 8px;
  display: flex;
  align-items: center;
}
.search-field select,
.search-field input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 13px;
  font-family: var(--font-ui);
}
.search-field select option {
  background: #0b1a2d;
  color: #ffffff;
}
.search-field input::placeholder {
  color: #647b91;
}
.query-field {
  flex: 1.4;
  min-width: 200px;
}
.hero-search-btn {
  background: var(--gold-gradient);
  color: #071322;
  border: none;
  font-weight: 700;
  font-size: 14px;
  padding: 0 24px;
  height: 48px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.15s ease;
  box-shadow: var(--gold-glow);
}
.hero-search-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(197, 155, 39, 0.45);
}

/* TRUST SIGNALS */
.trust-row {
  display: flex;
  gap: 24px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #c4d4e2;
}

/* HERO EMBLEM GRAPHIC */
.hero-graphic {
  display: flex;
  justify-content: center;
  position: relative;
}
.crest-emblem-wrap {
  position: relative;
  width: 280px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.crest-circle {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197,155,39,0.18) 0%, rgba(11,26,45,0.4) 70%);
  border: 2px dashed rgba(223, 183, 67, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 50px rgba(197, 155, 39, 0.15);
  color: var(--gold-light);
}
.emblem-card {
  position: absolute;
  background: rgba(11, 26, 45, 0.95);
  border: 1px solid rgba(223, 183, 67, 0.3);
  backdrop-filter: blur(12px);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.emblem-card b {
  display: block;
  font-size: 13px;
  color: #fff;
}
.emblem-card small {
  font-size: 11px;
  color: var(--gold-light);
}
.emblem-card-1 {
  top: 10px;
  right: -10px;
}
.emblem-card-2 {
  bottom: 10px;
  left: -10px;
}

/* ========================================================
   SECTION HEADERS & LAYOUT
   ======================================================== */
.section {
  padding: 56px 0;
}
.sectionhead {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 16px;
}
.section-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 6px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: #071322;
  margin: 0 0 6px 0;
}
.section-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}
.section-more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-dark);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: rgba(197, 155, 39, 0.08);
  border: 1px solid rgba(197, 155, 39, 0.2);
  transition: all 0.15s ease;
}
.section-more-link:hover {
  background: var(--gold-primary);
  color: #ffffff;
}
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }

/* ========================================================
   COUNTRY CARDS GRID
   ======================================================== */
.countrygrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.countrycard {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.countrycard::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 3px;
  background: var(--gold-primary);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.countrycard:hover {
  transform: translateY(-2px);
  border-color: rgba(197, 155, 39, 0.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}
.countrycard:hover::before {
  opacity: 1;
}
.country-flag-box {
  width: 44px;
  height: 44px;
  background: #f1f5f9;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.flag-symbol {
  font-size: 20px;
  line-height: 1;
}
.country-code {
  font-size: 9px;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 0.5px;
}
.country-info {
  flex: 1;
  min-width: 0;
}
.country-name {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}
.country-count-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}
.country-arrow {
  color: #cbd5e1;
  transition: color 0.15s ease, transform 0.15s ease;
}
.countrycard:hover .country-arrow {
  color: var(--gold-primary);
  transform: translateX(3px);
}

/* ========================================================
   CATEGORY CARDS GRID
   ======================================================== */
.catgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.catcard {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}
.catcard:hover {
  transform: translateY(-2px);
  border-color: rgba(197, 155, 39, 0.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}
.cat-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(197, 155, 39, 0.15) 0%, rgba(223, 183, 67, 0.05) 100%);
  border: 1px solid rgba(197, 155, 39, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
  flex-shrink: 0;
}
.cat-text {
  flex: 1;
}
.cat-title {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}
.cat-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0 0 8px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cat-count {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-dark);
}
.cat-arrow {
  color: #cbd5e1;
  align-self: center;
  transition: transform 0.15s ease, color 0.15s ease;
}
.catcard:hover .cat-arrow {
  color: var(--gold-primary);
  transform: translateX(3px);
}

/* ========================================================
   LAWYER CARDS & DIRECTORY GRID
   ======================================================== */
.lawyergrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.lawyercard {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}
.lawyercard:hover {
  transform: translateY(-4px);
  border-color: rgba(197, 155, 39, 0.45);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}
.card-avatar-wrap {
  position: relative;
  background: #0f2238;
  height: 160px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lawyer-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.lawyercard:hover .lawyer-avatar {
  transform: scale(1.04);
}
.verified-pill {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(7, 19, 34, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 5px;
}
.badge-icon {
  color: var(--gold-light);
}

.lawyerbody {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.jurisdiction-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #475569;
  background: #f1f5f9;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}
.exp-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-dark);
}
.lawyer-name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: #071322;
  margin: 0 0 6px 0;
  line-height: 1.25;
}
.lawyer-name a:hover {
  color: var(--gold-primary);
}
.specialty-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold-dark);
  margin-bottom: 12px;
}
.card-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.meta-icon {
  color: #94a3b8;
}
.clamp-bio {
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
  margin: 0 0 16px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cardactions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}
.btn-card-outline {
  flex: 1;
  text-align: center;
  padding: 9px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: #ffffff;
  color: #1e293b;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all 0.15s ease;
}
.btn-card-outline:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}
.btn-card-gold {
  flex: 1;
  text-align: center;
  padding: 9px;
  border-radius: var(--radius-sm);
  background: var(--gold-gradient);
  color: #071322;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  box-shadow: 0 2px 8px rgba(197, 155, 39, 0.25);
  transition: all 0.15s ease;
}
.btn-card-gold:hover {
  box-shadow: 0 4px 14px rgba(197, 155, 39, 0.4);
}

/* ========================================================
   VALUE PILLARS
   ======================================================== */
.pillars-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
  padding-top: 48px;
  border-top: 1px solid var(--border-light);
}
.pillar-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.pillar-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(197, 155, 39, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.pillar-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: #071322;
  margin: 0 0 8px 0;
}
.pillar-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ========================================================
   PAGE HERO COMPONENT
   ======================================================== */
.pagehero {
  background: linear-gradient(180deg, #071322 0%, #0c1c30 100%);
  color: #ffffff;
  padding: 44px 0 50px 0;
  border-bottom: 1px solid rgba(223, 183, 67, 0.15);
}
.pagehero h1 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  margin: 8px 0;
  color: #ffffff;
}
.pagehero p {
  color: #a7bccf;
  font-size: 14px;
  margin: 0;
  max-width: 600px;
}
.hero-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #8fa0b3;
  margin-bottom: 12px;
}
.hero-breadcrumbs a {
  color: #c4d4e2;
}
.hero-breadcrumbs a:hover {
  color: var(--gold-light);
}

/* ========================================================
   DIRECTORY SUMMARY & FILTER BAR
   ======================================================== */
.directory-summary-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
  gap: 12px;
}
.summary-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #334155;
}
.filter-input-sm {
  padding: 8px 14px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-size: 13px;
  outline: none;
  min-width: 220px;
}
.filter-input-sm:focus {
  border-color: var(--gold-primary);
}

/* ========================================================
   COUNTRY DETAIL PAGE
   ======================================================== */
.country-header-flex {
  display: flex;
  align-items: center;
  gap: 24px;
}
.country-flag-lg {
  font-size: 60px;
  line-height: 1;
}
.country-meta-pills {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  color: #e2e8f0;
}
.city-filter-bar {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.city-filter-label {
  font-size: 13px;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 6px;
}
.city-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.city-pill {
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: #f1f5f9;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  transition: all 0.15s ease;
}
.city-pill:hover {
  background: #e2e8f0;
  color: #0f172a;
}
.city-pill.active {
  background: var(--navy-obsidian);
  color: #ffffff;
}

/* ========================================================
   LAWYERS LISTING PAGE (WITH SIDEBAR)
   ======================================================== */
.listing-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
  padding: 40px 20px;
}
.filters-sidebar {
  position: sticky;
  top: 94px;
  height: fit-content;
}
.filter-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}
.filter-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #071322;
}
.clear-filters-link {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
}
.clear-filters-link:hover {
  color: var(--gold-dark);
}
.filter-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.filter-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
}
.filter-group select,
.filter-group input {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-size: 13px;
  outline: none;
  font-family: var(--font-ui);
}
.filter-group select:focus,
.filter-group input:focus {
  border-color: var(--gold-primary);
}
.checkbox-filter {
  margin: 6px 0;
}
.custom-check-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.full-width {
  width: 100%;
}
.results-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}
.results-count {
  font-size: 14px;
  color: #334155;
}
.active-filter-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.active-tag {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 600;
  color: #475569;
}

/* ========================================================
   LAWYER PROFILE PAGE
   ======================================================== */
.profilepage {
  padding: 40px 20px 70px 20px;
}
.profiletop {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  gap: 32px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
}
.profile-avatar-wrap {
  position: relative;
  width: 150px;
  height: 150px;
  border-radius: 16px;
  overflow: hidden;
  background: #0f2238;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
}
.profile-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-verified-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  background: rgba(7, 19, 34, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 700;
  padding: 4px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.profile-header-info {
  flex: 1;
}
.profile-name {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: #071322;
  margin: 0 0 6px 0;
}
.profile-headline {
  font-size: 15px;
  font-weight: 600;
  color: var(--gold-dark);
  margin: 0 0 16px 0;
}
.profile-meta-row {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #475569;
  background: #f8fafc;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid #e2e8f0;
}
.profile-cta-row {
  display: flex;
  gap: 12px;
}

.profilecolumns {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 30px;
}
.contentcard {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.card-section-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: #071322;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid #f1f5f9;
}
.profile-bio-text {
  font-size: 14px;
  line-height: 1.7;
  color: #334155;
}
.chips-wrap {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.practice-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  color: #334155;
  transition: all 0.15s ease;
}
.practice-chip:hover {
  background: rgba(197, 155, 39, 0.15);
  border-color: var(--gold-primary);
  color: var(--gold-dark);
}
.detailgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.detail-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 14px;
  border-radius: var(--radius-md);
}
.detail-box b {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}
.detail-box p {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
}

/* ENQUIRY CARD */
.enquirycard {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 94px;
}
.enquiry-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
}
.enquiry-card-header h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  color: #071322;
}
.enquiry-card-header small {
  font-size: 11px;
  color: var(--text-muted);
}
.enquiry-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.form-field label,
.form-field span {
  font-size: 12px;
  font-weight: 700;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 6px;
}
.form-field input,
.form-field select,
.form-field textarea {
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-family: var(--font-ui);
  outline: none;
  background: #ffffff;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--gold-primary);
}
.enquiry-guarantee {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #64748b;
  line-height: 1.4;
}

/* ========================================================
   AUTHENTICATION WRAPPER (LOGIN & REGISTER)
   ======================================================== */
.authwrap {
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 20px;
}
.authcard {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  text-align: center;
}
.authcard.wide {
  max-width: 820px;
  text-align: left;
}
.auth-crest {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(197, 155, 39, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.auth-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--gold-primary);
  margin-bottom: 6px;
}
.auth-title {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: #071322;
  margin: 0 0 6px 0;
}
.auth-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 24px 0;
}
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}
.auth-footer-links {
  margin-top: 20px;
  font-size: 13px;
  color: #64748b;
}

.formgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.span2 {
  grid-column: span 2;
}
.checkboxgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: #f8fafc;
  padding: 12px;
  border-radius: var(--radius-md);
  border: 1px solid #e2e8f0;
}
.checkbox-pill {
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

/* ========================================================
   PORTAL SHARED STYLES (LAWYER PORTAL & ADMIN)
   ======================================================== */
.portal-wrap {
  padding: 30px 0 60px 0;
}
.portal-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 30px;
}
.portal-sidebar {
  background: #071322;
  border-radius: var(--radius-lg);
  padding: 24px 18px;
  color: #e2e8f0;
  height: fit-content;
}
.portal-user-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.portal-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: #0b1a2d;
  border: 1px solid var(--gold-primary);
}
.portal-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.portal-name {
  display: block;
  font-size: 14px;
  color: #fff;
}
.status-tag {
  font-size: 10px;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  font-weight: 700;
}
.status-approved { background: #065f46; color: #a7f3d0; }
.status-pending { background: #78350f; color: #fde68a; }
.status-rejected { background: #7f1d1d; color: #fecaca; }

.portal-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.portal-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: #94a3b8;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.15s ease;
}
.portal-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.portal-link.active {
  background: var(--gold-primary);
  color: #071322;
  font-weight: 700;
}
.portal-badge-alert {
  margin-left: auto;
  background: var(--amber);
  color: #071322;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
}

.portal-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.dashhead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.dashhead h1 {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: #071322;
  margin: 0 0 4px 0;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
}

.notice-box {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 13px;
}
.notice-warning {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
}
.notice-danger {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stat-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}
.stat-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 6px;
}
.stat-num {
  font-size: 24px;
  font-weight: 800;
  color: #071322;
}

/* TABLE STYLING */
.tablewrap {
  overflow-x: auto;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.data-table th {
  background: #f8fafc;
  padding: 12px;
  text-align: left;
  color: #475569;
  border-bottom: 2px solid #e2e8f0;
  font-weight: 700;
}
.data-table td {
  padding: 12px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}
.badge-cat {
  background: #f1f5f9;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 600;
}
.lead-message-bubble {
  background: #f8fafc;
  padding: 10px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--gold-primary);
  font-size: 12px;
  max-width: 320px;
}
.table-select {
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid #cbd5e1;
  font-size: 12px;
  font-weight: 600;
  outline: none;
}

/* ========================================================
   GLOBAL BUTTONS
   ======================================================== */
.btn-gold {
  background: var(--gold-gradient);
  color: #071322;
  border: none;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: var(--gold-glow);
  transition: all 0.15s ease;
  text-decoration: none;
}
.btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(197, 155, 39, 0.4);
}

.empty-state {
  text-align: center;
  padding: 50px 20px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
}
.empty-icon {
  margin-bottom: 16px;
}
.empty-state h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  color: #071322;
  margin: 0 0 8px 0;
}
.empty-state p {
  color: var(--text-muted);
  font-size: 14px;
  max-width: 480px;
  margin: 0 auto;
}

/* ========================================================
   FOOTER (LUXURY DEEP OBSIDIAN)
   ======================================================== */
.site-footer {
  background: #071322;
  color: #e2e8f0;
  border-top: 1px solid rgba(223, 183, 67, 0.2);
  margin-top: 80px;
}
.footer-grid {
  padding: 60px 20px 40px 20px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.footer-brand b {
  color: #ffffff;
}
.footer-desc {
  font-size: 13px;
  line-height: 1.6;
  color: #8fa0b3;
  margin: 16px 0;
}
.trust-badge-footer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-light);
  background: rgba(197, 155, 39, 0.1);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(197, 155, 39, 0.25);
}
.footer-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 18px 0;
  letter-spacing: 0.5px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  color: #94a3b8;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.15s ease;
}
.footer-links a:hover {
  color: var(--gold-light);
}
.footer-text-sm {
  font-size: 13px;
  color: #8fa0b3;
  line-height: 1.5;
  margin: 0 0 16px 0;
}
.footer-secure-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #cbd5e1;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #64748b;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-bottom-links a {
  color: #8fa0b3;
}
.footer-bottom-links a:hover {
  color: #ffffff;
}

/* ========================================================
   ADMIN CONTROL SUITE COMPATIBILITY STYLES
   ======================================================== */
.sidebar {
  background: #071322;
  color: #e2e8f0;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid #102d4a;
  min-height: 90vh;
}
.sidebar-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.admin-badge {
  font-size: 10px;
  text-transform: uppercase;
  background: var(--gold-primary);
  color: #071322;
  padding: 2px 7px;
  border-radius: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.side-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}
.side-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: #94a3b8;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.15s ease;
}
.side-nav a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}
.side-nav a.active {
  background: var(--gold-primary);
  color: #071322;
  font-weight: 700;
}
.side-badge {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 12px;
  background: #1e3a5f;
  color: #fff;
}
.side-badge.warning { background: var(--amber); color: #071322; }
.sidebar-footer {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: auto;
}
.admin-user-info {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.04);
  padding: 10px;
  border-radius: var(--radius-sm);
}
.user-avatar {
  background: #112d4a;
  color: var(--gold-light);
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.user-meta {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  overflow: hidden;
}
.user-meta b { color: #fff; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.user-meta small { color: #8fa0b3; }
.sidebar-actions { display: flex; gap: 8px; }
.side-sublink {
  flex: 1;
  text-align: center;
  padding: 7px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  font-size: 11px;
  color: #c0d0e0;
  text-decoration: none;
  font-weight: 600;
}
.side-sublink:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.side-sublink.logout { color: #ff9e9e; }
.side-sublink.logout:hover { background: #7d1d1d; color: #fff; }

.stats-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}
.stat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.admin-table th {
  background: #f8fafc;
  padding: 12px;
  text-align: left;
  color: #475569;
  border-bottom: 2px solid #e2e8f0;
  font-size: 12px;
  font-weight: 700;
}
.admin-table td {
  padding: 12px;
  border-bottom: 1px solid #edf1f5;
  vertical-align: middle;
}
.filter-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.tab-link {
  padding: 8px 14px;
  background: #e9edf2;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  color: #506272;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.tab-link:hover { background: #dfe5ec; color: #183247; }
.tab-link.active { background: #071322; color: #fff; }
.tab-count {
  background: rgba(0, 0, 0, 0.1);
  padding: 1px 6px;
  border-radius: 10px;
  font-size: 11px;
}
.tab-link.active .tab-count { background: rgba(255, 255, 255, 0.2); color: #fff; }

/* ========================================================
   RESPONSIVE MEDIA QUERIES
   ======================================================== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-graphic { display: none; }
  .countrygrid { grid-template-columns: repeat(2, 1fr); }
  .catgrid { grid-template-columns: repeat(2, 1fr); }
  .lawyergrid { grid-template-columns: repeat(2, 1fr); }
  .listing-layout { grid-template-columns: 1fr; }
  .filters-sidebar { position: static; }
  .profilecolumns { grid-template-columns: 1fr; }
  .enquirycard { position: static; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-5 { grid-template-columns: repeat(3, 1fr); }
  .portal-layout { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .hero-title { font-size: 32px; }
  .countrygrid { grid-template-columns: 1fr; }
  .catgrid { grid-template-columns: 1fr; }
  .lawyergrid { grid-template-columns: 1fr; }
  .profiletop { flex-direction: column; align-items: center; text-align: center; }
  .profile-cta-row { justify-content: center; }
  .detailgrid { grid-template-columns: 1fr; }
  .formgrid { grid-template-columns: 1fr; }
  .span2 { grid-column: span 1; }
  .checkboxgrid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stats-5 { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; } /* Mobile toggle can be expanded */
}
