/* Global styles */

:root {
  --green-dark: #0b7a3b;
  --green-main: #0b7a3b;
  --construction-green: #1fa24a;
  /* Very light, whitish green */
  --green-light: #f8fff4;
  --hero-accent: #9ae6a6;
  --yellow-accent: #ffc934;
  --text-main: #444444;
  --text-muted: #777777;
  --border-soft: #e2e8f0;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.08);
  --header-height: 92px;
}

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

/* scroll-padding helps fixed header + in-page anchors on all pages */
html {
  scroll-padding-top: 5rem;
}

/* Smooth scroll: Lenis on all pages with .lenis-scroll (wheel); CSS helps hash fallback. */
html.lenis-scroll {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: var(--text-main);
  background-color: #ffffff;
}

body {
  line-height: 1.5;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.blank-page {
  min-height: 70vh;
  background-color: var(--green-main);
  background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url("images/Industrial Main.webp?v=2");
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.5rem;
}

.blank-page-inner {
  max-width: 640px;
}

.blank-page-inner h1 {
  font-size: 1.9rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.blank-page-inner p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.6;
}

/* Header */

/* Hide-on-scroll header – same on homepage and all pages */
.header-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  transition: height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.header-wrap:not(.header-hidden) {
  height: var(--header-height);
  overflow: visible;
}

.header-wrap.header-hidden {
  height: 0;
  overflow: hidden;
}

.header-slide {
  display: block;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
  background-color: #ffffff;
}

.header-wrap.header-hidden .header-slide {
  transform: translateY(-100%);
}

.header-shadow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  pointer-events: none;
  background: transparent;
  /* Visible shadow below the nav bar on all pages */
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.18);
}

.header-wrap .site-header {
  position: relative;
  background-color: #ffffff;
  box-shadow: none;
}

.header-spacer {
  height: var(--header-height);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: #ffffff;
  box-shadow:
    0 1px 0 rgba(15, 23, 42, 0.06),
    0 14px 28px rgba(15, 23, 42, 0.16);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  position: relative;
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 112px;
  height: 60px;
  background: transparent;
  border: none;
}

.logo span {
  display: inline-block;
  transform: translate(0px, -2px);
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  box-shadow: none;
  /* Subtle shadow that follows the transparent shape of the PNG */
  filter: drop-shadow(0 8px 12px rgba(15, 23, 42, 0.2));
}

/* Main navigation */

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: nowrap;
}

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.75rem;
  padding: 0;
  margin: 0;
  font-size: 0.95rem;
}

.main-nav ul a {
  color: var(--text-muted);
  font-weight: 500;
}

.main-nav a.active {
  color: var(--green-dark);
}

.nav-cta {
  font-size: 0.95rem;
  padding-inline: 1.9rem;
  color: #ffffff !important;
}

/* Mobile nav overlay (backdrop) – hidden on desktop, shown in media query */
.nav-overlay {
  display: none;
}

/* Mobile nav toggle (hamburger) */
.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  padding: 0.35rem 0.4rem;
  margin-left: auto;
  border-radius: 999px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle-box {
  width: 1.5rem;
  height: 1.1rem;
  position: relative;
}

.nav-toggle-bar {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 999px;
  background-color: var(--green-main);
  transition:
    transform 0.2s ease,
    opacity 0.2s ease,
    top 0.2s ease,
    bottom 0.2s ease;
}

.nav-toggle-bar:nth-child(1) {
  top: 0;
}

.nav-toggle-bar:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.nav-toggle-bar:nth-child(3) {
  bottom: 0;
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.6rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  color: #000000;
  transition: background-color 0.15s ease, color 0.15s ease,
    box-shadow 0.15s ease, transform 0.1s ease;
}

.btn-primary {
  background-color: var(--green-main);
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(9, 110, 51, 0.35);
}

.btn-primary:hover {
  background-color: #14703a;
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--green-main);
  color: var(--green-main);
}

.btn-outline:hover {
  background-color: rgba(11, 122, 59, 0.06);
}

.btn-accent {
  background-color: var(--yellow-accent);
  color: var(--green-main);
  box-shadow:
    0 2px 12px rgba(0, 0, 0, 0.15),
    0 0 20px rgba(255, 207, 34, 0.4);
}

.btn-accent:hover {
  background-color: #f9b820;
  color: var(--green-main);
  transform: translateY(-1px);
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.18),
    0 0 24px rgba(255, 207, 34, 0.5);
}

.arrow {
  display: inline-block;
  width: 0.65rem;
  height: 0.65rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  margin-left: 0.35rem;
  border-radius: 0.5px;
  font-size: 0; /* hide fallback arrow character */
  line-height: 0;
}

/* Entrance animations */

.reveal-on-load {
  opacity: 0;
  transform: translateY(20px);
}

.reveal-on-load.is-visible {
  animation: fade-up 0.7s ease-out forwards;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll-triggered reveal (float up on scroll) – homepage */
.scroll-reveal {
  opacity: 0;
  transform: translateY(28px) translateZ(0);
  will-change: opacity, transform;
  transition: opacity 0.55s ease-out, transform 0.55s ease-out;
}

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

/* Hero (Framer-style layout, Bine colors) */

.hero-section {
  position: relative;
  min-height: 72vh;
  padding: 5rem 0 6rem;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("images/BCDC Building-optimized.webp?v=1");
  background-position: center right;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 0;
  transform: translateZ(0);
  will-change: transform;
}

.hero-section--parallax .hero-bg {
  transform-origin: center center;
  background-position: center center;
  background-size: cover;
  transition: none;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 46%, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0) 56%),
    linear-gradient(
      95deg,
      rgba(7, 22, 13, 0.32) 0%,
      rgba(8, 26, 15, 0.24) 38%,
      rgba(10, 30, 18, 0.12) 62%,
      rgba(10, 30, 18, 0.04) 100%
    );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
}

.hero-content {
  text-align: left;
  max-width: 640px;
}

/* Hero staggered reveal on load (one by one) */
.hero-section .hero-reveal-item {
  opacity: 0;
  transform: translateY(24px);
  animation: hero-reveal-up 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-fill-mode: both;
}

.hero-section.hero-revealed .hero-reveal-item:nth-child(1) {
  animation-delay: 0.1s;
}

.hero-section.hero-revealed .hero-reveal-item:nth-child(2) {
  animation-delay: 0.28s;
}

.hero-section.hero-revealed .hero-reveal-item:nth-child(3) {
  animation-delay: 0.48s;
}

.hero-section.hero-revealed .hero-reveal-item:nth-child(4) {
  animation-delay: 0.68s;
}

@keyframes hero-reveal-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Staggered reveal on load (all pages: one-by-one effect) */
.stagger-reveal-on-load .stagger-reveal-item {
  opacity: 0;
  transform: translateY(24px);
  animation: hero-reveal-up 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-fill-mode: both;
}

.stagger-reveal-on-load.stagger-revealed .stagger-reveal-item:nth-child(1) {
  animation-delay: 0.1s;
}

.stagger-reveal-on-load.stagger-revealed .stagger-reveal-item:nth-child(2) {
  animation-delay: 0.28s;
}

.stagger-reveal-on-load.stagger-revealed .stagger-reveal-item:nth-child(3) {
  animation-delay: 0.48s;
}

.stagger-reveal-on-load.stagger-revealed .stagger-reveal-item:nth-child(4) {
  animation-delay: 0.68s;
}

.stagger-reveal-on-load.stagger-revealed .stagger-reveal-item:nth-child(5) {
  animation-delay: 0.88s;
}

.stagger-reveal-on-load.stagger-revealed .stagger-reveal-item:nth-child(6) {
  animation-delay: 1.08s;
}

.stagger-reveal-on-load.stagger-revealed .stagger-reveal-item:nth-child(7) {
  animation-delay: 1.28s;
}

.stagger-reveal-on-load.stagger-revealed .stagger-reveal-item:nth-child(8) {
  animation-delay: 1.48s;
}

.stagger-reveal-on-load.stagger-revealed .stagger-reveal-item:nth-child(9) {
  animation-delay: 1.68s;
}

.stagger-reveal-on-load.stagger-revealed .stagger-reveal-item:nth-child(10) {
  animation-delay: 1.88s;
}

.stagger-reveal-on-load.stagger-revealed .stagger-reveal-item:nth-child(11) {
  animation-delay: 2.08s;
}

.stagger-reveal-on-load.stagger-revealed .stagger-reveal-item:nth-child(12) {
  animation-delay: 2.28s;
}

.stagger-reveal-on-load.stagger-revealed .stagger-reveal-item:nth-child(13) {
  animation-delay: 2.48s;
}

.stagger-reveal-on-load.stagger-revealed .stagger-reveal-item:nth-child(14) {
  animation-delay: 2.68s;
}

.hero-tagline {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  background-color: var(--yellow-accent);
  color: var(--green-main);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  line-height: 1.12;
  margin: 0 0 1.5rem;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-title-accent {
  color: var(--construction-green);
  display: inline;
}

.hero-underlined-links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.hero-underline-link {
  display: block;
  width: 100%;
  max-width: 520px;
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
  padding: 0.35rem 2.5rem 0.5rem 0;
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  position: relative;
  transition: color 0.2s ease;
}

.hero-underline-link span {
  display: inline-block;
  transition: transform 0.25s ease;
}

/* Long underline extending across (Framer-style), stays white, thin line */
.hero-underline-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 1px;
}

/* Right-pointing chevron: same as Construction Services (Font Awesome), left of edge, above underline, no overlap */
.hero-underline-link::before {
  content: "\f054";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 1rem;
  bottom: 0.4rem;
  font-size: 0.9em;
  color: #ffffff;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.6), 0 0 24px rgba(255, 255, 255, 0.35);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.25s ease;
}

/* Hover: text and arrow move right; underline stays put; keep white */
.hero-underline-link:hover {
  color: #ffffff;
}

.hero-underline-link:hover span {
  transform: translateX(8px);
}

.hero-underline-link:hover::before {
  opacity: 1;
  transform: translateX(8px);
}

.hero-underline-link:hover::after {
  background-color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.hero-actions .btn-primary {
  background-color: var(--green-main);
  color: #ffffff;
  /* Match outline button height by using the same border thickness */
  border: 1px solid transparent;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(9, 110, 51, 0.35);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease,
    box-shadow 0.2s ease;
}

.hero-actions .btn-primary:hover {
  background-color: #14703a;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(9, 110, 51, 0.42);
}

.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.68rem 1.75rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  background-color: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.92);
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.btn-hero-outline:hover {
  border-color: var(--hero-accent);
  color: var(--hero-accent);
  background: rgba(154, 230, 166, 0.08);
}

/* Construction page */

.construction-hero {
  position: relative;
  isolation: isolate;
  background-color: var(--green-light);
  padding: 4.5rem 0 4rem;
}

.construction-hero {
  min-height: 560px;
}

.industrial-hero {
  min-height: 560px;
}

.construction-hero::before,
.construction-hero::after {
  display: none;
}

/* Construction hero: background slideshow (pro crossfade) */
.construction-hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Overlay gradient - moved to child div for parallax */
.construction-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(
      60% 90% at 18% 38%,
      rgba(255, 255, 255, 0.85) 0%,
      rgba(255, 255, 255, 0.52) 34%,
      rgba(255, 255, 255, 0) 70%
    ),
    linear-gradient(
      92deg,
      rgba(255, 255, 255, 0.78) 0%,
      rgba(255, 255, 255, 0.62) 32%,
      rgba(255, 255, 255, 0.28) 50%,
      rgba(255, 255, 255, 0.08) 62%,
      rgba(255, 255, 255, 0) 72%
    );
  background-blend-mode: soft-light, normal;
  pointer-events: none;
}

.construction-hero-slide {
  position: absolute;
  inset: 0;
  background-position: center right;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: opacity;
}

.construction-hero-slide--1 {
  background-image: url("images/Lights.webp");
}

.construction-hero-slide--2 {
  background-image: url("images/Construction 2.webp");
}

.construction-hero-slide--3 {
  background-image: url("images/Construction 3.webp");
}

.construction-hero-slide--4 {
  background-image: url("images/Construction 4.webp");
}


/* Extra left "light" bloom to keep text/buttons readable on darker slides */
.construction-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(
      60% 90% at 18% 38%,
      rgba(255, 255, 255, 0.85) 0%,
      rgba(255, 255, 255, 0.52) 34%,
      rgba(255, 255, 255, 0) 70%
    );
  mix-blend-mode: soft-light;
  opacity: 0.9;
}

.industrial-hero {
  background: none;
  padding: 4.5rem 0;
  display: flex;
  align-items: center;
}

.industrial-hero-slide--1 {
  background-image: url("images/Industrial 1.webp");
}

.industrial-hero-slide--2 {
  background-image: url("images/Industrial 2.webp");
}

.industrial-hero-slide--3 {
  background-image: url("images/Industrial 3.webp");
}

.industrial-hero-slide--4 {
  background-image: url("images/Industrial 4.webp");
}

.industrial-hero > .container {
  width: 100%;
}

.industrial-hero .construction-hero-overlay {
  background:
    radial-gradient(
      60% 90% at 18% 38%,
      rgba(255, 255, 255, 0.50) 0%,
      rgba(255, 255, 255, 0.28) 34%,
      rgba(255, 255, 255, 0) 70%
    ),
    linear-gradient(
      92deg,
      rgba(255, 255, 255, 0.48) 0%,
      rgba(255, 255, 255, 0.30) 30%,
      rgba(255, 255, 255, 0.12) 52%,
      rgba(255, 255, 255, 0.03) 68%,
      rgba(255, 255, 255, 0) 80%
    );
  background-blend-mode: soft-light, normal;
}

.industrial-hero .construction-label-pill {
  background-color: #fff7cf;
  color: var(--construction-green);
}

.industrial-hero .construction-hero-title {
  color: var(--construction-green);
}

.industrial-hero .construction-hero-subtitle {
  color: #555555;
}

.industrial-hero .construction-hero-actions .btn-outline {
  border-color: var(--construction-green);
  color: var(--construction-green);
  background-color: transparent;
}

.industrial-hero .construction-hero-actions .btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.86);
  color: var(--construction-green);
}

.industrial-hero .construction-hero-actions {
  margin-bottom: 2.1rem;
}

.industrial-hero .construction-stat-value {
  color: #bbf7d0;
}

.industrial-hero .construction-stat-label {
  color: rgba(240, 253, 244, 0.82);
}

/* Industrial page: About section */
.industrial-about-section {
  padding: 3.25rem 0 0;
  position: relative;
  z-index: 2;
  background: #ffffff;
}

.industrial-about-section .construction-services-title {
  font-size: 2.8rem;
  line-height: 1.15;
  font-weight: 700;
  color: #000000;
  text-shadow: none;
}


.industrial-about-intro .construction-services-title,
.industrial-about-intro .construction-services-subtitle {
  text-align: left;
}

.industrial-about-intro .construction-services-subtitle {
  max-width: 68rem;
}

.industrial-about-subtitle-secondary {
  margin-top: 0.55rem;
}

.industrial-about-content {
  margin-top: 0.95rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
  gap: 1rem;
  align-items: start;
  position: relative;
}

.industrial-about-intro {
  position: relative;
  z-index: 2;
}

.industrial-about-card {
  background: #ffffff;
  border: 1px solid rgba(11, 122, 59, 0.2);
  border-radius: 22px;
  padding: 1.25rem 1.2rem 1.15rem;
  box-shadow: 0 8px 18px rgba(5, 40, 22, 0.045);
  position: relative;
  z-index: 1;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

/* Industrial: slide-in reveal for "Industries We Serve" (override generic scroll-reveal float-up) */
.industrial-about-card.scroll-reveal {
  opacity: 0;
  transform: translateX(-140px);
  filter: blur(14px);
  transition:
    opacity 0.35s ease-out,
    transform 0.9s cubic-bezier(0.12, 0.75, 0.18, 1),
    filter 0.9s cubic-bezier(0.12, 0.75, 0.18, 1);
  will-change: transform, filter, opacity;
}

.industrial-about-card.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateX(0);
  filter: blur(0);
}

.industrial-about-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.14);
}

.industrial-about-card-title {
  margin: 0 0 1rem;
  color: var(--heading-color);
}

.industrial-icon-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.industrial-icon-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.industrial-icon-list .product-icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-size: 1.02rem;
  margin-right: 0;
  flex: 0 0 40px;
}

.industrial-icon-list li strong {
  display: block;
  font-size: 0.98rem;
  color: var(--heading-color);
  line-height: 1.32;
}

