/*
 Theme Name:   PFS Divi Child
 Theme URI:    https://www.precisionfuzing.com
 Description:  Precision Fuzing & Sensors — Divi Child Theme
 Author:       Fronetics
 Author URI:   https://www.fronetics.com
 Template:     Divi
 Version:      1.0.0
 Text Domain:  pfs-divi-child
*/

/* ============================================================
   TABLE OF CONTENTS
   01. CSS Custom Properties (Brand Variables)
   02. Google Fonts
   03. Global Reset & Base
   04. Typography — Global
   05. Layout Utilities
   06. Navigation & Header
   07. Hero — Homepage
   08. Hero — Interior Pages
   09. Buttons
   10. Section Wrappers & Headers
   11. Stats / Numbers
   12. Partners Bar
   13. Solutions / Feature Cards (Hover Sweep-Up)
   14. Product Cards
   15. Capability Cards
   16. News Cards
   17. Why-Us Cards
   18. Certifications Bar
   19. Story / Two-Column Sections
   20. Mission & Values Cards
   21. Leadership Cards
   22. Timeline
   23. Contact — Info & Map Grid
   24. Contact Form
   25. Vendor Section
   26. CTA Section
   27. Footer
   28. Reveal Animation
   29. Divi Module Overrides — Sections
   30. Divi Module Overrides — Text & Headings
   31. Divi Module Overrides — Buttons
   32. Divi Module Overrides — Blurbs
   33. Divi Module Overrides — Contact Form
   34. Divi Module Overrides — Header & Navigation
   35. Responsive Breakpoints
   ============================================================ */


/* ============================================================
   01. CSS CUSTOM PROPERTIES
   ============================================================ */

:root {
  /* Primary brand colors */
  --precision-orange:       #F05329;
  --precision-orange-hover: #E04820;
  --precision-orange-light: rgba(240, 83, 41, 0.08);
  --precision-orange-mid:   rgba(240, 83, 41, 0.15);

  --precision-blue:         #0077BE;
  --precision-blue-dark:    #005F98;
  --precision-blue-light:   rgba(0, 119, 190, 0.08);
  --precision-blue-mid:     rgba(0, 119, 190, 0.12);

  /* Neutrals from brand guide */
  --dark-gray:   #1A262B;
  --mid-gray:    #A1A5A3;
  --light-gray:  #EEEFEF;
  --white:       #FFFFFF;
  --black:       #000000;

  /* Derived UI semantic colors */
  --text-primary:   #1A262B;
  --text-secondary: #3D4F58;
  --text-tertiary:  #6B7B84;
  --border-light:   #D8DCDD;
  --border-mid:     #C0C5C7;

  /* Background tokens */
  --bg-page:      #EEEFEF;
  --bg-white:     #FFFFFF;
  --bg-blue-tint: #F0F7FC;
  --bg-warm:      #FAFAFA;

  /* Typography */
  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body:    'Barlow', 'Calibri', sans-serif;
  --font-mono:    'Share Tech Mono', monospace;

  /* Easing */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* Spacing scale */
  --section-pad:    88px;
  --section-pad-sm: 56px;
  --container-max:  1280px;
  --container-pad:  40px;

  /* Border radius tokens */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  /* Shadow tokens */
  --shadow-card:  0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.12);
  --shadow-nav:   0 1px 8px rgba(0, 0, 0, 0.04);
  --shadow-btn:   0 8px 28px rgba(240, 83, 41, 0.30);
  --shadow-dropdown: 0 12px 40px rgba(0, 0, 0, 0.10);
}


/* ============================================================
   02. GOOGLE FONTS
   ============================================================ */

/*
   Loaded via functions.php wp_enqueue_style().
   Declaration kept here as a reference fallback.
   @import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700;800;900&family=Barlow+Condensed:wght@400;500;600;700;800;900&family=Share+Tech+Mono&display=swap');
*/


/* ============================================================
   03. GLOBAL RESET & BASE
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-page);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

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


/* ============================================================
   04. TYPOGRAPHY — GLOBAL
   ============================================================ */

h1, h2, h3, h4, h5, h6,
.et_pb_text h1, .et_pb_text h2,
.et_pb_text h3, .et_pb_text h4,
.et_pb_text h5, .et_pb_text h6 {
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--dark-gray);
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: 0.5px;
}

