/* ============================================================
   RIDHI SIDHI MINERALS (RSM)
   components.css — All section & component styles
   ============================================================ */

/* ============================================================
   1. HEADER / NAVIGATION
   ============================================================ */
/* Top blur strip — blurs content visible in the gap above navbar */
.top-blur-strip {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 12px;
  z-index: 1001;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: transparent;
  pointer-events: none;
}

.header {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 20px);
  max-width: 1200px;
  z-index: 1000;
  height: var(--nav-height);
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid transparent;
  border-radius: 50px;
  box-shadow: none;
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

.header.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  border: 1px solid rgba(0,0,0,0.06);
  border-top: 1px solid rgba(255,255,255,0.8);
  box-shadow: 0 4px 30px rgba(0,0,0,0.12), inset 0 1px 0 rgba(255,255,255,0.5);
}

.nav-container {
  display: flex;
  align-items: center;
  height: var(--nav-height);
  max-width: 100%;
  margin: 0;
  padding: 0 1.25rem 0 1.75rem;
  gap: 1.25rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-img-wrap {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
}

.logo-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Header wordmark override — header-only, footer keeps original icon+text */
.header .logo-img-wrap {
  width: auto;
  height: 48px;
  display: flex;
  align-items: center;
  position: relative;
}

/* Stack both logo variants — light visible by default (over hero), dark visible when scrolled */
.header .logo-img-wrap .logo-img {
  width: auto;
  height: 100%;
  display: block;
  transition: opacity 0.35s ease;
}

.header .logo-img-wrap .logo-img--dark {
  position: absolute;
  inset: 0;
  margin: auto;
  opacity: 0;
}

.header.scrolled .logo-img-wrap .logo-img--light {
  opacity: 0;
}

.header.scrolled .logo-img-wrap .logo-img--dark {
  opacity: 1;
}

.header .logo-img-wrap img {
  width: auto;
  height: 100%;
}

.logo-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.logo-name {
  font-family: 'Raleway', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--clr-primary);
  letter-spacing: -0.01em;
}

.logo-name .amp {
  font-family: inherit;
  font-style: normal;
  font-weight: inherit;
  font-size: inherit;
  color: inherit;
}

.header.scrolled .logo-name {
  color: var(--clr-primary);
}

/* Desktop nav links */
.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  justify-content: flex-end;
}

.nav-item { position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.7rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--clr-text-body);
  text-decoration: none;
  transition: color var(--transition-base);
  white-space: nowrap;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0.875rem;
  right: 0.875rem;
  height: 2px;
  background: var(--clr-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
  border-radius: var(--radius-pill);
}

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

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-link .chevron {
  transition: transform var(--transition-base);
}

.nav-item:hover .nav-link .chevron {
  transform: rotate(180deg);
}

/* Dropdown — Standard */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  min-width: 240px;
  padding: 0.75rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity var(--transition-base),
    visibility var(--transition-base),
    transform var(--transition-base);
  z-index: 100;
}
/* Invisible bridge to prevent dropdown from closing when moving mouse */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Mega Menu — Products */
.dropdown-menu.mega-menu {
  min-width: 680px;
  padding: 0;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "header header"
    "left   right"
    "footer footer";
  overflow: visible;
}
.dropdown-menu.mega-menu .mega-col,
.dropdown-menu.mega-menu .mega-header,
.dropdown-menu.mega-menu .mega-footer {
  overflow: hidden;
}

.nav-item:hover .dropdown-menu.mega-menu {
  transform: translateX(-50%) translateY(0);
}

.mega-header {
  grid-area: header;
  padding: 1.25rem 1.25rem 0.25rem;
}

.mega-col {
  padding: 0.5rem 1.25rem 1rem;
}
.mega-col--left  { grid-area: left;  border-right: 1px solid var(--clr-border); }
.mega-col--right { grid-area: right; }

.mega-footer {
  grid-area: footer;
  padding: 0.875rem 1.25rem 1.125rem;
  border-top: 1px solid var(--clr-border);
  background: var(--clr-bg-light);
}
.mega-footer-items {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.25rem;
}
.mega-footer-items .dropdown-item {
  flex: 1;
}

.mega-col-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--clr-text-muted);
  margin-bottom: 0.5rem;
  padding: 0 0.5rem;
}

.mega-col .dropdown-item,
.mega-footer .dropdown-item {
  font-size: 0.9rem;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 0.625rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--clr-text-body);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast), color var(--transition-fast);
  text-decoration: none;
}

.dropdown-item:hover {
  background: var(--clr-bg-light);
  color: var(--clr-primary);
}

.dropdown-divider {
  height: 1px;
  background: var(--clr-border);
  margin: 0.5rem 0;
}

.d-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--clr-bg-light);
  border-radius: var(--radius-sm);
  color: var(--clr-accent);
  flex-shrink: 0;
  transition: background var(--transition-fast);
}

.dropdown-item:hover .d-icon {
  background: rgba(230,168,23,0.1);
}

/* Nav CTA */
.nav-cta { flex-shrink: 0; margin-left: auto; padding-right: 0.25rem; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
  cursor: pointer;
  margin-left: auto;
}

.hamburger:hover { background: var(--clr-bg-light); }

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: #fff;
  border-radius: var(--radius-pill);
  transition: transform var(--transition-base), opacity var(--transition-base), background var(--transition-base);
  transform-origin: center;
}

.header.scrolled .hamburger span {
  background: var(--clr-text-dark);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(100vh - var(--nav-height));
  height: calc(100dvh - var(--nav-height));
  background: var(--clr-white);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 1rem 1.5rem 2rem;
  overflow-y: auto;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform var(--transition-base), visibility var(--transition-base);
}

.mobile-nav.open { transform: translateX(0); visibility: visible; }

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--clr-text-dark);
  border-bottom: 1px solid var(--clr-border);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.mobile-nav-link:hover { color: var(--clr-accent); }

/* Dropdown group */
.mobile-nav-group {
  border-bottom: 1px solid var(--clr-border);
}
.mobile-nav-group .mobile-nav-parent {
  width: 100%;
  background: none;
  border: none;
  border-bottom: none;
  cursor: pointer;
  font-family: inherit;
}
.mobile-nav-chev {
  transition: transform 0.25s ease;
}
.mobile-nav-parent[aria-expanded="true"] .mobile-nav-chev {
  transform: rotate(180deg);
}
.mobile-nav-dropdown {
  display: none;
  flex-direction: column;
  padding: 0 0 0.5rem 1rem;
}
.mobile-nav-dropdown.open {
  display: flex;
}
.mobile-nav-dropdown .mobile-nav-sub {
  display: flex;
  padding: 0.6rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--clr-text-body);
  border-bottom: none;
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.mobile-nav-dropdown .mobile-nav-sub:hover {
  background: var(--clr-bg-light);
  color: var(--clr-primary);
}

.mobile-nav-cta {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ============================================================
   2. HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #0a1a2e;
  background-image:
    linear-gradient(90deg, rgba(0, 15, 35, 0.92) 0%, rgba(0, 20, 45, 0.70) 25%, rgba(0, 20, 45, 0.20) 45%, transparent 60%),
    image-set(
      url('../img/hero-bg.avif') type('image/avif'),
      url('../img/hero-bg.jpg') type('image/jpeg')
    );
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 80%, rgba(0, 10, 25, 0.22) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 20, 40, 0.55);
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
  z-index: 1;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

.hero #hero-3d-canvas { display: none; }

#hero-3d-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
#hero-3d-canvas canvas {
  display: block;
  width: 100%;
  height: 100%;
}


.hero-particles { display: none; }

.hero-grid-overlay { display: none; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: start;
  align-items: center;
  gap: 1.5rem;
  position: relative;
  z-index: 10;
  padding: var(--nav-height) 1.5rem 5rem;
  min-height: 100vh;
  max-width: 1400px;
  margin: 0 auto;
}

/* ============================================================
   HERO LOGO DISPLAY — Interactive dot-matrix canvas
   ============================================================ */
.hero-logo-display {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 700px;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

#hero-logo-canvas {
  width: 100%;
  height: 100%;
  cursor: crosshair;
}

.hero-logo-fallback {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 75%;
  height: auto;
  opacity: 0;
  pointer-events: none;
  display: none;
  filter: drop-shadow(0 4px 24px rgba(0,51,102,0.12));
}

/* JS adds this class on canvas error to show fallback — CSS dot-matrix effect */
.hero-logo-fallback.show-fallback {
  display: block;
  opacity: 1;
  animation: fallbackFadeIn 1.5s ease-out;
  /* CSS dot-matrix mask — simulates the canvas dot effect */
  -webkit-mask-image: radial-gradient(circle 0.9px at center, black 100%, transparent 0);
  -webkit-mask-size: 3px 3px;
  -webkit-mask-repeat: repeat;
  mask-image: radial-gradient(circle 0.9px at center, black 100%, transparent 0);
  mask-size: 3px 3px;
  mask-repeat: repeat;
}

@keyframes fallbackFadeIn {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.85); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    overflow: visible;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: calc(var(--nav-height) + 5rem);
    min-height: auto;
  }
  .hero-logo-display {
    max-width: 340px;
    margin: 0 auto;
  }
}

.hero-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: calc(var(--nav-height) + 5rem) 1.5rem 8rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-content {
  max-width: 620px;
  position: relative;
  z-index: 2;
  padding: 0;
  text-align: left;
  margin: 0;
}

.hero-content::before {
  display: none;
}

.hero-subtitle {
  margin-left: 0;
  margin-right: 0;
}

.hero-actions {
  justify-content: flex-start;
}

/* Eyebrow */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.2px;
  color: var(--clr-accent);
  text-shadow: 0 1px 8px rgba(0, 10, 25, 0.6);
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease 0.1s, transform 0.5s ease 0.1s;
}

.hero-eyebrow::before {
  display: none;
}

.hero-eyebrow.animate { opacity: 1; transform: translateY(0); }

.hero-eyebrow-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--clr-accent);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

/* H1 */
.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.4rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: 0.02em;
  word-spacing: 0.08em;
  margin-bottom: 1.75rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease 0.25s, transform 0.6s ease 0.25s;
  color: #ffffff;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.85),
    0 2px 12px rgba(0, 10, 25, 0.55);
}

.hero-title.animate { opacity: 1; transform: translateY(0); }
.hero-title .accent,
.hero-title .text-accent { color: #FFFFFF; white-space: nowrap; }

/* Allow accent phrases to wrap on very narrow viewports — prevents overflow
   when the nowrap span is longer than the viewport (320–360px) */
@media (max-width: 400px) {
  .hero-title .accent,
  .hero-title .text-accent { white-space: normal; }
}


/* Subtitle */
.hero-subtitle {
  font-size: 1.18rem;
  color: #ffffff;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.01em;
  word-spacing: 0.04em;
  max-width: 560px;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease 0.4s, transform 0.6s ease 0.4s;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.8),
    0 2px 10px rgba(0, 10, 25, 0.5);
}

