:root {
  --maroon: #922539;
  --maroon-dark: #6c1c2b;
  --slate: #5a6265;
  --blue: #1c7fc1;
  --blue-dark: #145d90;
  --charcoal: #201e1d;
  --ivory: #f7f4f0;
  --ivory-2: #efe9e2;
  --ink: #221f1d;
  --line: rgba(34, 31, 29, 0.12);
  --line-dark: rgba(247, 244, 240, 0.16);

  --font-display: "Outfit", sans-serif;
  --font-body: "Inter", sans-serif;

  /* ---- Single card design system (used by every .*-card class site-wide) ---- */
  --card-radius: 6px;
  --card-border: 1px solid var(--line);
  --card-bg: #ffffff;
  --card-shadow: none;
  --card-shadow-hover: 0 10px 24px rgba(34, 31, 29, 0.08);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  /* overflow-x: hidden (on html/body together) silently breaks
     position: sticky in every descendant per the CSS overflow spec's
     "mixed overflow" auto-computation rule. overflow-x: clip gives the
     same anti-horizontal-scroll safety net without creating that
     scroll container. */
  overflow-x: clip;
  max-width: 100vw;
}
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  max-width: 100vw;
  width: 100%;
  overflow-wrap: break-word;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--maroon);
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.on-dark .eyebrow,
[style*="background: var(--charcoal)"] .eyebrow,
[style*="background:var(--charcoal)"] .eyebrow,
[style*="background: #201e1d"] .eyebrow {
  color: #e56c80 !important;
}

/* ===== HEADER — OZURU-style icon bar, hamburger-always ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: #fff;
  border-bottom: 1px solid var(--line);
  will-change: transform;
  transition:
    box-shadow 0.3s ease,
    transform 0.45s cubic-bezier(0.19, 1, 0.22, 1);
}
.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.site-header.nav-hidden {
  transform: translateY(-100%);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  min-height: 88px;
}
.header-side {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}
.header-side.right {
  justify-self: end;
}
.icon-btn {
  background: none;
  border: 0;
  color: var(--ink);
  font-size: 1.15rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  transition: opacity 0.2s ease;
  padding: 0;
}
.icon-btn:hover {
  opacity: 0.6;
}
.header-cta {
  display: none;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
  transition: all 0.2s ease;
  line-height: 1;
}

@media (min-width: 768px) {
  .header-cta {
    display: inline-flex;
    padding: 0.58rem 1.05rem;
    font-size: 0.73rem;
  }
}

@media (min-width: 1200px) {
  .header-cta {
    padding: 0.7rem 1.4rem;
    font-size: 0.78rem;
  }
}

/* Mobile (< 768px): Hide navbar buttons to keep navbar light, clean and spacious */
@media (max-width: 767px) {
  .header-cta {
    display: none !important;
  }
  .header-inner {
    padding: 0.75rem 0;
    min-height: 56px;
  }
  .header-side.right {
    gap: 0.85rem;
  }
  .site-header .container-fluid {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  .icon-btn {
    width: 44px;
    height: 44px;
    font-size: 1.15rem;
  }
  .menu-btn {
    gap: 0.45rem;
    min-height: 44px;
    min-width: 44px;
    padding: 0.4rem 0.2rem;
    justify-content: center;
  }
  .burger {
    width: 22px;
    height: 16px;
  }
  /* Baseline tap-target height for every solid/outline button on mobile */
  .btn-solid,
  .btn-outline {
    min-height: 44px;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
  }
  .filter-pill {
    min-height: 40px;
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
  }
}

.header-logo {
  display: flex;
  align-items: center;
}
.brand-logo {
  height: 62px;
  width: auto;
}

@media (max-width: 575px) {
  .brand-logo {
    height: 38px;
  }
}

@media (min-width: 576px) and (max-width: 767px) {
  .brand-logo {
    height: 46px;
  }
}

.menu-btn {
  background: none;
  border: 0;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0;
  color: var(--ink);
}
.menu-btn:hover .menu-label {
  opacity: 0.6;
}
.menu-label {
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.burger {
  background: none;
  border: 0;
  width: 24px;
  height: 17px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
}
.burger span {
  display: block;
  height: 1px;
  background: var(--ink);
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

/* Mobile navbar: animate burger into an "X" when the panel is open */
.menu-btn.active .burger span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.menu-btn.active .burger span:nth-child(2) {
  opacity: 0;
}
.menu-btn.active .burger span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ===== SLIDE-IN NAV PANEL (right side, page peeks through on the left) ===== */
.offcanvas.nav-overlay {
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1) !important;
}
.nav-overlay {
  width: min(88vw, 460px);
  background: var(--charcoal);
  color: var(--ivory);
  border: 0;
}
.nav-overlay .offcanvas-header {
  padding: 1.6rem clamp(1.4rem, 5vw, 2.6rem) 0;
  justify-content: flex-end;
}
.nav-close-btn {
  background: none;
  border: 0;
  color: var(--ivory);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0;
  transition: opacity 0.2s ease;
}
.nav-close-btn:hover {
  opacity: 0.6;
}
.nav-close-btn i {
  font-size: 1.1rem;
}

.nav-overlay .offcanvas-body {
  padding: 1rem clamp(1.4rem, 5vw, 2.6rem) 2.2rem;
  display: flex;
  flex-direction: column;
}

.nav-search-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid var(--line-dark);
  padding: 0.9rem 0 1.3rem;
  margin-bottom: 0.8rem;
}
.nav-search-btn {
  background: none;
  border: 0;
  color: rgba(247, 244, 240, 0.7);
  font-size: 1.15rem;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}
.nav-search-btn:hover {
  color: var(--ivory);
  transform: scale(1.1);
}
.nav-search-row input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: none;
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--ivory);
}
.nav-search-row input::placeholder {
  color: rgba(247, 244, 240, 0.45);
}
.nav-search-clear {
  background: none;
  border: 0;
  color: rgba(247, 244, 240, 0.5);
  font-size: 0.9rem;
  padding: 0.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}
.nav-search-clear:hover {
  color: var(--ivory);
}

.overlay-nav {
  list-style: none;
  margin: 0;
  padding: 0.2rem 0 0;
}
.overlay-nav > li {
  border-bottom: 1px solid var(--line-dark);
}
.overlay-nav > li > a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.2rem, 3.8vw, 1.45rem);
  padding: 0.72rem 0;
  color: var(--ivory);
  transition:
    opacity 0.25s ease,
    padding-left 0.25s ease,
    color 0.25s ease;
}
.overlay-nav > li > a:hover {
  opacity: 0.85;
  padding-left: 0.4rem;
  color: #fff;
}
.overlay-nav > li > a.is-current {
  color: var(--maroon);
}
.overlay-nav > li > a i {
  font-size: 0.9rem;
  margin-left: auto;
  opacity: 0.55;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}
.overlay-nav > li > a:hover i {
  transform: translateX(3px);
  opacity: 0.9;
}

/* ===== MANUFACTURING COLLAPSIBLE ACCORDION ===== */
.nav-accordion-item {
  border-bottom: 1px solid var(--line-dark);
}
.nav-accordion-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: transparent;
  border: 0;
  padding: 0.72rem 0;
  color: var(--ivory);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.2rem, 3.8vw, 1.45rem);
  text-align: left;
  cursor: pointer;
  outline: none;
  transition:
    opacity 0.25s ease,
    color 0.25s ease;
}
.nav-accordion-btn:hover {
  opacity: 0.85;
  color: #fff;
}
.nav-accordion-btn:not(.collapsed) {
  color: #fff;
}
.nav-accordion-btn i {
  font-size: 0.88rem;
  margin-left: auto;
  opacity: 0.55;
  transition:
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.25s ease;
}
.nav-accordion-btn:hover i {
  opacity: 0.9;
}
/* When open / expanded, chevron rotates 180 degrees up */
.nav-accordion-btn:not(.collapsed) i {
  transform: rotate(180deg);
  opacity: 0.9;
}

/* Submenu container with vertical accent line matching mockup */
.nav-submenu {
  list-style: none;
  margin: 0.2rem 0 0.85rem 0.35rem;
  padding: 0.2rem 0 0.2rem 1.25rem;
  border-left: 1.5px solid rgba(255, 255, 255, 0.2);
}
.nav-submenu li {
  border-bottom: none !important;
  margin: 0;
  padding: 0;
}
.nav-submenu a {
  display: block;
  font-family: var(--font-body);
  font-size: 0.94rem;
  font-weight: 400;
  color: rgba(247, 244, 240, 0.78);
  padding: 0.38rem 0;
  line-height: 1.35;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition:
    color 0.2s ease,
    padding-left 0.2s ease,
    opacity 0.2s ease;
}
.nav-submenu a:hover {
  color: #ffffff;
  padding-left: 0.25rem;
  opacity: 1;
}
.nav-submenu a.is-current {
  color: #ffffff;
  font-weight: 600;
  padding-left: 0.25rem;
}

/* Desktop Refinement for Slide-In Side Menu */
@media (min-width: 992px) {
  .nav-overlay {
    width: 390px;
  }
  .nav-overlay .offcanvas-header {
    padding: 1.4rem 2.2rem 0;
  }
  .nav-overlay .offcanvas-body {
    padding: 0.8rem 2.2rem 1.8rem;
  }
  .nav-search-row {
    padding: 0.65rem 0 0.95rem;
    margin-bottom: 0.5rem;
  }
  .nav-search-row input {
    font-size: 0.92rem;
  }
  .overlay-nav > li > a,
  .nav-accordion-btn {
    font-size: 1.15rem;
    padding: 0.58rem 0;
    font-weight: 500;
    letter-spacing: 0.015em;
  }
  .overlay-nav > li > a i,
  .nav-accordion-btn i {
    font-size: 0.82rem;
    margin-left: auto;
    opacity: 0.5;
  }
  .nav-submenu a {
    font-size: 0.92rem !important;
    padding: 0.35rem 0 !important;
  }
  .nav-overlay .btn-solid,
  .nav-overlay .btn-outline {
    padding: 0.62rem 1.2rem;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
  }
  .overlay-foot {
    padding-top: 1.2rem;
  }
  .overlay-foot .contact-line {
    font-size: 0.82rem;
    line-height: 1.55;
    margin-bottom: 0.9rem;
  }
  .overlay-foot .follow-label {
    font-size: 0.68rem;
    margin-bottom: 0.5rem;
  }
}

/* CTA button inside the mobile nav panel */
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 0.5rem;
  background: var(--maroon);
  color: #fff;
  border: 1px solid var(--maroon);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 2px;
  margin: 1.5rem 0;
  transition:
    background 0.25s ease,
    border-color 0.25s ease;
}
.nav-cta:hover {
  background: var(--maroon-dark);
  border-color: var(--maroon-dark);
  color: #fff;
}

.overlay-foot {
  margin-top: auto;
  padding-top: 2rem;
}
.overlay-foot .contact-line {
  font-size: 0.88rem;
  color: rgba(247, 244, 240, 0.6);
  margin: 0 0 1.4rem;
  line-height: 1.6;
}
.overlay-foot .follow-label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(247, 244, 240, 0.6);
  margin-bottom: 0.8rem;
  display: block;
}
.overlay-foot .social-row a {
  border-color: rgba(247, 244, 240, 0.25);
  color: var(--ivory);
}
.overlay-foot .social-row a:hover {
  background: var(--maroon);
  border-color: var(--maroon);
}

.btn-solid {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--maroon);
  color: #fff;
  border: 1px solid var(--maroon);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.7rem 1.5rem;
  border-radius: 2px;
  transition:
    background 0.25s ease,
    border-color 0.25s ease;
  white-space: nowrap;
}
.btn-solid:hover {
  background: var(--maroon-dark);
  border-color: var(--maroon-dark);
  color: #fff;
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.68rem 1.5rem;
  border-radius: 2px;
  transition:
    background 0.25s ease,
    color 0.25s ease;
  white-space: nowrap;
}
.btn-outline:hover {
  background: var(--ink);
  color: var(--ivory);
}
.btn-outline.on-dark {
  border-color: rgba(247, 244, 240, 0.5);
  color: var(--ivory);
}
.btn-outline.on-dark:hover {
  background: var(--ivory);
  color: var(--ink);
}

/* Long CTA copy ("EXPLORE OUR DETAILED 10-STAGE PROCESS GUIDE" etc.) was
   silently clipped off the right edge on narrow phones because these
   buttons/links are white-space: nowrap by default. Let them wrap onto a
   second line instead of overflowing the viewport. */
@media (max-width: 575px) {
  .btn-solid,
  .btn-outline,
  .link-arrow {
    white-space: normal;
    max-width: 100%;
  }
  .btn-solid,
  .btn-outline {
    text-align: center;
  }
}

/* ===== MARQUEE ===== */
.marquee {
  background: var(--maroon);
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  animation: marquee 30s linear infinite;
}
.marquee-track span {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.55rem 2rem;
}
.marquee-track span i {
  margin-right: 0.55rem;
}
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ===== REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.8s cubic-bezier(0.19, 1, 0.22, 1),
    transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger .reveal:nth-child(1) {
  transition-delay: 0.02s;
}
.reveal-stagger .reveal:nth-child(2) {
  transition-delay: 0.08s;
}
.reveal-stagger .reveal:nth-child(3) {
  transition-delay: 0.14s;
}
.reveal-stagger .reveal:nth-child(4) {
  transition-delay: 0.2s;
}
.reveal-stagger .reveal:nth-child(5) {
  transition-delay: 0.26s;
}
.reveal-stagger .reveal:nth-child(6) {
  transition-delay: 0.32s;
}

