.nav__link{
    
    padding:0!Important;
}
header.site-header.site-header--dark.mobile-header {
    display: none!important;
}

@media (max-width: 767px) {

   header.site-header.site-header--dark .mobile-header {
    display:block!important;
}

}

/* =========================================================
   Aisha Steel — Brand Design System
   Primary: steel grey #969696 | Accent: live site red-orange
   Layout language inspired by XBuild (not a clone)
   ========================================================= */

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

:root {
  --green: #969696;
  --green-dark: #6b6b6b;
  --green-soft: rgba(150, 150, 150, 0.14);
  --red: #de620c;
  --red-dark: #b84f0a;
  --red-soft: rgba(222, 98, 12, 0.18);
  --ink: #121417;
  --ink-soft: #3d4450;
  --muted: #6b7280;
  --line: rgba(18, 20, 23, 0.1);
  --bg: #ffffff;
  --soft: #f3f5f4;
  --charcoal: #121417;
  --steel: #969696;
  --white: #ffffff;
  --font: "Manrope", system-ui, -apple-system, sans-serif;
  --wrap: 1280px;
  --gutter: clamp(1.25rem, 4vw, 2rem);
  --header-h: 5.25rem;
  --radius: 12px;
  --shadow: 0 18px 50px rgba(18, 20, 23, 0.1);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: auto; }
html.lenis {
  scroll-behavior: auto;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }
p { margin: 0; }

.wrap {
  width: min(100% - (var(--gutter) * 2), var(--wrap));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.85rem;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 2px;
  background: var(--green);
}

.sec-head { margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.sec-head--center { text-align: center; }
.sec-head--center .eyebrow { justify-content: center; }
.sec-head--center .eyebrow::before { display: none; }
.sec-head h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.85rem);
  max-width: 18ch;
}
.sec-head--center h2 { margin-inline: auto; }
.sec-head p {
  margin-top: 0.85rem;
  color: var(--muted);
  max-width: 40rem;
}
.sec-head--center p { margin-inline: auto; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.1rem;
  padding: 0.7rem 1.4rem;
  border-radius: 6px;
  border: 1px solid transparent;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s var(--ease), border-color 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 24px rgba(222, 98, 12, 0.32);
}
.btn--primary:hover { background: var(--red-dark); color: #fff; }
.btn--primary:active { background: #9a4208; color: #fff; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.55); }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--outline:hover { border-color: var(--red); color: var(--red); }
.btn--accent { background: var(--red); color: #fff; box-shadow: 0 10px 24px rgba(222, 98, 12, 0.32); }
.btn--accent:hover { background: var(--red-dark); color: #fff; }
.btn--accent:active { background: #9a4208; color: #fff; }

/* ---------- Modern floating header ---------- */
.site-header--dark {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  background: transparent !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  color: #fff;
  padding: 0.65rem 0 0;
  transition: padding 0.35s var(--ease);
  isolation: isolate;
}
.site-header--dark .header__shell {
  width: min(100% - (var(--gutter) * 2), var(--wrap));
  margin-inline: auto;
  padding-inline: 0;
  background: transparent;
}
.site-header--dark .header__bar {
  background: rgba(14, 17, 19, 0.78);
  border: 1px solid rgba(150, 150, 150, 0.35);
  border-radius: 18px;
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.38);
  padding: 0.55rem 0.85rem 0.55rem 1rem;
  min-height: calc(var(--header-h) - 0.15rem);
}
.site-header--dark.is-scrolled {
  position: fixed;
  padding: 0.65rem 0;
  background: transparent !important;
  box-shadow: none !important;
  border-bottom: 0 !important;
}
.site-header--dark.is-scrolled .header__shell {
  width: min(100% - (var(--gutter) * 2), var(--wrap));
  margin-inline: auto;
  padding-inline: 0;
}
.site-header--dark.is-scrolled .header__bar {
  background: rgba(14, 17, 19, 0.9);
  border: 1px solid rgba(150, 150, 150, 0.4);
  border-radius: 18px;
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  padding: 0.55rem 0.85rem 0.55rem 1rem;
}
.site-header--dark .nav__link {
  color: rgba(255, 255, 255, 0.82);
}
.site-header--dark .nav__link:hover,
.site-header--dark .nav__link.is-active {
  color: #fff;
}
.site-header--dark .nav__link::after {
  background: var(--green);
}
.site-header--dark .nav__dropdown {
  background: rgba(18, 20, 23, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}
.site-header--dark .nav__dropdown a {
  color: rgba(255, 255, 255, 0.82);
}
.site-header--dark .nav__dropdown a:hover {
  background: rgba(150, 150, 150, 0.28);
  color: #fff;
}
.site-header--dark .header__contact {
  color: rgba(255, 255, 255, 0.85);
}
.site-header--dark .header__contact:hover { color: #fff; }
.site-header--dark .nav-toggle,
.site-header--dark.is-scrolled .nav-toggle {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.site-header--dark .brand__meta strong { color: #fff; }
.site-header--dark .brand__meta small { color: rgba(255, 255, 255, 0.55); }

.eyebrow--red { color: var(--red); }
.eyebrow--red::before { background: var(--red); }

/* ---------- Hero XBuild wash ---------- */
.hero--xb {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  overflow: hidden;
  background: #1a1c1e;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero--xb > .wrap {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex: 1 1 auto;
  /* Same container as header — box left edge = header left edge */
  width: min(100% - (var(--gutter) * 2), var(--wrap));
  max-width: var(--wrap);
  margin-inline: auto;
  min-height: 0;
  padding-top: calc(var(--header-h) + 0.35rem);
  padding-bottom: clamp(3.5rem, 8vh, 5.5rem);
  box-sizing: border-box;
}
.hero--xb .hero__media {
  z-index: 0;
}
.hero--xb .hero__overlay {
  z-index: 1;
  pointer-events: none;
  /* Light video wash only — main shade lives on content box */
  background:
    linear-gradient(
      180deg,
      rgba(18, 20, 23, 0.22) 0%,
      transparent 42%,
      rgba(18, 20, 23, 0.28) 100%
    );
}
html[dir="rtl"] .hero--xb .hero__overlay {
  background:
    linear-gradient(
      180deg,
      rgba(18, 20, 23, 0.22) 0%,
      transparent 42%,
      rgba(18, 20, 23, 0.28) 100%
    );
}
.hero__panel {
  position: relative;
  width: min(100%, 38rem);
  padding: clamp(1.35rem, 3vw, 1.85rem) clamp(1.35rem, 3.2vw, 2rem);
  border-radius: 20px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(
      115deg,
      rgba(150, 150, 150, 0.94) 0%,
      rgba(150, 150, 150, 0.82) 42%,
      rgba(150, 150, 150, 0.55) 78%,
      rgba(150, 150, 150, 0.32) 100%
    );
  backdrop-filter: blur(14px) saturate(1.05);
  -webkit-backdrop-filter: blur(14px) saturate(1.05);
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  overflow: hidden;
}
.hero__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 42%
    );
}
.hero--xb .hero__content {
  position: relative;
  z-index: 1;
  max-width: 100%;
  padding: 0;
  min-width: 0;
  color: #fff;
}
.hero--xb h1 {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  max-width: 12ch;
  margin-bottom: 0.75rem;
}
.hero--xb .hero__text {
  color: rgba(255, 255, 255, 0.92);
  max-width: 32rem;
  margin-bottom: 1.25rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero__panel .hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}
.hero__panel .btn--primary {
  background: var(--red);
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(222, 98, 12, 0.35);
}
.hero__panel .btn--primary:hover {
  background: var(--red-dark);
}
.hero__panel .btn--primary:active {
  background: #9a4208;
}
.hero__panel .hero__watch {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}
.hero__panel .hero__watch:hover {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  border-color: #fff;
}
@media (max-width: 720px) {
  .hero--xb {
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    height: 100vh;
    height: 100svh;
    height: 100dvh;
  }
  .hero--xb > .wrap {
    width: min(100% - (var(--gutter) * 2), var(--wrap));
    margin-inline: auto;
    padding-top: calc(var(--header-h) + 0.25rem);
    padding-bottom: 4.5rem;
    align-items: center;
    justify-content: flex-start;
  }
  .hero__panel {
    width: 100%;
    max-width: none;
    border-radius: 16px;
    padding: 1.2rem 1.15rem 1.3rem;
  }
  .hero--xb h1 {
    font-size: clamp(1.85rem, 9vw, 2.45rem);
    margin-bottom: 0.55rem;
  }
  .hero--xb .hero__text {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    -webkit-line-clamp: 4;
  }
  .hero__panel .hero__actions {
    gap: 0.65rem;
  }
  .hero__panel .hero__actions .btn {
    flex: 1 1 auto;
    min-width: calc(50% - 0.4rem);
    min-height: 2.85rem;
    padding-inline: 1rem;
    font-size: 0.78rem;
  }
  .hero__curve {
    height: 48px;
  }
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}
.video-modal[hidden] { display: none !important; }
.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 14, 0.78);
  backdrop-filter: blur(4px);
}
.video-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 920px);
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.video-modal__player {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
}
.video-modal__close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 2;
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #121417;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}
.video-modal__close:hover { background: #fff; }
html[dir="rtl"] .video-modal__close { right: auto; left: 0.65rem; }
.hero__curve {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 72px;
  background: #fff;
  clip-path: ellipse(72% 100% at 50% 100%);
  z-index: 2;
}

/* ---------- Overlap services panel ---------- */
.xb-overlap {
  position: relative;
  z-index: 4;
  margin-top: -4.5rem;
  margin-bottom: 0;
  padding-bottom: 1rem;
}
.xb-overlap__panel {
  background: #fff;
  border-radius: 36px 36px 0 0;
  box-shadow: 0 -10px 50px rgba(0, 0, 0, 0.12);
  padding: clamp(2.25rem, 4.5vw, 3.35rem) clamp(1.25rem, 3vw, 2.5rem) clamp(2.5rem, 4vw, 3.25rem);
}
/* ---------- What We Manufacture (scroll-pin like TrustPoint) ---------- */
.wwd {
  --wwd-steps: 6;
  position: relative;
  z-index: 4;
  margin-top: -4.5rem;
  height: calc(var(--wwd-steps) * 100vh);
  background: #0e1311;
}
.wwd__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0e1311;
}
.wwd__wrap {
  width: min(100% - (var(--gutter) * 2), var(--wrap));
  margin-inline: auto;
}
.wwd__panel {
  color: #fff;
  padding: clamp(1.25rem, 3vh, 2.25rem) 0;
}
.wwd__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(1.25rem, 3vh, 2.25rem);
}
.wwd__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.wwd__eyebrow span {
  width: 2rem;
  height: 1px;
  background: var(--red);
}
.wwd__all {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.25s ease, gap 0.25s var(--ease);
}
.wwd__all svg {
  width: 0.9rem;
  height: 0.9rem;
  transition: transform 0.25s var(--ease);
}
.wwd__all:hover {
  color: #c8c8c8;
  gap: 0.6rem;
}
.wwd__all:hover svg { transform: translateX(3px); }

.wwd__body {
  display: grid;
  grid-template-columns: auto minmax(0, 1.05fr) minmax(0, 1.15fr);
  gap: clamp(1.25rem, 4vw, 3rem);
  align-items: center;
  min-height: min(58vh, 28rem);
  padding-left: 0;
}
.wwd__rail {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.wwd__index {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-right: 0.25rem;
}
.wwd__num {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.28);
  transition: color 0.3s ease, transform 0.3s var(--ease);
  text-align: left;
}
.wwd__num:hover { color: rgba(255, 255, 255, 0.55); }
.wwd__num.is-active {
  color: var(--red);
  transform: translateX(2px);
}
.wwd__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  max-width: 34rem;
}
.wwd__copy h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.85rem);
  letter-spacing: -0.035em;
  max-width: 14ch;
  line-height: 1.1;
  transition: opacity 0.35s ease, transform 0.35s var(--ease);
}
.wwd__tag {
  margin: 0;
  color: #ffb07a;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.45;
  transition: opacity 0.35s ease, transform 0.35s var(--ease);
}
.wwd__copy ul {
  display: grid;
  gap: 0.55rem;
  margin: 0.35rem 0 0.15rem;
  padding: 0;
  list-style: none;
  transition: opacity 0.35s ease, transform 0.35s var(--ease);
}
.wwd__copy li {
  position: relative;
  padding-left: 1.35rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  line-height: 1.5;
}
.wwd__copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 0.85rem;
  height: 1px;
  background: rgba(255, 255, 255, 0.45);
}
.wwd__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.55rem;
  font-size: 0.88rem;
  font-weight: 800;
  color: #c8c8c8;
  transition: gap 0.25s var(--ease), color 0.25s ease;
}
.wwd__cta svg {
  width: 0.95rem;
  height: 0.95rem;
  transition: transform 0.25s var(--ease);
}
.wwd__cta:hover {
  color: #fff;
  gap: 0.65rem;
}
.wwd__cta:hover svg { transform: translateX(3px); }
.wwd__media {
  position: relative;
  min-height: min(52vh, 24rem);
  overflow: hidden;
  background: #151b18;
}
.wwd__media img {
  width: 100%;
  height: 100%;
  min-height: min(52vh, 24rem);
  object-fit: cover;
  transition: opacity 0.45s ease, transform 0.8s var(--ease);
}
.wwd__media.is-switching img {
  opacity: 0.35;
  transform: scale(1.04);
}
.wwd__copy.is-switching h2,
.wwd__copy.is-switching .wwd__tag,
.wwd__copy.is-switching ul {
  opacity: 0.35;
  transform: translateY(6px);
}

