/* ==========================================================================
   Leak Detection Beaumont (leakdetectionbeaumont.com)
   Custom Visual Design: "Precision Acoustic & Thermal Diagnostics"
   Zero External Render-Blocking Fonts | 100% Core Web Vitals Optimized
   ========================================================================== */

:root {
  /* Color Palette — Deep Hydro Navy, Acoustic Cyan & Thermal Signal Coral */
  --navy-950: #06101E;
  --navy-900: #0B192C;
  --navy-800: #112A46;
  --navy-700: #1B3B5F;
  --cyan-600: #0077B6;
  --cyan-500: #0096C7;
  --cyan-400: #00B4D8;
  --cyan-100: #E0F4FA;
  --cyan-50:  #F0FAFD;
  --coral-600: #D9530F;
  --coral-500: #F26419;
  --coral-400: #FF7F38;
  --coral-50:  #FFF4ED;
  --emerald-600: #059669;
  --emerald-50:  #ECFDF5;
  --slate-900: #0F172A;
  --slate-800: #1E293B;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748B;
  --slate-300: #CBD5E1;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --slate-50:  #F8FAFC;
  --white:     #FFFFFF;

  /* Typography — High-Performance System Font Stacks */
  --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  --font-mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;

  /* Layout & Shadows */
  --container-max: 1240px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-sm: 0 2px 8px rgba(11, 25, 44, 0.06);
  --shadow-md: 0 10px 28px -6px rgba(11, 25, 44, 0.10);
  --shadow-lg: 0 20px 44px -10px rgba(11, 25, 44, 0.16);
  --shadow-glow: 0 8px 24px rgba(242, 100, 25, 0.30);
  --transition: 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--slate-800);
  background-color: var(--slate-50);
  line-height: 1.68;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--cyan-600);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--coral-500);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ==========================================================================
   1. Top Announcement Bar
   ========================================================================== */
.top-bar {
  background: var(--navy-950);
  color: var(--slate-200);
  font-size: 0.84rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(0, 180, 216, 0.2);
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.top-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(0, 180, 216, 0.14);
  color: var(--cyan-400);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 180, 216, 0.3);
  letter-spacing: 0.03em;
}

.top-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 8px #22C55E;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top-bar-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--white);
  font-weight: 700;
  font-family: var(--font-mono);
  font-size: 0.88rem;
}

.top-bar-phone:hover {
  color: var(--coral-400);
}

/* ==========================================================================
   2. Header & Mega-Menu Navigation (Strictly No About/Contact in Top Nav)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
  box-shadow: 0 4px 20px rgba(11, 25, 44, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 1.25rem;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 54px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 0.9rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy-900);
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
}

.nav-link:hover,
.nav-item:hover > .nav-link,
.nav-item:focus-within > .nav-link {
  color: var(--cyan-600);
  background: var(--cyan-50);
}

.nav-caret {
  width: 14px;
  height: 14px;
  transition: transform var(--transition);
}

.nav-item:hover .nav-caret,
.nav-item:focus-within .nav-caret {
  transform: rotate(180deg);
}

/* Mega-Menu Dropdowns */
.mega-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 780px;
  max-width: 92vw;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-top: 3px solid var(--cyan-500);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 1100;
}

.mega-menu-wide {
  width: 880px;
}

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

.mega-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.mega-grid-2 {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 1.5rem;
}

.mega-col-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cyan-600);
  margin-bottom: 0.6rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--slate-100);
}

.mega-col-title a {
  color: var(--navy-900);
  text-decoration: none;
}

.mega-col-title a:hover {
  color: var(--coral-500);
}

.mega-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mega-links a {
  display: block;
  padding: 0.32rem 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-700);
  border-radius: 6px;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.mega-links a:hover {
  background: var(--cyan-50);
  color: var(--cyan-600);
  transform: translateX(3px);
}

.mega-footer {
  margin-top: 1.15rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--slate-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--slate-50);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
}

.mega-footer-link {
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--cyan-600);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Header CTA Action */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.78rem 1.35rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1.2;
}

.btn-primary {
  background: linear-gradient(135deg, var(--coral-500) 0%, var(--coral-600) 100%);
  color: var(--white);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--coral-400) 0%, var(--coral-500) 100%);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(0, 180, 216, 0.55);
}