/* ===== SECTION HEADS ===== */
.section-pad {
  padding: 5rem 0;
  padding: clamp(2.75rem, 5.5vw, 5rem) 0;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.6rem;
  margin-bottom: clamp(1.4rem, 3.5vw, 2.6rem);
  flex-wrap: wrap;
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  margin: 0;
  max-width: 600px;
  line-height: 1.15;
}
.section-head .lead {
  color: var(--slate);
  max-width: 360px;
  font-size: 0.94rem;
  line-height: 1.6;
  margin: 0;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 0.2rem;
  white-space: nowrap;
}
.link-arrow i {
  transition: transform 0.3s ease;
}
.link-arrow:hover i {
  transform: translateX(5px);
}

/* ===== HOME HERO ===== */
.home-hero {
  position: relative;
  min-height: calc(100vh - 88px);
  min-height: calc(100svh - 88px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--charcoal);
  padding: clamp(2.5rem, 6vh, 4.5rem) 0;
}
.home-hero-media {
  position: absolute;
  inset: 0;
}
.home-hero-media img,
.home-hero-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0.92;
}
.home-hero-media img.fallback-zoom {
  animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.06);
  }
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(18, 16, 15, 0.94) 0%,
      rgba(18, 16, 15, 0.78) 45%,
      rgba(18, 16, 15, 0.42) 100%
    ),
    linear-gradient(
      0deg,
      rgba(18, 16, 15, 0.96) 0%,
      rgba(18, 16, 15, 0.45) 50%,
      rgba(18, 16, 15, 0.3) 100%
    );
}
.home-hero-content {
  position: relative;
  z-index: 2;
  padding-top: 1.5rem;
  padding-bottom: 2rem;
  margin-top: 3.85rem;
}
.home-hero-content .eyebrow {
  color: #ffffff;
  letter-spacing: 0.12em;
  font-weight: 600;
  margin-bottom: 0.85rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
.home-hero-content h1 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: clamp(2.2rem, 5.2vw, 4.4rem);
  line-height: 1.1;
  color: var(--ivory);
  margin: 0 0 1.25rem;
}
.home-hero-content h1 .hero-headline-accent {
  display: inline-block;
  color: #e8c89b;
  font-style: normal;
  font-weight: 600;
  text-shadow: 0 2px 20px rgba(232, 200, 155, 0.25);
}
.hero-sub {
  color: rgba(247, 244, 240, 0.88);
  font-size: 1.05rem;
  max-width: 640px;
  line-height: 1.7;
  margin: 0;
}
.hero-sub-lead {
  color: rgba(247, 244, 240, 0.72);
  font-size: 0.94rem;
  line-height: 1.6;
}
.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #25d366;
  display: inline-block;
  box-shadow: 0 0 0 2px rgba(37, 211, 102, 0.3);
}
.hero-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.15rem;
  align-items: center;
}
.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(247, 244, 240, 0.9);
  background: rgba(20, 18, 17, 0.55);
  backdrop-filter: blur(8px);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.hero-trust-item i {
  color: #25d366;
  font-size: 0.95rem;
}

@media (max-height: 780px) {
  .home-scroll-cue {
    display: none;
  }
}

/* ===== HERITAGE STRIP ===== */
.heritage-strip {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 2.4rem 0;
}
.heritage-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}
.heritage-badge {
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(146, 37, 57, 0.08);
  color: var(--maroon);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 1rem;
}
.heritage-badge i,
.heritage-badge svg {
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.heritage-badge svg {
  width: 28px;
  height: 28px;
}
.heritage-text {
  text-align: center;
}
.heritage-text h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.5rem;
  text-align: center;
}
.heritage-text p {
  color: var(--slate);
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0 auto;
  max-width: 780px;
  text-align: center;
}

/* ===== DIRECT VS AGENT TABLE (CLEAN, SIMPLE & ALIGNED) ===== */
.direct-vs-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 1.5rem;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.22);
}

.direct-vs-table th,
.direct-vs-table td {
  padding: 0.95rem 1.25rem;
  font-size: 0.86rem;
  line-height: 1.5;
  vertical-align: middle;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.direct-vs-table th {
  background: rgba(255, 255, 255, 0.04);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.7);
}

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

.direct-vs-table tbody tr:hover td {
  background-color: rgba(255, 255, 255, 0.02);
}

/* Column 1: Feature */
.direct-vs-table .col-feature {
  color: #ffffff;
  font-weight: 600;
}

/* Column 2: Sabah Designers (Clean Highlight) */
.direct-vs-table .col-sabah-head {
  color: #55e688 !important;
  background: rgba(85, 230, 136, 0.06);
  border-left: 1px solid rgba(85, 230, 136, 0.18);
  border-right: 1px solid rgba(85, 230, 136, 0.18);
}

.direct-vs-table .col-sabah {
  color: #ffffff;
  font-weight: 500;
  background: rgba(85, 230, 136, 0.03);
  border-left: 1px solid rgba(85, 230, 136, 0.15);
  border-right: 1px solid rgba(85, 230, 136, 0.15);
}

.direct-vs-table tbody tr:hover .col-sabah {
  background: rgba(85, 230, 136, 0.06);
}

.direct-vs-table .col-sabah i {
  color: #55e688;
  font-size: 1rem;
  vertical-align: -1px;
}

/* Column 3: Sourcing Middleman */
.direct-vs-table .col-agent-head {
  color: rgba(255, 255, 255, 0.65);
}

.direct-vs-table .col-agent {
  color: rgba(255, 255, 255, 0.68);
}

.direct-vs-table .col-agent i {
  color: #f87171;
  font-size: 0.95rem;
  vertical-align: -1px;
}

/* Tablet refinements (768px - 991px) */
@media (max-width: 991px) and (min-width: 768px) {
  .direct-vs-table th,
  .direct-vs-table td {
    padding: 0.8rem 0.95rem;
    font-size: 0.8rem;
  }
  .direct-vs-table th {
    font-size: 0.7rem;
  }
}

/* ===== DIRECT VS BUTTON & MOBILE COMPARISON CARDS ===== */
.direct-vs-btn {
  white-space: normal;
  text-align: center;
  line-height: 1.35;
  padding: 0.75rem 1.4rem;
  font-size: 0.8rem;
  max-width: 100%;
}
@media (max-width: 991px) {
  .direct-vs-btn {
    width: 100%;
    display: flex;
    justify-content: center;
  }
}

.direct-vs-mobile-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.direct-vs-item-card {
  background: rgba(0, 0, 0, 0.28);
  border: var(--card-border);
  border-radius: var(--card-radius);
  padding: 0.95rem 1.05rem;
}

.direct-vs-item-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.6rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.direct-vs-row {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.82rem;
  line-height: 1.5;
  margin-bottom: 0.45rem;
}
.direct-vs-row:last-child {
  margin-bottom: 0;
}

.direct-vs-row.is-sabah {
  color: #55e688;
  font-weight: 500;
}

.direct-vs-row.is-sabah i {
  color: #55e688;
  font-size: 0.95rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.direct-vs-row.is-agent {
  color: rgba(255, 255, 255, 0.55);
}

.direct-vs-row.is-agent i {
  color: #e06c75;
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.direct-vs-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
  opacity: 0.75;
  margin-bottom: 0.1rem;
}

/* ===== DIRECT FACTORY RELATIONSHIP SECTION ===== */
.direct-card {
  background: var(--card-bg);
  border: var(--card-border);
  border-radius: var(--card-radius);
  padding: 2.2rem 1.8rem;
  height: 100%;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  position: relative;
}
.direct-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.07);
  border-color: rgba(146, 37, 57, 0.3);
}
.direct-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 4px;
  background: rgba(146, 37, 57, 0.08);
  color: var(--maroon);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  transition:
    background 0.3s ease,
    color 0.3s ease;
}
.direct-card:hover .direct-card-icon {
  background: var(--maroon);
  color: #fff;
}
.direct-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--ink);
}
.direct-card p {
  color: var(--slate);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 0;
}
.direct-vs-banner {
  background: var(--charcoal);
  color: #fff;
  border-radius: 6px;
  padding: 2.4rem 2.6rem;
  margin-top: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.direct-vs-header {
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
}
.direct-vs-header h3 {
  text-align: center;
}
.direct-vs-header p {
  text-align: center;
  max-width: 740px;
  margin-left: auto;
  margin-right: auto;
}
.direct-vs-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ===== MANUFACTURING CAPABILITIES (PRODUCTS) ===== */
.cap-product-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: var(--card-border);
  border-radius: var(--card-radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  height: 100%;
}
.cap-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
  border-color: rgba(146, 37, 57, 0.35);
  color: inherit;
}
.cap-product-media {
  position: relative;
  aspect-ratio: 4/5;
  background: #f7f5f2;
  overflow: hidden;
}
.cap-product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition:
    transform 0.6s cubic-bezier(0.19, 1, 0.22, 1),
    opacity 0.45s ease;
}
.cap-product-card:hover .cap-product-media img {
  transform: scale(1.06);
}
.cap-product-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--maroon);
  background: rgba(146, 37, 57, 0.08);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
  align-self: flex-start;
}
.cap-product-body {
  padding: 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.cap-product-body h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--ink);
}
.cap-product-body p {
  color: var(--slate);
  font-size: 0.84rem;
  line-height: 1.55;
  margin-bottom: 0.85rem;
  flex-grow: 1;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(0.84rem * 1.55 * 2);
  max-height: calc(0.84rem * 1.55 * 2);
}
.cap-product-link {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--maroon);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-top: auto;
  padding-top: 0.7rem;
  border-top: 1px solid var(--line);
}
.cap-product-card:hover .cap-product-link {
  color: var(--maroon-dark);
}
.cap-catalog-btn {
  padding: 0.78rem 1.85rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

/* ===== 4-STAGE QUALITY CONTROL CARDS ===== */
.qc-stage-card {
  background: var(--card-bg);
  border: var(--card-border);
  border-radius: var(--card-radius);
  padding: 1.8rem 1.5rem;
  height: 100%;
  position: relative;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.qc-stage-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}
.qc-stage-num {
  font-family: var(--font-mono, monospace);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--maroon);
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
  display: block;
}
.qc-stage-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--ink);
}
.qc-stage-text {
  font-size: 0.85rem;
  color: var(--slate);
  line-height: 1.6;
  margin-bottom: 0;
}
.home-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(247, 244, 240, 0.65);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.home-scroll-cue .line {
  width: 1px;
  height: 32px;
  background: rgba(247, 244, 240, 0.35);
  position: relative;
  overflow: hidden;
}
.home-scroll-cue .line::after {
  content: "";
  position: absolute;
  left: 0;
  top: -100%;
  width: 100%;
  height: 100%;
  background: var(--maroon);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  0% {
    top: -100%;
  }
  60% {
    top: 100%;
  }
  100% {
    top: 100%;
  }
}

/* stat / counter strip */
.stat-strip {
  background: var(--ivory-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat-strip .stat {
  padding: 2.3rem 1rem;
  text-align: center;
  border-left: 1px solid var(--line);
}
.stat-strip .col-6:first-child .stat,
.stat-strip .col-lg-4:first-child .stat,
.stat-strip .col-lg-3:first-child .stat {
  border-left: none;
}
.stat-strip .stat .num {
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--maroon);
  display: block;
  line-height: 1;
}
.stat-strip .stat .lbl {
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--slate);
  margin-top: 0.5rem;
  display: block;
}
@media (max-width: 991px) {
  .stat-strip .stat {
    padding: 1.5rem 0.6rem;
  }
  .stat-strip .col-6:nth-child(2n + 1) .stat {
    border-left: none;
  }
  .stat-strip .col-6:nth-child(n + 3) .stat {
    border-top: 1px solid var(--line);
  }
  .stat-strip.on-dark .col-6:nth-child(n + 3) .stat {
    border-top-color: var(--line-dark);
  }
  .stat-strip .stat .num {
    font-size: clamp(1.8rem, 5.5vw, 2.3rem);
  }
}
.stat-strip.on-dark {
  background: var(--charcoal);
  border-color: var(--line-dark);
}
.stat-strip.on-dark .stat {
  border-left-color: var(--line-dark);
}
.stat-strip.on-dark .stat .num {
  color: #fff;
}
.stat-strip.on-dark .stat .lbl {
  color: rgba(247, 244, 240, 0.55);
}

/* ===== FACILITY / SECTION CARDS (About + Home facilities) ===== */
.facility-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--card-radius);
  aspect-ratio: 3/4;
  background: var(--charcoal);
  display: block;
}
.facility-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.7s cubic-bezier(0.19, 1, 0.22, 1),
    filter 0.5s ease;
  filter: saturate(0.9) brightness(0.75);
}
.facility-card:hover img {
  transform: scale(1.1);
}
.facility-card .scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(32, 30, 29, 0) 35%,
    rgba(32, 30, 29, 0.94) 100%
  );
}
.facility-card .num {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--ivory);
  border: 1px solid var(--line-dark);
  padding: 0.3rem 0.6rem;
  letter-spacing: 0.1em;
}
.facility-card .info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.2rem;
  color: var(--ivory);
}
.facility-card .info h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  margin: 0 0 0.4rem;
}
.facility-card .info p {
  font-size: 0.82rem;
  color: rgba(247, 244, 240, 0.72);
  line-height: 1.55;
  margin: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    opacity 0.4s ease;
}
.facility-card:hover .info p {
  max-height: 120px;
  opacity: 1;
  margin-top: 0.5rem;
}

