/* Clone-specific responsive fixes (not from the original export). */

/* Subtle scroll-reveal for content images/figures and product cards.
   The hidden state lives on the .dcc-reveal class, which is added by JS only when
   motion is allowed — so reduced-motion users and the no-JS case always see content
   normally. The reduce override below is a belt-and-suspenders safety net. */
.dcc-reveal {
  opacity: 0 !important;
  transform: translateY(26px) !important;
  transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) !important;
  will-change: opacity, transform;
}
.dcc-reveal.dcc-in {
  opacity: 1 !important;
  transform: none !important;
}

/* Product search dropdown */
.dcc-search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 100000;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 90px 16px 16px;
}
.dcc-search-panel {
  width: 100%;
  max-width: 620px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 75vh;
}
.dcc-search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid #ececec;
}
.dcc-search-bar .fa-search { color: #193e46; font-size: 16px; }
.dcc-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 17px;
  font-family: 'DM Sans', sans-serif;
  color: #1a1a1a;
  background: transparent;
}
.dcc-search-close {
  border: none;
  background: none;
  font-size: 26px;
  line-height: 1;
  color: #888;
  cursor: pointer;
  padding: 0 4px;
}
.dcc-search-close:hover { color: #193e46; }
.dcc-search-results { overflow-y: auto; }
.dcc-search-hint {
  padding: 24px 18px;
  color: #888;
  font-size: 15px;
  text-align: center;
}
.dcc-search-item {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  padding: 12px 18px;
  border: none;
  border-bottom: 1px solid #f2f2f2;
  background: #fff;
  cursor: pointer;
  transition: background 0.15s ease;
}
.dcc-search-item:hover { background: #f7f7f2; }
.dcc-search-item img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex: 0 0 auto;
  background: #fff;
  border-radius: 6px;
}
.dcc-search-item-text { display: flex; flex-direction: column; gap: 2px; }
.dcc-search-item-title {
  font-weight: 700;
  font-size: 15px;
  color: #1a1a1a;
}
.dcc-search-item-cat {
  font-size: 12px;
  color: #2b7bb9;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.dcc-search-item-desc {
  margin-top: 3px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--dcc-muted, #5b6b73);
}
.dcc-search-item-desc mark {
  background: rgba(248, 182, 45, 0.4);
  color: inherit;
  padding: 0 1px;
  border-radius: 2px;
  font-weight: 600;
}

/* Home hero slider: only the active slide is visible. Uses !important because a
   layout-bundle @media rule forces .pp-content-post opacity and would otherwise
   override inline styles, leaving the carousel stuck on the first slide. */
.dcc-hero-track { position: relative; }
.dcc-hero-track .pp-content-post {
  position: absolute;
  top: 0; left: 0; width: 100%;
  opacity: 0 !important;
  z-index: 1;
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.dcc-hero-track .pp-content-post.dcc-active {
  position: relative;
  opacity: 1 !important;
  z-index: 2;
  pointer-events: auto;
}

/* Client-logo marquee (CSS animation replaces the JS requestAnimationFrame loop). */
/* Clip the over-wide marquee track at the parent so it never causes page-level
   horizontal scroll. The track itself must keep width:max-content (set below) so
   all logos lay out in a single row — capping its width would squash them. */
.pp-logos-content {
  max-width: 100%;
  overflow: hidden;
}
.pp-logos-carousel.dcc-marquee {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 20px;
  width: max-content;
  /* The original PowerPack carousel CSS starts the track at opacity:0 and relies
     on its (removed) JS to fade it in — force it visible for the CSS marquee. */
  opacity: 1 !important;
  animation-name: dcc-marquee;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
.pp-logos-carousel.dcc-marquee:hover {
  animation-play-state: paused;
}
@keyframes dcc-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Mobile breathing room: content rows render edge-to-edge (0 side padding) on
   small screens. Add horizontal padding to the inner content while leaving the
   row background full-width. The home hero slider is excluded because its
   background image lives inside the content and must stay edge-to-edge. */
@media (max-width: 768px) {
  #fl-main-content .fl-row:not(.home-hero-slider) > .fl-row-content-wrap > .fl-row-content,
  footer .fl-row > .fl-row-content-wrap > .fl-row-content {
    padding-left: 18px !important;
    padding-right: 18px !important;
    box-sizing: border-box;
  }
}

/* Mobile vertical rhythm: content modules sit flush on small screens, which reads
   as cramped. Add consistent spacing between stacked modules, extra room above the
   small section "badge" labels, and a gap between the industry-icon columns. */
@media (max-width: 768px) {
  #fl-main-content .fl-col-content > .fl-module,
  #fl-main-content .fl-col-content > figure.fl-module {
    margin-bottom: 18px;
  }
  #fl-main-content .fl-col-content > .fl-module:last-child,
  #fl-main-content .fl-col-content > figure.fl-module:last-child {
    margin-bottom: 0;
  }
  #fl-main-content .fl-module.upper-text {
    margin-top: 8px;
  }
  #fl-main-content .fl-col-group-nested > .fl-col {
    padding-left: 8px;
    padding-right: 8px;
  }
}

/* Hero pagination pills: keep them tidy on small screens so they don't
   overflow the hero or wrap into a crowded block. */
@media (max-width: 768px) {
  .dcc-hero-dots {
    bottom: 18px !important;
    gap: 8px !important;
    padding: 0 12px !important;
  }
  .dcc-hero-dot {
    padding: 8px 12px !important;
    border-radius: 4px !important;
  }
  .dcc-hero-dot span {
    font-size: 9px !important;
    letter-spacing: 0.3px;
  }
}

@media (max-width: 480px) {
  .dcc-hero-dot span {
    font-size: 8px !important;
  }
}

/* ==========================================================================
   DCC 2026 REDESIGN LAYER
   A purely presentational overlay — no markup, copy, or structure is changed.
   It restyles the existing Beaver Builder / PowerPack output to feel modern,
   crisp and clean, and adds tasteful motion. Everything below is additive and
   loads last so it wins the cascade. Respects prefers-reduced-motion at the end.
   ========================================================================== */

:root {
  --dcc-teal:        #143840;
  --dcc-teal-600:    #193e46;
  --dcc-teal-700:    #102d34;
  --dcc-teal-800:    #0c2228;
  --dcc-amber:       #f8b62d;
  --dcc-amber-600:   #e9a417;
  --dcc-ink:         #18222a;
  --dcc-body:        #4a5560;
  --dcc-muted:       #7c8893;
  --dcc-line:        #e7eaed;
  --dcc-surface:     #ffffff;
  --dcc-surface-2:   #f5f7f8;
  --dcc-surface-3:   #eef1f2;
  --dcc-radius:      16px;
  --dcc-radius-sm:   12px;
  --dcc-radius-lg:   24px;
  --dcc-shadow-sm:   0 2px 10px rgba(16, 45, 52, 0.06);
  --dcc-shadow:      0 12px 34px rgba(16, 45, 52, 0.10);
  --dcc-shadow-lg:   0 26px 60px rgba(16, 45, 52, 0.18);
  --dcc-ease:        cubic-bezier(0.22, 0.61, 0.36, 1);
  --dcc-ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --dcc-ui-font:     'DM Sans', 'Instrument Sans', Helvetica, Arial, sans-serif;
  --dcc-display:     'Bree Serif', Georgia, serif;
}