/* Custom scroll progress (beside 01–06) */
.wwd__scrollbar {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  z-index: 5;
  pointer-events: none;
  flex-shrink: 0;
}
.wwd__scrollbar-label {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.65);
  white-space: nowrap;
}
.wwd__scrollbar-track {
  position: relative;
  width: 2px;
  height: min(28vh, 11rem);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}
.wwd__scrollbar-thumb {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(180deg, var(--green) 0%, var(--red) 100%);
  transform-origin: top center;
  transform: scaleY(0.12);
  transition: transform 0.12s linear;
}
.wwd__scrollbar-hint {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.32);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

/* Legacy 4-up cards (kept for secondary pages) */
.xb-svc {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}
.xb-svc__card {
  position: relative;
  display: block;
  border-radius: 10px;
  overflow: hidden;
  background: var(--soft);
  min-height: 17rem;
  box-shadow: 0 10px 28px rgba(18, 20, 23, 0.08);
  transition: transform 0.3s var(--ease);
}
.xb-svc__card:hover { transform: translateY(-6px); }
.xb-svc__card img {
  width: 100%;
  height: 12.5rem;
  object-fit: cover;
  background: #e8ebe9;
}
.xb-svc__title {
  display: block;
  position: relative;
  padding: 1rem 0.9rem 1.15rem;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--ink);
  background: #fff;
}
.xb-svc__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 2.4rem;
  height: 4px;
  background: var(--red);
}

/* ---------- About (light contrast after dark WWD) ---------- */
.xb-about {
  background:
    radial-gradient(ellipse 70% 50% at 10% 0%, rgba(150, 150, 150, 0.08), transparent 55%),
    var(--soft);
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  border-top: 1px solid rgba(150, 150, 150, 0.12);
}
.xb-about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.xb-about__card {
  position: relative;
  background: #fff;
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  border-radius: 4px;
}
.xb-about__card::before,
.xb-about__card::after {
  content: "";
  position: absolute;
  width: 58%;
  height: 58%;
  border: 3px solid var(--red);
  pointer-events: none;
}
.xb-about__card::before {
  top: -10px;
  right: -10px;
  border-left: 0;
  border-bottom: 0;
}
.xb-about__card::after {
  left: -10px;
  bottom: -10px;
  border-right: 0;
  border-top: 0;
}
.xb-about__card h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.45rem);
  margin-bottom: 1rem;
  max-width: 16ch;
}
.xb-about__card p {
  color: var(--muted);
  margin-bottom: 1rem;
}
.xb-about__card .btn { margin-top: 0.5rem; }
.xb-about__media {
  border-radius: 4px;
  overflow: hidden;
  min-height: 22rem;
}
.xb-about__media img {
  width: 100%;
  height: 100%;
  min-height: 22rem;
  object-fit: cover;
}

/* ---------- Production Facilities cinematic ---------- */
.pf-sec {
  position: relative;
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  background: linear-gradient(165deg, #0e1311 0%, #151b18 42%, #1a2420 100%);
  color: #fff;
  overflow: hidden;
  margin-top: 0;
}
.pf-sec__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 50% at 15% 20%, rgba(150, 150, 150, 0.35), transparent 60%),
    radial-gradient(ellipse 40% 45% at 90% 80%, rgba(223, 99, 13, 0.14), transparent 55%);
  pointer-events: none;
}
.pf-sec .wrap { position: relative; z-index: 1; }
.pf-sec__top {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: end;
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}
.pf-sec__copy .eyebrow { color: #c8c8c8; }
.pf-sec__copy .eyebrow::before { background: var(--green); }
.pf-sec__copy h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 14ch;
  margin-bottom: 0.75rem;
  color: #fff;
}
.pf-sec__copy p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  max-width: 36rem;
}
.pf-sec__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.pf-sec__stats article {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 1rem 1.05rem;
  backdrop-filter: blur(8px);
}
.pf-sec__stats strong {
  display: block;
  font-size: 1.55rem;
  font-weight: 800;
  color: #c8c8c8;
  line-height: 1.1;
}
.pf-sec__stats span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.pf-gallery__stage {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  max-height: 32rem;
  background: #0a0d0c;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}
.pf-gallery__stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease, transform 0.9s var(--ease);
}
.pf-gallery__stage.is-swap img {
  opacity: 0;
  transform: scale(1.06);
}
.pf-gallery__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 14, 12, 0.82) 0%, rgba(10, 14, 12, 0.35) 42%, transparent 70%),
    linear-gradient(180deg, transparent 40%, rgba(10, 14, 12, 0.88) 100%);
  pointer-events: none;
}
.pf-gallery__frame {
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  pointer-events: none;
}
.pf-gallery__frame::before,
.pf-gallery__frame::after {
  content: "";
  position: absolute;
  width: 3.5rem;
  height: 3.5rem;
  border: 2px solid var(--green);
}
.pf-gallery__frame::before {
  top: -1px;
  left: -1px;
  border-right: 0;
  border-bottom: 0;
}
.pf-gallery__frame::after {
  right: -1px;
  bottom: -1px;
  border-left: 0;
  border-top: 0;
  border-color: var(--red);
}
.pf-gallery__info {
  position: absolute;
  left: clamp(1.25rem, 3vw, 2.25rem);
  bottom: clamp(1.25rem, 3vw, 2.25rem);
  right: clamp(1.25rem, 8vw, 8rem);
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.15rem;
  align-items: end;
  max-width: 40rem;
}
.pf-gallery__num {
  font-size: clamp(3.5rem, 8vw, 5.5rem);
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: rgba(255, 255, 255, 0.16);
}
.pf-gallery__label {
  color: #c8c8c8;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.pf-gallery__text h3 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin-bottom: 0.55rem;
}
.pf-gallery__text p:not(.pf-gallery__label) {
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 1.15rem;
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 34rem;
}

