
/* =============================================
   LAMURINDO DESIGN SYSTEM — CSS VARIABLES
   Reference sheet for WordPress implementation
   ============================================= */
:root {
  /* --- Brand Colors --- */
  --primary:        #0A2E4A;   /* Deep navy — primary brand, headers, footer bg */
  --primary-light:  #0E3D61;   /* Slightly lighter navy — hover states on dark bg */
  --accent:         #E87722;   /* Warm amber-orange — CTAs, highlights, active states */
  --accent-hover:   #CF6910;   /* Darker accent for button hover */

  /* --- Neutrals --- */
  --white:          #FFFFFF;
  --off-white:      #F5F4F1;   /* Page background, section bg alternates */
  --surface:        #ECEAE5;   /* Card backgrounds, subtle dividers */
  --border:         #D8D5CE;   /* Default border color */
  --text-primary:   #1A1A18;   /* Body text */
  --text-secondary: #5A5950;   /* Muted labels, captions */
  --text-on-dark:   #FFFFFF;   /* Text on navy backgrounds */
  --text-muted-dark:#A8C0D0;   /* Muted text on dark backgrounds */

  /* --- Typography --- */
  --font-display:   'Manrope', sans-serif;    /* Headings, nav, labels */
  --font-body:      'Inter', sans-serif;      /* Body copy, descriptions */

  /* --- Font Sizes --- */
  --text-xs:    12px;
  --text-sm:    13px;
  --text-base:  15px;
  --text-md:    17px;
  --text-lg:    20px;
  --text-xl:    26px;
  --text-2xl:   34px;
  --text-3xl:   46px;
  --text-hero:  62px;

  /* --- Spacing --- */
  --space-xs:   8px;
  --space-sm:   16px;
  --space-md:   24px;
  --space-lg:   40px;
  --space-xl:   64px;
  --space-2xl:  96px;
  --space-3xl:  128px;

  /* --- Radius --- */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  12px;
  --radius-xl:  20px;
  --radius-pill:100px;

  /* --- Transitions --- */
  --transition-fast:  150ms ease;
  --transition-base:  220ms ease;
  --transition-slow:  350ms ease;

  /* --- Container --- */
  --container-max:   1200px;
  --container-pad:   40px;
  --nav-height:      72px;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text-primary);
  background: var(--off-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
/* Prevent descender clipping in form/control text across browsers */
button, input, select, textarea {
  font: inherit;
  line-height: 1.35;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

/* =============================================
   NAVIGATION
   ============================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: var(--primary);
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: box-shadow var(--transition-base);
}
.nav.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0;
  flex: 0 0 auto;
}
.nav-logo-monogram {
  width: 34px;
  height: 40px;
  object-fit: contain;
  flex: 0 0 auto;
}
.nav-logo-wordmark {
  width: 152px;
  height: auto;
  flex: 0 0 auto;
}
.nav-logo-mark {
  width: 34px; height: 34px;
  background: var(--accent);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; color: var(--white);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-md);
  color: var(--white);
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}
.nav-menu-toggle:hover {
  background: rgba(255,255,255,0.13);
  border-color: rgba(255,255,255,0.24);
}
.nav-menu-toggle svg {
  width: 21px;
  height: 21px;
}
.nav-mobile-products {
  display: none;
}
.nav-item {
  position: relative;
}
.nav-link {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255,255,255,0.78);
  padding: 6px 14px;
  border-radius: var(--radius-md);
  letter-spacing: 0.3px;
  transition: color var(--transition-fast), background var(--transition-fast);
  cursor: pointer;
  display: flex; align-items: center; gap: 5px;
}
.nav-link:hover, .nav-item.active > .nav-link {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}
.nav-link svg { width: 10px; height: 10px; transition: transform var(--transition-fast); }
.nav-link[aria-expanded="true"] svg { transform: rotate(180deg); }

/* Give display UI text enough vertical room for descenders (e.g. g, y, p) */
.nav-link,
.mega-section-label,
.mega-cat-link,
.mega-pane3-header,
.mega-pane4-header,
.mega-subproduct-link,
.mega-view-all,
.btn-primary,
.btn-secondary,
.section-label,
.solution-link,
.prod-card-cat,
.prod-card h3,
.prod-card-tag,
.prod-sidebar-link,
.prod-spec-label,
.prod-spec-value {
  line-height: 1.35;
}

/* =============================================
   MEGA MENU — 4-PANE SYSTEM
   Pane 1: nav trigger (the nav-link itself)
   Pane 2: industry groups (left column)
   Pane 3: sub-categories (middle column, shown on industry hover)
   Pane 4: product list (right column, shown on category hover)
   ============================================= */

/* Simple flat dropdown — Brands */
.nav-dropdown-flat {
  position: absolute;
  top: 100%;
  left: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  min-width: 220px;
  padding: 6px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.13);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  transition: opacity 160ms ease, visibility 160ms ease, transform 160ms ease;
  pointer-events: none;
  z-index: 200;
}
.nav-dropdown-flat::before {
  content: '';
  position: absolute;
  top: -12px; left: 0; right: 0;
  height: 12px;
}
.nav-item:hover .nav-dropdown-flat,
.nav-item.open .nav-dropdown-flat {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}
.nav-item:not(:hover):not(.open) .nav-dropdown-flat {
  transition-delay: 80ms;
}
.nav-dropdown-flat .dd-section-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 8px 12px 4px;
}
.nav-dropdown-flat a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  font-size: 13px;
  color: var(--text-primary);
  transition: background 120ms ease, color 120ms ease;
  cursor: pointer;
}
.nav-dropdown-flat a:hover {
  background: var(--off-white);
  color: var(--primary);
}

/* Mega menu panel */
.mega-menu {
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
  pointer-events: none;
  z-index: 999;
}
.mega-close-btn {
  position: absolute;
  top: 10px;
  right: max(16px, calc((100vw - var(--container-max)) / 2 + var(--container-pad)));
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: color 120ms ease, border-color 120ms ease, background 120ms ease;
}
.mega-close-btn:hover {
  color: var(--primary);
  border-color: rgba(10,46,74,0.22);
  background: var(--off-white);
}
.mega-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: all;
}
.mega-menu-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: grid;
  grid-template-columns: 170px 210px 1fr;
  min-height: 360px;
}

