/* ============================================================
   C.T. HUNTLEY LLC — Main Stylesheet
   Custom build — no frameworks
   ============================================================ */

/* Google Fonts: loaded in HTML with preconnect (avoid @import blocking parse) */
/* --- Design Tokens --- */
:root {
  --navy:        #0A1628;
  --navy-light:  #112240;
  --blue:        #1B4F8A;
  --blue-mid:    #1a5fa8;
  --gold:        #C8982A;
  --gold-light:  #e0b042;
  --white:       #FFFFFF;
  --off-white:   #F4F6F9;
  --gray-100:    #E9ECEF;
  --gray-300:    #CED4DA;
  --gray-500:    #6C757D;
  --gray-700:    #495057;
  --text:        #1A1A2E;
  --text-light:  #4a5568;

  --font-heading: 'Montserrat', sans-serif;
  --font-body:    'Inter', sans-serif;

  --radius:    6px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:    0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.14);

  --transition: 0.25s ease;
  --max-width: 1160px;
  --nav-height: 76px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); border: none; background: none; }

/* --- Utility --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 0;
  padding-bottom: 0;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}
.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;
}
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.bg-navy { background: var(--navy); }
.bg-off-white { background: var(--off-white); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(200,152,42,.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
}
.btn-outline-dark {
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy);
  border: 2px solid rgba(10, 22, 40, 0.35);
  box-shadow: 0 1px 2px rgba(10, 22, 40, 0.04);
}
.btn-outline-dark:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  box-shadow: none;
}
.btn-outline-dark:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
.btn:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}
.btn-primary:focus-visible {
  outline-color: var(--navy);
}
/* Minimum tap target (Apple HIG ~44pt) */
.btn { min-height: 44px; }
.btn-lg { min-height: 48px; padding: 16px 36px; font-size: 1rem; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: box-shadow var(--transition), background var(--transition);
  overflow: visible;
}
.site-nav.scrolled {
  background: rgba(10,22,40,.97);
  box-shadow: 0 2px 20px rgba(0,0,0,.25);
  backdrop-filter: blur(12px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  overflow: visible;
}
.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav-logo .logo-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--white);
  letter-spacing: 0.04em;
}
.nav-logo .logo-name span { color: var(--gold); }
.nav-logo .logo-tag {
  font-size: 0.62rem;
  color: rgba(255,255,255,.5);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  color: rgba(255,255,255,.8);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: all var(--transition);
  text-transform: uppercase;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,.08);
}
.nav-links a.active { color: var(--gold); }
.nav-cta {
  margin-left: 12px;
  padding: 9px 20px !important;
  background: var(--gold) !important;
  color: var(--navy) !important;
  border-radius: var(--radius) !important;
  font-weight: 700 !important;
}
.nav-cta:hover {
  background: var(--gold-light) !important;
  color: var(--navy) !important;
}