/* ---- Global base -------------------------------------------------------- */
html { scroll-behavior: smooth; }
body.fl-builder {
  font-family: var(--dcc-ui-font);
  color: var(--dcc-body);
  background: var(--dcc-surface-2);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--dcc-amber); color: var(--dcc-teal-800); }

/* Refined scrollbar (WebKit) */
* { scrollbar-color: var(--dcc-teal-600) transparent; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-thumb {
  background: var(--dcc-teal-600);
  border-radius: 8px;
  border: 3px solid var(--dcc-surface-2);
}
::-webkit-scrollbar-thumb:hover { background: var(--dcc-teal-700); }

/* Accessible focus rings — only for keyboard navigation (:focus-visible) */
a:focus-visible, button:focus-visible, input:focus-visible,
.fl-button:focus-visible, .product-card:focus-visible {
  outline: 3px solid rgba(248, 182, 45, 0.6);
  outline-offset: 3px;
  border-radius: 6px;
}
/* No outline/border on mouse-click (the black box that appears when clicking).
   Keyboard users still get the amber ring above. */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
input:focus:not(:focus-visible),
.fl-button:focus:not(:focus-visible),
.product-card:focus:not(:focus-visible) { outline: none !important; box-shadow: none !important; }
/* Nav links never show a focus box — their active underline is the indicator. */
#menu-main-menu a:focus,
#menu-main-menu a:focus-visible,
#menu-main-menu .fl-has-submenu-container > a:focus,
#menu-main-menu .fl-has-submenu-container > a:focus-visible { outline: none !important; box-shadow: none !important; }

/* ---- Typography --------------------------------------------------------- */
/* Type face + rhythm only — never force colour here, since several sections
   (hero, About) are dark-teal with white text by design. Forcing a colour
   globally made that text invisible. Colours stay as the original per-section. */
#fl-main-content .fl-heading-text,
#fl-main-content h1, #fl-main-content h2, #fl-main-content h3,
footer .fl-heading-text, footer .fl-heading {
  font-family: var(--dcc-display);
  letter-spacing: -0.01em;
}
#fl-main-content .fl-heading .fl-heading-text,
#fl-main-content h2.fl-heading-text {
  line-height: 1.16 !important;
}
#fl-main-content .fl-rich-text p { line-height: 1.75; }
#fl-main-content .fl-rich-text ul,
#fl-main-content .fl-rich-text ol { margin: 0; padding-left: 20px; }
#fl-main-content .fl-rich-text li { margin-bottom: 8px; line-height: 1.6; }

/* ---- Buttons ------------------------------------------------------------ */
/* Solid amber CTA links (Learn More, Contact Us, See Products, Inquire …) */
#fl-main-content a.fl-button,
footer a.fl-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--dcc-ui-font);
  font-weight: 600 !important;
  letter-spacing: 0.01em;
  border-radius: 999px !important;
  padding: 13px 28px !important;
  background: linear-gradient(135deg, var(--dcc-amber), var(--dcc-amber-600)) !important;
  color: var(--dcc-teal-800) !important;
  border: none !important;
  box-shadow: 0 10px 24px rgba(248, 182, 45, 0.32);
  overflow: hidden;
  transition: transform 0.45s var(--dcc-ease-out), box-shadow 0.45s var(--dcc-ease-out);
  z-index: 0;
}
#fl-main-content a.fl-button .fl-button-text,
footer a.fl-button .fl-button-text { position: relative; z-index: 2; }
#fl-main-content a.fl-button::after,
footer a.fl-button::after {
  content: "";
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-18deg);
  transition: left 0.7s var(--dcc-ease);
  z-index: 1;
}
#fl-main-content a.fl-button:hover,
footer a.fl-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(248, 182, 45, 0.45);
  color: var(--dcc-teal-800) !important;
}
#fl-main-content a.fl-button:hover::after,
footer a.fl-button:hover::after { left: 130%; }

/* Section eyebrow badges (the small "ABOUT" / "WHAT WE DO" pills) */
#fl-main-content .upper-text .fl-button {
  background: rgba(20, 56, 64, 0.07) !important;
  color: var(--dcc-teal-600) !important;
  border: 1px solid rgba(20, 56, 64, 0.14) !important;
  border-radius: 999px !important;
  padding: 8px 18px !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  letter-spacing: 0.16em !important;
  box-shadow: none !important;
  cursor: default;
}
#fl-main-content .upper-text .fl-button::after { display: none; }
#fl-main-content .upper-text .fl-button:hover { transform: none; }
/* On the dark About section the eyebrow badge sits on teal — drop the tinted
   pill background/border and use plain white text. */
/* ABOUT eyebrow: a pill like the other section badges, but styled for the dark
   teal section (translucent fill + light border + white text). */
#about .upper-text .fl-button {
  background: rgba(255, 255, 255, 0.14) !important;
  border: 1px solid rgba(255, 255, 255, 0.38) !important;
  color: #ffffff !important;
}
/* About-us page only (Beaver Builder post 439): the eyebrow label pills
   (Direction, Purpose, Foundation, …) get white text. They sit on a mix of dark
   photo sections and a light section, so pair the white text with a solid teal
   pill — readable on every section and consistent across the page. */
#fl-main-content .fl-builder-content-439 .upper-text .fl-button {
  background: var(--dcc-teal-600) !important;
  border: 1px solid var(--dcc-teal-600) !important;
  color: #ffffff !important;
}
.fl-builder-content-439 .upper-text .fl-button .fl-button-text,
.fl-builder-content-439 .upper-text .fl-button .fl-button-icon { color: #ffffff !important; }

/* ---- Header ------------------------------------------------------------- */
/* The header is an integrated part of the hero: fixed and transparent over the
   full-bleed banner at the top of every page, then it eases into a solid glass
   bar once you scroll past it (class toggled by JS in enhance()). */
header.fl-builder-content[data-type="header"] {
  position: fixed !important;
  top: 0; left: 0; right: 0;
  /* Must beat the footer CTA (z-index 999) — the header's backdrop-filter makes
     it the stacking context for the mobile drawer, so the header's own z-index
     is what the footer competes with. !important because the export forces 100. */
  z-index: 1000 !important;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition: background 0.45s var(--dcc-ease), backdrop-filter 0.45s var(--dcc-ease),
              box-shadow 0.45s var(--dcc-ease), border-color 0.45s var(--dcc-ease);
}
/* Legibility scrim behind the transparent nav (fades out when solid) */
header.fl-builder-content[data-type="header"]::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(12, 34, 40, 0.5) 0%, rgba(12, 34, 40, 0) 100%);
  opacity: 1;
  transition: opacity 0.45s var(--dcc-ease);
}
header.fl-builder-content[data-type="header"].dcc-header-solid {
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(20, 56, 64, 0.08);
  box-shadow: 0 6px 24px rgba(16, 45, 52, 0.08);
}
header.dcc-header-solid::before { opacity: 0; }