h1 { font-size: clamp(44px, 5.5vw, 72px); letter-spacing: -1px; line-height: 0.92; }
h2 { font-size: clamp(34px, 4vw, 48px); margin-bottom: 18px; }
h3 { font-size: clamp(28px, 3vw, 38px); font-weight: 900; }
h4 { font-size: clamp(18px, 2vw, 22px); font-weight: 700; }
h5 { font-size: 16px; font-weight: 700; }
h6 { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; }

p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

p:last-child { margin-bottom: 0; }

strong { font-weight: 700; color: var(--text-primary); }

.text-mono {
  font-family: var(--font-mono);
}

.text-orange { color: var(--precision-orange); }
.text-blue   { color: var(--precision-blue); }
.text-white  { color: var(--white); }
.text-muted  { color: var(--text-tertiary); }

.accent { color: var(--precision-blue); }


/* ============================================================
   05. LAYOUT UTILITIES
   ============================================================ */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section {
  padding: var(--section-pad) 0;
}

.section.bg-white { background: var(--bg-white); }
.section.bg-light { background: var(--bg-page); }
.section.bg-blue  { background: var(--bg-blue-tint); }
.section.bg-dark  { background: var(--dark-gray); }

/* two-col utility */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

/* Horizontal rule / divider accent */
.divider-orange {
  display: block;
  width: 60px;
  height: 3px;
  background: var(--precision-orange);
  border-radius: 2px;
  margin: 16px 0 0;
}

.divider-orange.centered {
  margin: 16px auto 0;
}


/* ============================================================
   06. NAVIGATION & HEADER
   ============================================================ */

/* ---- Custom class nav (used in mockups, maps to Divi header) ---- */
.nav,
#main-header,
.et_header_style_left #main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 14px 0;
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-nav);
  transition: box-shadow 0.3s ease;
}

.nav-inner,
#main-header .et_header_style_left {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  color: var(--precision-blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.1;
}

.nav-logo-text span { color: var(--precision-orange); }

.nav-logo-sub {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 10px;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Site title (Divi) */
#main-header .logo_container span,
.et_pb_image_wrap img[src*="logo"],
.et-fixed-header .logo_container {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--precision-blue);
  text-transform: uppercase;
}

/* Nav links */
.nav-links,
#et-top-navigation ul.nav {
  display: flex;
  gap: 0;
  list-style: none;
  align-items: center;
}

.nav-links > li,
#et-top-navigation ul.nav > li {
  position: relative;
  padding: 0 14px;
}

.nav-links > li > a,
#et-top-navigation ul.nav > li > a {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--text-secondary);
  letter-spacing: 0.3px;
  transition: color 0.3s ease;
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 0;
  text-transform: none;
}

/* Animated underline */
.nav-links > li > a::after,
#et-top-navigation ul.nav > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--precision-orange);
  transition: width 0.3s var(--ease);
}

.nav-links > li:hover > a,
#et-top-navigation ul.nav > li:hover > a {
  color: var(--precision-blue);
}

.nav-links > li:hover > a::after,
#et-top-navigation ul.nav > li:hover > a::after {
  width: 100%;
}

.nav-links > li > a.active,
#et-top-navigation ul.nav > li.current-menu-item > a,
#et-top-navigation ul.nav > li.current-menu-ancestor > a {
  color: var(--precision-blue);
}

.nav-links > li > a.active::after,
#et-top-navigation ul.nav > li.current-menu-item > a::after,
#et-top-navigation ul.nav > li.current-menu-ancestor > a::after {
  width: 100%;
}

/* Chevron arrow */
.nav-arrow {
  width: 10px;
  height: 10px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.nav-links > li:hover .nav-arrow { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown,
#et-top-navigation ul.nav ul.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-dropdown);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s var(--ease);
  z-index: 100;
}

.nav-links > li:hover .nav-dropdown,
#et-top-navigation ul.nav > li:hover ul.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a,
#et-top-navigation ul.nav ul.sub-menu li a {
  display: block;
  padding: 10px 20px;
  font-weight: 500;
  font-size: 13px;
  color: var(--text-secondary);
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
  text-transform: none;
}

.nav-dropdown a:hover,
#et-top-navigation ul.nav ul.sub-menu li a:hover {
  background: var(--light-gray);
  color: var(--precision-blue);
  border-left-color: var(--precision-orange);
}