.btn-secondary:hover {
  background: var(--cyan-500);
  color: var(--white);
  border-color: var(--cyan-400);
}

.btn-outline-navy {
  background: var(--white);
  color: var(--navy-900);
  border-color: var(--slate-300);
}

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

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: var(--slate-100);
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  padding: 0.55rem;
  color: var(--navy-900);
  cursor: pointer;
}

/* ==========================================================================
   3. Breadcrumbs
   ========================================================================== */
.breadcrumb-bar {
  background: rgba(6, 16, 30, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.65rem 0;
  margin-bottom: 1.5rem;
}

.breadcrumb-list {
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-family: var(--font-mono);
}

.breadcrumb-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--slate-300);
}

.breadcrumb-list a {
  color: var(--cyan-400);
  font-weight: 600;
}

.breadcrumb-list a:hover {
  color: var(--white);
  text-decoration: underline;
}

.breadcrumb-sep {
  color: var(--slate-500);
}

/* ==========================================================================
   4. Hero Section (Split Diagnostic Layout + Voice/AI Answer-First Box)
   ========================================================================== */
.hero-section {
  position: relative;
  background: radial-gradient(circle at 85% 20%, rgba(0, 180, 216, 0.18) 0%, transparent 48%),
              linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--navy-800) 100%);
  color: var(--white);
  padding: 3.25rem 0 4.25rem;
  overflow: hidden;
  border-bottom: 4px solid var(--cyan-500);
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0, 180, 216, 0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(0, 180, 216, 0.05) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 2.75rem;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 180, 216, 0.15);
  border: 1px solid rgba(0, 180, 216, 0.4);
  color: var(--cyan-400);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.hero-h1 {
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 1.15rem;
}

/* Voice Search & AI Overviews Answer-First Block */
.hero-intro {
  background: rgba(17, 42, 70, 0.78);
  border-left: 4px solid var(--cyan-400);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.15rem 1.35rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--slate-100);
  margin-bottom: 1.5rem;
}

.hero-intro a {
  color: var(--cyan-400);
  font-weight: 700;
  text-decoration: underline;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.6rem;
}

.hero-trust-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--slate-200);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.55rem 0.8rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-trust-icon {
  color: var(--cyan-400);
  flex-shrink: 0;
}

/* Hero Right Column Media Card */
.hero-media-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid rgba(0, 180, 216, 0.4);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
  background: var(--navy-900);
}

.hero-media-card img {
  width: 100%;
  height: 390px;
  object-fit: cover;
  display: block;
}

.hero-media-caption {
  background: rgba(6, 16, 30, 0.92);
  padding: 0.85rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-top: 1px solid rgba(0, 180, 216, 0.25);
  font-size: 0.82rem;
  color: var(--slate-200);
}

.hero-telemetry-tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--cyan-400);
  background: rgba(0, 180, 216, 0.15);
  padding: 0.22rem 0.55rem;
  border-radius: 4px;
  white-space: nowrap;
}

/* ==========================================================================
   5. Content Sections, Headings & Rich Blocks
   ========================================================================== */
.content-section {
  padding: 4rem 0;
  border-bottom: 1px solid var(--slate-200);
}

.content-section.bg-white {
  background: var(--white);
}

.content-section.bg-slate {
  background: var(--slate-50);
}

.content-section.bg-navy {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: var(--white);
}

.section-header {
  max-width: 820px;
  margin-bottom: 2.25rem;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cyan-600);
  background: var(--cyan-50);
  border: 1px solid rgba(0, 119, 182, 0.2);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.65rem;
}

.bg-navy .section-eyebrow {
  background: rgba(0, 180, 216, 0.15);
  color: var(--cyan-400);
  border-color: rgba(0, 180, 216, 0.35);
}

.section-h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.bg-navy .section-h2 {
  color: var(--white);
}

.section-lead,
.prose-p {
  font-size: 1.04rem;
  color: var(--slate-700);
  margin-bottom: 1.15rem;
  line-height: 1.72;
}

.bg-navy .section-lead,
.bg-navy .prose-p {
  color: var(--slate-200);
}

.prose-p a,
.feature-list a {
  font-weight: 700;
  color: var(--cyan-600);
  text-decoration: underline;
  text-decoration-color: rgba(0, 119, 182, 0.35);
  text-underline-offset: 3px;
}

