/* ==========================================================================
   Alpha Crest - Design System & Stylesheet
   Strictly mapped to custom :root CSS tokens
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

/* Body font: Wanted Sans (OFL, variable weights) */
@import url('https://cdn.jsdelivr.net/gh/wanteddev/wanted-sans@v1.0.3/packages/wanted-sans/fonts/webfonts/variable/split/WantedSansVariable.min.css');

/* Heading font: THICCCBOI SemiBold (OFL, self-hosted) — the only weight used in the Figma designs */
@font-face {
  font-family: 'THICCCBOI';
  src: url('../assets/fonts/THICCCBOI-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  /* ------------------------------------------------------------------------
     Fluid Typography (root font-size is 62.5%, so 1rem = 10px)
     Each token scales between its min (small screens) and max (~1300px+).
     ------------------------------------------------------------------------ */
  --text-xs: clamp(1rem, calc(0.24vw + 0.88rem), 1.2rem);      /* 10 -> 12px */
  --text-s: clamp(1.2rem, calc(0.24vw + 1.08rem), 1.4rem);     /* 12 -> 14px */
  --text-m: clamp(1.4rem, calc(0.24vw + 1.28rem), 1.6rem);     /* 14 -> 16px */
  --text-l: clamp(1.6rem, calc(0.49vw + 1.37rem), 2rem);       /* 16 -> 20px */
  --text-xl: clamp(2rem, calc(0.49vw + 1.77rem), 2.4rem);      /* 20 -> 24px */
  --text-2xl: clamp(2.4rem, calc(0.97vw + 1.94rem), 3.2rem);   /* 24 -> 32px */
  --text-3xl: clamp(2.8rem, calc(1.7vw + 1.99rem), 4.2rem);    /* 28 -> 42px */
  --text-4xl: clamp(3.6rem, calc(2.43vw + 2.44rem), 5.6rem);   /* 36 -> 56px */
  /* Display sizes (same clamp approach) for Figma's 48 / 64 / 80px numbers and hero titles */
  --text-5xl: clamp(3.6rem, calc(1.46vw + 2.9rem), 4.8rem);    /* 36 -> 48px */
  --text-6xl: clamp(4rem, calc(2.93vw + 2.6rem), 6.4rem);      /* 40 -> 64px */
  --text-7xl: clamp(4.8rem, calc(3.9vw + 2.93rem), 8rem);      /* 48 -> 80px */

  /* ------------------------------------------------------------------------
     Fluid Spacing: Paddings / Margins / Gaps
     ------------------------------------------------------------------------ */
  --space-5xs: clamp(0.4rem, calc(0vw + 0.4rem), 0.4rem);       /* 4px */
  --space-4xs: clamp(0.6rem, calc(0.24vw + 0.48rem), 0.8rem);   /* 6 -> 8px */
  --space-3xs: clamp(0.8rem, calc(0.49vw + 0.57rem), 1.2rem);   /* 8 -> 12px */
  --space-2xs: clamp(1.2rem, calc(0.49vw + 0.97rem), 1.6rem);   /* 12 -> 16px */
  --space-xs: clamp(1.6rem, calc(0.97vw + 1.14rem), 2.4rem);    /* 16 -> 24px */
  --space-s: clamp(1.8rem, calc(1.7vw + 0.99rem), 3.2rem);      /* 18 -> 32px */
  --space-m: clamp(2rem, calc(2.43vw + 0.84rem), 4rem);         /* 20 -> 40px */
  --space-l: clamp(2.4rem, calc(2.92vw + 1rem), 4.8rem);        /* 24 -> 48px */
  --space-xl: clamp(2.8rem, calc(3.41vw + 1.17rem), 5.6rem);    /* 28 -> 56px */
  --space-2xl: clamp(3.6rem, calc(3.41vw + 1.97rem), 6.4rem);   /* 36 -> 64px */
  --space-3xl: clamp(4.4rem, calc(4.38vw + 2.31rem), 8rem);     /* 44 -> 80px */
  --space-4xl: clamp(5.2rem, calc(6.81vw + 1.94rem), 10.8rem);  /* 52 -> 108px */
  --space-5xl: clamp(6.4rem, calc(6.81vw + 3.14rem), 12rem);    /* 64 -> 120px */

  /* ------------------------------------------------------------------------
     Border Radius (--radius-xs through --radius-full)
     ------------------------------------------------------------------------ */
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* ------------------------------------------------------------------------
     Color Palette
     ------------------------------------------------------------------------ */
  --color-primary-orange: #F57F13;
  --color-primary-orange-hover: #E06F0B;
  --color-primary-orange-active: #C75E06;
  --color-orange-tint: #FEF5EC;
  --color-orange-subtle: rgba(245, 127, 19, 0.08);

  --color-navy-dark: #001F45;
  --color-navy-deep: #062A52;
  --color-navy-card: rgba(6, 42, 82, 0.6);
  --color-navy-border: rgba(255, 255, 255, 0.12);

  --color-heading: #1E1E1E;
  --color-body: #666666;
  --color-body-light: #8E8E93;
  --color-white: #FFFFFF;
  --color-black: #000000;

  --color-bg-page: #FFFFFF;
  --color-bg-muted: #F8F9FA;
  --color-border-grey: #D9D9D9;
  --color-border-subtle: #EBEBEB;

  /* ------------------------------------------------------------------------
     Shadows & Effects
     ------------------------------------------------------------------------ */
  --shadow-sm: 0px 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-card: 0px 0px 16px 0px rgba(0, 0, 0, 0.06);
  --shadow-process: 0px 0px 24px 0px rgba(0, 0, 0, 0.08);
  --shadow-elevated: 0px 12px 32px rgba(0, 0, 0, 0.12);

  /* ------------------------------------------------------------------------
     Font Families
     ------------------------------------------------------------------------ */
  --font-heading: 'THICCCBOI', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Wanted Sans Variable', 'Wanted Sans', 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   CSS Reset & Global Defaults
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 62.5%; /* 1rem = 10px for the fluid token scale */
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-m);
  line-height: 1.5;
  color: var(--color-body);
  background-color: var(--color-bg-page);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast), opacity var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

ul,
ol {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1360px; /* 1312px Figma content width + 2 × 24px gutter */
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-xs);
  padding-right: var(--space-xs);
}

/* ==========================================================================
   Typography Utilities
   ========================================================================== */
.accent-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-s);
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary-orange);
  margin-bottom: var(--space-3xs);
}

.section-heading {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-3xl);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-heading);
  margin-bottom: var(--space-2xs);
}

.section-description {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--text-m);
  line-height: 1.5;
  color: var(--color-body);
  max-width: 720px;
}

/* ==========================================================================
   Buttons & Interactive Elements
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3xs);
  padding: var(--space-3xs) var(--space-xs);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-m);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-white);
  color: var(--color-heading);
  border: 1px solid var(--color-white);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  background-color: var(--color-primary-orange);
  color: var(--color-white);
  border-color: var(--color-primary-orange);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 127, 19, 0.3);
}

.btn-primary:hover .btn-icon {
  filter: brightness(0) invert(1);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-white);
  border: 1px solid var(--color-white);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  border-color: var(--color-white);
}

.btn-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.btn:hover .btn-icon {
  transform: translateX(3px) translateY(-3px);
}

/* ==========================================================================
   Header & Navigation (Floating White Pill Header)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 1.6rem; /* Figma: 16px on desktop, tablet and mobile */
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 3.2rem); /* 16px side margins */
  max-width: 1312px;
  z-index: 1000;
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1); /* Figma 262:80 */
  transition: box-shadow var(--transition-normal), top var(--transition-normal);
}

.site-header.scrolled {
  box-shadow: 0px 8px 24px 0px rgba(0, 0, 0, 0.14);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem var(--space-xs); /* 20 + 41px content + 20 = 81px (Figma 262:80) */
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3xs);
  text-decoration: none;
}

.logo-img {
  height: 32px; /* 209 x 32 logo lockup (Figma 262:82) */
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-s);
}

.nav-link {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-s);
  line-height: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-black);
  position: relative;
  padding: 0;
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: var(--color-primary-orange);
}

.nav-cta-btn {
  background-color: var(--color-primary-orange);
  color: var(--color-white);
  border: none;
  padding: var(--space-3xs) var(--space-xs);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-s);
  line-height: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: none;
  /* Figma: 24px before the button vs 32px between links */
  margin-left: calc(var(--space-xs) - var(--space-s));
  transition: background-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.nav-cta-btn:hover {
  background-color: var(--color-primary-orange-hover);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(245, 127, 19, 0.28);
}

