/* ==========================================================================
   NETWORK SOLUTIONIST — PRODUCTION DESIGN SYSTEM
   Modern, Mobile-First, Accessible, Enterprise-Grade Stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties & Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand Colors (OKLCH & Hex Fallbacks) */
  --navy-deep: #0b1524;
  --navy: #152438;
  --navy-light: #1e334f;
  --teal: #196774;
  --teal-light: #38a3a5;
  --teal-glow: #57cc99;
  --teal-soft: #e8f4f5;
  --brand-crimson: #d93829;
  --brand-crimson-dark: #b82618;
  --brand-crimson-light: #fef2f1;
  --gold: #f59e0b;
  
  /* Surfaces & Text */
  --background: #ffffff;
  --foreground: #0f172a;
  --surface-alt: #f8fafc;
  --surface-card: #ffffff;
  --muted-text: #475569;
  --subtle-text: #64748b;
  --border: #e2e8f0;
  --border-focus: #196774;

  /* Header & Navigation */
  --header-height: 76px;
  --header-bg: rgba(255, 255, 255, 0.92);
  --header-border: rgba(226, 232, 240, 0.8);

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #0b1524 0%, #152438 52%, #196774 100%);
  --gradient-teal: linear-gradient(135deg, #196774 0%, #38a3a5 100%);
  --gradient-crimson: linear-gradient(135deg, #d93829 0%, #b82618 100%);
  --gradient-subtle: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  --gradient-card: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);

  /* Typography */
  --font-display: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Elevation & Shadows */
  --shadow-sm: 0 1px 3px rgba(11, 21, 36, 0.06);
  --shadow-card: 0 4px 20px -2px rgba(11, 21, 36, 0.08);
  --shadow-hover: 0 14px 32px -4px rgba(11, 21, 36, 0.12);
  --shadow-elegant: 0 20px 48px -10px rgba(11, 21, 36, 0.28);
  --shadow-modal: 0 25px 60px -15px rgba(0, 0, 0, 0.4);

  /* Spacing & Radii */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-pill: 9999px;
  --container-max: 1280px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 350ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. Modern Reset & Box Sizing
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--foreground);
  background-color: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
}

/* CRITICAL: Never use overflow-x: hidden on html/body as it breaks position: sticky */
html, body {
  min-height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  color: var(--foreground);
  background: var(--background);
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--foreground);
}

/* --------------------------------------------------------------------------
   3. Container & Layout Utilities
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

@media (min-width: 640px) {
  .container {
    padding-inline: 2rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-inline: 2.5rem;
  }
}

.site-main {
  flex: 1 0 auto;
  min-width: 0;
}

.section-padding {
  padding-block: clamp(3.5rem, 6vw, 6rem);
}

.section-padding-sm {
  padding-block: clamp(2.5rem, 4vw, 4rem);
}

.text-center {
  text-align: center;
}

.mx-auto {
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   4. Sticky Header & Glassmorphic Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  height: var(--header-height);
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--header-border);
  transition: box-shadow var(--transition-normal), background var(--transition-normal);
}

.site-header.is-scrolled {
  box-shadow: 0 4px 20px -2px rgba(11, 21, 36, 0.09);
  background: rgba(255, 255, 255, 0.98);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1.5rem;
}

.site-logo-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  outline-offset: 4px;
}

.site-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
}

/* Desktop Navigation */
.desktop-nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

@media (min-width: 1024px) {
  .desktop-nav {
    display: flex;
  }
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #334155;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.25rem;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.active {
  color: var(--brand-crimson);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 100%;
  height: 2px;
  background: var(--brand-crimson);
  border-radius: var(--radius-pill);
}

/* Dropdown Menu Architecture */
.nav-dropdown-item {
  position: relative;
}

.dropdown-trigger {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #334155;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.25rem;
  transition: color var(--transition-fast);
  cursor: pointer;
}

.dropdown-trigger:hover,
.dropdown-trigger:focus-visible,
.nav-dropdown-item:focus-within .dropdown-trigger,
.nav-dropdown-item.is-open .dropdown-trigger {
  color: var(--brand-crimson);
}

.dropdown-chevron {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-fast);
}

