/* ==========================================================================
   PCW CONTRACTING SERVICES — SHARED MULTI-PAGE STYLES
   First-draft typography, navigation, service pages, forms, and dialogs.
   Homepage composition lives in first-draft.css, not a late override stack.
   ========================================================================== */

:root {
  /* Source-of-truth visual tokens from commit 5a30e5f */
  --navy-950: #0a192f;
  --navy-900: #0f274a;
  --navy-800: #173766;
  --navy-700: #1e4680;
  --navy-600: #475569;

  --primary-blue: #2563eb;
  --primary-blue-dark: #1d4ed8;
  --blue-primary: var(--primary-blue);
  --blue-hover: var(--primary-blue-dark);
  --border-radius: 8px;
  --border-radius-lg: 16px;
  --shadow-premium: 0 20px 40px -15px rgba(0,0,0,.3);
  --slate-400: #94a3b8;
  --transition-smooth: color .25s, background-color .25s, border-color .25s, box-shadow .25s, transform .25s;
  --transition-bounce: transform .3s, box-shadow .3s, border-color .3s;
  --blue-bright: #38bdf8;
  --blue-soft: #eff6ff;

  --gold-400: #fcd34d;
  --gold-500: #fbbf24;
  --gold-600: #b45309;

  /* Aliasing amber to exact gold tokens for full palette harmony */
  --amber-400: var(--gold-400);
  --amber-500: var(--gold-500);
  --amber-600: var(--gold-600);
  --amber-100: #fef3c7;
  --amber-50:  #fffbeb;

  --slate-50:  #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --white:     #ffffff;

  /* Typography: headings Bebas Neue, body DM Sans */
  --font-heading: 'Bebas Neue', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'DM Mono', SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Borders & Shadows */
  --border-light: var(--slate-200);
  --border-dark: rgba(255, 255, 255, 0.1);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 25px -5px rgba(15, 23, 42, 0.15), 0 8px 10px -6px rgba(15, 23, 42, 0.15);
  --shadow-xl: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 15px 30px -10px rgba(0, 0, 0, 0.4);

  /* Layout tokens */
  --max-width: 1240px;
  --header-height: 76px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--slate-800);
  background-color: var(--slate-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  width: 100%;
  position: relative;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease;
}

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

/* Accessibility: Visible Focus Outline */
:focus-visible {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Utility Kickers & Badges - Restrained Gold Trust Accents */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 0.75rem;
}

.kicker-dark {
  color: var(--gold-400);
}

.kicker-pill {
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(217, 119, 6, 0.25);
  color: var(--gold-600);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  display: inline-block;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  min-height: 44px;
  line-height: 1.2;
  transition: color .2s, background-color .2s, border-color .2s, box-shadow .2s, transform 0.2s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary-blue);
  color: var(--white);
  border-color: var(--primary-blue);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.btn-primary:hover {
  background-color: var(--primary-blue-dark);
  border-color: var(--primary-blue-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-secondary-light {
  background-color: var(--white);
  color: var(--navy-900);
  border-color: var(--slate-300);
}
.btn-secondary-light:hover {
  background-color: var(--slate-100);
  border-color: var(--slate-400);
  color: var(--navy-950);
  transform: translateY(-2px);
}

.btn-dark {
  background-color: var(--navy-900);
  color: var(--white);
  border-color: var(--navy-900);
}
.btn-dark:hover {
  background-color: var(--navy-800);
  border-color: var(--navy-800);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-gold {
  background-color: var(--gold-500);
  color: var(--navy-950);
  border-color: var(--gold-500);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}
.btn-gold:hover {
  background-color: var(--gold-600);
  border-color: var(--gold-600);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

/* ==========================================================================
   HEADER & NAVIGATION
   Dark navy glass/solid treatment consistent with commit 5a30e5f design
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(10, 25, 47, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
  background-color: rgba(10, 25, 47, 0.98);
  border-bottom-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Logo Sizing */
.brand-link {
  display: flex;
  align-items: center;
  min-height: 44px;
}

.brand-logo-img {
  width: 185px;
  height: auto;
  object-fit: contain;
  display: block;
  
}

/* Desktop Nav */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  flex-wrap: nowrap;
}

.nav-item {
  position: relative;
}

/* Contact + Employment: keep inline, never shrink/wrap */
.nav-inline-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex: 0 0 auto;
  white-space: nowrap;
}

.nav-inline-links .nav-link {
  flex-shrink: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 0.55rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: #f1f5f9;
  border-radius: var(--radius-sm);
  min-height: 44px;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.15s ease, background 0.15s ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-item:hover > .nav-link {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.08);
}

.nav-link.active {
  color: var(--gold-400);
}

.nav-link i {
  width: 14px;
  height: 14px;
  opacity: 0.8;
  color: var(--slate-400);
  transition: transform 0.2s ease, color 0.15s ease;
}

.nav-item:hover .nav-link i,
.nav-item:focus-within .nav-link i {
  transform: rotate(180deg);
  color: var(--blue-bright);
}

/* Dropdown Menus */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--navy-950);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 40px -4px rgba(0, 0, 0, 0.7);
  border-radius: var(--radius-md);
  padding: 0.75rem 0;
  min-width: 260px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 1050;
}