.prose-p a:hover,
.feature-list a:hover {
  color: var(--coral-500);
  text-decoration-color: var(--coral-500);
}

/* Sub-blocks (H3 Cards & Feature Lists) */
.h3-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.h3-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-top: 3px solid var(--cyan-600);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.content-section.bg-white .h3-card {
  background: var(--slate-50);
}

.h3-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.h3-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 0.65rem;
  line-height: 1.3;
}

.h3-card h3 a {
  color: var(--navy-900);
  text-decoration: none;
}

.h3-card h3 a:hover {
  color: var(--cyan-600);
}

.feature-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 0.85rem;
  margin: 1.25rem 0;
}

.h3-card .feature-list {
  grid-template-columns: 1fr;
  gap: 0.55rem;
  margin: 0.75rem 0 0;
}

.feature-list li {
  position: relative;
  padding: 0.85rem 1rem 0.85rem 2.5rem;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  font-size: 0.96rem;
  color: var(--slate-700);
  line-height: 1.55;
}

.content-section.bg-white .feature-list li {
  background: var(--slate-50);
}

.h3-card .feature-list li {
  padding: 0.35rem 0 0.35rem 1.65rem;
  background: transparent;
  border: none;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0.85rem;
  top: 0.85rem;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--cyan-100);
  color: var(--cyan-600);
  font-weight: 900;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.h3-card .feature-list li::before {
  left: 0;
  top: 0.42rem;
}

/* ==========================================================================
   6. Semantic Tables (Pricing, Comparisons & Input Fields)
   ========================================================================== */
.table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  background: var(--white);
}

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

.data-table thead {
  background: var(--navy-900);
  color: var(--white);
}

.data-table th {
  padding: 1rem 1.25rem;
  font-weight: 800;
  font-size: 0.85rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 2px solid var(--cyan-500);
}

.data-table td {
  padding: 0.95rem 1.25rem;
  border-bottom: 1px solid var(--slate-200);
  color: var(--slate-700);
}

.data-table tbody tr:nth-child(even) {
  background: var(--slate-50);
}

.data-table tbody tr:hover {
  background: var(--cyan-50);
}

.data-table td:first-child {
  font-weight: 700;
  color: var(--navy-900);
}

/* ==========================================================================
   7. Card Systems Architecture (.svc-card, .loc-card, .job-showcase-card)
   ========================================================================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 1.75rem;
  margin-top: 1.75rem;
}

/* 7.1 Service Directory Cards (.svc-card) */
.svc-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.svc-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--cyan-400);
}

.svc-card-img-link {
  position: relative;
  display: block;
  overflow: hidden;
  height: 210px;
  background: var(--navy-900);
}

.svc-card-img-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.svc-card:hover .svc-card-img-link img {
  transform: scale(1.05);
}

.svc-card-badges {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  right: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.svc-num-badge {
  background: var(--navy-900);
  color: var(--cyan-400);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  border: 1px solid rgba(0, 180, 216, 0.45);
}

.svc-cat-badge {
  background: rgba(11, 25, 44, 0.86);
  backdrop-filter: blur(6px);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
}

.svc-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.svc-card-title {
  font-size: 1.24rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 0.65rem;
}

.svc-card-title a {
  color: var(--navy-900);
  text-decoration: none;
}

.svc-card-title a:hover {
  color: var(--cyan-600);
}

.svc-card-desc {
  font-size: 0.94rem;
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: 1.15rem;
  flex-grow: 1;
}

.svc-card-sublinks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--slate-200);
}

.svc-sublink-pill {
  font-size: 0.76rem;
  font-weight: 700;
  background: var(--slate-100);
  color: var(--slate-700);
  padding: 0.22rem 0.55rem;
  border-radius: 4px;
}

.svc-sublink-pill:hover {
  background: var(--cyan-100);
  color: var(--cyan-600);
}

.svc-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--cyan-600);
  margin-top: auto;
}

.svc-card-cta:hover {
  color: var(--coral-500);
}

/* 7.2 Location / Service Area Cards (.loc-card) */
.loc-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-bottom: 4px solid var(--navy-800);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.loc-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-bottom-color: var(--coral-500);
}

.loc-card-img-link {
  position: relative;
  display: block;
  height: 195px;
  overflow: hidden;
  background: var(--navy-900);
}

.loc-card-img-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.loc-card:hover .loc-card-img-link img {
  transform: scale(1.05);
}