.industrial-icon-list li p {
  margin: 0.2rem 0 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.industrial-icon-list-compact {
  gap: 0.7rem;
}

.industrial-icon-list-compact li {
  align-items: center;
}

.industrial-about-advantage {
  position: relative;
  margin-top: 3rem;
  padding: 8rem 0 8.5rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.6rem;
  width: 100%;
  overflow-x: visible;
  background: var(--green-light);
  box-shadow: 0 0 0 100vmax var(--green-light);
  clip-path: inset(0 -100vmax);
}

.industrial-about-advantage .construction-services-title {
  font-size: 2.8rem;
  line-height: 1.15;
  font-weight: 700;
  color: #000000;
  text-shadow: none;
}

.industrial-about-advantage::before {
  content: "";
  display: none;
}

.industrial-about-advantage .industrial-about-card-title {
  text-align: center;
  color: #111827;
  margin: 0;
}


.industrial-advantage-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.05rem;
  width: 100%;
}

.industrial-advantage-grid li {
  grid-column: span 2;
  background-color: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  padding: 1.8rem 1.5rem 1.9rem;
  min-height: 138px;
  text-align: center;
  box-shadow: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  will-change: transform;
  backface-visibility: hidden;
}

.industrial-advantage-grid li:hover {
  transform: translateY(-6px);
  box-shadow:
    0 18px 45px rgba(15, 23, 42, 0.14),
    0 8px 18px rgba(15, 23, 42, 0.08);
}

.industrial-advantage-grid li:nth-child(4) {
  grid-column: 2 / span 2;
}

.industrial-advantage-grid li:nth-child(5) {
  grid-column: 4 / span 2;
}

.industrial-advantage-grid .product-icon-circle {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  margin-right: 0;
  margin-bottom: 0.65rem;
  font-size: 1.05rem;
}

.industrial-advantage-grid li strong {
  display: block;
  margin: 0.1rem 0 0.7rem;
  color: var(--green-main);
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.32;
}

.industrial-advantage-grid li p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.34;
}

@media (max-width: 640px) {
  .industrial-advantage-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .industrial-advantage-grid li:nth-child(4),
  .industrial-advantage-grid li:nth-child(5) {
    grid-column: auto;
  }

}

/* Industrial page: center 2-card services layout */
.industrial-services-section .construction-services-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.industrial-services-section .construction-services-cta-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  justify-items: stretch;
}

.industrial-services-section .construction-services-cta-row .construction-services-cta-btn {
  justify-self: stretch;
  width: 100%;
}

.industrial-services-section .services-dropdowns-wrap {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  justify-items: center;
}

.industrial-services-section .services-dropdown-panel {
  width: 100%;
  max-width: none;
}

/* Industrial page: infinite marquee carousel (full-width, seamless) */
.industrial-marquee {
  margin-top: 7.5rem;
  margin-bottom: 0;
  width: 100%;
  background: transparent;
}

.industrial-marquee-header {
  max-width: 980px;
  margin: 0 auto 2.65rem;
  text-align: center;
}

.industrial-marquee-title {
  margin: 0 0 0.45rem;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--construction-green);
  letter-spacing: -0.01em;
}

.industrial-marquee-subtitle {
  margin: 0;
  max-width: 62rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.industrial-marquee-viewport {
  position: relative;
  overflow: hidden;
  width: 100vw;
  margin-top: 0.4rem;
  margin-left: 50%;
  transform: translateX(-50%);
  height: clamp(280px, 56dvh, 480px);
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.industrial-marquee-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
  border: none;
  border-radius: 0;
  background: none;
  color: var(--color-accent, #1fa24a);
  cursor: pointer;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.9))
          drop-shadow(0 0 18px rgba(255, 255, 255, 0.6))
          drop-shadow(0 0 32px rgba(255, 255, 255, 0.3));
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.industrial-marquee-arrow span {
  font-size: 68px;
  line-height: 1;
  user-select: none;
}

.industrial-marquee-arrow-left {
  left: 28px;
}

.industrial-marquee-arrow-right {
  right: 28px;
}

.industrial-marquee-arrow:hover {
  opacity: 0.85;
  transform: translateY(-50%) scale(1.1);
}

.industrial-marquee-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

@media (max-width: 640px) {
  .industrial-marquee-arrow {
    display: none;
  }

  .industrial-marquee-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
  }

  .industrial-marquee-viewport::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
  }

  .industrial-marquee-track {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

.industrial-marquee-viewport::before,
.industrial-marquee-viewport::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: min(120px, 14vw);
  z-index: 2;
  pointer-events: none;
}

.industrial-marquee-viewport::before {
  left: 0;
  background: none;
}

.industrial-marquee-viewport::after {
  right: 0;
  background: none;
}

.industrial-marquee-track {
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
  width: max-content;
  height: 100%;
  padding: 0 1rem;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.industrial-marquee-track img {
  height: 100%;
  width: min(720px, 68vw);
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: var(--radius-md);
  user-select: none;
  -webkit-user-drag: none;
  border: 4px solid var(--construction-green);
  box-shadow: none;
  background-color: transparent;
}

@keyframes industrial-marquee-right {
  from {
    transform: translate3d(0%, 0, 0);
  }
  to {
    transform: translate3d(50%, 0, 0);
  }
}

@media (max-width: 640px) {
  .industrial-marquee-viewport {
    height: 200px;
  }
}

#industrial-dropdown-electroplating-inline .services-dropdown-boxes,
#industrial-dropdown-electroplating .services-dropdown-boxes,
#industrialservices-dropdown-electric-inline .services-dropdown-boxes,
#industrialservices-dropdown-electric .services-dropdown-boxes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.industrial-electroless-list {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0.75rem !important;
  align-items: stretch;
}

.industrial-electroless-list .services-dropdown-box {
  width: 100%;
  min-width: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.25;
  font-size: 0.9rem;
  padding: 0.8rem 0.75rem;
}

.construction-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2.75rem;
}

.construction-hero-text {
  flex: 1 1 auto;
  max-width: 760px;
}

.construction-hero-media {
  flex: 1 1 0;
  display: flex;
  justify-content: flex-end;
}

.construction-hero-image {
  width: 100%;
  max-width: 520px;
  height: 320px;
  border-radius: 26px;
  object-fit: cover;
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.22);
  display: block;
}

.construction-label-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 1.2rem;
  border-radius: 999px;
  background-color: #fff7cf;
  color: var(--construction-green);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.1rem;
}

.construction-hero-title {
  margin: 0 0 0.9rem;
  font-size: 2.8rem;
  line-height: 1.15;
  color: var(--construction-green);
}

.construction-hero-subtitle {
  margin: 0 0 1.6rem;
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 32rem;
}

.construction-hero-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 2.1rem;
  flex-wrap: wrap;
}

.construction-hero-actions .btn-primary {
  background-color: var(--construction-green);
  box-shadow: 0 10px 25px rgba(9, 110, 51, 0.35);
}

.construction-hero-actions .btn-outline {
  border-color: var(--construction-green);
  color: var(--construction-green);
  background-color: transparent;
}

.construction-hero-actions .btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.86);
}


.construction-stats {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.construction-stat {
  display: flex;
  flex-direction: column;
}

.construction-stat-value {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--construction-green);
}

.construction-stat-label {
  color: var(--text-muted);
}

/* Services page hero (reuse construction hero typography) */
.services-page-hero,
.products-page-hero {
  padding: 2.75rem 0 1.75rem;
  background-color: var(--green-light);
}

.services-page-hero-inner,
.products-page-hero-inner {
  max-width: 960px;
}

.services-page-label,
.products-page-label {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 1.1rem;
  border-radius: 999px;
  background-color: #fff7cf;
  color: var(--construction-green);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.services-page-title,
.products-page-title {
  margin-bottom: 0.75rem;
  color: var(--construction-green);
}

.services-page-subtitle,
.products-page-subtitle {
  max-width: 36rem;
  color: var(--construction-green);
}

/* Products cards */
.product-card .construction-service-header {
  align-items: center;
}

#industrial-products .product-card-media {
  margin: -0.2rem 0 1rem;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background-color: #e5e7eb;
}

#industrial-products .product-card-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform 0.45s ease;
}

#industrial-products .product-card:hover .product-card-photo,
#industrial-products .product-card:focus-within .product-card-photo {
  transform: scale(1.07);
}

.product-icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background-color: #f0fdf4;
  border: 1px solid var(--green-main);
  color: var(--green-main);
  font-size: 1.4rem;
  margin-right: 0.75rem;
}

.product-icon-circle i {
  font-size: 1.4rem;
  line-height: 1;
}

/* Plain variant for Aluminum Insulation Panel icons (no green box) */
.product-icon-circle-plain {
  width: auto;
  height: auto;
  border-radius: 0;
  background-color: transparent;
  border: none;
  margin-right: 0.75rem;
}

.product-card-list {
  margin: 0.4rem 0 0;
  padding-left: 1.1rem;
  list-style: disc;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.product-card-list li + li {
  margin-top: 0.15rem;
}

/* Projects page – tiles grid reused from cards (grey rectangles) */
.projects-tiles-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
  margin-top: 1.5rem;
}

.projects-tiles-card {
  border-radius: 24px;
  background-color: #cbd5e1;
  border: 1px solid #9ca3af;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  height: 170px;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.22) 0px,
    rgba(255, 255, 255, 0.22) 10px,
    transparent 10px,
    transparent 20px
  );
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
}

.projects-tiles-body {
  width: 100%;
  padding: 0.9rem 1.2rem;
}

.projects-tiles-body h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
}

/* Products page: recommended thickness table (NSCP) */
.thickness-table-block {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-soft);
}

.thickness-table-title {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #111827;
  text-align: center;
}

.thickness-table-wrapper {
  width: 100%;
  overflow-x: auto;
  border: 1.5px solid var(--green-main);
  border-radius: 14px;
  background-color: #ffffff;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

.thickness-table-wrapper:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.22);
}

.thickness-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
  font-size: 0.9rem;
  font-family: inherit;
  background-color: #ffffff;
}

.thickness-table thead {
  background-color: var(--green-main);
}

.thickness-table thead th {
  padding: 0.85rem 1rem;
  font-weight: 600;
  color: #ffffff;
  text-align: left;
  border: none;
}

.thickness-table thead th:nth-child(2),
.thickness-table thead th:nth-child(3) {
  text-align: center;
}

.thickness-table th,
.thickness-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-soft);
}

.thickness-table tbody tr:last-child th,
.thickness-table tbody tr:last-child td {
  border-bottom: none;
}

.thickness-table tbody th {
  font-weight: 500;
  color: var(--text-main);
  width: 52%;
}

.thickness-table tbody td {
  color: var(--text-muted);
  font-weight: 500;
}

.thickness-table tbody td:nth-child(2),
.thickness-table tbody td:nth-child(3) {
  text-align: center;
  color: var(--green-main);
  font-weight: 600;
}

.thickness-table tbody tr:nth-child(even) {
  background-color: #f9fff6;
}

.thickness-table tbody tr:nth-child(odd) {
  background-color: #ffffff;
}

/* Mobile stacked layout for thickness table (Products page) */
.thickness-mobile-list {
  display: none;
  margin-top: 1.25rem;
}

.thickness-mobile-card {
  border-radius: 14px;
  border: 1px solid var(--border-soft);
  background-color: #ffffff;
  padding: 1rem 1rem 0.9rem;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
  margin-bottom: 0.85rem;
}

.thickness-mobile-occupancy {
  margin: 0 0 0.6rem;
  font-size: 0.98rem;
  font-weight: 600;
  color: #111827;
}

.thickness-mobile-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.9rem;
  padding-top: 0.3rem;
}

.thickness-mobile-row + .thickness-mobile-row {
  border-top: 1px dashed var(--border-soft);
  margin-top: 0.3rem;
}

.thickness-mobile-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
}

.thickness-mobile-value {
  font-weight: 600;
  color: var(--green-main);
}

.construction-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Construction page: full-width image above BCDC Advantage */
.construction-solar-showcase {
  margin: 0;
  padding: 0;
  background-color: #f1f5f9;
  overflow: hidden;
  line-height: 0;
}

.construction-solar-showcase-image {
  display: block;
  width: 100%;
  height: auto;
}

/* The BCDC Advantage (construction page): white section, construction color theme, same font sizes as homepage advantage boxes */
.bcdc-advantage-section {
  background-color: #ffffff;
  padding: 3.75rem 0 4rem;
}

/* Shared hero banner (above CTA) – Drone View image */
.construction-road-banner {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("images/Drone View.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Industrial page banner – Industrial Banner image */
.industrial-road-banner {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("images/Industrial Banner.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Construction-only parallax variant: reveal more of the image from top to bottom on scroll */
.construction-road-banner--parallax {
  min-height: 54vh;
  background-position: center;
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
  isolation: isolate;
  transition: none;
}

/* Industrial-only parallax variant: reveal more of the image from top to bottom on scroll */
.industrial-road-banner--parallax {
  min-height: 54vh;
  background-position: center;
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
  isolation: isolate;
  transition: none;
}

/* Road banner pages (construction, products, projects, services): mobile scroll-zoom layer */
.construction-road-banner-scroll-bg {
  display: none;
}

.industrial-road-banner-scroll-bg {
  display: none;
}

.construction-road-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.2) 50%,
    rgba(0, 0, 0, 0.25) 100%
  );
  pointer-events: none;
}

.construction-road-banner-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.35rem;
  padding: 2.6rem 1.5rem;
  width: min(100%, 980px);
  margin: 0 auto;
  text-align: center;
  box-sizing: border-box;
}

.construction-road-banner-title {
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 4.6vw, 3.2rem);
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: #ffffff;
  margin: 0;
  text-transform: uppercase;
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.4),
    0 4px 12px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(0, 0, 0, 0.2);
}

.construction-road-banner-title span {
  display: inline-block;
}

.construction-road-banner-title span + span {
  margin-left: 0;
}

@media (min-width: 721px) {
  .construction-road-banner-title {
    white-space: nowrap;
  }
}

.construction-road-banner-intro-btn {
  margin-top: 0;
  padding-inline: 1.8rem;
  font-weight: 600;
}

/* Banner: scroll-reveal (text animates slightly after section) – works on desktop & mobile */
.construction-road-banner .construction-road-banner-content.scroll-reveal {
  transition-delay: 0.15s;
}