/* Remove the faint full-width white divider line under the nav (a leftover
   border on the original header row). */
header.fl-builder-content[data-type="header"] .fl-row-content-wrap {
  border-bottom: none !important;
}

/* Logo: the original light/gold logo sits over the dark hero (just a soft shadow
   for legibility); unchanged once the header turns solid. */
header .fl-photo-img[src*="dcc-logo"] {
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
  transition: transform 0.5s var(--dcc-ease-out), filter 0.45s var(--dcc-ease);
}
header.dcc-header-solid .fl-photo-img[src*="dcc-logo"] { filter: none; }
header .fl-photo-img[src*="dcc-logo"]:hover { transform: scale(1.04); }

/* Top-level nav links: animated underline + colour shift */
#menu-main-menu.fl-menu-horizontal > li.menu-item > a,
#menu-main-menu.fl-menu-horizontal > li.menu-item > .fl-has-submenu-container > a {
  position: relative;
  font-family: var(--dcc-ui-font);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #ffffff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
  transition: color 0.3s var(--dcc-ease), text-shadow 0.3s var(--dcc-ease);
}
header.dcc-header-solid #menu-main-menu.fl-menu-horizontal > li.menu-item > a,
header.dcc-header-solid #menu-main-menu.fl-menu-horizontal > li.menu-item > .fl-has-submenu-container > a {
  color: var(--dcc-ink);
  text-shadow: none;
}
#menu-main-menu.fl-menu-horizontal > li.menu-item > a::after,
#menu-main-menu.fl-menu-horizontal > li.menu-item > .fl-has-submenu-container > a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 2px;
  background: var(--dcc-amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--dcc-ease-out);
}
#menu-main-menu.fl-menu-horizontal > li.menu-item:hover > a::after,
#menu-main-menu.fl-menu-horizontal > li.menu-item.dcc-current-nav > a::after,
#menu-main-menu.fl-menu-horizontal > li.menu-item:hover > .fl-has-submenu-container > a::after,
#menu-main-menu.fl-menu-horizontal > li.menu-item.dcc-current-nav > .fl-has-submenu-container > a::after {
  transform: scaleX(1);
}
#menu-main-menu.fl-menu-horizontal > li.menu-item:hover > a,
#menu-main-menu.fl-menu-horizontal > li.menu-item:hover > .fl-has-submenu-container > a {
  color: var(--dcc-amber);
}
header.dcc-header-solid #menu-main-menu.fl-menu-horizontal > li.menu-item:hover > a,
header.dcc-header-solid #menu-main-menu.fl-menu-horizontal > li.menu-item:hover > .fl-has-submenu-container > a {
  color: var(--dcc-teal-600);
}

/* Dropdown submenu polish + entrance */
#menu-main-menu .sub-menu {
  border-radius: 14px;
  box-shadow: var(--dcc-shadow);
  border: 1px solid var(--dcc-line);
  /* Transparent top border instead of a margin gap: the panel's box stays
     physically connected to the nav (no dead zone, so hovering between them
     can't flicker), while the visible white part sits below the underline. */
  border-top: 13px solid transparent;
  background-clip: padding-box;
  padding: 8px;
  background: #fff;
  overflow: hidden;
}
/* Dropdown panel is always light, so its links must always be dark (the theme
   sets them white for the transparent header, which made them invisible). */
header #menu-main-menu .sub-menu li a {
  border-radius: 9px;
  padding: 10px 14px;
  font-weight: 500;
  color: var(--dcc-ink) !important;
  text-shadow: none !important;
  transition: background 0.25s var(--dcc-ease), color 0.25s var(--dcc-ease), padding-left 0.25s var(--dcc-ease);
}
header #menu-main-menu .sub-menu li a:hover {
  background: var(--dcc-surface-2);
  color: var(--dcc-teal-600) !important;
  padding-left: 20px;
}

/* Header search icon → circular ghost button */
header .fl-search-form .fl-button {
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.16) !important;
  color: #ffffff !important;
  box-shadow: none !important;
  transition: background 0.3s var(--dcc-ease), color 0.3s var(--dcc-ease), transform 0.3s var(--dcc-ease-out);
}
header.dcc-header-solid .fl-search-form .fl-button {
  background: rgba(20, 56, 64, 0.06) !important;
  color: var(--dcc-teal-600) !important;
}
header .fl-search-form .fl-button:hover {
  background: var(--dcc-teal-600) !important;
  color: #fff !important;
  transform: translateY(-2px) rotate(-6deg);
}

