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

:root {
  /* Light theme */
  --bg:          #f8f9fa;
  --bg-card:     #ffffff;
  --bg-card-alt: #f1f3f5;
  --bg-elevated: #ffffff;

  /* Amber Gold accents — oklch(0.72 0.16 75) family */
  --accent:        #d4a050;
  --accent-dark:   #a87838;
  --accent-light:  #f0c060;
  --accent-violet: #c08848;
  --accent-glow:   rgba(212, 160, 80, 0.25);

  /* Text */
  --text:        #111827;
  --text-muted:  #6b7280;
  --text-light:  #9ca3af;

  /* Borders */
  --border:        rgba(0, 0, 0, 0.10);
  --border-dark:   rgba(0, 0, 0, 0.06);
  --border-bright: rgba(0, 0, 0, 0.18);

  /* Semantic */
  --green:       #22c55e;
  --green-light: rgba(34, 197, 94, 0.1);
  --red:         #ef4444;
  --red-light:   rgba(239, 68, 68, 0.1);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.14);
  --glow-blue:   0 0 24px rgba(212, 160, 80, 0.35);
  --glow-violet: 0 0 24px rgba(192, 136, 72, 0.30);

  --radius:    12px;
  --radius-lg: 16px;

  /* Fonts */
  --sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', 'JetBrains Mono', ui-monospace, monospace;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 15px;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
code, .mono { font-family: var(--mono); }
input, select, textarea, button { font-family: inherit; font-size: inherit; }

/* Skip-to-content link — visually hidden until keyboard-focused. WCAG 2.4.1. */
.skip-link {
  position: absolute;
  left: 0;
  top: -40px;
  z-index: 9999;
  background: #d4a050;
  color: #1c1410;
  padding: .6rem 1.2rem;
  border-radius: 0 0 8px 0;
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  transition: top .15s;
}
.skip-link:focus { top: 0; outline: 2px solid #fff; outline-offset: 2px; }

/* ===== Navigation ===== */
header {
  background: #2e1a08;
  background-image: radial-gradient(ellipse 70% 120% at 50% -10%, rgba(212,160,80,0.28) 0%, transparent 65%),
                    linear-gradient(135deg, #2e1a08 0%, #4a2c12 50%, #2e1a08 100%);
  border-bottom: 1px solid rgba(212,160,80,0.22);
  position: sticky;
  top: 0;
  z-index: 200;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 62px;
}

.logo {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #f5e6cf;
  white-space: nowrap;
}

.logo .logo-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(212,160,80,0.5);
  margin-left: 2px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  list-style: none;
  flex: 1;
}

.nav-links a {
  color: rgba(245,230,207,0.72);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  transition: all 0.15s;
}
.nav-links a:hover { color: #f5e6cf; background: rgba(212,160,80,0.12); }
.nav-links a.active { color: #f5e6cf; font-weight: 600; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

/* ===== Mega-menu ===== */
.nav-has-mega { position: static; list-style: none; }

.nav-mega-btn {
  background: none;
  border: none;
  color: rgba(245,230,207,0.72);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
  line-height: 1;
}
.nav-mega-btn:hover,
.nav-mega-btn[aria-expanded="true"] {
  color: #f5e6cf;
  background: rgba(212,160,80,0.12);
}
.nav-mega-btn svg { transition: transform 0.2s ease; }
.nav-mega-btn[aria-expanded="true"] svg { transform: rotate(180deg); }

/* Hide the mobile fallback link on desktop */
.mobile-browse-link { display: none; }
.mobile-cta-link    { display: none; }

.mega-panel {
  position: fixed;
  top: 62px;
  left: 0;
  right: 0;
  background: #1c1008;
  border-top: 1px solid rgba(212,160,80,0.15);
  border-bottom: 1px solid rgba(212,160,80,0.1);
  box-shadow: 0 16px 48px rgba(0,0,0,0.55);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.mega-panel.mega-open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.mega-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem 2.25rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 0 2.5rem;
}

.mega-col {
  display: flex;
  flex-direction: column;
}

.mega-col-sep {
  border-left: 1px solid rgba(212,160,80,0.14);
  padding-left: 2.5rem;
}

.mega-col-header {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(212,160,80,0.55);
  margin: 0 0 0.7rem;
  padding: 0 0.4rem;
  min-height: 1.2em;
}

.mega-link {
  font-size: 0.83rem;
  color: rgba(245,230,207,0.62);
  text-decoration: none;
  padding: 0.38rem 0.4rem;
  border-radius: 6px;
  transition: color 0.13s, background 0.13s;
  font-weight: 400;
  line-height: 1.4;
}
.mega-link:hover {
  color: #f5e6cf;
  background: rgba(212,160,80,0.1);
}

.mega-link-all {
  color: #d4a050;
  font-weight: 600;
  margin-top: 0.3rem;
}
.mega-link-all:hover { color: #e8b860; }

/* Ghost button on warm amber nav */
.nav-actions .btn-ghost {
  background: rgba(212,160,80,0.1);
  color: rgba(245,230,207,0.85);
  border-color: rgba(212,160,80,0.25);
}
.nav-actions .btn-ghost:hover { background: rgba(212,160,80,0.2); color: #f5e6cf; border-color: rgba(212,160,80,0.5); }

.nav-user-info {
  font-size: 0.8rem;
  color: rgba(245,230,207,0.55);
  font-family: var(--sans);
}

/* ===== Hamburger (mobile) ===== */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: rgba(212,160,80,0.1);
  border: 1px solid rgba(212,160,80,0.25);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  margin-left: auto;
  flex-shrink: 0;
}
.hamburger-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: rgba(245,230,207,0.85);
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.22s ease;
  transform-origin: center;
}
.hamburger-btn.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-btn.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger-btn.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s;
  line-height: 1;
  white-space: nowrap;
  font-family: var(--sans);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: var(--glow-blue);
}
.btn-primary:hover {
  background: var(--accent-dark);
  box-shadow: 0 0 32px rgba(212,160,80,0.5);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border);
}
.btn-ghost:hover { background: rgba(0,0,0,0.04); color: var(--text); border-color: var(--border-bright); }

.btn-outline {
  background: transparent;
  color: var(--accent-light);
  border-color: rgba(212,160,80,0.4);
}
.btn-outline:hover { background: rgba(212,160,80,0.08); border-color: var(--accent); }

.btn-warm {
  background: var(--bg-card-alt);
  color: var(--text-muted);
  border-color: var(--border);
}
.btn-warm:hover { border-color: var(--accent); color: var(--accent-light); }

.btn-sm   { padding: 0.35rem 0.8rem; font-size: 0.78rem; border-radius: 6px; }
.btn-full { width: 100%; justify-content: center; }
.btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none !important; }

/* ===== Nav search icon ===== */
.nav-search-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(212,160,80,0.1);
  border: 1px solid rgba(212,160,80,0.22);
  color: rgba(245,230,207,0.75);
  cursor: pointer;
  transition: all 0.15s;
  flex-shrink: 0;
  padding: 0;
}
.nav-search-btn:hover {
  background: rgba(212,160,80,0.2);
  border-color: rgba(212,160,80,0.45);
  color: #f5e6cf;
}

/* ===== kbd keys ===== */
.kbd-key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card-alt);
  border: 1px solid var(--border-bright);
  border-radius: 5px;
  padding: 0.12rem 0.42rem;
  font-size: 0.7rem;
  font-family: var(--sans);
  color: var(--text-muted);
  line-height: 1.5;
  user-select: none;
}

/* ===== Hero — warm cream with golden glow ===== */
.hero {
  background: #f5ede0;
  background-image: radial-gradient(ellipse 75% 60% at 50% 0%, rgba(212,160,80,0.32) 0%, transparent 65%);
  padding: 4.5rem 2rem 4rem;
  border-bottom: 1px solid rgba(212,160,80,0.18);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 65% at 50% -5%, rgba(212,160,80,0.42) 0%, transparent 62%);
  animation: hero-glow-pulse 6s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  width: 560px; height: 440px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(212,160,80,0.15) 0%, transparent 70%);
  bottom: -120px; right: -80px;
  animation: hero-blob-drift 14s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
@keyframes hero-glow-pulse {
  0%, 100% { opacity: 0.65; transform: scale(1); }
  50%       { opacity: 1;    transform: scale(1.14); }
}
@keyframes hero-blob-drift {
  0%, 100% { transform: translate(0, 0)        scale(1); }
  33%       { transform: translate(-45px, -35px) scale(1.08); }
  66%       { transform: translate(28px, -55px)  scale(0.94); }
}
@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero::after { animation: none; }
}