/* Banner: mobile layout for iOS & Android – rectangular, professional banner (not full photo) */
@media (max-width: 720px) {
  .construction-road-banner {
    min-height: 24dvh;
    height: 200px;
    overflow-x: hidden;
  }

  .construction-road-banner--parallax {
    min-height: 24dvh;
    height: 200px;
    background-image: url("images/Drone View.webp");
    background-position: center;
    background-attachment: scroll;
    background-size: cover;
    background-repeat: no-repeat;
    transition: none;
  }

  .industrial-road-banner {
    min-height: 24dvh;
    height: 200px;
    overflow-x: hidden;
  }

  .industrial-road-banner--parallax {
    min-height: 24dvh;
    height: 200px;
    background-image: url("images/Industrial Banner.webp");
    background-position: center;
    background-attachment: scroll;
    background-size: cover;
    background-repeat: no-repeat;
    transition: none;
  }

  .construction-road-banner-content {
    align-items: center;
    text-align: center;
    gap: 0.9rem;
    padding: 1.1rem 1.05rem;
    padding-inline: max(1.25rem, env(safe-area-inset-left)) max(1.25rem, env(safe-area-inset-right));
    width: 100%;
    box-sizing: border-box;
  }

  .construction-road-banner-title {
    font-size: clamp(1.1rem, 5.8vw, 1.45rem);
    line-height: 1.25;
    letter-spacing: 0.02em;
    margin: 0;
    max-width: 100%;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    text-shadow:
      0 2px 6px rgba(0, 0, 0, 0.55),
      0 4px 16px rgba(0, 0, 0, 0.4);
  }

  /* One flowing tagline (wraps like a sentence), not three stacked lines */
  .construction-road-banner-title span {
    display: inline;
  }

  .construction-road-banner-title span + span::before {
    content: " ";
  }

  .construction-road-banner-intro-btn {
    margin-top: 0;
    font-size: 0.8rem;
    padding-inline: 1.1rem;
    min-height: 36px;
  }

  .construction-road-banner-title span + span {
    margin-left: 0;
    margin-top: 0;
  }

  /* Android-specific tuning */
  body.android-device .construction-road-banner-content {
    gap: 0.95rem;
  }

  body.android-device .construction-road-banner-title {
    font-size: clamp(1.08rem, 5.6vw, 1.4rem);
    margin: 0;
  }

  /* iOS-specific tuning */
  body.ios-device .construction-road-banner-content {
    gap: 0.82rem;
  }

  body.ios-device .construction-road-banner-title {
    font-size: clamp(1.04rem, 5.4vw, 1.34rem);
    margin: 0;
    letter-spacing: 0.01em;
  }

  /* construction.html only: ~desktop-scale band (not full screen) + static image */
  .road-banner-page .construction-road-banner,
  .road-banner-page .construction-road-banner--parallax {
    height: 320px;
    min-height: 320px;
    max-height: 320px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    margin: 0;
    width: 100%;
    background-image: url("images/Drone View.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .road-banner-page .industrial-road-banner,
  .road-banner-page .industrial-road-banner--parallax {
    height: 320px;
    min-height: 320px;
    max-height: 320px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    margin: 0;
    width: 100%;
    background-image: url("images/Industrial Banner.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .road-banner-page .construction-road-banner-scroll-bg {
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    width: 128%;
    height: 128%;
    margin-left: -64%;
    margin-top: -64%;
    z-index: 0;
    background-image: url("images/Drone View.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }

  .road-banner-page .industrial-road-banner-scroll-bg {
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    width: 128%;
    height: 128%;
    margin-left: -64%;
    margin-top: -64%;
    z-index: 0;
    background-image: url("images/Industrial Banner.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }

  .road-banner-page .construction-road-banner-overlay {
    z-index: 1;
  }

  .road-banner-page .construction-road-banner-content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 0;
    gap: 1.05rem;
    padding-block: 1.1rem;
    padding-inline: max(1.35rem, env(safe-area-inset-left, 0px)) max(1.35rem, env(safe-area-inset-right, 0px));
  }

  body.road-banner-page .construction-road-banner-title {
    margin: 0;
  }

  body.road-banner-page .construction-road-banner-intro-btn {
    margin-top: 0;
  }

  /* Hide scroll-bg layer on mobile - banner uses static background-image instead */
  .road-banner-page .construction-road-banner-scroll-bg,
  .road-banner-page .industrial-road-banner-scroll-bg {
    display: none !important;
  }
}

@media (max-width: 400px) {
  .construction-road-banner {
    min-height: 22dvh;
    height: 180px;
  }

  .construction-road-banner--parallax {
    min-height: 22dvh;
    height: 180px;
    background-image: url("images/Drone View.webp");
    background-position: center;
    background-attachment: scroll;
    background-size: cover;
    background-repeat: no-repeat;
  }

  .construction-road-banner-content {
    gap: 0.85rem;
    padding: 1rem 0.95rem;
    padding-inline: max(1rem, env(safe-area-inset-left)) max(1rem, env(safe-area-inset-right));
  }

  .construction-road-banner-title {
    font-size: clamp(0.95rem, 7vw, 1.2rem);
    line-height: 1.2;
  }

  .construction-road-banner-intro-btn {
    font-size: 0.74rem;
    padding-inline: 0.95rem;
    min-height: 34px;
  }

  .road-banner-page .construction-road-banner,
  .road-banner-page .construction-road-banner--parallax,
  .road-banner-page .industrial-road-banner,
  .road-banner-page .industrial-road-banner--parallax {
    height: 280px;
    min-height: 280px;
    max-height: 280px;
  }

  /* Industrial banner at 400px - static photo only */
  .industrial-road-banner--parallax {
    background-image: url("images/Industrial Banner.webp");
    background-position: center;
    background-attachment: scroll;
    background-size: cover;
    background-repeat: no-repeat;
  }

  body.road-banner-page .construction-road-banner-content {
    gap: 0.95rem;
    padding-inline: max(1.15rem, env(safe-area-inset-left, 0px)) max(1.15rem, env(safe-area-inset-right, 0px));
  }

  /* Hide scroll-bg layer on mobile */
  .road-banner-page .construction-road-banner-scroll-bg,
  .road-banner-page .industrial-road-banner-scroll-bg {
    display: none !important;
  }
}

/* Construction page CTA */
.construction-cta-section {
  background-color: #ffffff;
  padding: 3rem 0 3.25rem;
}

.construction-cta-inner {
  max-width: 860px;
  text-align: center;
  margin: 0 auto;
  background-color: var(--construction-green);
  color: #ffffff;
  border-radius: 24px;
  padding: 1.9rem 2.1rem 2.1rem;
  box-shadow: var(--shadow-soft);
}

.construction-cta-title {
  margin: 0 0 0.75rem;
  font-size: 2rem;
  font-weight: 700;
}

.construction-cta-text {
  margin: 0 0 1.6rem;
  font-size: 0.98rem;
  color: #e6f7ec;
}

.construction-cta-btn {
  padding-inline: 2.25rem;
  font-weight: 600;
}

.bcdc-advantage-section .section-header h2 {
  font-size: 2.8rem;
  line-height: 1.15;
  margin: 0 0 0.4rem;
  color: var(--construction-green);
  font-weight: 700;
  text-shadow: none;
}

@media (max-width: 720px) {
  /* Match home CTA card sizing for construction CTA on mobile only */
  .construction-cta-section {
    padding: 2rem 0 2.2rem;
    background-color: transparent;
  }

  .construction-cta-inner {
    max-width: 360px;
    margin: 0 auto;
    padding: 1.4rem 1.25rem 1.8rem;
    border-radius: 24px;
    background-color: var(--construction-green);
    box-shadow: var(--shadow-soft);
  }

  .construction-cta-title {
    font-size: 1.45rem;
  }

  .construction-cta-text {
    font-size: 0.88rem;
    margin-bottom: 1.1rem;
  }
}

.bcdc-advantage-section .section-header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.bcdc-advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.bcdc-advantage-card {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--construction-green);
  padding: 1.8rem 1.5rem 1.9rem;
  text-align: left;
}

.bcdc-advantage-card {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.bcdc-advantage-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.16);
}

.bcdc-advantage-card-head {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.7rem;
}

.bcdc-advantage-icon {
  flex-shrink: 0;
  width: 2.35rem;
  height: 2.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background-color: rgba(9, 110, 51, 0.09);
  color: var(--construction-green);
  font-size: 1.05rem;
  line-height: 1;
}

.bcdc-advantage-card-head h3 {
  flex: 1;
  min-width: 0;
  margin: 0;
  padding-top: 0.15rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--construction-green);
  line-height: 1.25;
}

.bcdc-advantage-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.construction-services-section {
  background-color: #ffffff;
  padding: 3.5rem 0 4rem;
}

/* Align Services intro section width with Services hero text */
.services-page-hero + .construction-services-section .container {
  max-width: 960px;
}

/* Services page: spacing between solutions grid and CTA + align CTA card with grid */
.services-page-hero + .construction-services-section {
  padding-bottom: 3rem;
}

.services-page-hero + .construction-services-section + .construction-cta-section {
  padding-top: 1.75rem;
  padding-bottom: 3.75rem;
}

.services-page-hero + .construction-services-section + .construction-cta-section .construction-cta-inner {
  max-width: 960px;
}

/* Align Products sections width with Products hero text */
.products-page-hero ~ .construction-services-section .container {
  max-width: 960px;
}

/* Align Product Category with Products page width */
.products-page-hero ~ .products-category-section .container {
  max-width: 960px;
}

.construction-section-label {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 1.1rem;
  border-radius: 999px;
  background-color: #fff7cf;
  color: var(--construction-green);
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.construction-services-title {
  margin: 0 0 0.5rem;
  font-size: 2.2rem;
  line-height: 1.15;
  color: #111827;
}

.construction-services-subtitle {
  margin: 0 0 2.1rem;
  font-size: 0.96rem;
  color: var(--text-muted);
}

.construction-services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

/* 2x2 layout for products traffic section; fifth card centered on last row */
.construction-services-grid.products-services-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.construction-services-grid.products-services-grid
  > .construction-service-card.product-card--traffic-last {
  grid-column: 1 / -1;
  justify-self: center;
  width: 100%;
  max-width: calc((100% - 1.5rem) / 2);
}

/* Center the 2 cards in Aluminum Insulation Panel section */
.construction-services-grid.products-panels-grid {
  grid-template-columns: repeat(2, minmax(0, calc((100% - 3rem) / 3)));
  justify-content: center;
}

.construction-service-card {
  border-radius: 20px;
  border: 1.5px solid var(--construction-green);
  padding: 1.6rem 1.5rem 1.5rem;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.04);
}

.construction-service-card {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.construction-service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.16);
}

a.construction-service-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  box-sizing: border-box;
}

a.construction-service-card:focus-visible {
  outline: 2px solid var(--construction-green);
  outline-offset: 3px;
}

/* Products page: Traffic Safety Product cards — “View” + chevron (matches homepage division-link) */
.products-services-grid a.construction-service-card > p {
  margin-bottom: 0;
}

.product-traffic-card-view {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  margin-top: 1.1rem;
  font-size: 0.93rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--construction-green);
}

.product-traffic-card-view .arrow-chevron {
  display: inline-block;
  vertical-align: middle;
  font-size: 0.68em;
  margin-left: 0.1rem;
  line-height: 1;
  color: inherit;
  transition: transform 0.2s ease;
}

.products-services-grid a.construction-service-card:hover .product-traffic-card-view .arrow-chevron,
.products-services-grid a.construction-service-card:focus-visible .product-traffic-card-view .arrow-chevron {
  transform: translateX(3px);
}

.construction-service-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.8rem;
}

.construction-service-icon {
  width: auto;
  height: auto;
  border-radius: 0;
  background-color: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.construction-service-icon-image {
  width: 46px;
  height: 46px;
  object-fit: contain;
  display: block;
}

.construction-service-card h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 600;
  color: #111827;
}

.construction-service-card p {
  margin: 0 0 1.4rem;
  font-size: 0.93rem;
  color: var(--text-muted);
}

.construction-services-cta-row {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.construction-services-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  background-color: var(--construction-green);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 14px 32px rgba(9, 110, 51, 0.35);
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
}

/* Inline CTA buttons inside cards (used on mobile only) */
.construction-services-cta-btn-inline {
  display: none;
  width: 100%;
  margin-top: 0.75rem;
}

.services-dropdown-panel-inline {
  margin-top: 0.5rem;
}

/* Services CTA: Font Awesome chevron arrows (pro look, not global .arrow) */
.construction-services-cta-btn .arrow-chevron {
  display: inline-block;
  vertical-align: middle;
  width: auto;
  height: auto;
  border: none !important;
  transform: none;
  margin-left: 0.5rem;
  font-size: 0.85em;
  font-weight: 600;
  color: inherit;
  opacity: 0.95;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.construction-services-cta-btn:hover .arrow-chevron {
  opacity: 1;
}

.construction-services-cta-btn .arrow-chevron.fa-chevron-right,
.construction-services-cta-btn .arrow-chevron.fa-chevron-down {
  font-size: 0.8em;
  letter-spacing: -0.02em;
}

/* Services page: dropdown panel (Construction Services) */
.services-dropdowns-wrap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 0;
}

.services-dropdown-panel {
  margin-top: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  width: 100%;
  transition: max-height 0.35s ease, opacity 0.25s ease, margin-top 0.3s ease;
}

.services-dropdown-panel.is-open {
  margin-top: 1.25rem;
  max-height: 620px;
  opacity: 1;
}

.services-dropdown-boxes {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.services-dropdown-box {
  display: block;
  padding: 0.9rem 1.25rem;
  background-color: #ffffff;
  border: 1.5px solid var(--construction-green);
  border-radius: 14px;
  color: #111827;
  font-size: 0.95rem;
  font-weight: 500;
  text-align: left;
  text-decoration: none;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out, background-color 0.2s ease, box-shadow 0.2s ease;
}

.services-dropdown-panel.is-open .services-dropdown-box {
  opacity: 1;
  transform: translateY(0);
}

.services-dropdown-panel.is-open .services-dropdown-box:nth-child(1) {
  transition-delay: 0.08s;
}

.services-dropdown-panel.is-open .services-dropdown-box:nth-child(2) {
  transition-delay: 0.16s;
}

.services-dropdown-panel.is-open .services-dropdown-box:nth-child(3) {
  transition-delay: 0.24s;
}

.services-dropdown-panel.is-open .services-dropdown-box:nth-child(4) {
  transition-delay: 0.32s;
}

.services-dropdown-panel.is-open .services-dropdown-box:nth-child(5) {
  transition-delay: 0.40s;
}

.services-dropdown-panel.is-open .services-dropdown-box:nth-child(6) {
  transition-delay: 0.48s;
}

.services-dropdown-panel.is-open .services-dropdown-box:nth-child(7) {
  transition-delay: 0.56s;
}

.services-dropdown-panel.is-open .services-dropdown-box:nth-child(8) {
  transition-delay: 0.64s;
}

.services-dropdown-box[href] {
  text-decoration: none;
}

.services-dropdown-box:hover {
  background-color: #f0fdf4;
  box-shadow: 0 8px 24px rgba(9, 110, 51, 0.12);
}

/* Services page dropdown items should be static (not clickable) */
.services-dropdown-panel .services-dropdown-box,
.services-dropdown-panel .services-dropdown-box-link {
  pointer-events: none;
  cursor: default;
}

/* Keep the reveal visuals but avoid "clickable" hover cues */
.services-dropdown-panel .services-dropdown-box:hover,
.services-dropdown-panel .services-dropdown-box-link:hover {
  background-color: inherit;
  box-shadow: none;
}

/* Re-enable click behavior for explicitly linked traffic boxes */
.services-dropdown-panel a.services-dropdown-box {
  pointer-events: auto;
  cursor: pointer;
}

.services-dropdown-panel a.services-dropdown-box:hover {
  background-color: #f0fdf4;
  box-shadow: 0 8px 24px rgba(9, 110, 51, 0.12);
}

/* Aluminum dropdown: one box per panel (title + 3 links inside), no underlines */
.services-dropdown-box-group {
  display: block;
  padding: 1rem 1.25rem;
}

.services-dropdown-box-group .services-dropdown-box-title {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #111827;
}

.services-dropdown-box-group .services-dropdown-box-link {
  display: block;
  padding: 0.25rem 0;
  font-size: 0.9rem;
  color: var(--text-main);
  text-decoration: none;
}

.services-dropdown-box-group .services-dropdown-box-link:hover {
  color: var(--construction-green);
}

/* Projects */

.projects-section {
  background-color: var(--green-light);
  padding: 3.75rem 0 4rem;
}

.projects-label {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 1.1rem;
  border-radius: 999px;
  background-color: #fff7cf;
  color: var(--construction-green);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.projects-title {
  margin: 0 0 0.5rem;
  font-size: 2.4rem;
  line-height: 1.15;
  color: #111827;
}

.projects-title.projects-category-title {
  color: var(--construction-green);
  font-weight: 700;
}

.projects-subtitle {
  margin: 0 0 1.8rem;
  font-size: 0.96rem;
  color: var(--text-muted);
}

.projects-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background-color: #e5f4e9;
  border-radius: 999px;
  padding: 0.18rem;
  margin-bottom: 2.1rem;
  position: relative;
}

.projects-tabs-indicator {
  position: absolute;
  top: 0.18rem;
  bottom: 0.18rem;
  left: 0;
  width: 0;
  border-radius: 999px;
  background-color: #ffffff;
  box-shadow: 0 12px 26px rgba(15, 118, 66, 0.28);
  transition: transform 0.25s ease, width 0.25s ease;
  z-index: 0;
}

.projects-tab {
  border: none;
  background: transparent;
  padding: 0.6rem 1.6rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #4b5563;
  cursor: pointer;
  position: relative;
  z-index: 1;
  white-space: nowrap;
}

.projects-tab.is-active {
  color: var(--green-main);
}

/* Product category tabs: independent behavior from projects tabs */
#product-category .projects-tabs {
  justify-content: flex-start;
  width: 100%;
  overflow-x: hidden;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

#product-category .projects-tabs::-webkit-scrollbar {
  display: none;
}

#product-category .projects-tab {
  flex: 0 0 auto;
}

/* Project category: 4 vertical rectangles (image bg, overlay, title, View More) */
.project-category-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.project-category-card {
  display: block;
  position: relative;
  min-height: 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  color: #ffffff;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.project-category-card:hover .project-category-btn {
  background-color: var(--green-dark);
}

.project-category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.18);
}