/* Compact logo + menu button are only shown on tablet / mobile */
.logo-img-compact {
  display: none;
  height: 20px;
  width: auto;
}

.mobile-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-nav-toggle:focus-visible {
  outline: 2px solid var(--color-primary-orange);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}

/* --- Dropdown menu (Figma 332:240 tablet / 332:236 mobile) --- */
.mobile-nav-drawer {
  position: absolute;
  top: calc(100% + 18px); /* tablet: 18px below the header bar */
  right: 0;
  width: 283px;
  display: flex;
  flex-direction: column;
  gap: 1.6rem; /* Figma tablet menu: fixed sizes */
  padding: 2.4rem;
  background-color: var(--color-navy-dark);
  border-radius: var(--radius-md);
  /* closed state */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top right;
  transition:
    opacity 220ms ease,
    transform 260ms cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0s linear 260ms;
}

.mobile-nav-drawer.open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition:
    opacity 220ms ease,
    transform 260ms cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0s linear 0s;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.6rem;
}

.mobile-nav-drawer .nav-link {
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  color: var(--color-white);
}

.mobile-nav-drawer .nav-link:hover,
.mobile-nav-drawer .nav-link.active {
  color: var(--color-primary-orange);
}

.mobile-nav-drawer .mobile-nav-cta {
  width: 100%;
  padding: 0.8rem;
  border-radius: var(--radius-sm);
  background-color: var(--color-primary-orange);
  color: var(--color-white);
  font-size: 1.4rem;
  line-height: normal;
  letter-spacing: 0.08em;
}

.mobile-nav-drawer .mobile-nav-cta:hover {
  background-color: var(--color-primary-orange-hover);
}

.mobile-nav-connect {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding: 1.6rem;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--color-primary-orange);
  border-radius: var(--radius-sm);
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.06);
}

.mobile-nav-connect-title {
  font-size: 1.6rem;
  line-height: 1.4;
  color: var(--color-white);
}

.mobile-nav-socials {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.mobile-nav-social {
  display: flex;
  transition: transform var(--transition-fast);
}

.mobile-nav-social:hover {
  transform: scale(1.12);
}

/* --- Blurred backdrop: everything except the header + menu --- */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 999; /* just below .site-header (1000) */
  background: rgba(0, 0, 0, 0.04);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 250ms ease, visibility 0s linear 250ms;
}

.mobile-nav-overlay.open {
  opacity: 1;
  visibility: visible;
  transition: opacity 250ms ease, visibility 0s linear 0s;
}

@media (prefers-reduced-motion: reduce) {
  .mobile-nav-drawer,
.mobile-nav-drawer.open {
    transform: none;
    transition: opacity 120ms linear, visibility 0s linear 120ms;
  }

  .mobile-nav-overlay,
.mobile-nav-overlay.open {
    transition: none;
  }
}

/* --- Tablet header (Figma 332:237, 744px frame) --- */
@media (max-width: 991px) {
  .site-header {
    border-radius: var(--radius-md);
  }

  .navbar {
    padding: 1.2rem; /* Figma: fixed 12px */
  }

  .logo-img {
    display: none;
  }

  .logo-img-compact {
    display: block;
  }

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

/* --- Mobile header (Figma 331:166, 402px frame); tablets (744px frame) keep the tablet sizes --- */
@media (max-width: 599px) {
  .logo-img-compact {
    width: auto;
    height: 20px;
  }

  .mobile-nav-toggle-icon {
    width: 24px;
    height: 24px;
  }

  .mobile-nav-drawer {
    top: calc(100% + 8px);
    width: 219px;
    padding: 2rem 1.6rem 1.6rem;
  }

  .mobile-nav-links {
    gap: 1.6rem;
  }

  .mobile-nav-drawer .nav-link,
.mobile-nav-drawer .mobile-nav-cta {
    font-size: 1.2rem;
  }

  .mobile-nav-connect {
    gap: 0.8rem;
    padding: 1.2rem;
  }

  .mobile-nav-connect-title {
    font-size: 1.4rem;
  }

  .mobile-nav-socials {
    gap: 1.2rem;
  }

  .mobile-nav-social img {
    width: 20px;
    height: 20px;
  }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2xs);
  flex-wrap: wrap;
  padding-top: var(--space-4xs);
}

/* ==========================================================================
   Key Metrics Banner (Orange Overlay Card)
   ========================================================================== */

.stat-number {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-5xl);
  line-height: 1.1;
  color: var(--color-white);
}

/* ==========================================================================
   What We Do Section
   ========================================================================== */
.what-we-do-section {
  padding: var(--space-3xl) 0 var(--space-4xl);
}

.section-header-split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--space-l);
  margin-bottom: var(--space-2xl);
}

.section-header-left {
  flex: 1;
  max-width: 50%;
}

.section-header-left .accent-tag {
  display: inline-block;
  margin-bottom: var(--space-3xs);
}

.section-header-left .section-heading {
  margin-bottom: 0;
  font-size: var(--text-3xl);
  line-height: 1.2;
}

.section-header-right {
  flex: 1;
  max-width: 50%;
}

.section-header-right .section-description {
  font-size: var(--text-m);
  line-height: 1.5;
  color: var(--color-body);
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-l);
  margin-bottom: var(--space-4xl);
}

.capability-card {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.capability-card-img-wrapper {
  width: 100%;
  height: 337px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--color-bg-muted);
}

.capability-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.capability-card-body {
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.capability-card-tag {
  font-family: var(--font-body);
  font-size: var(--text-s);
  letter-spacing: 0.08em;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-primary-orange);
}

.capability-card-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-2xl);
  line-height: 1.2;
  color: var(--color-heading);
}

.capability-card-desc {
  font-size: var(--text-m);
  color: var(--color-body);
  line-height: 1.45;
}

.capability-feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4xs);
  padding: var(--space-5xs) 0;
}

.capability-feature-item {
  display: flex;
  align-items: center;
  gap: var(--space-3xs);
  font-size: var(--text-m);
  color: var(--color-body);
}

.check-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.capability-card-footer {
  padding-top: var(--space-xs);
  border-top: 1px solid var(--color-border-grey);
  margin-top: var(--space-3xs);
}

.capability-link {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-m);
  color: var(--color-primary-orange);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color var(--transition-fast), opacity var(--transition-fast);
}

.capability-link:hover {
  color: var(--color-primary-orange-hover);
  opacity: 0.9;
}

/* ==========================================================================
   Linecard / Brand Logos Grid (Left-Aligned, Full Color)
   ========================================================================== */

.brand-logos-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: var(--space-2xs);
  align-items: center;
  margin-bottom: var(--space-xs);
}

.brand-card {
  background: var(--color-white);
  border: none;
  border-radius: var(--radius-md);
  padding: var(--space-3xs) var(--space-2xs);
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 0px 24px 0px rgba(0, 0, 0, 0.08);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.brand-card:hover {
  transform: translateY(-2px);
  box-shadow: 0px 4px 28px 0px rgba(0, 0, 0, 0.12);
}

.linecard-more {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-m);
  color: var(--color-primary-orange);
  text-align: left;
  margin-top: var(--space-xs);
}

/* ==========================================================================
   Why Alpha Crest Section (Dark Navy)
   ========================================================================== */

/* ==========================================================================
   How We Work (Process) Section
   ========================================================================== */

/* ==========================================================================
   Industries We Serve Section
   ========================================================================== */

/* ==========================================================================
   Pre-Footer CTA Section (Overlapping Orange Card from Figma Node 262:312)
   ========================================================================== */
.pre-footer-cta {
  background: transparent;
  padding: 0;
  position: relative;
  z-index: 10;
  margin-bottom: -202px;
}

.cta-box {
  position: relative;
  background-color: var(--color-primary-orange);
  border-radius: var(--radius-lg);
  padding: 8rem var(--space-m); /* fixed: card height drives the footer overlap */
  overflow: hidden;
  box-shadow: 0px 12px 32px rgba(0, 0, 0, 0.12);
}

.cta-bg-shape {
  position: absolute;
  width: 500px;
  height: 500px;
  opacity: 0.5;
  pointer-events: none;
}

.cta-bg-shape-top {
  right: -175px;
  top: -175px;
}

.cta-bg-shape-bottom {
  left: -175px;
  bottom: -175px;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 488px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-2xs);
}

.cta-accent-tag {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-m);
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 0;
}

.cta-heading {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: min(var(--text-3xl), 4rem); /* Figma 67:83: 40px */
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--color-white);
  margin: 0;
  text-align: center;
}

.cta-desc {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--text-m);
  line-height: 1.4;
  color: var(--color-white);
  max-width: 479px;
  margin: 0;
  text-align: center;
}

