/* ============================================
   RateMyLawyer — Global Styles
   ============================================ */

:root {
  --navy: #1a2744;
  --navy-light: #243260;
  --navy-dark: #111a30;
  --gold: #c9922a;
  --gold-light: #e8b04a;
  --gold-pale: #fdf3e3;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --green: #16a34a;
  --green-light: #dcfce7;
  --red: #dc2626;
  --red-light: #fef2f2;
  --blue-light: #eff6ff;
  --blue: #2563eb;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow: 0 4px 12px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.05);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.10), 0 4px 10px rgba(0,0,0,0.06);
  --shadow-lg: 0 16px 40px rgba(0,0,0,0.12), 0 8px 16px rgba(0,0,0,0.07);
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: 0.2s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--navy); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }

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

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy-dark);
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }
h5 { font-size: 1rem; }

.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-lg { font-size: 1.125rem; }
.text-muted { color: var(--gray-500); }
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

/* ============================================
   LAYOUT
   ============================================ */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-sm { max-width: 800px; }
.container-lg { max-width: 1400px; }

.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

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

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }

.mt-4 { margin-top: 4px; }
.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--navy-dark);
  white-space: nowrap;
}

.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--navy);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  font-weight: 800;
}

.logo span { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: all var(--transition);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--navy);
  background: var(--gray-100);
}

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

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(201,146,42,0.35);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-navy:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26,39,68,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--gray-300);
}

.btn-outline:hover {
  background: var(--gray-50);
  border-color: var(--navy);
  color: var(--navy);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn-outline-gold:hover {
  background: var(--gold-pale);
  color: var(--gold);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  color: var(--white);
}

.btn-sm { padding: 7px 16px; font-size: 0.8rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-xl { padding: 16px 40px; font-size: 1.05rem; }

/* ============================================
   CARDS
   ============================================ */

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  overflow: hidden;
}

.card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--gray-300);
  transform: translateY(-2px);
}

.card-body { padding: 24px; }
.card-header { padding: 20px 24px; border-bottom: 1px solid var(--gray-100); }
.card-footer { padding: 16px 24px; border-top: 1px solid var(--gray-100); background: var(--gray-50); }

/* ============================================
   LAWYER CARD
   ============================================ */

.lawyer-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

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

.lawyer-card-body { padding: 24px; flex: 1; }
.lawyer-card-footer { padding: 16px 24px; border-top: 1px solid var(--gray-100); background: var(--gray-50); }

.lawyer-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
  border: 3px solid var(--gray-200);
}

.lawyer-avatar-lg {
  width: 100px;
  height: 100px;
  font-size: 1.8rem;
}

.lawyer-avatar-xl {
  width: 120px;
  height: 120px;
  font-size: 2rem;
}

.lawyer-name { font-size: 1.1rem; font-weight: 700; color: var(--navy-dark); }
.lawyer-name:hover { color: var(--gold); }
.lawyer-spec { font-size: 0.85rem; color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.lawyer-location { font-size: 0.85rem; color: var(--gray-500); }

/* ============================================
   BADGES & TAGS
   ============================================ */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
}

.badge-verified {
  background: var(--green-light);
  color: var(--green);
  border: 1px solid rgba(22,163,74,0.2);
}

.badge-featured {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--white);
}

.badge-spec {
  background: var(--navy-dark);
  color: var(--white);
}

.badge-spec-outline {
  background: var(--blue-light);
  color: var(--blue);
  border: 1px solid rgba(37,99,235,0.2);
}

.badge-info {
  background: var(--gray-100);
  color: var(--gray-600);
  border: 1px solid var(--gray-200);
}

.badge-free {
  background: var(--green-light);
  color: var(--green);
}

.badge-gold {
  background: var(--gold-pale);
  color: var(--gold);
  border: 1px solid rgba(201,146,42,0.25);
}

.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 500;
  background: var(--gray-100);
  color: var(--gray-600);
  border: 1px solid var(--gray-200);
  cursor: pointer;
  transition: all var(--transition);
}

.tag:hover, .tag.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* ============================================
   STARS
   ============================================ */

.stars { display: inline-flex; gap: 1px; }
.stars-small { display: inline-flex; gap: 0; }
.star { font-size: 1rem; line-height: 1; }
.stars-small .star { font-size: 0.8rem; }
.star.filled { color: #f59e0b; }
.star.half { color: #f59e0b; opacity: 0.6; }
.star.empty { color: var(--gray-300); }

.rating-number {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gray-800);
}

.rating-count { font-size: 0.8rem; color: var(--gray-400); }

/* ============================================
   FORMS & SEARCH
   ============================================ */

.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--gray-700); margin-bottom: 6px; }