/* Services dropdown (desktop) */
.nav-item-has-submenu {
  position: relative;
}
.nav-item-has-submenu > .nav-services-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-item-has-submenu > .nav-services-trigger::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid rgba(255,255,255,.45);
  margin-top: 2px;
  transition: transform var(--transition);
}
.nav-item-has-submenu:hover > .nav-services-trigger::after,
.nav-item-has-submenu:focus-within > .nav-services-trigger::after {
  transform: rotate(-180deg);
  border-top-color: var(--gold-light);
}
.nav-submenu {
  position: absolute;
  left: 0;
  top: calc(100% + 4px);
  min-width: 280px;
  padding: 8px 0;
  margin: 0;
  list-style: none;
  background: var(--navy-light);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  pointer-events: none;
}
.nav-item-has-submenu:hover .nav-submenu,
.nav-item-has-submenu:focus-within .nav-submenu,
.nav-item-has-submenu.is-open .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.nav-submenu li { margin: 0; }
.nav-submenu a {
  display: block;
  padding: 11px 18px !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.06em !important;
  text-transform: none !important;
  font-weight: 500 !important;
  color: rgba(255,255,255,.88) !important;
  border-radius: 0 !important;
  background: transparent !important;
}
.nav-submenu a:hover,
.nav-submenu a:focus {
  color: var(--gold-light) !important;
  background: rgba(255,255,255,.06) !important;
}
.nav-submenu a.active {
  color: var(--gold) !important;
  background: rgba(200,152,42,.12) !important;
}
.nav-mobile-sub {
  padding-left: 20px !important;
  font-size: 0.82rem !important;
  color: rgba(255,255,255,.65) !important;
  border-bottom: 1px solid rgba(255,255,255,.05) !important;
}
.nav-mobile-sub:hover { color: var(--gold) !important; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: var(--navy-light);
  padding: 16px 24px 24px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  z-index: 999;
  transform: translateY(-8px);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.nav-mobile.open {
  opacity: 1;
  transform: translateY(0);
}
.nav-mobile a {
  display: block;
  color: rgba(255,255,255,.85);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: var(--gold); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, #0d2444 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--nav-height);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(27,79,138,.25) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(200,152,42,.08) 0%, transparent 50%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content {
  position: relative;
  z-index: 1;
  /* Vertical only — .container supplies horizontal padding */
  padding-top: 80px;
  padding-bottom: 60px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(200,152,42,.12);
  border: 1px solid rgba(200,152,42,.3);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.hero-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.4); }
}
.hero h1 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 700px;
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero-sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,.7);
  max-width: 640px;
  line-height: 1.75;
  margin-bottom: 40px;
}
.hero-sub-link {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}
.hero-sub-link:hover { color: var(--gold); }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.hero-divider {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,.2);
}
.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero-stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,.45);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}
.hero-stat-value {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
}
.hero-stat-value span { color: var(--gold); }

/* ============================================================
   CREDENTIALS BAR
   ============================================================ */
.creds-bar {
  background: var(--gold);
  padding: 10px 0;
}
.creds-inner {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0;
  width: 100%;
}
.cred-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1 1 0;
  min-width: 0;
  padding: 8px 10px;
  border-right: 1px solid rgba(10, 22, 40, 0.2);
  text-align: left;
}
.cred-item:first-child { padding-left: 0; }
.cred-item:last-child { border-right: none; padding-right: 0; }
.cred-item svg { flex-shrink: 0; }
.cred-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1.2;
  min-width: 0;
  hyphens: auto;
  -webkit-hyphens: auto;
}
.cred-label span {
  display: block;
  font-size: 0.6rem;
  font-weight: 500;
  opacity: 0.72;
  letter-spacing: 0.04em;
  line-height: 1.3;
  margin-top: 3px;
}
@media (min-width: 1024px) {
  .cred-item { padding: 8px 16px; }
  .cred-label { font-size: 0.72rem; letter-spacing: 0.1em; }
  .cred-label span { font-size: 0.64rem; letter-spacing: 0.05em; }
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-header {
  margin-bottom: 56px;
}
.section-header h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-header h2.light { color: var(--white); }
.section-header p {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 580px;
  line-height: 1.75;
}
.section-header p.light { color: rgba(255,255,255,.65); }
.section-header .section-tag.light { color: var(--gold-light); }
.divider-line {
  width: 48px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin: 16px 0;
}
.section-header--compact {
  margin-bottom: 40px;
}
.section-header--compact p {
  max-width: 40rem;
}

/* ============================================================
   HOME — GARAGE BEFORE/AFTER STRIP
   ============================================================ */
.garage-showcase {
  padding: 80px 0 88px;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
}
.garage-showcase .section-header {
  margin-bottom: 40px;
}
.garage-showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: 1000px;
  margin: 0 auto;
}
@media (min-width: 700px) {
  .garage-showcase-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
  }
}
.garage-showcase-figure {
  margin: 0;
  text-align: center;
}
.garage-showcase-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  background: var(--off-white);
  aspect-ratio: 8 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.garage-showcase-frame--before {
  background: linear-gradient(165deg, #eef1f4 0%, #e4e8ed 100%);
}
.garage-showcase-frame--after {
  background: linear-gradient(165deg, #f4f6f8 0%, #eef1f4 100%);
}
.garage-showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.garage-showcase-figure figcaption {
  margin-top: 14px;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-light);
  letter-spacing: -0.01em;
}

/* ============================================================
   HOME — AGENCY NOTE (replaces full NAICS grid on index)
   ============================================================ */
.home-federal-note {
  padding: 24px 0 32px;
  background: var(--off-white);
  border-bottom: 1px solid var(--gray-100);
}
.home-federal-note p {
  margin: 0 auto;
  max-width: 38rem;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-light);
}
.home-federal-note a {
  color: var(--blue);
  font-weight: 600;
}
.home-federal-note a:hover {
  text-decoration: underline;
}