/* Pane 2 — industry groups */
.mega-pane2 {
  border-right: 1px solid var(--border);
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mega-industry-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease;
  margin: 0 6px;
  border: none;
  background: none;
  width: calc(100% - 12px);
  text-align: left;
}
.mega-industry-item:hover {
  background: var(--off-white);
  color: var(--primary);
}
.mega-industry-item.active {
  background: rgba(10,46,74,0.08);
  color: var(--primary);
}
.mega-industry-item svg {
  width: 10px; height: 10px;
  opacity: 0.35;
  flex-shrink: 0;
}
.mega-industry-item.active svg { opacity: 0.6; }

/* Pane 3 — sub-categories */
.mega-pane3 {
  border-right: 1px solid var(--border);
  padding: 16px 0;
  display: flex;
  flex-direction: column;
}
.mega-cat-group {
  display: none;
  flex-direction: column;
  gap: 2px;
}
.mega-cat-group.active { display: flex; }
.mega-industry-overview {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  padding: 8px 22px 10px;
  transition: opacity 120ms ease;
}
.mega-industry-overview:hover { opacity: 0.75; }
.mega-section-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 12px 16px 4px;
}
.mega-section-label:first-child { padding-top: 8px; }
.mega-cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 16px;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease;
  margin: 0 6px;
  border: none;
  background: none;
  width: calc(100% - 12px);
  text-align: left;
  white-space: nowrap;
}
.mega-cat-item:hover {
  background: var(--off-white);
  color: var(--primary);
}
.mega-cat-item.active {
  background: rgba(10,46,74,0.07);
  color: var(--primary);
  font-weight: 500;
}
.mega-cat-item svg {
  width: 10px; height: 10px;
  opacity: 0.4;
  flex-shrink: 0;
}
.mega-cat-item.active svg { opacity: 0.7; }

/* Pane 4 — product list */
.mega-pane4 {
  padding: 20px 28px;
  display: none;
}
.mega-pane4.active { display: block; }
.mega-pane4-header {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 4px;
}
.mega-pane4-desc {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.5;
}
.mega-subproducts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  gap: 4px;
}
.mega-subproduct-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: var(--radius-md);
  font-size: 13px;
  color: var(--text-primary);
  transition: background 120ms ease, color 120ms ease;
  cursor: pointer;
  border: none;
  background: none;
  text-align: left;
  width: 100%;
}
.mega-subproduct-link:hover {
  background: var(--off-white);
  color: var(--primary);
}
.mega-subproduct-link .sp-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
  transition: background 120ms ease;
}
.mega-subproduct-link:hover .sp-dot { background: var(--accent); }
.mega-subproduct-link.seo-item .sp-dot { background: var(--accent); }
.mega-subproduct-link.seo-item { font-weight: 500; }
.mega-subproduct-link.is-featured,
.industry-product-link.is-featured {
  font-weight: 600;
  color: var(--primary);
}
.star-badge {
  color: var(--accent);
  font-size: 11px;
  line-height: 1;
}

.mega-pane4-footer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mega-view-all {
  font-size: 12px;
  color: var(--accent);
  font-weight: 500;
  cursor: pointer;
  transition: opacity 120ms ease;
}
.mega-view-all:hover { opacity: 0.75; }

.products-directory-section {
  background: var(--off-white);
}
.products-solution-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-md);
}
.products-solution-card {
  display: flex;
  align-items: stretch;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  color: inherit;
  transition: box-shadow var(--transition-base), transform var(--transition-base), border-color var(--transition-base);
}
.products-solution-card:hover {
  transform: translateY(-3px);
  border-color: rgba(10, 46, 74, 0.18);
  box-shadow: 0 14px 38px rgba(0,0,0,0.1);
}
.products-solution-accent {
  width: 6px;
  flex: 0 0 6px;
}
.products-solution-body {
  flex: 1 1 auto;
  min-width: 0;
  padding: 26px 22px 24px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-sm);
}
.products-solution-body h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  line-height: 1.25;
  color: var(--primary);
  margin-bottom: 8px;
}
.products-solution-body p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}
.products-solution-areas {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.products-solution-areas span {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.25;
  padding: 7px 10px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
}
.products-solution-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent);
  transition: color var(--transition-fast), gap var(--transition-fast);
  gap: 5px;
}
.products-solution-card:hover .products-solution-link {
  color: var(--accent-hover);
  gap: 9px;
}

/* Brands simple dropdown */
.nav-dropdown-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  padding: 1px 7px;
  border-radius: var(--radius-pill);
  margin-left: 6px;
  vertical-align: middle;
}
.badge-brand {
  background: rgba(30,120,60,0.1);
  color: #1e7840;
}
.nav-cta {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  background: var(--accent);
  color: var(--white);
  padding: 8px 20px;
  border-radius: var(--radius-md);
  letter-spacing: 0.2px;
  transition: background var(--transition-fast), transform var(--transition-fast);
  margin-left: 8px;
  min-width: 108px;
  text-align: center;
  white-space: nowrap;
  flex: 0 0 auto;
}
.nav-cta:hover { background: var(--accent-hover); transform: translateY(-1px); }

@media (max-width: 900px) {
  .nav-inner {
    gap: 10px;
  }
  .nav-logo {
    flex: 1 1 auto;
    min-width: 0;
  }
  .nav-menu-toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }
  .nav-links {
    position: absolute;
    top: calc(var(--nav-height) - 1px);
    left: var(--container-pad);
    right: var(--container-pad);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--primary);
    border: 1px solid rgba(255,255,255,0.1);
    border-top: 0;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    padding: 10px;
    box-shadow: 0 18px 42px rgba(0,0,0,0.22);
  }
  .nav-links.is-open {
    display: flex;
  }
  .nav-link {
    justify-content: space-between;
    width: 100%;
    padding: 11px 12px;
  }
  .nav-mobile-products.is-open {
    display: block;
    padding: 0 0 8px 14px;
    max-height: calc(100vh - var(--nav-height) - 60px);
    overflow-y: auto;
  }
  .mmp-tree {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .nav-mobile-products a,
  .mmp-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 38px;
    padding: 8px 12px;
    border-left: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-sm);
    color: rgba(255,255,255,0.72);
    font-family: var(--font-display);
    font-size: 13px;
    width: 100%;
    background: none;
    border-top: none;
    border-right: none;
    border-bottom: none;
    text-align: left;
    cursor: pointer;
  }
  .nav-mobile-products a:hover,
  .mmp-toggle:hover,
  .mmp-toggle[aria-expanded="true"] {
    background: rgba(255,255,255,0.08);
    color: var(--white);
  }
  .mmp-toggle svg {
    width: 9px;
    height: 9px;
    flex-shrink: 0;
    opacity: 0.5;
    transition: transform 150ms ease;
  }
  .mmp-toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
    opacity: 0.85;
  }
  .mmp-cats,
  .mmp-products {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-left: 12px;
    margin-top: 2px;
  }
  .mmp-cats[hidden],
  .mmp-products[hidden] {
    display: none;
  }
  .mmp-cat-toggle {
    font-size: 12.5px;
  }
  .mmp-products a {
    min-height: 34px;
    padding: 7px 12px;
    font-size: 12.5px;
    color: rgba(255,255,255,0.6);
  }
  .mmp-overview {
    color: var(--accent);
    font-weight: 500;
  }
  .mmp-search-link {
    margin-top: 4px;
  }
  .nav-cta {
    margin-left: 0;
  }
}