.pf-thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}
.pf-thumb {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 14px;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  text-align: left;
  color: #fff;
  font: inherit;
  transition: transform 0.35s var(--ease), border-color 0.35s ease, box-shadow 0.35s ease;
}
.pf-thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}
.pf-thumb span {
  display: block;
  padding: 0.7rem 0.75rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.3;
}
.pf-thumb em {
  display: block;
  font-style: normal;
  color: #c8c8c8;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.15rem;
}
.pf-thumb:hover {
  transform: translateY(-5px);
  border-color: rgba(150, 150, 150, 0.45);
}
.pf-thumb:hover img { transform: scale(1.08); }
.pf-thumb.is-active {
  border-color: var(--green);
  box-shadow: 0 14px 36px rgba(150, 150, 150, 0.35);
  background: rgba(150, 150, 150, 0.18);
}
.pf-thumb--float {
  animation: pfFloat 4.8s ease-in-out infinite;
}
@keyframes pfFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@media (prefers-reduced-motion: reduce) {
  .pf-thumb--float { animation: none; }
}
.pf-thumb--float.is-active,
.pf-thumb--float:hover { animation-play-state: paused; }

@media (max-width: 1100px) {
  .pf-sec__top { grid-template-columns: 1fr; }
  .pf-thumbs { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .pf-sec__stats { grid-template-columns: 1fr; }
  .pf-thumbs { grid-template-columns: 1fr 1fr; }
  .pf-gallery__info { grid-template-columns: 1fr; gap: 0.35rem; }
  .pf-gallery__num { font-size: 2.8rem; }
  .pf-thumb--float { animation: none; }
}

/* ---------- Factory showcase (legacy) ---------- */
.factory-sec {
  padding: clamp(3.75rem, 7vw, 6rem) 0;
  background:
    linear-gradient(180deg, #f6f8f7 0%, #fff 40%, #f3f5f4 100%);
}
.factory-sec__intro {
  max-width: 40rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}
.factory-sec__intro h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.85rem);
  margin-bottom: 0.75rem;
}
.factory-sec__intro p:last-child {
  color: var(--muted);
  margin: 0;
}
.factory-show {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.15rem;
  align-items: stretch;
}
.factory-show__stage {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 34rem;
  height: 100%;
  background: var(--charcoal);
  box-shadow: 0 24px 60px rgba(18, 20, 23, 0.14);
}
.factory-show__stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.35s ease, transform 0.8s var(--ease);
}
.factory-show__stage.is-swap img {
  opacity: 0;
  transform: scale(1.04);
}
.factory-show__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: end;
  padding: 2rem 1.5rem 1.5rem;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 14, 12, 0.88) 55%);
  color: #fff;
}
.factory-show__index {
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 0.9;
  color: rgba(255, 255, 255, 0.22);
  letter-spacing: -0.04em;
}
.factory-show__label {
  display: inline-flex;
  margin-bottom: 0.4rem;
  color: #c8c8c8;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.factory-show__overlay h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  margin-bottom: 0.45rem;
}
.factory-show__overlay p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  max-width: 36rem;
  line-height: 1.55;
}
.factory-show__list {
  display: grid;
  grid-template-rows: repeat(6, 1fr);
  gap: 0.55rem;
  min-height: 34rem;
}
.factory-show__item {
  appearance: none;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.85rem;
  align-items: center;
  text-align: left;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s var(--ease), box-shadow 0.25s ease;
}
.factory-show__item span {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--muted);
}
.factory-show__item strong {
  font-size: 0.98rem;
  font-weight: 700;
}
.factory-show__item:hover {
  transform: translateX(4px);
  border-color: rgba(150, 150, 150, 0.35);
}
.factory-show__item.is-active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  box-shadow: 0 14px 32px rgba(150, 150, 150, 0.28);
  transform: translateX(6px);
}
.factory-show__item.is-active span { color: rgba(255, 255, 255, 0.7); }
.factory-sec__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

@media (max-width: 1100px) {
  .factory-show {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .factory-show__stage { min-height: 22rem; }
  .factory-show__list {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    min-height: 0;
  }
  .factory-show__item { min-height: 3.5rem; }
}
@media (max-width: 720px) {
  .factory-show__list { grid-template-columns: 1fr; }
  .factory-show__overlay {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
  .factory-show__index { font-size: 2.4rem; }
}

/* ---------- Tall project strip (legacy) ---------- */
.xb-factory {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 0;
  background: #fff;
}
.xb-projects {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  width: 100%;
  margin-top: 1.5rem;
}
.xb-proj {
  position: relative;
  aspect-ratio: 2 / 3.55;
  min-height: 26rem;
  overflow: hidden;
  color: #fff;
}
.xb-proj img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.xb-proj:hover img,
.xb-proj.is-on img { transform: scale(1.06); }
.xb-proj span {
  position: absolute;
  left: 0.55rem;
  right: 0.55rem;
  bottom: 0.55rem;
  background: #fff;
  color: var(--ink);
  border-radius: 8px;
  padding: 0.7rem 0.45rem;
  text-align: center;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: 0.3s var(--ease);
}
.xb-proj.is-on span,
.xb-proj:hover span {
  opacity: 1;
  transform: none;
}

/* ---------- Working Process ---------- */
.xb-process {
  position: relative;
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  background: var(--soft);
  overflow: hidden;
}
.xb-process__bg {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(48%, 520px);
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}
.xb-process__bg img {
  width: 100%;
  height: auto;
  filter: grayscale(1);
}
.xb-process__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.xb-process__steps {
  display: grid;
  gap: 1.15rem;
}
.xb-step {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  align-items: stretch;
  cursor: pointer;
}
.xb-step:hover .xb-step__body {
  box-shadow: 0 14px 32px rgba(18, 20, 23, 0.1);
}
.xb-step__num {
  position: relative;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  border-radius: 10px 0 0 0;
  clip-path: polygon(0 0, 100% 0, 100% 78%, 82% 100%, 0 100%);
  box-shadow: 4px 6px 0 rgba(18, 20, 23, 0.18);
  transition: box-shadow 0.25s ease;
}
.xb-step__num span {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  -webkit-text-stroke: 1.5px #fff;
  color: transparent;
}
.xb-step__body {
  background: #fff;
  padding: 1.15rem 1.25rem 1.2rem;
  border-radius: 0 10px 10px 0;
  border-left: 3px solid transparent;
  box-shadow: 0 12px 30px rgba(18, 20, 23, 0.06);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.xb-step__body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}
.xb-step__body p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}
.xb-process__aside h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.85rem);
  max-width: 14ch;
  margin-bottom: 1.5rem;
}
.xb-process__label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}
.xb-process__label span {
  width: 1.35rem;
  height: 2px;
  background: var(--red);
}
.xb-process__visual {
  position: relative;
  margin-bottom: 1.75rem;
  max-width: 28rem;
  width: 100%;
  height: 18rem;
  display: grid;
  place-items: center;
}
.xb-process__visual img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 28px 40px rgba(18, 20, 23, 0.22));
  transition: opacity 0.28s ease, filter 0.35s ease;
}
.xb-process__visual img.is-swap {
  opacity: 0;
}
.xb-step.is-active .xb-step__body {
  border-left-color: var(--green);
  box-shadow: 0 16px 36px rgba(18, 20, 23, 0.12);
}
.xb-step.is-active .xb-step__num {
  box-shadow: 4px 6px 0 rgba(150, 150, 150, 0.35);
}
.xb-process__visual:hover img {
  filter: drop-shadow(0 36px 44px rgba(18, 20, 23, 0.28));
}
.xb-process__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin: 0 0 1.5rem;
}
.xb-process__stats article {
  border-left: 3px solid var(--green);
  padding-left: 0.65rem;
  text-align: left;
}
.xb-process__stats strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.1;
}
.xb-process__stats span {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Image hover animations (sitewide) */
.xb-svc__card img,
.xb-about__media img,
.xb-proj img,
.industry-card img,
.product-card img,
.xb-cap__img,
.about-grid__media img {
  transition: transform 0.7s var(--ease), filter 0.5s ease;
}
.xb-svc__card:hover img,
.xb-about__media:hover img,
.industry-card:hover img,
.about-grid__media:hover img {
  transform: scale(1.08);
}
.xb-proj:hover img,
.xb-proj.is-on img {
  transform: scale(1.1);
}

/* Back to top */
.back-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 50%;
  border: 0;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(150, 150, 150, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.3s var(--ease);
}
.back-top.is-on {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.back-top:hover {
  background: var(--green-dark);
  transform: translateY(-3px);
}
.back-top svg { width: 1rem; height: 1rem; }

@media (max-width: 1100px) {
  .xb-process__grid { grid-template-columns: 1fr; }
  .xb-process__visual { max-width: 22rem; height: 15rem; margin-inline: auto; }
  .xb-process__aside { text-align: center; }
  .xb-process__aside h2 { margin-inline: auto; }
  .xb-process__label { justify-content: center; }
  .xb-process__stats { grid-template-columns: repeat(2, 1fr); text-align: left; }
  .xb-process__stats article { text-align: left; }
}

@media (max-width: 720px) {
  .xb-step { grid-template-columns: 4.25rem 1fr; }
  .xb-step__num span { font-size: 1.2rem; }
}

/* ---------- Capabilities split (legacy) ---------- */
.xb-cap {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: #fff;
}
.xb-cap__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}
.xb-tabs {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
}
.xb-tabs__item {
  appearance: none;
  border: 0;
  text-align: left;
  background: var(--soft);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 1rem 1.15rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}
.xb-tabs__item.is-active,
.xb-tabs__item:hover {
  background: var(--red);
  color: #fff;
}
.xb-cap__left h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  max-width: 16ch;
  margin-bottom: 0.9rem;
}
.xb-cap__left > p {
  color: var(--muted);
  margin-bottom: 1.5rem;
  max-width: 36rem;
}
.xb-cap__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}
.xb-cap__stats article {
  border-left: 3px solid var(--red);
  padding-left: 0.75rem;
}
.xb-cap__stats strong {
  display: block;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.1;
}
.xb-cap__stats span {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.xb-cap__right {
  display: grid;
  gap: 0.85rem;
}
.xb-cap__img {
  width: 100%;
  object-fit: cover;
  border-radius: 4px;
}
.xb-cap__img--top { height: 16rem; }
.xb-cap__img--bot { height: 12rem; }

/* ---------- Quality / Certifications ---------- */
.qa-section {
  position: relative;
  background:
    linear-gradient(160deg, #0f1412 0%, #161b19 45%, #1a2420 100%);
  color: #fff;
  padding: clamp(4rem, 8vw, 6rem) 0;
  overflow: hidden;
}
.qa-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 90% 10%, rgba(150, 150, 150, 0.28), transparent 60%),
    radial-gradient(ellipse 40% 50% at 0% 100%, rgba(223, 99, 13, 0.12), transparent 55%);
  pointer-events: none;
}
.qa-section .wrap { position: relative; z-index: 1; }
.qa-section__head {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: end;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.qa-section__head .eyebrow { color: #c8c8c8; }
.qa-section__head .eyebrow::before { background: var(--green); }
.qa-section__head h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  max-width: 16ch;
  color: #fff;
}
.qa-section__head > p {
  color: rgba(255, 255, 255, 0.68);
  max-width: 36rem;
  margin: 0;
  padding-bottom: 0.35rem;
  border-left: 3px solid var(--green);
  padding-left: 1.15rem;
}
.qa-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.qa-card {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 1.75rem 1.5rem 1.65rem;
  min-height: 16rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), border-color 0.35s ease, background 0.35s ease;
}
.qa-card::after {
  content: "";
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  top: 0;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--green), #b0b0b0);
  opacity: 0.9;
}
.qa-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(150, 150, 150, 0.45);
}
.qa-card__mark {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: 1.15rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--green);
  box-shadow: 0 10px 24px rgba(150, 150, 150, 0.35);
}
.qa-card:nth-child(3) .qa-card__mark {
  background: var(--red);
  box-shadow: 0 10px 24px rgba(223, 99, 13, 0.3);
}
.qa-card__code {
  color: #c8c8c8;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
}
.qa-card:nth-child(3) .qa-card__code { color: #ffb07a; }
.qa-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.65rem;
  color: #fff;
}
.qa-card > p:last-child {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  margin-top: auto;
}
.qa-section__foot {
  margin-top: 2rem;
  text-align: center;
}