.hero-subtitle.animate { opacity: 1; transform: translateY(0); }

/* Actions */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease 0.55s, transform 0.6s ease 0.55s;
}

.hero-actions.animate { opacity: 1; transform: translateY(0); }

/* Stats bar */
.hero-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: linear-gradient(180deg, rgba(0, 20, 45, 0.62) 0%, rgba(0, 15, 35, 0.72) 100%);
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  border-top: 1px solid rgba(230, 168, 23, 0.4);
  box-shadow: 0 -4px 24px rgba(0, 10, 25, 0.25);
  padding: 0.85rem 0;
}

.hero-stats-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.hero-stat {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.25rem 1rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.hero-stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.14) 50%, transparent 100%);
}

.hero-stat.animate { opacity: 1; transform: translateY(0); }

.hero-stat-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.05rem;
  font-weight: 800;
  color: var(--clr-accent, #E6A817);
  line-height: 1;
  letter-spacing: -0.03em;
  display: block;
  text-shadow: 0 0 20px rgba(230, 168, 23, 0.3);
}

.hero-stat-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  text-transform: uppercase;
  letter-spacing: 1.4px;
  margin-top: 0.35rem;
  line-height: 1.25;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* ============================================================
   3. MARQUEE TICKER
   ============================================================ */
.marquee-section {
  background: var(--clr-primary-dark);
  padding: 0.875rem 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 36s linear infinite;
}

.marquee-track:hover { animation-play-state: paused; }

.marquee-content {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.marquee-item {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.7);
  padding: 0 2rem;
}

.marquee-sep {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--clr-accent);
  border-radius: 50%;
  flex-shrink: 0;
  vertical-align: middle;
}

/* ============================================================
   4. ABOUT SECTION
   ============================================================ */
.about-section {
  padding: 6rem 0 6.5rem;
  background: var(--clr-white);
}

/* Override container width ONLY for the about section — content
   extends closer to viewport edges for a premium, editorial feel. */
.about-section > .container {
  max-width: 1480px;
  padding-left: 2rem;
  padding-right: 2rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

.about-image-wrap {
  position: relative;
  background: transparent;
  border-radius: 22px;
  overflow: visible;            /* let the 1989 badge overflow */
  box-shadow:
    0 30px 80px rgba(0, 19, 41, 0.18),
    0 12px 32px rgba(0, 19, 41, 0.10);
}

.about-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #001329;
  border-radius: 22px;
  display: block;
}

video.about-img {
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
  filter: brightness(1.02) contrast(1.08) saturate(1.12);
}

.about-img-overlay {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, transparent 70%, rgba(0,19,41,0.15) 100%);
  pointer-events: none;
}

.about-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--clr-accent);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: var(--shadow-lg);
  z-index: 2;
  border: 3px solid var(--clr-white);
}

.about-badge-year {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
  color: var(--clr-white);
}

.about-badge-label {
  font-size: 0.58rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.85);
  margin-top: 2px;
}

/* Full-width heading above the grid */
.about-header {
  margin-bottom: 4rem;
}
.about-header--center {
  text-align: center;
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 4rem;
}
.about-header--center .eyebrow { justify-content: center; }
.about-header--center .section-title {
  margin: 0 auto;
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.about-content { max-width: 100%; padding-right: .5rem; }
.about-content h2 { margin-bottom: 1.125rem; }
.about-content p  {
  margin-bottom: 1.1rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--clr-text-body);
}
.about-content p:last-child { margin-bottom: 0; }

.about-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--clr-text-dark);
}

.about-feature-icon {
  width: 22px;
  height: 22px;
  background: rgba(230,168,23,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-accent);
  flex-shrink: 0;
  margin-top: 1px;
}

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

/* Bottom footer row — centered pointers + CTA */
.about-footer {
  margin-top: 4.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(0, 19, 41, 0.08);
}

.about-features--center {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 1rem 2rem;
  margin: 0;
  max-width: 100%;
}
.about-features--center .about-feature-item {
  font-size: 0.95rem;
  align-items: center;
  font-weight: 600;
  letter-spacing: .005em;
  white-space: nowrap;
}
.about-features--center .about-feature-icon {
  width: 26px;
  height: 26px;
}

/* Wrap again on smaller screens */
@media (max-width: 1100px) {
  .about-features--center {
    flex-wrap: wrap;
    max-width: 1100px;
    gap: 1rem 2.5rem;
  }
}

.about-actions--center {
  justify-content: center;
  margin-top: .75rem;
  gap: 1.15rem;
}

/* ============================================================
   5. PRODUCTS SECTION
   ============================================================ */
.products-section {
  padding: var(--section-py) 0;
  background: var(--clr-bg-light);
}

.products-top-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.products-bottom-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: calc((100% - 1.5rem) * 2/3 + 1.5rem);
  margin: 0 auto;
}

/* NOTE: Legacy .product-card-* rules removed.
   The current product cards on products.html use BEM naming
   (.product-card__img-wrap, .product-card__body, etc.) and are
   fully styled in the <style> block inside products.html.
   The old kebab-case rules here were orphaned and were fighting
   with the new hover effect via an unscoped .product-card:hover. */

/* ============================================================
   6. INDUSTRIES SECTION
   ============================================================ */
.industries-section {
  position: relative;
  padding: 6rem 0 4.5rem;
  background: #fafbfc;
  overflow: hidden;
}
.industries-section .container { position: relative; z-index: 2; }

.industries-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
}
.industries-bg.active { opacity: 1; }
.industries-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(27, 58, 92, 0.1);
}

/* Text color switch when bg image is active */
.industries-section.has-bg .section-title { color: #fff; }
.industries-section.has-bg .section-desc { color: rgba(255,255,255,0.8); }
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem 1.25rem;
  padding: 1.5rem 0;
}

.industry-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  padding: 1.1rem 1rem;
  font-size: 1.05rem;
  font-weight: 600;
  white-space: nowrap;
  color: #1B3A5C;
  background: #fff;
  border: 1.5px solid #e0e4ea;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.industry-tile:hover {
  background: #1B3A5C;
  color: #fff;
  border-color: #1B3A5C;
  box-shadow: 0 4px 16px rgba(27, 58, 92, 0.2);
  transform: translateY(-2px);
}

/* Glass tiles when bg image is active */
.industries-section.has-bg .industry-tile {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.industries-section.has-bg .industry-tile:hover {
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border-color: rgba(200, 150, 62, 0.6);
  color: #fff;
  transform: translateY(-2px);
}

/* ============================================================
   7. PROCESS SECTION
   ============================================================ */
.process-section {
  padding: var(--section-py) 0;
  background: var(--clr-bg-light);
}

.process-wrapper {
  position: relative;
  margin-top: 3rem;
}

.process-connector {
  position: absolute;
  top: 38px;
  left: calc(10% + 38px);
  right: calc(10% + 38px);
  height: 2px;
  background: var(--clr-border);
  z-index: 0;
  overflow: hidden;
}

.process-connector-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--clr-accent), var(--clr-cyan));
  transition: width 1.8s cubic-bezier(0.4,0,0.2,1) 0.4s;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
  z-index: 1;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 0.75rem;
}

.process-step-number {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--clr-white);
  border: 2px solid var(--clr-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--clr-text-muted);
  box-shadow: var(--shadow-sm);
  transition:
    border-color var(--transition-base),
    color var(--transition-base),
    box-shadow var(--transition-base);
  flex-shrink: 0;
}

.process-step.active .process-step-number {
  border-color: var(--clr-accent);
  color: var(--clr-accent);
  box-shadow: 0 0 0 6px rgba(230,168,23,0.1), var(--shadow-md);
}

.process-step-icon {
  color: var(--clr-text-muted);
  margin-bottom: 0.75rem;
  transition: color var(--transition-base);
}

.process-step.active .process-step-icon { color: var(--clr-accent); }

.process-step-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--clr-text-dark);
  margin-bottom: 0.375rem;
}

.process-step-desc {
  font-size: 0.8125rem;
  color: var(--clr-text-muted);
  line-height: 1.5;
}

/* ============================================================
   8. QUALITY SECTION
   ============================================================ */
.quality-section {
  padding: var(--section-py) 0;
  background: var(--clr-white);
}

.quality-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.quality-side-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--clr-text-dark);
  margin-bottom: 0.5rem;
}

.quality-side-desc {
  color: var(--clr-text-muted);
  font-size: 0.9375rem;
  margin-bottom: 2rem;
}

.quality-metrics {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.quality-metric {}

.quality-metric-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.quality-metric-label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--clr-text-dark);
}

.quality-metric-value {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--clr-accent);
}

.quality-bar-track {
  height: 8px;
  background: var(--clr-bg-light);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.quality-bar-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--clr-primary), var(--clr-accent));
  border-radius: var(--radius-pill);
  transition: width 1.2s cubic-bezier(0.4,0,0.2,1);
}

/* Cert cards */
.cert-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.cert-card {
  padding: 1.5rem;
  background: var(--clr-bg-light);
  border-radius: var(--radius-lg);
  border: 1px solid var(--clr-border);
  transition:
    border-color var(--transition-base),
    transform var(--transition-base),
    box-shadow var(--transition-base);
}

.cert-card:hover {
  border-color: var(--clr-accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.cert-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.cert-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--clr-text-dark);
  margin-bottom: 0.375rem;
}

.cert-desc {
  font-size: 0.8125rem;
  color: var(--clr-text-muted);
  line-height: 1.5;
}

/* Unified Quality & Cert Grid — 1 metrics box + 4 cert cards */
.qc-unified-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.25rem;
}

/* Metrics box spans left column, full height */
.qc-card--metrics-box {
  grid-row: 1 / 3;
  grid-column: 1;
  text-align: left;
}

.qc-card {
  padding: 1.5rem;
  background: var(--clr-bg-light);
  border-radius: var(--radius-lg);
  border: 1px solid var(--clr-border);
  transition: border-color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
}

.qc-card:hover {
  border-color: var(--clr-accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.qc-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.qc-card-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--clr-text-dark);
  margin-bottom: 0.375rem;
}

.qc-card-desc {
  font-size: 0.8125rem;
  color: var(--clr-text-muted);
  line-height: 1.5;
}

/* Spec list inside metrics box */
.qc-spec-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.qc-spec-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--clr-border);
  font-size: 0.875rem;
  color: var(--clr-text-body);
}

.qc-spec-list li:last-child {
  border-bottom: none;
}

.qc-spec-list li strong {
  font-weight: 700;
  color: var(--clr-accent);
  font-size: 0.9375rem;
}

@media (max-width: 1024px) {
  .qc-unified-grid {
    grid-template-columns: 1fr 1fr;
  }
  .qc-card--metrics-box {
    grid-row: auto;
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .qc-unified-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .qc-card {
    padding: 1.25rem;
  }
}

/* ============================================================
   9. WHY CHOOSE US
   ============================================================ */
.why-section {
  padding: var(--section-py) 0;
  background: var(--clr-bg-light);
}

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

.feature-card {
  padding: 2rem 1.75rem;
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--clr-border);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(230,168,23,0.3);
}