@media (max-width: 420px) {
  .nav-logo {
    font-size: 19px;
  }
  .nav .nav-logo-wordmark {
    display: none;
  }
  .nav-logo-monogram {
    width: 32px;
    height: 38px;
  }
  .nav-logo-mark {
    width: 32px;
    height: 32px;
  }
  .nav-cta {
    min-width: 100px;
    padding: 8px 14px;
  }
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  padding-top: var(--nav-height);
  background-color: #0A2E4A;
  background-image:
    linear-gradient(to right, #0A2E4A 0%, #0A2E4A 30%, rgba(10,46,74,0.88) 50%, rgba(10,46,74,0.25) 75%, transparent 100%),
    url('../../products/ld_website_assets/hompage_background.png');
  background-size: 100% 100%, cover;
  background-position: 0 0, center right;
  background-repeat: no-repeat;
  overflow: hidden;
  position: relative;
}
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  top: -120px; right: -80px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(232,119,34,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
  min-height: 580px;
  padding: var(--space-xl) var(--container-pad);
  max-width: var(--container-max);
  margin: 0 auto;
  position: relative;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,119,34,0.15);
  border: 1px solid rgba(232,119,34,0.3);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #F0A060;
  margin-bottom: var(--space-md);
}
.hero-tag-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--white);
  line-height: 1.12;
  letter-spacing: -1px;
  margin-bottom: var(--space-md);
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero-sub {
  font-size: var(--text-md);
  color: var(--text-muted-dark);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  max-width: 460px;
}
.hero-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 13px 28px;
  border-radius: var(--radius-md);
  letter-spacing: 0.2px;
  transition: background var(--transition-fast), transform var(--transition-base);
  cursor: pointer; border: none;
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  color: rgba(255,255,255,0.8);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 500;
  padding: 13px 24px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.2);
  letter-spacing: 0.2px;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
  cursor: pointer;
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  row-gap: var(--space-md);
  gap: var(--space-lg);
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.hero-stat-label {
  font-size: var(--text-xs);
  color: var(--text-muted-dark);
  margin-top: 4px;
  letter-spacing: 0.3px;
}
.hero-visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.hero-image-frame {
  position: relative;
  width: 100%;
  max-width: 520px;
}
.hero-image-frame img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  display: block;
}
.hero-image-badge {
  position: absolute;
  bottom: 40px; right: 60px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 14px 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  display: flex; align-items: center; gap: 12px;
  max-width: 340px;
}
.hero-badge-icon {
  width: 40px; height: 40px;
  background: rgba(232,119,34,0.12);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.hero-badge-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}
.hero-badge-text span {
  font-size: 12px;
  color: var(--text-secondary);
}

/* =============================================
   SECTION WRAPPER
   ============================================= */
.section {
  padding: var(--space-2xl) 0;
}
.section-sm { padding: var(--space-xl) 0; }
.section-alt { background: var(--white); }
.industry-issues-section {
  padding-bottom: var(--space-lg);
}
.industry-products-section {
  padding-top: 0;
}

.section-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-xs);
  font-family: var(--font-display);
}
.section-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: var(--space-sm);
}
.section-title em { font-style: normal; color: var(--accent); }
.section-body {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 580px;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--space-xl);
  gap: var(--space-lg);
}
.section-header-left { flex: 1; }

/* =============================================
   PRODUCT SOLUTION PILL CARDS
   ============================================= */
.solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}
.solution-card {
  display: flex;
  align-items: stretch;
  background: var(--white);
  border-radius: var(--radius-md) 80px 80px var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
  cursor: pointer;
  min-height: 148px;
}
.solution-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.1);
}
.solution-accent {
  width: 5px;
  flex-shrink: 0;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}
.solution-body {
  flex: 1;
  padding: 22px 18px 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}
.solution-body h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 7px;
  line-height: 1.3;
}
.solution-body p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.solution-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-top: 13px;
  transition: gap var(--transition-fast);
}
.solution-card:hover .solution-link { gap: 9px; }
.solution-image-wrap {
  width: 148px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  border-radius: 0 80px 80px 0;
}
.solution-image-wrap svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* =============================================
   ABOUT / INTRO SPLIT
   ============================================= */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}
.about-image {
  position: relative;
}
.about-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-xl);
}
.about-image-accent {
  position: absolute;
  top: -16px; right: -16px;
  width: 120px; height: 120px;
  background: var(--accent);
  border-radius: var(--radius-xl);
  z-index: -1;
  opacity: 0.25;
}
.about-text .section-body { max-width: 100%; }
.feature-list {
  margin-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.feature-check {
  width: 20px; height: 20px;
  background: rgba(10,46,74,0.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 11px;
  color: var(--primary);
}
.feature-item span {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* =============================================
   DISTRIBUTION MAP STRIP
   ============================================= */
.distribution-strip {
  background: var(--primary);
  padding: var(--space-xl) 0;
  position: relative;
  overflow: hidden;
}
.distribution-strip-pattern {
  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: 32px 32px;
}
.distribution-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-xl);
  align-items: center;
}
.distribution-text .section-label { color: rgba(232,119,34,0.9); }
.distribution-text .section-title { color: var(--white); }
.distribution-text .section-body { color: var(--text-muted-dark); }
.distribution-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}
.dist-feat {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dist-feat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.92);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.dist-feat-icon svg {
  width: 20px;
  height: 20px;
}
.dist-feat h4 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0;
}
.dist-feat p {
  font-size: 12px;
  color: var(--text-muted-dark);
  line-height: 1.6;
}