/* ===== HORIZONTAL RAIL ===== */
.rail-wrap {
  position: relative;
}
.rail {
  display: flex;
  gap: 1.1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 0.5rem;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar {
  display: none;
}
.rail-card {
  flex: 0 0 auto;
  width: min(72vw, 280px);
  scroll-snap-align: start;
}
.rail-nav {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.2rem;
}
.rail-nav button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}
.rail-nav button:hover {
  background: var(--ink);
  color: var(--ivory);
  border-color: var(--ink);
}
.on-dark .rail-nav button,
[style*="background: var(--charcoal)"] .rail-nav button,
[style*="background:var(--charcoal)"] .rail-nav button {
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}
.on-dark .rail-nav button:hover,
[style*="background: var(--charcoal)"] .rail-nav button:hover,
[style*="background:var(--charcoal)"] .rail-nav button:hover {
  background: #ffffff;
  color: #1a1816;
  border-color: #ffffff;
}

/* ===== WHY CHOOSE US ===== */
.why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 1.6rem;
}
.why-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.94rem;
  color: rgba(247, 244, 240, 0.88);
}
.why-list li i {
  color: var(--maroon);
  margin-top: 0.2rem;
}
@media (max-width: 575px) {
  .why-list {
    grid-template-columns: 1fr;
  }
}

/* ===== PRODUCT GRID ===== */
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.filter-pill {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.55rem 1.2rem;
  border-radius: 30px;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}
.filter-pill.is-active,
.filter-pill:hover {
  background: var(--maroon);
  color: #fff;
  border-color: var(--maroon);
}

@media (max-width: 768px) {
  .filter-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.4rem;
    scrollbar-width: none;
    /* Fade the trailing edge so a cut-off pill reads as "more to scroll"
       rather than looking like the row is simply clipped. */
    -webkit-mask-image: linear-gradient(
      to right,
      #000 calc(100% - 28px),
      transparent 100%
    );
    mask-image: linear-gradient(
      to right,
      #000 calc(100% - 28px),
      transparent 100%
    );
  }
  .filter-pills::-webkit-scrollbar {
    display: none;
  }
  .filter-pill {
    flex-shrink: 0;
    padding: 0.42rem 0.95rem;
    font-size: 0.74rem;
  }
}

/* ===== PRODUCT CARDS (Modern Apparel Catalog UI) ===== */
.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--card-bg);
  border: var(--card-border);
  border-radius: var(--card-radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.25s cubic-bezier(0.2, 1, 0.3, 1),
    box-shadow 0.25s cubic-bezier(0.2, 1, 0.3, 1),
    border-color 0.2s ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(20, 18, 17, 0.08);
  border-color: rgba(20, 18, 17, 0.22);
}

.product-card .media {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  background: #eef0f2;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.4s cubic-bezier(0.2, 1, 0.3, 1);
  display: block;
}

.product-card .media img.crop-bottoms {
  object-position: center center;
}

.product-card:hover .media img {
  transform: scale(1.03);
}

.product-card:hover .media img.crop-bottoms {
  transform: scale(1.03);
}

.product-card-body {
  padding: 0.85rem 0.95rem 1rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: #fff;
}

.product-card-body .product-type {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--maroon);
  background: rgba(146, 37, 57, 0.08);
  padding: 0.18rem 0.55rem;
  border-radius: 4px;
  margin-bottom: 0.4rem;
  align-self: flex-start;
}

.product-card-body .product-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--ink);
  line-height: 1.3;
  margin: 0.2rem 0 0.45rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-body .product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--slate);
  border-top: 1px solid var(--line);
  padding-top: 0.45rem;
  margin-top: auto;
}

.product-card-body .product-moq {
  display: inline-flex;
  align-items: center;
}

.product-card-body .product-arrow {
  color: var(--maroon);
  font-size: 0.85rem;
  transition: transform 0.2s ease;
}

.product-card:hover .product-card-body .product-arrow {
  transform: translateX(3px);
}

/* Product catalog pagination */
.product-pagination {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  gap: 0.35rem;
}

.product-page-item {
  margin: 0;
}

.product-page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  padding: 0.4rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.product-page-link:hover:not(:disabled) {
  background: rgba(146, 37, 57, 0.08);
  border-color: rgba(146, 37, 57, 0.35);
}

.product-page-item.is-active .product-page-link {
  background: var(--maroon);
  border-color: var(--maroon);
  color: #fff;
  cursor: default;
}

.product-page-item.is-active .product-page-link:hover {
  background: var(--maroon);
}

.product-page-item.is-disabled .product-page-link {
  opacity: 0.45;
  cursor: not-allowed;
}

.product-page-link:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Backwards compatibility for .cat layout if used */
.product-card .cat {
  position: static;
  padding: 0.85rem 0.95rem 1rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: #fff;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--maroon);
  font-weight: 700;
}

.product-card .cat b {
  color: var(--ink);
  display: block;
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  margin-top: 0.2rem;
  line-height: 1.3;
}

@media (max-width: 575.98px) {
  .product-card .media {
    aspect-ratio: 3 / 4;
  }
  .product-card-body,
  .product-card .cat {
    padding: 0.65rem 0.7rem 0.8rem;
  }
  .product-card-body .product-type,
  .product-card .cat {
    font-size: 0.6rem;
  }
  .product-card-body .product-title,
  .product-card .cat b {
    font-size: 0.84rem;
    margin-top: 0.15rem;
    margin-bottom: 0.35rem;
    line-height: 1.25;
  }
  .product-card-body .product-meta {
    font-size: 0.66rem;
    padding-top: 0.35rem;
  }
  #productGrid.row.g-4 {
    --bs-gutter-x: 0.75rem;
    --bs-gutter-y: 0.85rem;
  }
}

/* ===== GALLERY (masonry-ish) ===== */
.gallery-grid {
  column-count: 1;
  column-gap: 1rem;
}
@media (min-width: 576px) {
  .gallery-grid {
    column-count: 2;
  }
}
@media (min-width: 992px) {
  .gallery-grid {
    column-count: 3;
  }
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}
.gallery-item img {
  width: 100%;
  display: block;
  transition:
    transform 0.6s cubic-bezier(0.19, 1, 0.22, 1),
    filter 0.4s ease;
  filter: saturate(0.95);
}
.gallery-item:hover img {
  transform: scale(1.05);
}
.gallery-item .cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.9rem;
  background: linear-gradient(0deg, rgba(32, 30, 29, 0.85), transparent);
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-item:hover .cap {
  opacity: 1;
}

.video-frame {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--charcoal);
}
.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===== CONTACT / MAP / FORM ===== */
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 0.7rem 0.1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-bottom-color: var(--maroon);
}
.contact-form label {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 0.5rem;
  display: block;
}
.map-frame {
  aspect-ratio: 16/8;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  background: var(--ivory-2);
  border: 1px solid var(--line);
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.3) contrast(1.05);
}

.info-card {
  border: var(--card-border);
  border-radius: var(--card-radius);
  padding: 1.8rem;
  background: var(--card-bg);
  height: 100%;
}
.info-card i {
  font-size: 1.4rem;
  color: var(--maroon);
  margin-bottom: 0.8rem;
  display: block;
}
.info-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  margin: 0 0 0.6rem;
}
.info-card p {
  color: var(--slate);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}
.info-card a {
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.social-row {
  display: flex;
  gap: 0.8rem;
}
.social-row a {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}
.social-row a:hover {
  background: var(--maroon);
  border-color: var(--maroon);
  color: #fff;
}

/* ===== INNER PAGE HERO (About/Factory/Products/Gallery/Contact) ===== */
.page-hero {
  position: relative;
  min-height: 52vh;
  min-height: clamp(260px, 38vh, 52vh);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--charcoal);
}
.page-hero-media {
  position: absolute;
  inset: 0;
}
.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
}
.page-hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 3rem;
  padding-bottom: clamp(1.8rem, 4vw, 3rem);
  color: var(--ivory);
}
.page-hero-content h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  margin: 0 0 0.6rem;
}
.breadcrumb-line {
  font-size: 0.78rem;
  color: rgba(247, 244, 240, 0.6);
  letter-spacing: 0.05em;
}
.breadcrumb-line a {
  color: var(--ivory);
  border-bottom: 1px solid rgba(247, 244, 240, 0.4);
}

@media (min-width: 992px) {
  .col-cat-7 {
    flex: 0 0 auto;
    width: 14.2857%;
  }
}

/* ===== FACTORY CARDS ===== */
.factory-card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 2px;
  overflow: hidden;
  height: 100%;
}
.factory-card .fc-head {
  padding: 1.6rem 1.6rem 1.2rem;
  border-bottom: 1px solid var(--line);
}
.factory-card .fc-head .tag {
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--maroon);
  font-weight: 700;
}
.factory-card .fc-head h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  margin: 0.3rem 0 0;
}
.factory-card .fc-body {
  padding: 1.4rem 1.6rem 1.6rem;
}
.factory-card .fc-body p {
  color: var(--slate);
  font-size: 0.88rem;
  line-height: 1.65;
  margin: 0 0 0.9rem;
}
.factory-card .fc-contact {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.86rem;
  margin-bottom: 0.55rem;
  color: var(--ink);
  line-height: 1.5;
}
.factory-card .fc-contact i {
  color: var(--maroon);
  font-size: 0.95rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}
.factory-card .fc-contact a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s ease;
}
.factory-card .fc-contact a:hover {
  color: var(--maroon);
  text-decoration: underline;
}

/* Factory Map Card Elevation */
.factory-map-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--card-radius);
}
.factory-map-card .fc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.btn-map-directions {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--maroon);
  padding: 0.42rem 0.88rem;
  border-radius: 2px;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-map-directions:hover {
  background: var(--ink);
  color: var(--ivory);
  transform: translateY(-1px);
}
.factory-map-embed {
  position: relative;
  width: 100%;
  flex: 1 1 auto;
  min-height: 280px;
  background: var(--ivory-2);
}
@media (max-width: 991.98px) {
  .factory-map-embed {
    min-height: 300px;
    height: 300px;
  }
}
.factory-map-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.factory-map-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.85rem 1.4rem;
  background: var(--ivory-2);
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--slate);
  flex-wrap: wrap;
}
.map-bar-info {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
  color: var(--ink);
  font-size: 0.82rem;
}
.map-bar-info i {
  color: var(--maroon);
  font-size: 0.95rem;
}
.map-bar-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--maroon);
  text-decoration: none;
  transition: color 0.2s ease;
}
/* ==========================================================================
   DEDICATED FACTORY & MACHINERY PORTAL STYLING
   ========================================================================== */

.factory-jump-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}
.factory-jump-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  white-space: nowrap;
  padding: 0.75rem 0;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(
    to right,
    #000 calc(100% - 28px),
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    #000 calc(100% - 28px),
    transparent 100%
  );
}
.factory-jump-nav::-webkit-scrollbar {
  display: none;
}
.factory-jump-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-decoration: none;
  padding: 0.4rem 0.85rem;
  border-radius: 50px;
  background: var(--ivory);
  border: 1px solid var(--line);
  transition: all 0.2s ease;
}

@media (max-width: 767px) {
  .factory-jump-link {
    padding: 0.62rem 0.9rem;
  }
}
.factory-jump-link:hover,
.factory-jump-link.active {
  background: var(--maroon);
  color: #ffffff;
  border-color: var(--maroon);
}

.factory-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
@media (max-width: 991.98px) {
  .factory-metric-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 575.98px) {
  .factory-metric-grid {
    grid-template-columns: 1fr;
  }
}
.factory-metric-box {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  padding: 1.4rem 1.25rem;
  border-top: 3px solid var(--maroon);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.factory-metric-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}
.factory-metric-val {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}
.factory-metric-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.25rem;
}
.factory-metric-sub {
  font-size: 0.78rem;
  color: var(--slate);
  line-height: 1.4;
  margin-bottom: 0;
}

.factory-dept-card {
  background: var(--card-bg);
  border: var(--card-border);
  border-radius: var(--card-radius);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.factory-dept-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}