/* Suppress the underline pseudo-element inside dropdowns */
.nav-dropdown a::after,
#et-top-navigation ul.nav ul.sub-menu li a::after {
  display: none !important;
}

/* Contact Sales / CTA nav button */
.nav-cta-li > a,
#et-top-navigation ul.nav > li.nav-cta > a,
#et-top-navigation ul.nav > li:last-child.menu-item > a {
  background: var(--precision-orange) !important;
  color: var(--white) !important;
  padding: 10px 24px !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  transition: all 0.3s ease !important;
}

.nav-cta-li > a::after,
#et-top-navigation ul.nav > li.nav-cta > a::after {
  display: none !important;
}

.nav-cta-li > a:hover,
#et-top-navigation ul.nav > li.nav-cta > a:hover {
  background: var(--precision-orange-hover) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(240, 83, 41, 0.25);
}


/* ============================================================
   07. HERO — HOMEPAGE
   ============================================================ */

.hero {
  padding: 130px 0 0;
  background: var(--bg-white);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  min-height: 520px;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 60px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--precision-orange);
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(44px, 5.5vw, 72px);
  line-height: 0.92;
  color: var(--dark-gray);
  text-transform: uppercase;
  letter-spacing: -1px;
  margin-bottom: 22px;
}

.hero h1 .accent { color: var(--precision-blue); }

.hero-desc {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Hero image placeholder / actual image */
.hero-image {
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  height: 100%;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #2A3E48, var(--dark-gray));
}

/* Gradient accent bar on images */
.corner-line,
.hero-image .corner-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--precision-orange), var(--precision-blue));
}

/* Hero stats bar */
.hero-stats {
  background: var(--dark-gray);
  padding: 28px 0;
  position: relative;
  z-index: 3;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

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

.stat-number {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 36px;
  color: var(--precision-orange);
  line-height: 1;
}

.stat-number .unit { font-size: 22px; }

.stat-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 6px;
}


/* ============================================================
   08. HERO — INTERIOR PAGES
   ============================================================ */

.page-hero {
  padding: 130px 0 0;
  background: var(--bg-white);
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--precision-blue);
}

/* Angled blue-tint panel on right */
.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-blue-tint) 0%, rgba(0, 119, 190, 0.04) 100%);
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  min-height: 440px;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 72px;
}

.page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--precision-orange);
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 0.95;
  color: var(--dark-gray);
  text-transform: uppercase;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.page-hero h1 .accent { color: var(--precision-blue); }

.page-hero-desc {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 640px;
}


/* ============================================================
   09. BUTTONS
   ============================================================ */

/* --- Primary (orange fill) --- */
.btn-primary,
.et_pb_button.btn-primary,
a.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--precision-orange);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  line-height: 1.2;
}

.btn-primary:hover,
.et_pb_button.btn-primary:hover,
a.btn-primary:hover {
  background: var(--precision-orange-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-btn);
}

/* Arrow icon nudge inside primary btn */
.btn-primary svg { transition: transform 0.3s ease; }
.btn-primary:hover svg { transform: translateX(3px); }

/* --- Outline (blue border) --- */
.btn-outline,
a.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: transparent;
  color: var(--precision-blue);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--precision-blue);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-outline:hover,
a.btn-outline:hover {
  background: var(--precision-blue);
  color: var(--white);
  transform: translateY(-2px);
}

/* --- Secondary (ghost white, used on dark bg) --- */
.btn-secondary,
a.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: transparent;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-secondary:hover,
a.btn-secondary:hover {
  border-color: var(--precision-orange);
  color: var(--precision-orange);
}

/* --- Submit (full-width form button) --- */
.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  width: 100%;
  background: var(--precision-orange);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  background: var(--precision-orange-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(240, 83, 41, 0.25);
}

/* --- Vendor CTA button (small orange) --- */
.btn-vendor,
a.btn-vendor {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--precision-orange);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-vendor:hover,
a.btn-vendor:hover {
  background: var(--precision-orange-hover);
  transform: translateY(-1px);
}

/* Divi default button override — mapped to primary style */
.et_pb_button,
.et_pb_promo .et_pb_button {
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  background: var(--precision-orange) !important;
  color: var(--white) !important;
  border: none !important;
  border-radius: var(--radius-sm) !important;
  padding: 12px 24px !important;
  transition: all 0.3s ease !important;
}

.et_pb_button:hover,
.et_pb_promo .et_pb_button:hover {
  background: var(--precision-orange-hover) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-btn) !important;
}