/* Phone button */
header a.fl-button[href^="tel"] {
  background: var(--dcc-teal-600) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 11px 22px !important;
  font-weight: 600 !important;
  box-shadow: 0 8px 20px rgba(16, 45, 52, 0.22) !important;
  transition: transform 0.4s var(--dcc-ease-out), box-shadow 0.4s var(--dcc-ease-out);
}
header a.fl-button[href^="tel"] .fl-button-text,
header a.fl-button[href^="tel"] .fl-button-icon { color: #fff !important; }
header a.fl-button[href^="tel"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(16, 45, 52, 0.3) !important;
}

/* ---- Home hero ---------------------------------------------------------- */
.pp-hero-slide { position: relative; }
.pp-hero-overlay {
  background:
    linear-gradient(105deg, rgba(12,34,40,0.92) 0%, rgba(12,34,40,0.74) 42%, rgba(12,34,40,0.42) 72%, rgba(12,34,40,0.30) 100%) !important;
}
/* Reserve space for the fixed header so even the tallest (3-line) hero
   heading never slides up behind the nav. */
.pp-hero-inner { padding-top: 96px; }
/* Hero text is always over a dark overlay — lock it white for guaranteed contrast */
.pp-hero-content .custom-h1-heading,
.pp-hero-content .custom-h1-heading > span,
.pp-hero-content .pp-title-light { color: #ffffff !important; }
.pp-hero-content .pp-title-light { opacity: 0.92; }
.pp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(248, 182, 45, 0.16);
  border: 1px solid rgba(248, 182, 45, 0.5);
  color: var(--dcc-amber);
  padding: 7px 16px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.dcc-hero-track .pp-content-post.dcc-active .pp-hero-badge { animation: dccFadeUp 0.7s var(--dcc-ease-out) both; }
.dcc-hero-track .pp-content-post.dcc-active .custom-h1-heading > span:first-child { animation: dccFadeUp 0.7s 0.08s var(--dcc-ease-out) both; }
.dcc-hero-track .pp-content-post.dcc-active .pp-title-light { animation: dccFadeUp 0.7s 0.18s var(--dcc-ease-out) both; }
.dcc-hero-track .pp-content-post.dcc-active .pp-hero-btn-wrap { animation: dccFadeUp 0.7s 0.28s var(--dcc-ease-out) both; }
@keyframes dccFadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}
.custom-h1-heading > span:first-child { letter-spacing: -0.015em; }
/* Fluid hero heading — the export pins the title to a fixed 100px, which
   overflows on tablets/phones. Scale it with the viewport (capped at the
   original 100px). NB: the subtitle (.pp-title-light) is a sibling <span> in the
   same <h1>, so it must be excluded or it gets blown up to the title size. */
.pp-hero-content .custom-h1-heading > span:not(.pp-title-light) {
  font-size: clamp(2rem, 6.6vw, 100px) !important;
  line-height: 1em !important;
}
.pp-hero-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--dcc-amber), var(--dcc-amber-600));
  color: var(--dcc-teal-800);
  font-weight: 700; letter-spacing: 0.04em;
  padding: 14px 30px; border-radius: 999px;
  box-shadow: 0 14px 30px rgba(248,182,45,0.36);
  transition: transform 0.4s var(--dcc-ease-out), box-shadow 0.4s var(--dcc-ease-out), gap 0.3s var(--dcc-ease);
}
.pp-hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(248,182,45,0.5);
  gap: 16px;
  color: var(--dcc-teal-800);
}
.pp-hero-btn i { transition: transform 0.3s var(--dcc-ease); }
.pp-hero-btn:hover i { transform: translateX(4px); }
/* Hero slide navigator — full-width segmented bar with circular slide thumbnails */
.dcc-hero-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 30px;
  width: calc(100% - 48px);
  max-width: 1400px;
  z-index: 6;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3);
}
.dcc-hero-seg {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 26px;
  background: rgba(255, 255, 255, 0.92);
  border: none !important;
  border-radius: 0 !important;
  cursor: pointer;
  text-align: left;
  transition: background 0.4s var(--dcc-ease), flex-grow 0.4s var(--dcc-ease);
}
.dcc-hero-seg:hover { background: #ffffff; }
.dcc-hero-seg.is-active {
  background: linear-gradient(135deg, var(--dcc-amber), var(--dcc-amber-600));
}
.dcc-hero-seg-thumb {
  flex: 0 0 auto;
  width: 48px; height: 48px;
  border-radius: 50%;
  background-color: var(--dcc-surface-3);
  background-size: cover;
  background-position: center;
  border: 2px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  transition: transform 0.4s var(--dcc-ease-out);
}
.dcc-hero-seg:hover .dcc-hero-seg-thumb,
.dcc-hero-seg.is-active .dcc-hero-seg-thumb { transform: scale(1.06); }
.dcc-hero-seg-label {
  font-family: var(--dcc-ui-font);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.25;
  letter-spacing: 0.005em;
  color: var(--dcc-ink);
  overflow: hidden;
}
.dcc-hero-seg.is-active .dcc-hero-seg-label { color: var(--dcc-teal-800); }
.dcc-hero-arrows { display: flex; flex: 0 0 auto; }
.dcc-hero-arrow {
  width: 62px;
  background: rgba(255, 255, 255, 0.92);
  border: none !important;
  border-radius: 0 !important;
  color: var(--dcc-ink);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s var(--dcc-ease), color 0.3s var(--dcc-ease);
}
.dcc-hero-arrow:hover { background: var(--dcc-teal-600); color: #fff; }
.dcc-hero-arrow svg { width: 22px; height: 22px; }
/* No focus/click outline on the slide navigator — the amber active state is the
   indicator, and the ring otherwise reads as a stray border. */
.dcc-hero-seg:focus,
.dcc-hero-seg:focus-visible,
.dcc-hero-arrow:focus,
.dcc-hero-arrow:focus-visible { outline: none !important; box-shadow: none !important; }
@media (max-width: 768px) {
  .dcc-hero-seg { padding: 12px 12px; gap: 9px; }
  .dcc-hero-seg-thumb { width: 36px; height: 36px; }
  .dcc-hero-seg-label { font-size: 11px; line-height: 1.2; }
  .dcc-hero-arrows { display: none; }
}
@media (max-width: 480px) {
  .dcc-hero-seg { justify-content: center; padding: 12px 6px; }
  .dcc-hero-seg-label { display: none; }
}

/* ---- Section rhythm ----------------------------------------------------- */
#fl-main-content > .fl-builder-content > .fl-row:not(.home-hero-slider) > .fl-row-content-wrap {
  padding-top: 70px;
  padding-bottom: 70px;
}
/* Tighter vertical rhythm on phones (70px reads as too airy on a small screen) */
@media (max-width: 768px) {
  #fl-main-content > .fl-builder-content > .fl-row:not(.home-hero-slider) > .fl-row-content-wrap {
    padding-top: 44px;
    padding-bottom: 44px;
  }
  /* The export pins some "small" columns (the product/brand cards) to a fixed
     max-width and centres them, so on wider phones/tablets they sit narrower
     than the section text. Let top-level small columns fill the width when
     stacked — but leave NESTED groups alone (e.g. the 2-col industry icons). */
  #fl-main-content .fl-col-group:not(.fl-col-group-nested) > .fl-col.fl-col-small {
    max-width: 100% !important;
    width: 100% !important;
    flex: 1 1 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  /* The layout bundle zeros .fl-col-content padding on mobile, which leaves the
     content of these white cards flush against their edges. Restore internal
     padding so the cards have breathing room. */
  #fl-main-content .fl-col-group:not(.fl-col-group-nested) > .fl-col.fl-col-small.fl-col-bg-color > .fl-col-content,
  #fl-main-content .dcc-card-col > .fl-col-content {
    padding: 18px 22px 22px !important;
    /* the export also gives the card a 20px top margin; trim it so the content
       sits closer to the heading above (was ~50px of combined top space). */
    margin-top: 8px !important;
  }
  /* The layout bundle zeros all column/group margins on mobile, so stacked
     sections (description → cards → "Applications" box → search) and the cards
     within a group end up almost touching. Restore generous vertical gaps. */
  #fl-main-content .fl-col-group:not(.fl-col-group-nested) + .fl-col-group:not(.fl-col-group-nested) {
    margin-top: 34px !important;
  }
  #fl-main-content .fl-col-group:not(.fl-col-group-nested) > .fl-col + .fl-col {
    margin-top: 30px !important;
  }
  /* Empty spacer columns (used only to centre headings on desktop) become dead
     vertical space once columns stack — collapse them so section sub-headers
     don't get an oversized gap above/below on tablet & phone. */
  #fl-main-content .fl-col:not(:has(.fl-module)) { display: none !important; }
  /* Halve the vertical padding of content rows (not the hero banner) so the
     section sub-headers sit closer to their surroundings on tablet/phone. */
  /* …but NOT the full-bleed home hero slider row (a top pad there exposes the
     page background as a white strip above the slide). */
  #fl-main-content .fl-row-bg-none:not(:has(.pp-content-post-carousel)) > .fl-row-content-wrap {
    padding-top: 22px !important;
    padding-bottom: 22px !important;
  }
  /* Smaller industry-icon circles on phones */
  #about .fl-col-group-nested .fl-photo-img {
    max-width: 120px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