.cta-btn {
  width: max-content;
  background-color: var(--color-navy-dark);
  color: var(--color-white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-m);
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px var(--space-m);
  border-radius: var(--radius-sm);
  margin-top: var(--space-2xs);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.cta-btn:hover {
  background-color: var(--color-navy-deep);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 31, 69, 0.4);
}

/* ==========================================================================
   Footer Section (Deep Navy from Figma Node 262:271)
   ========================================================================== */
.site-footer {
  background-color: #062A52;
  color: var(--color-white);
  padding-top: 282px;
  padding-bottom: 0; /* Figma 72:180: the bottom bar's own padding ends the footer */
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-2xl);
  padding-bottom: 0;
  border-bottom: none;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  max-width: 319px;
  flex-shrink: 0;
}

.footer-logo-link {
  display: inline-block;
}

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

.footer-about-text {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--text-s);
  line-height: 1.4;
  color: var(--color-white);
  max-width: 310px;
  margin: 0;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: var(--space-3xs);
}

.social-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast);
}

.social-btn:hover {
  transform: scale(1.15);
}

.social-icon-img {
  width: 24px;
  height: 24px;
  display: block;
}

.footer-nav-group {
  display: flex;
  flex-direction: row;
  gap: var(--space-2xl);
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs); /* Figma 72:150: 16px */
}

.footer-col-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-l); /* Figma 72:151: 20px */
  line-height: 1.3;
  color: var(--color-primary-orange);
  margin: 0;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3xs);
  margin: 0;
  padding: 0;
  line-height: 1.4;
}

/* Company and Legal links sit in two short columns (Figma 72:152 / 72:166) */
.footer-links-split {
  display: grid;
  grid-template-rows: repeat(2, auto);
  grid-auto-flow: column;
  justify-content: start;
  column-gap: var(--space-s);
  row-gap: var(--space-3xs);
}

.footer-link {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--text-m);
  line-height: 1.4;
  color: var(--color-white);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-primary-orange);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-3xl); /* Figma 72:179: 80px */
  padding: var(--space-2xs) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  flex-wrap: wrap;
  gap: var(--space-2xs);
}

.footer-copyright {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--text-s);
  line-height: 1.4;
  color: var(--color-white);
  margin: 0;
}

.footer-credit {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--text-s);
  line-height: 1.4;
  color: var(--color-white);
  margin: 0;
}

.footer-credit-link {
  color: #F26E21;
  font-weight: 400;
  transition: opacity var(--transition-fast);
}

.footer-credit-link:hover {
  opacity: 0.85;
  text-decoration: underline;
}

/* ==========================================================================
   Responsive Breakpoints (478px to 1300px)
   ========================================================================== */

/* 1200px - 1300px */
@media (max-width: 1300px) {

  .brand-logos-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* 992px - 1199px */
@media (max-width: 1199px) {

  .brand-logos-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .footer-top {
    gap: var(--space-l);
  }

  .footer-nav-group {
    gap: var(--space-l);
  }
}

/* 768px - 991px */
@media (max-width: 991px) {

  .nav-menu,
.nav-cta-btn {
    display: none;
  }

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

  .section-header-split {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-xs);
  }

  .section-header-left,
.section-header-right {
    max-width: 100%;
  }

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

  .brand-logos-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .pre-footer-cta {
    margin-bottom: -160px;
  }

  .site-footer {
    padding-top: 200px;
  }

  .cta-box {
    padding: 60px var(--space-xs);
  }

  .footer-top {
    flex-direction: column;
    gap: var(--space-l);
  }

  .footer-brand {
    max-width: 100%;
  }

  .footer-nav-group {
    gap: var(--space-l);
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
  }
}

/* 478px - 767px (Mobile) */
@media (max-width: 767px) {

  .brand-logos-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3xs);
  }

  .pre-footer-cta {
    margin-bottom: -120px;
  }

  .site-footer {
    padding-top: 160px;
    padding-bottom: var(--space-xs);
  }

  .cta-box {
    padding: 48px var(--space-2xs);
  }

  .footer-top {
    flex-direction: column;
    gap: var(--space-m);
  }

  .footer-nav-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-l);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: var(--space-3xs);
  }
}

/* 478px Minimum Viewport Target */
@media (max-width: 478px) {

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

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

  .brand-logos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-nav-group {
    grid-template-columns: 1fr;
    gap: var(--space-l);
  }
}
/* ==========================================================================
   Navigation: Current Page Indicator
   ========================================================================== */
.nav-link.active {
  color: var(--color-primary-orange);
}

/* ==========================================================================
   About Page (Figma Frame 262:1559)
   ========================================================================== */
.about-accent {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-m);
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary-orange);
}

.about-heading {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-3xl);
  line-height: 1.2;
  color: var(--color-heading);
}

.about-desc {
  font-family: var(--font-body);
  font-size: var(--text-m);
  line-height: 1.4;
  color: var(--color-body);
}

/* --- Hero --- */
.about-hero {
  position: relative;
  min-height: 592px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 180px 0 var(--space-3xl);
  background-color: var(--color-navy-dark);
  /* Figma 262:1560: dark gradient overlay fill on top of the factory photo fill */
  background-image: url('../assets/images/about_hero_overlay_262_1560.webp'), url('../assets/images/about_hero_photo_262_1560.webp');
  background-size: 100% 100%, cover;
  background-position: center, center;
  background-repeat: no-repeat;
  color: var(--color-white);
}

.about-hero-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.about-hero-title {
  max-width: 893px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-6xl);
  line-height: 1.2;
  letter-spacing: -1.6px;
  color: var(--color-white);
}

.about-hero-subtitle {
  max-width: 822px;
  font-family: var(--font-body);
  font-size: var(--text-l);
  line-height: 1.4;
  color: var(--color-white);
}

/* --- Mission & Vision --- */
.mission-vision-section {
  padding: var(--space-3xl) 0 var(--space-4xl);
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-m);
  align-items: start;
}

.mv-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-s);
  padding: var(--space-l) var(--space-s);
  background-color: var(--color-white);
  border: 1px solid var(--color-border-grey);
  border-radius: var(--radius-lg);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.06);
}

.mv-card-head {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  padding-bottom: var(--space-s);
  border-bottom: 1px solid var(--color-border-grey);
}

.mv-card-label {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4xs);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-m);
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary-orange);
}

.mv-card-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-2xl);
  line-height: 1.2;
  color: var(--color-heading);
}

.mv-card-desc {
  margin-top: calc(var(--space-2xs) - var(--space-xs));
  font-size: var(--text-m);
  line-height: 1.4;
  color: var(--color-body);
}

.mv-card-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4xs);
}

.mv-card-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3xs);
}

.mv-card-item img {
  flex-shrink: 0;
}

.mv-card-item p {
  font-size: var(--text-m);
  line-height: 1.4;
  color: var(--color-body);
}

.mv-card-item strong {
  font-weight: 700;
}

/* --- Key Figures --- */
.about-stats-section {
  background-color: var(--color-navy-dark);
  padding: var(--space-3xl) var(--space-l);
}

.about-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-l);
  max-width: 1248px;
  margin: 0 auto;
}

.about-stat {
  flex: 0 0 256px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.about-stat-number {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-7xl);
  line-height: 1.2;
  letter-spacing: -2px;
  color: var(--color-white);
}

.about-stat-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-m);
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary-orange);
}

.about-stat-desc {
  margin-top: var(--space-2xs);
  font-size: var(--text-m);
  line-height: 1.4;
  color: var(--color-border-grey);
}

.about-stat-desc-narrow {
  max-width: 207px;
}

.about-stat-divider {
  flex: 1 0 1px;
  align-self: center;
  max-width: 1px;
  height: 180px;
  background: linear-gradient(to top, var(--color-primary-orange), rgba(245, 127, 19, 0));
}

/* --- Our Business (overrides on shared capability cards) --- */
.about-business-section {
  padding: var(--space-4xl) 0;
}

.about-business-section .section-header-split {
  margin-bottom: var(--space-l);
}

.about-business-section .accent-tag {
  display: block;
  font-size: var(--text-m);
  margin-bottom: var(--space-2xs);
}

.about-business-section .section-heading {
  letter-spacing: 0;
  color: var(--color-black);
}

.about-business-section .section-description {
  line-height: 1.4;
  max-width: 640px;
}

.about-business-section .capabilities-grid {
  gap: var(--space-s);
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .about-business-section .capabilities-grid {
    gap: var(--space-3xl);
  }
}

.about-business-section .capability-card {
  gap: var(--space-s);
}

.about-business-section .capability-card-body {
  gap: var(--space-2xs);
}