/* =============================================
   PROJECTS SECTION
   ============================================= */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}
.project-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
  cursor: pointer;
}
.project-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}
.project-card-img {
  width: 100%; height: 180px;
  object-fit: cover;
  background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary);
  font-size: 13px;
}
.project-card-body {
  padding: var(--space-md);
}
.project-tag {
  display: inline-block;
  background: rgba(10,46,74,0.07);
  color: var(--primary);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
}
.project-card h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.35;
  margin-bottom: 8px;
}
.project-card p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.65;
}
.project-card-meta {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 12px;
  display: flex; gap: 12px;
}

/* =============================================
   HOMEPAGE / ABOUT — MOBILE STACKING (shared 768px breakpoint,
   matches .prod-content-grid's existing stack-on-mobile pattern)
   ============================================= */
@media (max-width: 768px) {
  .solution-grid {
    grid-template-columns: 1fr;
  }
  #about-split-section {
    padding-top: 0;
  }
  .about-split {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  .about-image {
    padding: 0;
    margin: 0;
  }
  .distribution-inner {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   PROJECT CASE STUDY PAGE
   ============================================= */
.case-page {
  background: var(--off-white);
}
.case-hero {
  background: var(--primary);
  padding: calc(var(--nav-height) + var(--space-xl)) 0 var(--space-xl);
  position: relative;
  overflow: hidden;
}
.case-hero-photo {
  background-image:
    linear-gradient(90deg, rgba(10,46,74,0.96) 0%, rgba(10,46,74,0.86) 48%, rgba(10,46,74,0.42) 100%),
    var(--case-hero-image);
  background-size: cover;
  background-position: center;
}
.case-hero-inner {
  position: relative;
  max-width: 880px;
}
.case-back-link {
  display: inline-flex;
  color: rgba(255,255,255,0.72);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-md);
}
.case-back-link:hover {
  color: var(--white);
}
.case-hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  line-height: 1.1;
  color: var(--white);
  max-width: 820px;
  margin-bottom: var(--space-md);
}
.case-hero p {
  color: var(--text-muted-dark);
  font-size: var(--text-md);
  line-height: 1.75;
  max-width: 720px;
}
.case-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}
.case-snapshot {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.case-snapshot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.case-snapshot-grid > div {
  padding: var(--space-sm) var(--space-md);
  border-right: 1px solid var(--border);
}
.case-snapshot-grid > div:last-child {
  border-right: 0;
}
.case-snapshot span {
  display: block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 5px;
}
.case-snapshot strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  color: var(--primary);
  line-height: 1.35;
}
.case-two-col,
.case-solution,
.case-outcome-grid,
.case-final-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: var(--space-xl);
  align-items: start;
}
.case-copy p {
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: var(--space-md);
}
.case-copy p:last-child {
  margin-bottom: 0;
}
.case-section-head {
  max-width: 760px;
  margin-bottom: var(--space-lg);
}
.case-risk-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}
.case-risk-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  min-height: 260px;
}
.case-risk-card span {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  background: rgba(232,119,34,0.12);
  color: var(--accent);
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: var(--space-sm);
}
.case-risk-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  line-height: 1.35;
  color: var(--primary);
  margin-bottom: 10px;
}
.case-risk-card p {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--text-secondary);
}
.case-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
.case-photo-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.case-photo-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--surface);
}
.case-photo-card figcaption {
  padding: var(--space-md);
}
.case-photo-card figcaption span {
  display: inline-block;
  background: rgba(10,46,74,0.07);
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
}
.case-photo-card.is-before figcaption span {
  background: rgba(120,40,30,0.09);
  color: #78321f;
}
.case-photo-card.is-after figcaption span {
  background: rgba(30,120,60,0.09);
  color: #1e7840;
}
.case-photo-card figcaption strong,
.case-photo-card figcaption em {
  display: block;
}
.case-photo-card figcaption strong {
  font-family: var(--font-display);
  color: var(--primary);
  font-size: var(--text-md);
  margin-bottom: 5px;
}
.case-photo-card figcaption em {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  font-style: normal;
  line-height: 1.65;
}
.case-metric-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
  margin-top: var(--space-md);
}
.case-metric-strip > div {
  background: var(--primary);
  border-radius: var(--radius-md);
  padding: var(--space-md);
}
.case-metric-strip strong,
.case-metric-strip span {
  display: block;
}
.case-metric-strip strong {
  color: var(--white);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  line-height: 1;
  margin-bottom: 7px;
}
.case-metric-strip span {
  color: var(--text-muted-dark);
  font-size: var(--text-xs);
  line-height: 1.45;
}
.case-solution-section {
  background: var(--primary);
}
.case-solution {
  align-items: center;
}
.case-solution-panel h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  line-height: 1.18;
  color: var(--white);
  margin-bottom: var(--space-md);
}
.case-solution-panel p {
  color: var(--text-muted-dark);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}