.nav-dropdown-item:hover .dropdown-chevron,
.nav-dropdown-item:focus-within .dropdown-chevron,
.nav-dropdown-item.is-open .dropdown-chevron {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-start: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 290px;
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hover);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition-normal), transform var(--transition-normal), visibility var(--transition-normal);
  z-index: 1050;
  max-height: 75vh;
  overflow-y: auto;
}

.nav-dropdown-item:hover .dropdown-menu,
.nav-dropdown-item:focus-within .dropdown-menu,
.nav-dropdown-item.is-open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-header-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1rem;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--navy);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.dropdown-header-link:hover,
.dropdown-header-link:focus-visible {
  background: var(--teal-soft);
  color: var(--teal);
}

.dropdown-link {
  display: flex;
  align-items: center;
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #334155;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.dropdown-link:hover,
.dropdown-link:focus-visible,
.dropdown-link.active {
  background: var(--surface-alt);
  color: var(--brand-crimson);
  font-weight: 600;
}

/* Portal Badge Nav */
.nav-portal-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand-crimson);
  background: var(--brand-crimson-light);
  border: 1px solid rgba(217, 56, 41, 0.25);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.nav-portal-badge:hover,
.nav-portal-badge:focus-visible {
  background: var(--brand-crimson);
  color: #ffffff;
  border-color: var(--brand-crimson);
}

/* Header CTAs */
.header-actions {
  display: none;
  align-items: center;
  gap: 1.25rem;
}

@media (min-width: 1024px) {
  .header-actions {
    display: flex;
  }
}

.header-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy);
  transition: color var(--transition-fast);
}

.header-phone-link:hover,
.header-phone-link:focus-visible {
  color: var(--brand-crimson);
}

.header-phone-link svg {
  width: 16px;
  height: 16px;
  color: var(--teal);
}

/* Mobile Nav Toggle */
.mobile-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  color: var(--navy);
  background: var(--surface-alt);
  border: 1px solid var(--border);
  transition: background var(--transition-fast), color var(--transition-fast);
}

@media (min-width: 1024px) {
  .mobile-toggle-btn {
    display: none;
  }
}

.mobile-toggle-btn:hover,
.mobile-toggle-btn:focus-visible {
  background: var(--border);
  color: var(--brand-crimson);
}

.mobile-toggle-btn svg {
  width: 24px;
  height: 24px;
}

/* Mobile Drawer Overlay */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 21, 36, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.mobile-drawer-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  inset-inline-end: 0;
  width: min(85vw, 380px);
  height: 100vh;
  background: var(--surface-card);
  z-index: 1200;
  box-shadow: var(--shadow-modal);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--transition-smooth);
  overflow-y: auto;
}

[dir="rtl"] .mobile-drawer {
  transform: translateX(-100%);
}

.mobile-drawer.is-active {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.mobile-close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  color: var(--muted-text);
  background: var(--surface-alt);
}

.mobile-drawer-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--brand-crimson);
}

.mobile-sub-menu {
  padding-inline-start: 1rem;
  margin-block: 0.25rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mobile-sub-link {
  font-size: 0.875rem;
  color: var(--muted-text);
  padding: 0.4rem 0.5rem;
  border-radius: var(--radius-sm);
}

.mobile-sub-link:hover,
.mobile-sub-link.active {
  color: var(--brand-crimson);
  background: var(--surface-alt);
}

.mobile-drawer-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--surface-alt);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* --------------------------------------------------------------------------
   5. Buttons, Badges & UI Primitives
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--transition-normal);
  white-space: nowrap;
  cursor: pointer;
}

.btn-primary {
  background: var(--gradient-teal);
  color: #ffffff;
  box-shadow: var(--shadow-card);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  color: #ffffff;
}

.btn-crimson {
  background: var(--gradient-crimson);
  color: #ffffff;
  box-shadow: var(--shadow-card);
}

.btn-crimson:hover,
.btn-crimson:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  color: #ffffff;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
  color: #ffffff;
}

.btn-secondary-dark {
  background: #ffffff;
  color: var(--navy);
  box-shadow: var(--shadow-card);
}

.btn-secondary-dark:hover,
.btn-secondary-dark:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  background: #f8fafc;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--radius-pill);
}