@media (max-width: 1100px) {
  .qa-section__head { grid-template-columns: 1fr; }
  .qa-grid { grid-template-columns: 1fr; }
  .qa-card { min-height: 0; }
}

/* legacy xb-band kept inert */
.xb-band { display: none; }

/* ---------- News trio ---------- */
.xb-news {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}
.xb-news__card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.6rem 1.4rem;
  min-height: 14rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}
.xb-news__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.xb-news__card--dark {
  background: var(--charcoal);
  border-color: transparent;
  color: #fff;
}
.xb-news__meta {
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}
.xb-news__card--dark .xb-news__meta { color: #ffb07a; }
.xb-news__card h3 {
  font-size: 1.25rem;
  margin-bottom: auto;
  max-width: 16ch;
}
.xb-news__card span {
  margin-top: 1.25rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--green);
}
.xb-news__card--dark span { color: #c8c8c8; }

@media (max-width: 1100px) {
  .xb-svc { grid-template-columns: repeat(2, 1fr); }
  .wwd__body {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
  }
  .wwd__media {
    grid-column: 1 / -1;
  }
  .xb-about__grid,
  .xb-cap__grid { grid-template-columns: 1fr; }
  .xb-projects { grid-template-columns: repeat(3, 1fr); }
  .qa-grid,
  .xb-news { grid-template-columns: 1fr; }
  .xb-cap__stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .wwd {
    height: auto;
    margin-top: -2.75rem;
  }
  .wwd__pin {
    position: relative;
    height: auto;
    padding: clamp(2rem, 5vw, 3rem) 0;
  }
  .wwd__body {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    min-height: 0;
  }
  .wwd__index {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.85rem 1.15rem;
  }
  .wwd__rail {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .wwd__scrollbar {
    flex-direction: row;
    width: 100%;
    max-width: 12rem;
  }
  .wwd__scrollbar-track {
    width: 100%;
    height: 2px;
  }
  .wwd__scrollbar-thumb {
    transform-origin: left center;
    transform: scaleX(0.12);
  }
  .wwd__scrollbar-hint {
    writing-mode: horizontal-tb;
    transform: none;
  }
  .wwd__media,
  .wwd__media img {
    min-height: 16rem;
  }
  .wwd__scrollbar { display: flex; }
}

@media (max-width: 720px) {
  .hero__row {
    flex-direction: column;
    padding: 3.5rem 0 7rem;
    gap: 1rem;
  }
  .xb-svc { grid-template-columns: 1fr; }
  .xb-projects { grid-template-columns: 1fr 1fr; }
  .xb-proj { aspect-ratio: 3 / 4; }
  .xb-about__card::before,
  .xb-about__card::after { display: none; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 0;
}
/* Overlay dark header so hero fills the top (no white strip) */
.site-header.site-header--dark {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  z-index: 100;
}
.site-header.site-header--dark.is-scrolled {
  position: fixed;
}
.header__shell {
  position: relative;
}
.header__bar {
  min-height: calc(var(--header-h) - 0.35rem);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0.55rem 0.85rem 0.55rem 1rem;
  border-radius: 18px;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.header__inner {
  min-height: var(--header-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}
.brand img {
  height: 3.6rem;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.25));
  transition: transform 0.35s var(--ease);
}
.brand:hover img { transform: scale(1.04); }
.brand__meta {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand__meta strong {
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand__meta small {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  flex-wrap: wrap;
}
.nav__item { position: relative; }
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0.55rem 0.72rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
  border-radius: 999px;
  transition: color 0.25s ease, background 0.25s ease;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.28rem;
  height: 2px;
  border-radius: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}
.nav__link:hover,
.nav__link.is-active { color: var(--green); }
.nav__link.is-active::after,
.nav__link:hover::after { transform: scaleX(1); }
.nav__chevron {
  width: 9px;
  height: 9px;
  opacity: 0.65;
  transition: transform 0.25s ease;
}
.nav__item:hover .nav__chevron { transform: rotate(180deg); }
.nav__dropdown {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 50%;
  min-width: 15rem;
  padding: 0.45rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(18, 20, 23, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: 0.22s var(--ease);
  z-index: 20;
}
.nav__item:hover .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.nav__dropdown a {
  display: block;
  padding: 0.65rem 0.8rem;
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: background 0.2s ease, color 0.2s ease;
}
.nav__dropdown a:hover { background: var(--green-soft); color: var(--green); }

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.header__cta { display: flex; align-items: center; gap: 0.75rem; }
.header__contact {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: color 0.25s ease;
}
.header__contact svg {
  width: 0.95rem;
  height: 0.95rem;
  flex-shrink: 0;
}
.header__btn {
  min-height: 2.55rem;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  font-size: 0.82rem;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 0.18rem;
  border-radius: 999px;
  border: 1px solid rgba(222, 98, 12, 0.35);
  background: rgba(222, 98, 12, 0.12);
}
.site-header:not(.site-header--dark) .lang-switch {
  border-color: rgba(222, 98, 12, 0.28);
  background: rgba(222, 98, 12, 0.08);
}
.lang-switch__btn {
  min-width: 2.35rem;
  height: 1.85rem;
  padding: 0 0.65rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
  opacity: 0.78;
  transition: background 0.25s ease, color 0.25s ease, opacity 0.25s ease;
}
.site-header--dark .lang-switch__btn { color: #fff; }
.lang-switch__btn.is-active {
  background: #de620c;
  color: #fff;
  opacity: 1;
  box-shadow: 0 6px 14px rgba(222, 98, 12, 0.35);
}
.lang-switch__btn:not(.is-active):hover {
  color: #de620c;
  opacity: 1;
}
.site-header--dark .lang-switch__btn:not(.is-active):hover {
  color: #ff9a4d;
}
.lang-switch__btn[data-lang="ur"] {
  font-family: "Noto Nastaliq Urdu", Manrope, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0;
}
html[dir="rtl"] body {
  font-family: "Noto Nastaliq Urdu", Manrope, sans-serif;
}
html[dir="rtl"] .nav__link,
html[dir="rtl"] .btn,
html[dir="rtl"] .eyebrow,
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4 {
  letter-spacing: 0;
}
html[dir="rtl"] .hero__text,
html[dir="rtl"] .xb-about__card p,
html[dir="rtl"] .partners-sec__head,
html[dir="rtl"] .sec-head,
html[dir="rtl"] .ms-section__head,
html[dir="rtl"] .qa-section__head {
  line-height: 1.9;
}
html[dir="rtl"] .wwd__all svg,
html[dir="rtl"] .wwd__cta svg {
  transform: scaleX(-1);
}
html[dir="rtl"] .header__bar {
  direction: rtl;
}
html[dir="rtl"] .nav__dropdown {
  text-align: right;
}
.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  min-width: 2.7rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  position: relative;
  z-index: 140;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle__icon {
  grid-area: 1 / 1;
  width: 1.35rem;
  height: 1.35rem;
  display: block;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.nav-toggle__icon--menu {
  opacity: 1;
  transform: scale(1);
}
.nav-toggle__icon--close {
  opacity: 0;
  transform: scale(0.7) rotate(-90deg);
  pointer-events: none;
}
.nav-toggle.is-open .nav-toggle__icon--menu {
  opacity: 0;
  transform: scale(0.7) rotate(90deg);
  pointer-events: none;
}
.nav-toggle.is-open .nav-toggle__icon--close {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  pointer-events: auto;
}

/* ---------- Off-canvas menu ---------- */
.offcanvas-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(18, 20, 23, 0.48);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
body.is-offcanvas-open .offcanvas-backdrop {
  opacity: 1;
}
.offcanvas {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 130;
  width: min(22.5rem, 92vw);
  pointer-events: none;
}
.offcanvas__panel {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #121417;
  color: #fff;
  box-shadow: -18px 0 50px rgba(0, 0, 0, 0.28);
  transform: translateX(104%);
  transition: transform 0.4s var(--ease);
  overflow: hidden;
}
.offcanvas.is-open { pointer-events: auto; }
.offcanvas.is-open .offcanvas__panel { transform: translateX(0); }
html[dir="rtl"] .offcanvas {
  right: auto;
  left: 0;
}
html[dir="rtl"] .offcanvas__panel {
  transform: translateX(-104%);
  box-shadow: 18px 0 50px rgba(0, 0, 0, 0.28);
}
html[dir="rtl"] .offcanvas.is-open .offcanvas__panel { transform: translateX(0); }

.offcanvas__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.offcanvas__brand img {
  width: auto;
  height: 2.6rem;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.offcanvas__close {
  display: inline-grid;
  place-items: center;
  width: 2.55rem;
  height: 2.55rem;
  min-width: 2.55rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}
.offcanvas__close svg {
  width: 1.25rem;
  height: 1.25rem;
  display: block;
}
.offcanvas__close:hover,
.offcanvas__close:focus-visible {
  background: rgba(150, 150, 150, 0.35);
  border-color: #969696;
  outline: none;
}

.offcanvas__nav {
  flex: 1;
  overflow-y: auto;
  padding: 0.85rem 0.85rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.offcanvas__link,
.offcanvas__parent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 0.9rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
html[dir="rtl"] .offcanvas__link,
html[dir="rtl"] .offcanvas__parent { text-align: right; }
.offcanvas__link:hover,
.offcanvas__parent:hover {
  background: rgba(150, 150, 150, 0.16);
  color: #fff;
}
.offcanvas__link.is-active {
  background: rgba(150, 150, 150, 0.22);
  color: #fff;
}
.offcanvas__parent svg {
  width: 0.85rem;
  height: 0.85rem;
  opacity: 0.7;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.offcanvas__group.is-open .offcanvas__parent {
  color: #fff;
  background: rgba(150, 150, 150, 0.14);
}
.offcanvas__group.is-open .offcanvas__parent svg { transform: rotate(180deg); }
.offcanvas__sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
  padding-inline-start: 0.55rem;
}
.offcanvas__group.is-open .offcanvas__sub { max-height: 18rem; }
.offcanvas__sub a {
  display: block;
  padding: 0.65rem 0.9rem;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}
.offcanvas__sub a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.offcanvas__foot {
  padding: 1.15rem 1.25rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, transparent, rgba(150, 150, 150, 0.08));
}
.offcanvas__foot .btn {
  width: 100%;
  border-radius: 10px;
}
.offcanvas__meta {
  margin-top: 0.85rem;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.02em;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 700px;
  display: grid;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero.hero--xb {
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
}
.hero__media,
.hero__overlay { position: absolute; inset: 0; }
.hero__media img,
.hero__media .hero__poster,
.hero__media .hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__video {
  z-index: 1;
  opacity: 0;
  transition: opacity 0.7s ease;
}
.hero__video.is-ready { opacity: 1; }
.hero__poster { z-index: 0; }
.hero__overlay {
  background:
    linear-gradient(105deg, rgba(18, 20, 23, 0.82) 0%, rgba(18, 20, 23, 0.55) 48%, rgba(18, 20, 23, 0.35) 100%);
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  padding: 5rem 0 4.5rem;
}
.hero .eyebrow { color: #fff; }
.hero .eyebrow::before { background: var(--red); }
.hero h1 {
  font-size: clamp(2.8rem, 6.5vw, 4.8rem);
  margin-bottom: 1.1rem;
  max-width: 12ch;
}
.hero__text {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.85rem;
  max-width: 36rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* ---------- Intro strip ---------- */
.intro-strip {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}
.intro-strip__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
.intro-strip article {
  padding: 1.35rem 1.1rem;
  border-right: 1px solid var(--line);
  text-align: center;
}
.intro-strip article:last-child { border-right: 0; }
.intro-strip strong {
  display: block;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}
.intro-strip span {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
}

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section--soft { background: var(--soft); }
.section--dark {
  background: var(--charcoal);
  color: #fff;
}
.section--dark .eyebrow { color: #c8c8c8; }
.section--dark .eyebrow::before { background: var(--red); }
.section--dark .sec-head p,
.section--dark p { color: rgba(255, 255, 255, 0.72); }

/* About split */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
.about-grid__media {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 26rem;
  box-shadow: var(--shadow);
}
.about-grid__media img { width: 100%; height: 100%; min-height: 26rem; object-fit: cover; }
.about-grid__copy h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin-bottom: 1rem;
  max-width: 16ch;
}
.about-grid__copy > p { color: var(--muted); margin-bottom: 1.25rem; }
.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}
.about-stats article {
  background: var(--soft);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--green);
}
.about-stats strong {
  display: block;
  font-size: 1.45rem;
  color: var(--green);
  font-weight: 800;
}
.about-stats span {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
}

/* Products */
.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.product-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 26rem;
  color: #fff;
  display: grid;
  align-items: end;
  box-shadow: var(--shadow);
}
.product-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.product-card:hover img { transform: scale(1.05); }
.product-card__body {
  position: relative;
  z-index: 1;
  padding: 1.75rem;
  background: linear-gradient(180deg, transparent 0%, rgba(18, 20, 23, 0.88) 70%);
}
.product-card h3 { font-size: 1.55rem; margin-bottom: 0.5rem; }
.product-card p { color: rgba(255,255,255,0.82); margin-bottom: 1rem; max-width: 34ch; }
.product-card span {
  color: #c8c8c8;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Why cards */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}
.why-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease, border-color 0.3s ease;
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.why-card__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 8px;
  background: var(--green-soft);
  color: var(--green);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  font-weight: 800;
  font-size: 0.85rem;
}
.why-card h3 { font-size: 1.05rem; margin-bottom: 0.45rem; }
.why-card p { color: var(--muted); font-size: 0.92rem; }

/* Factory */
.factory-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.85rem;
  min-height: 34rem;
}
.factory-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  color: #fff;
  min-height: 14rem;
}
.factory-card--hero {
  grid-row: 1 / span 2;
  min-height: 100%;
}
.factory-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.factory-card:hover img { transform: scale(1.04); }
.factory-card span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.1rem 1.15rem;
  background: linear-gradient(180deg, transparent, rgba(18,20,23,0.85));
  font-size: 0.92rem;
  font-weight: 700;
}

/* Process */
.process-track {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.65rem;
}
.process-step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.15rem 0.85rem;
  text-align: center;
  position: relative;
}
.process-step::after {
  content: "→";
  position: absolute;
  right: -0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--green);
  font-weight: 700;
  z-index: 1;
}
.process-step:last-child::after { display: none; }
.process-step strong {
  display: block;
  width: 2rem;
  height: 2rem;
  margin: 0 auto 0.7rem;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 0.78rem;
  line-height: 2rem;
}
.process-step h3 {
  font-size: 0.86rem;
  font-weight: 700;
}

/* ---------- Milestones modern rail ---------- */
.ms-section {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background:
    radial-gradient(ellipse 60% 80% at 0% 0%, rgba(150, 150, 150, 0.08), transparent 55%),
    radial-gradient(ellipse 50% 60% at 100% 100%, rgba(223, 99, 13, 0.06), transparent 50%),
    #fff;
  overflow: hidden;
}
.ms-section__head {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: end;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.ms-section__head h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.85rem);
  max-width: 14ch;
}
.ms-section__head > p {
  color: var(--muted);
  margin: 0;
  max-width: 34rem;
  border-left: 3px solid var(--green);
  padding-left: 1.1rem;
}
.ms-rail { position: relative; }
.ms-rail__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(16.5rem, 18.5rem);
  gap: 1.15rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 1.25rem 0.25rem 1.75rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.ms-rail__track::-webkit-scrollbar { display: none; }
.ms-card {
  position: relative;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem 1.35rem 1.4rem;
  min-height: 15.5rem;
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 14px 36px rgba(18, 20, 23, 0.06);
  transition:
    transform 0.3s var(--ease),
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease,
    color 0.3s ease;
}
.ms-card::before {
  content: "";
  position: absolute;
  left: 1.35rem;
  right: 1.35rem;
  top: 0;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: var(--green);
  transition: background 0.3s ease;
}
/* Hover / active = black panel, white text */
.ms-card:hover:not(.is-active):not(.ms-card--accent),
.ms-card.is-active,
.ms-card--accent {
  transform: translateY(-4px);
  border-color: transparent;
  background: #000;
  color: #fff;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.35);
}
.ms-card:hover:not(.is-active):not(.ms-card--accent)::before,
.ms-card.is-active::before,
.ms-card--accent::before {
  background: var(--red);
}
.ms-card:hover:not(.is-active):not(.ms-card--accent) .ms-card__year,
.ms-card.is-active .ms-card__year,
.ms-card--accent .ms-card__year {
  color: rgba(255, 255, 255, 0.28);
}
.ms-card:hover:not(.is-active):not(.ms-card--accent) time,
.ms-card.is-active time,
.ms-card--accent time {
  color: #fff;
}
.ms-card:hover:not(.is-active):not(.ms-card--accent) h3,
.ms-card.is-active h3,
.ms-card--accent h3 {
  color: #fff;
}
.ms-card:hover:not(.is-active):not(.ms-card--accent) p,
.ms-card.is-active p,
.ms-card--accent p {
  color: rgba(255, 255, 255, 0.88);
}
.ms-card.is-active:hover,
.ms-card--accent:hover {
  transform: translateY(-4px);
  background: #000;
  border-color: transparent;
  color: #fff;
  box-shadow: 0 26px 52px rgba(0, 0, 0, 0.42);
}
.ms-card.is-active:hover::before,
.ms-card--accent:hover::before {
  background: var(--red);
}
.ms-card.is-active:hover .ms-card__year,
.ms-card--accent:hover .ms-card__year {
  color: rgba(255, 255, 255, 0.28);
}
.ms-card.is-active:hover time,
.ms-card--accent:hover time {
  color: #fff;
}
.ms-card.is-active:hover h3,
.ms-card--accent:hover h3 {
  color: #fff;
}
.ms-card.is-active:hover p,
.ms-card--accent:hover p {
  color: rgba(255, 255, 255, 0.88);
}
.ms-card__year {
  display: block;
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(150, 150, 150, 0.18);
  margin-bottom: 0.85rem;
  transition: color 0.3s ease;
}
.ms-card time {
  display: block;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
  transition: color 0.3s ease;
}
.ms-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}
.ms-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
  transition: color 0.3s ease;
}
.ms-rail__controls {
  display: flex;
  justify-content: flex-end;
  gap: 0.65rem;
  margin-top: 0.25rem;
}
.ms-rail__btn {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 0;
  background: var(--green);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(150, 150, 150, 0.28);
  transition: background 0.25s ease, transform 0.25s var(--ease);
}
.ms-rail__btn:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
}