.case-solution-panel p:last-child {
  margin-bottom: 0;
}
.case-route-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.22);
}
.case-route-step {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  background: var(--off-white);
}
.case-route-step.is-after {
  border-color: rgba(232,119,34,0.45);
  background: rgba(232,119,34,0.08);
}
.case-route-step span {
  display: block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 5px;
}
.case-route-step strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-md);
  color: var(--primary);
  margin-bottom: 5px;
}
.case-route-step em {
  display: block;
  font-style: normal;
  font-size: var(--text-sm);
  line-height: 1.65;
  color: var(--text-secondary);
}
.case-route-arrow {
  width: 2px;
  height: 32px;
  background: var(--accent);
  margin: 10px 0 10px var(--space-lg);
  position: relative;
}
.case-route-arrow::after {
  content: '';
  position: absolute;
  left: -5px;
  bottom: -1px;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
}
.case-outcome-list {
  display: grid;
  gap: var(--space-sm);
}
.case-outcome-list > div {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-md);
  padding: var(--space-md);
}
.case-outcome-list strong,
.case-outcome-list span {
  display: block;
}
.case-outcome-list strong {
  font-family: var(--font-display);
  color: var(--primary);
  margin-bottom: 4px;
}
.case-outcome-list span {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: 1.65;
}
.case-final-cta {
  background: var(--primary);
  padding: var(--space-xl) 0;
}
.case-final-cta-inner {
  align-items: center;
}
.case-final-cta h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  line-height: 1.2;
  color: var(--white);
  margin-bottom: var(--space-sm);
}
.case-final-cta p {
  color: var(--text-muted-dark);
  max-width: 650px;
}
.case-final-cta .btn-primary {
  justify-self: end;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .case-hero h1 {
    font-size: var(--text-2xl);
  }
  .case-snapshot-grid,
  .case-risk-grid,
  .case-photo-grid,
  .case-metric-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .case-two-col,
  .case-solution,
  .case-outcome-grid,
  .case-final-cta-inner {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  .case-snapshot-grid > div:nth-child(2n) {
    border-right: 0;
  }
  .case-final-cta .btn-primary {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  :root {
    --container-pad: 20px;
  }
  .projects-grid,
  .case-snapshot-grid,
  .case-risk-grid,
  .case-photo-grid,
  .case-metric-strip {
    grid-template-columns: 1fr;
  }
  .case-snapshot-grid > div {
    border-right: 0;
    border-top: 1px solid var(--border);
    padding: var(--space-sm) 0;
  }
  .case-snapshot-grid > div:first-child {
    border-top: 0;
  }
  .case-hero,
  .page-hero {
    padding: calc(var(--nav-height) + var(--space-lg)) 0 var(--space-lg);
  }
  .case-hero h1 {
    font-size: var(--text-xl);
  }
  .case-hero p {
    font-size: var(--text-base);
  }
  .case-route-card {
    padding: var(--space-md);
  }
}

/* =============================================
   PRODUCT LIST PAGE
   ============================================= */
.product-list-page {
  display: none;
}
.product-list-page.active {
  display: block;
}

.search-filter-bar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.search-input-wrap {
  position: relative;
  margin-bottom: var(--space-md);
}
.search-input-wrap svg {
  position: absolute;
  left: 16px; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  color: var(--text-secondary);
}
.search-input {
  width: 100%;
  height: 52px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0 16px 0 48px;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text-primary);
  background: var(--off-white);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10,46,74,0.08);
  background: var(--white);
}
.search-input::placeholder { color: var(--text-secondary); }
.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border);
  background: var(--white);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
}
.pill:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(10,46,74,0.04);
}
.pill.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.pill-count {
  background: rgba(255,255,255,0.2);
  border-radius: var(--radius-pill);
  padding: 1px 7px;
  font-size: 11px;
}
.pill:not(.active) .pill-count {
  background: var(--surface);
  color: var(--text-secondary);
}

.products-results-meta {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}
.products-results-meta strong {
  color: var(--text-primary);
  font-weight: 500;
}

.products-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
@media (max-width: 980px) {
  .products-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .products-card-grid {
    grid-template-columns: 1fr;
  }
}
.prod-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
  cursor: pointer;
  display: flex; flex-direction: column;
}
.prod-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(0,0,0,0.09);
  border-color: rgba(10,46,74,0.2);
}
.prod-card-cat {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-xs);
  font-family: var(--font-display);
}
.prod-card h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.35;
  margin-bottom: 8px;
}
.prod-card p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
}
.prod-card-footer {
  margin-top: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--surface);
  display: flex; align-items: center; justify-content: space-between;
}
.prod-card-tag {
  font-size: 11px;
  background: var(--surface);
  color: var(--text-secondary);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}
.prod-card-arrow {
  width: 28px; height: 28px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary);
  font-size: 13px;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}
.prod-card:hover .prod-card-arrow {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.products-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: var(--space-xl);
}
.page-btn {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 120ms ease, border-color 120ms ease, color 120ms ease;
}
.page-btn:hover:not(:disabled) {
  border-color: var(--primary);
  color: var(--primary);
}
.page-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}
.page-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.no-results {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  color: var(--text-secondary);
  display: none;
  grid-column: 1 / -1;
}
.no-results svg {
  width: 48px; height: 48px;
  margin: 0 auto var(--space-sm);
  opacity: 0.25;
}
.no-results h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--text-primary);
  margin-bottom: 8px;
}

/* =============================================
   CTA STRIP
   ============================================= */
.cta-strip {
  background: var(--primary);
  padding: var(--space-xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-strip-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(232,119,34,0.12) 0%, transparent 60%);
}
.cta-strip h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-sm);
  position: relative;
}
.cta-strip p {
  color: var(--text-muted-dark);
  max-width: 460px;
  margin: 0 auto var(--space-lg);
  position: relative;
}
.cta-strip .btn-primary { position: relative; }

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
  gap: var(--space-xl);
}
.contact-detail-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.contact-detail-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.contact-detail-icon {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(10,46,74,0.12);
  background: rgba(10,46,74,0.06);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--primary);
}
.contact-detail-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-detail-label {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}
.contact-detail-value {
  font-size: 15px;
  color: var(--primary);
  font-weight: 500;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: #071E30;
  padding: var(--space-xl) 0 var(--space-lg);
  color: var(--text-muted-dark);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}
.footer-brand .nav-logo-mark { background: var(--accent); }
.footer-brand .nav-logo { margin-bottom: var(--space-sm); }
.footer-brand p {
  font-size: var(--text-sm);
  line-height: 1.75;
  color: var(--text-muted-dark);
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: var(--space-sm);
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a {
  font-size: var(--text-sm);
  color: var(--text-muted-dark);
  transition: color var(--transition-fast);
}
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.3);
}
.footer-social {
  display: flex; gap: 10px;
}
.social-btn {
  width: 32px; height: 32px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  transition: border-color var(--transition-fast), color var(--transition-fast);
  cursor: pointer;
}
.social-btn:hover {
  border-color: rgba(255,255,255,0.4);
  color: rgba(255,255,255,0.85);
}

@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(180px, 1fr);
    gap: var(--space-lg) var(--space-xl);
  }
}

@media (max-width: 640px) {
  .footer {
    padding: var(--space-lg) 0;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
  }
  .footer-brand p {
    max-width: 36rem;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }
  .footer-social {
    flex-wrap: wrap;
  }
}

/* =============================================
   PAGE TRANSITIONS
   ============================================= */
.page-section {
  display: none;
}
.page-section.active {
  display: block;
}
#home-page.active { display: block; }

/* =============================================
   ABOUT PAGE
   ============================================= */