.badge-glow {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal-glow);
  box-shadow: 0 0 8px var(--teal-glow);
}

.badge-accent {
  background: var(--brand-crimson-light);
  color: var(--brand-crimson);
  border: 1px solid rgba(217, 56, 41, 0.2);
}

.badge-teal {
  background: var(--teal-soft);
  color: var(--teal);
  border: 1px solid rgba(25, 103, 116, 0.2);
}

/* --------------------------------------------------------------------------
   6. Hero Section Architecture
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  background: var(--gradient-hero);
  color: #ffffff;
  overflow: hidden;
  padding-block: clamp(4.5rem, 8vw, 7.5rem);
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  pointer-events: none;
}

.hero-bg-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: luminosity;
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 21, 36, 0.95) 0%, rgba(21, 36, 56, 0.75) 55%, rgba(25, 103, 116, 0.35) 100%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  align-items: center;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-title {
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.hero-title .highlight {
  color: var(--teal-light);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  max-width: 600px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

.hero-visual-card {
  position: relative;
  border-radius: var(--radius-2xl);
  padding: 0.65rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-elegant);
}

.hero-visual-card img {
  border-radius: var(--radius-xl);
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   7. Stat Strip (Proof & Metrics)
   -------------------------------------------------------------------------- */
.stat-strip {
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border);
  padding-block: 2.25rem;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  text-align: center;
}

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

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1;
  color: var(--brand-crimson);
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-text);
}

/* --------------------------------------------------------------------------
   8. Section Headers & Text
   -------------------------------------------------------------------------- */
.section-header {
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.section-tagline {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-crimson);
  margin-bottom: 0.5rem;
}

.section-tagline-teal {
  color: var(--teal-light);
}

.section-title {
  font-size: clamp(1.875rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.section-description {
  font-size: 1.0625rem;
  color: var(--muted-text);
  max-width: 680px;
  margin-top: 0.75rem;
}

/* --------------------------------------------------------------------------
   9. Service Cards Grid
   -------------------------------------------------------------------------- */
.card-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: 1fr;
}

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

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

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(25, 103, 116, 0.4);
}

.card-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  background: var(--gradient-teal);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 16px -4px rgba(25, 103, 116, 0.3);
}

.card-icon-wrap svg {
  width: 26px;
  height: 26px;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--navy);
}

.card-body {
  font-size: 0.9375rem;
  color: var(--muted-text);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--brand-crimson);
  transition: gap var(--transition-fast);
}

.card-link:hover {
  gap: 0.7rem;
}

.card-link svg {
  width: 16px;
  height: 16px;
}

/* --------------------------------------------------------------------------
   10. Feature & Comparison Sections (Split Two-Column)
   -------------------------------------------------------------------------- */
.split-section {
  display: grid;
  align-items: center;
  gap: 3rem;
}

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

.split-section-reverse {
  direction: ltr;
}

@media (min-width: 1024px) {
  .split-section-reverse > *:first-child {
    order: 2;
  }
  .split-section-reverse > *:last-child {
    order: 1;
  }
}

.split-image-wrapper {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
}

.split-image-wrapper img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.feature-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

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

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: inherit;
}

.feature-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--teal-light);
  margin-top: 2px;
}

/* Dark Split Variant */
.bg-navy-dark {
  background: var(--navy-deep);
  color: #ffffff;
}

.bg-navy-dark .section-title {
  color: #ffffff;
}

.bg-navy-dark .section-description {
  color: rgba(255, 255, 255, 0.8);
}

.bg-navy-dark .feature-item {
  color: rgba(255, 255, 255, 0.9);
}

/* --------------------------------------------------------------------------
   11. Download Cards Grid (Free Resources)
   -------------------------------------------------------------------------- */
.download-card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.download-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.download-card-image {
  height: 210px;
  width: 100%;
  object-fit: cover;
}

.download-card-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.download-card-title {
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.download-card-desc {
  font-size: 0.875rem;
  color: var(--muted-text);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
}

.download-btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1rem;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy);
  transition: all var(--transition-fast);
}

.download-btn-link:hover {
  background: var(--brand-crimson);
  color: #ffffff;
  border-color: var(--brand-crimson);
}

.download-btn-link svg {
  width: 16px;
  height: 16px;
}