.factory-dept-media {
  position: relative;
  aspect-ratio: 16/10;
  width: 100%;
  overflow: hidden;
  background: var(--ivory-2);
}
.factory-dept-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.factory-dept-card:hover .factory-dept-media img {
  transform: scale(1.04);
}
.factory-dept-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(14, 20, 27, 0.85);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}
.factory-dept-body {
  padding: 1.25rem 1.2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.factory-dept-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.4rem;
}
.factory-dept-desc {
  font-size: 0.82rem;
  color: var(--slate);
  line-height: 1.5;
  margin-bottom: 0.8rem;
  flex-grow: 1;
}
.factory-dept-specs {
  border-top: 1px dashed var(--line);
  padding-top: 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.factory-dept-spec-item {
  font-size: 0.75rem;
  color: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.factory-dept-spec-item span:first-child {
  color: var(--slate);
  font-weight: 500;
}
.factory-dept-spec-item span:last-child {
  font-weight: 600;
  color: var(--ink);
}

.factory-tour-box {
  background: linear-gradient(135deg, var(--charcoal) 0%, #171514 100%);
  color: #ffffff;
  border-radius: var(--card-radius);
  padding: 2.5rem 2.25rem;
  position: relative;
  overflow: hidden;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--charcoal);
  color: rgba(247, 244, 240, 0.78);
  padding: 4.5rem 0 2rem;
}
.site-footer .footer-logo {
  height: 36px;
  width: auto;
  margin-bottom: 1.1rem;
  filter: brightness(0) invert(1);
}
.footer-note {
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(247, 244, 240, 0.65);
  max-width: 320px;
  margin: 0 0 1rem;
}
.footer-heading {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #e56c80;
  font-weight: 700;
  margin-bottom: 1.2rem;
  line-height: 1.2;
}
/* ---- Resource Centre cards (resources.html) ---- */
.resource-card {
  height: 100%;
  background: var(--card-bg);
  border: var(--card-border);
  border-radius: var(--card-radius);
  padding: 1.5rem;
}
.resource-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  margin: 0.6rem 0 0.4rem;
}
.resource-card p {
  color: var(--slate);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
}
.badge-soon {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--maroon);
  background: rgba(146, 37, 57, 0.08);
  border-radius: 20px;
  padding: 0.25rem 0.65rem;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}
.fbadge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  color: rgba(247, 244, 240, 0.75);
  border: 1px solid rgba(247, 244, 240, 0.18);
  border-radius: 20px;
  padding: 0.3rem 0.7rem;
}
.fbadge i {
  color: #e56c80;
  font-size: 0.85rem;
}
.site-footer a.flink {
  display: block;
  font-size: 0.88rem;
  line-height: 1.4;
  padding: 0.6rem 0;
  color: rgba(247, 244, 240, 0.72);
  text-decoration: none;
  transition: all 0.2s ease;
}
.site-footer a.flink:hover {
  color: #fff;
  padding-left: 4px;
}
.site-footer a.footer-ellipsis {
  opacity: 0.45;
  font-style: italic;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  margin-top: 0.1rem;
  pointer-events: auto;
}
.site-footer a.footer-ellipsis:hover {
  opacity: 0.75;
  padding-left: 0;
  color: rgba(247, 244, 240, 0.85);
}
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(247, 244, 240, 0.75);
  text-decoration: none;
  transition: color 0.2s ease;
  margin: 0;
}
.footer-contact-item span {
  flex: 1;
  min-width: 0;
}
a.footer-contact-item:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-contact-item i {
  color: #e56c80;
  font-size: 1rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
  line-height: 1;
}
.site-footer .social-row {
  display: flex;
  gap: 0.75rem;
}
.site-footer .social-row a {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(247, 244, 240, 0.22);
  color: var(--ivory);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}
.site-footer .social-row a:hover {
  background: var(--maroon);
  border-color: var(--maroon);
  color: #fff;
  transform: translateY(-2px);
}
.footer-bottom {
  margin-top: 3.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line-dark);
  font-size: 0.76rem;
  color: rgba(247, 244, 240, 0.45);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

@media (max-width: 767px) {
  .site-footer {
    padding: 3rem 0 1.6rem;
  }
  .site-footer .row.gy-4 {
    --bs-gutter-y: 1.8rem !important;
  }
  .footer-heading {
    margin-bottom: 0.8rem;
  }
  .site-footer a.flink {
    font-size: 0.85rem;
    padding: 0.62rem 0;
  }
  .footer-contact-item {
    font-size: 0.85rem;
    gap: 0.6rem;
  }
  .footer-bottom {
    margin-top: 2rem;
    padding-top: 1.2rem;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 0.35rem;
    font-size: 0.73rem;
  }
}

/* ===== FLOATING WHATSAPP BUTTON (MATCHING BRAND MAROON HOVER) ===== */
.whatsapp-fab {
  position: fixed;
  right: calc(1.5rem + env(safe-area-inset-right, 0px));
  bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
  z-index: 50;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #242221;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.whatsapp-fab:hover {
  background: var(--maroon, #922539);
  color: #ffffff;
  border-color: var(--maroon, #922539);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 24px rgba(146, 37, 57, 0.42);
}

.whatsapp-fab:focus-visible {
  outline: 2px solid var(--maroon, #922539);
  outline-offset: 2px;
}

@media (max-width: 575px) {
  .whatsapp-fab {
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
    right: calc(1rem + env(safe-area-inset-right, 0px));
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-fab {
    transition: none;
    transform: none !important;
  }
}

/* ===== CONTACT PAGE WHATSAPP DIRECT SECTION ===== */
.whatsapp-direct-card {
  background: var(--dark, #161413);
  color: #fff;
  border-radius: var(--card-radius);
  padding: 1.5rem 1.6rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
}
.whatsapp-direct-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--maroon), transparent);
}
.whatsapp-direct-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e56c80;
  margin-bottom: 0.75rem;
}
.whatsapp-direct-badge .pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e56c80;
  box-shadow: 0 0 0 2px rgba(146, 37, 57, 0.35);
}
.whatsapp-direct-body {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}
.whatsapp-direct-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: rgba(146, 37, 57, 0.15);
  color: #e56c80;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  border: 1px solid rgba(146, 37, 57, 0.3);
}
.whatsapp-direct-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.35rem;
  line-height: 1.3;
}
.whatsapp-direct-sub {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  margin-bottom: 0.6rem;
}
.whatsapp-direct-number {
  font-size: 0.85rem;
  color: #fff;
}
.whatsapp-direct-number strong {
  font-family: var(--font-mono, monospace);
  letter-spacing: 0.03em;
  color: #e56c80;
  font-weight: 600;
}
.whatsapp-direct-hours {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
}
.btn-whatsapp-direct {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.7rem 1.25rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: var(--maroon);
  border: 1px solid var(--maroon);
  border-radius: 4px;
  text-decoration: none;
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}
.btn-whatsapp-direct:hover {
  background: var(--maroon-dark);
  border-color: var(--maroon-dark);
  transform: translateY(-1px);
}
.link-inline-wa {
  color: var(--maroon);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}
.link-inline-wa:hover {
  color: var(--maroon-dark);
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
    animation: none !important;
  }
}
/* ===== GLOBAL CLIENTS MARQUEE ===== */
.clients-section {
  padding: 4rem 0;
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
  position: relative;
}
/* Elegant maroon gradient accent line at the top */
.clients-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--maroon) 50%,
    transparent 100%
  );
}

.clients-marquee {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 1.5rem 0;
  /* Soft fade on left and right edges for a polished look */
  mask-image: linear-gradient(
    to right,
    transparent,
    black 8%,
    black 92%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 8%,
    black 92%,
    transparent
  );
}

/* Every logo sits in an identical white card, so the row is always perfectly
   aligned and all logos render at a consistent visual size.
   NOTE: margin-right is used instead of gap so the -50% translate loop stays seamless. */
.clients-track {
  display: flex;
  align-items: stretch;
  width: max-content;
  animation: scroll-logos 30s linear infinite;
}

/* Pause animation on hover so users can look at a logo */
.clients-track:hover {
  animation-play-state: paused;
}

.client-logo-card {
  width: 190px;
  height: 100px;
  margin-right: 1.5rem;
  flex-shrink: 0;
  background: var(--card-bg);
  border: var(--card-border);
  border-radius: var(--card-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.25rem;
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease,
    border-color 0.3s ease;
}

.client-logo-card:hover {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
  border-color: rgba(146, 37, 57, 0.3);
}

.client-logo {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

@keyframes scroll-logos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  } /* one full logo set = exactly half the track, for a seamless loop */
}

/* Responsive sizing */
@media (max-width: 768px) {
  .client-logo-card {
    width: 165px;
    height: 88px;
    margin-right: 1.1rem;
  }
}
@media (max-width: 480px) {
  .clients-section {
    padding: 3rem 0;
  }
  .clients-marquee {
    padding: 1rem 0;
  }
  .client-logo-card {
    width: 140px;
    height: 76px;
    margin-right: 0.9rem;
    padding: 0.8rem 1rem;
  }
}

/* Accessibility: Respect user's reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .clients-track {
    animation: none;
    overflow-x: auto;
    width: auto;
    padding: 0 1rem;
  }
  .clients-marquee {
    mask-image: none;
    -webkit-mask-image: none;
  }
}

/* ===== 6. TWO DIFFERENT CUSTOMER TYPES ===== */
.customer-types-section {
  background: var(--ivory);
  position: relative;
}

.customer-eyebrow {
  justify-content: center;
  display: inline-flex;
  align-items: center;
}

.customer-main-heading {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 1rem;
  letter-spacing: -0.015em;
}

.customer-main-subtext {
  color: var(--slate);
  max-width: 720px;
  margin: 0 auto;
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Customer Card Architecture */
.customer-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 2.5rem 2.25rem;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
}

.customer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
}

/* Card 1: Enterprise & Retailers */
.customer-card-established {
  border-top: 4px solid var(--charcoal);
}

.customer-card-established:hover {
  border-top-color: #111111;
  border-color: rgba(32, 30, 29, 0.3);
}

/* Card 2: Startups & Growing Brands */
.customer-card-startup {
  border-top: 4px solid var(--maroon);
}

.customer-card-startup:hover {
  border-top-color: var(--maroon);
  border-color: rgba(146, 37, 57, 0.35);
}

/* Card Header */
.customer-card-badge-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.15rem;
}

.customer-audience-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
}

.badge-established {
  background: var(--charcoal);
  color: #ffffff;
}

.badge-startup {
  background: rgba(146, 37, 57, 0.1);
  color: var(--maroon);
  border: 1px solid rgba(146, 37, 57, 0.2);
}

.customer-scope-tag {
  font-size: 0.78rem;
  color: var(--slate);
  font-weight: 500;
}

.customer-card-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--ink);
  margin-bottom: 0.65rem;
  line-height: 1.25;
}

.customer-card-desc {
  font-size: 0.88rem;
  color: var(--slate);
  line-height: 1.6;
  margin-bottom: 1.75rem;
  min-height: 48px;
}

/* Checklist Section */
.customer-checklist-heading {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 1.25rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
}

.text-emerald {
  color: #059669;
}

.text-maroon {
  color: var(--maroon);
}

.customer-points-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 1.5rem;
  row-gap: 1.3rem;
  flex-grow: 1;
}
@media (max-width: 575px) {
  .customer-points-list {
    grid-template-columns: 1fr;
  }
}

.customer-points-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.point-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  margin-top: 2px;
  transition: all 0.2s ease;
}

.customer-card-established .point-icon {
  background: rgba(32, 30, 29, 0.06);
  color: var(--charcoal);
}

.customer-card-established li:hover .point-icon {
  background: var(--charcoal);
  color: #ffffff;
}

.customer-card-startup .point-icon {
  background: rgba(146, 37, 57, 0.08);
  color: var(--maroon);
}

.customer-card-startup li:hover .point-icon {
  background: var(--maroon);
  color: #ffffff;
}

.point-content {
  flex-grow: 1;
}

.point-content strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.15rem;
  line-height: 1.35;
}

.point-content span {
  display: block;
  font-size: 0.83rem;
  color: var(--slate);
  line-height: 1.5;
}

/* Card Footer & CTAs */
.customer-card-footer {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.btn-customer {
  padding: 0.85rem 1.25rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-established {
  background: var(--charcoal);
  color: #ffffff;
  border: 1px solid var(--charcoal);
}

.btn-established:hover {
  background: #000000;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}

.btn-startup {
  background: var(--maroon);
  color: #ffffff;
  border: 1px solid var(--maroon);
}

.btn-startup:hover {
  background: #781d2e;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(146, 37, 57, 0.28);
  transform: translateY(-2px);
}

.customer-footer-trust {
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--slate);
  margin-top: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
}

.customer-footer-trust i {
  font-size: 0.84rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transform: translateY(-0.5px);
}

.customer-footer-trust i::before {
  line-height: 1;
  vertical-align: 0;
  display: block;
}

.customer-footer-trust span {
  display: inline-block;
  line-height: 1.4;
}

/* Shared Foundation Strip */
.customer-shared-strip {
  background: #ffffff;
  border: 1px dashed rgba(146, 37, 57, 0.35);
  border-radius: 8px;
  padding: 1.35rem 2rem;
  max-width: 980px;
  margin: 2.75rem auto 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.shared-strip-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--maroon);
  background: rgba(146, 37, 57, 0.08);
  padding: 0.25rem 0.8rem;
  border-radius: 50px;
  margin-bottom: 0.6rem;
}

.shared-strip-text {
  font-size: 0.92rem;
  color: var(--ink);
  line-height: 1.6;
}

/* ===== HOW WE WORK ===== */
.how-we-work-section {
  background: var(--ivory-2);
}

.how-work-step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  padding: 2rem 1.75rem;
  height: 100%;
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease,
    border-color 0.3s ease;
}

.how-work-step:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-5px);
  border-color: rgba(146, 37, 57, 0.3);
}

.how-work-step-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.8rem;
  color: var(--maroon);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.how-work-step-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
  color: var(--ink);
}

.how-work-step-text {
  color: var(--slate);
  font-size: 0.88rem;
  line-height: 1.65;
  margin: 0;
}

/* Responsive: center the last row of process steps */
@media (max-width: 991px) {
  .how-work-step {
    height: auto;
  }
}

/* ===== CERTIFICATION LOGOS GRID ===== */
.cert-logos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
}