.nav-item:hover > .dropdown-menu,
.nav-item:focus-within > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Multi-column Mega Dropdown for Project & Property Services */
.mega-dropdown {
  min-width: 540px;
  padding: 1.25rem;
}

.mega-dropdown-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mega-overview-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gold-400);
}
.mega-overview-link:hover {
  color: var(--gold-500);
  text-decoration: underline;
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 1rem;
}

.dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  color: var(--slate-300);
  border-radius: var(--radius-sm);
  transition: background 0.15s ease, color 0.15s ease;
}

.dropdown-item:hover,
.dropdown-item:focus-visible {
  background-color: rgba(37, 99, 235, 0.22);
  color: #ffffff;
}

.dropdown-item i {
  width: 12px;
  height: 12px;
  opacity: 0;
  color: var(--gold-500);
  transform: translateX(-4px);
  transition: color .2s, background-color .2s, border-color .2s, box-shadow .2s, transform 0.15s ease;
}

.dropdown-item:hover i {
  opacity: 1;
  transform: translateX(0);
}

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

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: #f8fafc;
  min-height: 44px;
  white-space: nowrap;
  flex-shrink: 0;
}
.header-phone:hover {
  color: var(--gold-400);
}
.header-phone i {
  color: var(--gold-500);
}

/* Mobile Toggle Button */
.mobile-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  color: #ffffff;
  width: 44px;
  min-width: 44px;
  height: 44px;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.mobile-nav-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Mobile Navigation Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: rgba(10, 25, 47, 0.85);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.mobile-drawer-content {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 360px;
  background: var(--navy-950);
  color: #f8fafc;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

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

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

.mobile-drawer-header img {
  width: 140px;
  height: auto;
  object-fit: contain;
  display: block;
}

.mobile-close-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.mobile-close-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}

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

.mobile-nav-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #f8fafc;
  min-height: 44px;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus-visible {
  color: var(--primary-blue);
}

.mobile-accordion-toggle {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.mobile-accordion-content {
  display: none;
  padding: 0.5rem 0 1rem 1rem;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-accordion-content.is-open {
  display: flex;
}

.mobile-sub-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.5rem;
  font-size: 0.88rem;
  color: #cbd5e1;
  min-height: 44px;
}

.mobile-sub-link:hover,
.mobile-sub-link:focus-visible {
  color: var(--primary-blue);
}

.mobile-drawer-footer {
  margin-top: auto;
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  background-color: var(--navy-950);
  color: var(--white);
  min-height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

/* Scrim: Clear, balanced contrast without choking the photo */
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 25, 47, 0.82) 0%, rgba(10, 25, 47, 0.62) 50%, rgba(10, 25, 47, 0.22) 100%);
  z-index: 2;
}

.hero-three-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
  opacity: 0.35;
  mix-blend-mode: screen;
}