/* Divi button — outline variant (add CSS class "btn-style-outline" in Divi) */
.et_pb_button.btn-style-outline {
  background: transparent !important;
  color: var(--precision-blue) !important;
  border: 2px solid var(--precision-blue) !important;
}

.et_pb_button.btn-style-outline:hover {
  background: var(--precision-blue) !important;
  color: var(--white) !important;
  box-shadow: none !important;
}


/* ============================================================
   10. SECTION WRAPPERS & HEADERS
   ============================================================ */

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--precision-orange);
  margin: 16px auto 0;
  border-radius: 2px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(34px, 4vw, 48px);
  color: var(--dark-gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  line-height: 1.05;
}

.section-header p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Left-aligned section header variant */
.section-header.left-align {
  text-align: left;
}

.section-header.left-align::after {
  margin-left: 0;
}


/* ============================================================
   11. STATS / NUMBERS
   ============================================================ */

/* In dark bar (hero) */
.stat-number {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 36px;
  color: var(--precision-orange);
  line-height: 1;
}

.stat-number .unit { font-size: 22px; }

/* In light card (About) */
.stat-card {
  text-align: center;
  padding: 28px 16px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}

.stat-card .num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 40px;
  color: var(--precision-blue);
  line-height: 1;
}

.stat-card .num .unit { font-size: 26px; }

.stat-card .label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--dark-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 6px;
}

/* Stats row (4-up) */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

/* Why-Us / value cards (blue tint) */
.why-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius-lg);
  background: var(--bg-blue-tint);
  border: 1px solid rgba(0, 119, 190, 0.08);
  transition: all 0.3s ease;
}

.why-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.why-number {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 42px;
  color: var(--precision-blue);
  line-height: 1;
}

.why-number .unit { font-size: 28px; }

.why-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--dark-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 8px 0 10px;
}

.why-desc {
  font-size: 14px;
  color: var(--text-tertiary);
  line-height: 1.6;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}


/* ============================================================
   12. PARTNERS BAR
   ============================================================ */

.partners {
  padding: 36px 0;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
}

.partners-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  color: var(--mid-gray);
  text-transform: uppercase;
  letter-spacing: 3px;
  text-align: center;
  margin-bottom: 20px;
}

.partners-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.partners-logos span,
.partners-logos img {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
  filter: grayscale(1);
}

.partners-logos span:hover,
.partners-logos img:hover {
  opacity: 1;
  filter: grayscale(0);
}


/* ============================================================
   13. SOLUTIONS / FEATURE CARDS (Sweep-Up Hover)
   ============================================================ */

.solutions {
  padding: var(--section-pad) 0;
  background: var(--bg-page);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.sol-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 480px;
  cursor: pointer;
  display: block;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}

.sol-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.sol-card-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #2A3E48, var(--dark-gray));
  z-index: 1;
}

/* Gradient overlay on card image */
.sol-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to top,
    rgba(26, 38, 43, 0.92) 0%,
    rgba(26, 38, 43, 0.40) 50%,
    rgba(26, 38, 43, 0.15) 100%
  );
  transition: background 0.4s ease;
}

.sol-card:hover .sol-card-overlay {
  background: linear-gradient(
    to top,
    rgba(26, 38, 43, 0.95) 0%,
    rgba(26, 38, 43, 0.70) 50%,
    rgba(26, 38, 43, 0.30) 100%
  );
}

/* Orange corner accent triangle */
.sol-card-accent {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  width: 0;
  height: 0;
  border-left: 80px solid var(--precision-orange);
  border-bottom: 80px solid transparent;
  opacity: 0.9;
}

/* Card text content */
.sol-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 4;
  padding: 32px 28px;
}

.sol-card-content h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

/* Reveal text on hover */
.sol-card-reveal {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s var(--ease), opacity 0.4s ease;
}

.sol-card:hover .sol-card-reveal {
  max-height: 300px;
  opacity: 1;
}

.sol-card-reveal p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.65;
  margin-bottom: 16px;
  padding-top: 8px;
}

.sol-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--precision-orange);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: gap 0.3s ease;
}

.sol-card-link:hover { gap: 10px; }


/* ============================================================
   14. PRODUCT CARDS
   ============================================================ */