.about-business-section .capability-card-tag {
  font-size: var(--text-m);
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.about-business-section .capability-card-title {
  margin-top: calc(var(--space-3xs) - var(--space-2xs));
  color: var(--color-black);
}

.about-business-section .capability-card-desc {
  line-height: 1.4;
}

.about-business-section .capability-feature-list {
  gap: var(--space-4xs);
  padding: 0;
  margin-top: var(--space-4xs);
}

.about-business-section .capability-feature-item {
  gap: var(--space-3xs);
  line-height: 1.4;
}

.about-business-section .capability-card-footer {
  margin-top: var(--space-xs);
}

/* --- Manufacturing Process Steps --- */
.process-steps-section {
  background-color: var(--color-orange-tint);
  padding: var(--space-3xl) 0;
}

.process-steps-header {
  display: flex;
  align-items: flex-end;
  gap: 72px;
  margin-bottom: var(--space-l);
}

.process-steps-header-left {
  flex: 0 1 636px;
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
}

.process-steps-header-desc {
  flex: 0 1 531px;
}

.process-steps {
  display: flex;
  align-items: flex-end;
  gap: var(--space-2xs);
  list-style: none;
}

.process-step {
  position: relative;
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-m);
  padding-left: var(--space-xs);
}

.process-step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to top, var(--color-primary-orange), rgba(245, 127, 19, 0));
}

.process-step:nth-child(1) { height: 541px; }
.process-step:nth-child(2) { height: 501px; }
.process-step:nth-child(3) { height: 461px; }
.process-step:nth-child(4) { height: 421px; }
.process-step:nth-child(5) { height: 381px; }

.process-step-top {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
}

.process-step-number {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-6xl);
  line-height: 1;
  letter-spacing: -1.6px;
  color: var(--color-primary-orange);
}

.process-step-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-m);
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-heading);
}

.process-step-bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-4xs);
}

.process-step-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-xl);
  line-height: 1.3;
  color: var(--color-heading);
}

.process-step-desc {
  font-size: var(--text-s);
  line-height: 1.4;
  color: var(--color-body);
}

/* --- Our Values --- */
.values-section {
  padding: var(--space-4xl) 0;
}

.values-layout {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-m);
}

.values-intro {
  flex: 0 1 636px;
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
}

.values-list {
  flex: 0 1 636px;
  display: flex;
  flex-direction: column;
  list-style: none;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2xs);
  padding: var(--space-s) 0;
  border-top: 1px solid var(--color-border-grey);
}

.value-item:first-child {
  padding-top: 0;
  border-top: none;
}

.value-item:last-child {
  padding-bottom: 0;
}

.value-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: var(--space-4xs);
  background-color: var(--color-primary-orange);
  border-radius: var(--radius-md);
}

.value-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-5xs);
}

.value-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-xl);
  line-height: 1.3;
  color: var(--color-heading);
}

.value-desc {
  font-size: var(--text-m);
  line-height: 1.4;
  color: var(--color-body);
}

/* --- About Page Responsive --- */
@media (max-width: 1199px) {
  .about-stats {
    gap: var(--space-xs);
  }

  .about-stat {
    flex-basis: 220px;
  }
}

@media (max-width: 991px) {

  .mission-vision-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xs);
  }

  .about-stats {
    flex-wrap: wrap;
    gap: var(--space-l) var(--space-xs);
  }

  .about-stat {
    flex: 1 1 40%;
  }

  .about-stat-divider {
    display: none;
  }

  .process-steps-header,
.values-layout {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-xs);
  }

  .process-steps-header-left,
.process-steps-header-desc,
.values-intro,
.values-list {
    flex-basis: auto;
    width: 100%;
  }

  .process-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-m) var(--space-xs);
    align-items: stretch;
  }

  .process-step:nth-child(n) {
    height: auto;
    min-height: 280px;
  }
}

@media (max-width: 767px) {
  .about-hero {
    min-height: 520px;
  }

  .about-hero-title {
    letter-spacing: -1px;
  }

  .about-stat {
    flex-basis: 100%;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .process-step:nth-child(n) {
    min-height: 0;
  }
}

/* ==========================================================================
   Navy Button (Figma Component 279:2692)
   ========================================================================== */
.btn-navy {
  gap: var(--space-4xs);
  line-height: 1.4;
  letter-spacing: 0.08em;
  background-color: var(--color-navy-dark);
  color: var(--color-white);
  border: none;
}

.btn-navy:hover {
  background-color: var(--color-primary-orange);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 127, 19, 0.3);
}

.btn-navy .btn-icon {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   Product Page (Figma Frame 262:479)
   ========================================================================== */
/* --- Hero --- */
.product-hero {
  position: relative;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 180px 0 var(--space-3xl);
  background-color: var(--color-navy-dark);
  /* Figma 262:480: gradient overlay on top of the photo fill */
  background-image:
    linear-gradient(248.89deg, rgba(0, 0, 0, 0.32) 0.33%, rgba(0, 0, 0, 0.8) 90.76%),
    url('../assets/images/product_hero_262_480.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--color-white);
}

.product-hero-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
}

.product-hero-title {
  max-width: 834px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-6xl);
  line-height: 1.2;
  letter-spacing: -1.6px;
  color: var(--color-white);
}

.product-hero-subtitle {
  max-width: 834px;
  font-family: var(--font-body);
  font-size: var(--text-m);
  line-height: 1.4;
  color: var(--color-white);
}

/* --- Product Lines --- */
.product-lines-section {
  padding: var(--space-3xl) 0 var(--space-4xl);
}

.product-lines {
  display: flex;
  flex-direction: column;
  gap: var(--space-3xl);
}

.product-line {
  display: flex;
  align-items: center;
  gap: var(--space-m);
}

.product-line-content,
.product-line-media {
  flex: 1 1 0;
  min-width: 0;
}

.product-line-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-m);
}

.product-line-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
  width: 100%;
}

.product-line-tag {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-m);
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--color-primary-orange);
}

.product-line-title {
  color: var(--color-black);
}

.product-line-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.product-line-offer {
  display: flex;
  flex-direction: column;
  gap: var(--space-4xs);
}

.product-line-list-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-m);
  line-height: 1.4;
  color: var(--color-black);
}

.product-line-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-5xs);
}

.product-line-list li {
  display: flex;
  align-items: center;
  gap: var(--space-4xs);
  font-size: var(--text-m);
  line-height: 1.4;
  color: var(--color-heading);
}

.product-line-list img {
  flex-shrink: 0;
}

.product-line-media {
  height: 600px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--color-bg-muted);
}

.product-line-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Product Page Responsive --- */
@media (max-width: 991px) {

  .product-line,
.product-line-reverse {
    flex-direction: column;
    align-items: stretch;
  }

  /* Image first on every stacked product line */
  .product-line .product-line-media {
    order: -1;
    flex: none;
    height: 420px;
  }
}

@media (max-width: 767px) {
  .product-hero {
    min-height: 520px;
  }

  .product-hero-title {
    letter-spacing: -1px;
  }

  .product-line .product-line-media {
    height: 300px;
  }
}

/* ==========================================================================
   Electronics Page (Figma Frame 262:649)
   ========================================================================== */
.elec-sections {
  display: flex;
  flex-direction: column;
  gap: var(--space-4xl);
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-4xl);
}

/* --- Hero: same layout as the product hero, electronics photo (Figma 262:949) --- */
.elec-hero {
  background-image:
    linear-gradient(248.89deg, rgba(0, 0, 0, 0.32) 0.33%, rgba(0, 0, 0, 0.8) 90.76%),
    url('../assets/images/product_electronics_262_588.webp');
}

/* --- Electronic Products We Supply --- */
.elec-products {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-m);
}

.elec-products-intro {
  flex: 0 0 386px;
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
}

.elec-product-groups {
  flex: 0 1 867px;
  display: flex;
  flex-direction: column;
  gap: var(--space-m);
}

.elec-product-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-s);
}

.elec-product-group-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-xl);
  line-height: 1.3;
  color: var(--color-heading);
}

.elec-product-group > .elec-product-group-title {
  color: var(--color-black);
  padding-bottom: var(--space-xs);
  border-bottom: 1px solid var(--color-border-grey);
}

.elec-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 422px));
  gap: var(--space-2xs) var(--space-xs);
}

.elec-product-item {
  display: flex;
  align-items: center;
  gap: var(--space-4xs);
  height: 4.2rem;
  padding: var(--space-4xs);
  background-color: var(--color-white);
  border: 1px solid var(--color-primary-orange);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-m);
  line-height: 1.4;
  color: var(--color-heading);
}

.elec-product-item img {
  flex-shrink: 0;
}