/* ============================================================
   SERVICES OVERVIEW (Home)
   ============================================================ */
.services-overview {
  padding: 64px 0 28px;
  background: var(--off-white);
}
.services-overview .section-header {
  margin-bottom: 40px;
}
/* Four service cards: balanced 2×2 on home & hub (avoids orphan fourth card) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 56px; height: 56px;
  background: rgba(27,79,138,.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--blue);
}
.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.service-card p {
  font-size: 0.925rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 20px;
}
.service-card .card-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}
.service-card:hover .card-link { gap: 10px; }

/* ============================================================
   WHY US SECTION
   ============================================================ */
.why-us {
  padding: 80px 0 96px;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.why-us::before {
  content: '';
  position: absolute;
  right: -200px; top: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27,79,138,.3) 0%, transparent 70%);
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.why-features {
  display: grid;
  gap: 24px;
}
.why-feature {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.why-feature-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: rgba(200,152,42,.15);
  border: 1px solid rgba(200,152,42,.25);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.why-feature h4 {
  font-weight: 700;
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 6px;
}
.why-feature p {
  font-size: 0.9rem;
  color: rgba(255,255,255,.55);
  line-height: 1.65;
}
.why-aside {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.why-aside-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.why-aside h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
}
.why-aside p {
  font-size: 0.925rem;
  color: rgba(255,255,255,.6);
  line-height: 1.75;
  margin-bottom: 28px;
}
.caps-download {
  background: rgba(200,152,42,.1);
  border: 1px solid rgba(200,152,42,.2);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all var(--transition);
  cursor: pointer;
}
.caps-download:hover {
  background: rgba(200,152,42,.18);
  border-color: rgba(200,152,42,.4);
}
.caps-download-icon {
  width: 40px; height: 40px;
  background: var(--gold);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  flex-shrink: 0;
}
.caps-download-text strong {
  display: block;
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
}
.caps-download-text span {
  font-size: 0.75rem;
  color: rgba(255,255,255,.45);
}
.caps-download--subtle {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
}
.caps-download--subtle:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(200, 152, 42, 0.35);
}
.caps-download--subtle .caps-download-icon {
  background: rgba(200, 152, 42, 0.35);
  border: 1px solid rgba(200, 152, 42, 0.25);
}
.footer-registration-note {
  font-size: 0.8rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.4);
  margin: 0 0 8px;
  max-width: 280px;
}
.footer-registration-note a { font-weight: 600; }

/* ============================================================
   NAICS / CODES SECTION
   ============================================================ */
.codes-section {
  padding: 72px 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
}
.codes-section-intro {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--gray-600, #5c6370);
}
.codes-section-intro a { color: var(--blue); font-weight: 600; }
.codes-section-intro a:hover { text-decoration: underline; }

/* Home: mid-page CTA band (under service cards) */
.home-mid-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  padding: 20px 12px 0;
  border-top: 1px solid var(--gray-100);
}