.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--gray-800);
  background: var(--white);
  transition: all var(--transition);
  appearance: none;
}

.form-control:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(26,39,68,0.08);
}

.form-control::placeholder { color: var(--gray-400); }

.search-bar {
  display: flex;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--gray-200);
  background: var(--white);
}

.search-input {
  flex: 1;
  padding: 14px 20px;
  border: none;
  font-size: 1rem;
  font-family: inherit;
  color: var(--gray-800);
  background: transparent;
  outline: none;
}

.search-input::placeholder { color: var(--gray-400); }

.search-btn {
  padding: 14px 28px;
  background: var(--gold);
  color: var(--white);
  border: none;
  font-weight: 700;
  font-size: 0.95rem;
  font-family: inherit;
  cursor: pointer;
  transition: background var(--transition);
  white-space: nowrap;
}

.search-btn:hover { background: var(--gold-light); }

.filter-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: flex-end;
}

.filter-bar .form-group { margin-bottom: 0; flex: 1; min-width: 160px; }

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-light) 100%);
  color: var(--white);
  padding: 100px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,146,42,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201,146,42,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,146,42,0.15);
  border: 1px solid rgba(201,146,42,0.3);
  color: var(--gold-light);
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 span { color: var(--gold-light); }

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
}

.hero-stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.55); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.5px; }

/* ============================================
   SECTION HEADERS
   ============================================ */

.section-header { text-align: center; max-width: 600px; margin: 0 auto 48px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { color: var(--gray-500); font-size: 1.05rem; }

.section-eyebrow {
  display: inline-block;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

/* ============================================
   SPECIALIZATION CARDS
   ============================================ */

.spec-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  display: block;
}

.spec-card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(201,146,42,0.12);
  transform: translateY(-3px);
  color: var(--navy-dark);
}

.spec-icon {
  font-size: 2.4rem;
  margin-bottom: 12px;
  display: block;
}

.spec-name { font-size: 0.95rem; font-weight: 700; color: var(--navy-dark); margin-bottom: 6px; }
.spec-desc { font-size: 0.78rem; color: var(--gray-500); line-height: 1.4; }
.spec-count { font-size: 0.78rem; color: var(--gold); font-weight: 600; margin-top: 8px; }

/* ============================================
   REVIEW CARDS
   ============================================ */

.review-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.review-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.review-author { font-weight: 600; color: var(--gray-800); font-size: 0.9rem; }
.review-date { font-size: 0.78rem; color: var(--gray-400); }
.review-title { font-weight: 600; color: var(--gray-800); margin-bottom: 8px; font-size: 0.95rem; }
.review-body { color: var(--gray-600); font-size: 0.875rem; line-height: 1.6; }
.review-helpful { font-size: 0.78rem; color: var(--gray-400); margin-top: 12px; }

/* ============================================
   CONSULTATION MODAL
   ============================================ */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

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

.modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  max-width: 480px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  transform: scale(0.95);
  transition: transform var(--transition);
}

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

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gray-100);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.modal-close:hover { background: var(--gray-200); }

/* ============================================
   TRUST SECTION
   ============================================ */

.trust-bar {
  background: var(--navy-dark);
  padding: 16px 0;
  text-align: center;
}

.trust-bar p {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
}

.trust-bar strong { color: var(--gold-light); }

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-logo { color: var(--white); font-size: 1.3rem; font-weight: 800; margin-bottom: 12px; }
.footer-logo span { color: var(--gold); }
.footer-tagline { font-size: 0.875rem; line-height: 1.6; max-width: 280px; }

.footer-col h5 { color: var(--white); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: rgba(255,255,255,0.6); font-size: 0.875rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.footer-disclaimer {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  text-align: center;
  margin-top: 16px;
  line-height: 1.5;
}

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */

.page-hero {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  padding: 48px 0;
  color: var(--white);
}

.page-hero h1 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.25rem); margin-bottom: 8px; }
.page-hero p { color: rgba(255,255,255,0.65); font-size: 1rem; }

/* ============================================
   ALERTS & NOTICES
   ============================================ */

.alert {
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  margin-bottom: 16px;
  border: 1px solid;
}