.loc-region-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: rgba(11, 25, 44, 0.88);
  color: var(--cyan-400);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  border: 1px solid rgba(0, 180, 216, 0.35);
}

.loc-card-body {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.loc-card-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
}

.loc-pin-icon {
  color: var(--coral-500);
  flex-shrink: 0;
}

.loc-card-title a {
  color: var(--navy-900);
  text-decoration: none;
}

.loc-card-title a:hover {
  color: var(--cyan-600);
}

.loc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.loc-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--cyan-50);
  color: var(--cyan-600);
  border: 1px solid rgba(0, 119, 182, 0.18);
  padding: 0.18rem 0.5rem;
  border-radius: 4px;
}

.loc-card-desc {
  font-size: 0.92rem;
  color: var(--slate-600);
  line-height: 1.58;
  margin-bottom: 1.1rem;
  flex-grow: 1;
}

.loc-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--navy-900);
  margin-top: auto;
}

.loc-card-cta:hover {
  color: var(--coral-500);
}

/* 7.3 Before & After Job Showcase Cards (.job-showcase-card) */
.job-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: 2rem;
  margin: 1.75rem 0;
}

.job-showcase-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.job-showcase-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--navy-900);
}

.job-photo-box {
  position: relative;
  height: 230px;
  overflow: hidden;
}

.job-photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.job-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

.job-badge-before {
  background: rgba(217, 83, 15, 0.92);
  color: var(--white);
}

.job-badge-after {
  background: rgba(5, 150, 105, 0.92);
  color: var(--white);
}

.job-showcase-body {
  padding: 1.35rem 1.5rem;
}

.job-showcase-meta {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--cyan-600);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.job-showcase-title {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 0.45rem;
}

.job-showcase-caption {
  font-size: 0.92rem;
  color: var(--slate-600);
  line-height: 1.58;
}

/* 7.4 Field Job Case Study Cards (.field-job-grid) */
.field-job-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr));
  gap: 1.35rem;
  margin: 1.5rem 0;
}

.field-job-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-left: 4px solid var(--cyan-600);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  box-shadow: var(--shadow-sm);
}

.field-job-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--slate-100);
}

.field-job-loc {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--navy-900);
  background: var(--cyan-50);
  padding: 0.22rem 0.6rem;
  border-radius: 4px;
}

.field-job-status {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--emerald-600);
  background: var(--emerald-50);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

.field-job-row {
  font-size: 0.9rem;
  color: var(--slate-700);
  margin-bottom: 0.5rem;
  line-height: 1.52;
}

.field-job-row strong {
  color: var(--navy-900);
}

/* ==========================================================================
   8. FAQ Accordion Section
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  max-width: 920px;
  margin-top: 1.5rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question-h3 {
  margin: 0;
  font-size: 1.08rem;
}

.faq-toggle {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.15rem 1.35rem;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.faq-toggle:hover {
  background: var(--slate-50);
  color: var(--cyan-600);
}

.faq-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--cyan-50);
  color: var(--cyan-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
  transition: transform var(--transition), background var(--transition);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--coral-500);
  color: var(--white);
}

.faq-answer {
  padding: 0 1.35rem 1.25rem;
  color: var(--slate-700);
  font-size: 0.98rem;
  line-height: 1.68;
  border-top: 1px solid var(--slate-100);
}

/* ==========================================================================
   9. E-E-A-T Author / Technical Review Card & Lead Tech Profile
   ========================================================================== */
.eeat-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-left: 5px solid var(--navy-900);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.eeat-info {
  max-width: 760px;
}

.eeat-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--cyan-600);
  background: var(--cyan-50);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  margin-bottom: 0.4rem;
}

.eeat-text {
  font-size: 0.92rem;
  color: var(--slate-600);
  line-height: 1.58;
}

.eeat-text strong {
  color: var(--navy-900);
}

/* ==========================================================================
   10. Local Google Map Embed (.map-section & .map-frame-wrapper)
   ========================================================================== */
.map-section {
  padding: 3.5rem 0;
  background: var(--slate-100);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

.map-frame-wrapper {
  width: 100%;
  height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--slate-300);
  box-shadow: var(--shadow-md);
  background: var(--slate-200);
}