.page-hero {
  background: var(--primary);
  padding: calc(var(--nav-height) + var(--space-xl)) 0 var(--space-xl);
  position: relative;
  overflow: hidden;
}
.page-hero-pattern {
  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: 48px 48px;
}
.page-hero-inner { position: relative; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.8px;
  margin-bottom: var(--space-sm);
}
.page-hero p {
  font-size: var(--text-md);
  color: var(--text-muted-dark);
  max-width: 520px;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}
.expertise-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}
.expertise-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--primary);
  margin-bottom: var(--space-sm);
}
.expertise-card p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-sm);
}
.sub-products {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--space-sm);
}
.sub-pill {
  font-size: 12px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .expertise-grid {
    grid-template-columns: 1fr;
  }
  #what-we-are .sub-products {
    display: none;
  }
}

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.anim-fade-up { animation: fadeUp 0.5s ease forwards; }
.anim-delay-1 { animation-delay: 0.1s; opacity: 0; }
.anim-delay-2 { animation-delay: 0.2s; opacity: 0; }
.anim-delay-3 { animation-delay: 0.3s; opacity: 0; }

/* =============================================
   PRODUCT DETAIL PAGES — FUEL SPECIALTIES
   ============================================= */
.product-detail-page { display: none; }
.product-detail-page.active { display: block; }
.prod-hero {
  background: var(--primary);
  padding: calc(var(--nav-height) + var(--space-xl)) 0 var(--space-xl);
  position: relative; overflow: hidden;
}
.prod-hero-pattern {
  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: 48px 48px;
}
.prod-hero-glow {
  position: absolute; top: -60px; right: -60px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(232,119,34,0.14) 0%, transparent 65%);
  pointer-events: none;
}
.prod-hero-inner { position: relative; }
.prod-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: rgba(255,255,255,0.45);
  margin-bottom: var(--space-sm);
  font-family: var(--font-display);
}
.prod-breadcrumb span { cursor: pointer; }
.prod-breadcrumb span:hover { color: rgba(255,255,255,0.8); }
.prod-breadcrumb-sep { opacity: 0.3; }
.prod-hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-3xl); font-weight: 700; color: var(--white);
  letter-spacing: -0.8px; margin-bottom: var(--space-sm); line-height: 1.1;
}
.prod-hero-lead {
  font-size: var(--text-md); color: var(--text-muted-dark);
  max-width: 620px; line-height: 1.7; margin-bottom: var(--space-lg);
}
.prod-hero-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.prod-hero-tag {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-pill); padding: 5px 14px;
  font-size: 12px; color: rgba(255,255,255,0.65);
  font-family: var(--font-display); font-weight: 500;
}
.prod-spec-strip {
  background: var(--white); border-bottom: 1px solid var(--border); padding: var(--space-md) 0;
}
.prod-spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.prod-spec-item { padding: var(--space-sm) var(--space-md); border-right: 1px solid var(--border); }
.prod-spec-item:last-child { border-right: none; }
.prod-spec-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.7px;
  text-transform: uppercase; color: var(--text-secondary); margin-bottom: 5px;
  font-family: var(--font-display);
}
.prod-spec-value { font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--primary); }
.prod-content-grid {
  display: grid; grid-template-columns: 1fr 320px; gap: var(--space-xl); align-items: start;
}
.prod-main-content {
  min-width: 0; /* grid items default to min-width:auto, which lets wide table content push the whole grid/page wider instead of scrolling internally */
}
.prod-main-content h2 {
  font-family: var(--font-display); font-size: var(--text-xl); font-weight: 700;
  color: var(--primary); margin-bottom: var(--space-sm); margin-top: var(--space-lg);
}
.prod-main-content h2:first-child { margin-top: 0; }
.prod-main-content p { font-size: var(--text-base); color: var(--text-secondary); line-height: 1.8; margin-bottom: var(--space-sm); }
.prod-main-content ul { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: var(--space-sm); }
.prod-main-content ul li { display: flex; align-items: flex-start; gap: 10px; font-size: var(--text-sm); color: var(--text-secondary); line-height: 1.65; }
.prod-main-content ul li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; margin-top: 6px; }
.app-table { width: 100%; border-collapse: collapse; margin-bottom: var(--space-md); font-size: var(--text-sm); }
.app-table th { background: var(--primary); color: var(--white); font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: 0.5px; padding: 10px 14px; text-align: left; }
.app-table td { padding: 10px 14px; border-bottom: 1px solid var(--border); color: var(--text-secondary); vertical-align: top; }
.app-table tr:last-child td { border-bottom: none; }
.app-table tr:nth-child(even) td { background: var(--off-white); }
.app-table td:first-child { font-weight: 600; color: var(--text-primary); white-space: nowrap; }
.prod-sidebar { position: sticky; top: calc(var(--nav-height) + 24px); }
.prod-sidebar-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-md); margin-bottom: var(--space-sm); }
.prod-sidebar-card h4 { font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--primary); margin-bottom: var(--space-sm); text-transform: uppercase; letter-spacing: 0.5px; }
.prod-sidebar-link { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: var(--radius-md); font-size: 13px; color: var(--text-secondary); cursor: pointer; transition: background 120ms ease, color 120ms ease; border: none; background: none; width: 100%; text-align: left; }
.prod-sidebar-link:hover { background: var(--off-white); color: var(--primary); }
.prod-sidebar-link.active { background: rgba(10,46,74,0.07); color: var(--primary); font-weight: 600; }
.prod-sidebar-link .sl-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--border); flex-shrink: 0; }
.prod-sidebar-link.active .sl-dot, .prod-sidebar-link:hover .sl-dot { background: var(--accent); }
.prod-cta-card { background: var(--primary); border-radius: var(--radius-lg); padding: var(--space-md); }
.prod-cta-card h4 { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.prod-cta-card p { font-size: 13px; color: var(--text-muted-dark); line-height: 1.6; margin-bottom: var(--space-sm); }
.prod-cta-card .btn-primary { width: 100%; justify-content: center; }
.info-box { border-left: 3px solid var(--accent); background: rgba(232,119,34,0.06); border-radius: 0 var(--radius-md) var(--radius-md) 0; padding: var(--space-sm) var(--space-md); margin-bottom: var(--space-md); }
.info-box p { font-size: var(--text-sm) !important; color: var(--text-primary) !important; margin-bottom: 0 !important; }
.mech-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-sm); margin-bottom: var(--space-md); }
.mech-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-md); }
.mech-card-icon { font-size: 22px; margin-bottom: 8px; }
.mech-card h4 { font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.mech-card p { font-size: 12px !important; line-height: 1.6 !important; margin-bottom: 0 !important; }
.related-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.related-pill { cursor: pointer; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-pill); padding: 5px 14px; font-size: 13px; color: var(--text-secondary); transition: all 0.15s ease; }
.related-pill:hover { background: var(--primary); color: white; border-color: var(--primary); }