/* --------------------------------------------------------------------------
   12. Testimonials (Verified Google Reviews)
   -------------------------------------------------------------------------- */
.testimonials-section {
  background: var(--surface-alt);
  border-block: 1px solid var(--border);
}

.review-badge-bar {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1rem 1.75rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 3rem;
}

.google-icon-svg {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.rating-score {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

.stars-row {
  display: flex;
  align-items: center;
  gap: 2px;
  color: var(--gold);
}

.stars-row svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.rating-caption {
  font-size: 0.8125rem;
  color: var(--subtle-text);
}

.testimonial-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: 1fr;
}

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

.testimonial-card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.testimonial-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.testimonial-quote {
  font-size: 0.9375rem;
  color: var(--foreground);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.5rem;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9375rem;
}

.author-meta {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--navy);
}

.author-title {
  font-size: 0.75rem;
  color: var(--muted-text);
}

/* --------------------------------------------------------------------------
   13. Accordion FAQ Component
   -------------------------------------------------------------------------- */
.faq-container {
  max-width: 820px;
  margin-inline: auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface-card);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.is-open {
  border-color: var(--teal);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  text-align: start;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--navy);
  transition: color var(--transition-fast);
}

.faq-trigger:hover,
.faq-trigger:focus-visible {
  color: var(--brand-crimson);
}

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--teal);
  transition: transform var(--transition-normal);
}

.faq-item.is-open .faq-icon {
  transform: rotate(180deg);
}

.faq-content {
  display: none;
  padding: 0 1.5rem 1.5rem 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--muted-text);
  border-top: 1px solid rgba(226, 232, 240, 0.4);
  padding-top: 1rem;
}

.faq-item.is-open .faq-content {
  display: block;
}

/* --------------------------------------------------------------------------
   14. CTA Banner (High-Impact Conversion)
   -------------------------------------------------------------------------- */
.cta-banner {
  position: relative;
  background: var(--gradient-hero);
  color: #ffffff;
  border-radius: var(--radius-2xl);
  padding: clamp(2.5rem, 5vw, 4rem);
  box-shadow: var(--shadow-elegant);
  overflow: hidden;
}

.cta-banner-grid {
  position: relative;
  display: grid;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .cta-banner-grid {
    grid-template-columns: 1fr auto;
  }
}

.cta-banner-title {
  font-size: clamp(1.875rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.cta-banner-desc {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 620px;
}

.cta-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* --------------------------------------------------------------------------
   15. Contact Page & Forms Architecture
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1.25fr 1fr;
  }
}

.form-card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-card);
}

.contact-form {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.form-row {
  display: grid;
  gap: 1.25rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
}

.form-label .required {
  color: var(--brand-crimson);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface-card);
  color: var(--foreground);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(25, 103, 116, 0.18);
}

.form-textarea {
  min-height: 130px;
  resize: vertical;
}

/* Honeypot anti-spam */
.honeypot-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  z-index: -1;
  pointer-events: none;
}

/* Contact Info Aside */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: clamp(1.75rem, 4vw, 2.25rem);
  box-shadow: var(--shadow-card);
}

.contact-item-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--gradient-teal);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 20px;
  height: 20px;
}

.contact-item-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-text);
}

.contact-item-value {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--navy);
  margin-top: 0.15rem;
  line-height: 1.5;
}

.contact-item-value a:hover {
  color: var(--brand-crimson);
}

.map-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  height: 260px;
}

.map-card iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* --------------------------------------------------------------------------
   16. Industries Jump Navigation & Detail Cards
   -------------------------------------------------------------------------- */
.jump-nav-bar {
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border);
  padding-block: 1rem;
  position: sticky;
  top: var(--header-height);
  z-index: 900;
}

.jump-nav-scroll {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: thin;
}

.jump-nav-label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}

.jump-nav-btn {
  padding: 0.35rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  background: var(--surface-card);
  border: 1px solid var(--border);
  color: var(--muted-text);
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.jump-nav-btn:hover,
.jump-nav-btn.active {
  background: var(--teal);
  color: #ffffff;
  border-color: var(--teal);
}

.industry-article {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: clamp(2rem, 4vw, 2.75rem);
  box-shadow: var(--shadow-card);
  margin-bottom: 2rem;
  scroll-margin-top: calc(var(--header-height) + 70px);
}

.industry-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .industry-grid {
    grid-template-columns: 80px 1fr 340px;
    align-items: start;
  }
}