.hero-content {
  position: relative;
  z-index: 4;
  max-width: 800px;
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.hero-title span {
  color: var(--primary-blue);
}

.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.6;
  color: var(--slate-200);
  max-width: 680px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.trust-item {
  display: flex;
  flex-direction: column;
}

.trust-item-value {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  line-height: 1;
  color: var(--white);
}

.trust-item-label {
  font-size: 0.76rem;
  color: var(--slate-300);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ==========================================================================
   IMAGE-LED DIVISION GATEWAYS (HOMEPAGE & HUBS)
   Restored commit 5a30e5f dark/light contrast rhythm in an image-led way:
   - Division 1: Light slate/white background, dark text, blue CTA, concrete image
   - Division 2: Complementary navy/blue dark band, light text, gold detail, decking image
   ========================================================================== */
.division-gateway-section {
  padding: 6.5rem 0;
  position: relative;
  overflow: hidden;
}

/* Division 1: Project Services - Light Slate/White Image-Led Band */
.division-gateway-section.division-project {
  background-color: var(--white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  color: var(--navy-900);
}

.division-gateway-section.division-project .section-h2 {
  color: var(--navy-950);
}

.division-gateway-section.division-project .section-h2 span {
  color: var(--primary-blue);
}

.division-gateway-section.division-project .kicker {
  color: var(--primary-blue);
}

.division-gateway-section.division-project .section-p {
  color: var(--slate-600);
}

.division-gateway-section.division-project .feature-list-item {
  color: var(--slate-700);
}

.division-gateway-section.division-project .feature-list-item i {
  color: var(--primary-blue);
}

.division-gateway-section.division-project .division-image-wrap {
  background-color: var(--slate-100);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-lg);
}

.division-gateway-section.division-project .division-image-overlay {
  background: linear-gradient(180deg, rgba(10, 25, 47, 0.03) 0%, rgba(10, 25, 47, 0.18) 100%);
}

.division-gateway-section.division-project .btn-secondary-dark,
.division-gateway-section.division-project .btn-secondary-light {
  background-color: transparent;
  color: var(--navy-900);
  border: 1px solid var(--slate-300);
}

.division-gateway-section.division-project .btn-secondary-dark:hover,
.division-gateway-section.division-project .btn-secondary-light:hover {
  background-color: var(--slate-100);
  border-color: var(--slate-400);
  color: var(--navy-950);
}

/* Division 2: Property Services - Complementary Navy/Blue Dark Band */
.division-gateway-section.division-property {
  background-color: var(--white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  color: var(--navy-900);
}

.division-gateway-section.division-property .section-h2 {
  color: var(--navy-950);
}

.division-gateway-section.division-property .section-h2 span {
  color: var(--gold-600);
}

.division-gateway-section.division-property .kicker {
  color: var(--gold-600);
}

.division-gateway-section.division-property .section-p {
  color: var(--slate-600);
}

.division-gateway-section.division-property .feature-list-item {
  color: var(--slate-700);
}

.division-gateway-section.division-property .feature-list-item i {
  color: var(--gold-600);
}

.division-gateway-section.division-property .division-image-wrap {
  background-color: var(--slate-100);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-lg);
}

.division-gateway-section.division-property .division-image-overlay {
  background: linear-gradient(135deg, rgba(10, 25, 47, 0.15) 0%, rgba(15, 23, 42, 0.3) 100%);
}

.division-gateway-section.division-property .btn-gold {
  background-color: var(--gold-500);
  color: var(--navy-950);
  border-color: var(--gold-500);
}

.division-gateway-section.division-property .btn-gold:hover {
  background-color: var(--gold-600);
  border-color: var(--gold-600);
  color: var(--white);
}

.division-gateway-section.division-property .btn-secondary-dark {
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.division-gateway-section.division-property .btn-secondary-dark:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

.division-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.division-grid.reverse {
  direction: rtl;
}
.division-grid.reverse > * {
  direction: ltr;
}

.division-image-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.7);
  background-color: var(--navy-900);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.division-image {
  width: 100%;
  height: 440px;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.division-image-wrap:hover .division-image {
  transform: scale(1.02);
}

/* Image overlays */
.division-image-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.division-image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 25, 47, 0.9) 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2;
}

.division-image-caption-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gold-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.division-text {
  max-width: 540px;
}

.section-h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.02;
  color: var(--navy-950);
  margin-bottom: 1rem;
}

.section-h2 span {
  color: var(--primary-blue);
}

.section-p {
  font-size: 1.05rem;
  color: var(--slate-600);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.feature-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--slate-700);
}