.products {
  padding: var(--section-pad) 0;
  background: var(--bg-page);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.product-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: all 0.4s var(--ease);
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 119, 190, 0.2);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.06);
}

/* Dark header band with gradient top line */
.product-card-logo {
  background: var(--dark-gray);
  padding: 28px 16px;
  text-align: center;
  position: relative;
  min-height: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.product-card-logo::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--precision-orange), var(--precision-blue));
}

.product-card-logo .pc-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20px;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.1;
}

.product-card-logo .pc-name .blue   { color: var(--precision-blue); }
.product-card-logo .pc-name .orange { color: var(--precision-orange); }

.product-card-logo .pc-sub {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 9px;
  color: var(--mid-gray);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.product-card-body { padding: 20px 18px; }

/* Status badges */
.product-card-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 3px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}

.product-card-badge.prod { background: var(--precision-blue); color: var(--white); }
.product-card-badge.dev  { background: var(--precision-orange); color: var(--white); }

.product-card h4 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  color: var(--dark-gray);
  text-transform: uppercase;
  margin-bottom: 3px;
}

.product-card .pc-type {
  font-size: 12px;
  color: var(--precision-blue);
  font-weight: 600;
  margin-bottom: 10px;
}

.product-card .pc-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 14px;
}

/* Tag chips */
.product-card .pc-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.product-card .pc-tag {
  padding: 3px 8px;
  background: var(--bg-page);
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-tertiary);
}

.product-card .pc-link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  color: var(--precision-blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.3s ease;
}

.product-card .pc-link:hover {
  color: var(--precision-orange);
  gap: 8px;
}


/* ============================================================
   15. CAPABILITY CARDS
   ============================================================ */

.capabilities {
  padding: var(--section-pad) 0;
  background: var(--bg-white);
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cap-card {
  background: var(--bg-page);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: all 0.4s var(--ease);
  position: relative;
}

/* Animated blue top bar on hover */
.cap-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--precision-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.cap-card:hover::before { transform: scaleX(1); }

.cap-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.cap-img {
  height: 160px;
  background: linear-gradient(135deg, #2A3E48, var(--dark-gray));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.cap-text { padding: 22px; }

.cap-card h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--dark-gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.cap-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}


/* ============================================================
   16. NEWS CARDS
   ============================================================ */

.news {
  padding: var(--section-pad) 0;
  background: var(--bg-page);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: all 0.4s var(--ease);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.06);
}

.news-img {
  height: 160px;
  background: linear-gradient(135deg, #2A3E48, var(--dark-gray));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  overflow: hidden;
  position: relative;
}

.news-body { padding: 24px; }

.news-category {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  color: var(--precision-orange);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.news-card h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--dark-gray);
  text-transform: uppercase;
  margin-bottom: 8px;
  line-height: 1.2;
}

.news-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0;
}


/* ============================================================
   17. CERTIFICATIONS BAR
   ============================================================ */

.certs-bar {
  padding: var(--section-pad-sm) 0;
  background: var(--bg-blue-tint);
  border-top: 1px solid rgba(0, 119, 190, 0.08);
  border-bottom: 1px solid rgba(0, 119, 190, 0.08);
}

.certs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

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

.cert-item h5 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  color: var(--precision-blue);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.cert-item p {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-bottom: 0;
}


/* ============================================================
   18. STORY / TWO-COLUMN SECTIONS
   ============================================================ */

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.story-img {
  background: linear-gradient(135deg, #2A3E48, var(--dark-gray));
  border-radius: var(--radius-lg);
  height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  position: relative;
  overflow: hidden;
}

.story-text h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 3vw, 38px);
  color: var(--dark-gray);
  text-transform: uppercase;
  margin-bottom: 18px;
}

.story-text p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 16px;
}


/* ============================================================
   19. MISSION & VALUES CARDS
   ============================================================ */

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* Full-width dark mission card */
.mission-card {
  grid-column: 1 / -1;
  background: var(--dark-gray);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  position: relative;
  overflow: hidden;
}

.mission-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--precision-orange), var(--precision-blue));
}

.mission-card h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 3vw, 34px);
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.mission-card p {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
}

/* Individual value cards */
.value-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--precision-orange);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s var(--ease);
}

.value-card:hover::before { transform: scaleY(1); }

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

.value-card h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--dark-gray);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.value-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 0;
}


/* ============================================================
   20. LEADERSHIP CARDS
   ============================================================ */