/* Home / services hub — at-a-glance (garage, junk, material, property) */
.local-service-snapshot {
  margin: 2rem 0 1.75rem;
  padding: 1.5rem 1.35rem 1.35rem;
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
}
.local-service-snapshot h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}
.local-service-snapshot ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
@media (min-width: 768px) {
  .local-service-snapshot ul {
    grid-template-columns: 1fr 1fr;
    gap: 14px 32px;
  }
}
.local-service-snapshot li {
  font-size: 0.88rem;
  line-height: 1.52;
  color: var(--text-light);
  padding-left: 14px;
  position: relative;
  border-left: 2px solid rgba(200, 152, 42, 0.35);
}
.local-service-snapshot li strong {
  color: var(--navy);
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
  font-weight: 700;
}
.local-service-snapshot-cta {
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-100);
  font-size: 0.9rem;
  text-align: center;
  color: var(--text-light);
}
.local-service-snapshot-cta a { color: var(--blue); font-weight: 600; }
.local-service-snapshot-cta a:hover { text-decoration: underline; }
.home-footer-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  padding: 32px 0 8px;
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 8px;
}
.home-footer-cta .btn { min-width: 160px; justify-content: center; }

.footer-inline-link { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.footer-inline-link:hover { color: var(--gold-light); }
.why-inline-link { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.why-inline-link:hover { color: var(--gold-light); }
.codes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.code-card {
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--off-white);
  transition: border-color var(--transition);
}
.code-card:hover { border-color: var(--blue); }
.code-type {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 8px;
}
.code-value {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.code-desc {
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 40px 40px;
}
.cta-banner-content { position: relative; z-index: 1; }
.cta-banner h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.cta-banner p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #060f1a;
  color: rgba(255,255,255,.6);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand .logo-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.footer-brand .logo-name span { color: var(--gold); }
.footer-brand .logo-tag {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.75;
  max-width: 280px;
  margin-bottom: 20px;
}
.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 16px;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,.6);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.875rem;
}
.footer-contact-item svg { flex-shrink: 0; margin-top: 2px; color: var(--gold); }
.footer-contact-item a { color: rgba(255,255,255,.6); }
.footer-contact-item a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
}
.footer-bottom span { color: rgba(255,255,255,.3); }
.footer-bottom a { color: rgba(255,255,255,.3); }
.footer-bottom a:hover { color: var(--gold); }

/* ============================================================
   PAGE HERO (interior pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: calc(var(--nav-height) + 56px) 0 64px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: rgba(255,255,255,.45);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}
.page-hero .breadcrumb a { color: rgba(255,255,255,.45); }
.page-hero .breadcrumb a:hover { color: var(--gold); }
.page-hero .breadcrumb span { color: rgba(255,255,255,.25); }
.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.page-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.65);
  max-width: 560px;
  line-height: 1.75;
}
.page-hero .page-hero-inline-link {
  color: var(--gold-light);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.page-hero .page-hero-inline-link:hover { color: var(--gold); }

/* ============================================================
   CAPABILITIES PAGE
   ============================================================ */