#what-we-do { background: var(--dcc-surface) !important; }
#faqs { background: var(--dcc-surface-2) !important; }
#clients { background: var(--dcc-surface) !important; }

/* ---- Service cards (home swiper) --------------------------------------- */
.service-card {
  border-radius: var(--dcc-radius) !important;
  border: 1px solid var(--dcc-line) !important;
  box-shadow: var(--dcc-shadow-sm);
  transition: transform 0.5s var(--dcc-ease-out), box-shadow 0.5s var(--dcc-ease-out) !important;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--dcc-shadow-lg);
}
.service-card .icon-wrapper {
  transition: transform 0.5s var(--dcc-ease-out), box-shadow 0.4s var(--dcc-ease);
}
.service-card:hover .icon-wrapper { transform: translateY(-2px) scale(1.05); }
.service-card .read-more svg { transition: transform 0.3s var(--dcc-ease); }
.service-card:hover .read-more svg { transform: translateX(5px); }
.swiper-pagination-bullet {
  transition: width 0.3s var(--dcc-ease), background 0.3s var(--dcc-ease);
}
.swiper-pagination-bullet-active { width: 26px !important; border-radius: 6px !important; }

/* --- Category-card section refinements ---------------------------------- */
/* 1. Tighten layout + align titles: anchor icon/title/link from the top with a
      reserved title height so every card's "See Products" lines up. */
.service-card {
  height: 360px !important;
  justify-content: flex-start !important;
  gap: 26px;
}
.service-card .card-content { width: 100%; }
.service-card .service-title {
  min-height: 84px;
  display: flex;
  align-items: flex-start;
  margin-bottom: 16px !important;
}
/* 2. Accent + affordance: amber ring on the icon, growing underline on the link */
.service-card .icon-wrapper {
  box-shadow: 0 0 0 2px rgba(248, 182, 45, 0.35), 0 6px 14px rgba(0, 0, 0, 0.06) !important;
}
.service-card:hover .icon-wrapper {
  box-shadow: 0 0 0 3px var(--dcc-amber), 0 10px 22px rgba(0, 0, 0, 0.14) !important;
}
.service-card .read-more { position: relative; }
.service-card .read-more::after {
  content: "";
  position: absolute;
  left: 0; bottom: -5px;
  width: 100%; height: 2px;
  background: var(--dcc-amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--dcc-ease-out);
}
.service-card:hover .read-more::after { transform: scaleX(1); }
/* 3. Richer idle state: faint product image always visible, full on hover */
.service-card::before { opacity: 0.07 !important; }
.service-card:hover::before,
.service-card.active::before { opacity: 1 !important; }
/* 4. Navigation arrows (injected in JS) so the 5th card is discoverable */
.mySwiper { position: relative; }
/* On mobile the heading sits right on top of the cards — add a gap */
@media (max-width: 768px) { .mySwiper { margin-top: 28px; } }
.mySwiper .swiper-button-next,
.mySwiper .swiper-button-prev {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--dcc-teal-600);
  box-shadow: var(--dcc-shadow);
  top: 44%;
  transition: background 0.3s var(--dcc-ease), color 0.3s var(--dcc-ease), transform 0.3s var(--dcc-ease-out);
}
.mySwiper .swiper-button-next { right: 4px; }
.mySwiper .swiper-button-prev { left: 4px; }
.mySwiper .swiper-button-next:hover,
.mySwiper .swiper-button-prev:hover {
  background: var(--dcc-teal-600);
  color: #ffffff;
  transform: scale(1.08);
}
.mySwiper .swiper-button-next::after,
.mySwiper .swiper-button-prev::after { font-size: 16px; font-weight: 700; }
.mySwiper .swiper-button-disabled { opacity: 0.3; }

/* ---- About: industry icon tiles ---------------------------------------- */
/* Industry icon tiles sit on the dark-teal About section and the icons are
   white line-art — so NO background tile (that hid them) and NO colour change.
   Just a subtle hover lift on the icon itself. */
#about .fl-col-group-nested .fl-col-small {
  transition: transform 0.45s var(--dcc-ease-out);
}
#about .fl-col-group-nested .fl-col-small:hover { transform: translateY(-6px); }
#about .fl-col-group-nested .fl-photo-img {
  transition: transform 0.5s var(--dcc-ease-out);
}
#about .fl-col-group-nested .fl-col-small:hover .fl-photo-img {
  transform: scale(1.08) rotate(-2deg);
}
/* Keep industry labels on one line (don't break "Manufacturing" / "Construction") */
#about .fl-col-group-nested .fl-rich-text p,
#about .fl-col-group-nested p {
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: keep-all;
}

/* Hide the Beaver Builder spacer pixel (pixel.png isn't shipped, so it renders
   as a broken image with its alt text showing). */
img.fl-photo-img[src*="bb-plugin/img/pixel.png"],
img[src$="/img/pixel.png"] { display: none !important; }
/* Main about team photo */
#about > .fl-row-content-wrap figure.fl-photo > .fl-photo-content > .fl-photo-img,
#about .fl-col-has-cols > .fl-col-content > figure.fl-photo .fl-photo-img {
  box-shadow: var(--dcc-shadow);
}

/* ---- What we do: sticky service boxes ----------------------------------- */
.serve-box {
  border-radius: var(--dcc-radius-lg) !important;
  box-shadow: var(--dcc-shadow);
  transition: transform 0.5s var(--dcc-ease-out), box-shadow 0.5s var(--dcc-ease-out) !important;
}
.serve-box::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,34,40,0) 35%, rgba(12,34,40,0.55) 100%);
  z-index: 1;
  transition: opacity 0.4s var(--dcc-ease);
}
.serve-box:hover { transform: scale(1.012); box-shadow: var(--dcc-shadow-lg); }
.sb-overlay { z-index: 6; }
.sb-overlay h3 { letter-spacing: 0.01em; }

/* ---- FAQ accordion ------------------------------------------------------ */
#faqs .fl-accordion-item {
  background: var(--dcc-surface);
  border: none !important;
  border-radius: var(--dcc-radius-sm) !important;
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: var(--dcc-shadow-sm);
  transition: box-shadow 0.4s var(--dcc-ease), transform 0.4s var(--dcc-ease-out);
}
#faqs .fl-accordion-item:hover { box-shadow: var(--dcc-shadow); transform: translateY(-2px); }
#faqs .fl-accordion-item.dcc-acc-open {
  border-color: rgba(248, 182, 45, 0.55);
  box-shadow: var(--dcc-shadow);
}
#faqs .fl-accordion-button {
  padding: 20px 22px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