.leader-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.leader-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: all 0.4s var(--ease);
}

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

.leader-photo {
  height: 200px;
  background: linear-gradient(135deg, #2A3E48, var(--dark-gray));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

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

.leader-info { padding: 22px; }

.leader-info h4 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--dark-gray);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.leader-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  color: var(--precision-blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.leader-bio {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0;
}


/* ============================================================
   21. TIMELINE
   ============================================================ */

.timeline {
  position: relative;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--border-light);
  transform: translateX(-50%);
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  gap: 16px;
  margin-bottom: 48px;
  align-items: center;
}

.timeline-year {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 18px;
  color: var(--precision-orange);
  text-align: center;
  position: relative;
  z-index: 2;
}

.timeline-year::after {
  content: '';
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--precision-orange);
  margin: 6px auto 0;
  border: 3px solid var(--bg-white);
  box-shadow: 0 0 0 2px var(--precision-orange);
}

.timeline-content {
  padding: 20px 24px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}

.timeline-content h5 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--dark-gray);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.timeline-content p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0;
}


/* ============================================================
   22. CONTACT — INFO & MAP GRID
   ============================================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: start;
}

.contact-block { margin-bottom: 32px; }

.contact-block h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--dark-gray);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.contact-line {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.5;
}

.contact-line svg {
  width: 18px;
  height: 18px;
  stroke: var(--precision-blue);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-line a:hover { color: var(--precision-orange); }

/* Map placeholder / embed */
.map-placeholder {
  background: linear-gradient(135deg, #e8eef2, var(--bg-blue-tint));
  border-radius: var(--radius-lg);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.map-placeholder iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  border-radius: var(--radius-lg);
}


/* ============================================================
   23. CONTACT FORM
   ============================================================ */

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.form-intro h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 3vw, 38px);
  color: var(--dark-gray);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.form-intro p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.contact-form {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-card);
}

.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--dark-gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.form-group label .req { color: var(--precision-orange); }

.form-group select,
.form-group input,
.form-group textarea,
.et_pb_contact_form input,
.et_pb_contact_form textarea,
.et_pb_contact_form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-primary);
  background: var(--bg-page);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  -webkit-appearance: none;
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 5l3 3 3-3' stroke='%236B7B84' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.et_pb_contact_form input:focus,
.et_pb_contact_form textarea:focus {
  outline: none;
  border-color: var(--precision-blue);
  box-shadow: 0 0 0 3px rgba(0, 119, 190, 0.1);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Divi contact form button */
.et_pb_contact_form .et_pb_contact_submit,
.et_contact_bottom_container .et_pb_button {
  background: var(--precision-orange) !important;
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  border: none !important;
  border-radius: var(--radius-sm) !important;
  padding: 14px 32px !important;
  transition: all 0.3s ease !important;
}

.et_pb_contact_form .et_pb_contact_submit:hover,
.et_contact_bottom_container .et_pb_button:hover {
  background: var(--precision-orange-hover) !important;
  transform: translateY(-1px) !important;
}


/* ============================================================
   24. VENDOR SECTION
   ============================================================ */

.vendor-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}

.vendor-text h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 3vw, 38px);
  color: var(--dark-gray);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.vendor-text p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.vendor-reqs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
}

.vendor-reqs li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.vendor-reqs li::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--precision-orange);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 8px;
}

.vendor-cta-card {
  background: var(--dark-gray);
  border-radius: var(--radius-lg);
  padding: 36px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.vendor-cta-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--precision-orange), var(--precision-blue));
}

.vendor-cta-card h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
  color: var(--precision-orange);
  margin-bottom: 12px;
}

.vendor-cta-card p {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
}


/* ============================================================
   25. CTA SECTION
   ============================================================ */

.cta-section {
  padding: 100px 0;
  background: var(--dark-gray);
  position: relative;
  overflow: hidden;
}

/* Subtle grid overlay */
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.cta-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-inner h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(34px, 4vw, 50px);
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 18px;
}

.cta-inner p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: 36px;
}

.cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}


/* ============================================================
   26. FOOTER
   ============================================================ */

.footer,
#main-footer,
.et_pb_footer_grid {
  background: var(--bg-white);
  border-top: 1px solid var(--border-light);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--text-tertiary);
  line-height: 1.6;
  max-width: 260px;
  margin-top: 12px;
}