.industry-badge-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.industry-icon-box {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-xl);
  background: var(--gradient-teal);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
}

.industry-icon-box svg {
  width: 32px;
  height: 32px;
}

.industry-num {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--brand-crimson);
  letter-spacing: 0.05em;
}

.industry-content-col h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--navy);
  margin-bottom: 1rem;
}

.industry-desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--muted-text);
  margin-bottom: 1.25rem;
}

.software-stack-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.software-tag {
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  border: 1px solid var(--border);
  color: var(--navy);
}

.industry-sidebar-card {
  border-radius: var(--radius-xl);
  background: var(--surface-alt);
  border: 1px solid var(--border);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.industry-sidebar-card img {
  border-radius: var(--radius-lg);
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   17. Site Footer Architecture (Accessible High-Contrast Navy)
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy-deep);
  color: #f1f5f9;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  padding-block: clamp(3.5rem, 6vw, 5rem);
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}

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

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  }
}

.footer-brand-logo-wrap {
  display: inline-block;
  background: #ffffff;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
}

.footer-brand-logo-wrap img {
  height: 38px;
  width: auto;
}

.footer-about-text {
  font-size: 0.875rem;
  line-height: 1.7;
  color: #cbd5e1; /* High contrast WCAG AA: 8.5:1 on navy */
  margin-bottom: 1.25rem;
}

.footer-col-title {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #94a3b8;
  margin-bottom: 1.25rem;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-link {
  font-size: 0.875rem;
  color: #e2e8f0;
  transition: color var(--transition-fast), padding-inline-start var(--transition-fast);
}

.footer-link:hover,
.footer-link:focus-visible {
  color: var(--teal-light);
  padding-inline-start: 4px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: #cbd5e1;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--teal-light);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-item a {
  color: #e2e8f0;
}

.footer-contact-item a:hover {
  color: var(--teal-light);
}

/* Footer Regional Area Coverage Grid */
.footer-regions {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 2.5rem;
}

.regions-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(2, 1fr);
}

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

.region-col-title {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--teal-light);
  margin-bottom: 0.75rem;
}

.region-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.8125rem;
  color: #cbd5e1;
}

.region-links-list a {
  color: #cbd5e1;
}

.region-links-list a:hover {
  color: #ffffff;
}

/* Footer Bottom Strip */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 1.25rem;
  font-size: 0.8125rem;
  color: #94a3b8;
}

.footer-bottom-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .footer-bottom-container {
    flex-direction: row;
  }
}

/* --------------------------------------------------------------------------
   18. Back to Top Button
   -------------------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  inset-inline-end: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--navy);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-hover);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity var(--transition-normal), visibility var(--transition-normal), transform var(--transition-normal), background var(--transition-fast);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: var(--brand-crimson);
  border-color: var(--brand-crimson);
  transform: translateY(-3px);
}

.back-to-top svg {
  width: 22px;
  height: 22px;
}

/* --------------------------------------------------------------------------
   19. Interactive Modal Architecture
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 21, 36, 0.7);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.modal-backdrop.is-active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: var(--surface-card);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-modal);
  width: 100%;
  max-width: 540px;
  padding: 2.25rem;
  position: relative;
  transform: scale(0.95);
  transition: transform var(--transition-smooth);
}

.modal-backdrop.is-active .modal-dialog {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  inset-inline-end: 1.25rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-text);
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--border);
  color: var(--navy);
}

.modal-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #dcfce7;
  color: #15803d;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.modal-icon-wrap svg {
  width: 28px;
  height: 28px;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.modal-message {
  font-size: 0.9375rem;
  color: var(--muted-text);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

/* --------------------------------------------------------------------------
   20. Accessibility & Print Styles
   -------------------------------------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media print {
  .site-header,
  .back-to-top,
  .cta-banner,
  .mobile-drawer,
  .mobile-drawer-overlay {
    display: none !important;
  }

  body {
    color: #000000;
    background: #ffffff;
  }
}