.map-frame-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ==========================================================================
   11. Contact Form & Visual <canvas> CAPTCHA (Strictly on /contact/ Only)
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: start;
  margin-top: 1.5rem;
}

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-top: 4px solid var(--coral-500);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy-900);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.78rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.96rem;
  color: var(--slate-900);
  background: var(--slate-50);
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--cyan-600);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.15);
}

.captcha-box {
  background: var(--slate-100);
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin-bottom: 1.25rem;
}

.captcha-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0.5rem 0 0.75rem;
  flex-wrap: wrap;
}

#captchaCanvas {
  border-radius: 6px;
  border: 1px solid var(--slate-300);
  background: var(--navy-900);
}

.captcha-refresh-btn {
  padding: 0.5rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  background: var(--white);
  border: 1px solid var(--slate-300);
  border-radius: 6px;
  cursor: pointer;
  color: var(--navy-900);
}

.captcha-refresh-btn:hover {
  background: var(--cyan-50);
  border-color: var(--cyan-600);
}

.form-status-msg {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.92rem;
  display: none;
}

.form-status-msg.success {
  display: block;
  background: var(--emerald-50);
  color: var(--emerald-600);
  border: 1px solid #A7F3D0;
}

.form-status-msg.error {
  display: block;
  background: #FEF2F2;
  color: #DC2626;
  border: 1px solid #FECACA;
}

/* NAP Consistency Card */
.nap-card {
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid rgba(0, 180, 216, 0.3);
  box-shadow: var(--shadow-md);
}

.nap-card-title {
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.nap-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.nap-list li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.nap-label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cyan-400);
  font-weight: 700;
}

.nap-value {
  font-size: 0.98rem;
  color: var(--slate-100);
  font-weight: 600;
}

.nap-value a {
  color: var(--coral-400);
  font-weight: 800;
  font-size: 1.15rem;
}

/* ==========================================================================
   12. Bottom Call-To-Action Section & Global Footer
   ========================================================================== */
.cta-banner-section {
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-800) 100%);
  color: var(--white);
  padding: 4rem 0;
  border-top: 4px solid var(--coral-500);
}

.cta-banner-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(0, 180, 216, 0.3);
  border-radius: var(--radius-xl);
  padding: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-banner-content {
  max-width: 700px;
}

.cta-banner-content .section-h2 {
  color: var(--white);
  margin-bottom: 0.85rem;
}

.cta-banner-content p {
  color: var(--slate-200);
  font-size: 1.05rem;
  line-height: 1.68;
}

.site-footer {
  background: var(--navy-950);
  color: var(--slate-300);
  padding: 4rem 0 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 2.25rem;
  margin-bottom: 2.75rem;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--cyan-400);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: var(--slate-300);
  font-size: 0.88rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-nap-box {
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer-nap-box strong {
  color: var(--white);
}

.footer-bottom {
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: var(--slate-500);
}

.footer-disclosure {
  color: var(--slate-300);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.75rem 1rem;
  border-radius: 6px;
  border-left: 3px solid var(--coral-500);
}

/* ==========================================================================
   13. Sticky Mobile Bottom Action Bar (<= 820px)
   ========================================================================== */
.mobile-sticky-bar {
  display: none;
}

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

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-bottom: 2px solid var(--cyan-600);
    box-shadow: var(--shadow-lg);
    max-height: 82vh;
    overflow-y: auto;
  }

  .main-nav.open {
    display: flex;
  }

  .mobile-nav-toggle {
    display: inline-flex;
  }

  .mega-menu {
    position: static;
    transform: none;
    width: 100%;
    max-width: 100%;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--cyan-500);
    border-radius: 0;
    padding: 0.5rem 0 0.5rem 1rem;
    display: none;
  }

  .nav-item.open .mega-menu {
    display: block;
  }

  .mega-grid,
  .mega-grid-2 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (max-width: 820px) {
  body {
    padding-bottom: 72px;
  }

  .top-bar-left span:not(.top-badge) {
    display: none;
  }

  .header-actions .btn {
    padding: 0.58rem 0.9rem;
    font-size: 0.84rem;
  }

  .brand-logo-img {
    height: 46px;
  }

  .hero-media-card img {
    height: 270px;
  }

  .hero-trust-row {
    grid-template-columns: 1fr;
  }

  .job-showcase-grid {
    grid-template-columns: 1fr;
  }

  .map-frame-wrapper {
    height: 320px;
  }

  .mobile-sticky-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--navy-950);
    padding: 0.55rem 0.75rem;
    border-top: 2px solid var(--cyan-500);
    z-index: 1200;
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.35);
  }

  .mobile-sticky-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.72rem 0.5rem;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.88rem;
    text-align: center;
  }

  .mobile-sticky-call {
    background: var(--coral-500);
    color: var(--white);
  }

  .mobile-sticky-quote {
    background: var(--cyan-600);
    color: var(--white);
  }
}