.footer-brand-name,
#main-footer .footer-brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  color: var(--precision-blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-brand-name span { color: var(--precision-orange); }

.footer-col h5,
#main-footer .footer-col h5 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--dark-gray);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
}

.footer-col a {
  font-size: 14px;
  color: var(--text-tertiary);
  transition: color 0.3s ease;
}

.footer-col a:hover { color: var(--precision-orange); }

.footer-contact-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-tertiary);
  margin-bottom: 10px;
}

.footer-contact-line svg {
  width: 16px;
  height: 16px;
  stroke: var(--precision-blue);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom,
#footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p { font-size: 12px; color: var(--text-tertiary); margin-bottom: 0; }

.footer-disclaimers {
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
  margin-top: 16px;
}

.footer-disclaimers p {
  font-size: 11px;
  color: var(--text-tertiary);
  line-height: 1.5;
  margin-bottom: 6px;
}


/* ============================================================
   27. REVEAL / SCROLL ANIMATION
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ============================================================
   28. IMAGE PLACEHOLDER LABELS
       (for mockup placeholder divs — remove after live imagery)
   ============================================================ */

.img-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 3px;
}

.img-sublabel {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 1px;
  text-align: center;
  padding: 0 16px;
}


/* ============================================================
   29. DIVI MODULE OVERRIDES — SECTIONS
   ============================================================ */

/* Divi section padding normalization */
.et_pb_section {
  padding: var(--section-pad) 0;
}

.et_pb_section.et_pb_section_first {
  padding-top: 130px; /* account for fixed nav */
}

/* Section background color helpers (add CSS class in Divi builder) */
.et_pb_section.pfs-bg-white   { background-color: var(--bg-white) !important; }
.et_pb_section.pfs-bg-light   { background-color: var(--bg-page) !important; }
.et_pb_section.pfs-bg-blue    { background-color: var(--bg-blue-tint) !important; }
.et_pb_section.pfs-bg-dark    { background-color: var(--dark-gray) !important; }
.et_pb_section.pfs-bg-orange  { background-color: var(--precision-orange) !important; }

/* Remove Divi's default padding on full-width sections */
.et_pb_fullwidth_section { padding: 0 !important; }

/* Row max-width alignment */
.et_pb_row {
  max-width: var(--container-max);
  margin: 0 auto;
}


/* ============================================================
   30. DIVI MODULE OVERRIDES — TEXT & HEADINGS
   ============================================================ */

.et_pb_text_inner h1,
.et_pb_text_inner h2,
.et_pb_text_inner h3,
.et_pb_text_inner h4,
.et_pb_text_inner h5 {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--dark-gray);
  line-height: 1.1;
}

.et_pb_text_inner p,
.et_pb_text_inner li {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* Divi heading module */
.et_pb_heading .et_pb_heading_container h1,
.et_pb_heading .et_pb_heading_container h2,
.et_pb_heading .et_pb_heading_container h4 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Section title accent bar (add class "pfs-section-title" to heading module) */
.et_pb_heading.pfs-section-title .et_pb_heading_container {
  text-align: center;
  padding-bottom: 20px;
  position: relative;
}

.et_pb_heading.pfs-section-title .et_pb_heading_container::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--precision-orange);
  margin: 14px auto 0;
  border-radius: 2px;
}

/* Divi divider — override to orange */
.et_pb_divider .et_pb_divider_internal {
  border-color: var(--precision-orange) !important;
  border-width: 3px !important;
  width: 60px !important;
}

/* Numbered / stat module (add class "pfs-stat") */
.et_pb_number_counter.pfs-stat .title {
  font-family: var(--font-mono);
  font-size: 40px;
  color: var(--precision-blue);
}

.et_pb_number_counter.pfs-stat .percent {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--dark-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}


/* ============================================================
   31. DIVI MODULE OVERRIDES — BLURBS
   ============================================================ */

/* Map Divi blurb to our card style (add class "pfs-card") */
.et_pb_blurb.pfs-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.et_pb_blurb.pfs-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--precision-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.et_pb_blurb.pfs-card:hover::before { transform: scaleX(1); }

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

.et_pb_blurb.pfs-card .et_pb_main_blurb_image {
  margin-bottom: 16px;
}

.et_pb_blurb.pfs-card .et_pb_blurb_container h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--dark-gray);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.et_pb_blurb.pfs-card .et_pb_blurb_container p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Dark card variant (add class "pfs-card-dark") */
.et_pb_blurb.pfs-card-dark {
  background: var(--dark-gray);
  border-color: transparent;
}