.feature-list-item i {
  color: var(--primary-blue);
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.btn-secondary-dark {
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-secondary-dark:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

/* ==========================================================================
   CONCISE PROOF & EDITORIAL DIFFERENTIATORS (BOARD-ROOM CREDIBILITY)
   ========================================================================== */
.proof-section {
  padding: 5.5rem 0;
  background-color: var(--white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  color: var(--navy-950);
}
.proof-section .section-h2 {
  color: var(--navy-950);
}
.proof-section .section-h2 span {
  color: var(--primary-blue);
}
.proof-section .section-p {
  color: var(--slate-600);
}
.proof-section .kicker {
  color: var(--gold-600);
}

.proof-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.differentiator-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.differentiator-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  background-color: var(--white);
  box-shadow: 0 4px 16px -2px rgba(0, 0, 0, 0.05);
  color: var(--navy-950);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.differentiator-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px -4px rgba(0, 0, 0, 0.12);
  border-color: var(--primary-blue);
}

.differentiator-card h3 {
  color: var(--navy-950);
}

.differentiator-card p {
  color: var(--slate-600);
}

.differentiator-num {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--gold-600);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.differentiator-card h3 {
  font-size: 1.25rem;
  color: var(--navy-950);
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.differentiator-card p {
  font-size: 0.9rem;
  color: var(--slate-600);
  line-height: 1.55;
}

/* Affiliation Strip */
.affiliation-strip {
  margin-top: 3.5rem;
  padding: 1.75rem;
  background-color: var(--slate-50);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.affiliation-tag {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy-900);
}

.affiliation-tag i {
  color: var(--gold-500);
}

/* ==========================================================================
   SELECTED CAPABILITIES & KNOWLEDGE HUB TEASERS
   ========================================================================== */
.capabilities-teaser-section {
  padding: 5.5rem 0;
  background-color: var(--navy-950);
  color: var(--white);
}

.capabilities-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.capabilities-teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.cap-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.cap-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary-blue);
}

.cap-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(37, 99, 235, 0.15);
  color: var(--blue-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.cap-card h3 {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  color: var(--white);
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
}

.cap-card p {
  font-size: 0.92rem;
  color: var(--slate-300);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.cap-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gold-400);
}
.cap-card-link:hover {
  color: var(--gold-500);
  text-decoration: underline;
}

/* ==========================================================================
   HOMEPAGE CTA STRIP
   ========================================================================== */
.cta-strip-section {
  padding: 4.5rem 0;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-strip-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.cta-strip-text {
  max-width: 680px;
}

.cta-strip-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.cta-strip-text p {
  color: var(--slate-300);
  font-size: 1.05rem;
}

.cta-strip-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   PAGE HERO (SUBPAGES)
   ========================================================================== */
.subpage-hero {
  background-color: var(--navy-950);
  color: var(--white);
  padding: 4.5rem 0 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--slate-400);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--slate-300);
}
.breadcrumbs a:hover {
  color: var(--white);
}

.breadcrumbs span.current {
  color: var(--gold-400);
  font-weight: 600;
}

.subpage-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 0.98;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.subpage-hero p.subpage-lead {
  font-size: 1.15rem;
  color: var(--slate-300);
  max-width: 760px;
  line-height: 1.6;
}

/* ==========================================================================
   SERVICE PAGE LAYOUT (EDITORIAL SPLIT)
   ========================================================================== */
.service-detail-section {
  padding: 4.5rem 0;
  background-color: var(--white);
}

.service-layout-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3.5rem;
  align-items: flex-start;
}

.service-main-content h2 {
  font-size: 1.65rem;
  color: var(--navy-950);
  margin-top: 2.25rem;
  margin-bottom: 1rem;
  line-height: 1.25;
}

.service-main-content h2:first-of-type {
  margin-top: 0;
}

.service-main-content p {
  font-size: 1rem;
  color: var(--slate-700);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.service-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.5rem 0 2rem;
}

.service-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1rem;
  line-height:1.65;
  color: var(--slate-700);
}

.service-bullets li i {
  color: var(--primary-blue);
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

/* Safe FAQ Accordion */
.faq-block {
  margin-top: 3rem;
  border-top: 1px solid var(--border-light);
  padding-top: 2.5rem;
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
  padding: 1.25rem 0;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy-950);
  cursor: pointer;
  padding: 0;
  min-height: 44px;
}

.faq-question i {
  color: var(--primary-blue);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-item.is-active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding-top: 0.75rem;
  font-size: 0.95rem;
  color: var(--slate-600);
  line-height: 1.65;
}

.faq-item.is-active .faq-answer {
  display: block;
}

/* Service Sidebar */
.service-sidebar {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.sidebar-card {
  background-color: var(--slate-50);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}

.sidebar-card-dark {
  background-color: var(--navy-900);
  border-color: var(--navy-800);
  color: var(--white);
}

.sidebar-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy-950);
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 0.6rem;
}

.sidebar-card-dark .sidebar-title {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.15);
}

.spec-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  border-bottom: 1px dashed var(--border-light);
  padding-bottom: 0.5rem;
}

.spec-label {
  color: var(--slate-500);
}

.spec-val {
  font-weight: 600;
  color: var(--navy-900);
}

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

.sidebar-link-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.6rem;
  font-size: 0.88rem;
  color: var(--slate-700);
  border-radius: var(--radius-sm);
  transition: color .2s, background-color .2s, border-color .2s, box-shadow .2s, transform 0.15s ease;
}