/* Zoomable background layer (smooth zoom on hover) */
.project-category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.55s ease;
  pointer-events: none;
}

.project-category-card:hover::before {
  transform: scale(1.06);
}

.project-category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.6) 100%);
  pointer-events: none;
}

.project-category-content {
  position: relative;
  z-index: 1;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  min-height: 200px;
}

.project-category-title {
  font-family: inherit;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.project-category-btn {
  display: inline-block;
  background-color: var(--green-main);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.55rem 1.25rem;
  border-radius: 8px;
  transition: background-color 0.2s ease;
}

/* All: gradient lighter green → deeper Bine green with small centered bcdc.png */
.project-category-all {
  background-color: var(--green-main);
}

.project-category-all::before {
  background-image: url("images/bcdc.png"), linear-gradient(180deg, var(--green-light) 0%, #b8ddc4 40%, var(--green-main) 100%);
  background-size: 180px auto, 100% 100%;
  background-position: center, 0 0;
  background-repeat: no-repeat, no-repeat;
}

.project-category-safety {
  background-color: #0f766e;
}

.project-category-safety::before {
  background-image: url("images/Edsa.png");
}

.project-category-construction {
  background-color: #1e3a5f;
}

.project-category-construction::before {
  background-image: url("images/Workers.png");
  background-position: center 40%;
}

.project-category-panel {
  background-color: #4d7c0a;
}

.project-category-panel::before {
  background-image: url("images/Panels.png");
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
}

.project-card {
  border-radius: 24px;
  background-color: #cbd5e1;
  border: 1px solid #9ca3af;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  height: 170px;
  position: relative;
  overflow: hidden;
  /* Solid base color; logo handles visual interest */
  background-image: none;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  opacity: 0;
  transform: translateY(18px) scale(1);
  transition:
    opacity 0.35s ease-out,
    transform 0.35s ease-out,
    box-shadow 0.25s ease-out;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("images/Logo.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 45%;
  opacity: 0.35;
  filter: blur(1.5px);
  transform: scale(1.05);
  transition: transform 0.35s ease-out, opacity 0.25s ease-out;
  pointer-events: none;
}

/* Products + Projects page: allow tiles to use real photos when available */
.products-category-section .project-card,
#projects .project-card {
  --tile-image: url("images/Logo.png");
}

.products-category-section .project-card::before,
#projects .project-card::before {
  background-image: var(--tile-image);
}

.products-category-section .project-card.has-photo::before,
#projects .project-card.has-photo::before {
  background-size: cover;
  background-position: center;
  opacity: 0.9;
  filter: none;
}

.products-category-section .product-tile,
#projects .product-tile {
  cursor: pointer;
}

.products-category-section .product-tile:focus-visible,
#projects .product-tile:focus-visible {
  outline: none;
  box-shadow:
    0 24px 60px rgba(15, 23, 42, 0.22),
    0 0 0 3px rgba(11, 122, 59, 0.18);
}

/* Product modal (gallery) */
.product-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 60;
  background-color: rgba(15, 23, 42, 0.55);
  overscroll-behavior: contain;
}

.product-modal.is-open {
  display: flex;
  animation: fade-in-overlay 0.2s ease-out forwards;
}

.product-modal-dialog {
  width: 100%;
  max-width: 980px;
  max-height: min(85vh, 760px);
  background-color: #ffffff;
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.35);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-modal-close {
  position: absolute;
  top: 0.9rem;
  right: 1.15rem;
  border: none;
  background: transparent;
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: 0;
  color: var(--green-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  transition: color 0.15s ease, transform 0.15s ease;
}

.product-modal-close i {
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1;
}

.product-modal-close:hover {
  color: var(--green-dark);
  transform: translateY(-1px);
}

.product-modal-close:focus,
.product-modal-close:focus-visible {
  outline: none;
  box-shadow: none;
}

.product-modal-header {
  padding: 1.4rem 1.6rem 0.75rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.product-modal-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--green-main);
}

.product-modal-subtitle {
  margin: 0.25rem 0 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.product-modal-body {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.1rem 1.1rem;
  flex: 1 1 auto;
  min-height: 0;
}

.product-modal-nav {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1.5px solid rgba(11, 122, 59, 0.28);
  background-color: #ffffff;
  color: var(--green-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.product-modal-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12);
  background-color: #f0fdf4;
}

.product-modal-nav:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.product-modal-media {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(15, 118, 66, 0.18);
  background-color: #f8fafc;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.product-modal-image {
  width: 100%;
  height: 100%;
  max-height: 560px;
  object-fit: contain;
  display: block;
  background-color: #ffffff;
}

.product-modal-empty {
  padding: 2.5rem 2rem;
  text-align: center;
  font-size: 0.98rem;
  color: var(--text-muted);
}

.product-modal-footer {
  padding: 0.8rem 1.6rem 1.2rem;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  display: flex;
  justify-content: center;
}

/* Desktop/tablet: refined modal spacing (mobile unchanged) */
@media (min-width: 721px) {
  .product-modal-header {
    border-bottom: none;
    padding: 1.55rem 2.1rem 1.15rem;
  }

  .product-modal-subtitle {
    margin-top: 0.5rem;
  }

  .product-modal-body {
    padding: 1.6rem 2.1rem 1.2rem;
    gap: 1rem;
  }

  .product-modal-media {
    /* Prevent footer/counter from colliding with media border */
    min-height: 0;
    height: clamp(340px, 58vh, 520px);
  }

  .product-modal-footer {
    border-top: none;
    margin-top: 1.1rem;
    padding: 0.9rem 2.1rem 1.85rem;
    background-color: #ffffff;
    position: relative;
    z-index: 1;
  }

  /* Desktop only: keep Bus Shed title in one line */
  .product-modal-dialog.product-modal-bus-sheds .product-modal-title {
    white-space: nowrap;
  }
}

.product-modal-counter {
  font-size: 0.9rem;
  color: #475569;
  font-weight: 600;
}

@media (max-width: 720px) {
  /* Product modal: prevent mobile scroll-chaining behind overlay */
  .product-modal {
    touch-action: none;
  }

  /* Product modal (mobile): swipeable carousel for multi-photo products */
  .product-modal-media {
    touch-action: pan-x;
  }

  .product-modal-carousel {
    width: 100%;
    height: 100%;
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    overscroll-behavior: contain;
  }

  .product-modal-carousel::-webkit-scrollbar {
    display: none; /* Safari/Chrome */
  }

  .product-modal-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
  }

  .product-modal-slide-image {
    width: 100%;
    height: 100%;
    max-height: 420px;
    object-fit: contain;
    display: block;
    background-color: #ffffff;
    user-select: none;
    -webkit-user-drag: none;
  }

  /* Product modal: prevent long titles overlapping close button (mobile only) */
  .product-modal-header {
    padding-right: 4.25rem;
  }

  .product-modal-title,
  .product-modal-subtitle {
    padding-right: 0.75rem;
    max-width: calc(100% - 0.5rem);
    display: block;
  }

  .product-modal-dialog.product-modal-bus-sheds .product-modal-title span {
    display: block;
  }

  .product-modal-body {
    grid-template-columns: minmax(0, 1fr);
    padding: 0.9rem 0.9rem 1rem;
  }

  .product-modal-nav {
    display: none;
  }

  .product-modal-media {
    min-height: 280px;
  }

  .product-modal-image {
    max-height: 420px;
  }
}

.project-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40%;
  background: linear-gradient(
    to top,
    rgba(15, 23, 42, 0.65),
    rgba(15, 23, 42, 0)
  );
  pointer-events: none;
}

.project-card.project-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.project-card.project-visible:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
}

.project-card.project-visible:hover::before {
  transform: scale(1.12);
  opacity: 0.45;
}

.project-image {
  display: none;
}

.project-label {
  width: 100%;
  padding: 0.9rem 1.2rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  position: relative;
  z-index: 1;
}

.project-label-sub {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0.01em;
}

@keyframes project-float-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* About page */

.about-hero {
  background-color: var(--green-light);
  padding: 4rem 0 5.25rem;
}

.about-hero-inner {
  max-width: 920px;
}

.about-label-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 1.2rem;
  border-radius: 999px;
  background-color: #e2f4d9;
  color: var(--green-main);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}

.about-hero-title {
  font-size: clamp(2.25rem, 4.5vw, 3.2rem);
  line-height: 1.2;
  margin: 0 0 0.6rem;
  color: #0b7a3b;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.about-hero-title-prefix {
  color: #111827;
  margin-right: 0.25em;
}

.about-hero-subtitle {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

/* About: Mission + Our Commitment (two columns below hero) */
/* About: Our Story + supporting cards (boxed layout) */
.about-page-boxes {
  padding: 2.25rem 0 2.75rem;
  background-color: #ffffff;
  scroll-margin-top: 5.5rem;
}

.about-story-box {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 1.75rem 2rem 1.85rem;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.about-story-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.16);
}

/* Text wraps beside the photo, then uses full width below the float (fills the card) */
.about-story-box-inner--wrap {
  display: flow-root;
  min-width: 0;
}

.about-story-box-main {
  min-width: 0;
  /* Stays below the floated figure so a full-width block box does not sit on top of the image/slider (desktop hit-testing). */
  position: relative;
  z-index: 2;
}

.about-story-box-inner--wrap .about-story-media {
  float: right;
  width: min(40%, 22rem);
  max-width: 22rem;
  /* top: nudge slider down so top/bottom whitespace around the photo feels balanced (float is shorter than text column). */
  margin: clamp(0.5rem, 1.25vw, 0.85rem) 0 1rem clamp(1rem, 2.5vw, 1.5rem);
  /* Above .about-story-box-main in the overlapping band beside the float; otherwise the main column captures clicks over the photo. */
  position: relative;
  z-index: 1;
}

/* About page: premium slide-in reveal for the "Our Story" media (match Industrial Industries animation) */
.about-story-media.scroll-reveal {
  opacity: 0.35;
  transform: translateX(-140px);
  filter: blur(10px) saturate(1.15);
  transition:
    opacity 0.35s ease-out,
    transform 0.9s cubic-bezier(0.12, 0.75, 0.18, 1),
    filter 0.9s cubic-bezier(0.12, 0.75, 0.18, 1);
  will-change: transform, filter, opacity;
  z-index: 0;
  background-color: transparent;
}

.about-story-media.scroll-reveal::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  opacity: 1;
  transition: opacity 0.55s ease-out;
  pointer-events: none;
}

.about-story-media.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateX(0);
  filter: blur(0) saturate(1);
  z-index: 1;
}

.about-story-media.scroll-reveal.is-visible::before {
  opacity: 0;
}

.about-story-media {
  margin: 0;
  min-width: 0;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background-color: #f1f5f9;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
}

/* Locked frame: in-frame zoom; proportions sized closer to the text column (less dead space) */
.about-story-media-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 4 / 3;
  max-height: min(42vh, 22rem);
  min-height: 12rem;
  background-color: #e2e8f0;
}

/* Our Story image slider — horizontal slide (track + translateX; --slide-index/--slide-count from JS) */
.about-story-slider {
  --slide-index: 0;
  --slide-count: 3;
}

.about-story-slider-slides {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  isolation: isolate;
  /* Hide subpixel seam on the right edge during transform interpolation */
  clip-path: inset(0 1px 0 0);
}

.about-story-slider-track {
  display: flex;
  height: 100%;
  width: 100%;
  transform: translate3d(0, 0, 0);
  transition: transform 0.58s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.about-story-slider-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  overflow: hidden;
  min-height: 0;
  height: 100%;
  pointer-events: none;
}

.about-story-slider-slide.is-active {
  pointer-events: auto;
}

.about-story-slider-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
  image-rendering: auto;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-story-media:hover .about-story-slider-slide.is-active img,
.about-story-media:focus-within .about-story-slider-slide.is-active img {
  transform: scale(1.03);
}

.about-story-slider-btn {
  position: absolute;
  top: 50%;
  z-index: 4;
  pointer-events: auto;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #ffffff;
  background-color: rgba(15, 23, 42, 0.38);
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    opacity 0.2s ease;
}

.about-story-slider-btn:hover {
  background-color: rgba(15, 23, 42, 0.52);
}

.about-story-slider-btn:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.about-story-slider-prev {
  left: 0.45rem;
}

.about-story-slider-next {
  right: 0.45rem;
}

.about-story-slider-dots {
  position: absolute;
  left: 50%;
  bottom: 0.5rem;
  z-index: 4;
  pointer-events: auto;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background-color: rgba(15, 23, 42, 0.28);
}

.about-story-slider-dot {
  width: 0.4rem;
  height: 0.4rem;
  padding: 0;
  border: none;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.about-story-slider-dot[aria-selected="true"] {
  background-color: #ffffff;
  transform: scale(1.2);
}

.about-story-slider-dot:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .about-story-slider-slide {
    transition: none;
  }

  .about-story-slider-slide img {
    transition: none;
  }

  .about-story-media:hover .about-story-slider-slide.is-active img,
  .about-story-media:focus-within .about-story-slider-slide.is-active img {
    transform: none;
  }
}

.about-story-box-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid #f1f5f9;
}

.about-story-box-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  background-color: #e8f5e9;
  color: var(--green-main);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.about-story-box-heading-text {
  min-width: 0;
}

.about-story-box-eyebrow {
  margin: 0 0 0.3rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-main);
}

.about-story-box-title {
  margin: 0;
  font-size: clamp(1.45rem, 2.4vw, 1.8rem);
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.about-story-box-body p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-main);
}

/*
 * Our Story expand: JS sets max-height from measured scrollHeight so the full
 * duration shrinks visible content (fixed huge max-height values feel instant).
 * Padding lives on .about-story-expand-inner so toggling .collapsed doesn’t
 * change height mid-animation.
 */
.about-story-expand-section {
  overflow: hidden;
  overflow-anchor: none;
  transition: max-height 0.82s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.about-story-expand-section.about-story-collapsed {
  max-height: 0;
}

.about-story-expand-section:not(.about-story-collapsed) {
  max-height: none;
  /* Let expanded copy wrap around the floated photo (overflow:hidden would create a new BFC and break wrap) */
  overflow: visible;
}

.about-story-expand-section:not(.about-story-collapsed) .about-story-expand-inner {
  padding-top: 0.35rem;
  padding-bottom: 0.85rem;
}

.about-story-expand-inner {
  max-width: 100%;
  transition: opacity 0.25s ease;
}

.about-story-expand-inner.about-story-content-pending {
  opacity: 0;
  pointer-events: none;
}

.about-story-stagger p {
  margin: 0 0 1rem;
  font-size: 0.96rem;
  line-height: 1.68;
  color: var(--text-main);
}

.about-story-stagger p:last-child {
  margin-bottom: 0;
}

.about-story-stagger ul.about-story-list {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  font-size: 0.96rem;
  line-height: 1.68;
  color: var(--text-main);
  list-style-type: disc;
}

.about-story-stagger ul.about-story-list li {
  margin-bottom: 0.35rem;
}

.about-story-stagger ul.about-story-list li:last-child {
  margin-bottom: 0;
}

.about-story-stagger ul.about-story-list--value li strong {
  font-weight: 600;
  color: #111827;
}

/* No clear:both — that forced the button below the full image height; keep it with the intro column */
.about-story-box-footer {
  margin-top: 0.65rem;
  padding-top: 0;
}

.about-story-box .story-read-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.55rem 1.35rem 0.55rem 1.45rem;
  font-size: 0.9rem;
}

.about-story-box .story-read-more .story-read-more-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  opacity: 0.88;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.about-story-box .story-read-more[aria-expanded="true"] .story-read-more-chevron {
  transform: rotate(180deg);
}

.about-story-box .story-read-more:hover {
  background-color: rgba(11, 122, 59, 0.08);
}

.about-story-box .story-read-more:focus-visible {
  outline: 2px solid var(--green-main);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .about-story-expand-section {
    transition-duration: 0.01ms;
  }

  .about-story-expand-inner {
    transition-duration: 0.01ms;
  }

  .about-story-box .story-read-more .story-read-more-chevron {
    transition-duration: 0.01ms;
  }
}

@media (max-width: 900px) {
  .about-story-box {
    padding: 1.45rem 1.35rem 1.55rem;
  }

  .about-story-box-inner--wrap .about-story-media {
    float: none;
    width: 100%;
    max-width: none;
    margin: 0.35rem 0 1.25rem 0;
  }

  .about-story-media-frame {
    aspect-ratio: 16 / 10;
    max-height: min(48vw, 240px);
    min-height: 0;
  }
}