.caps-section {
  padding: 80px 0;
}
.caps-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}
.caps-main h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--gray-100);
}
.caps-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 40px;
  font-size: 0.9rem;
}
.caps-table tr { border-bottom: 1px solid var(--gray-100); }
.caps-table td {
  padding: 12px 0;
  vertical-align: top;
}
.caps-table td:first-child {
  font-weight: 600;
  color: var(--gray-500);
  width: 200px;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.caps-table td:last-child { color: var(--text); }
.caps-competency-list {
  display: grid;
  gap: 12px;
  margin-bottom: 40px;
}
.caps-competency {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  background: var(--off-white);
  border-radius: var(--radius);
  border-left: 3px solid var(--gold);
}
.caps-competency-check {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}
.caps-competency strong {
  display: block;
  color: var(--navy);
  font-size: 0.925rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.caps-competency p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
}
.caps-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
  display: grid;
  gap: 24px;
  align-content: start;
}
.caps-sidebar-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 28px;
  color: var(--white);
}
.caps-sidebar-card h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.caps-sidebar-card .code-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
  font-size: 0.875rem;
}
.caps-sidebar-card .code-row:last-child { border-bottom: none; }
.caps-sidebar-card .code-row span:first-child { color: rgba(255,255,255,.5); font-size: 0.78rem; }
.caps-sidebar-card .code-row span:last-child { font-weight: 600; color: var(--white); }
.caps-sidebar-card .status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(52,199,89,.15);
  border: 1px solid rgba(52,199,89,.25);
  color: #4cd964;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.caps-sidebar-card .status-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: #4cd964;
  border-radius: 50%;
}

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.services-page {
  padding: 80px 0;
}
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--gray-100);
}
.service-block:last-child { border-bottom: none; }
.service-block.reverse .service-block-text { order: 2; }
.service-block.reverse .service-block-visual { order: 1; }
.service-block-text h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.2;
}
.service-block-text p {
  font-size: 0.975rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 24px;
}
.service-subheading {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin: 1.5rem 0 10px;
}
.service-detail-lines + .service-subheading {
  margin-top: 1.25rem;
}
.service-detail-lines {
  margin: 0 0 1.25rem;
  padding: 0 0 1rem;
  border-bottom: 1px solid var(--gray-100);
  display: grid;
  gap: 10px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-light);
}
.service-detail-lines p { margin: 0; }
.service-detail-lines strong {
  color: var(--navy);
  font-weight: 600;
}
.service-block .inline-text-link,
.service-detail-lines .inline-text-link {
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.service-block .inline-text-link:hover { color: var(--navy); }
.service-block-btn-spaced { margin-bottom: 12px; }
.service-features {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
}
.service-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
}
.service-feature::before {
  content: '';
  width: 20px; height: 20px;
  background: rgba(200,152,42,.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23C8982A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.service-block-visual {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-block-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 30px 30px;
}
.service-visual-icon {
  position: relative;
  z-index: 1;
  text-align: center;
}
.service-visual-icon svg {
  width: 80px; height: 80px;
  color: var(--gold);
  opacity: 0.85;
}
.service-visual-icon p {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255,255,255,.5);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 16px;
}
.naics-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(27,79,138,.08);
  border: 1px solid rgba(27,79,138,.15);
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-section {
  padding: 80px 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 80px;
}
.about-text h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 20px;
}
.about-text p {
  font-size: 0.975rem;
  color: var(--text-light);
  line-height: 1.85;
  margin-bottom: 16px;
}
.about-highlight {
  background: rgba(200,152,42,.06);
  border-left: 3px solid var(--gold);
  padding: 16px 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
  font-style: italic;
  font-size: 1rem;
  color: var(--navy);
  font-weight: 500;
  line-height: 1.65;
}
.about-foundations-col {
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-width: 0;
}
.about-foundations-heading {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 20px;
}
.about-pillars-row {
  margin-bottom: 0;
}
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.pillar-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 24px;
  align-items: start;
  text-align: left;
}
.pillar-icon {
  width: 52px; height: 52px;
  background: rgba(200,152,42,.15);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.pillar-card-body h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 10px;
}
.pillar-card-body p {
  font-size: 0.875rem;
  color: rgba(255,255,255,.55);
  line-height: 1.65;
  margin: 0;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.value-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.value-dot {
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 7px;
}
.value-item strong {
  display: block;
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}
.value-item span {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.55;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section {
  padding: 80px 0;
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 64px;
  align-items: start;
}
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: var(--shadow);
}
.contact-form-wrap h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}
.contact-form-wrap .form-sub {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 32px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 7px;
  letter-spacing: 0.03em;
}
.form-group label .required {
  color: #e53e3e;
  margin-left: 2px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(27,79,138,.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.form-submit:hover {
  background: var(--blue);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(10,22,40,.3);
}
.form-note {
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-top: 12px;
  text-align: center;
}
/* Web3Forms honeypot — must stay unchecked; display:none removes it from layout (no gap/checkbox flash) */
.form-botcheck {
  display: none !important;
}
/* Filled by JS for Web3Forms: labeled plaintext block (not for display) */
.form-rfq-plaintext {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.contact-sidebar {
  display: grid;
  gap: 24px;
  align-content: start;
}
.contact-info-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.contact-info-card h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.contact-info-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}
.contact-info-row:last-child { margin-bottom: 0; }
.contact-info-icon {
  width: 36px; height: 36px;
  background: rgba(200,152,42,.15);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.contact-info-row strong {
  display: block;
  font-size: 0.8rem;
  color: rgba(255,255,255,.4);
  font-weight: 500;
  margin-bottom: 3px;
}
.contact-info-row a,
.contact-info-row span {
  font-size: 0.9rem;
  color: var(--white);
  font-weight: 500;
}
.contact-info-row a:hover { color: var(--gold); }
.response-card {
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.response-card h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 16px;
}
.response-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.875rem;
}
.response-item:last-child { border-bottom: none; }
.response-item span:first-child { color: var(--text-light); }
.response-item span:last-child { font-weight: 600; color: var(--navy); }

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.form-success.visible { display: block; }
.form-success svg { color: #22c55e; margin: 0 auto 16px; }
.form-success h3 { font-family: var(--font-heading); color: var(--navy); margin-bottom: 8px; }
.form-success p { color: var(--text-light); font-size: 0.9rem; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .why-grid { gap: 40px; }
  .codes-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .caps-layout { grid-template-columns: 1fr; }
  .caps-sidebar { position: static; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-sidebar { order: -1; }
  .about-grid { gap: 48px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-mobile { display: block; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .codes-grid { grid-template-columns: repeat(2, 1fr); }
  .service-block { grid-template-columns: 1fr; gap: 32px; }
  .service-block.reverse .service-block-text { order: 0; }
  .service-block.reverse .service-block-visual { order: 0; }
  .about-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-stats { gap: 20px; }
  .contact-form-wrap { padding: 28px 24px; }
}
@media (max-width: 480px) {
  .codes-grid { grid-template-columns: 1fr; }
  .creds-inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .creds-bar .cred-item {
    width: auto;
    justify-content: flex-start;
    border-right: 1px solid rgba(10, 22, 40, 0.12);
    border-bottom: 1px solid rgba(10, 22, 40, 0.12);
    padding: 10px 8px;
  }
  .creds-bar .cred-item:nth-child(2n) { border-right: none; }
  .creds-bar .cred-item:nth-child(3),
  .creds-bar .cred-item:nth-child(4) { border-bottom: none; }
  .pillar-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .pillar-card-body h4 { text-align: center; }
}

/* ============================================================
   PHASE 1 — HOME PAGE SIMPLIFIED SECTIONS
   (intro · trust · areas-we-serve · simplified why-us)
   ============================================================ */

/* --- Home intro (directly below creds bar) --- */
.home-intro {
  padding: 56px 0 32px;
  background: var(--white);
}
.home-intro-copy {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--text-light);
}

/* --- Trust block (single short paragraph between Why Us and Areas) --- */
.home-trust {
  padding: 40px 0;
  background: var(--off-white);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}
.home-trust-copy {
  max-width: 50rem;
  margin: 0 auto;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text);
  font-weight: 500;
}

/* --- Areas We Serve (uniform component, also used elsewhere) --- */
.areas-we-serve {
  padding: 56px 0 64px;
  background: var(--white);
}
.areas-we-serve .section-header { margin-bottom: 28px; }
.areas-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 50rem;
  margin: 0 auto;
}
.areas-list li {
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy);
  transition: all var(--transition);
}
.areas-list li:hover {
  background: var(--white);
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
}

/* --- Why Us, simplified bullet variant --- */
.why-us--simple { padding: 72px 0 80px; }
.why-us--simple .section-header { text-align: center; }
.why-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  max-width: 56rem;
  margin: 0 auto;
}
.why-list li {
  position: relative;
  padding: 18px 20px 18px 56px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  color: var(--white);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
}
.why-list li::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--gold);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A1628' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 14px 14px;
}