@media (max-width: 1100px) {
  .ms-section__head { grid-template-columns: 1fr; }
}

/* Journey timeline (legacy) */
.journey {
  display: grid;
  gap: 0;
  position: relative;
  padding-left: 1.5rem;
}
.journey::before {
  content: "";
  position: absolute;
  left: 0.35rem;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 2px;
  background: var(--green);
}
.journey article {
  position: relative;
  padding: 0 0 1.75rem 1.5rem;
}
.journey article::before {
  content: "";
  position: absolute;
  left: -1.28rem;
  top: 0.35rem;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--green);
}
.journey article.is-accent::before {
  background: var(--red);
  border-color: var(--red);
}
.journey time {
  display: block;
  color: var(--green);
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}
.journey article.is-accent time { color: var(--red); }
.journey h3 { font-size: 1.05rem; margin-bottom: 0.25rem; }
.journey p { color: var(--muted); font-size: 0.95rem; }

/* Quality certs */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}
.cert-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.cert-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.cert-card p { font-size: 0.92rem; }

/* Industries */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.industry-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 20rem;
  color: #fff;
}
.industry-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.industry-card:hover img { transform: scale(1.05); }
.industry-card__body {
  position: relative;
  z-index: 1;
  height: 100%;
  display: grid;
  align-content: end;
  padding: 1.5rem;
  background: linear-gradient(180deg, transparent 20%, rgba(18,20,23,0.88) 85%);
}
.industry-card h3 { font-size: 1.35rem; margin-bottom: 0.4rem; }
.industry-card p { color: rgba(255,255,255,0.8); font-size: 0.92rem; }