.about-mission-commitment-section {
  padding: 2.75rem 0 4rem;
  background-color: #ffffff;
  scroll-margin-top: 5.5rem;
}

.about-mission-commitment-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 37rem);
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}

.about-mission-column {
  padding-right: clamp(0.25rem, 1.5vw, 1rem);
  min-width: 0;
}

.about-mission-heading {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.about-mission-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
  padding: 0.45rem;
  border-radius: 16px;
  border: 1.5px solid #b8e0c4;
  background-color: #f4fbf5;
  box-shadow: 0 1px 0 rgba(11, 122, 59, 0.04);
}

.about-mission-heading-icon {
  display: block;
  width: 1.45rem;
  height: 1.45rem;
  max-width: none;
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
}

.about-mission-heading-title {
  margin: 0;
  font-size: clamp(1.5rem, 2.2vw, 1.85rem);
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.about-mission-intro {
  margin: 0 0 1.1rem;
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-main);
  line-height: 1.55;
}

.about-mission-bullet-list {
  margin: 0;
  padding-left: 1.4rem;
  color: var(--text-main);
  font-size: 0.98rem;
  line-height: 1.65;
  list-style-type: disc;
}

.about-mission-bullet-list li {
  margin-bottom: 0.85rem;
  padding-left: 0.25rem;
}

.about-mission-bullet-list li::marker {
  color: var(--green-main);
  font-size: 1em;
}

.about-mission-bullet-list li:last-child {
  margin-bottom: 0;
}

.about-commitment-card {
  border-radius: 20px;
  border: 1.5px solid #b8e0c4;
  background-color: #f4fbf5;
  padding: 1.75rem 1.85rem 1.9rem;
  box-shadow: 0 1px 0 rgba(11, 122, 59, 0.04);
  min-width: 0;
  width: 100%;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.about-commitment-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.16);
}

.about-commitment-card-title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  font-weight: 700;
  color: var(--green-main);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.about-commitment-checklist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-commitment-checklist li {
  display: grid;
  grid-template-columns: 1.25rem 1fr;
  column-gap: 0.75rem;
  align-items: start;
  margin-bottom: 0.95rem;
  font-size: 0.97rem;
  line-height: 1.55;
  color: var(--text-main);
}

.about-commitment-checklist li:last-child {
  margin-bottom: 0;
}

.about-commitment-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: calc(0.97rem * 1.55);
  flex-shrink: 0;
  align-self: start;
}

.about-commitment-check-icon {
  display: block;
  width: 1.125rem;
  height: 1.125rem;
  object-fit: contain;
  object-position: center;
}

.about-commitment-item-text {
  flex: 1;
  min-width: 0;
}

@media (max-width: 900px) {
  .about-mission-commitment-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-mission-column {
    padding-right: 0;
  }
}

/* About: Our Goals + Vision (below mission & commitment) */
.about-goals-vision-section {
  padding: 3rem 0 4rem;
  background-color: var(--green-light);
}

.about-goals-vision-grid {
  display: grid;
  grid-template-columns: minmax(0, 38rem) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}

.about-goals-card {
  border-radius: 20px;
  border: 1.5px solid #e5d78a;
  background-color: #fef9cd;
  padding: 1.85rem 1.95rem 2rem;
  box-shadow: 0 1px 0 rgba(180, 160, 60, 0.12);
  min-width: 0;
  width: 100%;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.about-goals-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.16);
}

.about-goals-card-title {
  margin: 0 0 1.35rem;
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.about-goals-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-goals-list li {
  display: grid;
  grid-template-columns: 1.375rem 1fr;
  column-gap: 0.85rem;
  align-items: start;
  margin-bottom: 1rem;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--text-main);
}

.about-goals-list li:last-child {
  margin-bottom: 0;
}

.about-goals-arrow-icon {
  display: block;
  width: 1.375rem;
  height: 1.375rem;
  object-fit: contain;
  object-position: center;
  margin-top: 0.12em;
}

.about-goals-item-text {
  min-width: 0;
}

.about-vision-column {
  min-width: 0;
  padding-top: 1.85rem;
}

.about-vision-heading {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.about-vision-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
  padding: 0.45rem;
  border-radius: 16px;
  border: 1.5px solid #e5d78a;
  background-color: #fef9cd;
  box-shadow: 0 1px 0 rgba(180, 160, 60, 0.1);
}

.about-vision-heading-icon {
  display: block;
  width: 1.45rem;
  height: 1.45rem;
  max-width: none;
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
}

.about-vision-heading-title {
  margin: 0;
  font-size: clamp(1.5rem, 2.2vw, 1.85rem);
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.about-vision-text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-main);
  max-width: 42rem;
}

@media (max-width: 900px) {
  .about-goals-vision-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-vision-column {
    padding-top: 0;
  }
}

.about-section {
  padding: 3.25rem 0 3.75rem;
}

.about-mission-section {
  background-color: #ffffff;
}

.about-mission-section .about-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 1.8rem;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.25rem;
}

.about-card {
  background-color: #ffffff;
  border-radius: 18px;
  border: 1px solid #dde7df;
  padding: 1.9rem 1.8rem 2rem;
}

.about-card-outline {
  background-color: #f9fff6;
  border-radius: 24px;
  border: 2px solid #a7d9bb;
}

.about-card-accent {
  border-color: #f6e5ad;
  background-color: #fff7cf;
}

.about-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.about-icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--green-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.95rem;
}

.about-icon-circle-outline {
  background-color: transparent;
  border: 2px solid var(--green-main);
  color: var(--green-main);
}

.about-icon-circle-plain {
  background-color: #f9d75c;
  color: #925a00;
}

.about-card-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
}

.about-card-body {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.about-list {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.about-list li::marker {
  color: var(--green-main);
}

/* (Mission list uses standard about-list styling) */

/* Our Commitment checkmark bullets */
.about-card-outline .about-list {
  list-style: none;
  padding-left: 0;
}

.about-card-outline .about-list li {
  position: relative;
  padding-left: 1.4rem;
}

.about-card-outline .about-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.05rem;
  font-size: 0.9rem;
  color: var(--green-main);
}

.about-core-section {
  background-color: #ffffff;
  padding: 3.5rem 0 4.25rem;
}

.core-values-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.core-values-header .core-values-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
  padding: 0.55rem;
  border-radius: 16px;
  border: 1.5px solid #b8e0c4;
  background-color: #f4fbf5;
  box-shadow: 0 1px 0 rgba(11, 122, 59, 0.04);
  color: var(--green-main);
}

.core-values-heart {
  width: 1.18rem;
  height: 1.18rem;
  max-width: none;
  display: block;
  flex-shrink: 0;
  aspect-ratio: 1;
}

.about-core-section .core-values-header h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.2vw, 1.85rem);
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.about-core-section .core-values-header p {
  font-size: 1rem;
  color: #555555;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}

.about-core-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 0;
}

.about-core-card {
  background-color: #f4faf6;
  border-radius: 18px;
  border: 1px solid #d1e7d9;
  padding: 1.5rem 1.65rem 1.55rem;
  text-align: left;
}

/* Core Values: stagger (delay set in script.js per card index).
   Keep transform/box-shadow fast so hover lift matches other cards (scroll-in opacity stays slower). */
.about-core-section .about-core-card.scroll-reveal {
  transition:
    opacity 0.58s ease-out,
    transform 0.14s ease,
    box-shadow 0.14s ease;
}

.about-core-section .about-core-card.scroll-reveal.is-visible:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.18);
  /* Beat stagger inline delay until JS clears it (otherwise hover waits up to ~1.5s) */
  transition-delay: 0s !important;
}

.about-core-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #2d2d2d;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.about-core-card p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.6;
  color: #555555;
}

.about-core-card-span {
  grid-column: 2 / 3;
}

@media (max-width: 900px) {
  .about-core-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .about-core-card-span {
    grid-column: auto;
  }
}

@keyframes fade-in-overlay {
  from {
    background-color: rgba(15, 23, 42, 0);
  }
  to {
    background-color: rgba(15, 23, 42, 0.55);
  }
}

/* Divisions */

.divisions-section {
  background-color: #ffffff;
  padding: 3.75rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-size: 2.1rem;
  margin: 0 0 0.4rem;
  color: var(--green-main);
  font-weight: 600;
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.divisions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
}

.division-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.division-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.16);
}

.division-image {
  width: 100%;
  height: 220px;
  background-color: #ffffff;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.division-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.division-card:hover .division-image img {
  transform: scale(1.07);
}

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

.product-divisions-grid > .division-card:last-child {
  grid-column: 1 / -1;
  justify-self: center;
  max-width: calc((100% - 1.75rem) / 2);
}

@media (max-width: 640px) {
  .product-divisions-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-divisions-grid > .division-card:last-child {
    grid-column: auto;
    justify-self: stretch;
    max-width: none;
  }
}

.placeholder-image {
  border: 1px solid #000000;
  background-image: linear-gradient(
      135deg,
      rgba(0, 0, 0, 0.08) 25%,
      transparent 25%,
      transparent 50%,
      rgba(0, 0, 0, 0.08) 50%,
      rgba(0, 0, 0, 0.08) 75%,
      transparent 75%,
      transparent
    );
  background-size: 20px 20px;
}

#manufacturing .division-image {
  background-image: url("images/Industrial Main.webp?v=2");
}

#construction .division-image {
  background-image: url("images/Landing Page 2-optimized.webp?v=1");
}

.division-body {
  padding: 1.5rem 1.6rem 1.75rem;
}

.division-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background-color: var(--green-light);
  margin-bottom: 0.9rem;
  font-size: 0.9rem;
  color: var(--green-main);
  font-weight: 600;
}

.division-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--green-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.95rem;
}

.division-icon i {
  font-size: 0.95rem;
}

.division-text {
  margin: 0 0 1.15rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.division-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--green-main);
  font-weight: 600;
  font-size: 0.93rem;
}

.division-link .arrow-chevron,
.btn-accent .arrow-chevron {
  display: inline-block;
  vertical-align: middle;
  width: auto;
  height: auto;
  border: none !important;
  transform: none;
  margin-left: 0.15rem;
  font-size: 0.75em;
  color: inherit;
}

/* Services */

.services-section {
  background-color: #ffffff;
  padding: 3.9rem 0;
}

.services-header {
  text-align: left;
  max-width: 760px;
  margin: 0 auto 2rem;
  padding: 1.15rem 1.25rem 1.2rem;
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(14, 116, 52, 0.12) 0%, rgba(14, 116, 52, 0.02) 78%);
}

.services-header-kicker {
  display: inline-block;
  margin: 0 0 0.45rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #166534;
}

.services-header h2 {
  margin: 0 0 0.3rem;
  font-size: 2.25rem;
  line-height: 1.15;
  color: #0f172a;
  font-weight: 700;
}

.services-header p {
  margin: 0;
  color: #334155;
  font-size: 0.96rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.7rem;
}

.service-panel {
  position: relative;
  min-height: 370px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.service-panel:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 62px rgba(15, 23, 42, 0.22);
}

.service-panel-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1) translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
  transition: transform 0.4s ease;
}

.service-panel-industrial .service-panel-media {
  background-image: url("images/Industrial Main.webp?v=2");
}

.service-panel-construction .service-panel-media {
  background-image: url("images/Construction Main.webp");
}

.service-panel-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(9, 18, 28, 0.84) 0%,
    rgba(11, 25, 19, 0.72) 50%,
    rgba(13, 52, 30, 0.66) 100%
  );
}

.service-panel:hover .service-panel-media {
  transform: scale(1.06);
}

.service-panel-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.55rem 1.55rem 1.6rem;
  color: #ffffff;
}

.service-panel-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 30px;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.service-panel h3 {
  margin: 1rem 0 0.55rem;
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.25;
}

.service-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.94rem;
  max-width: 45ch;
}

.service-panel-points {
  margin: 0.95rem 0 0;
  padding-left: 1.1rem;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.89rem;
}

.service-panel-points li + li {
  margin-top: 0.38rem;
}

.service-panel-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 40px;
  padding: 0.2rem 0;
  color: #ffffff;
  font-size: 0.93rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.36);
  transition: border-color 0.18s ease;
}

.service-panel-link:hover {
  border-bottom-color: #ffffff;
}

.service-panel-link .arrow-chevron {
  display: inline-block;
  vertical-align: middle;
  width: auto;
  height: auto;
  border: none !important;
  transform: none;
  margin-left: 0.15rem;
  font-size: 0.75em;
  color: inherit;
}

/* Homepage services variant: keep card layout, remove background photos */
.services-section.services-no-bg .service-panel-media {
  display: none;
}

.services-section.services-no-bg .service-panel {
  background: #ffffff;
  border: 1.5px solid var(--construction-green);
  min-height: 320px;
}

.services-section.services-no-bg .service-panel-content {
  color: #0f172a;
  padding: 1.55rem 1.55rem 1.6rem;
}

.services-section.services-no-bg .services-grid {
  margin-top: 4.5rem;
  margin-bottom: 0;
}

.services-section.services-no-bg {
  padding-bottom: 4.5rem;
}

.services-section.services-no-bg .service-panel-badge {
  background-color: rgba(11, 122, 59, 0.08);
  border-color: rgba(11, 122, 59, 0.22);
  color: var(--green-main);
}

.services-section.services-no-bg .service-panel h3 {
  color: #0f172a;
}

.services-section.services-no-bg .service-panel p {
  color: #334155;
}

.services-section.services-no-bg .service-panel-points {
  color: #334155;
}

.services-section.services-no-bg .service-panel-link {
  color: var(--green-main);
  border-bottom-color: rgba(11, 122, 59, 0.28);
  margin-top: auto;
}

.services-section.services-no-bg .service-panel-link:hover {
  border-bottom-color: var(--green-main);
}

/* Index services header theme: match green style variant */
.services-section.services-no-bg .services-header {
  max-width: none;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding: 4.5rem 2rem;
  background: var(--green-light);
  box-shadow: 0 0 0 100vmax var(--green-light);
  clip-path: inset(0 -100vmax);
}

/* Make Services and Contact footer links green only on index.html */
body#top .footer-links a[href="index.html#services"],
body#top .footer-links a[href="index.html#contact"] {
  color: var(--green-main);
  font-weight: 600;
}

/* Division links should stay black when clicked */
.footer-links .division-link {
  color: inherit;
  text-decoration: none;
  font-weight: inherit;
}

.footer-links .division-link:hover {
  color: var(--green-main);
  text-decoration: none;
}

.footer-links .division-link:visited,
.footer-links .division-link:active,
.footer-links .division-link:focus {
  color: inherit;
  text-decoration: none;
}

.services-section.services-no-bg .services-header-kicker {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 1.1rem;
  border-radius: 999px;
  background-color: #fff7cf;
  color: var(--construction-green);
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

.services-section.services-no-bg .services-header h2 {
  color: var(--construction-green);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.75rem;
}

.services-section.services-no-bg .services-header p {
  color: #356845;
  font-size: 0.98rem;
  max-width: none;
  margin: 0;
}

/* Advantage */

.advantage-section {
  background-color: var(--green-light);
  padding: 3.75rem 0 4rem;
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.advantage-section .section-header h2 {
  font-size: 2.8rem;
  line-height: 1.15;
  margin: 0 0 0.4rem;
  color: #000000;
  font-weight: 700;
  text-shadow: none;
}

.advantage-card {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  padding: 1.8rem 1.5rem 1.9rem;
  text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.advantage-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.18);
}

.advantage-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--green-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--green-main);
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
}

.advantage-icon i {
  line-height: 1;
}

.advantage-icon-plain {
  width: auto;
  height: auto;
  border: none;
}

.advantage-icon-image {
  width: 60px;
  height: 60px;
  object-fit: contain;
  display: block;
}

/* Blank icon placeholder: same height as .advantage-icon-image until you add your PNG */
.advantage-icon-placeholder {
  min-height: 60px;
  min-width: 60px;
  display: block;
}

.advantage-card h3 {
  margin: 0.1rem 0 0.7rem;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--green-main);
}

.advantage-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Quality Assurance card: scroll-under effect (Framer-style), Bine green band */
.advantage-card-scroll-under {
  padding: 0;
  overflow: hidden;
}

.advantage-card-scroll-under .advantage-card-inner {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  background-color: #ffffff;
  min-height: 220px;
}