.feature-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.feature-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--clr-text-dark);
  margin-bottom: 0.5rem;
}

.feature-desc {
  font-size: 0.875rem;
  color: var(--clr-text-muted);
  line-height: 1.65;
}

/* ============================================================
   10. CTA SECTION
   ============================================================ */
.cta-section {
  position: relative;
  padding: 3.5rem 0 2.5rem;
  background: linear-gradient(135deg, #f5f7fa 0%, #eef1f5 50%, #f0f2f6 100%);
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 50%, rgba(0,85,165,0.05) 0%, transparent 60%),
    radial-gradient(ellipse at 85% 20%, rgba(230,168,23,0.06) 0%, transparent 55%);
  pointer-events: none;
}

.cta-bg-orb--1,
.cta-bg-orb--2 {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.cta-bg-orb--1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0,85,165,0.06) 0%, transparent 70%);
  top: -150px;
  left: -100px;
}

.cta-bg-orb--2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(230,168,23,0.05) 0%, transparent 70%);
  bottom: -100px;
  right: -80px;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  color: var(--clr-primary-dark);
  margin-bottom: 1rem;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
}

.cta-content p {
  color: var(--clr-text);
  font-size: 1.0625rem;
  margin-bottom: 2.25rem;
}

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

.cta-contact-strip {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(0,31,63,0.1);
}

.cta-contact-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--clr-text-light);
  font-size: 0.9375rem;
  text-decoration: none;
  transition: color var(--transition-fast);
  letter-spacing: 0.02em;
  word-spacing: 0.1em;
}

.cta-contact-item:hover { color: var(--clr-primary); }

.cta-contact-icon {
  width: 36px;
  height: 36px;
  background: rgba(0,85,165,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.cta-contact-item:hover .cta-contact-icon {
  background: rgba(230,168,23,0.18);
  color: var(--clr-accent);
}

/* ============================================================
   11. FOOTER
   ============================================================ */
.footer {
  background: #001a33;
  color: rgba(255,255,255,0.65);
  padding: 2.5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo {
  margin-bottom: 1rem;
  
  display: inline-flex;
  padding: 0.5rem 1rem 0.5rem 0.5rem;
  border-radius: 12px;
}
.footer-brand .logo-img-wrap {
  width: 56px;
  height: 56px;
}
.footer-brand .logo-name { color: var(--clr-primary); white-space: nowrap; font-size: 0.95rem; }
.footer-brand .logo-tagline { color: rgba(0,34,68,0.5); }

.footer-brand-desc {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.5rem;
}

.footer-cert-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  padding: 0.375rem 0.625rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.65);
}

.footer-col-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  list-style: none;
}

.footer-links li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.52);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-links li a:hover { color: var(--clr-accent); }

.footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.52);
  text-decoration: none;
  transition: color var(--transition-fast);
  line-height: 1.5;
  white-space: nowrap;
}
.footer-contact-item:first-child {
  white-space: normal;
}

.footer-contact-item:hover { color: rgba(255,255,255,0.85); }

.footer-contact-item a {
  display: inline;
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}
.footer-contact-item a:hover { color: var(--clr-accent); }

.footer-mobile-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.35em;
  row-gap: 0.2rem;
  white-space: nowrap;
}
.footer-mobile-grid > span:empty { display: block; }

.footer-contact-icon {
  color: var(--clr-accent);
  flex-shrink: 0;
  min-width: 16px;
  margin-top: 2px;
}

.footer-bottom {
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copyright {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.38);
}

.footer-legal,
.footer-legal .footer-legal-list,
.footer-legal ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  justify-content: center;
}

.footer-legal li { list-style: none; margin: 0; padding: 0; }

.footer-legal a {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.38);
  text-decoration: none;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.footer-legal a:hover { color: rgba(255,255,255,0.7); }

/* ============================================================
   12. TITLE UNDERLINE DECORATION
   ============================================================ */
.title-underline {
  position: relative;
  display: inline-block;
}

.title-underline::after {
  display: none;
  transition: width 0.6s cubic-bezier(0.4,0,0.2,1);
}

.title-underline.underline-visible::after { width: 100%; }