/* Global */
.global-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.global-panel__map {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--soft);
  min-height: 18rem;
}
.global-panel__map img { width: 100%; height: 100%; min-height: 18rem; object-fit: cover; opacity: 0.9; }
.global-list { display: grid; gap: 0.85rem; margin-top: 1.25rem; }
.global-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: var(--ink-soft);
}
.global-list li::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.55rem;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

/* Stats */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.stat {
  text-align: center;
  padding: 1.5rem 1rem;
  border-top: 3px solid var(--green);
}
.stat strong {
  display: block;
  font-size: clamp(2rem, 3.5vw, 2.85rem);
  font-weight: 800;
  color: var(--green);
  line-height: 1;
}
.stat span {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.stat p {
  margin-top: 0.55rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* News */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.news-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}
.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.news-card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.news-card:hover .news-card__media img { transform: scale(1.04); }
.news-card__body { padding: 1.2rem 1.25rem 1.4rem; }
.news-card__meta {
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
}
.news-card h3 { font-size: 1.1rem; margin-bottom: 0.75rem; }
.news-card span {
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 700;
}

/* Investors */
.invest-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.invest-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  transition: border-color 0.25s ease, transform 0.25s var(--ease);
}
.invest-card:hover {
  border-color: var(--green);
  transform: translateY(-3px);
}
.invest-card h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.invest-card p { color: var(--muted); font-size: 0.9rem; margin-bottom: 0.9rem; }
.invest-card span {
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 700;
}

/* ---------- Collage + float keyframe ---------- */
.xb-collage-sec__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
.xb-collage-sec__lead {
  color: var(--muted);
  margin: 0.85rem 0 1.25rem;
  max-width: 36rem;
}
.xb-collage-sec__list {
  margin: 0 0 1.75rem;
  display: grid;
  gap: 0.7rem;
}
.xb-collage-sec__list li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.95rem;
}
.xb-collage-sec__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--green);
}
.xb-collage {
  position: relative;
  min-height: 28rem;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  grid-template-rows: 1.1fr 0.9fr;
  gap: 0.85rem;
}
.xb-collage__item {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(18, 20, 23, 0.12);
}
.xb-collage__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.xb-collage__item:hover img { transform: scale(1.06); }
.xb-collage__item--a { grid-row: 1 / span 2; min-height: 28rem; }
.xb-collage__item--b {
  position: absolute;
  right: 12%;
  top: 18%;
  width: min(42%, 210px);
  z-index: 3;
  background: #fff;
  padding: 0.55rem;
  border-radius: 16px;
  box-shadow: 0 22px 50px rgba(150, 150, 150, 0.28);
  border: 2px solid rgba(150, 150, 150, 0.2);
}
.xb-collage__item--b img {
  height: auto;
  object-fit: contain;
  background: var(--soft);
  border-radius: 10px;
}
.xb-collage__float {
  animation: collageFloat 4.5s ease-in-out infinite;
}
@keyframes collageFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}
@media (prefers-reduced-motion: reduce) {
  .xb-collage__float { animation: none; }
}
.xb-collage__item--c { min-height: 11rem; }
.xb-collage__item--d { min-height: 11rem; }
.xb-collage__badge {
  position: absolute;
  left: 1rem;
  bottom: 1.25rem;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(18, 20, 23, 0.88);
  color: #fff;
  border-radius: 999px;
  padding: 0.45rem 0.9rem 0.45rem 0.45rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  border: 1px solid rgba(150, 150, 150, 0.45);
}
.xb-collage__badge img {
  width: 1.85rem;
  height: 1.85rem;
  object-fit: contain;
  background: #fff;
  border-radius: 50%;
  padding: 0.15rem;
}