.hero-content {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-left { display: flex; flex-direction: column; align-items: flex-start; }

/* Eyebrow badge — amber on light bg */
.hero-eyebrow {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  color: #a87838;
  background: rgba(212,160,80,0.1);
  border: 1px solid rgba(212,160,80,0.3);
  padding: 0.28rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.04em;
  color: #111827;
  margin-bottom: 1.25rem;
}

.line-gradient {
  display: block;
  color: #111827;
  background: none;
  -webkit-text-fill-color: #111827;
}

.hero-sub {
  font-size: clamp(0.93rem, 1.5vw, 1rem);
  color: #6b7280;
  max-width: 480px;
  margin: 0 0 1.75rem;
  line-height: 1.75;
}

/* Two pill CTA buttons */
.hero-cta-row {
  display: flex;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}
.btn-hero-dark {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #111827;
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 0.68rem 1.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s;
  font-family: var(--sans);
  white-space: nowrap;
}
.btn-hero-dark:hover { background: #1f2937; color: #fff; }
.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: #374151;
  border: 1.5px solid #d1d5db;
  border-radius: 999px;
  padding: 0.68rem 1.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
  font-family: var(--sans);
  white-space: nowrap;
}
.btn-hero-outline:hover { border-color: #6b7280; color: #111827; }

/* Search bar on light bg */
.hero-search-form {
  width: 100%;
  max-width: 560px;
  margin: 0 0 1rem;
}
.hero-search-inner {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid rgba(212,160,80,0.4);
  border-radius: 14px;
  padding: 0.3rem 0.3rem 0.3rem 1.1rem;
  gap: 0.5rem;
  box-shadow: 0 4px 16px rgba(180,120,40,0.12);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.hero-search-form:focus-within .hero-search-inner {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(212,160,80,0.18);
}
.hero-search-icon { flex-shrink: 0; color: #9ca3af; }
.hero-search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 0.95rem;
  color: #111827;
  font-family: var(--sans);
  caret-color: var(--accent);
  padding: 0.65rem 0;
  min-width: 0;
}
.hero-search-input::placeholder { color: #9ca3af; }
.hero-search-btn {
  flex-shrink: 0;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 0.62rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  font-family: var(--sans);
  cursor: pointer;
  transition: opacity 0.15s, transform 0.15s;
  white-space: nowrap;
}
.hero-search-btn:hover { opacity: 0.88; transform: scale(0.98); }

/* Popular search chips */
.hero-popular {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.hero-popular-label {
  font-size: 0.67rem;
  font-weight: 700;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-right: 0.1rem;
  white-space: nowrap;
}
.hero-popular-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.77rem;
  color: #374151;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
  white-space: nowrap;
}
.hero-popular-chip:hover { border-color: var(--accent); color: #a87838; }

/* ── Hero right: company profile card preview ── */
.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero-preview-wrap {
  position: relative;
  width: 100%;
  max-width: 340px;
}
/* Shadow card behind main */
.hero-preview-shadow {
  position: absolute;
  top: 14px; right: -14px;
  width: 88%;
  height: 100%;
  background: #e5e7eb;
  border-radius: 18px;
  z-index: 0;
}
/* Main profile card */
.hero-preview-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10), 0 2px 8px rgba(0,0,0,0.05);
  position: relative;
  z-index: 1;
}
/* Floating verified badge */
.hpc-float-badge {
  position: absolute;
  top: -14px; right: -14px;
  width: 44px; height: 44px;
  background: linear-gradient(135deg, #d4a050, #8a5018);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  box-shadow: 0 4px 12px rgba(212,160,80,0.4);
  z-index: 2;
}
/* Card header */
.hpc-header {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}
.hpc-logo {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  flex-shrink: 0;
  font-family: var(--sans);
}
.hpc-info { flex: 1; min-width: 0; }
.hpc-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.18rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hpc-cat { font-size: 0.7rem; color: #6b7280; }
.hpc-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  background: rgba(34,197,94,0.1);
  color: #15803d;
  border: 1px solid rgba(34,197,94,0.25);
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}
/* Rating row */
.hpc-rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
  font-size: 0.78rem;
}
.hpc-stars { color: #f59e0b; letter-spacing: 0.05em; }
.hpc-rating-val { font-weight: 700; color: #111827; }
.hpc-rating-count { color: #9ca3af; }
/* Skeleton lines */
.hpc-skeletons { display: flex; flex-direction: column; gap: 0.38rem; margin-bottom: 0.9rem; }
.hpc-skel { height: 9px; background: #f1f3f5; border-radius: 999px; }
.hpc-skel:nth-child(1) { width: 92%; }
.hpc-skel:nth-child(2) { width: 74%; }
.hpc-skel:nth-child(3) { width: 85%; }
/* Tags */
.hpc-tags { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-bottom: 1rem; }
.hpc-tag {
  font-size: 0.65rem;
  background: #f1f3f5;
  color: #6b7280;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}
/* Card action buttons */
.hpc-actions { display: flex; gap: 0.6rem; }
.hpc-btn {
  flex: 1;
  padding: 0.5rem 0.5rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  font-family: var(--sans);
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hpc-btn-primary { background: #111827; color: #fff; border: none; }
.hpc-btn-primary:hover { background: #1f2937; color: #fff; }
.hpc-btn-secondary { background: transparent; color: #374151; border: 1.5px solid #d1d5db; }
.hpc-btn-secondary:hover { border-color: #9ca3af; }

.hero-trust { display: none; }
.hero-list-cta { display: none; }

/* Old chip classes — hide */
.hero-cats { display: none; }
.hero-cats-label { display: none; }

/* ── Stats bar (below hero) ── */
.stats-bar {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  padding: 0;
}
.stats-bar-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.22rem;
  padding: 1.4rem 2.5rem;
  flex: 1;
  position: relative;
  transition: background 0.15s;
}
.stat-item:hover { background: rgba(212,160,80,0.04); }
.stat-num {
  font-size: 1.7rem;
  font-weight: 800;
  color: #d4a050;
  letter-spacing: -0.04em;
  line-height: 1;
  font-family: var(--sans);
}
.stat-label {
  font-size: 0.72rem;
  color: #6b7280;
  font-weight: 500;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.stat-divider {
  width: 1px;
  background: #e5e7eb;
  align-self: stretch;
  flex-shrink: 0;
}
@media (max-width: 640px) {
  /* Keep all 4 stats in a single horizontal strip. flex-basis:45% used to
     force a 2x2 grid which wasted vertical space. Shrink padding + text
     instead so the row fits down to 320px (iPhone SE). */
  .stats-bar-inner { flex-wrap: nowrap; }
  .stat-item       { flex: 1; padding: 0.75rem 0.35rem; min-width: 0; }
  .stat-num        { font-size: 1.15rem; }
  .stat-label      { font-size: 0.62rem; white-space: normal; text-align: center; line-height: 1.2; }
  .stat-divider    { width: 1px; background: #e5e7eb; }
}

/* Command+K search trigger */
.search-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,224,160,0.18);
  border-radius: 10px;
  padding: 0.75rem 1rem 0.75rem 1.1rem;
  cursor: pointer;
  font-size: 0.875rem;
  color: #7a5c38;
  max-width: 380px;
  width: 100%;
  transition: all 0.2s;
  position: relative;
  z-index: 1;
  font-family: var(--sans);
  margin-bottom: 3rem;
}
.search-trigger:hover {
  border-color: rgba(212,160,80,0.4);
  color: #c8a870;
  box-shadow: var(--glow-blue);
}
.search-trigger svg { flex-shrink: 0; color: #7a5c38; }
.search-trigger .trigger-text { flex: 1; text-align: left; }
.search-trigger .trigger-kbd { display: flex; gap: 0.2rem; margin-left: auto; }

/* Hero stat pills */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,224,160,0.09);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-size: 0.78rem;
  color: #c8a870;
  backdrop-filter: blur(10px);
  transition: all 0.2s;
}
.stat-pill:hover { border-color: rgba(255,224,160,0.18); color: #f1f5f9; }
.stat-pill strong { color: var(--accent-light); font-weight: 700; font-variant-numeric: tabular-nums; }
.stat-pill .pill-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); opacity: 0.6; }

/* ===== Category List (home page) ===== */
.cat-section {
  padding: 3.5rem 1.5rem;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.cat-header {
  max-width: 1080px;
  margin: 0 auto 1.75rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.cat-heading {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.03em;
  margin: 0 0 0.25rem;
  line-height: 1.2;
}

.cat-sub {
  color: #6b7280;
  font-size: 0.875rem;
  margin: 0;
}

.cat-viewall {
  font-size: 0.825rem;
  font-weight: 600;
  color: #d4a050;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  padding-bottom: 0.15rem;
}
.cat-viewall:hover { text-decoration: underline; }

.cat-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.35rem;
}

.cat-row {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid transparent;
  border-left: 3px solid transparent;
  transition: background 0.15s, border-color 0.15s;
}
.cat-row:hover {
  background: #f9fafb;
  border-color: #e5e7eb;
  border-left-color: #d4a050;
}

.cat-row-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #f1f3f5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #4b5563;
  transition: background 0.15s, color 0.15s;
}
.cat-row:hover .cat-row-icon {
  background: #fef3e2;
  color: #92650a;
}

.cat-row-body {
  flex: 1;
  min-width: 0;
}

.cat-row-name {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  color: #111827;
  line-height: 1.3;
}

.cat-row-desc {
  display: block;
  font-size: 0.75rem;
  color: #9ca3af;
  margin-top: 0.1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cat-row-count {
  font-size: 0.72rem;
  font-weight: 600;
  color: #9ca3af;
  background: #f1f3f5;
  padding: 0.2em 0.55em;
  border-radius: 20px;
  flex-shrink: 0;
  min-width: 1.8rem;
  text-align: center;
  transition: background 0.15s, color 0.15s;
}
.cat-row:hover .cat-row-count {
  background: #fef3e2;
  color: #92650a;
}

.cat-row-arrow {
  color: #d1d5db;
  flex-shrink: 0;
  transition: color 0.15s, transform 0.15s;
}
.cat-row:hover .cat-row-arrow {
  color: #d4a050;
  transform: translateX(3px);
}

/* ===== Category Grid — legacy bento (kept for reference) ===== */
.bento-section {
  padding: 5rem 1.5rem 4.5rem;
  background: #f1f3f5;
  position: relative;
  overflow: hidden;
}

/* Ambient radial glow in corners */
.bento-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 85%, rgba(212,160,80,0.07) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 15%, rgba(168,120,56,0.07) 0%, transparent 50%);
  pointer-events: none;
}

/* Sparkle decorations */
@keyframes sparkle-twinkle {
  0%, 100% { opacity: 0.2; transform: scale(0.85) rotate(0deg); }
  50%       { opacity: 0.85; transform: scale(1.15) rotate(25deg); }
}

.cat-sparkle {
  position: absolute;
  color: #d4a050;
  font-size: 1.1rem;
  pointer-events: none;
  animation: sparkle-twinkle 4s ease-in-out infinite;
  z-index: 0;
  user-select: none;
}

/* Section title block */
.bento-title-block {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.bento-title-block h2 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.03em;
  margin-bottom: 0;
  line-height: 1.2;
}

.bento-title-block h2 em {
  color: #111827;
  font-style: normal;
  font-family: inherit;
  font-weight: 800;
}

.bento-underline {
  width: 90px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #d4a050, transparent);
  margin: 0.65rem auto 1rem;
  border-radius: 2px;
}

.bento-title-block p {
  color: #6b7280;
  max-width: 500px;
  margin: 0 auto;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Category cards grid */
.bento-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}

/* Individual category card */
@keyframes cat-fade-up {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

.bento-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 2rem 1rem 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  animation: cat-fade-up 0.5s ease both;
}
.bento-card:nth-child(1) { animation-delay: 0.04s; }
.bento-card:nth-child(2) { animation-delay: 0.09s; }
.bento-card:nth-child(3) { animation-delay: 0.14s; }
.bento-card:nth-child(4) { animation-delay: 0.19s; }
.bento-card:nth-child(5) { animation-delay: 0.24s; }
.bento-card:nth-child(6) { animation-delay: 0.29s; }
.bento-card:nth-child(7) { animation-delay: 0.34s; }
.bento-card:nth-child(8) { animation-delay: 0.39s; }

.bento-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(212,160,80,0.05) 0%, transparent 65%);
  opacity: 0;
  transition: opacity 0.25s;
  border-radius: inherit;
  pointer-events: none;
}
.bento-card:hover { transform: translateY(-6px); box-shadow: 0 14px 40px rgba(0,0,0,0.13); }
.bento-card:hover::after { opacity: 1; }

/* Icon box — amber gradient */
.bento-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  z-index: 1;
  /* default gradient */
  background: linear-gradient(145deg, #d4a050 0%, #7a3e10 100%);
}
.bento-card:hover .bento-icon {
  transform: scale(1.08);
  box-shadow: 0 6px 22px rgba(180,120,40,0.4);
}

/* Per-card gradient variants */
.bento-si             .bento-icon { background: linear-gradient(145deg, #d4a050 0%, #7a3e10 100%); }
.bento-telecom        .bento-icon { background: linear-gradient(145deg, #e0b060 0%, #5c3010 100%); }
.bento-tech           .bento-icon { background: linear-gradient(145deg, #a87838 0%, #4a2008 100%); }
.bento-security       .bento-icon { background: linear-gradient(145deg, #c8903a 0%, #8b2c00 100%); }
.bento-cloud          .bento-icon { background: linear-gradient(145deg, #c09040 0%, #3a1a00 100%); }
.bento-workflow       .bento-icon { background: linear-gradient(145deg, #d8a850 0%, #6b3010 100%); }
.bento-telephony      .bento-icon { background: linear-gradient(145deg, #b88030 0%, #5c2808 100%); }
.bento-cabling        .bento-icon { background: linear-gradient(145deg, #d4a050 0%, #8b4010 100%); }
/* New category bento variants */
.bento-telecommunication .bento-icon { background: linear-gradient(145deg, #3b82f6 0%, #1d4ed8 100%); }
.bento-cybersecurity     .bento-icon { background: linear-gradient(145deg, #ef4444 0%, #991b1b 100%); }
.bento-ai                .bento-icon { background: linear-gradient(145deg, #8b5cf6 0%, #4c1d95 100%); }
.bento-crm               .bento-icon { background: linear-gradient(145deg, #22c55e 0%, #14532d 100%); }
.bento-datacentre        .bento-icon { background: linear-gradient(145deg, #64748b 0%, #1e293b 100%); }

/* Card label */
.bento-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: #111827;
  text-align: center;
  line-height: 1.35;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
}

.bento-tagline {
  font-size: 0.72rem;
  color: rgba(90,62,32,0.65);
  text-align: center;
  margin: 0.15rem 0 0;
  line-height: 1.3;
  position: relative;
  z-index: 1;
}

/* CTA row below grid */
.bento-cta-row {
  text-align: center;
  margin-top: 2.5rem;
  position: relative;
  z-index: 1;
}

.section-label {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--accent-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
}

/* ===== Page sections ===== */
.section { padding: 4rem 1.5rem; }
.section-alt { background: #f1f3f5; }
.container { max-width: 1200px; margin: 0 auto; }

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.section-header h2 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.2;
}

.section-header p { color: var(--text-muted); font-size: 0.875rem; margin-top: 0.3rem; }

.section-header a {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-light);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.2s;
}
.section-header a:hover { gap: 0.5rem; }

/* ===== Business listing cards ===== */
.listing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: all 0.2s;
  position: relative;
  height: 100%;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}
.listing-card:hover {
  border-color: rgba(212,160,80,0.35);
  box-shadow: 0 6px 24px rgba(0,0,0,0.10), 0 0 0 1px rgba(212,160,80,0.12);
  transform: translateY(-2px);
}

.listing-logo {
  width: 72px; height: 72px;
  border-radius: 10px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent-light);
  flex-shrink: 0;
  border: 1px solid var(--border);
  font-family: var(--sans);
  letter-spacing: -0.03em;
  margin-bottom: .85rem;
}

img.listing-logo { object-fit: contain; padding: 6px; }
.listing-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }

.listing-top {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 0.35rem;
}

.listing-top h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}
.listing-top h3 a:hover { color: var(--accent-light); }

.badge-best {
  background: rgba(212,160,80,0.12);
  color: var(--accent-light);
  border: 1px solid rgba(212,160,80,0.25);
  font-size: 0.65rem;
  font-weight: 700;
  font-family: var(--sans);
  padding: 0.12rem 0.5rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.badge-new {
  background: rgba(34,197,94,0.1);
  color: #4ade80;
  border: 1px solid rgba(34,197,94,0.2);
  font-size: 0.65rem;
  font-weight: 700;
  font-family: var(--sans);
  padding: 0.12rem 0.5rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.badge-featured {
  background: rgba(212,160,80,0.15);
  color: #a07030;
  border: 1px solid rgba(212,160,80,0.35);
  font-size: 0.65rem;
  font-weight: 700;
  font-family: var(--sans);
  padding: 0.12rem 0.5rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.listing-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.6;
}

.listing-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: var(--text-light);
  margin-bottom: 0.8rem;
  font-family: var(--sans);
}
.listing-meta span { display: flex; align-items: center; gap: 0.3rem; }

.listing-tag {
  display: inline-block;
  background: rgba(212,160,80,0.08);
  color: var(--accent-light);
  border: 1px solid rgba(212,160,80,0.18);
  border-radius: 4px;
  padding: 0.12rem 0.55rem;
  font-size: 0.7rem;
  font-weight: 600;
  font-family: var(--sans);
  letter-spacing: 0.03em;
}
.listing-tag.telecom          { background: rgba(34,197,94,0.08);   color: #4ade80;  border-color: rgba(34,197,94,0.2); }
.listing-tag.telecommunication{ background: rgba(59,130,246,0.08);  color: #60a5fa;  border-color: rgba(59,130,246,0.2); }
.listing-tag.tech_vendor      { background: rgba(192,136,72,0.08);  color: #d4a868;  border-color: rgba(192,136,72,0.2); }
.listing-tag.cybersecurity    { background: rgba(239,68,68,0.08);   color: #f87171;  border-color: rgba(239,68,68,0.2); }
.listing-tag.ai_computing     { background: rgba(139,92,246,0.08);  color: #a78bfa;  border-color: rgba(139,92,246,0.2); }
.listing-tag.crm              { background: rgba(34,197,94,0.08);   color: #4ade80;  border-color: rgba(34,197,94,0.2); }
.listing-tag.data_centre      { background: rgba(100,116,139,0.08); color: #94a3b8;  border-color: rgba(100,116,139,0.2); }

.listing-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: auto; padding-top: .65rem; }

/* ===== Browse page ===== */
.browse-layout {
  display: block;
}

.sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  position: sticky;
  top: 72px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.sidebar h3 {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-bottom: 0.6rem;
}

.sub-list { list-style: none; display: flex; flex-direction: column; gap: 0.1rem; }

.sub-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.42rem 0.65rem;
  border-radius: 7px;
  font-size: 0.83rem;
  color: var(--text-muted);
  transition: all 0.15s;
}
.sub-list a:hover, .sub-list a.active {
  background: rgba(212,160,80,0.08);
  color: var(--accent-light);
  font-weight: 600;
}

.sub-list .count {
  font-family: var(--sans);
  font-size: 0.68rem;
  color: var(--text-light);
  background: var(--bg-card-alt);
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
}

.sidebar-divider { height: 1px; background: var(--border); margin: 1rem 0; }

/* ===== Results header ===== */
.results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.results-count { font-size: 0.82rem; color: var(--text-muted); font-family: var(--sans); }
.results-count strong { color: var(--text); }

.results-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ===== Breadcrumb ===== */
.breadcrumb {
  font-size: 0.78rem;
  color: var(--text-light);
  font-family: var(--sans);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--accent-light); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { color: var(--border-bright); }

/* ===== Pagination ===== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.page-btn {
  width: 34px; height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  transition: all 0.15s;
}
.page-btn:hover:not(:disabled) { border-color: rgba(212,160,80,0.4); color: var(--accent-light); }
.page-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-weight: 700;
  box-shadow: var(--glow-blue);
}
.page-btn:disabled { opacity: 0.3; cursor: not-allowed; }

/* ===== Company detail page ===== */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 290px;
  gap: 1.75rem;
  align-items: start;
}

.detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin-bottom: 1.25rem;
}

.detail-card h2 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border);
  letter-spacing: -0.01em;
}

.company-header-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.detail-logo-lg {
  width: 80px; height: 80px;
  border-radius: 12px;
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-light);
  flex-shrink: 0;
  letter-spacing: -0.03em;
}

.detail-meta-row {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.detail-meta-row span {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--sans);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}
.contact-row:last-child { border-bottom: none; }
.contact-row .label { color: var(--text-light); width: 80px; flex-shrink: 0; font-size: 0.75rem; font-family: var(--sans); font-weight: 600; }
.contact-row .value { color: var(--text); }
.contact-row a { color: var(--accent-light); }

.claim-box {
  background: rgba(212,160,80,0.04);
  border: 1px solid rgba(212,160,80,0.15);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}
.claim-box h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; letter-spacing: -0.01em; }
.claim-box p  { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 1rem; }

/* ===== OAuth buttons ===== */
.oauth-buttons {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  margin-bottom: 1.5rem;
}
.btn-oauth {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  width: 100%;
  padding: .78rem 1.5rem;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  background: #ffffff;
  color: #111827;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: border-color .15s, box-shadow .15s;
  text-decoration: none;
}
.btn-oauth:hover {
  border-color: #9ca3af;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.btn-oauth svg { flex-shrink: 0; }
.oauth-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.25rem 0;
  color: var(--text-muted);
  font-size: .8rem;
}
.oauth-divider::before,
.oauth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ===== Forms ===== */
.form-page {
  max-width: 500px;
  margin: 3rem auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.form-page .page-title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.3rem;
  color: var(--text);
}

.form-page .page-sub { color: var(--text-muted); font-size: 0.875rem; margin-bottom: 1.75rem; line-height: 1.6; }

.form-group { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1rem; }
.form-group label { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); }

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--border-bright);
  border-radius: 8px;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: var(--sans);
  background: var(--bg-card-alt);
  color: var(--text);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-light); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(212,160,80,0.1);
}

.form-group select option { background: var(--bg-card-alt); }
.form-group textarea { resize: vertical; min-height: 96px; }

.form-hint {
  font-size: .72rem;
  color: var(--text-light);
  font-family: var(--sans);
  margin: .15rem 0 0;
}

/* ===== Submit-form fieldset (Company facts) ===== */
.submit-fieldset {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem 1.1rem .25rem;
  margin: 1rem 0 1.25rem;
}
.submit-fieldset legend {
  font-size: .8rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 0 .4rem;
}

/* Service mix builder */
.service-mix-row {
  display: grid;
  grid-template-columns: 1fr 70px 32px;
  gap: .5rem;
  margin-bottom: .45rem;
}
.service-mix-row input {
  width: 100%;
  padding: .55rem .75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-card-alt);
  font-size: .85rem;
}
.service-mix-row .mix-remove {
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-light);
  cursor: pointer;
  font-size: .9rem;
}
.service-mix-row .mix-remove:hover { color: #b91c1c; border-color: rgba(239,68,68,.4); }
.service-mix-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: .35rem;
}
.service-mix-total {
  font-family: var(--sans);
  font-size: .8rem;
  color: var(--text-muted);
}
.service-mix-total.mix-total-ok  { color: #15803d; font-weight: 700; }
.service-mix-total.mix-total-bad { color: #b45309; }

/* ===== Alerts ===== */
.alert {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  display: none;
}
.alert.show { display: block; }
.alert-error   { background: var(--red-light);   color: #b91c1c; border: 1px solid rgba(239,68,68,0.25); }
.alert-success { background: var(--green-light);  color: #15803d; border: 1px solid rgba(34,197,94,0.25); }

/* ===== CTA Banner ===== */
.cta-banner {
  background: #f1f3f5;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  padding: 4rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(212,160,80,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
  color: #111827;
  position: relative;
}
.cta-banner p {
  color: #6b7280;
  margin-bottom: 1.75rem;
  font-size: 0.95rem;
  position: relative;
}

/* ===== Footer ===== */
footer {
  background: #1e1008;
  border-top: none;
  color: rgba(255,255,255,0.75);
}

.footer-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
}

.footer-brand .logo { margin-bottom: 0.85rem; display: block; color: #fff !important; }
.footer-brand p { font-size: 0.83rem; line-height: 1.75; max-width: 260px; color: rgba(255,255,255,0.6); }
.footer-brand .email {
  color: #f0c060;
  font-size: 0.83rem;
  font-family: var(--sans);
  margin-top: 0.85rem;
  display: block;
  transition: color 0.2s;
}
.footer-brand .email:hover { color: #d4a050; }

.footer-col h4 {
  color: rgba(255,255,255,0.45);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col ul a { font-size: 0.83rem; color: rgba(255,255,255,0.65); transition: color 0.15s; }
.footer-col ul a:hover { color: #f0c060; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.25rem 1.5rem;
  padding-bottom: calc(1.25rem + env(safe-area-inset-bottom));
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  font-family: var(--sans);
  flex-wrap: wrap;
  gap: 0.5rem;
  color: rgba(255,255,255,0.35);
}

/* ===== Empty / loading states ===== */
.empty-state {
  text-align: center;
  padding: 3rem;
  color: var(--text-light);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.empty-state .icon { font-size: 2rem; margin-bottom: 0.75rem; }
.empty-state p { font-size: 0.875rem; }
.empty-state a { color: var(--accent-light); font-weight: 600; }

/* ===== Sort dropdown ===== */
.sort-select {
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--border-bright);
  border-radius: 7px;
  font-size: 0.78rem;
  outline: none;
  background: var(--bg-card);
  color: var(--text-muted);
  cursor: pointer;
  font-family: var(--sans);
}
.sort-select:focus { border-color: var(--accent); }
.sort-select option { background: var(--bg-card); }

/* ===== Command+K modal ===== */
.cmd-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 20, 16, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 14vh 1rem 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}
.cmd-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.cmd-modal {
  width: 100%;
  max-width: 560px;
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 60px rgba(212,160,80,0.08);
  transform: scale(0.97) translateY(-10px);
  transition: transform 0.15s ease;
}
.cmd-overlay.open .cmd-modal { transform: scale(1) translateY(0); }

.cmd-search-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--border);
}
.cmd-search-row svg { flex-shrink: 0; color: var(--text-light); }

#cmd-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 0.95rem;
  color: var(--text);
  font-family: var(--sans);
  caret-color: var(--accent);
}
#cmd-input::placeholder { color: var(--text-light); }

.cmd-results {
  max-height: 360px;
  overflow-y: auto;
  padding: 0.4rem;
}
.cmd-results::-webkit-scrollbar { width: 4px; }
.cmd-results::-webkit-scrollbar-thumb { background: var(--border-bright); border-radius: 4px; }

.cmd-result-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.7rem 0.85rem;
  border-radius: 9px;
  cursor: pointer;
  transition: background 0.1s;
  color: inherit;
  text-decoration: none;
}
.cmd-result-item:hover,
.cmd-result-item.selected {
  background: rgba(212,160,80,0.08);
}

.cmd-result-logo {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--accent-light);
  flex-shrink: 0;
  font-family: var(--sans);
  letter-spacing: -0.02em;
}

.cmd-result-info { flex: 1; min-width: 0; }
.cmd-result-name { font-size: 0.875rem; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cmd-result-meta { font-size: 0.72rem; color: var(--text-light); font-family: var(--sans); margin-top: 0.1rem; }

.cmd-result-arrow { color: var(--text-light); flex-shrink: 0; }

.cmd-empty {
  padding: 2.5rem 1rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-light);
}

.cmd-footer {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.6rem 1.1rem;
  border-top: 1px solid var(--border);
  font-size: 0.72rem;
  color: var(--text-light);
}
.cmd-footer span { display: flex; align-items: center; gap: 0.35rem; }
.cmd-footer .kbd-key { font-size: 0.65rem; padding: 0.08rem 0.35rem; }

/* ===== Google Reviews Slider ===== */
.g-reviews-card { padding: 1.25rem; }

.g-reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.g-overall-rating {
  font-size: .78rem;
  color: var(--accent);
  font-family: var(--sans);
  white-space: nowrap;
}

.g-slider {
  position: relative;
  min-height: 130px;
}
.g-slide { display: none; }
.g-slide.active {
  display: block;
  animation: gFadeIn 0.35s ease;
}
@keyframes gFadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to   { opacity: 1; transform: none; }
}

.g-reviewer {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .6rem;
}
.g-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.g-avatar-placeholder {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(212,160,80,0.15);
  border: 1px solid rgba(212,160,80,0.3);
  color: var(--accent);
  font-size: .85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.g-reviewer-name {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}
.g-reviewer-meta {
  font-size: .72rem;
  color: var(--accent);
  margin-top: .1rem;
}
.g-review-text {
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.g-slider-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: .9rem;
}
.g-dots { display: flex; gap: 5px; align-items: center; }
.g-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.g-dot.active {
  background: var(--accent);
  transform: scale(1.3);
}
.g-nav { display: flex; gap: .3rem; }
.g-nav-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  width: 26px;
  height: 26px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: border-color .2s, color .2s;
}
.g-nav-btn:hover { border-color: var(--accent); color: var(--accent); }

/* Google search fallback card */
.g-search-card { text-align: center; }
.g-search-body { padding: .6rem 0 .4rem; }
.g-search-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(66,133,244,0.1);
  border: 1px solid rgba(66,133,244,0.2);
  color: #4285f4;
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto .75rem;
  font-family: var(--sans);
}
.g-search-hint {
  font-size: .82rem;
  color: var(--text-muted);
  margin-bottom: .85rem;
  line-height: 1.5;
}
.g-search-btn { margin: 0 auto; }

.g-powered-by {
  margin-top: .65rem;
  font-size: .68rem;
  color: var(--text-light);
  text-align: right;
  font-family: var(--sans);
}

/* ===== Company Hero Banner ===== */
.company-hero {
  background: #f5ede0;
  background-image: radial-gradient(ellipse 85% 70% at 50% 0%, rgba(212,160,80,0.38) 0%, transparent 68%);
  border-bottom: 1px solid rgba(212,160,80,0.18);
  padding: 3.5rem 1.5rem 3rem;
  position: relative;
  overflow: hidden;
}
.company-hero-inner {
  display: flex;
  gap: 2.25rem;
  align-items: center;
  position: relative;
}
.company-hero-logo-wrap { position: relative; flex-shrink: 0; }
.company-hero-logo {
  width: 112px; height: 112px;
  border-radius: 18px;
  background: #fff;
  border: 3px solid rgba(212,160,80,0.45);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(180,120,40,0.18), 0 0 0 1px rgba(212,160,80,0.15);
}
.company-hero-logo img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.company-hero-logo-initials {
  font-size: 2rem; font-weight: 900;
  color: var(--accent);
  font-family: var(--sans);
  letter-spacing: -0.04em;
}
.company-hero-check {
  position: absolute; bottom: -6px; right: -6px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f0c060, #d4a050);
  color: #1a0e05; font-size: .75rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #f5ede0;
  box-shadow: 0 2px 8px rgba(180,120,40,0.35);
}
.company-hero-info { flex: 1; min-width: 0; }
.company-hero-name {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 800;
  color: #1c1410;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: .4rem;
}
.company-hero-sub {
  color: #6b5840;
  font-size: .95rem;
  margin-bottom: .85rem;
}
.company-hero-tags { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: .9rem; }
.company-hero-tag-filled {
  background: var(--accent);
  color: #1a0e05;
  font-size: .78rem; font-weight: 700;
  border-radius: 999px; padding: .28rem .9rem;
}
.company-hero-tag-outlined {
  border: 1px solid rgba(160,112,48,0.35);
  color: #5a3e20;
  font-size: .78rem; font-weight: 500;
  border-radius: 999px; padding: .28rem .9rem;
}
.company-hero-meta {
  display: flex; gap: 1.5rem;
  align-items: center; flex-wrap: wrap;
  margin-bottom: 1.35rem;
  font-size: .88rem;
  color: #6b5840;
}
.company-hero-stars { color: var(--accent-light); letter-spacing: -.03em; }
.company-hero-cta {
  display: inline-flex; align-items: center; gap: .45rem;
  background: linear-gradient(135deg, #d4a050 0%, #a87838 100%);
  color: #1a0e05;
  font-weight: 700; font-size: .9rem;
  border-radius: 999px;
  padding: .7rem 1.75rem;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(212,160,80,0.3);
  transition: all .2s;
}
.company-hero-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(212,160,80,0.45);
}

/* Contact details row inside hero — same visual weight as meta */
.company-hero-contacts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0;
  margin-bottom: 1.35rem;
  font-size: 0.875rem;
  color: #6b5840;
}
.hero-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #6b5840;
  text-decoration: none;
  transition: color 0.15s;
  line-height: 1.5;
}
.hero-contact-item svg { flex-shrink: 0; opacity: 0.7; }
a.hero-contact-item:hover { color: #a07030; }
a.hero-contact-item:hover svg { opacity: 1; }
.hero-contact-sep {
  color: rgba(90,62,32,0.28);
  padding: 0 0.65rem;
  font-size: 1rem;
  line-height: 1;
  user-select: none;
}

/* ===== Enquiry form (eq-) ===== */
.eq-field { display: flex; flex-direction: column; gap: 0.3rem; margin-bottom: 0.75rem; }
.eq-label { font-size: 0.72rem; font-weight: 700; color: #374151; text-transform: uppercase; letter-spacing: 0.05em; }
.eq-input {
  padding: 0.55rem 0.8rem;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  font-size: 0.85rem;
  font-family: var(--sans);
  color: #111827;
  background: #f8f9fa;
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
  resize: vertical;
}
.eq-input:focus { border-color: #d4a050; box-shadow: 0 0 0 3px rgba(212,160,80,0.12); background: #fff; }
.eq-input::placeholder { color: #9ca3af; }

/* ===== Ask a Question / Send a Message (main column) ===== */
.ask-sub {
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
}
.ask-form {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.ask-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}
@media (max-width: 500px) { .ask-row { grid-template-columns: 1fr; } }
.ask-form input,
.ask-form textarea {
  padding: .6rem .9rem;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  font-size: .875rem;
  font-family: var(--sans);
  color: #111827;
  background: #f8f9fa;
  outline: none;
  transition: border-color .18s, box-shadow .18s;
  resize: vertical;
  width: 100%;
  box-sizing: border-box;
}
.ask-form input:focus,
.ask-form textarea:focus { border-color: #d4a050; box-shadow: 0 0 0 3px rgba(212,160,80,.12); background: #fff; }
.ask-form input::placeholder,
.ask-form textarea::placeholder { color: #9ca3af; }
.ask-form button[type="submit"] { align-self: flex-start; }
.ask-status {
  font-size: .82rem;
  padding: .5rem .75rem;
  border-radius: 6px;
  display: none;
}
.ask-status:not(:empty) { display: block; }
.ask-status-ok    { background: rgba(34,197,94,.1); color: #15803d; }
.ask-status-error { background: rgba(239,68,68,.1); color: #b91c1c; }

/* ===== Map embed ===== */
.map-embed-wrap { line-height: 0; }
.map-address-label {
  padding: 0.65rem 1.5rem;
  font-size: 0.8rem;
  color: #6b7280;
  border-top: 1px solid #e5e7eb;
  font-family: var(--sans);
}

/* ===== Claimed corner badge ===== */
.claimed-corner-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #16a34a;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  font-family: var(--sans);
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.2rem;
  box-shadow: 0 1px 6px rgba(22,163,74,0.3);
}

/* ===== Newsletter (footer) ===== */
.footer-newsletter { margin-top: 1.25rem; }
.footer-nl-label { font-size: 0.72rem; font-weight: 700; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.55rem; }
.footer-nl-form {
  display: flex;
  gap: 0.4rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 9px;
  padding: 0.25rem 0.25rem 0.25rem 0.75rem;
}
.footer-nl-form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 0.82rem;
  color: #fff;
  font-family: var(--sans);
  min-width: 0;
}
.footer-nl-form input::placeholder { color: rgba(255,255,255,0.35); }
.footer-nl-form button {
  background: linear-gradient(135deg, #d4a050, #a87838);
  color: #1a0e05;
  border: none;
  border-radius: 6px;
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.15s;
  white-space: nowrap;
}
.footer-nl-form button:hover { opacity: 0.85; }
.footer-nl-success { font-size: 0.78rem; color: #86efac; margin-top: 0.4rem; }

/* ===== Trust bar (G2-inspired social proof strip) ===== */
.trust-bar {
  background: #ffffff;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.trust-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 2rem;
  font-size: 0.84rem;
  color: #6b7280;
}
.trust-item strong {
  font-size: 1.1rem;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.trust-divider {
  width: 1px;
  height: 26px;
  background: rgba(0,0,0,0.08);
  flex-shrink: 0;
}
.trust-verified {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: #16a34a;
  font-size: 0.82rem;
}
.trust-verified::before {
  content: '✓';
  width: 18px;
  height: 18px;
  background: rgba(22,163,74,0.1);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
}

/* ===== How it works ===== */
.how-section {
  background: #ffffff;
  padding: 5rem 1.5rem;
}
.how-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.how-header .section-eyebrow {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
  display: block;
}
.how-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #111827;
  margin-bottom: 0.6rem;
}
.how-header p {
  color: #6b7280;
  font-size: 0.95rem;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.65;
}
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
  position: relative;
}
.how-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(16.66% + 1rem);
  right: calc(16.66% + 1rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,160,80,0.35), rgba(212,160,80,0.35), transparent);
  pointer-events: none;
}
.how-step {
  background: #f8f9fa;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 18px;
  padding: 2rem 1.5rem 1.75rem;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.how-step:hover {
  box-shadow: 0 8px 32px rgba(180,120,40,0.10);
  transform: translateY(-3px);
}
.how-step-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #d4a050 0%, #a87838 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 14px rgba(180,120,40,0.28);
}
.how-step-num {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-family: var(--sans);
  font-size: 1.6rem;
  font-weight: 800;
  color: rgba(212,160,80,0.14);
  letter-spacing: -0.04em;
  line-height: 1;
}
.how-step h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.how-step p {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.65;
}

/* ===== Review CTA Section (replaces value-split) ===== */
.review-cta-section {
  background: #ede8df;
  padding: 5.5rem 1.5rem 5rem;
  text-align: center;
}
.review-cta-badge {
  display: inline-block;
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(160,112,48,0.22);
  border-radius: 999px;
  padding: .45rem 1.3rem;
  font-size: .82rem;
  font-weight: 500;
  color: #5a3e20;
  margin-bottom: 1.75rem;
}
.review-cta-headline {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 700;
  color: #1c1410;
  line-height: 1.22;
  letter-spacing: -0.01em;
  margin: 0 auto 1.25rem;
  max-width: 720px;
}
.review-cta-sub {
  color: #6b5840;
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}
.review-cta-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 780px;
  margin: 0 auto 2.5rem;
}
.review-stat-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 2rem 1.5rem;
  border: 1px solid rgba(212,160,80,0.15);
  box-shadow: 0 2px 12px rgba(180,120,40,0.07);
}
.review-stat-num {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #c07828;
  letter-spacing: -0.04em;
  margin-bottom: .5rem;
  line-height: 1;
}
.review-stat-label {
  font-size: .83rem;
  color: #6b5840;
  line-height: 1.55;
}
.review-cta-actions {
  display: flex;
  gap: .85rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.btn-review-primary {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: #b06828;
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  border-radius: 999px;
  padding: .85rem 2rem;
  text-decoration: none;
  transition: opacity .15s, transform .15s;
  font-family: var(--sans);
}
.btn-review-primary:hover { opacity: .88; transform: translateY(-1px); }
.btn-review-outline {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  color: #1c1410;
  font-weight: 700;
  font-size: .95rem;
  border-radius: 999px;
  border: 1.5px solid rgba(90,62,32,0.22);
  padding: .85rem 2rem;
  text-decoration: none;
  transition: border-color .15s, transform .15s;
  font-family: var(--sans);
}
.btn-review-outline:hover { border-color: rgba(90,62,32,0.5); transform: translateY(-1px); }
.review-cta-footnote {
  font-size: .8rem;
  color: rgba(90,62,32,0.55);
  max-width: 460px;
  margin: 0 auto;
}
@media (max-width: 640px) {
  .review-cta-stats { grid-template-columns: 1fr; gap: 1rem; }
}

/* ── Reviews strip (3-card warm light) ─────────────────────── */
.reviews-strip {
  background: #faf7f2;
  padding: 5rem 1.5rem;
  text-align: center;
}
.reviews-strip-header { margin-bottom: 3rem; }
.reviews-strip-label {
  display: inline-block;
  background: rgba(212,160,80,0.12);
  border: 1px solid rgba(212,160,80,0.35);
  border-radius: 999px;
  padding: .4rem 1.2rem;
  font-size: .8rem;
  font-weight: 500;
  color: #8a5c18;
  margin-bottom: 1.25rem;
}
.reviews-strip h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 700;
  color: #111827;
  line-height: 1.22;
  letter-spacing: -0.01em;
  margin: 0;
}
.reviews-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 1000px;
  margin: 0 auto 2.5rem;
}
.review-card {
  background: #ffffff;
  border: 1px solid rgba(212,160,80,0.18);
  border-top: 3px solid rgba(212,160,80,0.55);
  border-radius: 16px;
  padding: 2rem 1.75rem 1.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 4px 18px rgba(180,120,40,0.08);
  position: relative;
}
.review-card::before {
  content: '\201C';
  position: absolute;
  top: .6rem;
  left: 1.25rem;
  font-size: 3.5rem;
  line-height: 1;
  color: rgba(212,160,80,0.2);
  font-family: Georgia, serif;
  pointer-events: none;
}
.review-card-stars {
  color: #d4a050;
  font-size: .95rem;
  letter-spacing: .06em;
}
.review-card-quote {
  font-size: .88rem;
  line-height: 1.75;
  color: #5a4535;
  font-style: italic;
  margin: 0;
  flex: 1;
  padding: 0 1rem;
}
.review-card-author {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: .75rem;
  padding-top: .85rem;
  padding-left: 1rem;
  width: 100%;
  border-top: 1px solid rgba(212,160,80,0.15);
  text-align: left;
}
.review-card-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  font-weight: 700;
  flex-shrink: 0;
  letter-spacing: .02em;
}
.review-card-author-info { display: flex; flex-direction: column; gap: .18rem; }
.review-card-name { font-weight: 700; font-size: .88rem; color: #111827; }
.review-card-role { font-size: .78rem; color: #8a7060; }
@media (max-width: 768px) {
  .reviews-strip { padding: 3.5rem 1.25rem; }
  .reviews-strip-grid { grid-template-columns: 1fr; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .reviews-strip-grid { grid-template-columns: repeat(2, 1fr); }
}

/* keep .vendors-col .btn-value placeholder to avoid orphan rule */
.vendors-col .btn-value {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(0,0,0,0.16); color: #1a0e05;
  border: 1px solid rgba(0,0,0,0.1); border-radius: 9px;
  padding: 0.65rem 1.4rem; font-size: 0.875rem; font-weight: 700;
  cursor: pointer; text-decoration: none; transition: background 0.15s;
  align-self: flex-start;
  font-family: var(--sans);
}
.vendors-col .btn-value:hover { background: rgba(0,0,0,0.25); }

/* ===== Category pill tabs (browse page) ===== */
.cat-tab-strip {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.cat-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.38rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #6b7280;
  background: #ffffff;
  border: 1.5px solid rgba(0,0,0,0.09);
  text-decoration: none;
  transition: all 0.15s;
  white-space: nowrap;
}
.cat-tab:hover { border-color: rgba(212,160,80,0.5); color: #d4a050; }
.cat-tab.active { background: #d4a050; color: #fff; border-color: #d4a050; font-weight: 600; }
.cat-tab .cat-tab-count {
  font-size: 0.68rem;
  background: rgba(255,255,255,0.25);
  padding: 0.05rem 0.35rem;
  border-radius: 999px;
  font-family: var(--sans);
}
.cat-tab.active .cat-tab-count { background: rgba(0,0,0,0.12); color: rgba(255,255,255,0.85); }

/* ===== Star rating on listing cards ===== */
.listing-rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: #6b7280;
  margin-bottom: 0.4rem;
}
.listing-rating .stars { color: #f59e0b; letter-spacing: 0.02em; }
.listing-rating .rating-val { font-weight: 600; color: #374151; }
.listing-rating .rating-count { color: #9ca3af; }

/* ===== Badge: Top Rated ===== */
.badge-top-rated {
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
  background: rgba(245,158,11,0.10);
  color: #92400e;
  border: 1px solid rgba(245,158,11,0.28);
  font-size: 0.62rem;
  font-weight: 700;
  font-family: var(--sans);
  padding: 0.12rem 0.48rem;
  border-radius: 4px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .browse-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .detail-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid   { grid-template-columns: 1fr; }
  .how-steps { grid-template-columns: 1fr; }
  /* On mobile, hide the desktop mega button and show the plain Browse link */
  .nav-has-mega { display: none; }
  .mobile-browse-link { display: list-item; }
  .mega-panel { display: none; }
  .how-steps::before { display: none; }
  .value-split { grid-template-columns: 1fr; }
  .trust-item { padding: 0.75rem 1rem; }
  .trust-divider { display: none; }
}

@media (max-width: 640px) {
  .hero { padding: 3rem 1.25rem 2.5rem; min-height: auto; }
  .hero-content { grid-template-columns: 1fr; gap: 2rem; }
  .hero-right { display: none; }
  .hero-left { align-items: flex-start; }
  .hero-sub { max-width: 100%; }
  .hero-search-form { max-width: 100%; }
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  /* Mobile nav — hidden by default, shown as dropdown when .nav-open */
  .nav-links {
    display: none;
    position: fixed;
    top: 62px;
    left: 0;
    right: 0;
    background: #2e1a08;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem;
    border-bottom: 1px solid rgba(212,160,80,0.22);
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
    z-index: 198;
    animation: none;
  }
  .nav-links.nav-open { display: flex; }
  .nav-links a { padding: 0.75rem 1rem; border-radius: 8px; font-size: 0.9rem; color: rgba(245,230,207,0.8); }
  .hamburger-btn { display: flex; margin-left: 0.25rem; flex-shrink: 0; }
  /* The "Add Your Business" CTA pill is too wide for a 375px row;
     it lives inside the hamburger menu on mobile instead. */
  .nav-actions .btn-primary { display: none; }
  /* Tighten the Login button so the row fits comfortably on 320px iPhone SE. */
  .nav-actions .btn-ghost { padding: 0.4rem 0.7rem; font-size: 0.8rem; }
  /* Reveal the mobile-only CTA link inside the slide-down menu. */
  .mobile-cta-link { display: list-item; margin-top: 0.5rem; padding-top: 0.5rem; border-top: 1px solid rgba(212,160,80,0.15); }
  .mobile-cta-link a { color: var(--accent) !important; font-weight: 600; }
  .footer-main { grid-template-columns: 1fr; gap: 1.5rem; }
  .results-list { grid-template-columns: 1fr; }
  .hero-search-form { max-width: 100%; }
  .hero-search-btn { padding: 0.55rem 0.9rem; font-size: 0.8rem; }
  .company-hero-inner { flex-direction: column; gap: 1.25rem; }
  .company-hero-name { font-size: 1.35rem; }
}

/* ===== Animations ===== */
@keyframes fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-content > * {
  animation: fade-in 0.5s ease both;
}
.hero-eyebrow   { animation-delay: 0s; }
.hero h1        { animation-delay: 0.08s; }
.hero-sub       { animation-delay: 0.16s; }
.search-trigger { animation-delay: 0.22s; }
.hero-stats     { animation-delay: 0.3s; }

/* ===== Reviews ===== */

/* Star display (read-only summary in header) */
.star-display {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: 1rem;
}
.stars-filled {
  color: var(--accent-light);
  letter-spacing: .05em;
}
.stars-filled.large { font-size: 1.4rem; }
.review-meta-count {
  font-family: var(--sans);
  font-size: .75rem;
  color: var(--text-muted);
}

/* Interactive star input */
.star-input-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.1rem;
}
.star-label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}
.star-input { display: flex; gap: .2rem; }
.star-btn {
  background: none;
  border: none;
  font-size: 1.75rem;
  color: var(--border-bright);
  cursor: pointer;
  padding: 0 .05rem;
  transition: color .12s, transform .1s;
  line-height: 1;
}
.star-btn.hovered,
.star-btn.selected { color: var(--accent-light); }
.star-btn:hover { transform: scale(1.15); }

/* Per-axis star pickers (May 2026) */
.review-axis-list {
  display: flex; flex-direction: column;
  gap: .35rem;
  margin: 0 0 1.1rem;
  padding: .85rem 1rem;
  background: rgba(212,160,80,0.05);
  border: 1px solid rgba(212,160,80,0.18);
  border-radius: 10px;
}
.review-axis-help {
  font-size: .72rem;
  color: var(--text-muted);
  font-family: var(--sans);
  margin: 0 0 .4rem;
}
.review-axis-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: center;
  gap: .65rem;
}
.review-axis-label {
  font-size: .8rem;
  color: var(--text-muted);
}
.review-axis-stars { display: flex; gap: .1rem; }
.review-axis-btn {
  background: none; border: none;
  font-size: 1.05rem;
  color: var(--border-bright);
  cursor: pointer;
  padding: 0 .04rem;
  transition: color .12s, transform .08s;
  line-height: 1;
}
.review-axis-btn.selected { color: #d4a050; }
.review-axis-btn:hover { transform: scale(1.1); }

@media (max-width: 520px) {
  .review-axis-row { grid-template-columns: 1fr; gap: .15rem; }
}

/* Review form */
.review-disclaimer {
  font-size: .75rem;
  color: var(--text-light);
  font-family: var(--sans);
  margin-top: .6rem;
}
.review-msg {
  font-size: .875rem;
  margin-top: .75rem;
  padding: .6rem .9rem;
  border-radius: 8px;
  display: none;
}
.review-msg.error   { display: block; background: var(--red-light);   color: #fca5a5; border: 1px solid rgba(239,68,68,0.25); }
.review-msg.success { display: block; background: var(--green-light);  color: #86efac; border: 1px solid rgba(34,197,94,0.25); }

/* Individual review card */
.review-card {
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}
.review-card:last-child { border-bottom: none; }
.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .35rem;
}
.review-stars {
  color: var(--accent-light);
  font-size: 1rem;
  letter-spacing: .06em;
}
.review-date {
  font-family: var(--sans);
  font-size: .72rem;
  color: var(--text-light);
}
.review-title {
  font-weight: 700;
  font-size: .9rem;
  margin-bottom: .25rem;
  color: var(--text);
}
.review-body {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: .4rem;
}
.review-author {
  font-size: .78rem;
  color: var(--text-light);
  font-family: var(--sans);
  font-style: italic;
}

/* Rating summary sidebar card */
.rating-summary-card h2 { margin-bottom: .85rem; }
.rating-big {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.rating-number {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
}
.rating-bar-row {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .35rem;
}
.rating-bar-label {
  font-family: var(--sans);
  font-size: .72rem;
  color: var(--text-muted);
  width: 22px;
  text-align: right;
  flex-shrink: 0;
}
.rating-bar-track {
  flex: 1;
  height: 6px;
  background: var(--bg-card-alt);
  border-radius: 99px;
  overflow: hidden;
}
.rating-bar-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 99px;
  transition: width .4s ease;
}
.rating-bar-count {
  font-family: var(--sans);
  font-size: .7rem;
  color: var(--text-light);
  width: 16px;
  text-align: right;
  flex-shrink: 0;
}

/* ===== Contact page ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.5rem;
  align-items: start;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--border);
}

.contact-info-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: .1rem; }

.contact-info-label {
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-light);
  margin-bottom: .2rem;
}

.contact-info-value {
  font-size: .875rem;
  color: var(--text-muted);
}

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

/* Empty state hint inside detail cards */
.section-empty-hint {
  font-size: .8rem;
  color: var(--text-light);
  font-family: var(--sans);
  padding: .25rem 0;
}

/* ===== Certifications ===== */
.cert-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(212,160,80,0.06);
  border: 1px solid rgba(212,160,80,0.18);
  border-radius: 8px;
  padding: 0.5rem 0.85rem;
  transition: all 0.2s;
  cursor: default;
}

.cert-badge:hover {
  background: rgba(212,160,80,0.11);
  border-color: rgba(212,160,80,0.32);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.35);
}

.cert-badge-icon {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(212,160,80,0.15);
  border: 1px solid rgba(212,160,80,0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
}

.cert-badge-content {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
}

.cert-badge-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
}

.cert-badge-issuer {
  font-size: 0.67rem;
  color: var(--text-light);
  font-family: var(--sans);
}

.cert-badge-year {
  font-size: 0.67rem;
  color: var(--accent-light);
  font-family: var(--sans);
  padding-left: 0.4rem;
  border-left: 1px solid rgba(212,160,80,0.2);
  white-space: nowrap;
  align-self: center;
}

/* ===== Sales Contact Tabs ===== */
.sales-contacts-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.contact-tab {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.95rem 1.1rem;
  flex: 1 1 200px;
  max-width: 300px;
  position: relative;
  overflow: hidden;
  transition: all 0.2s;
}

.contact-tab::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent), var(--accent-dark));
  border-radius: 10px 0 0 10px;
  opacity: 0.7;
}

.contact-tab:hover {
  border-color: rgba(212,160,80,0.28);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
  transform: translateY(-2px);
}

.contact-tab:hover::before {
  opacity: 1;
}

.contact-tab-avatar {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: rgba(212,160,80,0.1);
  border: 1px solid rgba(212,160,80,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--accent-light);
  flex-shrink: 0;
  font-family: var(--sans);
  letter-spacing: -0.02em;
}

.contact-tab-info {
  flex: 1;
  min-width: 0;
}

.contact-tab-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-tab-title {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-family: var(--sans);
  margin-top: 0.1rem;
  margin-bottom: 0.55rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-tab-links {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
}

.contact-tab-link {
  font-size: 0.72rem;
  color: var(--text-light);
  font-family: var(--sans);
  transition: color 0.15s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  text-decoration: none;
}

.contact-tab-link:hover {
  color: var(--accent-light);
}

@media (max-width: 640px) {
  .contact-tab { max-width: 100%; }
}

/* ===== Light-theme Company Detail ===== */
.company-detail-section { background: #ffffff; }

/* Override dark cards in light context */
.company-detail-section .detail-card,
.company-detail-section .g-reviews-card,
.company-detail-section .claim-box,
.company-detail-section .rating-summary-card {
  background: #fff;
  border-color: transparent;
  box-shadow: 0 2px 18px rgba(0,0,0,0.07);
  border-radius: 14px;
  color: #374151;
}
.company-detail-section .detail-card h2 { color: #111827; border-color: #e5e7eb; }
.company-detail-section .section-empty-hint { color: #9ca3af; }
.company-detail-section .cert-badge { background: #f1f3f5; border-color: #e5e7eb; }
.company-detail-section .cert-badge-icon { background: rgba(212,160,80,0.15); color: #c4903a; }
.company-detail-section .cert-badge-name { color: #111827; }
.company-detail-section .cert-badge-issuer { color: #6b7280; }
.company-detail-section .cert-badge-year { color: #9ca3af; }
.company-detail-section .contact-tab { background: #f1f3f5; border-left-color: #d4a050; }
.company-detail-section .contact-tab-avatar { background: #d4a050; color: #fff; }
.company-detail-section .contact-tab-name { color: #111827; }
.company-detail-section .contact-tab-title { color: #6b7280; }
.company-detail-section .contact-tab-link { color: #c4903a; }
.company-detail-section .review-card { background: #f8f9fa; border: 1px solid #e5e7eb; }
.company-detail-section .review-header { color: #6b7280; }
.company-detail-section .review-stars { color: #d4a050; }
.company-detail-section .review-title { color: #111827; }
.company-detail-section .review-body { color: #374151; }
.company-detail-section .review-author { color: #6b7280; }
.company-detail-section .review-date { color: #9ca3af; }
.company-detail-section .review-disclaimer { color: #9ca3af; }
.company-detail-section .star-display .stars-filled { color: #d4a050; }
.company-detail-section .review-meta-count { color: #6b7280; }
.company-detail-section .form-input { background: #f8f9fa; border-color: #e5e7eb; color: #111827; }
.company-detail-section .form-input:focus { border-color: #d4a050; background: #fff; }
.company-detail-section .form-label { color: #374151; }
.company-detail-section .star-btn { color: #d1d5db; }
.company-detail-section .star-btn.hovered,
.company-detail-section .star-btn.selected { color: #d4a050; }
.company-detail-section .g-powered-by { color: #9ca3af; }
.company-detail-section .g-search-hint { color: #6b7280; }
.company-detail-section .g-reviews-header h2 { color: #111827; }
.company-detail-section .g-reviewer-name { color: #111827; }
.company-detail-section .g-reviewer-meta { color: #6b7280; }
.company-detail-section .g-review-text { color: #374151; }
.company-detail-section .g-overall-rating { color: #d4a050; }
.company-detail-section .g-search-icon { background: rgba(66,133,244,0.08); border-color: rgba(66,133,244,0.15); }
.company-detail-section .rating-big .rating-number { color: #d4a050; }
.company-detail-section .stars-filled { color: #d4a050; }
.company-detail-section .rating-bar-track { background: #f1f3f5; }
.company-detail-section .rating-bar-fill { background: #d4a050; }
.company-detail-section .rating-bar-label,
.company-detail-section .rating-bar-count { color: #6b7280; }
.company-detail-section .breadcrumb a { color: #6b7280; }
.company-detail-section .breadcrumb { color: #6b7280; }
.company-detail-section .sep { color: #9ca3af; }
.company-detail-section .btn-ghost { color: #374151; border-color: #e5e7eb; }
.company-detail-section .btn-ghost:hover { background: #f1f3f5; }
.company-detail-section .btn-warm { background: #f1f3f5; color: #374151; border-color: #e5e7eb; }

/* ── Review trust signals ── */
.review-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-top: .5rem;
  flex-wrap: wrap;
}
.review-author-block {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.review-meta-detail {
  font-size: .72rem;
  color: var(--text-light);
  font-family: var(--sans);
}
.review-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  font-size: .68rem;
  font-weight: 600;
  color: #15803d;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 20px;
  padding: .2rem .55rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.company-detail-section .review-verified-badge {
  color: #2d6a3f;
  background: rgba(212, 160, 80, 0.1);
  border-color: rgba(212, 160, 80, 0.25);
}
.review-trust-row {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}
.review-trust-row .form-group { margin-bottom: 0; }
.review-trust-hint {
  font-size: .72rem;
  color: var(--text-light);
  margin: .1rem 0 .75rem;
}

/* ── Feature Checklist ── */
.feature-checklist-card { padding: 1.25rem 1.5rem 1.5rem; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: .5rem .75rem;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .82rem;
  padding: .35rem .5rem;
  border-radius: 6px;
}
.feature-on {
  color: #1a3a28;
  background: rgba(34, 197, 94, 0.08);
}
.feature-off {
  color: var(--text-light);
  opacity: .55;
}
.feature-check {
  font-size: .78rem;
  flex-shrink: 0;
  width: 16px;
  text-align: center;
}
.feature-on .feature-check { color: #16a34a; font-weight: 700; }
.feature-off .feature-check { color: var(--text-light); }

/* ── Light Card (lc-) components ── */
.lc-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 18px rgba(0,0,0,0.07);
  margin-bottom: 1.5rem;
  overflow: hidden;
}
.lc-card-hd {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1.1rem 1.5rem 0.65rem;
  border-bottom: 1px solid #f3f4f6;
}
.lc-icon {
  width: 32px; height: 32px;
  border-radius: 7px;
  background: #f3f4f6;
  display: flex; align-items: center; justify-content: center;
  color: #6b7280; flex-shrink: 0;
}
.lc-icon svg { display: block; }
.lc-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
  letter-spacing: -0.01em;
}
.lc-title-accent { color: #d4a050; }
.lc-body { padding: 1.25rem 1.5rem 1.5rem; }
.lc-about-text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #374151;
  font-weight: 400;
}

/* Show More / Show Less toggle */
.lc-about-text.truncated {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.lc-show-more {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: #d4a050;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--sans);
  transition: color 0.15s;
}
.lc-show-more:hover { color: #a87838; }

/* Services */
.lc-svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; }
.lc-svc-chip {
  display: flex; align-items: center; gap: .6rem;
  background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 8px;
  padding: .65rem .9rem; font-size: .855rem; color: #374151;
  font-weight: 500;
}
.lc-dot { width: 7px; height: 7px; border-radius: 50%; background: #d4a050; flex-shrink: 0; }

/* Contact info sidebar */
.lc-contact-row {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: .85rem 0; border-bottom: 1px solid #e5e7eb;
}
.lc-contact-row:last-child { border-bottom: none; }
.lc-ci-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(212,160,80,0.08);
  display: flex; align-items: center; justify-content: center;
  color: #c4903a; flex-shrink: 0;
}
.lc-ci-icon svg { display: block; }
.lc-ci-label { font-size: .72rem; color: #9ca3af; font-weight: 600; margin-bottom: .18rem; text-transform: uppercase; letter-spacing: .05em; }
.lc-ci-value { font-size: .9rem; color: #111827; font-weight: 500; line-height: 1.45; word-break: break-word; }
.lc-ci-value a { color: #d4a050; }

/* Follow Us */
.lc-follow-label { font-size: .85rem; font-weight: 700; color: #111827; margin: 1.25rem 0 .75rem; }
.lc-social-row { display: flex; gap: .65rem; }
.lc-social-btn {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: .8rem; font-weight: 700;
  text-decoration: none; flex-shrink: 0; transition: opacity .15s;
}
.lc-social-btn:hover { opacity: .85; }
.lc-social-btn.ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.lc-social-btn.li { background: #0077b5; }
.lc-social-btn.yt { background: #ff0000; }

/* Rating stat bar */
.lc-stat-bar {
  background: #fff; border-radius: 14px;
  box-shadow: 0 2px 18px rgba(0,0,0,0.07);
  margin-bottom: 1.5rem; display: flex; overflow: hidden;
}
.lc-stat { flex: 1; text-align: center; padding: 1.25rem .5rem; }
.lc-stat:not(:last-child) { border-right: 1px solid #e5e7eb; }
.lc-stat-num { font-size: 1.9rem; font-weight: 800; color: #d4a050; display: block; line-height: 1; }
.lc-stat-num.muted { color: #6b7280; }
.lc-stat-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: #9ca3af; font-weight: 600; margin-top: .35rem; display: block; }

/* ── Admin feature checkbox grid ── */
.admin-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: .4rem .6rem;
  margin-top: .25rem;
}
.admin-feature-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  cursor: pointer;
  padding: .3rem .5rem;
  border-radius: 6px;
  border: 1px solid transparent;
  transition: background .12s, border-color .12s;
  color: var(--text);
}
.admin-feature-item:hover { background: rgba(212,160,80,0.07); border-color: rgba(212,160,80,0.2); }
.admin-feature-item input[type="checkbox"] { accent-color: #d4a050; width: 14px; height: 14px; flex-shrink: 0; }

/* ===== Company Profile Page (cp-) ===== */

/* Breadcrumb */
.cp-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: #6b7280;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}
.cp-breadcrumb a { color: #c4903a; }
.cp-breadcrumb a:hover { text-decoration: underline; }
.cp-breadcrumb span:not(:last-child) { color: #9ca3af; }

/* Two-column layout */
.cp-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 1.5rem;
  align-items: start;
}

/* Shared card style */
.cp-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 18px rgba(0,0,0,0.07);
  margin-bottom: 1.25rem;
  overflow: hidden;
}
.cp-card-hd {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: 1rem 1.4rem 0.6rem;
  border-bottom: 1px solid #f3f4f6;
  color: #6b7280;
}
.cp-card-hd svg { flex-shrink: 0; }
.cp-card-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
  letter-spacing: -0.01em;
}
.cp-card-body { padding: 1.1rem 1.4rem 1.4rem; }

/* Review count badge in card header */
.cp-review-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  color: #6b7280;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 999px;
  padding: .1rem .55rem;
  margin-left: .35rem;
}

/* Individual review */
.cp-review {
  padding: 1.1rem 0;
  border-bottom: 1px solid #e5e7eb;
}
.cp-review:last-child { border-bottom: none; }
.cp-review-hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: .35rem; }
.cp-review-stars { color: #f59e0b; font-size: .95rem; letter-spacing: .04em; }
.cp-review-date { font-size: .72rem; color: #9ca3af; }
.cp-review-title { font-weight: 700; font-size: .9rem; margin-bottom: .2rem; color: #111827; }
.cp-review-body { font-size: .875rem; color: #374151; line-height: 1.7; margin-bottom: .4rem; }
.cp-review-ft { display: flex; align-items: center; justify-content: space-between; gap: .5rem; flex-wrap: wrap; }
.cp-review-author { font-size: .78rem; color: #6b7280; }
.cp-review-meta { font-size: .72rem; color: #9ca3af; display: block; }
.cp-verified-badge {
  display: inline-flex; align-items: center; gap: .25rem;
  font-size: .68rem; font-weight: 600; color: #15803d;
  background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.22);
  border-radius: 20px; padding: .18rem .5rem; white-space: nowrap;
}
.cp-verified-attest {
  display: inline-flex; align-items: center; gap: .25rem;
  font-size: .68rem; font-weight: 600; color: #0369a1;
  background: rgba(14,165,233,.1); border: 1px solid rgba(14,165,233,.22);
  border-radius: 20px; padding: .18rem .5rem; white-space: nowrap; cursor: default;
}
.cp-owner-reply {
  margin-top: .85rem; background: #f8f9fa;
  border-left: 3px solid #d4a050; border-radius: 0 8px 8px 0; padding: .75rem 1rem;
}
.cp-owner-reply-hd { font-size: .72rem; font-weight: 700; color: #374151; margin-bottom: .35rem; }
.cp-owner-reply-date { font-weight: 400; color: #9ca3af; }
.cp-owner-reply-body { font-size: .82rem; color: #4b5563; line-height: 1.6; margin: 0; }
.review-attest-label {
  display: flex; align-items: flex-start; gap: .5rem;
  font-size: .8rem; color: #6b7280; line-height: 1.5; margin-bottom: .85rem; cursor: pointer;
}
.review-attest-label input[type="checkbox"] { margin-top: .15rem; flex-shrink: 0; accent-color: #d4a050; }
.uen-badge { font-family: var(--sans); letter-spacing: .02em; }
.cp-no-reviews { font-size: .875rem; color: #9ca3af; font-style: italic; padding: .25rem 0; }

/* ── Rating summary sidebar card (G2-style) ── */
.cp-rating-card { margin-bottom: 1rem; }
.cp-rating-card .cp-card-body { padding: 1.25rem 1.4rem 1.4rem; }

.cp-rating-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.cp-rating-big {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: #d4a050;
  line-height: 1;
}
.cp-rating-stars { color: #f59e0b; font-size: 1.1rem; letter-spacing: .04em; line-height: 1.4; }
.cp-rating-meta  { font-size: .78rem; color: #6b7280; margin-top: .15rem; }

/* Distribution bars */
.cp-rating-bars { display: flex; flex-direction: column; gap: .45rem; }
.cp-rat-row { display: flex; align-items: center; gap: .6rem; }
.cp-rat-label { font-size: .72rem; color: #6b7280; font-family: var(--sans); width: 22px; text-align: right; flex-shrink: 0; }
.cp-rat-track { flex: 1; height: 6px; background: #e5e7eb; border-radius: 99px; overflow: hidden; }
.cp-rat-fill  { height: 100%; background: linear-gradient(90deg, #d4a050, #f0c060); border-radius: 99px; transition: width .5s ease; }
.cp-rat-count { font-size: .72rem; color: #9ca3af; font-family: var(--sans); width: 16px; text-align: right; flex-shrink: 0; }

/* ── Multi-criteria axis bars (May 2026) ── */
.cp-axis-section {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid #f0ebe2;
}
.cp-axis-heading {
  font-family: var(--sans);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #9c8060;
  margin-bottom: .55rem;
}
.cp-axis-list { display: flex; flex-direction: column; gap: .45rem; }
.cp-axis-row { display: flex; align-items: center; gap: .6rem; }
.cp-axis-label {
  font-size: .73rem; color: #4b5563; flex-shrink: 0;
  width: 110px; line-height: 1.2;
}
.cp-axis-track { flex: 1; height: 6px; background: #e5e7eb; border-radius: 99px; overflow: hidden; }
.cp-axis-fill  { height: 100%; background: linear-gradient(90deg, #b07828, #d4a050); border-radius: 99px; transition: width .5s ease; }
.cp-axis-val   { font-size: .72rem; color: #6b7280; font-family: var(--sans); width: 22px; text-align: right; flex-shrink: 0; }

/* Per-review axis chips (compact, beneath review body) */
.cp-rev-axes {
  display: flex; flex-wrap: wrap; gap: .45rem;
  margin: .55rem 0 .65rem;
}
.cp-rev-axis {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .2rem .55rem; border-radius: 999px;
  background: rgba(212,160,80,0.08);
  border: 1px solid rgba(212,160,80,0.18);
  font-size: .72rem; color: #6b5840;
}
.cp-rev-axis-label { color: #9c8060; }
.cp-rev-axis-val { font-weight: 700; color: #b07828; font-family: var(--sans); }

/* ── Profile snapshot card: facts + industries served ── */
.cp-fact-card .cp-card-body { padding: 1.1rem 1.4rem; }
.cp-fact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  padding: 1.1rem 1.4rem;
}
.cp-fact-cell { display: flex; flex-direction: column; gap: .25rem; }
.cp-fact-label {
  font-family: var(--sans);
  font-size: .65rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #9c8060;
}
.cp-fact-value { font-size: .95rem; font-weight: 700; color: #1c1410; line-height: 1.2; }

.cp-industries-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: .6rem;
  padding: 1.1rem 1.4rem;
}
.cp-industries-divided { border-top: 1px solid #f0ebe2; padding-top: 1rem; }
.cp-industries-label {
  font-family: var(--sans);
  font-size: .65rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #9c8060;
}
.cp-industries-chips { display: flex; flex-wrap: wrap; gap: .35rem; }
.cp-industry-chip {
  display: inline-block;
  padding: .22rem .65rem;
  border-radius: 999px;
  background: rgba(212,160,80,0.1);
  border: 1px solid rgba(212,160,80,0.22);
  color: #6b5840;
  font-size: .75rem;
  font-weight: 500;
}

/* ── Service mix horizontal stacked bar ── */
.cp-mix-bar {
  display: flex; height: 24px;
  border-radius: 8px;
  overflow: hidden;
  background: #e5e7eb;
  margin-bottom: 1rem;
}
.cp-mix-seg { display: block; height: 100%; transition: width .5s ease; }
.cp-mix-legends {
  display: flex; flex-wrap: wrap;
  gap: .4rem .9rem;
}
.cp-mix-legend {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .8rem; color: #4b5563;
}
.cp-mix-swatch {
  display: inline-block; width: 11px; height: 11px;
  border-radius: 3px; flex-shrink: 0;
}
.cp-mix-name { color: #1c1410; }
.cp-mix-pct  { color: #9c8060; font-family: var(--sans); font-size: .75rem; }

@media (max-width: 700px) {
  .cp-fact-grid { grid-template-columns: repeat(2, 1fr); gap: .9rem; }
  .cp-axis-label { width: 95px; font-size: .7rem; }
}

/* ── Company info rows ── */
.cp-info-row {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  padding: .7rem 0;
  border-bottom: 1px solid #e5e7eb;
}
.cp-info-row:last-child { border-bottom: none; }
.cp-info-row svg { flex-shrink: 0; color: #c4903a; margin-top: .1rem; }
.cp-info-label { font-size: .68rem; color: #9ca3af; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .15rem; }
.cp-info-val { font-size: .875rem; color: #111827; word-break: break-word; line-height: 1.45; }
.cp-info-val a { color: #d4a050; }
.cp-info-val a:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 860px) {
  .cp-layout { grid-template-columns: 1fr; }
  .cp-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .cp-rating-card { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .cp-sidebar { grid-template-columns: 1fr; }
}

/* ===== Animation Layer (animations.js) ===== */

/* Particle canvas — full-bleed behind hero, above bg gradients */
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Ensure hero text/form sits above canvas */
.hero-content { position: relative; z-index: 1; }

/* Scroll-reveal: start hidden, JS adds .in-view */
.anim-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(.16,1,.3,1), transform 0.7s cubic-bezier(.16,1,.3,1);
}
.anim-up.in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .anim-up { opacity: 1; transform: none; transition: none; }
}

/* ===== Company marquee ticker ===== */
.marquee-wrap {
  background: #f8f9fa;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  overflow: hidden;
  padding: 0.75rem 0;
  position: relative;
  display: none;
}
.marquee-wrap.ready { display: block; }

.marquee-wrap::before,
.marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.marquee-wrap::before { left: 0;  background: linear-gradient(90deg,  #f8f9fa, transparent); }
.marquee-wrap::after  { right: 0; background: linear-gradient(-90deg, #f8f9fa, transparent); }

#marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 55s linear infinite;
}
.marquee-wrap:hover #marquee-track { animation-play-state: paused; }

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.mq-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0 2.25rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #6b7280;
  white-space: nowrap;
}

.mq-dot {
  color: var(--accent);
  font-size: 0.5rem;
  opacity: 0.55;
}

/* ── Comparison tray ─────────────────────────────────────────────────────── */
.compare-tray {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #0f172a;
  border-top: 2px solid var(--accent);
  z-index: 1200;
  transform: translateY(100%);
  transition: transform 0.25s ease;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.25);
}
.compare-tray.visible { transform: translateY(0); }
.compare-tray-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  padding-bottom: calc(0.75rem + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Non-blocking toast notification */
#td-toast {
  position: fixed;
  left: 50%;
  bottom: calc(1.5rem + env(safe-area-inset-bottom));
  transform: translateX(-50%) translateY(20px);
  background: #1c1410;
  color: #fff;
  padding: .8rem 1.4rem;
  border-radius: 10px;
  font-size: .9rem;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .2s;
  z-index: 9999;
  max-width: calc(100vw - 2rem);
}
#td-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.compare-tray-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.compare-tray-chips {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  flex: 1;
}
.compare-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(212,160,80,0.15);
  border: 1px solid rgba(212,160,80,0.35);
  color: #f0c060;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
}
.compare-chip-remove {
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  font-size: 0.7rem;
  padding: 0;
  line-height: 1;
  transition: color 0.15s;
}
.compare-chip-remove:hover { color: #f87171; }
.compare-now-btn {
  white-space: nowrap;
}
.compare-now-btn.disabled {
  opacity: 0.4;
  pointer-events: none;
}
.compare-tray-clear {
  background: none;
  border: none;
  color: #64748b;
  font-size: 0.75rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  transition: color 0.15s;
  white-space: nowrap;
}
.compare-tray-clear:hover { color: #94a3b8; }

/* ── Compare page ────────────────────────────────────────────────────────── */
.cmp-grid {
  display: grid;
  gap: 1.25rem;
  align-items: start;
}
.cmp-grid-1 { grid-template-columns: minmax(0,480px); }
.cmp-grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.cmp-grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
@media (max-width: 768px) {
  .cmp-grid-2, .cmp-grid-3 { grid-template-columns: 1fr; }
}
.cmp-col {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.cmp-col-head {
  padding: 1.25rem 1.25rem 1rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}
.cmp-logo-wrap {
  width: 56px; height: 56px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cmp-logo {
  width: 56px; height: 56px;
  object-fit: contain;
}
.cmp-logo-init {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 800;
  color: var(--accent);
  background: rgba(212,160,80,0.08);
  border-radius: 10px;
}
.cmp-name {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}
.cmp-name a { color: var(--text); text-decoration: none; }
.cmp-name a:hover { color: var(--accent); }
.cmp-section {
  padding: 0.65rem 1.25rem;
  border-bottom: 1px solid var(--border);
}
.cmp-section:last-of-type { border-bottom: none; }
.cmp-row-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}
.cmp-row-val {
  font-size: 0.84rem;
  color: var(--text);
}
.cmp-desc {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
  color: var(--text-muted);
}
.cmp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.cmp-chip {
  background: rgba(212,160,80,0.08);
  border: 1px solid rgba(212,160,80,0.2);
  color: #a07030;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}
.cmp-actions {
  padding: 1rem 1.25rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
}

/* ── Analytics Dashboard ─────────────────────────────────────────────────── */
.dash-hero {
  background: #0f172a;
  padding: 2rem 1.5rem;
  color: #fff;
}
.dash-hero-inner { max-width: 1100px; margin: 0 auto; }
.dash-company-name { font-size: 1.4rem; font-weight: 700; color: #fff; }

.dash-badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .3rem 1rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  flex-shrink: 0;
}
.dash-badge-pro  { background: linear-gradient(135deg, #d4a050, #b07828); color: #fff; }
.dash-badge-free { background: rgba(255,255,255,.1); color: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.15); }

.dash-select {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  padding: .5rem 1rem;
  border-radius: 8px;
  font-family: inherit;
  font-size: .9rem;
  min-width: 260px;
  cursor: pointer;
}

.dash-body { max-width: 1100px; margin: 0 auto; padding: 2rem 1.5rem 4rem; }

/* Stat grid */
.dash-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.dash-stat-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 1.4rem 1.5rem;
}
.dash-stat-label {
  font-size: .7rem;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .45rem;
}
.dash-stat-value { font-size: 2rem; font-weight: 800; color: #111827; line-height: 1; }
.dash-stat-trend { margin-top: .4rem; font-size: .78rem; color: #6b7280; }
.dash-stat-trend.up      { color: #059669; }
.dash-stat-trend.down    { color: #dc2626; }
.dash-stat-trend.neutral { color: #9ca3af; }

/* Generic card */
.dash-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 1.6rem 1.75rem;
  margin-bottom: 1.25rem;
}
.dash-card-title {
  font-size: .9rem;
  font-weight: 700;
  color: #374151;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dash-chart svg { width: 100%; height: auto; display: block; }

/* Enquiry rows */
.enq-row {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: .5rem 1rem;
  align-items: start;
  padding: .85rem 0;
  border-bottom: 1px solid #f3f4f6;
}
.enq-row:last-child { border-bottom: none; }
.enq-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #f1f3f5;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .72rem; color: #6b7280;
  flex-shrink: 0;
}
.enq-name    { font-weight: 600; font-size: .88rem; color: #111827; }
.enq-email   { font-size: .78rem; color: #6b7280; }
.enq-message { font-size: .82rem; color: #374151; margin-top: .18rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 480px; }
.enq-date    { font-size: .74rem; color: #9ca3af; white-space: nowrap; padding-top: .15rem; }

/* Pro gate overlay */
.dash-pro-gate { position: relative; border-radius: 10px; overflow: hidden; }
.dash-pro-gate-blur { filter: blur(5px); pointer-events: none; user-select: none; opacity: .5; }
.dash-pro-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: rgba(255,255,255,.88);
  text-align: center; padding: 2rem;
}
.dash-pro-overlay h3 { font-size: 1rem; font-weight: 700; color: #111827; margin-bottom: .4rem; }
.dash-pro-overlay p  { font-size: .86rem; color: #6b7280; margin-bottom: 1rem; max-width: 320px; }

/* Upgrade CTA card */
.dash-upgrade-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 16px;
  padding: 3rem 2rem;
  text-align: center;
  color: #fff;
  margin-bottom: 1.25rem;
}
.dash-upgrade-inner { max-width: 480px; margin: 0 auto; }
.dash-upgrade-card h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: .6rem; }
.dash-upgrade-card p  { color: rgba(255,255,255,.65); margin-bottom: 1.5rem; }
.dash-upgrade-features { display: flex; flex-direction: column; gap: .45rem; margin: 0 auto 1.5rem; text-align: left; max-width: 280px; }
.dash-upgrade-feature  { font-size: .85rem; color: rgba(255,255,255,.8); }

/* Empty state */
.dash-empty { text-align: center; padding: 5rem 2rem; }
.dash-empty-icon { font-size: 3rem; margin-bottom: 1rem; }
.dash-empty h2 { font-size: 1.4rem; font-weight: 700; color: #111827; margin-bottom: .5rem; }
.dash-empty p  { color: #6b7280; margin-bottom: 1.5rem; max-width: 380px; margin-left: auto; margin-right: auto; }

/* Responsive */
@media (max-width: 900px) {
  .dash-stat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .dash-stat-grid { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .dash-stat-value { font-size: 1.6rem; }
  .dash-body { padding: 1.25rem 1rem 3rem; }
  .dash-card { padding: 1.25rem; }
  .enq-message { max-width: 180px; }
}

/* ── Admin: Users tab ────────────────────────────────────────────────────── */
.users-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.users-table th { text-align: left; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); padding: .6rem 1rem; border-bottom: 2px solid var(--border); }
.users-table td { padding: .75rem 1rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
.users-table tr:last-child td { border-bottom: none; }
.users-table tr:hover td { background: var(--bg); }
.membership-select { font-family: inherit; font-size: .82rem; padding: .3rem .6rem; border: 1px solid var(--border); border-radius: 6px; background: #fff; cursor: pointer; }
.membership-badge { display: inline-block; padding: .2rem .65rem; border-radius: 999px; font-size: .7rem; font-weight: 700; }
.mb-free    { background: #f3f4f6; color: #6b7280; }
.mb-pro     { background: rgba(212,160,80,.15); color: #8a5c18; }
.mb-premium { background: rgba(99,102,241,.1); color: #4f46e5; }