.advantage-card-scroll-under .advantage-card-green-band {
  position: sticky;
  top: 0;
  z-index: 1;
  background-color: var(--green-main);
  padding: 1.5rem 1.5rem 1rem;
  text-align: center;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.advantage-card-scroll-under .advantage-card-green-band h3 {
  margin: 0.5rem 0 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
}

.advantage-card-scroll-under .advantage-icon-on-green {
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
}

.advantage-card-scroll-under .advantage-icon-on-green .advantage-icon-image {
  filter: brightness(0) invert(1);
}

.advantage-card-scroll-under .advantage-card-scroll-body {
  padding: 1.25rem 1.5rem 1.5rem;
  background-color: #ffffff;
}

.advantage-card-scroll-under .advantage-card-scroll-body p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Why Choose Bine */

.why-section {
  background-color: #ffffff;
  padding: 3.75rem 0 4rem;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 2.4rem;
}

.why-card {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  padding: 1.6rem 1.5rem 1.7rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.18);
}

.why-icon {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background-color: var(--green-light);
  color: var(--green-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 0.7rem;
}

.why-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #111827;
}

.why-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.comparison-block {
  padding: 2rem 0 0;
  margin-top: 2.5rem;
  border-top: 1px solid var(--border-soft);
}

.comparison-header {
  display: flex;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.comparison-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
}

.comparison-table-wrapper {
  width: 100%;
  overflow-x: auto;
  border: 2px solid var(--green-main);
  border-radius: 18px;
  background-color: #ffffff;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.comparison-table-wrapper:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.2);
}

.comparison-mobile-list {
  display: none;
  margin-top: 1.25rem;
  display: none;
}

.comparison-mobile-card {
  border-radius: 16px;
  border: 1px solid var(--border-soft);
  background-color: #ffffff;
  padding: 1.1rem 1rem 1rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  margin-bottom: 0.9rem;
}

.comparison-mobile-feature {
  margin: 0 0 0.6rem;
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
}

.comparison-mobile-row {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: flex-start;
  column-gap: 0.5rem;
}

.comparison-mobile-row + .comparison-mobile-row {
  margin-top: 0.4rem;
  padding-top: 0.45rem;
  border-top: 1px dashed var(--border-soft);
}

.comparison-mobile-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
}

.comparison-mobile-text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.comparison-mobile-row-bine .comparison-mobile-label {
  color: var(--green-main);
}

.comparison-mobile-row-other .comparison-mobile-label {
  color: #9ca3af;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 0.9rem;
  background-color: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  border: none;
}

.comparison-table thead {
  background-color: var(--green-main);
}

.comparison-table th,
.comparison-table td {
  padding: 0.75rem 0.9rem;
  text-align: left;
}

.comparison-table th:first-child {
  width: 26%;
}

.comparison-table thead th {
  font-weight: 600;
  color: #ffffff;
  border-bottom: none;
}

.comparison-table tbody tr:nth-child(even) {
  background-color: #f9fff6;
}

.comparison-table tbody tr:nth-child(odd) {
  background-color: #ffffff;
}

.comparison-table tbody th {
  font-weight: 600;
  color: #111827;
  white-space: nowrap;
}

.comparison-table tbody td {
  color: var(--text-muted);
}

.comparison-col-bine {
  text-align: center !important;
}

.comparison-col-other {
  text-align: center !important;
}

.comparison-table tbody td:nth-child(2) {
  text-align: center;
}

.comparison-table tbody td:nth-child(3) {
  text-align: center;
}

.comparison-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  margin-right: 0.4rem;
  font-size: 0.7rem;
}

.comparison-badge-yes {
  background-color: #e6f9ec;
  color: var(--green-main);
}

.comparison-badge-no {
  background-color: #fee2e2;
  color: #dc2626;
}

/* Quote page: two-column layout (Framer-style), Bine theme */
.quote-page {
  padding: 3.5rem 0 4rem;
  min-height: calc(100vh - var(--header-height) - 280px);
}

.quote-page-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.quote-page-content {
  padding-right: 1rem;
}

.quote-page-title {
  font-family: inherit;
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 1.25rem;
  color: var(--green-main);
  letter-spacing: -0.02em;
}

.quote-page-intro {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-main);
  margin: 0;
}

.quote-form-wrap {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.quote-form-panel {
  width: 100%;
  max-width: 520px;
  background-color: var(--green-light);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-soft);
}

.quote-form-title {
  font-family: inherit;
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  color: var(--green-main);
}

.quote-form-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 0.35rem;
  line-height: 1.45;
}

.quote-form {
  display: block;
}

.quote-form-panel-stagger {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.quote-form-panel-stagger .quote-form-sub {
  margin-bottom: 0;
}

/* Wizard Progress Bar */
.wizard-progress {
  margin-bottom: 0.5rem;
}

.wizard-steps-bar {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 0.6rem;
}

.wizard-step-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #999;
  flex-shrink: 0;
  transition: background 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;
}

.wizard-step-dot.is-active {
  background: var(--green-main);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(11, 122, 59, 0.18);
}

.wizard-step-dot.is-done {
  background: var(--green-main);
  color: #fff;
}

.wizard-step-line {
  flex: 1;
  height: 3px;
  background: #e0e0e0;
  border-radius: 2px;
  overflow: hidden;
}

.wizard-step-line-fill {
  height: 100%;
  width: 0%;
  background: var(--green-main);
  border-radius: 2px;
  transition: width 0.4s ease;
}

.wizard-step-line-fill.is-filled {
  width: 100%;
}

.wizard-steps-labels {
  display: flex;
  justify-content: space-between;
  text-align: center;
}

.wizard-step-label {
  font-size: 0.72rem;
  font-weight: 500;
  color: #aaa;
  flex: 1;
  transition: color 0.3s ease;
}

.wizard-step-label.is-active {
  color: var(--green-main);
  font-weight: 600;
}

.wizard-step-label.is-done {
  color: var(--text-main);
}

/* Wizard Panels */
.wizard-panel {
  display: none;
}

.wizard-panel.is-active {
  display: block;
}

.wizard-panel-stagger {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Wizard Navigation Buttons */
.wizard-nav {
  display: flex;
  gap: 1rem;
  position: relative;
  z-index: 1;
  align-items: center;
  margin-top: 0.5rem;
}

.wizard-btn-next,
.wizard-btn-back,
.wizard-nav .quote-submit {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wizard-nav .quote-submit {
  margin-top: 0;
  width: auto;
}

.wizard-nav-single {
  justify-content: stretch;
}

.wizard-nav-single .wizard-btn-next {
  flex: 1;
}

/* Searchable Dropdown */
.search-dropdown {
  position: relative;
  z-index: 10;
}

.search-dropdown-list {
  display: none;
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  z-index: 999;
  max-height: 200px;
  overflow-y: auto;
  overscroll-behavior: contain;
  margin: 0 0 0.25rem;
  padding: 0.35rem 0;
  list-style: none;
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.search-dropdown.is-open .search-dropdown-list {
  display: block;
}


.search-dropdown-list li {
  padding: 0.55rem 0.85rem;
  font-size: 0.88rem;
  color: var(--text-main);
  cursor: pointer;
  transition: background 0.15s ease;
  border-bottom: 1px solid #f0f0f0;
}

.search-dropdown-list li:last-child {
  border-bottom: none;
}

.search-dropdown-list li:hover,
.search-dropdown-list li.is-highlighted {
  background: var(--green-light);
  color: var(--green-main);
}

.search-dropdown-list li mark {
  background: transparent;
  color: var(--green-main);
  font-weight: 700;
}

.search-dropdown-empty {
  padding: 0.75rem 0.85rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  pointer-events: none;
}

.quote-fields-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  position: relative;
  z-index: 20;
}

.quote-field {
  display: block;
}

.quote-field-full {
  grid-column: 1 / -1;
}

.quote-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-main);
  display: block;
  margin-bottom: 0.4rem;
}

.quote-input,
.quote-select,
.quote-textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  background-color: #ffffff;
  color: var(--text-main);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.quote-input {
  min-height: 2.75rem;
  line-height: 1.4;
}

.quote-phone-wrap {
  display: flex;
  align-items: stretch;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.quote-phone-wrap:focus-within {
  border-color: var(--green-main);
  box-shadow: 0 0 0 3px rgba(11, 122, 59, 0.15);
}

.quote-phone-prefix {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0 0.75rem;
  background: #f8f9fa;
  border-right: 1px solid #ddd;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-main);
  white-space: nowrap;
  user-select: none;
}

.quote-phone-flag {
  display: block;
  border-radius: 2px;
  object-fit: cover;
}

.quote-phone-input {
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  flex: 1;
  min-width: 0;
}

.quote-phone-input:focus {
  box-shadow: none !important;
  border: none !important;
}

.quote-select {
  min-height: 2.75rem;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23555' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.quote-input::placeholder,
.quote-textarea::placeholder {
  color: var(--text-muted);
}

.quote-input:focus,
.quote-select:focus,
.quote-textarea:focus {
  outline: none;
  border-color: var(--green-main);
  box-shadow: 0 0 0 3px rgba(11, 122, 59, 0.15);
}

.quote-textarea {
  min-height: 120px;
  resize: vertical;
}

.quote-submit {
  margin-top: 0.5rem;
  width: 100%;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

@media (max-width: 960px) {
  .quote-page-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
    text-align: center;
  }

  .quote-page-content {
    padding-right: 0;
  }

  .quote-form-wrap {
    justify-content: center;
  }

  .quote-form-panel {
    max-width: 100%;
  }
}

@media (max-width: 720px) {
  .quote-page {
    padding: 1.5rem 0 3rem;
  }

  .quote-page-inner {
    gap: 1.8rem;
  }

  .quote-page-title {
    font-size: 1.75rem;
  }

  .quote-page-intro {
    font-size: 0.9rem;
  }

  .quote-form-panel {
    padding: 1.35rem 1rem 1.6rem;
    border-radius: 16px;
  }

  /* Mobile: keep quote form content left-aligned like contact form. */
  .quote-form-panel,
  .quote-form,
  .wizard-panel,
  .wizard-panel-stagger,
  .quote-field,
  .quote-form-sub,
  .quote-label {
    text-align: left;
  }

  .quote-form-wrap {
    margin-bottom: 0.75rem;
  }

  .quote-form-title {
    font-size: 1.15rem;
  }

  .quote-form-sub {
    font-size: 0.82rem;
  }

  .quote-fields-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .wizard-progress {
    margin-bottom: 0.25rem;
  }

  .wizard-step-dot {
    width: 30px;
    height: 30px;
    font-size: 0.78rem;
  }

  .wizard-step-label {
    font-size: 0.68rem;
  }

  .wizard-panel-stagger {
    gap: 0.98rem;
  }

  .quote-label {
    font-size: 0.85rem;
  }

  .quote-input,
  .quote-select,
  .quote-textarea {
    font-size: 16px;
    padding: 0.7rem 0.85rem;
  }

  .quote-phone-prefix {
    padding: 0 0.6rem;
    font-size: 0.85rem;
  }

  .search-dropdown-list {
    max-height: 180px;
  }

  .wizard-nav {
    gap: 0.75rem;
    margin-top: 0.5rem;
  }

  .wizard-btn-next,
  .wizard-btn-back,
  .wizard-nav .quote-submit {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }

  .wizard-nav:last-child {
    margin-bottom: 0.8rem;
  }
}

@media (max-width: 720px) {
  .search-dropdown-list li {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    border-bottom: 1px solid #eee;
  }

  .search-dropdown-list li:last-child {
    border-bottom: none;
  }
}

@media (max-width: 400px) {
  .quote-form-panel {
    padding: 1rem 0.85rem;
  }

  .wizard-step-dot {
    width: 26px;
    height: 26px;
    font-size: 0.7rem;
  }

  .wizard-step-label {
    font-size: 0.6rem;
  }

  .wizard-step-line {
    height: 2px;
  }
}

/* CTA */

.cta-section {
  background: linear-gradient(
      135deg,
      rgba(11, 122, 59, 0.92) 0%,
      rgba(8, 60, 35, 0.95) 50%,
      rgba(5, 40, 24, 0.97) 100%
    ),
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.2) 100%);
  color: #ffffff;
  padding: 3.5rem 0 3.75rem;
  margin-bottom: 0;
  text-align: center;
}

.cta-inner {
  max-width: 640px;
}

.cta-section h2 {
  margin: 0 0 0.75rem;
  font-size: 2rem;
}

.cta-section p {
  margin: 0 0 1.75rem;
  color: #e1f7ea;
  font-size: 0.98rem;
}

@media (max-width: 720px) {
  .cta-section {
    padding: 1.1rem 0 1.7rem;
    /* On mobile, let the background be the page color and move
       the green gradient into a smaller inner card instead. */
    background: transparent;
  }

  .cta-inner {
    max-width: 360px;
    margin: 0 auto;
    padding: 1.25rem 1.25rem 1.6rem;
    border-radius: 24px;
    background: linear-gradient(
        135deg,
        rgba(11, 122, 59, 0.92) 0%,
        rgba(8, 60, 35, 0.95) 50%,
        rgba(5, 40, 24, 0.97) 100%
      ),
      linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.2) 100%);
    color: #ffffff;
  }

  .cta-section h2 {
    font-size: 1.45rem;
  }

  .cta-section p {
    font-size: 0.88rem;
    margin-bottom: 1.1rem;
  }
}

/* Contact Form Section (homepage) – collapsible dropdown */
.contact-form-section {
  background: linear-gradient(180deg, var(--green-light) 0%, #ffffff 100%);
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    padding 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    opacity 0.4s ease;
}

.contact-form-section.contact-form-collapsed {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
}

/* Reset stagger items when collapsed so animation replays on each expand */
.contact-form-section.contact-form-collapsed .stagger-reveal-item {
  opacity: 0;
  transform: translateY(24px);
  animation: none !important;
}

.contact-form-section:not(.contact-form-collapsed) {
  max-height: 3200px;
  padding: 4rem 0 5rem;
  opacity: 1;
}

.contact-form-toggle {
  cursor: pointer;
}

.contact-form-toggle-chevron {
  display: inline-flex;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  margin-left: 0.4rem;
}

.contact-form-toggle[aria-expanded="true"] .contact-form-toggle-chevron {
  transform: rotate(180deg);
}

.contact-form-inner {
  max-width: 1100px;
  transition: opacity 0.25s ease;
}

/* Hide all content during dropdown expansion – empty first, then stagger after */
.contact-form-section .contact-form-inner.contact-form-content-pending {
  opacity: 0;
  pointer-events: none;
}

.contact-form-header {
  text-align: center;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact-form-title {
  font-family: inherit;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--green-main);
  margin: 0 0 0.6rem;
  letter-spacing: -0.02em;
}

.contact-form-tagline {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 360px);
  gap: 2rem;
  align-items: start;
}

.contact-form-card {
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 2rem 2rem;
  box-shadow: var(--shadow-soft);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.contact-form-stagger {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-field-full {
  grid-column: 1 / -1;
}

.contact-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-main);
  display: block;
}

.contact-required {
  color: #ef4444;
}

.field-invalid {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12) !important;
}

.quote-phone-wrap:has(.field-invalid) {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12) !important;
}

.field-error-msg {
  display: block;
  font-size: 0.78rem;
  color: #ef4444;
  margin-top: 0.3rem;
  font-weight: 500;
}

.form-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-status {
  margin-top: 0.35rem;
  margin-bottom: 0.1rem;
  font-size: 0.86rem;
  font-weight: 500;
}

.form-status.is-loading {
  color: #1d4ed8;
}

.form-status.is-success {
  color: #15803d;
}

.form-status.is-error {
  color: #b91c1c;
}

.consent-field {
  gap: 0.35rem;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--text-main);
  cursor: pointer;
}

.consent-checkbox {
  margin-top: 0.16rem;
  width: 1rem;
  height: 1rem;
  accent-color: var(--green-main);
  flex-shrink: 0;
  cursor: pointer;
}

.consent-checkbox.field-invalid {
  outline: 2px solid #ef4444;
  outline-offset: 2px;
}

.consent-label a {
  color: var(--green-main);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.consent-label a:hover {
  color: var(--green-dark);
}

.contact-optional {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.contact-input,
.contact-select,
.contact-textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  background-color: #ffffff;
  color: var(--text-main);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23777777' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2rem;
}

.contact-input::placeholder,
.contact-textarea::placeholder {
  color: var(--text-muted);
}

.contact-input:focus,
.contact-select:focus,
.contact-textarea:focus {
  outline: none;
  border-color: var(--green-main);
  box-shadow: 0 0 0 3px rgba(11, 122, 59, 0.15);
}

.contact-input {
  min-height: 2.75rem;
  line-height: 1.4;
}

.contact-textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-submit {
  margin-top: 0.35rem;
  width: 100%;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

/* Contact info card (Bine theme accent) */
.contact-info-card {
  background: linear-gradient(
    145deg,
    rgba(11, 122, 59, 0.06) 0%,
    rgba(11, 122, 59, 0.03) 100%
  );
  border: 1px solid rgba(11, 122, 59, 0.2);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
}

.contact-info-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--green-main);
  margin: 0 0 0.4rem;
}