/* --- Brands (shared home-page brand cards, exact Figma logo sizes) --- */
.elec-brands {
  display: flex;
  flex-direction: column;
  gap: var(--space-m);
}

.elec-brands-header {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
  max-width: 975px;
}

.elec-brands-header .about-desc {
  max-width: 932px;
}

.elec-brands-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
}

.elec-brand-grid {
  margin-bottom: 0;
}

.elec-brand-grid .brand-card {
  padding: 0;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.08);
}

/* Mobile: 16px inner padding (--space-xs resolves to 16px on phones) */
@media (max-width: 767px) {
  .elec-brand-grid .brand-card {
    padding: var(--space-xs);
  }
}

.brand-logo-exact {
  display: block;
  max-width: 100%;
  object-fit: contain;
}

.elec-brands-note strong {
  font-weight: 700;
}

/* --- Split Sections (intro left, content right) --- */
.split-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-m);
}

.split-section-intro {
  flex: 0 0 411px;
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
}

.split-section-title {
  flex: 0 0 auto;
}

.split-section-body {
  flex: 0 1 861px;
  min-width: 0;
}

.feature-rows {
  display: flex;
  flex-direction: column;
  list-style: none;
}

.feature-row {
  display: flex;
  flex-direction: column;
  gap: var(--space-5xs);
  padding: var(--space-xs) 0;
  border-bottom: 1px solid var(--color-border-grey);
}

.feature-row:first-child {
  padding-top: 0;
}

.feature-row-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-l);
  line-height: 1.3;
  color: var(--color-heading);
}

.feature-row-desc {
  font-size: var(--text-s);
  line-height: 1.4;
  color: var(--color-body);
}

/* --- Industries & Segments chips --- */
.chip-groups {
  display: flex;
  flex-direction: column;
  gap: var(--space-l);
}

.chip-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xs);
  list-style: none;
}

.chip {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  /* 24.5px: browser text renders ~0.5px narrower than Figma; keeps Figma's chip wrapping */
  padding: var(--space-3xs) calc(var(--space-xs) + 0.05rem);
  background-color: var(--color-white);
  border: 1px solid var(--color-primary-orange);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-m);
  line-height: 1.4;
  color: var(--color-heading);
  white-space: nowrap;
}

/* --- Certifications --- */
.cert-cards {
  display: flex;
  gap: var(--space-xs);
}

.cert-card {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs);
  background-color: var(--color-white);
  border: 1px solid var(--color-border-grey);
  border-radius: var(--radius-lg);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.06);
}

.cert-card img {
  flex-shrink: 0;
}

.cert-card-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-5xs);
}

/* --- Electronics Page Responsive --- */
@media (max-width: 1199px) {
  .elec-products-intro,
.split-section-intro {
    flex-basis: 320px;
  }
}

@media (max-width: 991px) {
  .elec-products,
.split-section {
    flex-direction: column;
    gap: var(--space-s);
  }

  .elec-products-intro,
.elec-product-groups,
.split-section-intro,
.split-section-body {
    flex: none;
    width: 100%;
  }

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

@media (max-width: 767px) {

  .elec-product-grid {
    grid-template-columns: 1fr;
  }

  .chip {
    white-space: normal;
    height: auto;
    text-align: center;
  }

  .cert-cards {
    flex-direction: column;
  }
}

/* ==========================================================================
   Wire Harness Page (Figma Frame 262:1022)
   ========================================================================== */
.wh-hero {
  background-image:
    linear-gradient(248.89deg, rgba(0, 0, 0, 0.32) 0.33%, rgba(0, 0, 0, 0.8) 90.76%),
    url('../assets/images/product_wire_harness_262_590.webp');
}

/* Hover state for product items (Figma shows it on "Battery Cable Systems") */
.elec-product-item {
  transition: background-color var(--transition-fast);
}

.elec-product-item:hover {
  background-color: rgba(245, 127, 19, 0.1);
}

.elec-product-group.is-dark > .elec-product-group-title {
  color: var(--color-heading);
}

.split-section-intro-wide {
  flex-basis: 421px;
}

/* Tablet + mobile: sections stack, so drop the desktop column width
   (otherwise it becomes a 421px-tall empty block) */
@media (max-width: 991px) {
  .split-section-intro-wide {
    flex-basis: auto;
  }
}

/* Figma 262:1390: 421px intro + 861px body, justify-between leaves a 30px gap */
.split-section:has(> .split-section-intro-wide) {
  gap: var(--space-s);
}

.split-section-title-fixed {
  flex: 0 0 386px;
  color: var(--color-black);
}

/* Figma 262:1022: certifications end 92px above the CTA card */
.wh-sections {
  padding-bottom: 92px;
}

/* --- Integrated Wiring Solutions (tabs) --- */
.wh-integrated {
  display: flex;
  flex-direction: column;
  gap: var(--space-l);
}

.wh-integrated-header {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
  max-width: 1015px;
}

.wh-integrated-header .about-desc {
  max-width: 870px;
}

.wh-tabs {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-m);
}

.wh-tab-sidebar {
  flex: 0 0 390px;
  padding: var(--space-2xs);
  background-color: var(--color-white);
  border: 1px solid var(--color-border-grey);
  border-radius: var(--radius-lg);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.06);
}

.wh-tab-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4xs);
}

.wh-tab {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2xs);
  width: 100%;
  padding: var(--space-3xs) var(--space-2xs);
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-m);
  line-height: normal;
  color: var(--color-heading);
  text-align: left;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.wh-tab span {
  align-self: center;
}

.wh-tab:hover {
  background-color: var(--color-orange-tint);
}

.wh-tab.is-active {
  background-color: var(--color-primary-orange);
  color: var(--color-white);
}

.wh-tab:focus-visible {
  outline: 2px solid var(--color-navy-dark);
  outline-offset: 2px;
}

.wh-tab-icon {
  flex-shrink: 0;
}

.wh-tab .wh-tab-icon-active,
.wh-tab.is-active .wh-tab-icon {
  display: none;
}

.wh-tab.is-active .wh-tab-icon-active {
  display: block;
}

.wh-tab-panels {
  flex: 0 1 867px;
  min-width: 0;
}

.wh-tab-panel {
  display: flex;
  flex-direction: column;
  gap: var(--space-l);
}

.wh-tab-panel[hidden] {
  display: none;
}

/* LSR tab lists one item per row (Figma 343:666) */
.elec-product-grid-single {
  grid-template-columns: minmax(0, 1fr);
}

/* --- Tab switching animation --- */
.wh-tab-panels {
  transition: height 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.wh-tab-panels[style*="height"] {
  overflow: hidden;
}

.wh-tab-panel.is-leaving {
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.wh-tab-panel.is-entering > * {
  animation: wh-tab-enter 420ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.wh-tab-panel.is-entering > :nth-child(2) { animation-delay: 60ms; }
.wh-tab-panel.is-entering > :nth-child(3) { animation-delay: 110ms; }
.wh-tab-panel.is-entering > :nth-child(n + 4) { animation-delay: 150ms; }

@keyframes wh-tab-enter {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Active tab background slides in smoothly */
.wh-tab {
  transition: background-color 240ms ease, color 240ms ease;
}

.wh-tab-icon {
  transition: opacity 240ms ease;
}

@media (prefers-reduced-motion: reduce) {
  .wh-tab-panels,
  .wh-tab-panel.is-leaving {
    transition: none;
  }

  .wh-tab-panel.is-entering > * {
    animation: none;
  }
}

.wh-tab-feature {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: var(--space-3xs);
  height: 400px;
  padding: var(--space-xs);
  border-radius: var(--radius-lg);
  background-color: var(--color-navy-dark);
  background-size: cover;
  background-position: center;
  color: var(--color-white);
}

.wh-tab-feature-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-2xl);
  line-height: 1.2;
  color: var(--color-white);
}

.wh-tab-feature-desc {
  font-size: var(--text-m);
  line-height: 1.4;
  color: var(--color-white);
}

/* --- Core Applications / Key Features (navy cards) --- */
.navy-cards {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
}

.navy-card {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-s);
  padding: var(--space-s);
  background-color: #062A52;
  border: 1px solid #062A52;
  border-radius: var(--radius-lg);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.06);
}

.navy-card-head {
  display: flex;
  align-items: center;
  gap: var(--space-2xs);
}

.navy-card-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-xl);
  line-height: 1.3;
  color: var(--color-white);
}

.navy-card-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3xs);
}

.navy-card-list li {
  display: flex;
  align-items: center;
  gap: var(--space-3xs);
  font-size: var(--text-m);
  line-height: 1.4;
  color: var(--color-white);
}