/* ---------- News carousel ---------- */
.news-carousel { position: relative; direction: ltr; }
.news-carousel__viewport {
  overflow: hidden;
  border-radius: 14px;
}
.news-carousel__track {
  display: flex;
  gap: 1.15rem;
  transition: transform 0.55s var(--ease);
  will-change: transform;
}
.news-slide {
  flex: 0 0 calc((100% - 2.3rem) / 3);
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease;
}
.news-slide:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.news-slide--dark {
  background: var(--charcoal);
  border-color: transparent;
  color: #fff;
}
.news-slide__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.news-slide__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.news-slide:hover .news-slide__media img { transform: scale(1.08); }
.news-slide__body {
  padding: 1.25rem 1.2rem 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.news-slide__meta {
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
}
.news-slide--dark .news-slide__meta { color: #ffb07a; }
.news-slide h3 {
  font-size: 1.15rem;
  margin-bottom: auto;
  max-width: 18ch;
}
.news-slide span {
  margin-top: 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--green);
}
.news-slide--dark span { color: #c8c8c8; }
.news-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}
.news-carousel__btn {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 0;
  background: var(--green);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(150, 150, 150, 0.28);
  transition: background 0.25s ease, transform 0.25s var(--ease);
}
.news-carousel__btn:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
}
.news-carousel__dots {
  display: flex;
  gap: 0.45rem;
}
.news-carousel__dots button {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(18, 20, 23, 0.2);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}
.news-carousel__dots button.is-on {
  width: 1.4rem;
  border-radius: 999px;
  background: var(--green);
}

@media (max-width: 1100px) {
  .xb-collage-sec__grid { grid-template-columns: 1fr; }
  .news-slide { flex-basis: calc((100% - 1.15rem) / 2); }
}
@media (max-width: 720px) {
  .xb-collage {
    min-height: 22rem;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
  }
  .xb-collage__item--a {
    grid-row: auto;
    grid-column: 1 / -1;
    min-height: 14rem;
  }
  .xb-collage__item--b {
    position: relative;
    right: auto;
    top: auto;
    width: 70%;
    margin: -2.5rem auto 0;
    grid-column: 1 / -1;
  }
  .news-slide { flex-basis: 100%; }
}

/* ---------- Careers fixed bg ---------- */
.careers-cta {
  position: relative;
  min-height: 26rem;
  display: grid;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.careers-cta--fixed { isolation: isolate; }
.careers-cta__fixed {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(18, 20, 23, 0.78), rgba(150, 150, 150, 0.55)),
    url("https://www.aishasteel.com/wp-content/uploads/2022/12/Dealers-Conference-2021-22.jpg") center / cover no-repeat fixed;
  z-index: 0;
}
.careers-cta__media,
.careers-cta__overlay { position: absolute; inset: 0; z-index: 1; }
.careers-cta__media img { width: 100%; height: 100%; object-fit: cover; }
.careers-cta__overlay { background: rgba(18, 20, 23, 0.35); }
.careers-cta__content { position: relative; z-index: 2; max-width: 36rem; padding: 3.5rem 0; }
.careers-cta h2 { font-size: clamp(1.9rem, 3.5vw, 2.7rem); margin-bottom: 0.85rem; }
.careers-cta p { color: rgba(255,255,255,0.85); margin-bottom: 1.4rem; }
.careers-cta__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

@supports not (background-attachment: fixed) {
  .careers-cta__fixed { background-attachment: scroll; }
}

/* Contact — split shell redesign */
.contact-sec {
  position: relative;
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  background:
    linear-gradient(180deg, #eceeef 0%, #f7f8f9 48%, #eceeef 100%);
  overflow: hidden;
}
.contact-sec::before {
  content: "";
  position: absolute;
  inset: auto -10% -30% 40%;
  height: 70%;
  background: radial-gradient(circle, rgba(222, 98, 12, 0.1), transparent 65%);
  pointer-events: none;
}
.contact-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(16rem, 0.92fr) minmax(18rem, 1.08fr);
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(18, 20, 23, 0.06);
  box-shadow:
    0 30px 70px rgba(18, 20, 23, 0.12),
    0 2px 0 rgba(255, 255, 255, 0.7) inset;
}

.contact-aside {
  position: relative;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  color: #fff;
  background:
    linear-gradient(160deg, #141618 0%, #1c1f22 48%, #2a2e32 100%);
  isolation: isolate;
}
.contact-aside::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(135deg, rgba(222, 98, 12, 0.22), transparent 42%),
    radial-gradient(ellipse 80% 60% at 100% 100%, rgba(150, 150, 150, 0.22), transparent 55%);
  pointer-events: none;
}
.contact-aside > * { position: relative; z-index: 1; }
.contact-aside__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.85rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #de620c;
}
.contact-aside__eyebrow::before {
  content: "";
  width: 1.35rem;
  height: 2px;
  background: #de620c;
}
.contact-aside h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.85rem, 3.4vw, 2.65rem);
  letter-spacing: -0.03em;
  color: #fff;
}
.contact-aside__lead {
  margin: 0 0 1.75rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
  line-height: 1.65;
  max-width: 32rem;
}
.contact-aside__company {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.contact-aside__company h3 {
  margin: 0 0 1.1rem;
  font-size: 1.05rem;
  color: #fff;
}
.contact-aside__list {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.contact-aside__list li {
  display: grid;
  gap: 0.25rem;
}
.contact-aside__list span {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.contact-aside__list strong {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.5;
}
.contact-aside__list a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.contact-aside__list a:hover { color: #de620c; }

.contact-panel {
  display: grid;
  gap: 1.15rem;
  align-content: start;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  background: #fff;
}
.contact-panel__head h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  letter-spacing: -0.02em;
  color: var(--ink);
}
.contact-panel__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.95rem 1rem;
}
.contact-panel__full { grid-column: 1 / -1; }
.contact-panel label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-soft);
}
.contact-panel input,
.contact-panel textarea {
  width: 100%;
  border: 1px solid rgba(18, 20, 23, 0.1);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  font: inherit;
  background: #f7f8f9;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.contact-panel input:hover,
.contact-panel textarea:hover {
  border-color: rgba(222, 98, 12, 0.35);
  background: #fff;
}
.contact-panel input:focus,
.contact-panel textarea:focus {
  outline: none;
  border-color: #de620c;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(222, 98, 12, 0.16);
}
.contact-panel textarea {
  min-height: 8.5rem;
  resize: vertical;
}
.contact-panel .btn {
  justify-self: start;
  min-width: 11rem;
}

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

/* Footer */
.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.75);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2rem;
  padding: clamp(3rem, 6vw, 4.5rem) 0 2.5rem;
}
.footer__logo { height: 4.5rem; width: auto; margin-bottom: 1rem; display: block; }
.footer__grid h4 {
  color: #fff;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer__grid a {
  display: block;
  margin-bottom: 0.5rem;
  color: rgba(255,255,255,0.72);
}
.footer__grid a:hover { color: #fff; }
.footer__social { display: flex; gap: 0.75rem; margin-top: 1.1rem; }
.footer__social a {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  display: grid;
  place-items: center;
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
}
.footer__badges {
  padding: 0 0 1.75rem;
  background: transparent;
}
.footer__badges-group {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem 1.25rem;
  width: max-content;
  max-width: 100%;
}
.footer__badge {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  margin: 0;
  background: transparent !important;
  line-height: 0;
}
.footer__badge img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  background: transparent !important;
}
.footer__badge--secp img {
  width: min(100%, 26rem);
  height: auto;
}
.footer__badge--jama img {
  width: auto;
  height: 3.1rem;
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.2));
}
@media (max-width: 720px) {
  .footer__badges-group {
    width: 100%;
    gap: 0.85rem;
  }
  .footer__badge--secp img {
    width: min(100%, 22rem);
  }
  .footer__badge--jama img {
    height: 2.6rem;
  }
}
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.1rem 0;
  font-size: 0.88rem;
}
.footer__bottom .wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Journey split (legacy) */
.journey-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

@media (max-width: 1100px) {
  .journey-split { grid-template-columns: 1fr; }
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 40px, 0);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
.js-ready .reveal.is-visible,
.motion-on .reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal--left {
  transform: translate3d(-40px, 0, 0);
}
.reveal--right {
  transform: translate3d(40px, 0, 0);
}
.reveal--scale {
  transform: translate3d(0, 28px, 0) scale(0.96);
}
.js-ready .reveal--left.is-visible,
.js-ready .reveal--right.is-visible,
.js-ready .reveal--scale.is-visible,
.motion-on .reveal--left.is-visible,
.motion-on .reveal--right.is-visible,
.motion-on .reveal--scale.is-visible {
  transform: none;
}

html.lenis,
html.lenis body {
  height: auto;
}
html:not(.js-ready) .reveal {
  opacity: 1;
  transform: none;
}