.contact-info-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
  line-height: 1.45;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  color: var(--text-main);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-info-item:hover {
  color: var(--green-main);
}

.contact-info-item.contact-info-address {
  cursor: default;
  pointer-events: none;
}

.contact-info-item.contact-info-address:hover {
  color: var(--text-main);
}

.contact-info-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(11, 122, 59, 0.12);
  color: var(--green-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.contact-info-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.contact-info-text strong {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contact-info-text span {
  font-size: 0.95rem;
  line-height: 1.4;
}

.contact-quote-link {
  width: 100%;
  justify-content: center;
}

.policy-page {
  background: linear-gradient(180deg, #f8fff4 0%, #ffffff 26%, #ffffff 100%);
}

.policy-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #ffffff;
  min-height: clamp(240px, 44vh, 380px);
  display: flex;
  align-items: center;
}

.policy-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(
      130deg,
      rgba(4, 54, 26, 0.88) 0%,
      rgba(4, 54, 26, 0.72) 42%,
      rgba(4, 54, 26, 0.56) 100%
    ),
    linear-gradient(120deg, #0b7a3b 0%, #1a8c4c 50%, #0e5e31 100%);
}

.policy-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.18) 0%, transparent 44%),
    radial-gradient(circle at 8% 78%, rgba(255, 255, 255, 0.11) 0%, transparent 48%);
  pointer-events: none;
}

.policy-hero-inner {
  width: min(920px, 100%);
  padding-top: clamp(2.6rem, 5vw, 4rem);
  padding-bottom: clamp(2.6rem, 5vw, 4rem);
}

.policy-kicker {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 201, 52, 0.9);
  background: var(--yellow-accent);
  color: var(--green-main);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.policy-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.policy-subtitle {
  margin: 1rem 0 0;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.93);
  font-size: clamp(0.99rem, 1.8vw, 1.12rem);
  line-height: 1.62;
}

/* 404 / policy hero CTAs: spacing from copy; no extra bottom margin (construction hero keeps margin before stats) */
.policy-hero-inner .construction-hero-actions {
  margin-top: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0;
}

/* 404 “Request a Quote”: same *hover* tint as index “Our Services” only — default uses .btn/.btn-outline */
.policy-hero-inner .construction-hero-actions .btn-outline {
  border-color: rgba(255, 255, 255, 0.92);
  color: #ffffff;
  background-color: transparent;
}

.policy-hero-inner .construction-hero-actions .btn-outline:hover {
  border-color: var(--hero-accent);
  color: var(--hero-accent);
  background: rgba(154, 230, 166, 0.08);
}

/* 404: hero height follows content + equal vertical padding — avoids a tall empty green band below CTAs */
.policy-page--compact-hero .policy-hero {
  min-height: 0;
}

.policy-content-section {
  padding: clamp(2.2rem, 5.5vw, 4.4rem) 0 clamp(3rem, 6vw, 5rem);
}

.policy-content {
  max-width: 860px;
  margin: 0 auto;
  color: var(--text-main);
}

.policy-content h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--green-main);
}

.policy-content h3 {
  margin: 1.85rem 0 0.7rem;
  font-size: clamp(1.04rem, 1.75vw, 1.24rem);
  color: #0f172a;
}

.policy-content p,
.policy-content li {
  font-size: 0.96rem;
  line-height: 1.76;
  color: #273549;
}

.policy-content p {
  margin: 0.56rem 0;
}

.policy-content a {
  color: var(--green-main);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.policy-link-list,
.policy-rights-list,
.policy-contact-list {
  margin: 0.45rem 0 0.6rem 1.15rem;
  padding: 0;
}

.policy-link-list li,
.policy-rights-list li,
.policy-contact-list li {
  margin-bottom: 0.36rem;
}

.policy-contact-list li::marker {
  font-weight: 600;
}

@media (max-width: 960px) {
  .contact-form-section:not(.contact-form-collapsed) {
    max-height: none;
    overflow: visible;
  }

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

  .contact-info-card {
    position: static;
  }

  .consent-label {
    font-size: 0.86rem;
  }

  .policy-content p,
  .policy-content li {
    font-size: 0.93rem;
  }
}

/* Contact form – mobile layout (iOS & Android, 720px and below) */
@media (max-width: 720px) {
  /* Swap boxes: form (Send Message) first, Reach Us Directly second */
  .contact-form-card {
    order: -1;
  }

  .consent-label {
    font-size: 0.84rem;
    line-height: 1.4;
  }

  .consent-checkbox {
    width: 0.98rem;
    height: 0.98rem;
  }

  .policy-kicker {
    font-size: 0.77rem;
    letter-spacing: 0.07em;
  }

  .policy-subtitle {
    font-size: 0.95rem;
    line-height: 1.56;
  }

  .policy-content h3 {
    margin-top: 1.55rem;
    font-size: 1.02rem;
  }

  .policy-content p,
  .policy-content li {
    font-size: 0.9rem;
    line-height: 1.68;
  }

  .contact-info-card {
    order: 0;
  }

  .contact-form-section {
    overflow-x: hidden;
    width: 100%;
    -webkit-overflow-scrolling: touch;
  }

  .contact-form-section:not(.contact-form-collapsed) {
    padding: 2rem 0 2.75rem;
    padding-bottom: max(3.2rem, env(safe-area-inset-bottom));
  }

  .contact-form-section .contact-form-inner.container {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: max(1.25rem, env(safe-area-inset-left));
    padding-right: max(1.25rem, env(safe-area-inset-right));
    box-sizing: border-box;
  }

  .contact-form-header {
    margin-bottom: 1.75rem;
  }

  .contact-form-title {
    font-size: 1.5rem;
    line-height: 1.3;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  .contact-form-tagline {
    font-size: 0.9rem;
    line-height: 1.55;
  }

  .contact-form-grid {
    gap: 1.5rem;
    width: 100%;
  }

  .contact-form-card {
    padding: 1.5rem 1.25rem;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    width: 100%;
    box-sizing: border-box;
  }

  .contact-form {
    gap: 1rem;
  }

  .contact-form-stagger {
    grid-template-columns: minmax(0, 1fr);
  }

  /* 16px min on inputs prevents iOS zoom on focus */
  .contact-input,
  .contact-select,
  .contact-textarea {
    font-size: 16px;
    min-height: 2.875rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    box-sizing: border-box;
  }

  .contact-textarea {
    min-height: 120px;
    padding: 0.875rem 1rem;
  }

  .contact-select {
    padding-right: 2.5rem;
    background-position: right 1rem center;
  }

  .contact-submit {
    min-height: 2.875rem;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    border-radius: 999px;
    -webkit-tap-highlight-color: transparent;
  }

  /* Contact info card – touch-friendly layout */
  .contact-info-card {
    padding: 1.5rem 1.25rem;
    border-radius: 14px;
    width: 100%;
    box-sizing: border-box;
  }

  .contact-info-title {
    font-size: 1.1rem;
  }

  .contact-info-desc {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }

  .contact-info-list {
    gap: 0.5rem;
    margin-bottom: 1.25rem;
  }

  /* Min 44px touch target for tap-to-call/email (iOS HIG, Material) */
  .contact-info-item {
    min-height: 3.5rem;
    padding: 0.5rem 0;
    align-items: center;
    -webkit-tap-highlight-color: transparent;
    display: flex;
  }

  .contact-info-item.contact-info-address {
    min-height: auto;
    padding: 0.5rem 0;
    align-items: flex-start;
    -webkit-touch-callout: none;
    user-select: none;
  }

  .contact-info-icon {
    width: 44px;
    min-width: 44px;
    height: 44px;
    font-size: 1rem;
  }

  .contact-info-text span {
    font-size: 0.95rem;
  }

  .contact-quote-link {
    min-height: 2.875rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    -webkit-tap-highlight-color: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

/* Contact form – small phones (480px and below) */
@media (max-width: 480px) {
  .contact-form-section:not(.contact-form-collapsed) {
    padding: 1.5rem 0 2.25rem;
    padding-bottom: max(2.8rem, env(safe-area-inset-bottom));
  }

  .contact-form-section .contact-form-inner {
    padding-inline: max(1rem, env(safe-area-inset-left)) max(1rem, env(safe-area-inset-right));
  }

  .contact-form-header {
    margin-bottom: 1.5rem;
  }

  .contact-form-title {
    font-size: 1.35rem;
  }

  .contact-form-tagline {
    font-size: 0.875rem;
  }

  .contact-form-card,
  .contact-info-card {
    padding: 1.25rem 1rem;
  }

  .contact-form-grid {
    gap: 1.25rem;
  }
}

/* Footer */

.site-footer {
  background-color: #ffffff;
  color: #111827;
  border-top: 1px solid #e5e7eb;
  padding-top: 2.5rem;
  margin-top: 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

.footer-brand h3 {
  margin: 0 0 0.7rem;
  font-size: 1.25rem;
}

.footer-brand p {
  margin: 0 0 1.4rem;
  color: #4b5563;
  font-size: 0.95rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.2rem;
  font-size: 0.94rem;
}

.footer-contact-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-contact-row a {
  color: #111827;
}

.footer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background-color: rgba(15, 23, 42, 0.08);
  font-size: 0.8rem;
}

.footer-icon-mobile-emoji {
  display: none;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.social-circle {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111827;
  font-size: 0.9rem;
}

/* Footer center social icons */
.footer-social-center .social-circle {
  width: auto;
  height: auto;
  border-radius: 0;
  border: none;
  background: transparent;
  padding: 0;
}

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

.footer-column h4 {
  margin: 0 0 0.9rem;
  font-size: 0.98rem;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.92rem;
}

.footer-column a {
  color: #374151;
}

.footer-column a.footer-link-active {
  color: var(--green-main);
  font-weight: 700;
}

.footer-bottom {
  border-top: 1px solid #e0e0e0;
  padding: 0.9rem 0 1.1rem;
  margin-top: 0.5rem;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #111827;
  justify-content: center;
  text-align: center;
}

.footer-bottom-icon {
  font-size: 0.9rem;
  color: #111827;
}

/* Homepage footer layout (more compact, three-column) */
.home-footer .footer-inner {
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.6fr) minmax(0, 1.8fr);
  align-items: flex-start;
  gap: 2rem;
  padding-bottom: 1.6rem;
}

.home-footer .footer-contact-col h4 {
  margin: 0 0 0.5rem;
  font-size: 0.98rem;
}

.home-footer .footer-address {
  margin: 0 0 0.6rem;
  color: #4b5563;
  font-size: 0.9rem;
}

.home-footer .footer-brand {
  text-align: left;
}

.home-footer .footer-brand p {
  max-width: 420px;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 0.9rem;
}

.footer-links-col .footer-links-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.footer-links-group h4 {
  margin-bottom: 0.7rem;
}

/* Extra spacing between Company and Divisions groups when stacked */
.home-footer .footer-links-group-divisions {
  margin-top: 0.9rem;
}

.footer-social-center {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  padding-bottom: 0.5rem;
}

/* Extra spacing before 'Construction' block in footer divisions list */
.footer-links-group ul + ul {
  margin-top: 0.8rem;
}

/* Responsive */

@media (max-width: 960px) {
  /* Prevent iOS/Android flicker when mobile nav animates */
  .header-wrap,
  .header-slide,
  .site-header,
  .logo,
  .logo img {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }

  /* Mobile/tablet: remove drop shadow on header logo only on smaller screens */
  .logo img {
    filter: none;
    box-shadow: none;
  }

  .divisions-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .services-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .services-header {
    max-width: 100%;
    padding: 1rem 1rem 1.05rem;
  }

  .services-header h2 {
    font-size: 1.95rem;
  }

  .service-panel {
    min-height: 340px;
  }

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

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

  .construction-hero-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .construction-hero-media {
    width: 100%;
    justify-content: center;
  }

  .construction-hero-image {
    max-width: 100%;
  }

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

  .construction-services-grid.products-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .construction-services-cta-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-dropdowns-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .projects-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 2rem;
  }

  /* Make value/benefit cards easier to read on medium screens */
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Collapse header navigation into overlay panel on tablet/mobile */
  .nav-toggle {
    display: inline-flex;
  }

  /* Backdrop when menu is open: dimmed page behind, click to close */
  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 39;
    /* Make overlay fully transparent so it does not gray out the menu,
       but still captures click-outside to close. */
    background: transparent;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease-out;
  }

  .nav-overlay.is-visible {
    opacity: 1;
    /* Keep overlay non-interactive so it never blocks clicks on the menu */
    pointer-events: none;
  }

  .main-nav {
    position: fixed;
    top: var(--nav-offset, var(--header-height));
    right: 0;
    left: 0;
    padding: 1.25rem 1.5rem 2rem;
    border-radius: 0 0 14px 14px;
    background-color: #ffffff;
    /* Remove heavy drop shadow so the top area does not look gray */
    box-shadow: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    height: auto;
    max-height: 52vh;
    opacity: 0;
    pointer-events: none;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 40;
    /* Dropdown feel: start just above header bottom (not from page top) */
    transform: translateY(-14px);
    transition:
      opacity 0.24s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    width: 100%;
  }

  .main-nav .nav-cta {
    width: 100%;
    justify-content: center;
    margin-top: 0.25rem;
  }

  /* Staggered entrance: menu items start hidden and animate in one by one */
  .main-nav ul li,
  .main-nav .nav-cta {
    opacity: 0;
    transform: translateY(14px);
    transition:
      opacity 0.28s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: 0s;
  }

  .main-nav.is-open ul li:nth-child(1) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.06s;
  }

  .main-nav.is-open ul li:nth-child(2) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.12s;
  }

  .main-nav.is-open ul li:nth-child(3) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.18s;
  }

  .main-nav.is-open ul li:nth-child(4) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.24s;
  }

  .main-nav.is-open .nav-cta {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 88px;
  }

  .header-inner {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    justify-content: space-between;
  }

  /* Align mobile hamburger with the same side padding as the logo */
  .nav-toggle {
    margin-left: 0;
    margin-right: 0.5rem;
  }

  /* Remove gray shadow above banner on mobile */
  .header-shadow {
    box-shadow: none;
  }

  .main-nav ul {
    font-size: 1.05rem;
    font-weight: 600;
  }

  /* Single-column value/benefit cards on small devices */
  .why-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  /* Slightly denser comparison table for narrow screens */
  .comparison-table th,
  .comparison-table td {
    padding: 0.55rem 0.7rem;
    font-size: 0.85rem;
  }

  /* On small screens, show stacked comparison cards instead of wide table */
  .comparison-table-wrapper {
    display: none;
  }

  .comparison-mobile-list {
    display: block;
  }

  /* Projects tabs (mobile): horizontally scrollable pill, text fully inside bar */
  .projects-tabs {
    display: flex;
    justify-content: flex-start;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0.18rem 0.4rem;
  }

  /* Ensure product-category tabs can swipe horizontally on mobile */
  #product-category .projects-tabs {
    overflow-x: auto;
    overflow-y: visible;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .projects-tabs::-webkit-scrollbar {
    display: none;
  }

  .projects-tab {
    flex: 0 0 auto;
    padding: 0.5rem 1.1rem;
    font-size: 0.85rem;
    text-align: center;
    white-space: nowrap;
  }

  /* Products page: use stacked cards for thickness table on small screens */
  .thickness-table-wrapper {
    display: none;
  }

  .thickness-mobile-list {
    display: block;
  }

  .hero-section {
    padding: 3rem 0 4rem;
    min-height: auto;
  }

  .hero-bg {
    background-position: 41% center;
  }

  .construction-hero {
    background-position: 60% center;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-underlined-links {
    margin-bottom: 1.5rem;
  }

  .hero-underline-link {
    font-size: 1rem;
  }

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

  .advantage-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .bcdc-advantage-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  /* BCDC Advantage: vertically center title with icon (desktop keeps flex-start + slight h3 nudge) */
  .bcdc-advantage-card-head {
    align-items: center;
  }

  .bcdc-advantage-card-head h3 {
    padding-top: 0;
  }

  .construction-services-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  /* Industrial pages: force true mobile stack (overrides desktop-specific selectors) */
  .industrial-services-section .construction-services-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }

  .industrial-services-section .construction-service-card {
    padding: 1.3rem 1.15rem 1.2rem;
  }

  .industrial-about-content {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.95rem;
  }

  .industrial-about-card {
    padding: 1.1rem 1rem 1rem;
    border-radius: 18px;
  }

  .industrial-icon-list .product-icon-circle {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    flex-basis: 38px;
  }

  .industrial-advantage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .industrial-advantage-grid li:nth-child(4),
  .industrial-advantage-grid li:nth-child(5) {
    grid-column: auto;
  }

  .industrial-advantage-grid li {
    padding: 0.9rem 0.85rem 0.8rem;
  }

  .industrial-services-section .construction-service-header {
    align-items: flex-start;
  }

  .industrial-services-section .construction-service-icon-image {
    width: 40px;
    height: 40px;
  }

  .industrial-services-section .construction-services-cta-btn-inline {
    width: 100%;
    margin-top: 0.9rem;
  }

  .industrial-services-section .services-dropdown-panel-inline {
    width: 100%;
  }

  #industrial-dropdown-electroplating-inline .services-dropdown-boxes,
  #industrialservices-dropdown-electric-inline .services-dropdown-boxes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #industrial-dropdown-casting-inline .services-dropdown-boxes,
  #industrialservices-dropdown-electroless-inline .services-dropdown-boxes {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .construction-services-grid.products-services-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .construction-services-grid.products-services-grid
    > .construction-service-card.product-card--traffic-last {
    grid-column: auto;
    justify-self: stretch;
    max-width: none;
  }

  .construction-services-cta-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .services-dropdowns-wrap {
    grid-template-columns: minmax(0, 1fr);
  }

  /* On mobile, show inline CTAs under each card and hide the separate CTA row */
  .construction-services-cta-row,
  .services-dropdowns-wrap {
    display: none;
  }

  .construction-services-cta-btn-inline,
  .services-dropdown-panel-inline {
    display: block;
  }

  .projects-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .project-category-card {
    min-height: 180px;
  }

  .project-category-content {
    min-height: 180px;
    padding: 1.5rem 1.25rem;
  }

  .project-category-title {
    font-size: 1.25rem;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  /* Homepage footer: force vertical stack and spacing on mobile (overrides desktop grid) */
  .home-footer .footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding-bottom: 2rem;
  }

  .home-footer .footer-links-col .footer-links-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .footer-bottom-inner {
    justify-content: center;
    text-align: center;
  }

  /* Homepage footer: center-align content on mobile for a cleaner look */
  .home-footer .footer-column {
    text-align: center;
  }

  .home-footer .footer-brand p {
    margin-left: auto;
    margin-right: auto;
  }

  .home-footer .footer-contact-row {
    justify-content: center;
  }

  .home-footer .footer-links-col .footer-links-group {
    align-items: center;
  }

  .home-footer .footer-links-col ul {
    align-items: center;
  }

  .home-footer .footer-social-center {
    margin-top: 1.4rem;
    margin-bottom: 1.6rem;
  }

  /* Platform-specific footer icon behavior on mobile. */
  body:not(.android-device) .footer-icon-mobile-emoji {
    display: inline;
  }

  body:not(.android-device) .footer-icon i.fa-mobile-screen-button {
    display: none;
  }

  .android-device .footer-icon-mobile-emoji {
    display: inline;
  }

  .android-device .footer-icon i.fa-mobile-screen-button {
    display: none;
  }
}

