/* ============================================
   SHEConnext – Global Styles
   Brand: #1f4f66 (primary teal-navy)
   ============================================ */

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

:root {
  --primary: #1f4f66;
  --primary-light: #2a6b8a;
  --primary-dark: #163a4d;
  --accent: #e6f6ff;
  --success: #047857;
  --success-bg: #ecfdf5;
  --warning: #d97706;
  --warning-bg: #fffbeb;
  --error: #dc2626;
  --error-bg: #fef2f2;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #e5e7eb;
  --bg: #f8fafc;
  --white: #ffffff;
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --radius: 12px;
  --radius-sm: 8px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
}

/* ============ HEADER ============ */
header {
  background: var(--primary);
  color: white;
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 24px;
}
.brand {
  text-decoration: none;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: 72px;
}
.nav-logo {
  height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
}
.hero-logo {
  display: block;
  max-width: 520px;
  width: 82%;
  height: auto;
  margin: 0 auto 24px;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}
.footer-logo {
  display: block;
  max-width: 280px;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #ffffff;
  border-radius: 10px;
  padding: 6px 12px;
  box-sizing: border-box;
}
.banner-shield {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  height: 110px;
  width: auto;
  object-fit: contain;
  border-radius: 14px;
  pointer-events: none;
  user-select: none;
}
.banner-logo {
  position: absolute;
  left: 96px;
  top: 50%;
  transform: translateY(-50%);
  height: 58px;
  width: auto;
  background: #fff;
  border-radius: 10px;
  padding: 5px 12px;
  border: 2px solid #7dd3fc;
  box-sizing: content-box;
}
@media (max-width: 900px) {
  .banner-shield { height: 80px; left: 16px; border-radius: 12px; }
}
@media (max-width: 640px) {
  .banner-shield { height: 60px; left: 10px; border-radius: 10px; }
}
nav { display: flex; align-items: center; gap: 2px; }
nav a {
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
nav a:hover { background: rgba(255,255,255,0.12); color: white; }
nav a.active { background: rgba(255,255,255,0.18); color: white; }
.nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav-pill {
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.22);
  color: white;
  font-size: 13px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.15s;
  white-space: nowrap;
}
.nav-pill:hover { background: rgba(255,255,255,0.25); }
.nav-pill.solid { background: white; color: var(--primary); border-color: white; }
.nav-pill.solid:hover { background: #dff0fa; }

/* ============ LAYOUT ============ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.page-wrapper { padding: 40px 0 72px; }
.sidebar-layout { display: grid; grid-template-columns: 270px 1fr; gap: 24px; align-items: start; }

/* ============ TYPOGRAPHY ============ */
h1 { font-size: 2rem; font-weight: 800; margin: 0 0 12px; line-height: 1.2; }
h2 { font-size: 1.4rem; font-weight: 700; margin: 0 0 12px; }
h3 { font-size: 1.1rem; font-weight: 700; margin: 0 0 8px; }
h4 { font-size: 0.95rem; font-weight: 700; margin: 0 0 6px; }
p { margin: 0 0 12px; }
.muted { color: var(--muted); }
.section-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 6px;
}

