
/* Mobile Viewport Safety */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100% !important;
}
*, *::before, *::after {
  box-sizing: border-box;
}
@media (max-width: 640px) {
  .hero-proof-grid {
    grid-template-columns: 1fr !important;
  }
  .container, .main-container, .header-container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

:root {
  --primary: #0f2a4a;
  --primary-dark: #0a1c33;
  --primary-light: #1b4372;
  --accent: #f59e0b;
  --accent-hover: #d97706;
  --accent-gold: #b45309;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --bg-light: #f8fafc;
  --bg-alt: #f1f5f9;
  --border: #e2e8f0;
  --border-dark: #cbd5e1;
  --card-bg: #ffffff;
  --success: #15803d;
  --success-bg: #f0fdf4;
  --warning: #b45309;
  --warning-bg: #fefce8;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.07);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-light);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Authority Strip */
.authority-strip {
  background-color: var(--primary-dark);
  color: #94a3b8;
  font-size: 0.78rem;
  letter-spacing: 0.015em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.5rem 1rem;
}

.authority-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem 0.85rem;
}

.authority-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.authority-item .dot {
  color: var(--accent);
  font-size: 0.9rem;
}

.authority-item strong {
  color: #e2e8f0;
  font-weight: 600;
}

/* Header & Navigation */
header.site-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 1.5rem;
  position: relative;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-link {
  color: white;
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-tagline {
  color: #94a3b8;
  font-size: 0.8rem;
  display: none;
}

@media (min-width: 640px) {
  .logo-tagline {
    display: inline;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-link {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.15s;
}

.nav-link:hover {
  color: white;
}

.nav-link.active {
  color: var(--accent);
  font-weight: 600;
}

.nav-btn {
  background: var(--accent);
  color: var(--primary-dark);
  font-weight: 700;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 0.88rem;
  transition: background 0.15s, transform 0.1s;
}

.nav-btn:hover {
  background: var(--accent-hover);
  color: white;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 3.5rem 1.5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(245, 158, 11, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.hero-inner {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.hero p.hero-subtitle {
  font-size: 1.15rem;
  color: #cbd5e1;
  max-width: 820px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

/* Hero Proof Grid */
.hero-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto 1.5rem;
}

@media (min-width: 768px) {
  .hero-proof-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.proof-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 1rem 0.75rem;
  backdrop-filter: blur(4px);
  transition: transform 0.2s, border-color 0.2s;
}

.proof-card:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 158, 11, 0.4);
}

.proof-val {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fbbf24;
  line-height: 1.2;
}

.proof-label {
  font-size: 0.78rem;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 0.25rem;
  font-weight: 500;
}

/* Decision Guide Featured Banner */
.guide-banner {
  background: linear-gradient(90deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  max-width: 960px;
  margin: -1.5rem auto 2.5rem;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .guide-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.guide-banner-content h3 {
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.guide-banner-content p {
  color: #94a3b8;
  font-size: 0.88rem;
  line-height: 1.4;
}

.guide-banner-btn {
  background: var(--accent);
  color: var(--primary-dark);
  font-weight: 700;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 0.88rem;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: background 0.15s;
}

.guide-banner-btn:hover {
  background: var(--accent-hover);
  color: white;
}

/* Main Layout */
.main-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

/* 4-Pillar Trust Framework */
.trust-framework {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  margin-bottom: 3rem;
  box-shadow: var(--shadow-sm);
}

.section-head {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 2rem;
}

.section-tag {
  color: var(--accent-gold);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

.section-head h2 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.section-head p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.pillar-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .pillar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .pillar-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pillar-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

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

.pillar-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: #e0f2fe;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.pillar-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.pillar-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
  flex-grow: 1;
}

.pillar-badge {
  display: inline-block;
  background: white;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-top: 1rem;
}

/* Directory Controls & Dual View Switcher */
.directory-controls {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.controls-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .controls-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.search-wrap {
  flex: 1;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  font-size: 0.95rem;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  outline: none;
  font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.search-input:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(15, 42, 74, 0.15);
}

.search-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.filter-select {
  padding: 0.7rem 1.75rem 0.7rem 0.85rem;
  font-size: 0.88rem;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  background: white;
  color: var(--text-main);
  outline: none;
  font-family: inherit;
  cursor: pointer;
}

.view-switcher {
  display: flex;
  background: var(--bg-alt);
  padding: 0.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  gap: 0.25rem;
}

.view-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  background: transparent;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s;
}

.view-toggle-btn.active {
  background: white;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.results-meta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.count-badge {
  background: #e0f2fe;
  color: #0369a1;
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.8rem;
}

/* Contractor Card Grid */
.contractor-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .contractor-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .contractor-card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contractor-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  box-shadow: var(--shadow-sm);
}

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

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.3;
}

.card-title a {
  color: inherit;
  text-decoration: none;
}

.card-title a:hover {
  color: var(--primary-light);
  text-decoration: underline;
}

.badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--success-bg);
  color: var(--success);
  border: 1px solid #bbf7d0;
  padding: 0.25rem 0.55rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.card-location {
  color: var(--text-muted);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

/* Spec Matrix in Cards */
.card-specs-matrix {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  margin-bottom: 1.25rem;
  text-align: center;
}

.spec-cell-val {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
}

.spec-cell-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  font-weight: 600;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.tag-pill {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid var(--border);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.76rem;
  font-weight: 500;
}

.tag-pill.accent {
  background: #fef3c7;
  color: #92400e;
  border-color: #fde68a;
  font-weight: 600;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.card-actions .btn-profile {
  grid-column: 1 / -1;
}

@media (max-width: 480px) {
  .card-actions {
    grid-template-columns: 1fr;
  }
}

.trust-strip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.65rem;
  margin-bottom: 0.85rem;
  font-size: 0.775rem;
  color: #166534;
  line-height: 1.35;
}

.trust-strip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  background-color: #16a34a;
  color: #ffffff;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 800;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s;
  flex: 1;
  text-align: center;
}

.btn-call {
  background: var(--success);
  color: white;
  border: 1px solid var(--success);
}

.btn-call:hover {
  background: #166534;
  border-color: #166534;
}

.btn-dispatch {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff !important;
  border: 1px solid #0369a1;
  font-weight: 600;
  gap: 0.45rem;
  box-shadow: 0 1px 2px rgba(2, 132, 199, 0.2);
}

.btn-dispatch:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
  color: #ffffff !important;
  border-color: #075985;
  box-shadow: 0 2px 4px rgba(2, 132, 199, 0.3);
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-web {
  background: white;
  color: var(--primary);
  border: 1px solid var(--border-dark);
}

.btn-web:hover {
  background: var(--bg-alt);
  color: var(--primary-dark);
}

.btn-profile {
  background: var(--primary);
  color: white;
  border: 1px solid var(--primary);
}

.btn-profile:hover {
  background: var(--primary-light);
}

/* Comparison Table View */
.contractor-table-container {
  display: none;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
  margin-bottom: 3rem;
}

.contractor-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

.contractor-table th {
  background: var(--bg-alt);
  color: var(--text-main);
  font-weight: 700;
  padding: 0.85rem 1rem;
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
}

.contractor-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.contractor-table tr:hover {
  background: #f8fafc;
}

.table-contractor-name {
  font-weight: 700;
  color: var(--primary);
}

.table-contractor-name a {
  color: inherit;
  text-decoration: none;
}

.table-contractor-name a:hover {
  text-decoration: underline;
}

/* Industry Use Cases Grid */
.use-case-section {
  margin-bottom: 3.5rem;
}

.use-case-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .use-case-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .use-case-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.use-case-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.use-case-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.use-case-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* Contractor Profile Styles */
.profile-wrapper {
  max-width: 1000px;
  margin: 2rem auto 4rem;
  padding: 0 1.5rem;
}

.breadcrumbs {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.breadcrumbs a {
  color: var(--primary);
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.profile-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-sm);
}

.profile-header-area {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.profile-header-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.profile-header-top h1 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}

.profile-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  align-items: center;
}

.profile-cta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.spec-box {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
}

.spec-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
}

.spec-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 0.25rem;
}

.section-block {
  margin-top: 2rem;
}

.section-block h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.check-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .check-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.check-list li {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
}

/* Provenance and Disclaimer */
.disclaimer-box {
  background: #f8fafc;
  border-left: 4px solid var(--accent);
  border-radius: 4px;
  padding: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 2.5rem;
}

/* Site Footer */
footer.site-footer {
  background: var(--primary-dark);
  color: #94a3b8;
  padding: 3rem 1.5rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.15s;
}

.footer-links a:hover {
  color: white;
}

.footer-copy {
  font-size: 0.82rem;
  color: #64748b;
}

/* Commercial Dispatch Protocol Section */
.commercial-dispatch-section {
  margin: 3.5rem 0 2.5rem;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border-radius: var(--radius);
  padding: 2.75rem 2.25rem;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.25);
  border: 1px solid #334155;
}

.commercial-dispatch-header {
  max-width: 800px;
  margin-bottom: 2rem;
}

.commercial-dispatch-header h2 {
  color: #ffffff;
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.commercial-dispatch-header p {
  color: #cbd5e1;
  font-size: 1.05rem;
  line-height: 1.6;
}

.commercial-dispatch-protocol {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.protocol-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.protocol-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.25);
}

.protocol-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #0284c7;
  color: #ffffff;
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.protocol-card h3 {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.protocol-card p {
  color: #94a3b8;
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 0;
}

.commercial-dispatch-cta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 1.75rem;
  border-radius: var(--radius-sm);
  gap: 1.5rem;
}

.commercial-dispatch-cta-text {
  font-size: 0.95rem;
  color: #e2e8f0;
}

.commercial-dispatch-cta-text strong {
  color: #ffffff;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .commercial-dispatch-protocol {
    grid-template-columns: 1fr;
  }
  .commercial-dispatch-cta-bar {
    flex-direction: column;
    text-align: center;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero p.hero-subtitle {
    font-size: 1rem;
  }
  .nav-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    flex-direction: column;
    padding: 1rem 1.5rem;
    gap: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-lg);
    z-index: 100;
  }
  .nav-links.open {
    display: flex;
  }
  .profile-header-top h1 {
    font-size: 1.7rem;
  }
}

/* Commercial Project Quote Modal */
.quote-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.quote-modal.active,
.quote-modal[aria-hidden="false"] {
  display: flex;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  z-index: 1001;
}

.modal-content {
  position: relative;
  z-index: 1002;
  background: #ffffff;
  border-radius: var(--radius);
  max-width: 620px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.25), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
  border: 1px solid #cbd5e1;
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  font-size: 1.75rem;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
  padding: 0.25rem;
  transition: color 0.15s ease;
}

.modal-close-btn:hover {
  color: #0f172a;
}

.modal-header {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e2e8f0;
}

@media (max-width: 640px) {
  .modal-content {
    padding: 1.25rem;
  }
}