.cert-logo-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 1.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 140px;
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.cert-logo-item:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.cert-logo-item img {
  max-width: 100%;
  max-height: 100px;
  width: auto;
  height: auto;
  object-fit: contain;
  /* Removed grayscale filter to show original colors */
  transition: transform 0.3s ease;
}

.cert-logo-item:hover img {
  transform: scale(1.08); /* Adds a nice subtle zoom on hover */
}

/* Dedicated zoom enhancement for Card 12 (SLCP + Sustainable Apparel Coalition) */
.cert-logo-item.cert-logo-zoom {
  padding: 1rem 0.75rem;
}

.cert-logo-item.cert-logo-zoom img {
  max-width: 100%;
  max-height: 110px;
  transform: scale(1.15);
  transform-origin: center center;
}

.cert-logo-item.cert-logo-zoom:hover img {
  transform: scale(1.24);
}

/* Responsive: 2 columns on tablet */
@media (max-width: 768px) {
  .cert-logos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

/* Responsive: 2 columns on mobile (2 rows of 2) */
@media (max-width: 480px) {
  .cert-logos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .cert-logo-item {
    height: 120px;
    padding: 1rem;
  }

  .cert-logo-item img {
    max-height: 80px;
  }
}

/* ===== DUAL CTA BUTTON GROUPS ===== */
.cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 575px) {
  .cta-group {
    flex-direction: column;
    align-items: stretch !important;
    width: 100%;
    gap: 0.75rem;
  }
  .cta-group .btn-solid,
  .cta-group .btn-outline {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 0.8rem 1.2rem;
  }
}

/* ===== RFQ / REQUEST A QUOTE PAGE ===== */
.rfq-layout {
  padding: 3.5rem 0 5rem;
}

.rfq-form-card {
  background: var(--card-bg);
  border: var(--card-border);
  border-radius: var(--card-radius);
  padding: clamp(1.8rem, 3.5vw, 3rem);
  box-shadow: var(--card-shadow);
}

.rfq-section-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.rfq-section-title .step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--maroon);
  color: #fff;
  border-radius: 50%;
  font-size: 0.75rem;
  font-family: var(--font-body);
  font-weight: 700;
}

.rfq-field-label {
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 0.45rem;
  display: block;
}

.rfq-field-label .req {
  color: var(--maroon);
  margin-left: 2px;
}

.rfq-field-label .opt-tag {
  font-size: 0.7rem;
  text-transform: none;
  letter-spacing: normal;
  color: var(--slate);
  font-weight: 400;
  margin-left: 6px;
}

.rfq-input,
.rfq-select,
.rfq-textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fff;
  padding: 0.75rem 0.95rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--ink);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.rfq-input:focus,
.rfq-select:focus,
.rfq-textarea:focus {
  outline: none;
  border-color: var(--maroon);
  box-shadow: 0 0 0 3px rgba(146, 37, 57, 0.1);
}

.rfq-textarea {
  resize: vertical;
  min-height: 100px;
}

/* Drag and Drop Zone */
.dropzone-box {
  border: 2px dashed rgba(146, 37, 57, 0.3);
  background: #faf8f5;
  border-radius: 4px;
  padding: 2.2rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
}

.dropzone-box:hover,
.dropzone-box.dragover {
  border-color: var(--maroon);
  background: rgba(146, 37, 57, 0.04);
}

.dropzone-box .drop-icon {
  font-size: 2.5rem;
  color: var(--maroon);
  margin-bottom: 0.6rem;
  display: inline-block;
  transition: transform 0.25s ease;
}

.dropzone-box:hover .drop-icon {
  transform: translateY(-3px);
}

.dropzone-box .drop-title {
  font-weight: 600;
  font-size: 0.98rem;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.dropzone-box .drop-hint {
  font-size: 0.8rem;
  color: var(--slate);
  margin: 0;
}

.dropzone-box input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.uploaded-files-list {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.file-item-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f1ede8;
  border: 1px solid var(--line);
  padding: 0.55rem 0.85rem;
  border-radius: 4px;
  font-size: 0.84rem;
}

.file-item-pill .file-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-item-pill .file-size {
  color: var(--slate);
  font-size: 0.75rem;
}

.file-item-pill .file-remove-btn {
  background: none;
  border: none;
  color: var(--slate);
  cursor: pointer;
  padding: 0 0.3rem;
  font-size: 1.1rem;
  line-height: 1;
  transition: color 0.2s ease;
}

.file-item-pill .file-remove-btn:hover {
  color: var(--maroon);
}

/* Trust Sidebar */
.rfq-sidebar {
  position: sticky;
  top: 104px;
}
@media (max-width: 991.98px) {
  .rfq-sidebar {
    position: static;
  }
}

.trust-card {
  background: var(--card-bg);
  border: var(--card-border);
  border-radius: var(--card-radius);
  padding: 1.8rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--card-shadow);
}

.trust-card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: var(--ink);
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--line);
}

.trust-feature {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.trust-feature:last-child {
  margin-bottom: 0;
}

.trust-feature-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(146, 37, 57, 0.08);
  color: var(--maroon);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.trust-feature-text h4 {
  font-size: 0.92rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
  color: var(--ink);
}

.trust-feature-text p {
  font-size: 0.82rem;
  color: var(--slate);
  margin: 0;
  line-height: 1.5;
}

.direct-box {
  background: var(--charcoal);
  color: var(--ivory);
  border-radius: var(--card-radius);
  padding: 1.8rem;
}

.direct-box h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--ivory);
}

.direct-box p {
  font-size: 0.84rem;
  color: rgba(247, 244, 240, 0.7);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.direct-box .direct-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ivory);
  font-size: 0.88rem;
  margin-bottom: 0.6rem;
  transition: color 0.2s ease;
}

.direct-box .direct-link:hover {
  color: #fff;
  text-decoration: underline;
}

/* Submission feedback notification */
.form-feedback-alert {
  background: #e8f5e9;
  border: 1px solid #c8e6c9;
  color: #1b5e20;
  border-radius: 4px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  display: none;
}

.form-feedback-alert.show {
  display: block;
  animation: fadeIn 0.3s ease;
}

.form-feedback-alert h4 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-feedback-alert p {
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.5;
}

/* Quick Banner for Contact page */
.rfq-callout-banner {
  background: rgba(146, 37, 57, 0.05);
  border: 1px solid rgba(146, 37, 57, 0.2);
  border-left: 4px solid var(--maroon);
  padding: 1rem 1.25rem;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.rfq-callout-banner p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink);
}

.rfq-callout-banner strong {
  color: var(--maroon);
}

/* ===== COMPREHENSIVE RESPONSIVENESS SYSTEM ===== */

/* --- TABLET / SMALL LAPTOP BREAKPOINT (768px - 1199px) --- */
@media (max-width: 1199px) {
  .header-inner {
    padding: 1rem 0;
    min-height: 72px;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .customer-card {
    padding: 2.25rem 1.65rem;
  }
  .customer-footer-trust {
    font-size: 0.74rem;
    gap: 0.4rem;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  /* On tablet portrait, prevent header crowding: keep primary Request Quote button and icon burger, hide Contact button and text label */
  .header-cta.btn-outline {
    display: none !important;
  }
  .menu-btn .menu-label {
    display: none;
  }
  .header-side.right {
    gap: 0.9rem;
  }
}

/* --- MOBILE & TABLET BREAKPOINT (max-width: 768px) --- */
@media (max-width: 768px) {
  /* Prevent iOS Safari auto-zoom on form inputs */
  .rfq-input,
  .rfq-select,
  .rfq-textarea,
  .contact-form input,
  .contact-form textarea,
  .contact-form select,
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="url"],
  select,
  textarea {
    font-size: 16px !important;
  }

  /* Universal container fluid mobile padding */
  .container-fluid.px-4 {
    padding-left: 1.15rem !important;
    padding-right: 1.15rem !important;
  }

  /* Section padding on mobile */
  .section-pad {
    padding: 3.25rem 0;
  }

  /* Section head alignment and scaling */
  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 1.8rem;
  }
  .section-head h2 {
    font-size: clamp(1.55rem, 5.8vw, 2rem);
    line-height: 1.2;
    max-width: 100%;
  }
  .section-head .lead {
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 100%;
  }

  /* Hero section adjustments */
  .home-hero {
    min-height: calc(100svh - 70px);
    min-height: calc(100dvh - 70px);
    padding-top: 1.75rem;
    padding-bottom: 2rem;
    align-items: center;
  }
  .home-hero-content {
    padding-bottom: 1.2rem;
    margin-top: 1.75rem;
  }
  .home-hero-content h1 {
    font-size: clamp(1.7rem, 7vw, 2.4rem);
    line-height: 1.15;
    margin-bottom: 0.85rem;
    word-break: break-word;
  }
  .home-hero-content .eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
  }
  .hero-sub {
    font-size: 0.9rem;
    line-height: 1.6;
  }
  .home-hero-content .cta-group {
    margin-top: 1.15rem !important;
  }
  /* Never overlap CTAs with scroll cue on mobile */
  .home-scroll-cue {
    display: none !important;
  }

  /* Direct Factory Section adjustments */
  .direct-card {
    padding: 1.5rem 1.25rem;
  }
  .direct-card-icon {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
    margin-bottom: 0.9rem;
  }
  .direct-card h3 {
    font-size: 1.08rem;
    margin-bottom: 0.45rem;
  }
  .direct-card p {
    font-size: 0.86rem;
    line-height: 1.55;
  }
  .direct-vs-banner {
    padding: 1.6rem 1.15rem !important;
    margin-top: 2rem !important;
    border-left-width: 3px;
    overflow: hidden;
  }
  .direct-vs-header {
    text-align: center !important;
    margin-bottom: 1.25rem !important;
  }
  .direct-vs-btn {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: normal !important;
    word-break: normal !important;
    padding: 0.85rem 1rem !important;
    font-size: 0.8rem !important;
    margin-top: 0.5rem;
  }
  .direct-vs-banner h3 {
    font-size: 1.22rem !important;
    margin-top: 0.5rem !important;
    text-align: center !important;
  }
  .direct-vs-banner p {
    font-size: 0.88rem !important;
    line-height: 1.55 !important;
    text-align: center !important;
  }
  .direct-vs-table {
    min-width: 520px;
  }
  .direct-vs-table th,
  .direct-vs-table td {
    padding: 0.65rem 0.85rem;
    font-size: 0.78rem;
  }

  /* Horizontal Rail ergonomics */
  .rail {
    -webkit-overflow-scrolling: touch;
    padding-left: 0.15rem;
    padding-right: 1.5rem;
  }
  .rail-card {
    width: 78vw;
    max-width: 320px;
  }
  .facility-card .info {
    padding: 1.15rem 1rem;
  }
  .facility-card .info h3 {
    font-size: 1.18rem;
  }
  /* On touch/mobile screens, keep info description accessible without requiring mouse hover */
  .facility-card .info p {
    max-height: 80px;
    opacity: 0.9;
    font-size: 0.82rem;
    line-height: 1.45;
  }

  /* Previous Work Section */
  .previous-work-badges {
    justify-content: center !important;
  }
  .previous-work-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }
  .previous-work-actions .btn-solid {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .previous-work-actions .link-arrow,
  .previous-work-actions .ms-3 {
    margin-left: 0 !important;
    align-self: center;
    justify-content: center;
    text-align: center;
  }

  /* Contact Map Frame */
  .map-frame {
    aspect-ratio: 4/3;
    min-height: 260px;
  }

  /* Touch Gallery Captions */
  .gallery-item .cap {
    opacity: 1;
  }
}