/* ============ CARDS ============ */
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.card-sm { padding: 16px; }
.card-hover { transition: box-shadow 0.15s, transform 0.15s; }
.card-hover:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card + .card { margin-top: 16px; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid var(--primary);
  background: var(--accent);
  color: var(--primary);
  transition: all 0.15s;
  white-space: nowrap;
  font-family: inherit;
  line-height: 1.4;
}
.btn:hover { background: #cce9f8; }
.btn-primary { background: var(--primary); color: white; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-light); color: white; }
.btn-danger { background: #fef2f2; color: var(--error); border-color: #fca5a5; }
.btn-danger:hover { background: #fee2e2; }
.btn-success { background: var(--success-bg); color: var(--success); border-color: #6ee7b7; }
.btn-success:hover { background: #d1fae5; }
.btn-sm { padding: 6px 12px; font-size: 13px; }
.btn-lg { padding: 13px 28px; font-size: 15px; border-radius: 10px; }
.btn-block { display: flex; width: 100%; justify-content: center; }

/* ============ FORMS ============ */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 5px; color: var(--text); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
input[type="text"], input[type="email"], input[type="password"], input[type="number"],
input[type="date"], input[type="url"], textarea, select {
  width: 100%;
  padding: 10px 13px;
  border: 1px solid #d1d5db;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: white;
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: auto;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(31,79,102,0.1);
}
textarea { resize: vertical; min-height: 100px; }
.checkbox-group { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.checkbox-item {
  display: flex; align-items: center; gap: 7px;
  padding: 7px 13px; border: 1px solid var(--border);
  border-radius: 8px; cursor: pointer; font-size: 13px; font-weight: 600;
  transition: all 0.12s; user-select: none;
}
.checkbox-item:hover { border-color: var(--primary); background: var(--accent); }
.checkbox-item input { width: auto; margin: 0; accent-color: var(--primary); }

/* ============ BADGES & PILLS ============ */
.pill {
  display: inline-block;
  padding: 3px 10px;
  background: #e0f2fe;
  color: #0369a1;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.badge {
  display: inline-block;
  padding: 3px 9px;
  background: var(--success-bg);
  color: var(--success);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
}
.badge-blue { background: #eff6ff; color: #1d4ed8; }
.badge-orange { background: var(--warning-bg); color: var(--warning); }
.badge-gray { background: #f3f4f6; color: #4b5563; }
.badge-red { background: var(--error-bg); color: var(--error); }
.status-available { color: #059669; font-weight: 700; }
.status-limited { color: var(--warning); font-weight: 700; }
.status-unavailable { color: var(--muted); font-weight: 700; }

/* ============ FLASH MESSAGES ============ */
.flash {
  padding: 13px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 14px;
  border-left: 4px solid;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.flash-success { background: var(--success-bg); color: var(--success); border-color: var(--success); }
.flash-error { background: var(--error-bg); color: var(--error); border-color: var(--error); }
.flash-info { background: var(--accent); color: var(--primary); border-color: var(--primary); }

/* ============ HERO ============ */
.hero {
  background: linear-gradient(rgba(10,30,45,0.72), rgba(15,50,68,0.78)),
              url('/assets/hero-bg.jpg') center/cover no-repeat;
  color: white;
  padding: 72px 24px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(125,211,252,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero-eyebrow {
  display: inline-block;
  background: rgba(125,211,252,0.2);
  color: #7dd3fc;
  border: 1px solid rgba(125,211,252,0.35);
  border-radius: 999px;
  padding: 4px 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 20px;
}
.hero h1 { font-size: 3rem; color: white; margin-bottom: 18px; line-height: 1.15; }
.hero p { font-size: 1.1rem; opacity: 0.88; max-width: 600px; margin: 0 auto 32px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-btn {
  padding: 13px 24px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.15s;
  border: 2px solid transparent;
}
.hero-btn-primary { background: white; color: var(--primary); }
.hero-btn-primary:hover { background: #e6f6ff; transform: translateY(-1px); }
.hero-btn-outline { background: rgba(255,255,255,0.1); color: white; border-color: rgba(255,255,255,0.5); }
.hero-btn-outline:hover { background: rgba(255,255,255,0.18); border-color: white; transform: translateY(-1px); }
.hero-stats {
  display: flex;
  gap: 48px;
  justify-content: center;
  margin-top: 52px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.15);
  flex-wrap: wrap;
  gap: 32px;
}
.hero-stat { text-align: center; }
.hero-stat .num { font-size: 2.2rem; font-weight: 800; color: #7dd3fc; line-height: 1; }
.hero-stat .label { font-size: 12px; opacity: 0.75; margin-top: 4px; }

/* ============ TRUST BAR ============ */
.trust-bar {
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.trust-item { color: var(--text); }
.trust-divider { color: var(--border); font-size: 18px; }

/* ============ CATEGORY GRID ============ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 10px;
}
.cat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px 16px;
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  display: block;
  transition: all 0.15s;
  box-shadow: var(--shadow);
}
.cat-card:hover { border-color: var(--primary); background: var(--accent); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.cat-card .cat-icon { font-size: 26px; margin-bottom: 8px; display: block; }
.cat-card .cat-name { font-size: 13px; font-weight: 700; line-height: 1.3; }

/* ============ HOW IT WORKS ============ */
.how-it-works {
  background: white;
  border-radius: var(--radius);
  padding: 48px 40px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.step { text-align: center; }
.step-num {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--primary);
  color: white; font-size: 20px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 4px 10px rgba(31,79,102,0.3);
}
.step h3 { font-size: 15px; margin-bottom: 8px; }
.step p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ============ PROFESSIONAL CARDS ============ */
.pro-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: box-shadow 0.15s, transform 0.15s;
  display: flex;
  flex-direction: column;
}
.pro-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.pro-card-header { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 12px; }
.pro-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white; display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800; flex-shrink: 0;
}
.pro-card-meta {
  font-size: 13px; color: var(--muted);
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 10px; align-items: center;
}
.pro-card-services { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 8px; }
.pro-card-certs { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 14px; }
.pro-card-footer { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border); }
.featured-badge {
  font-size: 11px; font-weight: 700;
  background: #fef3c7; color: #92400e;
  padding: 2px 8px; border-radius: 999px;
}

/* ============ OPEN PROJECTS PREVIEW ============ */
.open-projects-preview { display: flex; flex-direction: column; gap: 10px; }
.company-preview-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow);
  transition: all 0.15s;
}
.company-preview-card:hover { box-shadow: var(--shadow-md); border-color: #bae6fd; }
.company-preview-logo {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--primary); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800; flex-shrink: 0;
}
.company-preview-info { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-width: 200px; }
.company-preview-info strong { font-size: 15px; }
.company-preview-desc { flex: 1; font-size: 13px; color: var(--muted); }
.company-preview-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--accent);
  border: 1px dashed #7dd3fc;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

/* ============ VALUE GRID ============ */
.value-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.value-card {
  background: white;
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.value-icon { font-size: 36px; margin-bottom: 14px; }
.value-card h3 { font-size: 1.2rem; color: var(--primary); margin-bottom: 12px; }
.value-card p { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.value-list { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-direction: column; gap: 8px; }
.value-list li { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--text); }
.value-list li::before { content: '✓'; color: var(--success); font-weight: 800; flex-shrink: 0; }

/* ============ CTA BANNER ============ */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
  border-radius: 16px;
  padding: 56px 40px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(125,211,252,0.1) 0%, transparent 60%);
  pointer-events: none;
}
.cta-banner h2 { color: white; font-size: 1.8rem; margin-bottom: 10px; }
.cta-banner p { opacity: 0.85; max-width: 500px; margin: 0 auto; font-size: 15px; }

/* ============ PRICING BANNER ============ */
.pricing-banner {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border: 1px solid #bae6fd;
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
}
.pricing-banner h3 { color: var(--primary); margin-bottom: 8px; }

/* ============ KPI STATS ============ */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; margin-bottom: 24px; }
.kpi {
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.kpi .kpi-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--muted); margin-bottom: 6px; }
.kpi .kpi-value { font-size: 2rem; font-weight: 800; color: var(--primary); line-height: 1; }
.kpi .kpi-sub { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* ============ TABLES ============ */
.table-wrap { overflow-x: auto; border-radius: var(--radius-sm); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th {
  text-align: left; padding: 10px 14px;
  background: #f9fafb;
  font-weight: 700; font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.5px;
  color: var(--muted); border-bottom: 2px solid var(--border);
}
td { padding: 12px 14px; border-bottom: 1px solid #f3f4f6; vertical-align: middle; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: #fafafa; }

/* ============ FILTER SIDEBAR ============ */
.filter-sidebar {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  position: sticky;
  top: 80px;
}
.filter-sidebar h3 { margin-bottom: 18px; color: var(--primary); font-size: 15px; }
.filter-group { margin-bottom: 16px; }
.filter-group label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; color: var(--muted); }

/* ============ SECTION HEADER ============ */
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; }

/* ============ FOOTER ============ */
footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.65);
  padding: 52px 24px 24px;
  margin-top: 0;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
.footer-brand { font-size: 18px; font-weight: 800; color: white; margin-bottom: 8px; }
.footer-brand span { color: #7dd3fc; }
.footer-tagline { font-size: 13px; opacity: 0.65; max-width: 220px; line-height: 1.5; }
.footer-col h4 { color: white; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 14px; }
.footer-col a { display: block; color: rgba(255,255,255,0.6); text-decoration: none; font-size: 13px; margin-bottom: 9px; transition: color 0.15s; }
.footer-col a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; flex-wrap: wrap; gap: 8px; }

/* ============ PROFILE PAGE ============ */
.profile-layout { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
.profile-avatar {
  width: 88px; height: 88px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white; display: flex; align-items: center; justify-content: center;
  font-size: 32px; font-weight: 800; flex-shrink: 0;
}
.profile-meta { display: flex; flex-wrap: wrap; gap: 16px; color: var(--muted); font-size: 14px; margin-top: 10px; }

/* ============ AUTH ============ */
.auth-wrapper {
  min-height: calc(100vh - 64px);
  display: flex; align-items: center; justify-content: center;
  padding: 40px 24px;
  background: var(--bg);
}
.auth-card {
  background: white;
  border-radius: var(--radius);
  padding: 40px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  width: 100%; max-width: 460px;
}
.auth-card h1 { font-size: 1.6rem; text-align: center; margin-bottom: 4px; }
.auth-sub { text-align: center; color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--muted); font-size: 13px; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.role-selector { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 24px; }
.role-option {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 16px 12px; border: 2px solid var(--border);
  border-radius: 10px; cursor: pointer; transition: all 0.15s; text-align: center;
}
.role-option:has(input:checked) { border-color: var(--primary); background: var(--accent); }
.role-option input { position: absolute; opacity: 0; pointer-events: none; }
.role-option .role-icon { font-size: 26px; }
.role-option .role-label { font-size: 13px; font-weight: 700; color: var(--text); }
.role-option .role-desc { font-size: 11px; color: var(--muted); }

/* ============ DASHBOARD ============ */
.dash-layout { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: start; }
.dash-nav {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: sticky;
  top: 80px;
}
.dash-nav-header {
  background: var(--primary);
  color: white; padding: 16px;
  font-weight: 700; font-size: 13px;
  letter-spacing: 0.2px;
}
.dash-nav a {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; font-size: 14px; font-weight: 600;
  color: var(--text); text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: background 0.12s;
}
.dash-nav a:hover { background: var(--bg); }
.dash-nav a.active { background: var(--accent); color: var(--primary); border-left: 3px solid var(--primary); }
.dash-nav a:last-child { border-bottom: none; }

/* ============ CONTACT BOX ============ */
.contact-box {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border: 1px solid #bae6fd;
  border-radius: var(--radius);
  padding: 22px;
}

/* ============ EMPTY STATE ============ */
.empty-state { text-align: center; padding: 48px 24px; color: var(--muted); }
.empty-state .icon { font-size: 44px; margin-bottom: 14px; }
.empty-state h3 { color: var(--text); margin-bottom: 6px; }

/* ============ MARKETPLACE SEARCH BAR ============ */
.search-bar-card {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 20px 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 10px;
  align-items: flex-end;
  flex-wrap: wrap;
}
.search-bar-card .search-field { flex: 1; min-width: 220px; }
.search-bar-card label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--muted); margin-bottom: 5px; display: block; }

/* ============ RESULT CARD (marketplace list) ============ */
.result-card {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 20px 24px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.15s, border-color 0.15s;
}
.result-card:hover { box-shadow: var(--shadow-md); border-color: #bae6fd; }

/* ============ GRID LAYOUTS ============ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .sidebar-layout { grid-template-columns: 1fr; }
  .filter-sidebar { position: static; }
  .profile-layout { grid-template-columns: 1fr; }
  .dash-layout { grid-template-columns: 1fr; }
  .dash-nav { position: static; }
  .steps { grid-template-columns: 1fr 1fr; gap: 20px; }
  .value-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: 2rem; }
  .hero-stats { gap: 20px; }
  .hero-actions { flex-direction: column; align-items: center; }
  h1 { font-size: 1.6rem; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .header-inner { flex-wrap: wrap; height: auto; padding: 12px 0; gap: 10px; }
  nav { gap: 0; }
  nav a { padding: 5px 8px; font-size: 13px; }
  .how-it-works { padding: 28px 20px; }
  .cta-banner { padding: 36px 20px; }
  .company-preview-desc { display: none; }
  .company-preview-card { flex-wrap: wrap; }
  .nav-logo { height: 32px; }
  .hero-logo { max-width: 320px; width: 88%; margin-bottom: 20px; }
  .footer-logo { max-width: 120px; }
}