/* =============================================
   PRODUCT DETAIL PAGES — FUEL SPECIALTIES
   ============================================= */
.product-detail-page { display: none; }
.product-detail-page.active { display: block; }
.prod-hero {
  background: var(--primary);
  padding: calc(var(--nav-height) + var(--space-xl)) 0 var(--space-xl);
  position: relative; overflow: hidden;
}
.prod-hero-pattern {
  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: 48px 48px;
}
.prod-hero-glow {
  position: absolute; top: -60px; right: -60px;
  width: 400px; height: 400px;
  background: radial-gradient(circle,rgba(232,119,34,0.14) 0%,transparent 65%);
  pointer-events: none;
}
.prod-hero-inner { position: relative; }
.prod-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: rgba(255,255,255,0.45);
  margin-bottom: var(--space-sm); font-family: var(--font-display);
}
.prod-breadcrumb span { cursor: pointer; }
.prod-breadcrumb span:hover { color: rgba(255,255,255,0.8); }
.prod-breadcrumb-sep { opacity: 0.3; }
.prod-hero h1 {
  font-family: var(--font-display); font-size: var(--text-3xl);
  font-weight: 700; color: var(--white); letter-spacing: -0.8px;
  margin-bottom: var(--space-sm); line-height: 1.1;
}
.prod-hero-lead {
  font-size: var(--text-md); color: var(--text-muted-dark);
  max-width: 620px; line-height: 1.7; margin-bottom: var(--space-lg);
}
.prod-hero-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.prod-hero-tag {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-pill); padding: 5px 14px;
  font-size: 12px; color: rgba(255,255,255,0.65);
  font-family: var(--font-display); font-weight: 500;
}
.prod-spec-strip { background: var(--white); border-bottom: 1px solid var(--border); padding: var(--space-md) 0; }
.prod-spec-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; }
.prod-spec-item { padding: var(--space-sm) var(--space-md); border-right: 1px solid var(--border); }
.prod-spec-item:last-child { border-right: none; }
.prod-spec-label { font-size: 11px; font-weight: 600; letter-spacing: 0.7px; text-transform: uppercase; color: var(--text-secondary); margin-bottom: 5px; font-family: var(--font-display); }
.prod-spec-value { font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--primary); }
.prod-content-grid { display: grid; grid-template-columns: 1fr 300px; gap: var(--space-xl); align-items: start; }
.prod-main-content h2 { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 700; color: var(--primary); margin-bottom: var(--space-sm); margin-top: var(--space-lg); }
.prod-main-content h2:first-child { margin-top: 0; }
.prod-main-content p { font-size: var(--text-base); color: var(--text-secondary); line-height: 1.8; margin-bottom: var(--space-sm); }
.prod-main-content ul { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: var(--space-sm); }
.prod-main-content ul li { display: flex; align-items: flex-start; gap: 10px; font-size: var(--text-sm); color: var(--text-secondary); line-height: 1.65; }
.prod-main-content ul li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; margin-top: 6px; }
.app-table { width: 100%; border-collapse: collapse; margin-bottom: var(--space-md); font-size: var(--text-sm); }
.app-table th { background: var(--primary); color: var(--white); font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: 0.5px; padding: 10px 14px; text-align: left; }
.app-table td { padding: 10px 14px; border-bottom: 1px solid var(--border); color: var(--text-secondary); vertical-align: top; }
.app-table tr:last-child td { border-bottom: none; }
.app-table tr:nth-child(even) td { background: var(--off-white); }
.app-table td:first-child { font-weight: 600; color: var(--text-primary); }
.activated-carbon-app-table {
  table-layout: fixed;
}
.activated-carbon-app-table .app-col-application {
  width: 24%;
}
.activated-carbon-app-table .app-col-form {
  width: 26%;
}
.activated-carbon-app-table .app-col-notes {
  width: 50%;
}
.activated-carbon-app-table td:first-child,
.activated-carbon-app-table th:first-child {
  white-space: normal;
  overflow-wrap: anywhere;
}
.prod-sidebar { position: sticky; top: calc(var(--nav-height) + 24px); }
.prod-sidebar-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-md); margin-bottom: var(--space-sm); }
.prod-sidebar-card h4 { font-family: var(--font-display); font-size: 12px; font-weight: 700; color: var(--primary); margin-bottom: var(--space-sm); text-transform: uppercase; letter-spacing: 0.5px; }
.prod-sidebar-link { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: var(--radius-md); font-size: 13px; color: var(--text-secondary); cursor: pointer; transition: background 120ms ease, color 120ms ease; border: none; background: none; width: 100%; text-align: left; }
.prod-sidebar-link:hover { background: var(--off-white); color: var(--primary); }
.prod-sidebar-link.active { background: rgba(10,46,74,0.07); color: var(--primary); font-weight: 600; }
.prod-sidebar-link .sl-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--border); flex-shrink: 0; }
.prod-sidebar-link.active .sl-dot, .prod-sidebar-link:hover .sl-dot { background: var(--accent); }
.prod-cta-card { background: var(--primary); border-radius: var(--radius-lg); padding: var(--space-md); }
.prod-cta-card h4 { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.prod-cta-card p { font-size: 13px; color: var(--text-muted-dark); line-height: 1.6; margin-bottom: var(--space-sm); }
.prod-cta-card .btn-primary { width: 100%; justify-content: center; }
.info-box { border-left: 3px solid var(--accent); background: rgba(232,119,34,0.06); border-radius: 0 var(--radius-md) var(--radius-md) 0; padding: var(--space-sm) var(--space-md); margin-bottom: var(--space-md); }
.info-box p { font-size: var(--text-sm) !important; color: var(--text-primary) !important; margin-bottom: 0 !important; }
.info-box strong { color: var(--primary); }
.mech-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: var(--space-sm); margin-bottom: var(--space-md); }
.mech-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-md); }
.mech-card-icon { font-size: 22px; margin-bottom: 8px; }
.mech-card h4 { font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.mech-card p { font-size: 12px !important; line-height: 1.6 !important; margin-bottom: 0 !important; }
.rel-link { cursor: pointer; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-pill); padding: 5px 14px; font-size: 13px; color: var(--text-secondary); display: inline-block; margin: 4px 4px 0 0; }
.rel-link:hover { background: var(--off-white); color: var(--primary); }