.navy-card-list img {
  flex-shrink: 0;
}

/* --- Orange icon tile (shared by navy cards and icon cards) --- */
.icon-tile {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--color-primary-orange);
  border-radius: var(--radius-md);
}

/* --- Icon card grid (2 + 3 layout) --- */
.icon-card-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.icon-card-row {
  display: flex;
  align-items: stretch;
  gap: var(--space-xs);
}

.icon-card-row-2 {
  align-items: center;
}

.icon-card {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
  padding: var(--space-xs);
  background-color: var(--color-white);
  border: 1px solid var(--color-border-grey);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.icon-card-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-3xs);
}

/* --- Certifications: two per row --- */
.cert-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* --- Wire Harness Page Responsive --- */
@media (max-width: 991px) {
  .wh-tabs,
.navy-cards {
    flex-direction: column;
    align-items: stretch;
  }

  .wh-tab-sidebar,
.wh-tab-panels,
.split-section-title-fixed {
    flex: none;
    width: 100%;
  }

  .icon-card-row {
    flex-wrap: wrap;
  }

  .icon-card {
    flex: 1 1 260px;
  }
}

@media (max-width: 767px) {
  .wh-tab-feature {
    height: 340px;
  }

  .icon-card-row,
.icon-card-row-2 {
    flex-direction: column;
    align-items: stretch;
  }

  /* Stacked rows: the 260px wrap basis would otherwise become card height */
  .icon-card {
    flex: none;
  }

  .cert-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Careers Page (Figma Frame 262:1875)
   ========================================================================== */
.careers-hero {
  background-image:
    linear-gradient(248.89deg, rgba(0, 0, 0, 0.32) 0.33%, rgba(0, 0, 0, 0.8) 90.76%),
    url('../assets/images/careers_hero_262_1876.webp');
}

/* --- Career Areas --- */
.careers-areas {
  padding: var(--space-4xl) 0;
}

.careers-areas-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-l);
}

.careers-section-header {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
}

.careers-section-header .about-desc {
  max-width: 870px;
}

.careers-area-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-xs);
}

/* --- Life at Alpha Crest (navy band) --- */
.careers-life {
  background-color: #062A52;
  /* Figma 262:2010 is fixed at 803px, so the cards end ~84px above its bottom */
  padding: var(--space-3xl) 0 var(--space-3xl);
}

.careers-life-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-l);
}

.careers-life-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--space-m);
}

.careers-life-title {
  flex: 0 1 548px;
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
}

.careers-life-title .about-heading {
  color: var(--color-white);
}

.careers-life-desc {
  flex: 0 1 604px;
  font-size: var(--text-m);
  line-height: 1.4;
  color: var(--color-white);
}

.life-card-grid {
  gap: var(--space-xs);
}

.life-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: var(--color-primary-orange);
}

.life-row-3 .life-card {
  height: 204px;
}

.life-card .feature-row-title,
.life-card .feature-row-desc {
  color: var(--color-white);
}

/* --- Explore Your Path --- */
.careers-paths {
  padding: var(--space-4xl) 0;
}

.careers-paths-inner {
  display: flex;
  align-items: flex-start;
  gap: var(--space-m);
}

.careers-paths-intro {
  flex: 0 0 386px;
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
}

/* Figma 248:90: 40px heading so it breaks as "Two Businesses. / Many Opportunities." */
.careers-paths-intro .about-heading {
  font-size: min(var(--text-3xl), 4rem);
}

.path-cards {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: stretch; /* Figma 248:152: both cards share the taller card's height */
  gap: var(--space-xs);
}

.path-card {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
  padding: var(--space-xs);
  background-color: var(--color-white);
  border: 1px solid var(--color-border-grey);
  border-radius: var(--radius-lg);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.08);
}

.path-card-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-xl);
  line-height: 1.3;
  color: var(--color-black);
}

.path-card-body {
  display: flex;
  flex-direction: column;
  gap: 1rem; /* Figma 248:121: 10px */
}

.path-card-label {
  font-weight: 500;
  font-size: var(--text-m);
  line-height: 1.4;
  color: var(--color-body);
}

.path-card-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3xs);
}

.path-card-list li {
  display: flex;
  align-items: center;
  gap: var(--space-3xs);
  font-size: var(--text-m);
  line-height: 1.4;
  color: var(--color-body);
}

.path-card-list img {
  flex-shrink: 0;
}

/* --- Careers Page Responsive --- */
@media (max-width: 1199px) {
  .careers-area-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .careers-life-header,
.careers-paths-inner,
.path-cards {
    flex-direction: column;
    align-items: stretch;
  }

  .careers-life-title,
.careers-life-desc,
.careers-paths-intro {
    flex: none;
    width: 100%;
  }

  .life-row-3 .life-card {
    height: auto;
  }
}

@media (max-width: 767px) {

  .careers-area-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Contact Page (Figma Frame 328:19)
   ========================================================================== */
.contact-hero {
  /* Lighter overlay than the other heroes (Figma 328:22) */
  background-image:
    linear-gradient(248.89deg, rgba(0, 0, 0, 0.12) 0.33%, rgba(0, 0, 0, 0.3) 90.76%),
    url('../assets/images/contact_hero_328_22.webp');
}

.contact-section {
  padding: var(--space-4xl) 0;
}

.contact-layout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-m);
}

.contact-cards {
  flex: 0 0 501px;
  display: flex;
  flex-direction: column;
  gap: var(--space-m);
}

.contact-card {
  display: flex;
  flex-direction: column;
  padding: var(--space-s);
  background-color: var(--color-white);
  border: 1px solid var(--color-border-grey);
  border-radius: var(--radius-lg);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.06);
  font-style: normal;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.contact-row-top {
  align-items: flex-start;
}

.contact-row + .contact-row {
  margin-top: var(--space-xs);
  padding-top: calc(var(--space-xs) - 1px); /* gap minus the 1px divider (Figma 328:89) */
  border-top: 1px solid var(--color-border-grey);
}

.contact-tile {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background-color: var(--color-primary-orange);
  border-radius: var(--radius-md);
}

.contact-row-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-3xs);
}

.contact-address-text {
  max-width: 373px;
}

.contact-label-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-4xs);
}

.contact-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-m);
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary-orange);
}

.contact-value {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-l);
  line-height: 1.4;
  color: #0F0F0F;
}

.contact-link:hover {
  color: var(--color-primary-orange);
}

.contact-address {
  font-size: var(--text-m);
  line-height: 1.4;
  color: var(--color-body);
}

.contact-hours {
  font-size: var(--text-m);
  line-height: 1.4;
  color: #0F0F0F;
}

.contact-hours strong {
  font-weight: 600;
}

.contact-map {
  flex: 0 1 771px;
  height: 606px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--color-bg-muted);
}

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

/* Footer without the pre-footer CTA card (Figma 328:27) */
.site-footer.site-footer-no-cta {
  padding-top: var(--space-2xl);
  padding-bottom: 0;
}

/* --- Contact Page Responsive --- */
@media (max-width: 991px) {
  .contact-layout {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-cards,
.contact-map {
    flex: none;
    width: 100%;
  }

  .contact-map {
    height: 420px;
  }
}

@media (max-width: 767px) {

  .contact-value {
    overflow-wrap: anywhere;
  }

  .contact-map {
    height: 320px;
  }
}

/* ==========================================================================
   Home Page (Figma Frame 262:78)
   ========================================================================== */
/* --- Hero (photo + Figma dark overlay fill) --- */
.home-hero {
  min-height: 1024px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 180px 0 284px;
  background-color: var(--color-navy-dark);
  background-image:
    url('../assets/images/home_hero_overlay_262_79.webp'),
    url('../assets/images/image-svg_262_79.webp');
  background-size: 100% 100%, cover;
  background-position: center, center;
  background-repeat: no-repeat;
  color: var(--color-white);
}

.home-hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-s);
}

.home-hero-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.home-hero-title {
  max-width: 840px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-6xl);
  line-height: 1.2;
  letter-spacing: -1.6px;
  color: var(--color-white);
}

.home-hero-subtitle {
  max-width: 701px;
  font-size: var(--text-l);
  line-height: 1.4;
  color: var(--color-white);
}

.home-hero .hero-actions {
  padding-top: 0;
}

.home-hero .btn {
  line-height: 1.4;
  letter-spacing: 0.08em;
}

.home-hero .btn-primary {
  box-shadow: none;
}

.home-hero .btn-icon {
  width: 20px;
  height: 20px;
}

/* --- Key Metrics card (overlaps the hero by 206px) --- */
.home-stats-wrapper {
  position: relative;
  z-index: 10;
  margin-top: -206px;
}