@media (max-width: 768px) {
  .home-intro { padding: 40px 0 24px; }
  .home-intro-copy { font-size: 1.05rem; }
  .home-trust { padding: 32px 0; }
  .areas-we-serve { padding: 40px 0 48px; }
  .why-us--simple { padding: 56px 0 64px; }
  .why-list { grid-template-columns: 1fr; }
}

/* ============================================================
   PHASE 2 — ABOUT PAGE SIMPLIFIED SECTIONS
   ============================================================ */

/* --- About intro paragraphs --- */
.about-intro {
  max-width: 56rem;
  margin: 0 auto 32px;
  text-align: center;
}
.about-intro p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 20px;
}
.about-intro p:last-child { margin-bottom: 0; }

/* --- About engineering supporting note --- */
.about-engineering-note {
  max-width: 50rem;
  margin: 0 auto;
  padding: 24px 28px;
  background: var(--off-white);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
}
.about-engineering-note p {
  margin: 0;
  font-size: 0.975rem;
  line-height: 1.75;
  color: var(--text-light);
  font-style: italic;
}

/* --- About: What You Can Expect --- */
.about-expect {
  padding: 64px 0 72px;
  background: var(--off-white);
}
.expect-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 980px;
  margin: 0 auto;
}
.expect-item {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all var(--transition);
}
.expect-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: transparent;
}
.expect-item h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.expect-item p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-light);
  margin: 0;
}