/* Split-site overrides */
.page-section,
.product-detail-page {
  display: block;
}

.site-main {
  min-height: 100vh;
}

.hero-inner {
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}

.hero-content {
  justify-self: start;
  min-width: 0;
  max-width: 560px;
}

.hero-tag,
.hero h1,
.hero-sub {
  cursor: default;
}

.prod-breadcrumb a:hover {
  color: rgba(255,255,255,0.8);
}

.hero-visual {
  min-width: 0;
  justify-self: end;
}

.hero-image-frame {
  width: min(100%, 520px);
  margin-left: auto;
}

.hero-sub {
  max-width: 520px;
}

@media (max-width: 980px) {
  .hero {
    background-image:
      linear-gradient(to bottom, rgba(10,46,74,0.95) 0%, rgba(10,46,74,0.8) 60%, rgba(10,46,74,0.7) 100%),
      url('../../products/ld_website_assets/hompage_background.png');
    background-position: 0 0, center center;
  }

  .hero-image-badge {
    display: none;
  }

  /* .hero-content's justify-self:start sizes it to its content's natural
     width (the headline/paragraph), not the grid track. On the two-column
     desktop layout that's fine since the track is wide; once the grid
     collapses to a single column here, it overflows past the viewport and
     gets clipped by .hero's overflow:hidden. Stretch to fill the track. */
  .hero-content {
    justify-self: stretch;
    max-width: 100%;
  }
}

#nav-products-trigger {
  cursor: pointer;
}

.mega-subproduct-link.is-disabled {
  cursor: default;
}

.mega-subproduct-link.is-disabled:hover {
  background: transparent;
  color: var(--text-primary);
}

/* =============================================
   INDUSTRY LANDING PAGES — ISSUE CARDS
   ============================================= */
.issue-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}
.issue-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  border-left: 3px solid var(--accent);
  display: flex;
  flex-direction: column;
}
.issue-card-title {
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  line-height: 1.3;
}
.issue-card-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-sm);
  flex: 1;
}
.issue-card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.issue-link {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  font-family: var(--font-display);
  transition: background 120ms ease, border-color 120ms ease, color 120ms ease;
}
.issue-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}
.issue-subsection-head {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin: var(--space-xl) 0 var(--space-lg);
}
.issue-subsection-head:first-child { margin-top: 0; }
.issue-subsection-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}
.issue-subsection-head::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

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

/* =============================================
   INDUSTRY LANDING PAGES — INDUSTRY PRODUCTS
   ============================================= */
.industry-product-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-lg) var(--space-xl);
  margin-top: var(--space-md);
}
.industry-product-group-title {
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--space-sm);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
}
.industry-product-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.industry-product-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 6px;
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  transition: background 120ms ease, color 120ms ease;
}
.industry-product-link::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
  transition: background 120ms ease;
}
.industry-product-link:hover {
  background: var(--off-white);
  color: var(--primary);
}
.industry-product-link:hover::before {
  background: var(--accent);
}
@media (max-width: 768px) {
  .industry-product-groups {
    grid-template-columns: 1fr;
  }
  .industry-issues-section {
    padding-bottom: var(--space-md);
  }
}

@media (max-width: 760px) {
  .products-solution-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .products-solution-body {
    padding: 22px 20px;
  }
  .products-solution-body h2 {
    font-size: var(--text-lg);
  }
}

@media (max-width: 980px) {
  .prod-spec-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .prod-spec-item:nth-child(2n) {
    border-right: 0;
  }
}

@media (max-width: 768px) {
  .prod-content-grid {
    grid-template-columns: 1fr;
  }
  .prod-sidebar {
    position: static;
  }
  .prod-sidebar-card {
    display: none;
  }
  .prod-main-content > .prod-cta-card {
    width: min(100%, 300px);
    margin: var(--space-md) 0 var(--space-lg);
  }
  .prod-main-content > .prod-cta-card + h2 {
    margin-top: 0;
  }
  .mech-grid {
    grid-template-columns: 1fr;
  }
  /* Spec tables use inline table-layout:fixed + percentage col widths sized
     for desktop; on phones that squashes headers/values into unreadable
     wrapped fragments. Force natural column widths and let the table scroll
     horizontally instead of collapsing. !important is required to beat the
     per-table inline styles baked into the product page markup.
     Excludes .activated-carbon-app-table: that table is long-text (not
     numeric spec) content and already wraps normally at a fixed width,
     which reads fine without horizontal scroll. */
  .app-table:not(.activated-carbon-app-table) {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    table-layout: auto !important;
    width: auto !important;
    max-width: 100%;
  }
  .app-table:not(.activated-carbon-app-table) col {
    width: auto !important;
  }
  .app-table:not(.activated-carbon-app-table) th,
  .app-table:not(.activated-carbon-app-table) td {
    white-space: nowrap !important;
  }
}

@media (max-width: 640px) {
  .prod-spec-grid {
    grid-template-columns: 1fr;
  }
  .prod-spec-item {
    border-right: 0;
    border-top: 1px solid var(--border);
    padding: var(--space-sm) 0;
  }
  .prod-spec-item:first-child {
    border-top: 0;
  }
}

/* Project case specs mirror product-page spec strips */
.case-snapshot {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: var(--space-md) 0;
}
.case-snapshot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.case-snapshot-grid > div {
  padding: var(--space-sm) var(--space-md);
  border-right: 1px solid var(--border);
  border-top: 0;
}
.case-snapshot-grid > div:last-child {
  border-right: 0;
}
.case-snapshot span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 5px;
  font-family: var(--font-display);
}
.case-snapshot strong {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

@media (max-width: 980px) {
  .case-snapshot-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .case-snapshot-grid > div:nth-child(2n) {
    border-right: 0;
  }
}

@media (max-width: 640px) {
  .case-snapshot-grid {
    grid-template-columns: 1fr;
  }
  .case-snapshot-grid > div {
    border-right: 0;
    border-top: 1px solid var(--border);
    padding: var(--space-sm) 0;
  }
  .case-snapshot-grid > div:first-child {
    border-top: 0;
  }
}