.sidebar-link-item:hover {
  background-color: var(--white);
  color: var(--primary-blue);
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   CONTACT FORM SECTION (EXACT PRESERVED IDS & FUNCTIONALITY)
   ========================================================================== */
.contact-section {padding:7rem 0;background:var(--slate-50);color:var(--navy-900);}
.contact-section .section-h2 {color:var(--white);}
.contact-section .section-p {color:var(--slate-300);}
.contact-section .contact-layout {background:var(--white);border-radius:16px;overflow:hidden;box-shadow:var(--shadow-lg);gap:0;padding:0;}
.contact-layout > :first-child {background:linear-gradient(135deg,var(--navy-900),var(--navy-950));color:var(--white);padding:3.5rem 2.5rem;align-self:stretch;}
.contact-layout > :last-child {padding:3.5rem 2.5rem;}
.contact-details-list {color:var(--slate-300);}
.contact-section .section-h2 span {color:var(--gold-500);}
.contact-section .contact-detail-text p,
.contact-section .contact-detail-text a {color:var(--white);}
.contact-section .contact-detail-text a:hover {color:var(--gold-500);}
.contact-details-list strong {color:var(--gold-500);}
.contact-details-list a {color:var(--white);overflow-wrap:anywhere;}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 3.5rem;
  align-items: flex-start;
}

.contact-info-panel h2 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  color: var(--navy-950);
  line-height: 1;
  margin-bottom: 1rem;
}

.contact-info-panel p {
  color: var(--slate-600);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  flex-shrink: 0;
}

.contact-detail-text h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-500);
  margin-bottom: 0.2rem;
  font-family: var(--font-mono);
}

.contact-detail-text p,
.contact-detail-text a {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy-950);
}
.contact-detail-text a:hover {
  color: var(--primary-blue);
}

/* Contact Form Card */
.form-card {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.form-header {
  margin-bottom: 1.75rem;
}

.form-header h3 {
  font-size: 1.65rem;
  color: var(--navy-950);
  margin-bottom: 0.5rem;
}

.form-header p {
  font-size: 0.95rem;
  color: var(--slate-600);
}

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

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

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--slate-800);
}