/* --- SMALL MOBILE BREAKPOINT (max-width: 575px) --- */
@media (max-width: 575px) {
  /* Tighter edge margins for 320px - 575px screens */
  .container-fluid.px-4 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  /* Stat strip compact 2x2 layout */
  .stat-strip .stat {
    padding: 1.15rem 0.25rem;
  }
  .stat-strip .stat .num {
    font-size: 1.65rem;
  }
  .stat-strip .stat .lbl {
    font-size: 0.62rem;
    letter-spacing: 0.05em;
    line-height: 1.35;
    margin-top: 0.3rem;
  }

  /* Heritage Strip compact */
  .heritage-strip {
    padding: 1.5rem 0;
  }
  .heritage-inner {
    gap: 0.75rem;
    align-items: center;
    text-align: center;
  }
  .heritage-badge {
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
    margin: 0 auto 0.65rem !important;
    align-self: center !important;
  }
  .heritage-badge svg {
    width: 22px;
    height: 22px;
  }
  .heritage-text {
    text-align: center !important;
  }
  .heritage-text h3 {
    font-size: 1.05rem;
    line-height: 1.35;
    margin-bottom: 0.35rem;
    text-align: center !important;
  }
  .heritage-text p {
    font-size: 0.84rem;
    line-height: 1.55;
    text-align: center !important;
    margin: 0 auto !important;
  }

  /* Capability product cards */
  .cap-product-body {
    padding: 1rem 1.1rem;
  }
  .cap-product-body h3 {
    font-size: 1.05rem;
  }
  .cap-product-body p {
    font-size: 0.84rem;
    line-height: 1.55;
    margin-bottom: 0.75rem;
  }
  .cap-product-link {
    font-size: 0.76rem;
  }
  .cap-catalog-btn {
    padding: 0.72rem 1.6rem;
    font-size: 0.76rem;
    letter-spacing: 0.06em;
  }

  /* Two Different Customer Types Mobile */
  .customer-card {
    padding: 1.65rem 1.25rem;
  }
  .customer-card-title {
    font-size: 1.3rem;
  }
  .customer-card-desc {
    min-height: auto;
    font-size: 0.85rem;
    margin-bottom: 1.35rem;
  }
  .customer-points-list {
    gap: 0.95rem;
    margin-bottom: 1.5rem;
  }
  .point-icon {
    width: 28px;
    height: 28px;
    font-size: 0.85rem;
  }
  .point-content strong {
    font-size: 0.88rem;
  }
  .point-content span {
    font-size: 0.8rem;
  }
  .btn-customer {
    padding: 0.8rem 0.65rem;
    font-size: 0.77rem;
    letter-spacing: 0.035em;
    white-space: nowrap;
  }
  .customer-footer-trust {
    align-items: flex-start;
    text-align: left;
  }
  .customer-footer-trust i {
    margin-top: 0.14rem;
    transform: none;
  }
  .customer-shared-strip {
    padding: 1.2rem 1.15rem;
    margin-top: 1.75rem;
  }
  .shared-strip-text {
    font-size: 0.85rem;
  }

  /* 4-Stage QC cards */
  .qc-stage-card {
    padding: 1.3rem 1.1rem;
  }
  .qc-stage-num {
    font-size: 0.74rem;
    margin-bottom: 0.4rem;
  }
  .qc-stage-title {
    font-size: 1rem;
    margin-bottom: 0.35rem;
  }
  .qc-stage-text {
    font-size: 0.83rem;
    line-height: 1.55;
  }

  /* Process steps */
  .how-work-step {
    padding: 1.35rem 1.15rem;
  }
  .how-work-step-number {
    font-size: 2.2rem;
    margin-bottom: 0.35rem;
  }
  .how-work-step-title {
    font-size: 1rem;
    margin-bottom: 0.4rem;
  }
  .how-work-step-text {
    font-size: 0.84rem;
    line-height: 1.55;
  }

  /* Previous Work button actions stacking */
  .previous-work-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }
  .previous-work-actions .btn-solid {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .previous-work-actions .link-arrow,
  .previous-work-actions .ms-3 {
    margin-left: 0 !important;
    align-self: center;
    justify-content: center;
    text-align: center;
  }

  /* CTA Groups full width stacking */
  .cta-group {
    flex-direction: column;
    align-items: stretch !important;
    width: 100%;
    gap: 0.75rem;
  }
  .cta-group .btn-solid,
  .cta-group .btn-outline {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 0.8rem 1.2rem;
    white-space: normal;
    word-break: normal;
  }

  /* RFQ Form mobile ergonomics */
  .rfq-layout {
    padding: 1.8rem 0 3.5rem;
  }
  .rfq-form-card {
    padding: 1.25rem 0.95rem;
  }
  .rfq-section-title {
    font-size: 1.02rem;
    gap: 0.55rem;
    margin-bottom: 1.15rem;
  }
  .rfq-section-title .step-badge {
    width: 24px;
    height: 24px;
    font-size: 0.7rem;
  }
  .dropzone-box {
    padding: 1.5rem 0.9rem;
  }
  .dropzone-box .drop-icon {
    font-size: 2.1rem;
    margin-bottom: 0.35rem;
  }
  .dropzone-box .drop-title {
    font-size: 0.9rem;
  }
  .dropzone-box .drop-hint {
    font-size: 0.74rem;
  }
  .trust-card,
  .direct-box {
    padding: 1.3rem 1rem;
  }
  .rfq-callout-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }
  .rfq-callout-banner .btn-solid {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .customer-card {
    padding: 1.4rem 0.95rem;
  }
  .btn-customer {
    padding: 0.78rem 0.45rem;
    font-size: 0.74rem;
    letter-spacing: 0.025em;
    white-space: nowrap;
  }
}

/* ===== DEDICATED SEARCH MODAL ===== */
.search-modal.modal {
  --bs-modal-bg: transparent;
  --bs-modal-border-color: transparent;
  padding-right: 0 !important;
  padding-left: 0 !important;
}
body.modal-open {
  padding-right: 0 !important;
  overflow: hidden;
}
.modal-backdrop.show {
  opacity: 0.82;
  background-color: #0e0c0b;
  backdrop-filter: blur(6px);
}
.search-modal .modal-dialog {
  max-width: 580px;
  margin: 3.5rem auto 1.5rem;
  transform: none !important;
  transition: transform 0.2s ease-out;
}
@media (max-width: 575.98px) {
  .search-modal .modal-dialog {
    margin: 1.2rem auto 1rem;
    width: calc(100% - 1.4rem);
  }
}
.search-modal-content {
  background: #181615;
  border: 1px solid rgba(247, 244, 240, 0.12);
  border-radius: 6px;
  color: var(--ivory);
  overflow: hidden;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
}
.search-modal-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.15rem;
  background: #141211;
  border-bottom: 1px solid rgba(247, 244, 240, 0.08);
  flex-shrink: 0;
}
.search-input-wrapper {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 0.75rem;
  background: transparent;
  border: 0;
  padding: 0.2rem 0;
}
.search-modal-icon {
  color: rgba(247, 244, 240, 0.45);
  font-size: 1.05rem;
  flex-shrink: 0;
}
.search-modal-input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: none;
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: #fff;
  width: 100%;
}
.search-modal-input::placeholder {
  color: rgba(247, 244, 240, 0.4);
}
.search-modal-clear {
  background: none;
  border: 0;
  color: rgba(247, 244, 240, 0.4);
  font-size: 0.85rem;
  padding: 0.2rem 0.35rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s;
  flex-shrink: 0;
}
.search-modal-clear:hover {
  color: #fff;
}
.search-modal-close {
  background: none;
  border: 0;
  color: rgba(247, 244, 240, 0.5);
  width: 32px;
  height: 32px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.95rem;
  transition: color 0.15s;
  flex-shrink: 0;
}
.search-modal-close:hover {
  color: #fff;
}
.search-modal-body {
  padding: 0.6rem 0.8rem;
  max-height: 52vh;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.search-empty-hint {
  padding: 1.5rem 1rem;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(247, 244, 240, 0.35);
}
.search-results-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.search-result-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.55rem 0.75rem;
  border-radius: 4px;
  text-decoration: none;
  color: var(--ivory);
  transition: background 0.15s ease;
}
.search-result-item:hover {
  background: rgba(247, 244, 240, 0.06);
  color: #fff;
}
.search-result-thumb {
  width: 38px;
  height: 50px;
  object-fit: cover;
  border-radius: 3px;
  background: #eef0f2;
  flex-shrink: 0;
}
.search-result-info {
  flex: 1;
  min-width: 0;
}
.search-result-title {
  font-size: 0.88rem;
  font-weight: 500;
  color: #fff;
  margin: 0;
  font-family: var(--font-body);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-result-title mark {
  background: transparent;
  color: #ff8597;
  font-weight: 600;
  padding: 0;
}
.search-result-cat {
  display: block;
  font-size: 0.72rem;
  color: rgba(247, 244, 240, 0.65);
  text-transform: capitalize;
  margin-top: 0.15rem;
}
.search-result-arrow {
  color: rgba(247, 244, 240, 0.3);
  font-size: 0.8rem;
  flex-shrink: 0;
  transition:
    transform 0.15s,
    color 0.15s;
}
.search-result-item:hover .search-result-arrow {
  color: #fff;
  transform: translateX(2px);
}

/* ===== IN-PAGE CATALOG SEARCH (products.html) ===== */
.catalog-search-wrap {
  position: relative;
  max-width: 620px;
  width: 100%;
}
.catalog-search-input-group {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.catalog-search-icon {
  position: absolute;
  left: 1.1rem;
  color: var(--slate);
  font-size: 1.05rem;
  pointer-events: none;
}
.catalog-search-input {
  width: 100%;
  height: 48px;
  padding: 0 2.8rem 0 2.9rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 0.92rem;
  color: var(--ink);
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  font-family: var(--font-body);
}
.catalog-search-input:focus {
  border-color: var(--maroon);
  box-shadow: 0 0 0 3px rgba(146, 37, 57, 0.14);
}
.catalog-search-clear-btn {
  position: absolute;
  right: 0.9rem;
  background: none;
  border: 0;
  color: var(--slate);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: color 0.2s;
}
.catalog-search-clear-btn:hover {
  color: var(--maroon);
}
.active-search-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(146, 37, 57, 0.08);
  border: 1px solid rgba(146, 37, 57, 0.25);
  color: var(--maroon);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.32rem 0.75rem;
  border-radius: 4px;
  margin-top: 0.65rem;
}
.active-search-badge button {
  background: none;
  border: 0;
  color: var(--maroon);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
}

/* ================================================================
   MANUFACTURING CAPABILITIES & CATEGORY LANDING PAGES ARCHITECTURE
   ================================================================ */

/* Compact Category Page Spacing & Hierarchy */
.cat-page-hero ~ section.section-pad {
  padding: clamp(1.75rem, 3.2vw, 2.75rem) 0;
}
.cat-page-hero ~ section .section-head {
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
}
.cat-page-hero ~ section .section-head .eyebrow {
  margin-bottom: 0.35rem;
}
.cat-page-hero ~ section .section-head h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
}
.cat-page-hero ~ section .section-head .lead {
  font-size: 0.9rem;
}
.cat-page-hero ~ section .row.g-4 {
  --bs-gutter-x: 1.15rem;
  --bs-gutter-y: 1.15rem;
}

/* Category Page Hero */
.cat-page-hero {
  position: relative;
  background: var(--charcoal);
  color: var(--ivory);
  padding: 6.75rem 0 2.75rem;
  overflow: hidden;
}

.cat-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 80% 20%,
      rgba(146, 37, 57, 0.28) 0%,
      transparent 60%
    ),
    linear-gradient(
      100deg,
      rgba(32, 30, 29, 0.94) 0%,
      rgba(32, 30, 29, 0.86) 42%,
      rgba(32, 30, 29, 0.55) 100%
    );
  pointer-events: none;
  z-index: 1;
}

.cat-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cat-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.cat-page-hero > .container-fluid {
  position: relative;
  z-index: 2;
}

.cat-hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(247, 244, 240, 0.1);
  border: 1px solid rgba(247, 244, 240, 0.2);
  border-radius: 50px;
  padding: 0.35rem 0.95rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ivory);
  margin-bottom: 1.25rem;
}

.cat-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 1.2rem;
}

.cat-hero-desc {
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(247, 244, 240, 0.82);
  max-width: 680px;
  margin-bottom: 2rem;
}

.cat-hero-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  margin-top: 1.75rem;
}

.cat-kpi-item {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  padding-right: 1rem;
}
.cat-kpi-item:last-child {
  border-right: none;
  padding-right: 0;
}

.cat-kpi-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.cat-kpi-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(247, 244, 240, 0.65);
  margin-top: 0.2rem;
}

/* Category Feature Card */
.cat-feature-card {
  background: var(--card-bg);
  border: var(--card-border);
  border-radius: var(--card-radius);
  padding: 1.35rem 1.25rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.cat-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  border-color: rgba(146, 37, 57, 0.3);
}

.cat-feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(146, 37, 57, 0.08);
  color: var(--maroon);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 0.85rem;
}

.cat-feature-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.cat-feature-text {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--slate);
  margin-bottom: 0.95rem;
  flex-grow: 1;
}

.cat-spec-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
  padding-top: 0.75rem;
}

.cat-spec-list li {
  font-size: 0.79rem;
  color: var(--ink);
  padding: 0.28rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cat-spec-list li i {
  color: #059669;
  font-size: 0.82rem;
}

/* Product Variety Gallery Grid */
.cat-variety-card {
  background: var(--card-bg);
  border: var(--card-border);
  border-radius: var(--card-radius);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.cat-variety-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.cat-variety-img-wrap {
  position: relative;
  width: 100%;
  padding-top: 100%; /* 1:1 Aspect Ratio */
  background: #f5f2ed;
  overflow: hidden;
}

.cat-variety-img-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.cat-variety-card:hover .cat-variety-img-wrap img {
  transform: scale(1.05);
}

.cat-variety-body {
  padding: 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.cat-variety-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--maroon);
  background: rgba(146, 37, 57, 0.08);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
  align-self: flex-start;
}

.cat-variety-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--ink);
}

.cat-variety-desc {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--slate);
  margin-bottom: 0.75rem;
  flex-grow: 1;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(0.82rem * 1.5 * 2);
  max-height: calc(0.82rem * 1.5 * 2);
}

.cat-variety-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--line);
}

.cat-variety-spec-tag {
  font-size: 0.7rem;
  background: var(--ivory);
  border: 1px solid rgba(34, 31, 29, 0.1);
  padding: 0.16rem 0.45rem;
  border-radius: 3px;
  color: var(--ink);
}

/* Customization Matrix Grid */
.custom-matrix-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

/* Manufacturing page: 5 cards per row on desktop, last row centered */
.custom-matrix-grid-4 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}