#faqs .fl-accordion-button-label {
  font-family: var(--dcc-ui-font) !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  color: var(--dcc-ink) !important;
  line-height: 1.4 !important;
  margin: 0 !important;
}
#faqs .fl-accordion-button-icon {
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(20, 56, 64, 0.07);
  color: var(--dcc-teal-600) !important;
  transition: background 0.35s var(--dcc-ease), transform 0.45s var(--dcc-ease-out), color 0.35s var(--dcc-ease);
}
#faqs .fl-accordion-item.dcc-acc-open .fl-accordion-button-icon {
  background: var(--dcc-amber);
  color: var(--dcc-teal-800) !important;
  transform: rotate(180deg);
}
/* The answer's padding lives on the <p>, not the container — so the collapsed
   container (max-height:0; overflow:hidden, set in JS) clips it with no sliver,
   and scrollHeight includes it for a correct, smooth open. */
#faqs .fl-accordion-content p {
  padding: 16px 22px 20px;
  margin: 0;
  color: var(--dcc-body) !important;
  line-height: 1.7;
}
.fl-accordion-content { padding: 0 !important; }
/* The clearfix pseudo-elements add a stray sliver of height — hide them. */
.fl-accordion-content::before,
.fl-accordion-content::after { display: none !important; content: none !important; }
@media (prefers-reduced-motion: reduce) {
  .fl-accordion-content { transition: none !important; }
}

/* ---- Clients marquee ---------------------------------------------------- */
#clients .pp-logo .logo-image {
  filter: grayscale(100%);
  opacity: 0.6;
  transition: filter 0.4s var(--dcc-ease), opacity 0.4s var(--dcc-ease), transform 0.4s var(--dcc-ease-out);
}
#clients .pp-logo:hover .logo-image {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.06);
}

/* ---- About Us page: per-section badge / heading contrast ----------------
   The exported page gives every section a white heading and a dark-teal eyebrow
   badge, but the Vision & Mission sections are dark (badge invisible) while the
   Core Values section is light (heading invisible). Fix each by its node id. */
#fl-main-content .fl-node-l0f3u9v7ypjd .upper-text .fl-button,
#fl-main-content .fl-node-5zw2mf83gt41 .upper-text .fl-button {
  background: rgba(255, 255, 255, 0.14) !important;
  border-color: rgba(255, 255, 255, 0.38) !important;
  color: #ffffff !important;
}
#fl-main-content .fl-node-wxo2dfkqpcvy .fl-heading-text,
#fl-main-content .fl-node-wxo2dfkqpcvy h2.fl-heading-text { color: var(--dcc-ink) !important; }

/* ---- Page banner heroes (category / product / brand) -------------------- */
.fl-row-bg-photo.fl-row-bg-overlay .fl-row-content-wrap::after {
  background: linear-gradient(90deg, rgba(12,34,40,0.92) 0%, rgba(12,34,40,0.74) 42%, rgba(12,34,40,0.42) 72%, rgba(12,34,40,0.30) 100%) !important;
}
.fl-row-bg-photo .fl-heading-text,
.fl-row-bg-photo h1.fl-heading-text {
  color: #fff !important;
  text-shadow: 0 2px 18px rgba(0,0,0,0.35);
  animation: dccFadeUp 0.7s var(--dcc-ease-out) both;
}
/* Breadcrumbs */
.pp-breadcrumbs .breadcrumbs,
#breadcrumbs {
  font-family: var(--dcc-ui-font);
  font-size: 13px;
  letter-spacing: 0.02em;
}
.fl-row-bg-photo #breadcrumbs,
.fl-row-bg-photo #breadcrumbs a { color: rgba(255,255,255,0.9); }
#breadcrumbs a { transition: color 0.25s var(--dcc-ease); }
#breadcrumbs a:hover { color: var(--dcc-amber); }

/* ---- Product cards (brand listing) ------------------------------------- */
.product-card {
  background: var(--dcc-surface) !important;
  border: none !important;
  box-shadow: none !important;
}
.product-card .image-container {
  overflow: hidden;
  position: relative;
  /* contain (not cover) so mixed-aspect product photos — e.g. the Denyo
     generators — show the whole product consistently instead of being cropped. */
  background-size: contain !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  transition: transform 0.6s var(--dcc-ease-out);
}
.product-card:hover .image-container { transform: scale(1.05); }
.product-card .learn-more-btn {
  background: linear-gradient(135deg, var(--dcc-amber), var(--dcc-amber-600)) !important;
  color: var(--dcc-teal-800) !important;
  font-family: var(--dcc-ui-font);
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(248,182,45,0.4);
  transition: transform 0.4s var(--dcc-ease-out), opacity 0.4s var(--dcc-ease);
}
/* The button is a flex child (centred via transform-origin), so the hover
   reveal must scale in place — a translate(-50%) here would shove it up-left. */
.product-card:hover .image-container .learn-more-btn,
.image-container:hover .learn-more-btn { transform: scale(1.05) translateY(0); }
.product-card .product-title {
  font-family: var(--dcc-ui-font) !important;
  font-weight: 700 !important;
  color: var(--dcc-ink) !important;
  letter-spacing: 0.01em;
}

/* ---- Filter buttons ----------------------------------------------------- */
.filter-btn {
  font-family: var(--dcc-ui-font) !important;
  font-weight: 600 !important;
  border-radius: 999px !important;
  border: 1px solid var(--dcc-line) !important;
  background: var(--dcc-surface) !important;
  color: var(--dcc-ink) !important;
  box-shadow: var(--dcc-shadow-sm);
  transition: transform 0.35s var(--dcc-ease-out), background 0.35s var(--dcc-ease), color 0.35s var(--dcc-ease), box-shadow 0.35s var(--dcc-ease) !important;
}
.filter-btn:hover { transform: translateY(-2px); box-shadow: var(--dcc-shadow); }
.filter-btn.active {
  background: var(--dcc-teal-600) !important;
  color: #fff !important;
  border-color: var(--dcc-teal-600) !important;
  box-shadow: 0 10px 24px rgba(16,45,52,0.25) !important;
}

/* ---- Product detail page ------------------------------------------------ */
#fl-main-content .prod-name { letter-spacing: -0.02em; }
.table-container {
  border-radius: var(--dcc-radius-sm);
  overflow: hidden;
  box-shadow: var(--dcc-shadow-sm);
  border: 1px solid var(--dcc-line);
}
.table-container table { border-collapse: collapse; width: 100%; }
.table-container th {
  background: var(--dcc-teal-600);
  color: #fff;
  font-family: var(--dcc-ui-font);
  font-weight: 600;
}
.table-container td, .table-container th { padding: 12px 16px; }
.table-container tr:nth-child(even) td { background: var(--dcc-surface-2); }
/* Description / spec cards built from nested fl-module-box */
#fl-main-content .fl-module-box {
  background: var(--dcc-surface);
  border-radius: var(--dcc-radius-sm);
}