.form-control {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font-size: 0.95rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background-color: var(--white);
  color: var(--navy-950);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  min-height: 44px;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

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

.form-helper {
  font-size: 0.8rem;
  color: var(--slate-500);
  line-height: 1.4;
  margin-top: 0.25rem;
}

.submit-btn-wrap {
  grid-column: 1 / -1;
  margin-top: 0.5rem;
}

/* Success Toast */
.toast-notice {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: var(--navy-950);
  color: var(--white);
  border: 1px solid var(--primary-blue);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.75rem;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 2500;
  transform: translateY(150%);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   KNOWLEDGE HUB & ARTICLES
   ========================================================================== */
.guide-content {
  max-width: 820px;
  margin: 0 auto;
}

.guide-phase-card {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.guide-phase-card h3 {
  font-size: 1.45rem;
  color: var(--navy-950);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.guide-phase-card h3 i {
  color: var(--gold-500);
}

.guide-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.guide-list li {
  font-size: 0.95rem;
  color: var(--slate-700);
  line-height: 1.6;
}

.guide-list li strong {
  color: var(--navy-950);
}

.hub-topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.hub-topic-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.hub-topic-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary-blue);
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   OUR WORK & CAPABILITIES GALLERY
   ========================================================================== */
.gallery-filter-tabs {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.gallery-filter-btn {
  background: var(--slate-100);
  border: 1px solid var(--border-light);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate-700);
  cursor: pointer;
  min-height: 44px;
  transition: color .2s, background-color .2s, border-color .2s, box-shadow .2s, transform 0.15s ease;
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  background: var(--primary-blue);
  color: var(--white);
  border-color: var(--primary-blue);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2rem;
}

.work-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.work-card-media {
  height: 240px;
  overflow: hidden;
  background-color: var(--navy-900);
  position: relative;
}

.work-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.work-card:hover .work-card-media img {
  transform: scale(1.03);
}

.work-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.work-card-category {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gold-600);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.work-card-body h3 {
  font-size: 1.3rem;
  color: var(--navy-950);
  margin-bottom: 0.5rem;
}

.work-card-body p {
  font-size: 0.9rem;
  color: var(--slate-600);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

/* ==========================================================================
   FOOTER (AUTHORITATIVE, CLEAN, NO DUPLICATE LICENSE LINES)
   ========================================================================== */
.site-footer {
  background-color: var(--navy-950);
  color: var(--white);
  padding: 5rem 0 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr) minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--slate-400);
  line-height: 1.65;
  margin-top: 1.25rem;
  max-width: 340px;
}

.footer-logo-img {
  width: 165px;
  height: auto;
  object-fit: contain;
  display: block;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 1.25rem;
}

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

.footer-links a {
  font-size: 0.88rem;
  color: var(--slate-300);
  transition: color 0.15s ease;
  display: inline-block;
  min-height: 24px;
}

.footer-links a:hover {
  color: var(--gold-400);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  font-size: 0.88rem;
  color: var(--slate-300);
}

.footer-contact-info a {
  color: var(--white);
  font-weight: 600;
}
.footer-contact-info a:hover {
  color: var(--gold-400);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.82rem;
  color: var(--slate-400);
}

.footer-legal-affiliations {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-license-badge {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--gold-400);
  letter-spacing: 0.06em;
}

/* ==========================================================================
   RESPONSIVE DESIGN & NO-OVERFLOW SAFEGUARDS
   ========================================================================== */
@media (max-width: 1024px) {
  .desktop-nav,
  .header-actions .header-phone {
    display: none;
  }

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

  .division-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .division-grid.reverse {
    direction: ltr;
  }

  .division-image {
    height: 340px;
  }

  .differentiator-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .capabilities-teaser-grid {
    grid-template-columns: 1fr;
  }

  .footer-top-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem;
  }

  .service-layout-grid {
    grid-template-columns: 1fr;
  }

  .service-sidebar {
    position: static;
    margin-top: 2rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 68px;
  }

  .hero-three-container {
    display: none !important;
  }

  .hero-section {
    min-height: auto;
    padding: 3rem 0;
  }

  .hero-content {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .hero-trust-bar {
    gap: 1.25rem;
  }

  .differentiator-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .footer-top-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .work-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .brand-logo-img {
    width: 145px;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .cta-strip-buttons {
    width: 100%;
    flex-direction: column;
  }

  .cta-strip-buttons .btn {
    width: 100%;
  }

  .hub-topics-grid,
  .work-grid,
  .differentiator-grid,
  .form-grid {
    grid-template-columns: 1fr !important;
  }

  .mobile-drawer-content {
    max-width: 100%;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-three-container {
    display: none !important;
  }
}

/* ==========================================================================
   GREG-SPEC ADDITIONS: stats band, service directories, modals, reviews
   ========================================================================== */
.stats-band {
  background-color: var(--navy-950);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-item { display: flex; flex-direction: column; gap: 0.25rem; }
.stat-value {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--gold-400);
  line-height: 1;
}
.stat-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-300);
}
.dir-section { padding: 5rem 0; background-color: var(--navy-950); }
#proj-grid { background-color: var(--navy-950); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
#prop-grid { background-color: var(--navy-900); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.dir-section + .dir-section { border-top: 1px solid var(--border-light); }
.dir-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.dir-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.5rem;
  background-color: rgba(18, 38, 70, 0.75);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
#prop-grid .dir-card {
  
  background-color: rgba(14, 30, 56, 0.85);
}
.dir-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -6px rgba(0, 0, 0, 0.65);
  border-color: rgba(56, 189, 248, 0.6);
}
#prop-grid .dir-card:hover {
  border-color: rgba(251, 191, 36, 0.65);
}
.dir-card h3 { font-size: 1.25rem; color: var(--white); }
.dir-tag { font-size: 0.88rem; color: var(--slate-300); }
.dir-open {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-top: auto;
  padding: 0.5rem 0.95rem;
  background: var(--slate-100);
  border: 1px solid rgba(29, 99, 237, 0.25);
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: fit-content;
  text-decoration: none;
  transition: color .2s, background-color .2s, border-color .2s, box-shadow .2s, transform 0.2s ease;
}
.dir-card:hover .dir-open {
  background: var(--primary-blue);
  color: var(--white);
  border-color: var(--primary-blue);
}
#prop-grid .dir-card:hover .dir-open {
  background: var(--navy-900);
  color: var(--gold-400);
  border-color: var(--navy-900);
}
.modal { display: none; position: fixed; inset: 0; z-index: 2000; background: rgba(10, 25, 47, 0.7); padding: 1.5rem; overflow-y: auto; }
.modal:target { display: flex; align-items: flex-start; justify-content: center; }
.modal-card {
  color: var(--navy-900);
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 640px;
  width: 100%;
  padding: 2.5rem;
  margin: 4vh auto;
  position: relative;
  max-height: 86vh;
  overflow-y: auto;
}
.modal-close {
  position: absolute; top: 1rem; right: 1.25rem;
  font-size: 2rem; line-height: 1; color: var(--slate-500);
  min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center;
}
.modal-card h3 { font-size: 1.8rem; color: var(--navy-950); margin: 0.5rem 0; }
.modal-tag { font-size: 0.95rem; color: var(--gold-600); font-weight: 600; margin-bottom: 1rem; }
.modal-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.review-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  background-color: var(--slate-50);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.review-card p { font-size: 0.92rem; color: var(--slate-700); line-height: 1.65; }
.review-cat {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-600);
  font-weight: 700;
}
.review-name { font-weight: 700; color: var(--navy-950); }
.review-title { font-size: 0.82rem; color: var(--slate-500); }
.license-block {
  margin-top: 3rem;
  padding: 2rem;
  background-color: var(--navy-950);
  color: var(--white);
  border-radius: var(--radius-md);
}
.license-block h3 { font-size: 1.3rem; margin-bottom: 0.25rem; }
.license-block h3 span { color: var(--gold-400); font-size: 0.95rem; }
.license-block p { color: var(--slate-300); margin-bottom: 1.25rem; }
.client-strip { margin-top: 2.5rem; }
.client-strip h3 { font-size: 1.3rem; color: var(--navy-950); margin-bottom: 0.5rem; }
.client-strip .affiliation-strip { margin-top: 1rem; }
@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .modal-card { padding: 1.75rem; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .dir-grid, .review-grid { grid-template-columns: 1fr !important; }
}