.custom-matrix-grid-4 > .custom-matrix-card {
  flex: 0 0 calc(20% - 1rem);
  max-width: calc(20% - 1rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.custom-matrix-card {
  background: var(--card-bg);
  border: var(--card-border);
  border-radius: var(--card-radius);
  padding: 1.35rem 1.25rem;
  transition: all 0.3s ease;
  position: relative;
}

.custom-matrix-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  border-color: var(--maroon);
}

.custom-matrix-icon {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background: rgba(146, 37, 57, 0.08);
  color: var(--maroon);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
}

.custom-matrix-title {
  font-family: var(--font-display);
  font-size: 1.04rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.custom-matrix-text {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--slate);
  margin-bottom: 0.65rem;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(0.82rem * 1.5 * 2);
  max-height: calc(0.82rem * 1.5 * 2);
}

.custom-matrix-grid-4 > .custom-matrix-card .custom-matrix-icon {
  margin-left: auto;
  margin-right: auto;
}

.custom-matrix-grid-4 > .custom-matrix-card .custom-matrix-title {
  width: 100%;
  text-align: center;
}

.custom-matrix-grid-4 > .custom-matrix-card .custom-matrix-text {
  width: 100%;
  text-align: center;
  text-align-last: center;
}

.custom-matrix-grid-4 > .custom-matrix-card .custom-matrix-badge {
  align-self: center;
}

.custom-matrix-badge {
  display: inline-block;
  font-size: 0.69rem;
  font-weight: 600;
  color: var(--charcoal);
  background: var(--ivory-2);
  padding: 0.18rem 0.5rem;
  border-radius: 4px;
}

/* B2B Technical Specs Table */
.b2b-specs-table-wrap {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow-x: auto;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.b2b-specs-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.84rem;
}

.b2b-specs-table th {
  background: var(--charcoal);
  color: #ffffff;
  padding: 0.75rem 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.74rem;
}

.b2b-specs-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

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

.b2b-specs-table tr:hover td {
  background: rgba(247, 244, 240, 0.5);
}

/* Machinery Inventory Interactive Toolbar */
.machinery-filter-btn {
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--slate);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.38rem 0.8rem;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.machinery-filter-btn:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: var(--maroon);
}

.machinery-filter-btn.active {
  background: var(--maroon);
  border-color: var(--maroon);
  color: #ffffff;
}

/* B2B Conversion Box */
.b2b-rfq-box {
  background: linear-gradient(135deg, var(--charcoal) 0%, #161413 100%);
  color: #ffffff;
  border-radius: var(--card-radius);
  padding: 2.25rem 2rem;
  position: relative;
  overflow: hidden;
}

.b2b-rfq-box::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(146, 37, 57, 0.3) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.b2b-rfq-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.b2b-rfq-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(247, 244, 240, 0.78);
  max-width: 620px;
  margin-bottom: 1.75rem;
}

/* Quick Category Hub Nav Pill Strip */
.cat-hub-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.cat-hub-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 0.55rem 1.1rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  transition: all 0.25s ease;
}

.cat-hub-pill:hover,
.cat-hub-pill.is-active {
  background: var(--maroon);
  color: #ffffff;
  border-color: var(--maroon);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(146, 37, 57, 0.25);
}

/* Category Hub Product Directory Cards */
.cat-dir-card {
  background: var(--card-bg);
  border: var(--card-border);
  border-radius: var(--card-radius);
  padding: 1.75rem 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.cat-dir-card:hover {
  border-color: var(--maroon);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.cat-dir-card-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  width: 100%;
}

.cat-dir-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 6px;
  background: rgba(146, 37, 57, 0.08);
  color: var(--maroon);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.cat-dir-card-arrow {
  color: var(--slate);
  font-size: 1.1rem;
  transition:
    transform 0.2s ease,
    color 0.2s ease;
}

.cat-dir-card:hover .cat-dir-card-arrow {
  color: var(--maroon);
  transform: translateX(4px);
}

.cat-dir-card-title {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.5rem;
  width: 100%;
  text-align: center;
}

.cat-dir-card-desc {
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--slate);
  margin-bottom: 1.1rem;
  flex-grow: 1;
  width: 100%;
  text-align: center;
  text-align-last: center;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  -webkit-box-pack: center;
  overflow: hidden;
  min-height: calc(0.84rem * 1.55 * 2);
  max-height: calc(0.84rem * 1.55 * 2);
}

.cat-dir-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 0.35rem;
}

.cat-dir-tag {
  font-size: 0.72rem;
  background: var(--ivory);
  border: 1px solid rgba(34, 31, 29, 0.08);
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  color: var(--slate);
}

/* Manufacturing hub: 5 cards per row on desktop, last row centered */
@media (min-width: 1200px) {
  .mfg-5-grid {
    justify-content: center;
  }
  .mfg-5-grid > [class*="col-"] {
    flex: 0 0 20%;
    max-width: 20%;
  }
}

/* Responsive Rules for Category Architecture */
@media (max-width: 991px) {
  .cat-hero-kpis {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .cat-kpi-item:nth-child(2) {
    border-right: none;
  }
  .custom-matrix-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .custom-matrix-grid-4 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .custom-matrix-grid-4 > .custom-matrix-card {
    flex: none;
    max-width: none;
  }
}

@media (max-width: 768px) {
  .cat-page-hero {
    padding: 6.5rem 0 3.5rem;
  }
  .cat-hero-kpis {
    grid-template-columns: 1fr 1fr;
    padding: 1.15rem 0.95rem;
  }
  .custom-matrix-grid {
    grid-template-columns: 1fr;
  }
  .custom-matrix-grid-4 {
    display: grid;
    grid-template-columns: 1fr;
  }
  .custom-matrix-grid-4 > .custom-matrix-card {
    flex: none;
    max-width: none;
  }
  .b2b-rfq-box {
    padding: 2rem 1.4rem;
  }
}

/* Tech Spec Box / Capability Card */
.tech-spec-box {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  padding: 2rem 1.6rem;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  display: flex;
  flex-direction: column;
}

.tech-spec-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.07);
  border-color: var(--maroon);
}

.tech-spec-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: rgba(146, 37, 57, 0.08);
  color: var(--maroon);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
  transition: all 0.3s ease;
}

.tech-spec-box:hover .tech-spec-icon {
  background: var(--maroon);
  color: #ffffff;
}

.tech-spec-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.6rem;
}

.tech-spec-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--slate);
  margin-bottom: 0;
  flex-grow: 1;
}

/* MOQ Production Tier Cards */
.moq-tier-card {
  background: var(--card-bg);
  border: var(--card-border);
  border-radius: var(--card-radius);
  padding: 2.2rem 1.6rem 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: var(--card-shadow);
}

.moq-tier-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(146, 37, 57, 0.1);
  border-color: var(--maroon);
}

.moq-tier-card.featured {
  border: 2px solid var(--maroon);
  box-shadow: 0 8px 24px rgba(146, 37, 57, 0.12);
  background: #ffffff;
}

.moq-tier-card.featured::before {
  content: "MOST POPULAR";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--maroon);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.85rem;
  border-radius: 20px;
  box-shadow: 0 3px 8px rgba(146, 37, 57, 0.3);
}

.moq-tier-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.moq-tier-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: rgba(146, 37, 57, 0.08);
  color: var(--maroon);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: all 0.3s ease;
}

.moq-tier-card:hover .moq-tier-icon {
  background: var(--maroon);
  color: #ffffff;
}

.moq-tier-qty {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--maroon);
  background: rgba(146, 37, 57, 0.07);
  border: 1px solid rgba(146, 37, 57, 0.16);
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  letter-spacing: 0.03em;
}

.moq-tier-card.featured .moq-tier-qty {
  background: var(--maroon);
  color: #ffffff;
}

.moq-tier-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.35rem;
}

.moq-tier-subtitle {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--maroon);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.moq-tier-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--slate);
  margin-bottom: 1.4rem;
  flex-grow: 1;
}

.moq-tier-specs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1.1rem;
  border-top: 1px dashed var(--line);
  margin-top: auto;
}

.moq-tier-spec-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--charcoal);
  font-weight: 500;
}

.moq-tier-spec-item i {
  color: var(--maroon);
  font-size: 0.95rem;
}

/* Category RFQ Strip & Manufacturer Page RFQ Strip */
.cat-rfq-strip,
.rfq-strip {
  background: linear-gradient(135deg, var(--charcoal) 0%, #151312 100%);
  color: #ffffff;
  padding: 4.75rem 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cat-rfq-strip::before,
.rfq-strip::before {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 360px;
  height: 360px;
  background: radial-gradient(
    circle,
    rgba(146, 37, 57, 0.38) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.rfq-strip::after {
  content: "";
  position: absolute;
  left: -80px;
  top: -80px;
  width: 260px;
  height: 260px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.04) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.rfq-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  position: relative;
  z-index: 1;
}

.rfq-strip-text {
  flex: 1 1 540px;
  max-width: 720px;
}

.rfq-strip-eyebrow {
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #e56c80;
  margin-bottom: 0.55rem;
  display: inline-block;
}

.cat-rfq-title,
.rfq-strip-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.35rem);
  font-weight: 600;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.cat-rfq-desc,
.rfq-strip-sub {
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(247, 244, 240, 0.82);
  max-width: 680px;
  margin-bottom: 0;
}

.rfq-strip-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.rfq-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.65rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  white-space: nowrap;
  border-radius: 4px;
  transition: all 0.25s ease;
}

@media (max-width: 991px) {
  .cat-rfq-strip,
  .rfq-strip {
    padding: 3.5rem 0;
  }
  .rfq-strip-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.8rem;
  }
  .rfq-strip-actions {
    width: 100%;
  }
  .rfq-strip-actions .rfq-cta-btn {
    flex: 1 1 auto;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .rfq-strip-actions {
    flex-direction: column;
    width: 100%;
  }
  .rfq-strip-actions .rfq-cta-btn {
    width: 100%;
    text-align: center;
  }
}

/* Category Specification Table */
.cat-spec-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
  margin-bottom: 0;
}

.cat-spec-table th {
  background: var(--charcoal);
  color: #ffffff;
  padding: 1rem 1.25rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: none;
}

.cat-spec-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.86rem;
  vertical-align: middle;
}

.cat-spec-table tr:hover td {
  background: rgba(247, 244, 240, 0.5);
}

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

/* ==========================================================================
   14-POINT PRODUCT & CAPABILITY PAGE COMPONENTS
   ========================================================================== */

/* 1. GSM Range Spectrum Cards */
.gsm-spectrum-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}
.gsm-tier-card {
  background: var(--card-bg);
  border: var(--card-border);
  border-radius: var(--card-radius);
  padding: 1.25rem 1.15rem;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
  position: relative;
}
.gsm-tier-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
  border-color: rgba(146, 37, 57, 0.3);
}
.gsm-tier-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--maroon);
  margin-bottom: 0.35rem;
  display: inline-block;
}
.gsm-weight-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}
.gsm-tier-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.45rem;
}
.gsm-tier-desc {
  font-size: 0.82rem;
  color: var(--slate);
  line-height: 1.5;
  margin-bottom: 0.75rem;
  flex-grow: 1;
}
.gsm-tier-meta {
  padding-top: 0.6rem;
  border-top: 1px dashed var(--line);
  font-size: 0.76rem;
  color: var(--charcoal);
  font-weight: 500;
}

/* 2. Wash & Finish Cards */
.wash-finish-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.wash-finish-card {
  background: var(--card-bg);
  border: var(--card-border);
  border-radius: var(--card-radius);
  padding: 1.15rem 1.15rem;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.wash-finish-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}
.wash-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: rgba(146, 37, 57, 0.08);
  color: var(--maroon);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}
.wash-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.35rem;
}
.wash-desc {
  font-size: 0.82rem;
  color: var(--slate);
  line-height: 1.5;
  margin-bottom: 0.6rem;
}
.wash-specs-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--charcoal);
  background: var(--ivory-2);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

/* 3. Sampling & Workflow Process Steps */
.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  position: relative;
}
.process-step-card {
  background: var(--card-bg);
  border: var(--card-border);
  border-radius: var(--card-radius);
  padding: 1.25rem 1rem;
  position: relative;
  transition: transform 0.2s ease;
}
.process-step-card:hover {
  transform: translateY(-2px);
  border-color: var(--maroon);
}
.step-num-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--charcoal);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}
.process-step-card:first-child .step-num-badge {
  background: var(--maroon);
}
.step-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.2rem;
}
.step-time {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--maroon);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
  display: block;
}
.step-desc {
  font-size: 0.81rem;
  color: var(--slate);
  line-height: 1.5;
  margin-bottom: 0;
}

/* 4. Packaging & Trims Cards with Photos */
.pkg-trim-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.pkg-trim-card {
  background: var(--card-bg);
  border: var(--card-border);
  border-radius: var(--card-radius);
  overflow: hidden;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.pkg-trim-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}
.pkg-trim-img-wrap {
  aspect-ratio: 16/10;
  width: 100%;
  overflow: hidden;
  background: var(--ivory-2);
}
.pkg-trim-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.pkg-trim-card:hover .pkg-trim-img-wrap img {
  transform: scale(1.04);
}
.pkg-trim-body {
  padding: 1rem 1.15rem;
}
.pkg-trim-badge {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--maroon);
  margin-bottom: 0.25rem;
  display: block;
}
.pkg-trim-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.35rem;
}
.pkg-trim-desc {
  font-size: 0.81rem;
  color: var(--slate);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

/* 5. Production Capabilities & Machinery Grid */
.factory-cap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}
.factory-cap-card {
  background: var(--card-bg);
  border: var(--card-border);
  border-radius: var(--card-radius);
  padding: 1.15rem 1.15rem;
  border-top: 3px solid var(--charcoal);
  transition: transform 0.2s ease;
}
.factory-cap-card:hover {
  transform: translateY(-2px);
  border-top-color: var(--maroon);
}
.cap-metric-num {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--maroon);
  margin-bottom: 0.2rem;
}
.cap-metric-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.35rem;
}
.cap-metric-desc {
  font-size: 0.81rem;
  color: var(--slate);
  line-height: 1.45;
  margin-bottom: 0;
}