/* --- About: Why a Local Business Matters --- */
.why-local {
  padding: 72px 0 80px;
  background: var(--white);
}
.why-local-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  max-width: 880px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.why-local-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--gold);
}
.why-local-card .section-tag.light { margin-bottom: 12px; }
.why-local-card h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}
.why-local-card .divider-line { margin-bottom: 20px; }
.why-local-card p.light {
  color: rgba(255,255,255,.78);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 16px;
}
.why-local-card p.light strong { color: var(--white); }
.why-local-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  margin: 8px 0 24px;
  padding: 0;
}
.why-local-list li {
  position: relative;
  padding-left: 28px;
  color: rgba(255,255,255,.92);
  font-size: 0.975rem;
  line-height: 1.5;
}
.why-local-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background-color: var(--gold);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A1628' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 12px 12px;
}

/* --- About closing note --- */
.about-closing {
  padding: 56px 0;
  background: var(--off-white);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}
.about-closing-copy {
  max-width: 50rem;
  margin: 0 auto;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
  font-weight: 500;
}

/* ============================================================
   PHASE 4 — FEDERAL CONTRACTING PAGE SECTIONS
   ============================================================ */

.fed-intro {
  padding: 56px 0 32px;
  background: var(--white);
}
.fed-intro-copy {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}
.fed-intro-copy p {
  font-size: 1.075rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 16px;
}
.fed-intro-copy p:last-child { margin-bottom: 0; }

.fed-section {
  padding: 56px 0;
}
.fed-section--what { background: var(--off-white); }
.fed-section--how { background: var(--white); }
.fed-section--reliable { background: var(--off-white); }

.fed-section .section-header { margin-bottom: 28px; }