/* scroll reveal */
.reveal, .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
/* ===== CLIENT TESTIMONIALS (Restored Dark Navy Band) ===== */
.testimonials-section {
  padding: 6rem 0;
  background-color: var(--navy-900);
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.testimonials-section .section-h2 {
  color: var(--white);
}
.testimonials-section .section-p {
  color: var(--slate-300);
}
.testimonials-section .kicker {
  color: var(--gold-400);
}
.testimonials-section .review-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1.85rem;
  color: var(--white);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.testimonials-section .review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 18px 40px -8px rgba(0, 0, 0, 0.5);
}
.testimonials-section .review-card p {
  color: var(--slate-200);
  font-size: 0.95rem;
  line-height: 1.7;
}
.testimonials-section .review-name {
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
}
.testimonials-section .review-title {
  color: var(--gold-400);
  font-size: 0.85rem;
}
.testimonials-section .review-cat {
  color: var(--blue-bright);
}

/* Knowledge Hub Light Section */
.knowledge-hub-preview-section {
  background-color: var(--white) !important;
  color: var(--navy-950) !important;
  border-top: 1px solid var(--border-light) !important;
  border-bottom: 1px solid var(--border-light) !important;
}
.knowledge-hub-preview-section .section-h2 {
  color: var(--navy-950) !important;
}
.knowledge-hub-preview-section .section-h2 span {
  color: var(--primary-blue) !important;
}
.knowledge-hub-preview-section .section-p {
  color: var(--slate-600) !important;
}
.knowledge-hub-preview-section .kicker {
  color: var(--gold-600) !important;
}
.knowledge-hub-preview-section .hub-topic-card {
  background-color: var(--white) !important;
  border: 1px solid var(--border-light) !important;
  box-shadow: 0 4px 16px -2px rgba(10, 25, 47, 0.06) !important;
  color: var(--navy-950) !important;
  border-radius: var(--radius-md) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
}
.knowledge-hub-preview-section .hub-topic-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 14px 30px -4px rgba(10, 25, 47, 0.12) !important;
  border-color: var(--primary-blue) !important;
}
.knowledge-hub-preview-section .hub-topic-card h3 {
  color: var(--navy-950) !important;
}
.knowledge-hub-preview-section .hub-topic-card p {
  color: var(--slate-600) !important;
}
.knowledge-hub-preview-section .kicker-pill {
  background: var(--slate-100) !important;
  border: 1px solid var(--slate-200) !important;
  color: var(--primary-blue) !important;
}
.dir-section .section-p,
.dir-lead {
  color: var(--slate-300) !important;
}
.dir-lead strong {
  color: var(--white) !important;
}
/* Card Action Buttons (Request Quote modal trigger + Learn More direct route) */
.dir-card-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: auto;
  padding-top: 0.75rem;
  flex-wrap: wrap;
}

.dir-btn {
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.85rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color .2s, background-color .2s, border-color .2s, box-shadow .2s, transform 0.2s ease;
  cursor: pointer;
  line-height: 1.2;
}

.dir-btn-quote {
  background: var(--primary-blue);
  color: var(--white);
  border: 1px solid var(--primary-blue);
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3);
}

.dir-btn-quote:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.45);
}