/* ==========================================================================
   14. Image Dummy Template Boxes (For Easy User Photo Replacement)
   ========================================================================== */
.img-dummy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: 1.35rem;
  margin: 1.5rem 0;
}

.img-dummy-box {
  background: linear-gradient(135deg, #0F1D30 0%, #162C46 100%);
  border: 2px dashed rgba(0, 180, 216, 0.55);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--slate-200);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 220px;
  box-shadow: var(--shadow-sm);
}

.img-dummy-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(0, 180, 216, 0.14);
  border: 1px solid rgba(0, 180, 216, 0.4);
  color: var(--cyan-400);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.25rem;
}

.img-dummy-badge {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--coral-400);
  background: rgba(242, 100, 25, 0.16);
  border: 1px solid rgba(242, 100, 25, 0.35);
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
}

.img-dummy-title {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--white);
}

.img-dummy-desc {
  font-size: 0.88rem;
  color: var(--slate-300);
  max-width: 540px;
  line-height: 1.55;
}

/* ==========================================================================
   15. Skip Link, 3-Step Trust Strip, Sticky "ON THIS PAGE" TOC & Search Dialog
   ========================================================================== */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 9999;
  background: var(--coral-500);
  color: var(--white);
  font-weight: 800;
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0.75rem;
  color: var(--white);
  outline: 2px solid var(--cyan-400);
}

/* 3-Step Diagnostic Trust Strip Below Hero */
.trust-strip {
  background: var(--navy-900);
  border-bottom: 1px solid rgba(0, 180, 216, 0.22);
  padding: 1.25rem 0;
  color: var(--white);
}

.trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.trust-step-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(0, 180, 216, 0.18);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.1rem;
}

.trust-step-num {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--cyan-400);
  background: rgba(0, 180, 216, 0.15);
  border: 1px solid rgba(0, 180, 216, 0.35);
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  flex-shrink: 0;
}

.trust-step-title {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.trust-step-text {
  font-size: 0.84rem;
  color: var(--slate-300);
  line-height: 1.45;
}

/* Sticky "ON THIS PAGE" Table of Contents Layout */
.page-layout-wrap {
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
}

.page-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.page-aside {
  position: sticky;
  top: 98px;
}

.aside-inner {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-top: 3px solid var(--cyan-600);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.aside-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan-600);
  margin-bottom: 0.4rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--slate-200);
}

.aside-link {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-700);
  padding: 0.38rem 0.55rem;
  border-radius: 6px;
  border-left: 2px solid transparent;
  transition: all var(--transition);
  line-height: 1.35;
}

.aside-link:hover {
  background: var(--cyan-50);
  color: var(--cyan-600);
  border-left-color: var(--cyan-600);
}

.aside-cta-box {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--slate-200);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.page-article {
  min-width: 0;
}

.page-article .content-section {
  padding: 2.6rem 0;
}

.page-article .content-section:first-child {
  padding-top: 0;
}

.page-article .content-section.bg-slate {
  background: var(--slate-50);
  padding: 2.25rem 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  margin: 1.75rem 0;
}

.page-article .cta-banner-section {
  padding: 2rem 0 0.5rem;
}

/* Related Silo Quick-Links Bar */
.related-silo-section {
  padding: 2.75rem 0;
  background: var(--slate-100);
  border-bottom: 1px solid var(--slate-200);
}

.silo-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.silo-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--white);
  color: var(--navy-900);
  border: 1px solid var(--slate-300);
  padding: 0.52rem 0.95rem;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.silo-pill:hover {
  background: var(--cyan-600);
  color: var(--white);
  border-color: var(--cyan-600);
  transform: translateY(-2px);
}

/* Interactive Site Search Modal (<dialog id="search-dialog">) */
.search-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.08);
  color: var(--cyan-400);
  border: 1px solid rgba(0, 180, 216, 0.35);
  border-radius: 6px;
  padding: 0.38rem 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
}