/* ============================================================
   13. RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .products-bottom-grid { max-width: 100%; }
  .industries-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid { gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 1024px) {
  .products-top-grid  { grid-template-columns: repeat(2, 1fr); }
  .products-bottom-grid { grid-template-columns: repeat(2, 1fr); max-width: 100%; }
  .process-steps { grid-template-columns: repeat(3, 1fr); }
  .process-connector { display: none; }
  .quality-grid { gap: 3rem; }
}

@media (max-width: 768px) {
  /* Nav */
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .header {
    /* Mobile: full-width flat top bar — platform convention */
    left: 0;
    top: 0;
    transform: none;
    width: 100%;
    max-width: 100%;
    height: 60px;
    border-radius: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px) saturate(1.6);
    -webkit-backdrop-filter: blur(20px) saturate(1.6);
    border: none;
    border-bottom: 1px solid rgba(0, 20, 45, 0.08);
    box-shadow: 0 2px 10px rgba(0, 20, 45, 0.05);
  }

  /* Compact nav container on mobile */
  .nav-container { height: 60px; padding: 0 1rem; }

  /* Mobile-nav dropdown lines up with the 60px flat bar */
  .mobile-nav {
    top: 60px;
    height: calc(100vh - 60px);
    height: calc(100dvh - 60px);
  }

  /* Mobile: hide the top blur strip — looks weird above the solid white pill */
  .top-blur-strip { display: none; }

  /* Mobile: always show dark (colored) logo, hide light variant */
  .header .logo-img-wrap .logo-img--light { opacity: 0; }
  .header .logo-img-wrap .logo-img--dark  { opacity: 1; }

  /* Mobile: hamburger bars always dark on the white pill */
  .hamburger span { background: var(--clr-text-dark); }

  .nav-container {
    padding: 0 1rem;
    gap: 0.75rem;
  }

  .logo-img-wrap {
    width: 40px;
    height: 40px;
  }

  .header .logo {
    margin-right: 0;
  }

  .header .logo-img-wrap {
    width: auto;
    height: 44px;
  }

  .logo-name {
    font-size: 0.85rem;
  }

  .logo-tagline {
    font-size: 0.55rem;
    letter-spacing: 1px;
  }

  /* Hero — cleaner mobile overlay: lighter at top (sky visible), richer navy at bottom for content readability */
  .hero {
    background-image:
      linear-gradient(180deg, rgba(0, 15, 35, 0.25) 0%, rgba(0, 20, 45, 0.58) 45%, rgba(0, 10, 25, 0.85) 100%),
      image-set(
        url('../img/hero-bg.avif') type('image/avif'),
        url('../img/hero-bg.jpg') type('image/jpeg')
      );
    background-position: center 35%;
    background-size: cover;
  }

  .hero-container {
    padding: calc(var(--nav-height) + 2rem) 1.25rem 5rem;
  }

  .hero-title {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
    color: #ffffff !important;
    text-shadow:
      0 1px 3px rgba(0, 0, 0, 0.85),
      0 2px 10px rgba(0, 10, 25, 0.6);
  }

  .hero-subtitle {
    font-size: 0.95rem;
    color: #ffffff !important;
    font-weight: 500;
    text-shadow:
      0 1px 3px rgba(0, 0, 0, 0.85),
      0 2px 8px rgba(0, 10, 25, 0.55);
  }

  .hero-eyebrow {
    color: var(--clr-accent) !important;
    text-shadow:
      0 1px 3px rgba(0, 0, 0, 0.85),
      0 2px 6px rgba(0, 10, 25, 0.6);
  }

  /* Mobile hero-stats: LIGHT variant — creamy white background with navy text */
  .hero-stats {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(246, 247, 248, 0.98) 100%);
    backdrop-filter: blur(22px) saturate(1.4);
    -webkit-backdrop-filter: blur(22px) saturate(1.4);
    border-top: 1px solid rgba(230, 168, 23, 0.55);
    box-shadow: 0 -4px 24px rgba(0, 10, 25, 0.08);
  }

  .hero-stats-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 0.5rem;
  }

  .hero-stat {
    padding: 0.4rem 0.5rem;
  }

  .hero-stat-number {
    color: var(--clr-primary);
    text-shadow: none;
  }

  .hero-stat-label {
    color: var(--clr-text-body);
    text-shadow: none;
  }

  /* Remove pseudo dividers from all stats on tablet/mobile and re-add only for odd children (darker for light bg) */
  .hero-stat:not(:last-child)::after { display: none; }
  .hero-stat:nth-child(odd)::after {
    display: block;
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(0, 20, 45, 0.12), transparent);
  }

  /* Section titles */
  .section-title {
    font-size: 1.5rem;
  }

  .eyebrow {
    font-size: 0.65rem;
  }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-img  { height: auto; aspect-ratio: 16 / 9; }
  .about-badge { right: -1rem; bottom: -1rem; }
  .about-content { max-width: 100%; }

  /* Products */
  .products-top-grid    { grid-template-columns: 1fr; }
  .products-bottom-grid { grid-template-columns: 1fr; }

  /* Process */
  .process-steps {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Connector line hidden on mobile */
  .process-connector { display: none; }

  /* 2-column grid: [number] | [title stacked on desc] */
  .process-step {
    display: grid;
    grid-template-columns: 56px 1fr;
    grid-template-areas:
      "num title"
      "num desc";
    column-gap: 1rem;
    row-gap: 0.15rem;
    align-items: center;
    padding: 0 0.5rem;
    text-align: left;
  }

  .process-step-number {
    grid-area: num;
    width: 56px;
    height: 56px;
    font-size: 1rem;
    margin: 0;
    align-self: center;
    justify-self: center;
    flex-shrink: 0;
  }

  .process-step-icon { display: none; }

  .process-step-title {
    grid-area: title;
    margin: 0;
    align-self: end;
    line-height: 1.25;
  }

  .process-step-desc {
    grid-area: desc;
    margin: 0;
    align-self: start;
    line-height: 1.45;
  }

  /* Industries */
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }
  .industry-tile {
    padding: 0.65rem 0.6rem;
    font-size: 0.78rem;
    white-space: normal;
    border-radius: 12px;
    min-height: 44px;
  }

  /* Quality */
  .quality-grid { grid-template-columns: 1fr; }
  .cert-grid    { grid-template-columns: 1fr; }

  /* Features */
  .features-grid { grid-template-columns: 1fr; }

  /* CTA */
  .cta-contact-strip { gap: 1.5rem; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* About section — reduce oversized padding on mobile */
  .about-section {
    padding: 3rem 0 3.5rem;
  }
  .about-section > .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .about-header {
    margin-bottom: 2rem;
  }
  .about-header--center {
    margin-bottom: 2rem;
  }
  .about-footer {
    margin-top: 2.5rem;
    padding-top: 2rem;
  }

  /* About features center row — left-align on mobile */
  .about-features--center {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.75rem;
  }
  .about-features--center .about-feature-item {
    white-space: normal;
    font-size: 0.85rem;
  }

  /* Hero grid — reduce left padding on hero-content accent bar */
  .hero-content {
    padding-left: 1.75rem;
  }
  .hero-content::before {
    width: 2px;
  }

  /* Hero-grid layout adjustments for mobile */
  .hero-grid {
    padding-bottom: 3rem;
  }

  /* Leadership grid — stack to single column (overrides inline style) */
  .leadership-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  /* Leader card spacing */
  .leader-card {
    padding: 1.25rem 1.25rem 1.15rem;
  }

  /* Buttons — ensure touch-friendly 44px minimum tap targets */
  .btn {
    min-height: 44px;
    padding: 0.7rem 1.25rem;
  }
  .btn--sm {
    min-height: 44px;
    padding: 0.5rem 1rem;
  }

  /* Footer contact item — allow wrapping on narrow screens */
  .footer-contact-item {
    white-space: normal;
  }

  /* CTA section — reduce padding */
  .cta-section {
    padding: 2.5rem 0 2rem;
  }

  /* Industries section — reduce padding */
  .industries-section {
    padding: 3rem 0 2.5rem;
  }

  /* Process section — reduce top margin on wrapper */
  .process-wrapper {
    margin-top: 1.5rem;
  }

  /* Page hero — adjust for mobile */
  .page-hero {
    padding: calc(var(--nav-height) + 1.5rem) 0 1.5rem;
  }

  /* Spec tables — horizontal scroll on narrow screens */
  .specs-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Mobile nav — ensure touch targets are large enough */
  .mobile-nav-link {
    min-height: 44px;
    padding: 0.875rem 0;
  }
  .mobile-nav-sub li a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  /* Marquee — reduce size on mobile */
  .marquee-item {
    font-size: 0.7rem;
    padding: 0 1.25rem;
  }

  /* WhatsApp float — slightly smaller on mobile to save space */
  .whatsapp-float {
    width: 48px;
    height: 48px;
    bottom: 1.25rem;
    right: 1.25rem;
  }
  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }

  /* Back to top — reposition above chatbot (6.5rem + 56px + gap) */
  #back-to-top {
    bottom: 10.75rem;
    right: 1.25rem;
  }

  /* Orb carousel — tighter spacing */
  .orb-carousel-track {
    gap: 1.5rem;
    padding: 0.75rem 1rem;
  }

  /* Section header desc — full width on mobile */
  .section-header .section-desc {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  /* .header inherits full-width flat from the 768px block — no override needed */

  .logo-name {
    font-size: 0.78rem;
  }

  .logo-tagline {
    display: none;
  }

  .hero-container {
    padding: calc(var(--nav-height) + 1.5rem) 1rem 4rem;
  }

  .hero-title {
    font-size: clamp(1.4rem, 6vw, 1.85rem);
    margin-bottom: 0.5rem;
  }

  .hero-eyebrow {
    margin-bottom: 0.5rem;
  }

  .hero-subtitle {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 0.5rem;
    line-height: 1.55;
  }

  .hero-actions { flex-direction: column; align-items: stretch; gap: 0.5rem; }
  .hero-actions .btn,
  .hero-actions .btn--lg { width: 100%; justify-content: center; }

  .section-title {
    font-size: 1.3rem;
  }

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

  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  .industry-tile {
    padding: 0.55rem 0.5rem;
    font-size: 0.72rem;
    border-radius: 10px;
  }

  .container {
    padding: 0 1rem;
  }

  /* Hero grid — reorder: Text → Logo → Buttons on mobile */
  .hero-grid {
    display: flex;
    flex-direction: column;
    padding: calc(var(--nav-height) + 1.25rem) 1rem 0.5rem;
    gap: 0;
  }

  .hero {
    overflow: visible;
    min-height: auto;
  }

  .hero-content {
    display: contents;
    padding-left: 0;
  }
  .hero-content::before {
    display: none;
  }

  .hero-eyebrow  { order: 1; margin-bottom: 0.75rem; font-size: 0.64rem; letter-spacing: 1.2px; gap: 0.4rem; white-space: nowrap; max-width: 100%; }
  .hero-title    { order: 2; padding: 0 1.25rem; margin-bottom: 0.5rem; }
  .hero-subtitle { order: 3; padding: 0 1.25rem; margin-bottom: 0.5rem; line-height: 1.55; }

  .hero-logo-display {
    order: 4;
    max-width: 180px;
    margin: 0.25rem auto;
  }

  .hero-actions {
    order: 5;
    padding: 0 1.25rem;
    margin-bottom: 0.5rem;
    gap: 0.5rem;
  }
  .hero-actions .btn,
  .hero-actions .btn--lg {
    padding: 0.7rem 1.5rem;
    font-size: 0.85rem;
  }

  /* Hero stats — flow below buttons instead of overlapping */
  .hero-stats {
    position: relative;
    bottom: auto;
    padding: 0.85rem 0;
  }
  .hero-stats-inner {
    padding: 0 0.75rem;
    gap: 1rem 0.25rem;
  }
  .hero-stat {
    padding: 0.35rem 0.25rem;
  }

  /* Hero stat numbers — scale down */
  .hero-stat-number {
    font-size: 1.6rem;
  }
  .hero-stat-label {
    font-size: 0.6rem;
    letter-spacing: 1px;
    margin-top: 0.35rem;
  }

  /* About section — further reduce padding */
  .about-section {
    padding: 2.5rem 0 2.5rem;
  }
  .about-section > .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* About badge — smaller on small screens, peek from corner like desktop */
  .about-image-wrap { overflow: visible !important; }
  .about-badge {
    width: 72px;
    height: 72px;
    bottom: -1rem !important;
    right: -1rem !important;
  }
  .about-badge-year {
    font-size: 1.1rem;
  }
  .about-badge-label {
    font-size: 0.5rem;
  }

  /* Leadership grid — tighter gap */
  .leadership-grid {
    gap: 1rem !important;
  }

  /* Leader card — more compact */
  .leader-card {
    padding: 1rem 1rem 0.875rem;
  }
  .leader-avatar {
    width: 64px;
    height: 64px;
    font-size: 1rem;
  }
  .leader-name {
    font-size: 0.9rem;
  }
  .leader-role {
    font-size: 0.65rem;
  }
  .leader-quote p {
    font-size: 0.85rem;
  }

  /* Footer — compact spacing */
  .footer-grid {
    gap: 1.5rem;
  }
  .footer-brand-desc {
    font-size: 0.8125rem;
  }
  .footer-contact-item {
    font-size: 0.8125rem;
  }

  /* CTA — reduce spacing */
  .cta-section {
    padding: 2rem 0 1.5rem;
  }
  .cta-content h2 {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }
  .cta-content p {
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
  }
  .cta-contact-strip {
    gap: 1rem;
  }
  .cta-contact-item {
    font-size: 0.8125rem;
  }

  /* Feature cards — reduce padding */
  .feature-card {
    padding: 1.5rem 1.25rem;
  }

  /* Process step — smaller circle, shrink grid column to match */
  .process-step {
    grid-template-columns: 44px 1fr;
    column-gap: 0.875rem;
  }
  .process-step-number {
    width: 44px;
    height: 44px;
    font-size: 0.875rem;
  }

  /* Quality cards — tighter padding */
  .qc-card {
    padding: 1rem;
  }

  /* Marquee — smaller on tiny screens */
  .marquee-item {
    font-size: 0.65rem;
    padding: 0 1rem;
    letter-spacing: 1.5px;
  }

  /* Orb carousel — smaller cards */
  .orb-card {
    width: 120px;
  }
  .orb-img {
    width: 90px;
    height: 90px;
  }
  .orb-name {
    font-size: 0.8rem;
  }

  /* Buttons — full width on very small screens where appropriate */
  .about-actions,
  .about-cta-row {
    flex-direction: column;
    align-items: stretch;
  }
  .about-actions .btn,
  .about-cta-row .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* About — compact on mobile */
  .about-section {
    padding: 2rem 0 2rem;
  }
  .about-header { margin-bottom: 1.5rem; }
  .about-header--center { margin-bottom: 1.5rem; }
  .about-header--center .section-title {
    font-size: clamp(1.3rem, 5vw, 1.75rem);
  }
  .about-content p {
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 0.85rem;
  }
  .about-features { margin: 1rem 0 1.25rem; gap: 0.5rem; }
  .about-feature-item { font-size: 0.85rem; }
  .about-footer { margin-top: 1.75rem; padding-top: 1.5rem; gap: 1.25rem; }
  .about-grid { gap: 1.75rem; }
  .about-image-wrap { border-radius: 16px; }
  .about-img { border-radius: 16px; }

  /* Industries — tighter */
  .industries-section { padding: 2rem 0 2rem; }
  .industries-section .section-header { margin-bottom: 0.5rem; }

  /* Products — tight spacing */
  .products-section { padding: 2rem 0; }

  /* Process — compact steps */
  .process-section { padding: 2rem 0; }
  .process-wrapper { margin-top: 1rem; }
  .process-step { padding: 0 0.5rem; }
  .process-step-title { font-size: 0.85rem; }
  .process-step-desc { font-size: 0.75rem; line-height: 1.45; }

  /* Quality — compact */
  .quality-section { padding: 2rem 0; }
  .quality-side-title { font-size: 1.35rem; }
  .quality-side-desc { font-size: 0.85rem; margin-bottom: 1.25rem; }

  /* Why Choose Us — compact */
  .why-section { padding: 2rem 0; }
  .features-grid { gap: 0.75rem; }
  .feature-icon-wrap { width: 44px; height: 44px; margin-bottom: 0.75rem; }
  .feature-title { font-size: 0.9rem; }
  .feature-desc { font-size: 0.8rem; }

  /* Section headers — tighter across the board */
  .section-header { margin-bottom: 1.5rem; }
  .section-desc { font-size: 0.85rem; line-height: 1.55; }
  .eyebrow { font-size: 0.6rem; letter-spacing: 2px; margin-bottom: 0.5rem; }
  .section-title { font-size: 1.2rem; }

  /* Footer — compact for mobile */
  .footer { padding: 2rem 0 0; }
  .footer-grid { gap: 1.25rem; padding-bottom: 1.5rem; }
  .footer-col-title { font-size: 0.7rem; margin-bottom: 0.75rem; }
  .footer-links { gap: 0.4rem; }
  .footer-links li a { font-size: 0.8rem; }
  .footer-bottom { padding: 1rem 0; gap: 0.75rem; }
  .footer-copyright { font-size: 0.75rem; }
  .footer-legal { gap: 1rem; }
  .footer-legal a { font-size: 0.75rem; }

  /* Page hero (inner pages) — compact */
  .page-hero {
    padding: calc(var(--nav-height) + 1rem) 0 1.25rem;
  }
  .page-hero h1 {
    font-size: clamp(1.4rem, 5.5vw, 1.85rem);
  }
  .page-hero-desc,
  .page-hero-sub {
    font-size: 0.85rem;
  }
  .breadcrumb { font-size: 0.7rem; margin-bottom: 0.75rem; }

  /* Legal pages — compact */
  .section--legal { padding-top: 1.5rem; padding-bottom: 2rem; }
  .legal-content h2 { font-size: 1.15rem; margin-top: 2rem; }
  .legal-content h3 { font-size: 0.95rem; }

  /* CTA contact strip — stack vertically */
  .cta-contact-strip {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
}

/* ============================================================
   PAGE HERO — Inner page headers
   ============================================================ */
.page-hero {
  background: var(--grad-hero);
  padding: calc(var(--nav-height) + 2.5rem) 0 2.5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  pointer-events: none;
}
.page-hero h1 {
  color: var(--clr-text-white);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.page-hero-desc,
.page-hero-sub {
  color: var(--clr-text-white-80);
  font-size: var(--fs-md);
  max-width: 600px;
  line-height: var(--line-height-loose);
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  font-size: var(--fs-sm);
}
.breadcrumb a {
  color: var(--clr-text-white-60);
  transition: color 0.2s;
}
.breadcrumb a:hover {
  color: var(--clr-accent);
}
.breadcrumb-sep {
  color: var(--clr-text-white-60);
  font-size: 0.7rem;
}
.breadcrumb-current {
  color: var(--clr-accent);
  font-weight: 500;
}

/* ============================================================
   LEGAL PAGES
   ============================================================ */
/* ---------- Legal Content (Privacy, Terms, Cookies) ---------- */
.section--legal {
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}

.legal-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 0;
}

.legal-content h2 {
  font-size: 1.35rem;
  font-family: 'Montserrat', var(--font-sans);
  color: var(--clr-primary);
  margin-top: 2.75rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--clr-border);
  letter-spacing: -0.01em;
}