.home-stats {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 130px;
  padding: var(--space-l);
  background-color: var(--color-primary-orange);
  border-radius: var(--radius-lg);
  color: var(--color-white);
}

.home-stats-intro {
  flex: 0 0 605px;
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
}

.home-stats-title {
  max-width: 563px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-3xl);
  line-height: 1.2;
  color: var(--color-white);
}

.home-stats-text {
  font-size: var(--text-m);
  line-height: 1.4;
  color: var(--color-white);
}

.home-stats-list {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-s);
}

.home-stat {
  display: flex;
  flex-direction: column;
  gap: var(--space-4xs);
  padding-bottom: var(--space-3xs);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.home-stat .stat-number {
  font-size: var(--text-5xl);
  line-height: 1;
}

.home-stat-label {
  font-size: var(--text-m);
  line-height: 1.4;
  color: var(--color-white);
}

.home-stats-plus {
  position: absolute;
  left: var(--space-m);
  bottom: var(--space-m);
}

/* --- What We Do: shares the About page capability-card overrides --- */
.home-what-we-do {
  padding-bottom: 0;
}

/* Figma 262:159: 40px between the header and the cards on the home page */
.home-what-we-do .section-header-split {
  margin-bottom: var(--space-m);
}

/* --- Brands --- */
.home-brands {
  padding: var(--space-4xl) 0;
}

.home-brands .linecard-more {
  margin-top: 0;
}

/* --- Why Alpha Crest (navy band) --- */
.home-why {
  background-color: var(--color-navy-dark);
  padding: var(--space-3xl) 0 var(--space-4xl);
}

.home-why-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2xl);
}

.home-why-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2xs);
  text-align: center;
}

.home-why-header .about-heading {
  color: var(--color-white);
  white-space: nowrap;
}

.home-why-intro {
  max-width: 649px;
  font-size: var(--text-m);
  line-height: 1.4;
  color: var(--color-white);
}

.home-why-grid {
  display: flex;
  gap: var(--space-2xs);
  width: 100%;
}

.home-why-card {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  min-height: 247px; /* Figma height; grows if the text needs more room */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-2xl);
  padding: 0 var(--space-2xs);
}

.home-why-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to top, var(--color-primary-orange), rgba(245, 127, 19, 0));
}

.home-why-tile {
  flex-shrink: 0; /* keep the icon box a 44px square */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: var(--color-primary-orange);
  border: 1px solid var(--color-primary-orange);
  border-radius: var(--radius-md);
}

.home-why-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-4xs);
  color: var(--color-white);
}

.home-why-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-xl);
  line-height: 1.3;
  color: var(--color-white);
}

.home-why-desc {
  font-size: var(--text-m);
  line-height: 1.4;
  color: var(--color-white);
}

/* --- How We Work --- */
.home-process {
  padding-top: var(--space-4xl);
}

.home-process-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-m);
}

.home-process-header {
  max-width: 619px;
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
}

/* Figma 202:129: 40px heading, breaks "...Process From / Requirement to Delivery" */
.home-process-header .about-heading {
  font-size: min(var(--text-3xl), 4rem);
}

.home-process-panels {
  display: flex;
  align-items: stretch; /* Figma 221:484: both panels share one height */
  gap: var(--space-xs);
}

.home-process-panel {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-s);
  padding: var(--space-m) var(--space-s);
  background-color: var(--color-orange-tint);
  border: 1px solid var(--color-primary-orange);
  border-radius: var(--radius-lg);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.08);
}

.home-process-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-m);
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary-orange);
}

.home-steps {
  display: flex;
  flex-direction: column;
  list-style: none;
}

.home-step {
  display: flex;
  align-items: center;
  gap: 2rem; /* Figma 20px - between --space-2xs (16) and --space-xs (24) */
}

.home-step + .home-step {
  margin-top: var(--space-xs);
  padding-top: calc(var(--space-xs) - 1px); /* gap minus the 1px divider (Figma 262:422) */
  border-top: 1px solid var(--color-border-grey);
}

.home-step-number {
  flex-shrink: 0;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-5xl);
  line-height: 1.4;
  color: var(--color-primary-orange);
  white-space: nowrap;
}

.home-step-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-5xs);
}

.home-step-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-xl);
  line-height: 1.3;
  color: var(--color-heading);
}

.home-step-desc {
  font-size: var(--text-s); /* Figma 207:261: 14px */
  line-height: 1.4;
  color: var(--color-body);
}

/* Figma 207:265 / 213:281 / 213:286: steps 02, 03 and 05 are 75px rows in both
   panels, so the dividers line up across the two columns (desktop only) */
@media (min-width: 992px) {
  .home-step:nth-child(2),
  .home-step:nth-child(3),
  .home-step:nth-child(5) {
    min-height: calc(7.5rem + var(--space-xs)); /* 75px row + divider spacing */
  }
}

/* --- Industries We Serve --- */
.home-industries {
  padding: var(--space-4xl) 0;
}

.home-industries-layout {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: var(--space-s);
}

.home-industries-content {
  flex: 0 1 774px;
  display: flex;
  flex-direction: column;
  gap: 126px;
}

.home-industries-header {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
}

.home-industries-grid {
  display: flex;
  gap: var(--space-2xl);
}

.home-industries-col {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.home-industry {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
  padding: var(--space-xs) 0;
  border-bottom: 1px solid var(--color-border-grey);
}

.home-industry-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-4xs);
}

.home-industry-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-xl);
  line-height: 1.3;
  color: var(--color-heading);
}

.home-industry-desc {
  font-size: var(--text-m);
  line-height: 1.4;
  color: var(--color-body);
}

.home-industries-media {
  flex: 0 0 506px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--color-border-grey);
}

.home-industries-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Home Page Responsive --- */
@media (max-width: 1199px) {
  .home-stats {
    gap: var(--space-l);
  }

  .home-stats-intro {
    flex-basis: 50%;
  }

  .home-why-header .about-heading {
    white-space: normal;
  }

  .home-industries-media {
    flex-basis: 380px;
  }
}

@media (max-width: 991px) {
  .home-hero {
    min-height: 860px;
    padding-bottom: 260px;
  }

  /* Stats card: intro on top, 2 x 2 stats grid below (Figma 335:272, scaled up for tablet) */
  .home-stats {
    flex-direction: column;
    gap: var(--space-m);
    padding: var(--space-m) var(--space-s);
  }

  .home-stats-intro {
    flex: none;
    gap: var(--space-2xs);
  }

  .home-stats-title {
    max-width: none;
    font-size: var(--text-3xl);
  }

  .home-stats-list {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-s);
  }

  .home-stat {
    gap: var(--space-4xs);
    padding-bottom: var(--space-3xs);
  }

  .home-stat .stat-number {
    font-size: var(--text-5xl);
  }

  .home-stat-label {
    font-size: var(--text-s);
  }

  .home-stats-plus {
    display: none;
  }

  .home-why-grid {
    flex-wrap: wrap;
    row-gap: var(--space-m);
  }

  .home-why-card {
    flex: 1 1 200px;
    height: auto;
  }

  .home-process-panels,
.home-industries-layout {
    flex-direction: column;
    align-items: stretch;
  }

  .home-industries-content {
    flex: none;
    gap: var(--space-m);
  }

  .home-industries-media {
    flex: none;
    height: 420px;
  }
}

@media (max-width: 767px) {
  .home-hero {
    min-height: 720px;
    padding-bottom: 240px;
  }

  .home-hero-title {
    letter-spacing: -1px;
  }

  .home-hero .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .home-industries-grid {
    flex-direction: column;
    gap: 0;
  }

  .home-industries-media {
    height: 300px;
  }
}

/* Brand logo grids (Home + Electronics) keep 3 columns on the smallest screens */
@media (max-width: 478px) {
  .elec-brand-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile stats card - Figma 335:272 (402px frame). Tablets (600-991px) use the scaled-up tablet rules above. */
@media (max-width: 599px) {
  /* Card spans 370px on a 402px screen: 16px gutters, aligned with the header */
  .home-stats-wrapper .container {
    padding-left: 1.6rem;
    padding-right: 1.6rem;
  }

  /* Stats card - Figma 335:272 */
  .home-stats {
    gap: 3.2rem; /* Figma mobile frame: fixed sizes */
    padding: 3.2rem 2.4rem;
  }

  .home-stats-intro {
    gap: 1.2rem;
  }

  .home-stats-title {
    font-size: 3.2rem;
  }

  .home-stats-text {
    font-size: 1.4rem;
  }

  .home-stats-list {
    gap: 2.4rem;
  }

  .home-stat {
    gap: 0.4rem;
    padding-bottom: 0.8rem;
  }

  .home-stat .stat-number {
    font-size: 3.6rem;
  }

  .home-stat-label {
    font-size: 1rem;
  }
}


/* ==========================================================================
   Legal Pages (Privacy Policy, Terms of Service, Cookie Policy)
   ========================================================================== */
.legal-hero {
  background-image:
    linear-gradient(248.89deg, rgba(0, 0, 0, 0.32) 0.33%, rgba(0, 0, 0, 0.8) 90.76%),
    url('../assets/images/about_hero_photo_262_1560.webp');
}

.legal-page {
  padding: var(--space-3xl) 0 var(--space-4xl);
}

.legal-layout {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2xl);
}