.search-trigger-btn:hover {
  background: var(--cyan-600);
  color: var(--white);
  border-color: var(--cyan-400);
}

dialog#search-dialog {
  width: min(640px, 92vw);
  margin: auto;
  border: 2px solid var(--cyan-500);
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--navy-900);
  padding: 1.5rem;
  box-shadow: 0 25px 60px rgba(6, 16, 30, 0.55);
}

dialog#search-dialog::backdrop {
  background: rgba(6, 16, 30, 0.72);
  backdrop-filter: blur(4px);
}

.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--slate-200);
}

.dialog-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy-900);
}

.dialog-close-btn {
  background: var(--slate-100);
  border: 1px solid var(--slate-300);
  color: var(--navy-900);
  width: 34px;
  height: 34px;
  border-radius: 8px;
  font-size: 1.25rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dialog-close-btn:hover {
  background: var(--coral-500);
  color: var(--white);
  border-color: var(--coral-500);
}

.search-input-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--slate-600);
  margin-bottom: 0.45rem;
}

.site-search-input {
  width: 100%;
  padding: 0.8rem 1rem;
  font-size: 0.98rem;
  font-family: var(--font-sans);
  border: 2px solid var(--slate-300);
  border-radius: var(--radius-sm);
  outline: none;
  margin-bottom: 1rem;
}

.site-search-input:focus {
  border-color: var(--cyan-600);
  box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.15);
}

#search-results {
  max-height: 340px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.search-result-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  background: var(--slate-50);
  color: var(--navy-900);
  font-weight: 700;
  font-size: 0.92rem;
  transition: all var(--transition);
}

.search-result-item:hover {
  background: var(--cyan-50);
  border-color: var(--cyan-500);
  color: var(--cyan-600);
}

.search-result-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--cyan-600);
  background: var(--cyan-100);
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  flex-shrink: 0;
}

@media (max-width: 980px) {
  .trust-strip-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .page-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .page-aside {
    position: static;
  }
}