.legal-content h2:first-of-type {
  margin-top: 1.5rem;
}

.legal-content h3 {
  font-size: 1.1rem;
  font-family: 'Montserrat', var(--font-sans);
  color: var(--clr-primary-dark);
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.legal-content > p:first-of-type {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--clr-text-body);
  padding: 1.25rem 1.5rem;
  background: var(--clr-bg-light);
  border-left: 4px solid var(--clr-accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 1rem;
}

.legal-content p {
  color: var(--clr-text-body);
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
}

.legal-content ul {
  padding-left: 1.75rem;
  margin-bottom: 1.25rem;
}

.legal-content li {
  color: var(--clr-text-body);
  line-height: 1.75;
  margin-bottom: 0.5rem;
  list-style: none;
  position: relative;
  padding-left: 0.75rem;
  font-size: 0.9375rem;
}

.legal-content li::before {
  content: '';
  position: absolute;
  left: -0.75rem;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clr-accent);
}

.legal-content a {
  color: var(--clr-primary-light);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition-fast);
}
.legal-content a:hover {
  color: var(--clr-accent);
}

.legal-content strong {
  color: var(--clr-text-dark);
  font-weight: 600;
}

.legal-effective-date {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-dark));
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--clr-white);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

/* Contact block at bottom */
.legal-content p:last-child {
  margin-top: 0.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--clr-bg-light);
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border);
  line-height: 1.9;
}

@media (max-width: 768px) {
  .legal-content {
    padding: var(--space-lg) 0;
  }
  .legal-content h2 {
    font-size: 1.2rem;
    margin-top: 2rem;
  }
  .legal-content > p:first-of-type {
    padding: 1rem 1.125rem;
    font-size: 1rem;
  }
}

/* ============================================================
   PRODUCT DETAIL PAGES
   ============================================================ */
.product-hero {
  background: var(--grad-hero);
  padding: calc(var(--nav-height) + 3rem) 0 3rem;
  position: relative;
}
.product-hero h1 {
  color: var(--clr-text-white);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
}
.product-hero .product-formula {
  color: var(--clr-accent);
  font-size: var(--fs-lg);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.specs-table th,
.specs-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--clr-border);
  font-size: var(--fs-base);
}
.specs-table thead th {
  background: var(--clr-primary);
  color: var(--clr-text-white);
  font-weight: 600;
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.specs-table tbody tr:nth-child(even) {
  background: var(--clr-bg-light);
}
.specs-table tbody tr:last-child td {
  border-bottom: none;
}
.specs-table th {
  font-weight: 600;
  color: var(--clr-primary);
  width: 40%;
}

/* Contact form */
.form-group {
  margin-bottom: var(--space-6);
}
.form-label {
  display: block;
  font-weight: 500;
  margin-bottom: var(--space-2);
  color: var(--clr-primary);
  font-size: var(--fs-sm);
}
.form-control {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  font-size: var(--fs-base);
  font-family: var(--font-family);
  color: var(--clr-text-body);
  background: var(--clr-white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control:focus {
  outline: none;
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 3px rgba(230,168,23,0.15);
}
.form-control::placeholder {
  color: var(--clr-text-light);
}
textarea.form-control {
  resize: vertical;
  min-height: 120px;
}
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235a7289' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* About page stats */
.about-stats-strip {
  background: var(--clr-primary-dark);
  padding: var(--space-12) 0;
}
.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  text-align: center;
}
.about-stat-item .stat-number {
  font-size: var(--fs-4xl);
  font-weight: 800;
  color: var(--clr-accent);
  line-height: 1;
}
.about-stat-item .stat-label {
  font-size: var(--fs-xs);
  color: var(--clr-text-white-60);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: var(--space-2);
}

@media (max-width: 768px) {
  .about-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }
}

/* Industries page */
.industry-detail-card {
  background: var(--clr-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--clr-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.industry-detail-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.industry-detail-header {
  padding: var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.industry-detail-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.industry-detail-body {
  padding: 0 var(--space-6) var(--space-6);
}
.industry-recommended {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  background: var(--clr-bg-light);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--clr-primary);
  margin-top: var(--space-4);
}

/* Careers page */
.careers-opening-empty {
  text-align: center;
  padding: var(--space-12);
  background: var(--clr-bg-light);
  border-radius: var(--radius-xl);
  border: 2px dashed var(--clr-border);
}
.careers-opening-empty h3 {
  color: var(--clr-text-muted);
  font-weight: 500;
  margin-bottom: var(--space-4);
}

/* ============================================================
   GLOWING ORBS CAROUSEL
   ============================================================ */
.orb-carousel {
  margin-top: var(--space-10);
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}
.orb-carousel-wrap {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.orb-carousel-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  padding: 1rem 2rem;
  align-items: center;
  animation: orbScroll 35s linear infinite;
}
.orb-carousel-track:hover { animation-play-state: paused; }
@keyframes orbScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.orb-card {
  width: 260px;
  flex-shrink: 0;
  text-decoration: none;
  color: var(--clr-text);
  text-align: center;
  transition: transform .5s;
}
.orb-card:hover { transform: scale(1.1); }
.orb-img {
  width: 240px;
  height: 240px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  border: 3px solid #fff;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,34,68,.06);
  transition: border-color .4s, box-shadow .4s;
}
/* Odd cards → gold/yellow highlight */
.orb-card:nth-child(odd):hover .orb-img {
  border-color: var(--clr-accent);
  box-shadow: 0 8px 35px rgba(230,168,23,.2), 0 0 60px rgba(230,168,23,.06);
}
/* Even cards → navy/blue highlight */
.orb-card:nth-child(even):hover .orb-img {
  border-color: var(--clr-primary);
  box-shadow: 0 8px 35px rgba(0,51,102,.2), 0 0 60px rgba(0,51,102,.1);
}
.orb-img::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.25), transparent 70%);
  pointer-events: none;
}
.orb-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .5s;
}
.orb-card:hover .orb-img img { transform: scale(1.1); }
.orb-name {
  font-size: .95rem;
  font-weight: 600;
  margin-top: .55rem;
  color: var(--clr-text-muted);
  transition: color .3s;
}
/* Odd → gold text, Even → blue text */
.orb-card:nth-child(odd):hover .orb-name  { color: var(--clr-accent); }
.orb-card:nth-child(even):hover .orb-name { color: var(--clr-primary); }

@media (max-width: 768px) {
  .orb-card { width: 140px; }
  .orb-img  { width: 110px; height: 110px; }
}

/* ============================================================
   LEADERSHIP CARDS — director photo + name on top, quote below
   ============================================================ */
.leader-card {
  background: var(--clr-bg-light, #f5f6f8);
  border-radius: var(--radius-lg, 12px);
  padding: 1.75rem 1.75rem 1.5rem;
  border-left: 4px solid var(--clr-primary);
  display: flex;
  flex-direction: column;
}
.leader-card.leader-card--accent {
  border-left-color: var(--clr-accent);
}
.leader-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px solid rgba(0, 19, 41, 0.08);
}
.leader-avatar {
  flex: 0 0 auto;
  position: relative;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #003366 0%, #1a4a7a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: 0.05em;
  font-family: var(--font-heading, 'Raleway', sans-serif);
  box-shadow: 0 6px 18px rgba(0, 19, 41, 0.18);
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  border: 3px solid #fff;
}
.leader-card--accent .leader-avatar {
  background: linear-gradient(135deg, #b8860b 0%, #d4a017 100%);
}
.leader-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  -webkit-user-select: none;
  user-select: none;
}
.leader-avatar::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: auto;
  background: transparent;
}

/* ============================================================
   IMAGE PROTECTION — product & brand photos
   ============================================================
   Covers: product grid cards, product hero images, related-products
   carousel, product showcase, and brand badges. Blocks right-click,
   drag-to-save, iOS long-press, and text/image selection. Paired
   with JS handlers in initProtectImages() for contextmenu/dragstart.
   Uses !important because several product pages have inline <style>
   blocks loaded AFTER components.css that would otherwise override
   the protection via source order (e.g. .product-hero-image).
   ============================================================ */
.product-card__img-wrap,
.product-hero-image,
.related-card__img-wrap,
.product-showcase-media,
.product-showcase-media-row .product-showcase-media {
  position: relative !important;
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
  -webkit-touch-callout: none !important;
}
.product-card__img-wrap > img,
.product-card__brand-badge img,
.product-hero-image > img,
.related-card__img-wrap > img,
.related-card__brand-badge img,
.product-showcase-media > img,
.product-showcase-media-row .product-showcase-media > img {
  pointer-events: none !important;
  -webkit-user-drag: none !important;
  -khtml-user-drag: none !important;
  -moz-user-drag: none !important;
  -o-user-drag: none !important;
  user-drag: none !important;
  -webkit-user-select: none !important;
  user-select: none !important;
}
/* Transparent overlay catches right-click instead of the <img>.
   Brand badges already have pointer-events:none so the overlay
   covering them is harmless. */