/* 6. Product-Only Studio Gallery Grid */
.studio-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.85rem;
}
.studio-gallery-item {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 1/1;
}
.studio-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.studio-gallery-item:hover img {
  transform: scale(1.05);
}
.studio-gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.65rem 0.85rem;
  background: linear-gradient(
    to top,
    rgba(14, 20, 27, 0.85) 0%,
    rgba(14, 20, 27, 0) 100%
  );
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 500;
}

/* 7. Technical B2B FAQ Grid */
.b2b-faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}
.b2b-faq-card {
  background: var(--card-bg);
  border: var(--card-border);
  border-radius: var(--card-radius);
  padding: 1.15rem 1.25rem;
  transition: box-shadow 0.2s ease;
}
.b2b-faq-card:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}
.b2b-faq-q {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.45rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.b2b-faq-q i {
  color: var(--maroon);
  font-size: 0.92rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}
.b2b-faq-a {
  font-size: 0.83rem;
  color: var(--slate);
  line-height: 1.55;
  margin-bottom: 0;
}

/* ==========================================================================
   FACTORY AT A GLANCE — VISUAL STATISTICS & ABOUT PAGE STYLING
   ========================================================================== */

.glance-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}
@media (max-width: 1199.98px) {
  .glance-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 767.98px) {
  .glance-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .glance-grid {
    grid-template-columns: 1fr;
  }
}
.glance-card {
  background: var(--card-bg);
  border: var(--card-border);
  border-radius: var(--card-radius);
  padding: 1.4rem 1.15rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  border-top: 3px solid var(--charcoal);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
  position: relative;
}
.glance-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  border-top-color: var(--maroon);
}
.glance-value {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.4vw, 2.3rem);
  font-weight: 700;
  color: var(--maroon);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}
.glance-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
  margin-bottom: 0;
}
.glance-footnote {
  font-size: 0.76rem;
  color: var(--slate);
  margin-top: 1rem;
  line-height: 1.5;
}

/* Market Export Pills */
.market-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}
.market-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 50px;
  padding: 0.4rem 0.95rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--charcoal);
  transition: all 0.2s ease;
}
.market-pill i {
  color: var(--maroon);
  font-size: 0.9rem;
}
.market-pill:hover {
  border-color: var(--maroon);
  background: var(--ivory);
  transform: translateY(-1px);
}

/* Manufacturing Philosophy Cards */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
}
.philosophy-card {
  background: var(--card-bg);
  border: var(--card-border);
  border-radius: var(--card-radius);
  padding: 1.5rem 1.35rem;
  border-left: 3px solid var(--charcoal);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}
.philosophy-card:hover {
  transform: translateY(-2px);
  border-left-color: var(--maroon);
}
.philosophy-card h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.45rem;
}
.philosophy-card p {
  font-size: 0.83rem;
  color: var(--slate);
  line-height: 1.55;
  margin-bottom: 0;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(0.83rem * 1.55 * 2);
  max-height: calc(0.83rem * 1.55 * 2);
}

/* ===== CLEAN MODERN PROCESS ROADMAP STYLES ===== */
.process-phase-divider {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1.25rem 0 0.85rem;
  margin: 2.5rem 0 1.5rem;
  border-bottom: 2px solid var(--line);
}
.process-phase-divider:first-of-type {
  margin-top: 0.5rem;
}
.phase-tag-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.phase-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.28rem 0.75rem;
  border-radius: 4px;
  background: var(--maroon);
  color: #ffffff;
}
.phase-title-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0;
}
.phase-subtitle-text {
  font-size: 0.82rem;
  color: var(--slate);
  margin: 0;
}

/* Modern Milestone Step Card */
.process-milestone {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  padding: 1.5rem 1.65rem;
  margin-bottom: 1.5rem;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.process-milestone:hover {
  transform: translateY(-2px);
  border-color: rgba(146, 37, 57, 0.35);
  box-shadow: 0 8px 24px rgba(14, 20, 27, 0.05);
}
.milestone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.milestone-index-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.milestone-index {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--maroon);
  background: rgba(146, 37, 57, 0.08);
  border: 1px solid rgba(146, 37, 57, 0.18);
  border-radius: 6px;
  padding: 0.2rem 0.6rem;
  line-height: 1;
}
.milestone-heading {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0;
}
.milestone-time-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--ink);
  background: var(--ivory);
  border: 1px solid var(--line);
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
}
.milestone-time-badge.accent {
  background: rgba(146, 37, 57, 0.08);
  color: var(--maroon);
  border-color: rgba(146, 37, 57, 0.2);
}

.milestone-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1.5rem;
  align-items: start;
}
@media (max-width: 991px) {
  .milestone-layout {
    grid-template-columns: 1fr;
  }
}
.milestone-layout.single-col {
  grid-template-columns: 1fr;
}

.milestone-desc {
  font-size: 0.88rem;
  color: var(--slate);
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Crisp Role Specifications */
.milestone-roles-clean {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.9rem 1.15rem;
}
@media (max-width: 575px) {
  .milestone-roles-clean {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}
.role-clean-col h5 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin-bottom: 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.role-clean-col h5 i {
  color: var(--maroon);
}
.role-clean-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.role-clean-col li {
  font-size: 0.8rem;
  color: var(--slate);
  line-height: 1.45;
  margin-bottom: 0.3rem;
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
}
.role-clean-col li i {
  font-size: 0.72rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}
.role-clean-col.buyer li i {
  color: #2b7a4b;
}
.role-clean-col.factory li i {
  color: var(--maroon);
}

/* Subtle Deliverables Strip */
.milestone-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding-top: 0.65rem;
  border-top: 1px dashed var(--line);
}
.milestone-tag-lead {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--charcoal);
  margin-right: 0.2rem;
}
.milestone-tag-item {
  font-size: 0.72rem;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* Clean Media Container */
.milestone-media {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
  position: relative;
  background: #f5f5f5;
  height: 100%;
  min-height: 220px;
  display: flex;
  flex-direction: column;
}
.milestone-media img {
  width: 100%;
  height: 100%;
  max-height: 260px;
  object-fit: cover;
  flex: 1;
}
.milestone-media-label {
  background: rgba(14, 20, 27, 0.9);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.72rem;
  line-height: 1.35;
  padding: 0.45rem 0.75rem;
}

/* 8-Point Requirement Review Matrix (Step 02) */
.req-matrix-clean {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin: 1rem 0;
}
@media (max-width: 991px) {
  .req-matrix-clean {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 575px) {
  .req-matrix-clean {
    grid-template-columns: 1fr;
  }
}
.req-clean-item {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.9rem;
  transition: border-color 0.2s ease;
}
.req-clean-item:hover {
  border-color: var(--maroon);
}
.req-clean-head {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.35rem;
}
.req-clean-head i {
  color: var(--maroon);
  font-size: 0.95rem;
}
.req-clean-desc {
  font-size: 0.76rem;
  color: var(--slate);
  line-height: 1.45;
  margin: 0;
}

/* Dual Audience Guide Cards */
.guide-clean-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
@media (max-width: 800px) {
  .guide-clean-grid {
    grid-template-columns: 1fr;
  }
}
.guide-clean-card {
  background: var(--card-bg);
  border: var(--card-border);
  border-radius: var(--card-radius);
  padding: 1.75rem;
  border-top: 3px solid var(--charcoal);
  transition: transform 0.2s ease;
}
.guide-clean-card.startup {
  border-top-color: var(--maroon);
}
.guide-clean-card:hover {
  transform: translateY(-2px);
}
.guide-clean-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.45rem;
}
.guide-clean-card p.intro {
  font-size: 0.85rem;
  color: var(--slate);
  line-height: 1.55;
  margin-bottom: 1rem;
}
.guide-clean-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem 0;
}
.guide-clean-list li {
  font-size: 0.82rem;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 0.55rem;
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
}
.guide-clean-list li i {
  color: var(--maroon);
  margin-top: 0.15rem;
  flex-shrink: 0;
}

/* ===== QUALITY CONTROL & ASSURANCE PORTAL STYLES ===== */
.qc-gate-card {
  background: var(--card-bg);
  border: var(--card-border);
  border-radius: var(--card-radius);
  padding: 1.5rem 1.65rem;
  margin-bottom: 1.5rem;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.qc-gate-card:hover {
  transform: translateY(-2px);
  border-color: rgba(146, 37, 57, 0.35);
  box-shadow: 0 8px 24px rgba(14, 20, 27, 0.05);
}
.qc-gate-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.qc-gate-num-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.qc-gate-num {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--maroon);
  background: rgba(146, 37, 57, 0.08);
  border: 1px solid rgba(146, 37, 57, 0.18);
  border-radius: 6px;
  padding: 0.2rem 0.6rem;
  line-height: 1;
}
.qc-gate-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0;
}
.qc-gate-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--ink);
  background: var(--ivory);
  border: 1px solid var(--line);
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
}
.qc-gate-badge.accent {
  background: rgba(146, 37, 57, 0.08);
  color: var(--maroon);
  border-color: rgba(146, 37, 57, 0.2);
}

.qc-gate-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1.5rem;
  align-items: start;
}
@media (max-width: 991px) {
  .qc-gate-layout {
    grid-template-columns: 1fr;
  }
}
.qc-gate-desc {
  font-size: 0.88rem;
  color: var(--slate);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.qc-checklist {
  list-style: none;
  padding: 0.85rem 1rem;
  margin: 0 0 1rem 0;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.qc-checklist li {
  font-size: 0.81rem;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
}
.qc-checklist li:last-child {
  margin-bottom: 0;
}
.qc-checklist li i {
  color: var(--maroon);
  font-size: 0.8rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.qc-gate-media {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
  position: relative;
  background: #f5f5f5;
  height: 100%;
  min-height: 220px;
  display: flex;
  flex-direction: column;
}
.qc-gate-media img {
  width: 100%;
  height: 100%;
  max-height: 250px;
  object-fit: cover;
  flex: 1;
}
.qc-gate-media-caption {
  background: rgba(14, 20, 27, 0.9);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.72rem;
  line-height: 1.35;
  padding: 0.45rem 0.75rem;
}

/* Defect Tier Classification Grid */
.defect-tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
@media (max-width: 850px) {
  .defect-tier-grid {
    grid-template-columns: 1fr;
  }
}
.defect-tier-card {
  background: var(--card-bg);
  border: var(--card-border);
  border-radius: var(--card-radius);
  padding: 1.35rem;
  border-top: 3px solid var(--charcoal);
}
.defect-tier-card.critical {
  border-top-color: #c92a2a;
}
.defect-tier-card.major {
  border-top-color: var(--maroon);
}
.defect-tier-card.minor {
  border-top-color: #2b7a4b;
}
.defect-tier-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}
.defect-tier-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0;
}
.defect-limit-pill {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.defect-tier-card.critical .defect-limit-pill {
  background: rgba(201, 42, 42, 0.1);
  color: #c92a2a;
}
.defect-tier-card.major .defect-limit-pill {
  background: rgba(146, 37, 57, 0.1);
  color: var(--maroon);
}
.defect-tier-card.minor .defect-limit-pill {
  background: rgba(43, 122, 75, 0.1);
  color: #2b7a4b;
}
.defect-tier-desc {
  font-size: 0.8rem;
  color: var(--slate);
  line-height: 1.45;
  margin-bottom: 0.65rem;
}
.defect-tier-examples {
  list-style: none;
  padding: 0;
  margin: 0;
}
.defect-tier-examples li {
  font-size: 0.76rem;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
}
.defect-tier-examples li i {
  font-size: 0.7rem;
  margin-top: 0.2rem;
  color: var(--slate);
}

/* In-House Testing Laboratory Cards */
.lab-caps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
@media (max-width: 991px) {
  .lab-caps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 575px) {
  .lab-caps-grid {
    grid-template-columns: 1fr;
  }
}
.lab-cap-card {
  background: var(--card-bg);
  border: var(--card-border);
  border-radius: var(--card-radius);
  padding: 1.15rem;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease;
}
.lab-cap-card:hover {
  border-color: var(--maroon);
  transform: translateY(-2px);
}
.lab-cap-icon {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: rgba(146, 37, 57, 0.08);
  color: var(--maroon);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
}
.lab-cap-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.3rem;
}
.lab-cap-method {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--maroon);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
  display: block;
}
.lab-cap-desc {
  font-size: 0.78rem;
  color: var(--slate);
  line-height: 1.5;
  margin: 0;
}

/* Third-Party Inspection Agency Rail */
.agency-partner-rail {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.85rem;
  margin-top: 1.25rem;
}
@media (max-width: 991px) {
  .agency-partner-rail {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 575px) {
  .agency-partner-rail {
    grid-template-columns: repeat(2, 1fr);
  }
}
.agency-card {
  background: var(--card-bg);
  border: var(--card-border);
  border-radius: var(--card-radius);
  padding: 1rem;
  text-align: center;
}
.agency-name {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.2rem;
}
.agency-sub {
  font-size: 0.7rem;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