/* ---- Footer ------------------------------------------------------------- */
footer .footer-main {
  background: var(--dcc-teal-700) !important;
  color: rgba(255,255,255,0.82);
}
footer .footer-main .fl-heading,
footer .footer-main .fl-heading-text {
  color: #fff !important;
  font-family: var(--dcc-display);
}
footer .footer-main .fl-rich-text p { color: rgba(255,255,255,0.72) !important; }
footer .footer-main .footer-menu a,
footer .footer-main .fl-icon-text a,
footer .footer-main .fl-icon-text p {
  color: rgba(255,255,255,0.8) !important;
  transition: color 0.25s var(--dcc-ease), padding-left 0.25s var(--dcc-ease);
}
footer .footer-main .footer-menu a:hover { color: var(--dcc-amber) !important; padding-left: 6px; }
footer .footer-main .fl-icon a { color: var(--dcc-amber) !important; }
footer .footer-main .fl-icon-text a:hover p { color: var(--dcc-amber) !important; }
footer .footer-upper {
  background: linear-gradient(120deg, var(--dcc-teal-600), var(--dcc-teal-800)) !important;
}
footer .footer-upper .fl-heading-text { color: #fff !important; }

/* ---- Scroll-reveal easing (works with existing .dcc-reveal JS hook) ----- */
.dcc-reveal {
  transition: opacity 0.8s var(--dcc-ease-out), transform 0.8s var(--dcc-ease-out) !important;
}

/* ---- Advanced motion support ------------------------------------------- */
/* Scroll progress bar (filled by JS via scaleX) */
.dcc-scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px; width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--dcc-amber), var(--dcc-amber-600));
  z-index: 1100;
  pointer-events: none;
  will-change: transform;
}
/* Snappier transform transition so magnetic + tilt follow the cursor
   responsively, while shadow/colour keep their slower, smoother easing. */
#fl-main-content a.fl-button,
footer a.fl-button,
.pp-hero-btn {
  transition: transform 0.2s var(--dcc-ease-out), box-shadow 0.45s var(--dcc-ease-out) !important;
}
.service-card {
  transform-style: preserve-3d;
  transition: transform 0.25s var(--dcc-ease-out), box-shadow 0.5s var(--dcc-ease-out) !important;
}

/* ---- Mobile navigation -------------------------------------------------- */
/* The export ships no styles for the open state of the hamburger menu, so the
   nav never appeared on mobile. This builds the drop-down panel, reveals the
   Products submenu inline, and keeps everything legible on the dark panel. */
@media (max-width: 992px) {
  .fl-menu.fl-menu-mobile-opened #menu-main-menu.menu {
    display: block !important;
    position: fixed;
    top: 90px; left: 0; right: 0;
    max-height: calc(100vh - 90px);
    overflow-y: auto;
    background: rgba(16, 45, 52, 0.98);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    padding: 10px 20px 26px;
    box-shadow: 0 26px 50px rgba(0, 0, 0, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    /* above the footer CTA (z-index 999) which otherwise paints over the drawer */
    z-index: 1080;
    animation: dccMenuDrop 0.35s var(--dcc-ease-out);
  }
  @keyframes dccMenuDrop {
    from { opacity: 0; transform: translateY(-12px); }
    to   { opacity: 1; transform: none; }
  }
  /* Left-align the whole drawer (the export right-aligns it) */
  .fl-menu.fl-menu-mobile-opened #menu-main-menu.menu,
  .fl-menu.fl-menu-mobile-opened #menu-main-menu li,
  .fl-menu.fl-menu-mobile-opened #menu-main-menu a,
  .fl-menu.fl-menu-mobile-opened #menu-main-menu .fl-has-submenu-container { text-align: left !important; }
  .fl-menu.fl-menu-mobile-opened #menu-main-menu > li { display: block; width: 100%; }
  .fl-menu.fl-menu-mobile-opened #menu-main-menu > li > a,
  .fl-menu.fl-menu-mobile-opened #menu-main-menu > li > .fl-has-submenu-container > a {
    color: #ffffff !important;
    text-shadow: none !important;
    display: block;
    padding: 15px 6px;
    font-size: 17px;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    transition: color 0.25s var(--dcc-ease), padding-left 0.25s var(--dcc-ease);
  }
  /* Hover: amber text only — never the light background the desktop rule adds
     (which made items look like they "turn white"). */
  .fl-menu.fl-menu-mobile-opened #menu-main-menu a:hover,
  .fl-menu.fl-menu-mobile-opened #menu-main-menu .sub-menu li a:hover {
    color: var(--dcc-amber) !important;
    background: transparent !important;
    padding-left: 12px;
  }
  .fl-menu.fl-menu-mobile-opened #menu-main-menu > li > a::after { display: none; }
  /* Products submenu shown inline (no hover on touch) */
  .fl-menu.fl-menu-mobile-opened #menu-main-menu .sub-menu {
    display: block !important;
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 4px 0 8px 14px !important;
    margin: 0 !important;
  }
  .fl-menu.fl-menu-mobile-opened #menu-main-menu .sub-menu::before { display: none; }
  .fl-menu.fl-menu-mobile-opened #menu-main-menu .sub-menu li a {
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: 14.5px;
    font-weight: 500;
    padding: 10px 8px !important;
    border-bottom: none;
    border-radius: 0;
  }
  /* keep the hamburger above the panel so it can also close the menu */
  .fl-menu-mobile-toggle { position: relative; z-index: 1090; }
  .fl-menu-mobile-toggle .fl-hamburger-menu-top,
  .fl-menu-mobile-toggle .fl-hamburger-menu-middle,
  .fl-menu-mobile-toggle .fl-hamburger-menu-bottom { fill: #ffffff; }
  header.dcc-header-solid .fl-menu-mobile-toggle:not(.dcc-active) .fl-hamburger-menu-top,
  header.dcc-header-solid .fl-menu-mobile-toggle .fl-hamburger-menu-middle,
  header.dcc-header-solid .fl-menu-mobile-toggle .fl-hamburger-menu-bottom { fill: var(--dcc-ink); }
}

/* Hide the contact form's honeypot (anti-spam) field — "If you are human,
   leave this field blank." It's meant to be invisible to real users. */
#frm_field_9_container,
.frm_verify,
.frm_form_field.frm_verify { display: none !important; }