.dir-btn-learn {
  background: rgba(255, 255, 255, 0.08);
  color: var(--slate-200);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.dir-btn-learn:hover {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}


/* Focused cleanup: service cards open dialogs; modal CTAs retain distinct roles. */
.dir-section .section-h2 {color:var(--white)!important;font-size:clamp(2rem,3.5vw,3rem);}
.dir-section .kicker {color:var(--gold-400);}
.dir-card {text-decoration:none;cursor:pointer;}
.dir-card:focus-visible {outline:3px solid var(--gold-400);outline-offset:4px;}
.dir-details-cue {display:inline-flex;align-items:center;gap:.5rem;margin-top:auto;padding-top:.5rem;color:var(--slate-200);font-size:.875rem;}
.dir-details-cue svg {width:16px;height:16px;}
.contact-section a[href^="tel:"] {white-space:nowrap;overflow-wrap:normal;}
@media(max-width:600px){
 .header-container {gap:.6rem;}
 .site-header .brand-logo-img {width:140px;}
 .site-header .header-actions {gap:.5rem;}
 .site-header .header-actions>.btn {font-family:var(--font-body);font-size:.8125rem!important;line-height:1.2;letter-spacing:0;white-space:normal;text-align:center;max-width:132px;min-height:44px;padding:.5rem .65rem!important;}
 .site-header .mobile-nav-toggle {flex-shrink:0;width:44px;min-height:44px;}
}
/* Shared first-draft typography and access states. */
h1,h2,h3,h4,h5,h6 {font-family:var(--font-heading);font-weight:400;letter-spacing:.05em;line-height:1.1;}
.btn {font-family:var(--font-heading);font-size:1.2rem;border-radius:8px;letter-spacing:.05em;}
::selection {background:var(--gold-500);color:var(--navy-950);}
html {scroll-padding-top:96px;scrollbar-color:var(--primary-blue) var(--navy-950);}
input,textarea {caret-color:var(--primary-blue);}
body.homepage .site-header {position:absolute;left:0;right:0;background:transparent;border-bottom:0;}
body.homepage .site-header.scrolled {position:fixed;background:var(--navy-950);}
.nav-item:last-child .dropdown-menu {left:auto;right:0;}
.modal-actions .btn-secondary-dark {background:var(--white);color:var(--primary-blue);border:1px solid var(--primary-blue);}
.modal-card h3 {padding-right:2rem;}
.service-bullets li svg,.feature-list-item svg {width:18px;height:18px;flex:0 0 18px;margin-top:.2rem;}
.service-bullets {font-size:16px;}
.modal-division {color:var(--primary-blue);margin-bottom:.5rem;}
@media(max-width:1200px){.desktop-nav,.header-actions .header-phone{display:none;}.mobile-nav-toggle{display:inline-flex;}}
@media(max-width:768px){.contact-section{padding:4rem 1rem;}.contact-layout>:first-child,.contact-layout>:last-child{padding:2rem 1.25rem;}}

/* Contact / estimate alignment: shared by the contact page and homepage form.
   Keep native controls, approved copy, field IDs and submission wiring intact. */
.contact-section .contact-layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
}
.contact-section .contact-layout > *,
.contact-section .form-group,
.contact-section .contact-detail-text {
  min-width: 0;
  text-align: left;
}
.contact-section .form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.contact-section .form-control {
  min-width: 0;
  max-width: 100%;
  min-height: 48px;
  font-size: 1rem;
  line-height: 1.5;
}
.contact-section .form-control::placeholder {color:var(--slate-500);opacity:1;}
.contact-section .form-label {font-size:1rem;line-height:1.5;}
.contact-section .form-helper {font-size:.875rem;line-height:1.5;}
.contact-section .contact-details-list {margin-top:1.5rem;}
.contact-section .contact-detail-text :is(p, a) {overflow-wrap:anywhere;}
.contact-section .contact-layout > :first-child > h2 {
  font-size:clamp(2rem, 3vw, 2.8rem);
  line-height:1.15;
  text-wrap:balance;
  margin-bottom:1rem;
}
.contact-section .contact-layout > :first-child > p {font-size:1rem;line-height:1.6;}
.contact-page .subpage-hero h1 {text-wrap:balance;white-space:normal;}
@media (max-width: 1024px) {
  .contact-section .contact-layout {grid-template-columns:minmax(0, 1fr);}
}
@media (max-width: 820px) {
  .contact-page .subpage-hero {padding:2.5rem 0;}
  .contact-page .subpage-hero > .container {padding-inline:1.25rem;}
  .contact-page .subpage-hero h1 {font-size:clamp(2.25rem, 6vw, 3.5rem);line-height:1.1;}
  .contact-page .subpage-lead {font-size:1rem;line-height:1.6;}
  .contact-section,
  .first-draft .contact-section {padding:3rem 1.25rem;}
  .contact-section .contact-layout {width:100%;}
  .contact-section .contact-layout > :first-child,
  .contact-section .contact-layout > :last-child {padding:2rem 1.25rem;}
  .contact-section .form-grid {grid-template-columns:minmax(0, 1fr);gap:1.25rem;}
  .contact-section .form-header p {font-size:1rem;line-height:1.6;}
  .contact-section .contact-detail-item {gap:.75rem;}
  .contact-section .contact-detail-text :is(p, a) {font-size:1rem;line-height:1.6;}
}