/* ---------- Global Presence ---------- */
.presence-sec {
  position: relative;
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.presence-sec__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.presence-sec__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  filter: grayscale(0.25) contrast(1.05);
}
.presence-sec__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 70% 80% at 50% 40%, rgba(150, 150, 150, 0.35), transparent 70%),
    linear-gradient(160deg, rgba(8, 14, 12, 0.92) 0%, rgba(92, 92, 92, 0.82) 48%, rgba(8, 12, 14, 0.94) 100%);
}
.presence-sec__inner {
  position: relative;
  z-index: 2;
}
.presence-sec__head {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
}
.presence-sec__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}
.presence-sec__kicker span {
  width: 1.5rem;
  height: 2px;
  background: var(--red);
}
.presence-sec__head h2 {
  font-size: clamp(2.1rem, 4.2vw, 3.35rem);
  letter-spacing: -0.03em;
  max-width: 14ch;
  margin-inline: auto;
  line-height: 1.05;
}
.presence-sec__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.presence-sec__grid li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 11.5rem;
  padding: 1.35rem 1.35rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  transition: transform 0.35s var(--ease), border-color 0.35s ease, background 0.35s ease;
}
.presence-sec__grid li:hover {
  transform: translateY(-4px);
  border-color: rgba(223, 99, 13, 0.45);
  background: rgba(255, 255, 255, 0.08);
}
.presence-sec__idx {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: auto;
}
.presence-sec__grid strong {
  display: flex;
  align-items: flex-start;
  gap: 0.05em;
  font-size: clamp(2.6rem, 5vw, 3.85rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.045em;
  margin: 1.1rem 0 0.75rem;
  color: #fff;
}
.presence-sec__grid strong em {
  font-style: normal;
  font-size: 0.4em;
  margin-top: 0.18em;
  color: var(--red);
  font-weight: 800;
}
.presence-sec__grid > li > span:last-child {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  max-width: 12ch;
  line-height: 1.35;
}
.presence-sec__grid li::after {
  content: "";
  position: absolute;
  left: 1.35rem;
  right: 1.35rem;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(90deg, var(--green), var(--red));
  opacity: 0;
  transform: scaleX(0.4);
  transform-origin: left;
  transition: opacity 0.35s ease, transform 0.35s var(--ease);
}
.presence-sec__grid li:hover::after {
  opacity: 1;
  transform: scaleX(1);
}
@media (max-width: 900px) {
  .presence-sec__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .presence-sec__grid { grid-template-columns: 1fr; }
  .presence-sec__grid li { min-height: 0; }
}

/* ---------- Partners marquee ---------- */
.partners-sec {
  position: relative;
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  background: #f8f9f8;
  border-block: 1px solid rgba(18, 20, 23, 0.05);
  overflow: hidden;
}
.partners-sec__head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto clamp(2rem, 4vw, 2.85rem);
}
.partners-sec__head h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.65rem);
  letter-spacing: -0.025em;
  font-weight: 800;
}
.partners-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  direction: ltr;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.partners-marquee__fade {
  display: none;
}
.partners-marquee__track {
  display: flex;
  width: max-content;
  gap: 1rem;
  animation: partners-marquee 38s linear infinite;
  will-change: transform;
}
.partners-marquee:hover .partners-marquee__track {
  animation-play-state: paused;
}
.partners-marquee__group {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0;
  padding: 0.35rem 0;
  list-style: none;
  flex-shrink: 0;
}
.partners-marquee__item {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 11.5rem;
  height: 6.5rem;
  padding: 1rem 1.25rem;
  background: #fff;
  border: 1px solid rgba(18, 20, 23, 0.08);
  border-radius: 12px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s var(--ease);
}
.partners-marquee__item img {
  max-width: 100%;
  max-height: 3.75rem;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.55;
  transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s var(--ease);
}
.partners-marquee__item:hover {
  border-color: rgba(150, 150, 150, 0.55);
  box-shadow: 0 12px 28px rgba(150, 150, 150, 0.14);
  transform: translateY(-2px);
}
.partners-marquee__item:hover img {
  filter: none;
  opacity: 1;
  transform: scale(1.04);
}
@keyframes partners-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
html[dir="rtl"] .partners-marquee__track {
  animation-name: partners-marquee-rtl;
}
@keyframes partners-marquee-rtl {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}
@media (max-width: 720px) {
  .partners-marquee__item {
    width: 9.5rem;
    height: 5.75rem;
    padding: 0.85rem 1rem;
  }
  .partners-marquee__track { animation-duration: 28s; }
}
@media (prefers-reduced-motion: reduce) {
  .partners-marquee__track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    max-width: 64rem;
    margin-inline: auto;
    justify-content: center;
  }
  .partners-marquee__group[aria-hidden="true"] { display: none; }
}

/* Responsive */
@media (max-width: 1100px) {
  .header__bar { grid-template-columns: auto auto; }
  .brand__meta { display: none; }
  .header__contact span { display: none; }
  .nav { display: none; }
  .intro-strip__grid { grid-template-columns: 1fr 1fr; }
  .intro-strip article:nth-child(2n) { border-right: 0; }
  .about-grid,
  .products-grid,
  .global-panel { grid-template-columns: 1fr; }
  .why-grid,
  .news-grid,
  .industries-grid,
  .cert-grid { grid-template-columns: 1fr 1fr; }
  .factory-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    min-height: 0;
  }
  .factory-card--hero { grid-row: auto; grid-column: 1 / -1; min-height: 18rem; }
  .process-track { grid-template-columns: 1fr 1fr; }
  .process-step::after { display: none; }
  .stats-row,
  .invest-grid,
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .hero,
  .hero--xb {
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    height: 100vh;
    height: 100svh;
    height: 100dvh;
  }
  .header__btn { display: none; }
  .header__contact { display: none; }
  .intro-strip__grid,
  .why-grid,
  .news-grid,
  .industries-grid,
  .cert-grid,
  .stats-row,
  .invest-grid,
  .footer__grid,
  .factory-grid,
  .process-track,
  .about-stats { grid-template-columns: 1fr; }
  .intro-strip article { border-right: 0; border-bottom: 1px solid var(--line); }
}








/* =====================================================
   FINAL HEADER FIX - CENTER LOGO
   Paste this at the VERY END of brand.css
===================================================== */

.site-header .header__bar {
    position: relative !important;

    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    min-height: 82px !important;
    padding: 0 28px !important;
}


/* =====================================================
   LOGO - TRUE SCREEN CENTER
===================================================== */

.site-header .brand--center {
    position: absolute !important;

    left:47% !important;
    top: 50% !important;

    transform: translate(-50%, -50%) !important;

    width: 100px !important;
    height: 82px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;
    padding: 0 !important;

    z-index: 20 !important;
}

.site-header .brand--center img {
    display: block !important;

    width: 72px !important;
    height: 72px !important;

    max-width: 72px !important;
    max-height: 72px !important;

    object-fit: contain !important;

    margin: 0 !important;
}


/* =====================================================
   LEFT NAV
===================================================== */

.site-header .nav--left {
    position: relative !important;

    display: block !important;

    margin: 0 !important;
    padding: 0 !important;

    z-index: 10 !important;
}

.site-header .nav--left .nav__list {
    display: flex !important;
    align-items: center !important;

    gap: 27px !important;

    margin: 0 !important;
    padding: 0 !important;
}


/* =====================================================
   RIGHT SIDE
===================================================== */

.site-header .header__right {
    position: relative !important;

    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;

    gap: 16px !important;

    margin: 0 !important;
    padding: 0 !important;

    z-index: 10 !important;
}

.site-header .nav--right .nav__list {
    display: flex !important;
    align-items: center !important;

    gap: 25px !important;

    margin: 0 !important;
    padding: 0 !important;
}


/* =====================================================
   NAV LINKS
===================================================== */

.site-header .nav__link {
    white-space: nowrap !important;

    font-size: 14px !important;
}


/* =====================================================
   LOGO SPACE
   Prevent nav from touching centered logo
===================================================== */

.site-header .nav--left {
    padding-right: 80px !important;
}

.site-header .header__right {
    padding-left: 80px !important;
}


/* =====================================================
   CONTACT BUTTON
===================================================== */

.site-header .header__btn {
    white-space: nowrap !important;
}


/* =====================================================
   MENU BUTTON
===================================================== */

.site-header .nav-toggle {
    flex-shrink: 0 !important;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1200px) {

    .site-header .header__bar {
        padding: 0 20px !important;
    }

    .site-header .nav--left {
        padding-right: 55px !important;
    }

    .site-header .header__right {
        padding-left: 55px !important;
    }

    .site-header .nav--left .nav__list,
    .site-header .nav--right .nav__list {
        gap: 15px !important;
    }

    .site-header .nav__link {
        font-size: 13px !important;
    }

    .site-header .brand--center img {
        width: 65px !important;
        height: 65px !important;
    }
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 900px) {

    .site-header .header__bar {
        min-height: 70px !important;
        padding: 0 14px !important;
    }

    .site-header .nav--left,
    .site-header .nav--right {
        display: none !important;
    }

    .site-header .header__right {
        width: 100% !important;
        padding-left: 0 !important;

        justify-content: flex-end !important;
    }

    .site-header .brand--center {
        width: 75px !important;
        height: 70px !important;
    }

    .site-header .brand--center img {
        width: 58px !important;
        height: 58px !important;
    }

    .site-header .header__btn,
    .site-header .lang-switch {
        display: none !important;
    }
    