/* Floating brochure CTA — used on index.html only */
.brochure-fab {
  --brochure-fab-bg: linear-gradient(
    145deg,
    #0d8f45 0%,
    var(--green-main) 45%,
    #086632 100%
  );
  position: fixed;
  right: max(1.25rem, env(safe-area-inset-right, 0px));
  bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
  z-index: 45;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  color: #ffffff;
  background: transparent;
  box-shadow:
    0 4px 6px rgba(15, 23, 42, 0.06),
    0 16px 36px rgba(9, 110, 51, 0.42);
  /* Match .division-card hover motion on the homepage */
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  will-change: transform;
}

.brochure-fab:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow:
    0 24px 55px rgba(15, 23, 42, 0.16),
    0 18px 44px rgba(9, 110, 51, 0.38);
}

.brochure-fab:active {
  transform: translateY(-2px) scale(1);
}

.brochure-fab:focus {
  outline: none;
}

.brochure-fab:focus-visible {
  outline: 3px solid var(--yellow-accent);
  outline-offset: 3px;
}

.brochure-fab-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 1.08rem 0.55rem 0.72rem;
  border-radius: inherit;
  background: var(--brochure-fab-bg);
  overflow: hidden;
  transition: none;
  will-change: auto;
}

.brochure-fab-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0) 45%
  );
  pointer-events: none;
}

.brochure-fab-icon {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border-radius: 50%;
  font-size: 1rem;
  color: var(--green-main);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
}

/* Text ↔ logo crossfade: width matches copy (hidden ::before), height fixed so pill never jumps */
.brochure-fab-swap {
  --brochure-fab-slot-h: 2.5rem;
  --brochure-fab-fade: 0.85s;
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: max-content;
  max-width: min(100vw - 5.5rem, 18rem);
  height: var(--brochure-fab-slot-h);
}

.brochure-fab-swap::before {
  content: attr(data-brochure-swap-text);
  display: block;
  height: 0;
  overflow: hidden;
  visibility: hidden;
  white-space: nowrap;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.brochure-fab-label {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  max-width: 100%;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  white-space: nowrap;
  pointer-events: none;
  opacity: 1;
  will-change: opacity;
  transition: opacity var(--brochure-fab-fade) ease-in-out;
}

.brochure-fab-logo-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.15rem;
  pointer-events: none;
  opacity: 0;
  will-change: opacity;
  transition: opacity var(--brochure-fab-fade) ease-in-out;
  transform: translateX(-0.70rem);
}

.brochure-fab-logo {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 1px 2px rgba(15, 23, 42, 0.12));
}

.brochure-fab:hover .brochure-fab-label {
  opacity: 0;
}

.brochure-fab:hover .brochure-fab-logo-wrap {
  opacity: 1;
}

@media (max-width: 480px) {
  .brochure-fab-inner {
    gap: 0.55rem;
    padding: 0.5rem 0.98rem 0.5rem 0.62rem;
  }

  .brochure-fab-icon {
    width: 2.35rem;
    height: 2.35rem;
    font-size: 0.95rem;
  }

  .brochure-fab-swap {
    --brochure-fab-slot-h: 2.35rem;
  }

  .brochure-fab-swap::before {
    font-size: 0.85rem;
  }

  .brochure-fab-label {
    font-size: 0.85rem;
  }
}

/* ── Epson-style Solutions Grid (industrialservices.html) ── */

.epson-solutions-section {
  position: relative;
  overflow: hidden;
  padding: 4rem 0;
  background: #ffffff;
}

.epson-solutions-section + .epson-solutions-section {
  border-top: 1px solid rgba(11, 122, 59, 0.1);
}

.epson-solutions-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  filter: blur(0.4px) brightness(1);
  transition: opacity 0.5s ease, filter 0.5s ease;
  transform: translateZ(0);
  will-change: opacity;
  pointer-events: none;
  z-index: 0;
}

.epson-solutions-section.bg-active .epson-solutions-bg {
  opacity: 0.5;
  filter: blur(1px) brightness(1);
}

.epson-solutions-section.bg-switching .epson-solutions-bg {
  opacity: 0;
}


#electroless {
  overflow: visible;
}

.epson-solutions-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--green-main);
  margin: 0 0 0.5rem;
  position: relative;
  z-index: 1;
}

.epson-solutions-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0 0 2.2rem;
  max-width: 640px;
  position: relative;
  z-index: 1;
}

.epson-solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
  z-index: 1;
}

.epson-solution-card {
  position: relative;
  padding: 2rem 1.8rem;
  border: 1px solid rgba(11, 122, 59, 0.22);
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  transition: background 0.35s ease, box-shadow 0.35s ease, transform 0.25s ease;
  cursor: default;
}

.epson-solution-card + .epson-solution-card {
  margin-left: 0;
}

.epson-solution-card:nth-child(n+4) {
  margin-top: 0;
}

.epson-solution-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.epson-solution-card p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

.epson-solution-card:hover {
  background: rgba(255, 255, 255, 0.34);
  box-shadow: 0 12px 40px rgba(11, 122, 59, 0.12);
  transform: translateY(-2px);
  z-index: 2;
}

.epson-solution-card:hover h3 {
  color: var(--green-main);
}

/* 3-column variant for electroless (stacked rows for better bg photo visibility) */
.epson-solutions-grid--3 {
  grid-template-columns: 1fr;
  max-width: 480px;
}

.epson-solutions-grid--3 .epson-solution-card + .epson-solution-card {
  margin-left: 0;
  margin-top: -1px;
}

/* Electroless section: 6-box layout (3x2) */
#electroless .epson-solutions-grid--6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 0;
  max-width: none;
  margin: 0;
}

#electroless .epson-solution-card + .epson-solution-card {
  margin-top: 0;
}

#electroless .electroless-card {
  border-radius: 0;
  border: 1px solid rgba(11, 122, 59, 0.18);
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(11, 122, 59, 0.07);
  padding: 1rem;
}

#electroless .electroless-card--nickel {
  position: relative;
  z-index: 2;
}

#electroless .electroless-card:hover {
  transform: translateY(-3px);
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(11, 122, 59, 0.13);
}

#electroless .electroless-media {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: hidden;
  border: none;
  margin-bottom: 0.9rem;
  background: #e9edf0;
}

#electroless .electroless-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

#electroless .electroless-card h3 {
  margin-bottom: 0.45rem;
}

#electroless .electroless-card p {
  font-size: 0.84rem;
}

#electroless .electroless-variant-strip {
  position: static;
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: max-height 0.36s ease, opacity 0.28s ease, transform 0.32s ease;
}

#electroless .electroless-card--nickel:hover .electroless-variant-strip,
#electroless .electroless-card--nickel:focus-within .electroless-variant-strip {
  margin-top: 0.85rem;
  max-height: 260px;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#electroless .electroless-variant-card {
  margin: 0;
  padding: 0.45rem;
  border-radius: 10px;
  border: 1px solid rgba(11, 122, 59, 0.2);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: none;
  transform: none;
}

#electroless .electroless-variant-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(11, 122, 59, 0.12);
  background: #ffffff;
}

#electroless .electroless-variant-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  display: block;
  border-radius: 8px;
  background: #ffffff;
}

#electroless .electroless-variant-card h4 {
  margin: 0.4rem 0 0;
  font-size: 0.72rem;
  line-height: 1.3;
  color: var(--text-main);
  text-align: center;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Nickel variant sub-boxes (appear on hover, positioned to the right) */
.nickel-has-variants {
  position: relative;
  overflow: visible;
  width: 100%;
}

.nickel-variant-boxes {
  position: absolute;
  top: 0;
  left: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  gap: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.nickel-has-variants:hover .nickel-variant-boxes {
  opacity: 1;
  pointer-events: auto;
}

.nickel-variant-box {
  flex: 1;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.6rem;
  border: 1px solid rgba(11, 122, 59, 0.22);
  border-left: none;
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.nickel-variant-box:hover {
  background: rgba(255, 255, 255, 0.34);
  box-shadow: 0 12px 40px rgba(11, 122, 59, 0.12);
  z-index: 2;
}

.nickel-variant-box h3 {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.nickel-variant-box:hover h3 {
  color: var(--green-main);
}

@media (max-width: 900px) {
  .epson-solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .epson-solutions-grid--3 {
    grid-template-columns: 1fr;
  }
  .epson-solutions-title {
    font-size: 1.9rem;
  }

  .nickel-variant-boxes {
    position: static;
    height: auto;
    flex-direction: row;
    opacity: 0;
    pointer-events: none;
    margin-top: 0.75rem;
  }

  .nickel-has-variants:hover .nickel-variant-boxes,
  .nickel-has-variants.variants-open .nickel-variant-boxes {
    opacity: 1;
    pointer-events: auto;
  }

  .nickel-variant-box {
    aspect-ratio: 1;
  }

  #electroless .epson-solutions-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
  }

  #electroless .electroless-variant-strip {
    margin-top: 0.85rem;
    grid-template-columns: 1fr;
    max-height: none;
    opacity: 1;
    overflow: visible;
    pointer-events: auto;
    transform: none;
  }
}

@media (max-width: 720px) {
  .epson-solutions-section {
    padding: 2.5rem 0;
  }

  .epson-solutions-grid {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
  }

  .epson-solutions-grid--3 {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: none;
  }

  .epson-solution-card {
    padding: 1.4rem 1.2rem;
    border-radius: 0;
    border: 1px solid rgba(11, 122, 59, 0.22);
    background: rgba(255, 255, 255, 0.28);
    box-shadow: none;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
  }

  .epson-solution-card + .epson-solution-card {
    margin-left: 0;
    margin-top: 0;
  }

  .epson-solution-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  .epson-solution-card p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .epson-solutions-title {
    font-size: 1.7rem;
    text-align: center;
  }

  .epson-solutions-subtitle {
    text-align: center;
    font-size: 0.95rem;
  }

  .nickel-variant-box h3 {
    font-size: 0.7rem;
  }

  /* Electroless section mobile layout */
  #electroless .epson-solutions-grid--6 {
    grid-template-columns: 1fr;
    gap: 0;
  }

  #electroless .epson-solutions-grid--3 {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: none;
  }

  #electroless .electroless-card {
    padding: 1.2rem;
    border-radius: 0;
    box-shadow: none;
    border: 1px solid rgba(11, 122, 59, 0.22);
    background: rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
  }

  #electroless .electroless-media {
    aspect-ratio: 16 / 10;
    border-radius: 0;
  }

  /* Mobile: Display images inside epson-solution-card boxes */
  .epson-solution-card {
    display: flex;
    flex-direction: column;
    cursor: default;
    pointer-events: none;
  }

  /* Re-enable pointer events for card content */
  .epson-solution-card h3,
  .epson-solution-card p {
    pointer-events: auto;
  }

  /* Disable hover background layer on mobile */
  .epson-solutions-bg {
    display: none !important;
  }

  .epson-solutions-section.bg-active .epson-solutions-bg,
  .epson-solutions-section.bg-switching .epson-solutions-bg {
    opacity: 0 !important;
  }

  .epson-solution-card::before {
    content: "";
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 0;
    margin-bottom: 1rem;
    background-image: attr(data-bg url);
  }

  /* Individual card background images using data-bg attribute */
  .epson-solution-card[data-bg="images/1 Copper Plating.webp"]::before {
    background-image: url("images/1 Copper Plating.webp");
  }
  .epson-solution-card[data-bg="images/2 Nickel Plating.webp"]::before {
    background-image: url("images/2 Nickel Plating.webp");
  }
  .epson-solution-card[data-bg="images/3 Tin Plating.webp"]::before {
    background-image: url("images/3 Tin Plating.webp");
  }
  .epson-solution-card[data-bg="images/4 Palladium Plating.webp"]::before {
    background-image: url("images/4 Palladium Plating.webp");
  }
  .epson-solution-card[data-bg="images/5 Rhodium Plating.webp"]::before {
    background-image: url("images/5 Rhodium Plating.webp");
  }
  .epson-solution-card[data-bg="images/6 Gold Plating.webp"]::before {
    background-image: url("images/6 Gold Plating.webp");
  }
  .epson-solution-card[data-bg="images/Nickel Plating (Matte) High Phosphorus.png"]::before {
    background-image: url("images/Nickel Plating (Matte) High Phosphorus.png");
  }
  .epson-solution-card[data-bg="images/TIn Plating (Matte Finish).png"]::before {
    background-image: url("images/TIn Plating (Matte Finish).png");
  }
  .epson-solution-card[data-bg="images/Gold Plating (Matte).png"]::before {
    background-image: url("images/Gold Plating (Matte).png");
  }
  .epson-solution-card[data-bg="images/Nickel Plating White Base (Matte).png"]::before {
    background-image: url("images/Nickel Plating White Base (Matte).png");
  }
  .epson-solution-card[data-bg="images/White Nickel Plating (Matte).png"]::before {
    background-image: url("images/White Nickel Plating (Matte).png");
  }
  .epson-solution-card[data-bg="images/White Nickel Plating (Matte) (2).png"]::before {
    background-image: url("images/White Nickel Plating (Matte) (2).png");
  }
}