/* Sticky "On this page" navigation */
.legal-toc {
  position: sticky;
  top: 12rem; /* clears the fixed header */
  flex: 0 0 28rem;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  padding: var(--space-xs);
  background-color: var(--color-white);
  border: 1px solid var(--color-border-grey);
  border-radius: var(--radius-lg);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.06);
}

.legal-updated {
  font-size: var(--text-s);
  line-height: 1.4;
  color: var(--color-body);
}

.legal-toc-title {
  margin-bottom: var(--space-3xs);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-s);
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary-orange);
}

.legal-toc ol {
  display: flex;
  flex-direction: column;
  gap: var(--space-4xs);
  list-style: none;
}

.legal-toc a {
  display: block;
  padding: var(--space-5xs) 0;
  font-size: var(--text-m);
  line-height: 1.4;
  color: var(--color-heading);
  transition: color var(--transition-fast);
}

.legal-toc a:hover {
  color: var(--color-primary-orange);
}

/* Long-form text */
.legal-content {
  flex: 1 1 0;
  min-width: 0;
  max-width: 82rem;
  display: flex;
  flex-direction: column;
  gap: var(--space-l);
}

.legal-section {
  scroll-margin-top: 12rem; /* anchor jumps clear the fixed header */
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
  padding-bottom: var(--space-l);
  border-bottom: 1px solid var(--color-border-grey);
}

.legal-section:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.legal-section h2 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-2xl);
  line-height: 1.3;
  color: var(--color-heading);
}

.legal-section p,
.legal-section li {
  font-size: var(--text-m);
  line-height: 1.6;
  color: var(--color-body);
}

.legal-section ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-4xs);
  padding-left: var(--space-s);
  list-style: disc;
}

.legal-section li::marker {
  color: var(--color-primary-orange);
}

.legal-section strong {
  font-weight: 600;
  color: var(--color-heading);
}

.legal-section a {
  color: var(--color-primary-orange);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-section a:hover {
  color: var(--color-primary-orange-hover);
}

.legal-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--color-border-grey);
  border-radius: var(--radius-md);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-s);
  line-height: 1.5;
  color: var(--color-body);
}

.legal-table th,
.legal-table td {
  padding: var(--space-3xs) var(--space-2xs);
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--color-border-grey);
}

.legal-table th {
  font-weight: 600;
  color: var(--color-heading);
  background-color: var(--color-orange-tint);
}

.legal-table tr:last-child td {
  border-bottom: none;
}

.legal-table td:first-child {
  font-weight: 600;
  color: var(--color-heading);
  white-space: nowrap;
}

@media (max-width: 991px) {
  .legal-layout {
    flex-direction: column;
    align-items: stretch;
  }

  .legal-toc {
    position: static;
    flex: none;
  }
}

/* ==========================================================================
   Scroll Reveal (first view only) - see js/main.js section 5
   ========================================================================== */
:root {
  /* Elements that fade up the first time they scroll into view */
  --reveal-targets: .home-hero-content, .product-hero-content, .about-hero-content, .section-header-split, .elec-brands-header, .home-why-header, .home-process-header, .home-industries-header, .careers-section-header, .careers-life-header, .process-steps-header, .wh-integrated-header, .split-section-intro, .split-section-title, .elec-products-intro, .careers-paths-intro, .values-intro, .home-stats, .cta-box, .about-stats-section .about-stat, .capability-card, .brand-card, .home-why-card, .home-process-panel, .home-industry, .home-industries-media, .mv-card, .process-step, .value-item, .product-line-content, .product-line-media, .elec-product-group, .feature-row, .chip-group, .cert-card, .icon-card, .navy-card, .path-card, .contact-card, .contact-map, .wh-tab-sidebar, .wh-tab-feature, .legal-toc, .legal-section;
}

.reveal-ready :is(.home-hero-content, .product-hero-content, .about-hero-content, .section-header-split, .elec-brands-header, .home-why-header, .home-process-header, .home-industries-header, .careers-section-header, .careers-life-header, .process-steps-header, .wh-integrated-header, .split-section-intro, .split-section-title, .elec-products-intro, .careers-paths-intro, .values-intro, .home-stats, .cta-box, .about-stats-section .about-stat, .capability-card, .brand-card, .home-why-card, .home-process-panel, .home-industry, .home-industries-media, .mv-card, .process-step, .value-item, .product-line-content, .product-line-media, .elec-product-group, .feature-row, .chip-group, .cert-card, .icon-card, .navy-card, .path-card, .contact-card, .contact-map, .wh-tab-sidebar, .wh-tab-feature, .legal-toc, .legal-section):not(.reveal-done) {
  opacity: 0;
  transform: translateY(24px);
}

/* Hero copy moves a shorter distance - it animates as the page loads */
.reveal-ready :is(.home-hero-content, .product-hero-content, .about-hero-content):not(.reveal-done) {
  transform: translateY(16px);
}

.reveal-ready :is(.home-hero-content, .product-hero-content, .about-hero-content, .section-header-split, .elec-brands-header, .home-why-header, .home-process-header, .home-industries-header, .careers-section-header, .careers-life-header, .process-steps-header, .wh-integrated-header, .split-section-intro, .split-section-title, .elec-products-intro, .careers-paths-intro, .values-intro, .home-stats, .cta-box, .about-stats-section .about-stat, .capability-card, .brand-card, .home-why-card, .home-process-panel, .home-industry, .home-industries-media, .mv-card, .process-step, .value-item, .product-line-content, .product-line-media, .elec-product-group, .feature-row, .chip-group, .cert-card, .icon-card, .navy-card, .path-card, .contact-card, .contact-map, .wh-tab-sidebar, .wh-tab-feature, .legal-toc, .legal-section).is-revealing {
  opacity: 1;
  transform: none;
  transition:
    opacity 600ms ease var(--reveal-delay, 0ms),
    transform 700ms cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms);
}

@media print {
  .reveal-ready :is(.home-hero-content, .product-hero-content, .about-hero-content, .section-header-split, .elec-brands-header, .home-why-header, .home-process-header, .home-industries-header, .careers-section-header, .careers-life-header, .process-steps-header, .wh-integrated-header, .split-section-intro, .split-section-title, .elec-products-intro, .careers-paths-intro, .values-intro, .home-stats, .cta-box, .about-stats-section .about-stat, .capability-card, .brand-card, .home-why-card, .home-process-panel, .home-industry, .home-industries-media, .mv-card, .process-step, .value-item, .product-line-content, .product-line-media, .elec-product-group, .feature-row, .chip-group, .cert-card, .icon-card, .navy-card, .path-card, .contact-card, .contact-map, .wh-tab-sidebar, .wh-tab-feature, .legal-toc, .legal-section) {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Product items grow when long labels wrap on small screens */
@media (max-width: 767px) {
  .elec-product-item {
    height: auto;
    min-height: 4.2rem;
  }
}

/* About page process steps: no forced line breaks in step titles on mobile */
@media (max-width: 767px) {
  .process-steps br {
    display: none;
  }
}

/* Electronics page: larger feature-row text */
.page-electronics .feature-row-title {
  font-size: var(--text-xl);
}

.page-electronics .feature-row-desc {
  font-size: var(--text-m);
}

/* Electronics page: larger feature-row text on mobile */
@media (max-width: 767px) {
  .page-electronics .feature-row-title {
    font-size: var(--text-xl);
  }

  .page-electronics .feature-row-desc {
    font-size: var(--text-m);
  }
}

/* How We Work: keep step descriptions at 14px on phones (--text-s would drop to 12px) */
@media (max-width: 767px) {
  .home-step-desc {
    font-size: 1.4rem;
  }
}

/* Contact hero title: narrower measure on desktop */
@media (min-width: 992px) {
  .contact-hero .product-hero-title {
    max-width: 700px;
  }
}

/* Why Alpha Crest cards size to their content on mobile */
@media (max-width: 767px) {
  .home-why-card {
    min-height: 0;
  }
}