/* ---- Contact form: product bundle picker -------------------------------- */
.dcc-bundle { margin-bottom: 18px; }
.dcc-bundle-label {
  display: block;
  font-family: var(--dcc-ui-font);
  font-weight: 700;
  color: var(--dcc-ink);
  margin-bottom: 8px;
}
.dcc-bundle-hint { font-weight: 400; color: var(--dcc-muted); font-size: 0.9em; }
.dcc-bundle-box { position: relative; }
/* Required-field error state */
.dcc-bundle-required-msg { color: #dc3545; font-size: 0.9em; font-weight: 600; margin-top: 6px; }
.dcc-bundle-error .dcc-bundle-search {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15) !important;
}
.dcc-bundle-search {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--dcc-line);
  border-radius: 10px;
  padding: 0 14px;
  background: #fff;
  transition: border-color 0.25s var(--dcc-ease), box-shadow 0.25s var(--dcc-ease);
}
.dcc-bundle-search:focus-within {
  border-color: var(--dcc-teal-600);
  box-shadow: 0 0 0 3px rgba(20, 56, 64, 0.08);
}
.dcc-bundle-search .fa-search { color: var(--dcc-muted); font-size: 14px; }
.dcc-bundle-input {
  flex: 1;
  border: none !important;
  outline: none;
  background: transparent;
  padding: 13px 0 !important;
  font-size: 15px;
  font-family: var(--dcc-ui-font);
  box-shadow: none !important;
}
.dcc-bundle-results {
  position: absolute;
  left: 0; right: 0; top: calc(100% + 6px);
  z-index: 20;
  background: #fff;
  border: 1px solid var(--dcc-line);
  border-radius: 12px;
  box-shadow: var(--dcc-shadow);
  max-height: 320px;
  overflow-y: auto;
  padding: 6px;
}
.dcc-bundle-result {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 9px 10px;
  border: none;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s var(--dcc-ease);
}
.dcc-bundle-result:hover { background: var(--dcc-surface-2); }
.dcc-bundle-result img {
  width: 42px; height: 42px;
  object-fit: contain;
  flex: 0 0 auto;
  background: #fff;
  border-radius: 6px;
}
.dcc-bundle-result-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dcc-bundle-result-title { font-weight: 700; font-size: 14px; color: var(--dcc-ink); }
.dcc-bundle-result-cat {
  font-size: 11.5px; color: var(--dcc-teal-600);
  text-transform: uppercase; letter-spacing: 0.4px;
}
.dcc-bundle-result-desc {
  font-size: 12px; line-height: 1.4; color: var(--dcc-muted, #5b6b73);
  margin-top: 2px; white-space: normal;
}
.dcc-bundle-result-desc mark {
  background: rgba(248, 182, 45, 0.4); color: inherit;
  padding: 0 1px; border-radius: 2px; font-weight: 600;
}
.dcc-bundle-empty { padding: 14px; text-align: center; color: var(--dcc-muted); font-size: 14px; }
/* Selected products — clean vertical list (small thumbnail + name) */
.dcc-bundle-chips { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.dcc-bundle-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  background: var(--dcc-surface-2);
  border: 1px solid var(--dcc-line);
  border-radius: 10px;
  animation: dccFadeUp 0.3s var(--dcc-ease-out) both;
}
.dcc-bundle-item img,
.dcc-bundle-item-noimg {
  width: 36px; height: 36px;
  flex: 0 0 auto;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--dcc-line);
  border-radius: 6px;
}
.dcc-bundle-item-text { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
.dcc-bundle-item-title {
  font-family: var(--dcc-ui-font);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--dcc-ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dcc-bundle-item-cat {
  font-size: 11px;
  color: var(--dcc-teal-600);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
/* Subtle remove control — override the theme's blue form-button styling */
.dcc-bundle-item .dcc-bundle-remove {
  flex: 0 0 auto;
  width: 26px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 50% !important;
  background: transparent !important;
  color: var(--dcc-muted) !important;
  font-size: 18px !important;
  line-height: 1 !important;
  box-shadow: none !important;
  cursor: pointer;
  transition: background 0.2s var(--dcc-ease), color 0.2s var(--dcc-ease);
}
.dcc-bundle-item .dcc-bundle-remove:hover {
  background: rgba(220, 53, 69, 0.12) !important;
  color: #dc3545 !important;
}

/* ---- Product card "Learn More" button ---------------------------------- */
/* The pill is a flex child of .image-container; guarantee it stays perfectly
   centred in every state (hidden, mid-reveal, hovered) by pinning the flex
   alignment, auto side-margins, and a centred transform-origin so the
   scale-in animation grows from the middle rather than drifting sideways. */
.image-container { align-items: center !important; }
.image-container .learn-more-btn {
  align-self: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  transform-origin: center center !important;
}

/* ---- Product/brand detail image: hero overlap --------------------------- */
/* The detail-page image box floats up over the hero (-300px) by design on
   desktop. On tablet that overlap covers the page title, so halve it; on phones
   (where the image stacks under the text) remove it entirely so the image sits
   full-width below the description. */
@media (max-width: 1200px) {
  #fl-main-content .fl-builder-content-1981 .fl-node-1c4oy8p9anr3 { margin-top: -150px !important; }
}
@media (max-width: 768px) {
  #fl-main-content .fl-builder-content-1981 .fl-node-1c4oy8p9anr3 { margin-top: 0 !important; }
}

/* ---- Product/brand detail hero: keep title clear of the floated image ---- */
/* The product image floats up into the right side of the hero, so constrain the
   hero title/breadcrumb to the left half. Full width on phones (image stacks
   below, no overlap). */
#fl-main-content .fl-builder-content-1981 .fl-node-fvunrlo48qxa > .fl-col-content {
  max-width: 50%;
}
@media (max-width: 768px) {
  #fl-main-content .fl-builder-content-1981 .fl-node-fvunrlo48qxa > .fl-col-content {
    max-width: 100%;
  }
}

/* ---- Search: category quick-links -------------------------------------- */
.dcc-search-item-cat-link .dcc-search-item-arrow {
  margin-left: auto;
  color: var(--dcc-amber);
  font-weight: 700;
  opacity: 0.85;
}
.dcc-search-item-cat-link .dcc-search-item-cat { color: #2b7bb9 !important; }

/* ---- Listing / brand card buttons -------------------------------------- */
/* Cards in a row are equal height (flex), but the "See Products" / "Inquire"
   button sits right after each card's text, so it lands at different heights
   when descriptions differ in length. JS tags these cards/buttons; make each
   card fill its column and push the button to the bottom so they line up. */
#fl-main-content .dcc-listing-card > .fl-col-content {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}
#fl-main-content .dcc-listing-card > .fl-col-content > .fl-module-button {
  margin-top: auto !important;
}
/* White button label, per request. High specificity (#id + a.class) so it wins
   over the .fl-button / node colour rules. */
#fl-main-content a.dcc-listing-btn,
#fl-main-content a.dcc-listing-btn .fl-button-text,
#fl-main-content a.dcc-listing-btn .fl-button-icon { color: #ffffff !important; }

/* ---- Product spec table headers ---------------------------------------- */
/* The export styled every <th> with white text on a near-white grey fill, so
   the "MODEL …" title and the section bands (COMPRESSOR, ENGINE, …) were
   illegible. Give them real contrast: a dark-teal title bar and amber section
   bands with dark text — both on-brand and readable. */
#fl-main-content .table-container table th { color: #1f2a30 !important; }
#fl-main-content .table-container table .model-header {
  background: #e3e6e8 !important;
  font-size: 17px !important;
  letter-spacing: 0.04em;
  padding: 13px 10px !important;
}
#fl-main-content .table-container table th:not(.model-header) {
  background: #eef0f1 !important;
  color: #1f2a30 !important;
  letter-spacing: 0.03em;
}

/* ---- Reduced motion safety net ----------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---- Footer credit ----------------------------------------------------- */
.dcc-credit {
  margin-top: 4px !important;
  font-size: 0.85em;
  opacity: 0.75;
}
.dcc-credit a {
  color: var(--dcc-amber) !important;
  text-decoration: none;
  font-weight: 600;
}
.dcc-credit a:hover { text-decoration: underline; }