.product-card__img-wrap::after,
.product-hero-image::after,
.related-card__img-wrap::after,
.product-showcase-media::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: auto;
  background: transparent;
}

/* ---- VIDEO PROTECTION ---- */
.overview-image,
.about-image-wrap,
.product-showcase-media {
  position: relative !important;
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
  -webkit-touch-callout: none !important;
}
.overview-image > video,
.about-image-wrap > video,
.about-image-wrap video.about-img,
.product-showcase-media > video {
  pointer-events: none !important;
  -webkit-user-drag: none !important;
  -khtml-user-drag: none !important;
  -moz-user-drag: none !important;
  -o-user-drag: none !important;
  user-drag: none !important;
  -webkit-user-select: none !important;
  user-select: none !important;
  -webkit-touch-callout: none !important;
}
/* Transparent overlay catches right-click on videos.
   For .about-image-wrap we use z-index: 4 so it also covers the
   existing decorative .about-img-overlay gradient without altering
   its look. The 1989 badge sits above via its own higher z-index. */
.overview-image::after,
.about-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: auto;
  background: transparent;
  border-radius: inherit;
}
.leader-meta { min-width: 0; }
.leader-name {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--clr-primary);
  margin: 0;
  line-height: 1.25;
}
.leader-role {
  font-family: 'Raleway', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--clr-text-light);
  margin: 0.2rem 0 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.leader-edu {
  font-family: 'Raleway', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--clr-text-light);
  opacity: 0.65;
  margin: 0.15rem 0 0;
  text-transform: none;
  letter-spacing: 0.02em;
}
.leader-quote-icon {
  margin-bottom: 0.6rem;
  opacity: 0.55;
}
.leader-quote p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--clr-text-body);
  font-style: italic;
  margin: 0 0 0.85rem;
}
.leader-quote p:last-child { margin-bottom: 0; }

/* Director quote collapse (mobile only) */
.leader-quote-more {
  max-height: none;
}
@media (max-width: 768px) {
  .leader-quote-more {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s ease;
  }
  .leader-quote-more.is-open {
    max-height: 600px;
  }
}
.leader-quote-more p { margin-top: 0; }
.leader-read-more {
  display: none;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem 0;
  margin-top: 0.75rem;
  font-family: var(--font-sans), 'Open Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--clr-accent, #c98e12);
  line-height: 1;
}
.leader-read-more::after {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--clr-accent, #c98e12);
  border-bottom: 2px solid var(--clr-accent, #c98e12);
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.25s ease;
}
.leader-read-more[aria-expanded="true"]::after {
  transform: rotate(-135deg) translateY(-1px);
}

@media (max-width: 768px) {
  .leader-avatar { width: 80px; height: 80px; font-size: 1.3rem; }
  .leader-name   { font-size: 1rem; }
  .leader-read-more.mobile-only { display: inline-flex !important; }
}

/* ============================================================
   PRODUCT SHOWCASE — real photo on top, stabilized video below
   ============================================================ */
.product-showcase {
  padding: 4rem 0;
  background: var(--clr-bg-light);
}
.product-showcase-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.product-showcase-media-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  width: 100%;
  align-items: stretch;
}
.product-showcase-media-row .product-showcase-media {
  margin: 0;
  height: 100%;
}
.product-showcase-media-row .product-showcase-media img,
.product-showcase-media-row .product-showcase-media video {
  height: 100%;
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
@media (max-width: 768px) {
  .product-showcase-media-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
.product-showcase-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--clr-primary);
  margin: 0 0 0.5rem;
  text-align: center;
}
.product-showcase-media {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(10, 30, 60, 0.18);
  background: #0a1f3a;
  display: block;
}
.product-showcase-media img,
.product-showcase-media video {
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 768px) {
  .product-showcase { padding: 2.5rem 0; }
  .product-showcase-inner { gap: 1.25rem; }
}


/* =====================================================================
   MOBILE FINAL POLISH  v2  — no truncation, mobile/desktop copy variants
   ===================================================================== */

/* ----- Utility: mobile-only / desktop-only copy swap ----- */
.mobile-only { display: none !important; }
.desktop-only { display: inline; }
p.desktop-only, div.desktop-only, li.desktop-only { display: block; }

@media (max-width: 768px) {
  .mobile-only { display: inline !important; }
  p.mobile-only, div.mobile-only, li.mobile-only { display: block !important; }
  .desktop-only { display: none !important; }
}