/* Keep complete image and brand band visible at every breakpoint. */
.hero-media-card img {height:auto; aspect-ratio:auto; object-fit:contain;}
.svc-card-img-link,.loc-card-img-link {height:auto; aspect-ratio:4/3; background:#fff;}
.svc-card-img-link img,.loc-card-img-link img {height:100%;object-fit:contain;}
.svc-card:hover .svc-card-img-link img,.loc-card:hover .loc-card-img-link img {transform:none;}
.job-pair-composite {display:block;background:#fff;}
.job-pair-composite img {display:block;width:100%;height:auto;}

/* Keep complete image and brand band visible at every breakpoint. */
.hero-media-card img {height:auto; aspect-ratio:auto; object-fit:contain;}
.svc-card-img-link,.loc-card-img-link {height:auto; aspect-ratio:4/3; background:#fff;}
.svc-card-img-link img,.loc-card-img-link img {height:100%;object-fit:contain;}
.svc-card:hover .svc-card-img-link img,.loc-card:hover .loc-card-img-link img {transform:none;}
.job-pair-composite {display:block;background:#fff;}
.job-pair-composite img {display:block;width:100%;height:auto;}

.before-after-composite {margin:1.5rem 0 0;background:#fff;border:1px solid var(--slate-200);border-radius:16px;overflow:hidden;box-shadow:0 12px 30px rgba(15,36,58,.1)}
.before-after-composite img {display:block;width:100%;height:auto;object-fit:contain}

/* Keep complete image and brand band visible at every breakpoint. */
.hero-media-card img {height:auto; aspect-ratio:auto; object-fit:contain;}
.svc-card-img-link,.loc-card-img-link {height:auto; aspect-ratio:4/3; background:#fff;}
.svc-card-img-link img,.loc-card-img-link img {height:100%;object-fit:contain;}
.svc-card:hover .svc-card-img-link img,.loc-card:hover .loc-card-img-link img {transform:none;}
.job-pair-composite {display:block;background:#fff;}
.job-pair-composite img {display:block;width:100%;height:auto;}


/* Responsive layout revision: 2026-10-19 */
.hero-grid > *, .contact-layout > *, .footer-grid > *,
.trust-strip-grid > *, .cards-grid > *, .h3-grid > *,
.header-inner > *, .cta-banner-box > * { min-width: 0; }
.btn { max-width: 100%; text-align: center; }
.btn svg, .nav-link svg, .mobile-sticky-btn svg { flex-shrink: 0; }
.hero-h1, .section-h2, .h3-card h3, .svc-card-title,
.loc-card-title, .nap-value { overflow-wrap: anywhere; }
iframe, canvas, input, select, textarea { max-width: 100%; }
.table-wrapper { max-width: 100%; overflow-x: auto; }
.content-profile { display: grid; grid-template-columns: 240px minmax(0,1fr); }
@media (max-width: 1120px) and (min-width: 981px) {
  .header-inner { gap: .6rem; }
  .brand-logo-img { height: 42px; }
  .nav-link { padding: .65rem .5rem; font-size: .88rem; }
  .header-actions .btn { padding: .7rem .8rem; font-size: .85rem; }
  .mega-menu { position: fixed; top: auto; left: 50%; width: min(880px,94vw); }
}
@media (max-width: 980px) {
  .header-inner { gap: .75rem; min-height: 72px; }
  .brand-logo { flex: 1 1 auto; max-width: 348px; }
  .brand-logo-img { width: 100%; height: auto; max-height: 54px; }
  .header-actions { display: none; }
  .mobile-nav-toggle { flex: 0 0 44px; width: 44px; height: 44px; order: 2; }
  .main-nav { max-height: calc(100dvh - 150px); overscroll-behavior: contain; }
  .main-nav .nav-link { display: flex; width: 100%; justify-content: space-between; min-height: 48px; }
  .main-nav .mega-menu,
  .main-nav .nav-item:hover .mega-menu,
  .main-nav .nav-item:focus-within .mega-menu { transform: none; left: auto; top: auto; }
  .main-nav .mega-links { grid-template-columns: minmax(0,1fr) !important; }
  .mega-links a { padding-block: .6rem; }
  .nav-item.open > .nav-link .nav-caret { transform: rotate(180deg); }
  .mega-footer { flex-direction: column; align-items: flex-start; }
  .content-profile { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 600px) {
  .container { padding-inline: 1rem; }
  .top-bar-inner { justify-content: center; gap: .5rem; }
  .top-bar-left { justify-content: center; width: 100%; }
  .top-bar-right { justify-content: space-between; gap: .5rem; width: 100%; }
  .search-trigger-btn { font-size: .72rem; padding: .5rem; }
  .top-bar-phone { font-size: .8rem; white-space: nowrap; }
  .header-inner { min-height: 66px; }
  .brand-logo { max-width: 270px; }
  .hero-section { padding-block: 2rem; }
  .hero-h1 { font-size: clamp(1.85rem, 7.5vw, 2.7rem); line-height: 1.15; }
  .section-h2 { font-size: clamp(1.5rem, 6vw, 2rem); }
  .content-section { padding-block: 2.25rem; }
  .hero-cta-group { flex-direction: column; align-items: stretch; }
  .hero-cta-group .btn { width: 100%; padding: .9rem .75rem; }
  .hero-telemetry { flex-wrap: wrap; }
  .hero-telemetry-tag { white-space: normal; }
  .hero-grid { gap: 1.5rem; }
  .page-layout { padding-block: 1.5rem; }
  .page-article .content-section.bg-slate { padding: 1.25rem 1rem; }
  .h3-card, .aside-inner { padding: 1.1rem; }
  .cta-banner-section { padding-block: 2rem; }
  .cta-banner-box { padding: 1.25rem; gap: 1.25rem; }
  .cta-banner-box > div { width: 100%; min-width: 0 !important; }
  .cta-banner-box .btn { width: 100%; }
  .footer-grid { gap: 1.5rem; }
  .job-showcase-pair { grid-template-columns: minmax(0,1fr); }
  .mobile-sticky-btn { font-size: .78rem; min-height: 46px; }
  .mobile-sticky-bar { padding-bottom: max(.55rem, env(safe-area-inset-bottom)); }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .form-control, .site-search-input { font-size: 16px; }
  dialog#search-dialog { padding: 1rem; max-height: 85dvh; overflow-y: auto; }
  .search-result-item { flex-wrap: wrap; }
}

@media (min-width: 981px) { .nav-item.open > .mega-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); } }