.alert-info { background: var(--blue-light); color: var(--blue); border-color: rgba(37,99,235,0.2); }
.alert-success { background: var(--green-light); color: var(--green); border-color: rgba(22,163,74,0.2); }
.alert-gold { background: var(--gold-pale); color: #92650d; border-color: rgba(201,146,42,0.2); }

/* ============================================
   FEE DISPLAY
   ============================================ */

.fee-free { color: var(--green); font-weight: 600; }
.fee-label { font-size: 0.78rem; color: var(--gray-400); }

/* ============================================
   SIDEBAR / FILTER PANEL
   ============================================ */

.sidebar {
  width: 280px;
  flex-shrink: 0;
}

.filter-panel {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: 88px;
}

.filter-panel h3 { font-size: 1rem; margin-bottom: 20px; color: var(--navy-dark); }
.filter-section { margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--gray-100); }
.filter-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.filter-section h4 { font-size: 0.8rem; font-weight: 700; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 10px; }

/* ============================================
   COMPARE PAGE
   ============================================ */

.compare-grid {
  display: grid;
  grid-template-columns: 200px repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.compare-label-col { background: var(--gray-50); }
.compare-cell {
  padding: 16px 20px;
  border-right: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.875rem;
}

.compare-cell:last-child { border-right: none; }
.compare-label { font-weight: 600; color: var(--gray-600); font-size: 0.8rem; }
.compare-header-cell {
  padding: 24px 20px;
  text-align: center;
  background: var(--white);
  border-right: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.compare-header-cell:last-child { border-right: none; }
.compare-winner { background: var(--gold-pale); }

/* ============================================
   PROFILE PAGE
   ============================================ */

.profile-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 40px 0;
}

.profile-breadcrumb {
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-bottom: 24px;
}

.profile-breadcrumb a { color: var(--gray-400); }
.profile-breadcrumb a:hover { color: var(--navy); }
.profile-breadcrumb span { color: var(--gray-600); }

/* ============================================
   RATING BAR
   ============================================ */

.rating-bar-wrap { margin-bottom: 6px; }
.rating-bar-label { font-size: 0.78rem; color: var(--gray-500); width: 28px; }
.rating-bar-track { flex: 1; height: 8px; background: var(--gray-200); border-radius: 4px; overflow: hidden; }
.rating-bar-fill { height: 100%; background: #f59e0b; border-radius: 4px; transition: width 0.6s ease; }
.rating-bar-pct { font-size: 0.78rem; color: var(--gray-400); width: 32px; text-align: right; }

/* ============================================
   COMING SOON BADGE
   ============================================ */

.coming-soon-badge {
  display: inline-block;
  padding: 2px 8px;
  background: var(--gray-100);
  color: var(--gray-500);
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  vertical-align: middle;
  margin-left: 6px;
}

/* ============================================
   BREADCRUMB
   ============================================ */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-bottom: 0;
}

.breadcrumb a { color: var(--gray-400); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: var(--gray-300); }

/* ============================================
   PILL TABS
   ============================================ */

.pill-tabs {
  display: flex;
  gap: 4px;
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 4px;
  margin-bottom: 24px;
}

.pill-tab {
  flex: 1;
  padding: 8px 16px;
  border: none;
  border-radius: 7px;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  background: transparent;
  color: var(--gray-500);
  transition: all var(--transition);
}

.pill-tab.active {
  background: var(--white);
  color: var(--navy-dark);
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

/* ============================================
   DIVIDER
   ============================================ */

.divider { height: 1px; background: var(--gray-200); margin: 24px 0; }

/* ============================================
   TOOLTIP
   ============================================ */

[data-tooltip] { position: relative; cursor: help; }
[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gray-800);
  color: white;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition);
  margin-bottom: 4px;
}

[data-tooltip]:hover::after { opacity: 1; }

/* ============================================
   SCROLL REVEAL
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ============================================
   MOBILE NAV
   ============================================ */

.mobile-nav {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 16px 24px;
  z-index: 99;
  box-shadow: var(--shadow-md);
  flex-direction: column;
  gap: 4px;
}

.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
}

.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { background: var(--gray-50); color: var(--navy); }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .sidebar { width: 240px; }
  .compare-grid { grid-template-columns: 160px repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 64px 0 60px; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .nav-links, .nav-cta .btn-outline { display: none; }
  .hamburger { display: flex; }
  .filter-bar { flex-direction: column; }
  .filter-bar .form-group { min-width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .sidebar { width: 100%; position: static; }
  .compare-grid { grid-template-columns: 120px repeat(2, 1fr); font-size: 0.8rem; }
  .compare-cell { padding: 12px; }
  .search-bar { flex-direction: column; }
  .search-btn { border-radius: 0 0 var(--radius-lg) var(--radius-lg) !important; }
  .modal { padding: 28px 20px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .grid-4 { grid-template-columns: 1fr 1fr; gap: 12px; }
  h1 { font-size: 1.8rem; }
  .compare-grid { grid-template-columns: 1fr; }
}
