/* ==========================================================================
   PCW CONTRACTING SERVICES - RESTRUCTURED PRODUCTION STYLESHEET
   Clean, Calm, Board-Room Credible Architectural Design System
   ========================================================================== */

:root {
  /* Source-of-truth visual tokens from commit 5a30e5f */
  --navy-950: #090d16;
  --navy-900: #0f172a;
  --navy-800: #1e293b;
  --navy-700: #334155;
  --navy-600: #475569;

  --primary-blue: #2563eb;
  --primary-blue-dark: #1d4ed8;
  --blue-primary: var(--primary-blue);
  --blue-bright: #38bdf8;
  --blue-soft: #eff6ff;

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

  /* 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(9, 13, 22, 0.3);
  --shadow-gold: 0 15px 30px -10px rgba(251, 191, 36, 0.3);

  /* 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(--white);
  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: all 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 14px rgba(37, 99, 235, 0.35);
}
.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(29, 78, 216, 0.45);
}

.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(251, 191, 36, 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(9, 13, 22, 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(9, 13, 22, 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: 165px;
  height: auto;
  object-fit: contain;
  display: block;
}

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

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 0.85rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: #f1f5f9;
  border-radius: var(--radius-sm);
  min-height: 44px;
  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: 580px;
  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, 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: all 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;
}
.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(9, 13, 22, 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(9, 13, 22, 0.82) 0%, rgba(9, 13, 22, 0.62) 50%, rgba(9, 13, 22, 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(--slate-50);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
  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(9, 13, 22, 0.03) 0%, rgba(9, 13, 22, 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: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 50%, var(--navy-800) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--white);
}

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

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

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

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

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

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

.division-gateway-section.division-property .division-image-wrap {
  background-color: var(--navy-900);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.7);
}

.division-gateway-section.division-property .division-image-overlay {
  background: linear-gradient(135deg, rgba(9, 13, 22, 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(9, 13, 22, 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);
}

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

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

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

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

.differentiator-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  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, 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: 0.95rem;
  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: all 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: 4.5rem 0;
  background-color: var(--slate-50);
}

.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: all 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: 1.6fr 1.2fr 1.2fr 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, 1fr);
  }

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

  .footer-top-grid {
    grid-template-columns: 1fr 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: 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;
  }
}