.et_pb_blurb.pfs-card-dark::before {
  background: linear-gradient(90deg, var(--precision-orange), var(--precision-blue));
  transform: scaleX(1);
  height: 4px;
}

.et_pb_blurb.pfs-card-dark .et_pb_blurb_container h4 { color: var(--white); }
.et_pb_blurb.pfs-card-dark .et_pb_blurb_container p  { color: rgba(255, 255, 255, 0.75); }

/* Orange tint card variant (add class "pfs-card-blue") */
.et_pb_blurb.pfs-card-blue {
  background: var(--bg-blue-tint);
  border-color: rgba(0, 119, 190, 0.08);
}


/* ============================================================
   32. DIVI MODULE OVERRIDES — HEADER & NAVIGATION
   ============================================================ */

/* Fixed header */
.et_fixed_nav #main-header,
.et-fixed-header {
  background: var(--white) !important;
  border-bottom: 1px solid var(--border-light) !important;
  box-shadow: var(--shadow-nav) !important;
}

/* Divi menu link color */
#et-top-navigation .nav > li > a,
.et_header_style_centered ul.nav > li > a {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--text-secondary) !important;
  letter-spacing: 0.3px;
  text-transform: none;
  padding: 8px 0;
}

#et-top-navigation .nav > li > a:hover,
.et_header_style_centered ul.nav > li > a:hover {
  color: var(--precision-blue) !important;
}

/* Divi mobile toggle color */
#et_mobile_nav_menu .mobile_nav span {
  background: var(--precision-blue);
}

/* Override Divi accent color across the board */
.et_pb_accent_color,
.et-pb-primary-color,
a { color: var(--precision-blue); }

/* Divi top bar override */
#top-header,
#top-header a {
  background: var(--dark-gray);
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.5px;
}


/* ============================================================
   33. RESPONSIVE BREAKPOINTS
   ============================================================ */

/* Large desktop — constrain grid columns */
@media (max-width: 1200px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .solutions-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Tablet landscape */
@media (max-width: 1100px) {
  .contact-grid,
  .form-grid,
  .vendor-grid,
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .certs-grid { grid-template-columns: repeat(2, 1fr); }
  .leader-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Tablet portrait */
@media (max-width: 900px) {
  :root {
    --container-pad: 24px;
    --section-pad: 64px;
  }

  .container { padding: 0 var(--container-pad); }

  /* Navigation: hide link bar (Divi handles mobile menu) */
  .nav-links,
  #et-top-navigation .nav { display: none; }

  /* Hero grids collapse */
  .hero-grid,
  .page-hero-grid,
  .story-grid,
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-image,
  .story-img { min-height: 280px; border-radius: var(--radius-lg); }

  .hero-content { padding-bottom: 32px; }
  .page-hero-content { padding-bottom: 40px; }
  .page-hero::before { display: none; }

  /* Stats */
  .stats-grid,
  .stats-row,
  .why-grid { grid-template-columns: repeat(2, 1fr); }

  /* Products */
  .products-grid { grid-template-columns: repeat(2, 1fr); }

  /* Solutions */
  .solutions-grid { grid-template-columns: 1fr; }
  .sol-card { height: 360px; }

  /* Values */
  .values-grid { grid-template-columns: 1fr; }
  .mission-card { padding: 32px; }

  /* Forms */
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Mobile */
@media (max-width: 600px) {
  :root {
    --section-pad: 48px;
  }

  h1 { font-size: clamp(36px, 10vw, 52px); }
  h2 { font-size: clamp(28px, 8vw, 40px); }

  .hero-desc,
  .page-hero-desc { font-size: 16px; }

  .hero-buttons,
  .cta-buttons { flex-direction: column; align-items: flex-start; }

  .cta-buttons { align-items: center; }

  .cap-grid,
  .news-grid,
  .certs-grid,
  .stats-grid,
  .stats-row,
  .why-grid,
  .leader-grid,
  .products-grid { grid-template-columns: 1fr; }

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

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

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

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

  .mission-card { padding: 24px; }

  .timeline::before { left: 20px; }
  .timeline-item { grid-template-columns: 1fr; }
  .timeline-year { text-align: left; padding-left: 40px; }
  .timeline-year::after { margin-left: 0; }
}