.fed-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px 20px;
  max-width: 880px;
  margin: 0 auto;
  padding: 0;
}
.fed-list li {
  position: relative;
  padding: 16px 18px 16px 50px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  font-size: 0.975rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.45;
  transition: all var(--transition);
}
.fed-list li:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
}
.fed-list li::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px; height: 22px;
  border-radius: 50%;
  background-color: var(--gold);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A1628' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 12px 12px;
}
/* Numbered steps variant */
.fed-list--steps {
  counter-reset: fed-step;
}
.fed-list--steps li {
  counter-increment: fed-step;
}
.fed-list--steps li::before {
  content: counter(fed-step);
  background-image: none;
  color: var(--navy);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fed-how-body {
  max-width: 880px;
  margin: 0 auto;
}
.fed-how-body p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 16px;
  text-align: center;
}
.fed-how-body p strong { color: var(--navy); }

.fed-reliable-copy {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-light);
}
.fed-reliable-copy p { margin: 0; }

@media (max-width: 768px) {
  .about-intro p { font-size: 1.05rem; }
  .about-engineering-note { padding: 20px 22px; }
  .about-expect { padding: 48px 0 56px; }
  .expect-grid { grid-template-columns: 1fr; }
  .why-local { padding: 56px 0 64px; }
  .why-local-card { padding: 40px 28px; }
  .why-local-card h2 { font-size: 1.5rem; }
  .why-local-list { grid-template-columns: 1fr; }
  .about-closing { padding: 40px 0; }
  .fed-intro { padding: 40px 0 24px; }
  .fed-section { padding: 40px 0; }
  .fed-list { grid-template-columns: 1fr; }
}

/* ============================================================
   PHASES 5-7 — SHARED SERVICE PAGE COMPONENTS
   (intro · breakdown cards · single block · how-it-works steps)
   ============================================================ */

/* --- Service intro --- */
.svc-intro {
  padding: 56px 0 32px;
  background: var(--white);
}
.svc-intro-copy {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}
.svc-intro-copy p {
  font-size: 1.075rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 16px;
}
.svc-intro-copy p:last-child { margin-bottom: 0; }

/* --- Service section wrapper --- */
.svc-section {
  padding: 56px 0;
  background: var(--white);
}
.svc-section--alt { background: var(--off-white); }
.svc-section .section-header { margin-bottom: 32px; }

/* --- Services breakdown card grid --- */
.svc-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
}
.svc-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all var(--transition);
  scroll-margin-top: 100px;
}
.svc-section--alt .svc-card { background: var(--white); }
.svc-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: transparent;
}
.svc-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.svc-card p {
  font-size: 0.975rem;
  line-height: 1.7;
  color: var(--text-light);
  margin: 0;
}

/* --- Single content block (Organization & Layout, etc.) --- */
.svc-block {
  max-width: 56rem;
  margin: 0 auto;
}
.svc-block p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 18px;
}
.svc-block p:last-child { margin-bottom: 0; }
.svc-block-cta {
  text-align: center;
  margin-top: 24px;
}

/* --- How It Works numbered steps --- */
.process-steps {
  counter-reset: process-step;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.process-steps li {
  counter-increment: process-step;
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 20px 20px 20px 68px;
  font-size: 0.975rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.5;
  min-height: 72px;
  display: flex;
  align-items: center;
  transition: all var(--transition);
}
.svc-section--alt .process-steps li { background: var(--white); }
.process-steps li:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
}
.process-steps li::before {
  content: counter(process-step);
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .svc-intro { padding: 40px 0 24px; }
  .svc-intro-copy p { font-size: 1.025rem; }
  .svc-section { padding: 40px 0; }
  .svc-card-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
}

/* ============================================================
   PHASE 9 — SERVICES HUB MODIFIERS
   (alt-band sections · single-card rows · btn-outline-dark)
   ============================================================ */
.services-overview--alt {
  background: var(--white);
  padding-bottom: 48px;
}
.services-grid--single {
  grid-template-columns: minmax(0, 560px);
  justify-content: center;
}
.inline-text-link {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.inline-text-link:hover { color: var(--navy); }

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