/* ----- Mobile collapse (manual read-more for about section) ----- */
.mobile-collapse-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.5rem;
  padding: 0.35rem 0;
  background: transparent;
  border: 0;
  color: var(--clr-accent, #c9a961);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
.mobile-collapse-btn:hover { color: var(--clr-primary, #0a3a5c); }
.mobile-collapse {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
}
.mobile-collapse.is-open { max-height: 2000px; }
@media (min-width: 769px) {
  .mobile-collapse { max-height: none !important; }
  .mobile-collapse-btn { display: none !important; }
}

/* ----- Read-more collapsible (mobile only) ----- */
.read-more-wrap { position: relative; }
.read-more-content { overflow: hidden; transition: max-height 0.35s ease; }
.read-more-btn {
  display: inline-block;
  margin-top: 0.4rem;
  padding: 0.25rem 0;
  background: transparent;
  border: 0;
  color: var(--color-primary, #0a3a5c);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: underline;
}
.read-more-btn:hover { color: var(--color-accent, #c9a961); }

/* Desktop: always expanded, hide the button */
@media (min-width: 769px) {
  .read-more-wrap .read-more-content { max-height: none !important; }
  .read-more-btn { display: none !important; }
}

@media (max-width: 768px) {

  /* ============================================================
     HERO — PREMIUM MOBILE FIRST IMPRESSION
     ============================================================ */
  .hero {
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    padding-top: calc(var(--nav-height, 72px) + 1rem) !important;
    padding-bottom: 0 !important;
    overflow: hidden !important;
    position: relative !important;
    background-color: #ffffff !important;
    background-image: none !important;
    isolation: isolate;
    animation: none !important;
  }
  /* Very subtle top-to-bottom wash: whisper of warm yellow at the very
     top, pure white through the middle, whisper of cool blue at the
     bottom. No grain, no blooms, no animation. Almost invisible. */
  .hero::before {
    content: '' !important;
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    background-image:
      linear-gradient(180deg,
        rgba(248, 212, 140, 0.14) 0%,
        rgba(255, 248, 230, 0.05) 15%,
        #ffffff 40%,
        #ffffff 60%,
        rgba(232, 241, 250, 0.05) 85%,
        rgba(190, 216, 240, 0.14) 100%
      ) !important;
    background-color: #ffffff !important;
    pointer-events: none !important;
    -webkit-mask-image: none;
    mask-image: none;
  }
  /* No second layer — keep the hero bg clean. */
  .hero::after {
    display: none !important;
  }
  @keyframes hero-orb-drift {
    0%   { background-position:   0%   0%, 100% 100%; }
    50%  { background-position: 100%  20%,   0%  60%; }
    100% { background-position:  60% 100%,  40%   0%; }
  }
  /* Lift content above both layers */
  .hero > *,
  .hero-content,
  .hero-grid,
  .hero-stats { position: relative; z-index: 2; }
  /* Respect reduced motion */
  @media (prefers-reduced-motion: reduce) {
    .hero::before,
    .hero::after { animation: none !important; }
  }
  /* DARK navy on pure white — clean editorial type, no halo needed */
  .hero-title,
  .hero-subtitle {
    color: #0a2340 !important;
    text-shadow: none !important;
  }
  .hero-subtitle strong { color: #051430 !important; }
  .hero-grid {
    min-height: 0 !important;
    padding-top: 1rem !important;
    padding-bottom: 1.25rem !important;
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
    gap: 0;
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: flex-start !important;
  }
  .hero .container { padding-left: 1.25rem !important; padding-right: 1.25rem !important; }
  .hero-content { width: 100%; }

  /* ----- Eyebrow: slim, refined, no pill — just dotted text ----- */
  /* Editorial kicker — single-line credential strap.
     Two claims separated by a small gold dot. Sized to fit on 320px. */
  .hero-eyebrow {
    display: inline-flex !important;
    flex-wrap: nowrap !important;
    align-items: center;
    column-gap: 0.5rem;
    padding: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 1.25rem !important;
    font-size: 0.62rem !important;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: #0a2340 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
    white-space: nowrap;
    width: auto;
    max-width: 100%;
  }
  .hero-eyebrow-text { white-space: nowrap; }
  /* Leading bar removed — keep selector hidden in case it appears elsewhere */
  .hero-eyebrow-dot { display: none !important; }
  /* Separator: tiny refined navy diamond for an editorial pause */
  .hero-eyebrow-sep {
    display: inline-block;
    width: 3px;
    height: 3px;
    background: #c98e12;
    border-radius: 50%;
    box-shadow: none;
    flex-shrink: 0;
    margin: 0 0.1rem;
    opacity: 0.9;
    font-size: 0;
    color: transparent;
    line-height: 0;
    overflow: hidden;
  }
  .hero-eyebrow-text {
    display: inline;
    color: #0a2340;
    font-weight: 800;
  }

  /* ----- Title — editorial serif, centered ----- */
  .hero-title {
    font-family: 'Fraunces', 'Playfair Display', Georgia, serif !important;
    font-size: clamp(2.15rem, 9.2vw, 2.9rem) !important;
    line-height: 1.1 !important;
    letter-spacing: -0.01em !important;
    margin: 0.25rem auto 1.25rem !important;
    font-weight: 600 !important;
    color: #0a2340 !important;
    text-align: center !important;
    text-wrap: balance;
    font-variation-settings: "opsz" 110, "SOFT" 30;
  }
  .hero-title .text-accent,
  .hero-title .accent {
    font-family: 'Fraunces', 'Playfair Display', Georgia, serif !important;
    color: #c98e12 !important;
    white-space: normal !important;
    background: none !important;
    -webkit-text-fill-color: #c98e12 !important;
    font-style: italic !important;
    font-weight: 600 !important;
    text-shadow: none !important;
    filter: none !important;
  }
  /* Center the eyebrow + subtitle to match the title's editorial center axis */
  .hero-eyebrow {
    justify-content: center !important;
    text-align: center !important;
  }
  /* ----- Subtitle — match the hero-story paragraph treatment
     (same font-family, size, weight, line-height, color, alignment) ----- */
  .hero-subtitle {
    font-family: var(--font-sans), 'Open Sans', sans-serif !important;
    font-size: 0.9rem !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    letter-spacing: 0 !important;
    margin-bottom: 1.5rem !important;
    color: #000 !important;
    text-align: justify !important;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    max-width: 100% !important;
    overflow-wrap: break-word;
    word-wrap: break-word;
    text-shadow: none !important;
  }
  .hero-subtitle strong {
    color: #000 !important;
    font-weight: 700 !important;
  }

  /* ----- Buttons: minimal editorial outline pills ----- */
  .hero-actions {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    flex-wrap: nowrap !important;
    gap: 0.6rem !important;
    margin-top: 0.5rem !important;
    margin-bottom: 0 !important;
    width: 100% !important;
    position: relative;
    z-index: 3;
  }
  .hero-actions .btn,
  .hero-actions .btn--lg,
  .hero-actions .btn--primary,
  .hero-actions .btn--outline {
    flex: 1 1 50% !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: none !important;
    height: 52px !important;
    padding: 0 0.6rem !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.015em !important;
    border-radius: 999px !important;
    white-space: nowrap;
    overflow: visible !important;
    text-overflow: clip !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.4rem !important;
    background: rgba(255, 255, 255, 0.55) !important;
    color: #0a2340 !important;
    border: 1.5px solid #0a2340 !important;
    backdrop-filter: blur(8px) saturate(1.1);
    -webkit-backdrop-filter: blur(8px) saturate(1.1);
    box-shadow: none !important;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease !important;
    text-decoration: none !important;
  }
  .hero-actions .btn:hover,
  .hero-actions .btn:active,
  .hero-actions .btn--primary:hover,
  .hero-actions .btn--primary:active,
  .hero-actions .btn--outline:hover,
  .hero-actions .btn--outline:active {
    background: #0a2340 !important;
    color: #ffffff !important;
    border-color: #0a2340 !important;
    transform: translateY(-1px);
  }
  .hero-actions .btn:hover svg,
  .hero-actions .btn:active svg {
    stroke: #f4b939 !important;
  }
  .hero-actions .btn--primary svg {
    stroke: #0a2340 !important;
    width: 14px !important;
    height: 14px !important;
    flex-shrink: 0 !important;
    margin-left: 0.2rem;
    stroke-width: 2.5 !important;
    transition: stroke 0.2s ease;
  }
  .hero-actions .btn svg { flex-shrink: 0; }

  /* ----- Section flex order on mobile: text → stats → story → CTAs ----- */
  /* Make .hero-grid + .hero-content "transparent" so their children become
     direct flex children of .hero, allowing CSS `order` to reposition them. */
  .hero-grid    { display: contents !important; }
  .hero-content { display: contents !important; }
  .hero-eyebrow,
  .hero-title,
  .hero-subtitle  { order: 1; }
  .hero-story     { order: 2; }
  .hero-stats     { order: 3; }
  .hero-actions   { order: 4; }
  /* Apply the horizontal gutter that .hero-grid used to provide */
  .hero-eyebrow,
  .hero-title,
  .hero-subtitle,
  .hero-actions {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
    box-sizing: border-box;
  }
  /* Top breathing room above the eyebrow (was on .hero-grid) */
  .hero-eyebrow { margin-top: 1rem !important; }
  /* CTAs at the very bottom of the section */
  .hero-actions {
    margin-top: 1rem !important;
    margin-bottom: 1.5rem !important;
  }
  .hero-stats {
    margin-top: 0.5rem !important;
    padding: 1.1rem 0 1.25rem !important;
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    z-index: 10 !important;
    background: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-top: 1px solid rgba(230, 168, 23, 0.28) !important;
    box-shadow: 0 -1px 0 rgba(10, 35, 64, 0.04) inset !important;
  }
  /* Thin gold gradient hairline on top of the stats panel */
  .hero-stats::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(230, 168, 23, 0.7) 50%, transparent 100%);
    pointer-events: none;
  }
  .hero-stats-inner {
    grid-template-columns: 1fr 1fr !important;
    row-gap: 0.4rem !important;
    column-gap: 0 !important;
    padding: 0 0.75rem !important;
  }
  /* Bring the ISO tile back for the 2x2 layout */
  .hero-stat:nth-child(4) { display: flex !important; }
  .hero-stat {
    padding: 0.55rem 0.5rem !important;
    position: relative;
  }
  /* Reset desktop's vertical right-divider; draw a clean 2x2 grid separator */
  .hero-stat:not(:last-child)::after { display: none !important; }
  .hero-stat:nth-child(odd)::after {
    content: '';
    position: absolute;
    top: 20%;
    bottom: 20%;
    right: 0;
    width: 1px;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 35, 64, 0.18) 50%, transparent 100%);
    display: block !important;
  }
  .hero-stat:nth-child(-n+2)::before {
    content: '';
    position: absolute;
    left: 15%;
    right: 15%;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(10, 35, 64, 0.14) 50%, transparent 100%);
  }
  .hero-stat-number {
    font-size: 1.55rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    -webkit-text-fill-color: #0a2340 !important;
    color: #0a2340 !important;
    text-shadow: none !important;
  }
  .hero-stat-label {
    font-size: 0.6rem !important;
    letter-spacing: 1.2px !important;
    margin-top: 0.2rem !important;
    color: rgba(10, 35, 64, 0.7) !important;
  }

  /* ----- Section spacing: reduce vertical padding everywhere ----- */
  section { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
  /* hero padding is set in the hero block above — don't re-override here */
  .section-header { margin-bottom: 1.5rem !important; }
  .section-title { font-size: clamp(1.35rem, 5.2vw, 1.75rem) !important; line-height: 1.2; margin-bottom: 0.5rem !important; }
  .section-subtitle, .section-intro, .section-desc {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
  }

  /* ----- Product cards: trim density, no clipping ----- */
  .product-card, .product-showcase-card {
    padding: 1rem !important;
  }
  .product-card h3, .product-card .product-title {
    font-size: 1.05rem !important;
    margin-bottom: 0.35rem !important;
  }
  .product-card p, .product-card .product-desc {
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
    margin-bottom: 0.5rem !important;
  }
  .product-card .product-meta, .product-card .product-tags { font-size: 0.75rem !important; }

  /* ----- Industry / feature / insight cards ----- */
  .industry-card, .feature-card, .insight-card, .stat-card {
    padding: 1rem !important;
  }
  .industry-card h3, .feature-card h3, .insight-card h3 {
    font-size: 1rem !important;
    margin-bottom: 0.35rem !important;
  }
  .industry-card p, .feature-card p, .insight-card p {
    font-size: 0.85rem !important;
    line-height: 1.45 !important;
  }

  /* ============================================================
     MERGED HERO STORY (mobile only) — section 1 + section 2 fused
     ============================================================ */
  /* Hide the standalone About section ONLY on the homepage (where the
     hero now contains a merged .hero-story block). Other pages with
     .about-section (e.g. about.html) are unaffected. */
  .hero:has(.hero-story) ~ .about-section,
  main:has(.hero-story) > .about-section { display: none !important; }

  /* Merged proof block: facility footage + a single trust line. Nothing else. */
  .hero-story {
    position: relative;
    z-index: 2;
    background: #ffffff;
    color: #0a2340;
    padding: 0.5rem 0 1.5rem;
    margin-top: 0;
  }
  .hero-story .container {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }

  /* Manufacturing video card with the 1989 badge */
  .hero-story-media {
    position: relative;
    margin: 0 0 1.1rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(10, 35, 64, 0.14), 0 1px 3px rgba(10, 35, 64, 0.06);
    border: 1px solid rgba(10, 35, 64, 0.06);
  }
  .hero-story-video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: #f4f6fa;
  }
  .hero-story-badge {
    position: absolute;
    right: 0.85rem;
    bottom: 0.85rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #E6A817 0%, #c98e12 100%);
    color: #050d1e;
    box-shadow: 0 6px 16px rgba(10, 35, 64, 0.3);
    border: 2px solid #ffffff;
  }
  .hero-story-badge-year {
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1;
  }
  .hero-story-badge-label {
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 2px;
    opacity: 0.8;
  }

  /* About-company copy: 2 paragraphs visible, 3rd behind Read more */
  .hero-story-copy p {
    margin: 0 0 0.85rem;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #000 !important;
  }
  .hero-story-copy p:last-child { margin-bottom: 0; }
  .hero-story-copy p strong { color: #000 !important; font-weight: 700; }
  .hero-story-copy .mobile-collapse {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s ease;
  }
  .hero-story-copy .mobile-collapse.is-open { max-height: 2000px; }
  .hero-story-copy .mobile-collapse p { margin-top: 0; }
  .hero-story-copy .mobile-collapse-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.5rem;
    padding: 0;
    background: none;
    border: none;
    color: #c98e12;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.4px;
    cursor: pointer;
  }
  /* Crisp CSS chevron — points DOWN by default, flips UP when expanded */
  .hero-story-copy .mobile-collapse-btn::after {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translate(-1px, -1px);
    transition: transform 0.25s ease;
  }
  .hero-story-copy .mobile-collapse-btn[aria-expanded="true"]::after {
    transform: rotate(-135deg) translate(-1px, -1px);
  }

  /* (Old) About section paragraph styles — kept for any other pages */
  .about-section .about-text p,
  .about-section p {
    font-size: 0.92rem !important;
    line-height: 1.55 !important;
  }

  /* ----- Insights / Media cards ----- */
  .insights-preview .insight-card .insight-excerpt,
  .media-card .media-excerpt {
    font-size: 0.82rem !important;
    line-height: 1.45 !important;
  }

  /* ----- Stats: tighter grid ----- */
  .hero-stats-inner { gap: 0 !important; }
  .hero-stat { padding: 0.75rem 0.5rem !important; }
  .hero-stat-number { font-size: 1.4rem !important; }
  .hero-stat-label { font-size: 0.65rem !important; letter-spacing: 0.5px; }

  /* ----- Quality / Certifications ----- */
  .quality-section .quality-text p,
  .certifications-section p {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
  }

  /* ----- CTA banners: compact ----- */
  .cta-section, .cta-banner {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  .cta-section h2, .cta-banner h2 {
    font-size: 1.35rem !important;
    line-height: 1.25 !important;
  }
  .cta-section p, .cta-banner p {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
  }

  /* ----- Footer contact column: full-width span + justified text ----- */
  .footer-grid > div:has(> .footer-contact-items) { grid-column: 1 / -1; }
  .footer-contact-items {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.6rem !important;
    margin-top: 0.5rem;
  }
  .footer-contact-item {
    display: grid !important;
    grid-template-columns: 18px 1fr !important;
    column-gap: 0.55rem;
    align-items: start !important;
    white-space: normal !important;
    font-size: 0.82rem !important;
    line-height: 1.55 !important;
    text-align: justify;
    text-justify: inter-word;
  }
  .footer-contact-item > :last-child { hyphens: auto; }
  .footer-contact-icon {
    grid-column: 1;
    margin-top: 3px !important;
    width: 16px !important;
    height: 16px !important;
  }
  /* Phone rows (mobile): label + numbers flow on one line, numbers separated by comma */
  .footer-mobile-grid {
    display: inline-flex !important;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 0.4rem !important;
    row-gap: 0 !important;
    width: 100%;
    white-space: normal !important;
  }
  .footer-mobile-grid > span:empty { display: none !important; }
  .footer-mobile-grid > a ~ a::before {
    content: ", ";
    margin-left: -0.4rem;
    margin-right: 0.1rem;
  }

  /* Justify the short brand description too */
  .footer-brand-desc { text-align: justify; text-justify: inter-word; hyphens: auto; }

  /* Ensure container doesn't overflow */
  .footer .container, .site-footer .container { overflow-x: hidden; }

  /* ============================================================
     FOOTER — Mobile (premium compact layout)
     ============================================================ */
  .site-footer, .footer {
    padding: 1.5rem 0 0.75rem !important;
    position: relative;
  }
  /* Subtle gold accent line at the very top of the footer */
  .footer::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 2px;
    background: var(--clr-accent, #E6A817);
    border-radius: 2px;
    opacity: 0.8;
  }

  .footer-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 1rem 1rem !important;
  }

  /* --- Brand block --- */
  .footer-brand { grid-column: 1 / -1; margin-bottom: 0.1rem; text-align: left; }
  .footer-brand .logo { margin-bottom: 0.4rem !important; }
  .footer-brand-desc {
    font-size: 0.73rem !important;
    line-height: 1.45 !important;
    margin-bottom: 0 !important;
    color: rgba(255,255,255,0.45) !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: left !important;
  }
  .footer-cert-badges { display: none !important; }

  /* --- Section titles: subtle gold underline --- */
  .footer-col h4, .footer-col-title {
    font-size: 0.72rem !important;
    margin: 0 0 0.5rem !important;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.95) !important;
    position: relative;
    padding-bottom: 0.35rem;
  }
  .footer-col h4::after, .footer-col-title::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 20px;
    height: 2px;
    background: var(--clr-accent, #E6A817);
    border-radius: 2px;
    opacity: 0.85;
  }

  /* --- Nav links: tight, crisp --- */
  .footer-col a, .footer-col p, .footer-col li,
  .footer-links a, .footer-links li { font-size: 0.76rem !important; line-height: 1.55 !important; }
  .footer-links { margin: 0 !important; padding: 0 !important; list-style: none; }
  .footer-links li { margin-bottom: 0.2rem !important; }
  .footer-links a { transition: color 0.2s ease, padding 0.2s ease; display: inline-block; }
  .footer-links a:active, .footer-links a:hover { color: var(--clr-accent, #E6A817) !important; }
  /* Trim the long Products list: show top 4 + "All Products" */
  .footer-links li:nth-child(n+5):not(:last-child) { display: none !important; }

  /* --- Contact section: full width, premium spacing --- */
  .footer-grid > div:has(> .footer-contact-items) {
    grid-column: 1 / -1;
    margin-top: 0.25rem;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .footer-contact-items {
    display: flex !important;
    flex-direction: column;
    gap: 0.55rem !important;
  }
  .footer-contact-item {
    font-size: 0.78rem !important;
    line-height: 1.45 !important;
    color: rgba(255,255,255,0.78) !important;
    align-items: flex-start;
    gap: 0.6rem !important;
  }
  .footer-contact-item a {
    color: rgba(255,255,255,0.92) !important;
    font-weight: 600;
  }
  .footer-contact-item a:active,
  .footer-contact-item a:hover { color: var(--clr-accent, #E6A817) !important; }
  .footer-contact-icon {
    color: var(--clr-accent, #E6A817) !important;
    width: 15px !important;
    height: 15px !important;
    margin-top: 3px !important;
    flex-shrink: 0;
  }
  /* Landline/Mobile label styling */
  .footer-mobile-grid > span:first-child {
    color: rgba(255,255,255,0.55) !important;
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.4px;
  }

  /* --- Bottom bar: refined --- */
  .footer-bottom {
    padding-top: 0.75rem !important;
    margin-top: 0.75rem !important;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    align-items: center;
    text-align: center;
  }
  .footer-copyright {
    font-size: 0.68rem !important;
    color: rgba(255,255,255,0.42) !important;
    margin: 0 !important;
  }
  .footer-legal,
  .footer-legal .footer-legal-list,
  .footer-legal ul {
    display: flex !important;
    flex-wrap: wrap;
    gap: 0.35rem 0.9rem !important;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.68rem !important;
  }
  .footer-legal li { list-style: none; margin: 0; padding: 0; }
  .footer-legal a {
    color: rgba(255,255,255,0.55) !important;
    transition: color 0.2s ease;
    white-space: nowrap;
  }
  .footer-legal a:active, .footer-legal a:hover { color: var(--clr-accent, #E6A817) !important; }

  /* ----- Product hero: reorder so image comes between title and CTA buttons ----- */
  .product-hero-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
  }
  .product-hero-text {
    display: contents;
  }
  .product-hero-text .hero-crumb,
  .product-hero-text .hero-tagline,
  .product-hero-text h1,
  .product-hero-text .subtitle { order: 1; }
  .product-hero-image { order: 2; margin: 0.5rem auto; }
  .product-hero-image img { width: 240px !important; height: auto !important; }
  .hero-btns { order: 3; }

  /* ----- Glass strip metrics: 2x2 grid on mobile ----- */
  .glass-strip {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.75rem !important;
    padding: 1rem !important;
  }
  .glass-card {
    padding: 1rem 0.5rem !important;
    text-align: center;
  }
  .glass-card .g-val { font-size: 1.25rem !important; line-height: 1.2; }
  .glass-card .g-lbl { font-size: 0.7rem !important; letter-spacing: 0.6px; }

  /* ----- Application card: icon + title inline on mobile ----- */
  .app-card {
    display: grid !important;
    grid-template-columns: 44px 1fr;
    grid-template-rows: auto auto;
    column-gap: 0.75rem;
    row-gap: 0.35rem;
    padding: 1rem !important;
    align-items: center;
  }
  .app-card-icon {
    grid-column: 1;
    grid-row: 1;
    width: 44px !important;
    height: 44px !important;
    margin-bottom: 0 !important;
    align-self: center;
  }
  .app-card-icon svg { width: 22px !important; height: 22px !important; }
  .app-card h3 {
    grid-column: 2;
    grid-row: 1;
    margin-bottom: 0 !important;
    font-size: 0.98rem !important;
    line-height: 1.25;
    align-self: center;
  }
  .app-card p {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 0.3rem;
    font-size: 0.84rem !important;
    line-height: 1.5 !important;
  }

  /* ----- Quality card: icon + title inline ----- */
  .qc-card {
    display: grid;
    grid-template-columns: 40px 1fr;
    grid-template-rows: auto auto auto;
    column-gap: 0.75rem;
    row-gap: 0.25rem;
    padding: 1rem !important;
    align-items: center;
  }
  .qc-card-icon {
    grid-column: 1;
    grid-row: 1;
    width: 40px !important;
    height: 40px !important;
    margin-bottom: 0 !important;
    align-self: center;
  }
  .qc-card-icon svg { width: 20px !important; height: 20px !important; }
  .qc-card-title {
    grid-column: 2;
    grid-row: 1;
    margin-bottom: 0 !important;
    font-size: 0.95rem !important;
    align-self: center;
  }
  .qc-card-desc {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 0.4rem;
    font-size: 0.82rem !important;
  }
  .qc-spec-list { grid-column: 1 / -1; grid-row: 3; margin-top: 0.4rem; }
  .qc-card--metrics-box {
    grid-row: auto !important;
    grid-column: auto !important;
  }

  /* ----- Why RSM: simple, professional, numbered editorial list -----
     Single column. No icons, no tiles, no boxes. Thin hairline rules
     between items. Feels like a printed credential list. */
  .features-grid {
    display: block !important;
    counter-reset: why-rsm;
    padding: 0 !important;
    margin: 0 !important;
    border-top: 1px solid rgba(10, 35, 64, 0.12) !important;
  }
  .feature-card {
    counter-increment: why-rsm;
    display: grid !important;
    grid-template-columns: 2.25rem 1fr !important;
    column-gap: 0.9rem !important;
    align-items: baseline !important;
    padding: 1rem 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid rgba(10, 35, 64, 0.12) !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    text-align: left !important;
    position: relative;
  }
  .feature-card:hover {
    transform: none !important;
    box-shadow: none !important;
    border-color: rgba(10, 35, 64, 0.12) !important;
  }
  /* Numbered prefix: plain navy sans-serif, quiet and restrained */
  .feature-card::before {
    content: counter(why-rsm, decimal-leading-zero);
    grid-column: 1;
    grid-row: 1 / span 2;
    font-family: var(--font-sans), 'Open Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(10, 35, 64, 0.45);
    line-height: 1.4;
    letter-spacing: 0.05em;
    padding-top: 0.2rem;
  }
  /* Hide the icon tile entirely — clean list, no decoration */
  .feature-icon-wrap { display: none !important; }
  .feature-title {
    grid-column: 2;
    margin: 0 0 0.2rem !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    color: #0a2340 !important;
    letter-spacing: -0.005em;
  }
  .feature-desc {
    grid-column: 2;
    margin: 0 !important;
    font-size: 0.82rem !important;
    line-height: 1.5 !important;
    color: rgba(10, 35, 64, 0.7) !important;
  }
  /* Mobile: cut 6 cards down to 4. Hide #3 (35+ Years — already in the
     hero stats) and #5 (Custom Specifications — lower priority).
     counter-increment: none prevents the counter from advancing through
     hidden cards, so visible cards still read 01, 02, 03, 04. */
  .features-grid .feature-card:nth-child(3),
  .features-grid .feature-card:nth-child(5) {
    display: none !important;
    counter-increment: none !important;
  }
  /* Reset the generic mobile card-padding override that targeted .feature-card */
  .industry-card.feature-card,
  .insight-card.feature-card,
  .stat-card.feature-card { padding: 0 !important; }

  /* ----- Form inputs ----- */
  input[type="text"], input[type="email"], input[type="tel"],
  input[type="password"], select, textarea, .form-control {
    font-size: 16px !important;
    padding: 0.7rem 0.85rem !important;
  }
  .form-hint { font-size: 11px !important; }

  /* ----- Industry detail card ----- */
  .industry-detail-card { padding: 1.25rem !important; }

  /* ----- Buttons ----- */
  .btn { padding: 0.7rem 1.1rem !important; font-size: 0.9rem !important; }
  .btn--lg { padding: 0.85rem 1.3rem !important; font-size: 0.95rem !important; }

  /* ----- Container ----- */
  .container { padding-left: 1rem !important; padding-right: 1rem !important; }

  /* ----- Decorative shapes ----- */
  .cta-bg-orb--1, .cta-bg-orb--2,
  .bg-orb, .decorative-shape {
    opacity: 0.3 !important;
    transform: scale(0.6);
  }

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

/* ----- Extra-small phones (<= 400px) ----- */
@media (max-width: 400px) {
  .hero-title { font-size: 1.55rem !important; }
  .hero-subtitle { font-size: 0.85rem !important; }
  .section-title { font-size: 1.25rem !important; }
  .hero-actions .btn { font-size: 0.82rem !important; min-width: 0; }
  .hero-stat-number { font-size: 1.2rem !important; }
  .hero-stat-label { font-size: 0.6rem !important; }
}