/* ==========================================================================
   WORLD STEEL STRUCTURE — PRODUCTION DESIGN SYSTEM & VISUAL MODULE BUILDER CSS
   Shared by Standalone HTML Template & WordPress Theme (steel-solutions)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800;900&family=Barlow:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --red: #C41D30;
  --red-d: #9E1626;
  --gold: #CC992B;
  --gold-accent: #C89A3C;
  --gold-l: #F1DFB3;
  --navy: #00244A;
  --navy-deep: #082B4C;
  --navy-2: #0A3463;
  --navy-3: #12457C;
  --steel-blue: #235B83;
  --ink: #15223A;
  --dark-text: #202A35;
  --steel: #5B6A80;
  --line: #E1E6ED;
  --bg: #F4F6F9;
  --light-gray: #F3F5F7;
  --surface: #FFFFFF;
  --on-dark: #FFFFFF;
  --success: #0D9488;
  --head: 'Barlow Condensed', 'Arial Narrow', 'Roboto Condensed', sans-serif;
  --body: 'Barlow', 'Segoe UI', Roboto, Arial, sans-serif;
  --fs-base: 16px;
  --lh: 1.6;
  --fs-hero: clamp(36px, 5vw, 62px);
  --fs-page: clamp(32px, 4vw, 52px);
  --fs-section: clamp(26px, 3vw, 36px);
  --fs-h2: clamp(24px, 2.8vw, 34px);
  --fs-card: 22px;
  --fs-lead: 19px;
  --radius: 4px;
  --shadow: 0 1px 3px rgba(0, 36, 74, 0.06), 0 8px 24px rgba(0, 36, 74, 0.08);
  --shadow-lg: 0 14px 40px rgba(0, 36, 74, 0.16);
  --wrap: 1280px;
  --header-h: 76px;
  --gutter: 24px;
  --section-y: 68px;
}

@media (max-width: 768px) {
  :root {
    --fs-base: 15px;
    --header-h: 64px;
    --gutter: 16px;
    --section-y: 44px;
  }
}

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

html {
  font-size: var(--fs-base);
  scroll-behavior: smooth;
}

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--surface);
  line-height: var(--lh);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-top: 0;
}

body.builder-active {
  padding-top: 0;
  padding-left: 320px;
  transition: padding 0.25s ease;
}

@media (max-width: 1024px) {
  body.builder-active {
    padding-left: 0;
  }
}

img, svg, video, canvas {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

.skip {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--red);
  color: #fff;
  padding: 8px 16px;
  z-index: 9999;
  border-radius: var(--radius);
}
.skip:focus {
  top: 12px;
}

/* Containers */
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.wrap--full {
  max-width: 1440px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--head);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 11px 22px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn--lg {
  padding: 14px 28px;
  font-size: 16px;
}
.btn--sm {
  padding: 7px 14px;
  font-size: 13px;
}
.btn--red {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.btn--red:hover {
  background: var(--red-d);
  border-color: var(--red-d);
  transform: translateY(-2px);
}
.btn--navy {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.btn--navy:hover {
  background: var(--navy-3);
  border-color: var(--navy-3);
  transform: translateY(-2px);
}
.btn--gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn--gold:hover {
  background: #dfb044;
  transform: translateY(-2px);
}
.btn--ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}
.btn--ghost-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--ghost-dark:hover {
  background: var(--navy);
  color: #fff;
}

/* Topbar — Full-Width Edge-to-Edge */
.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  z-index: 1005;
  width: 100%;
}
.topbar .wrap,
.topbar .wrap--full,
.topbar__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  gap: 16px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 18px !important;
}
.topbar__tag {
  font-family: var(--head);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-l);
  font-weight: 600;
}
.topbar__contact {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.topbar__contact a:hover {
  color: var(--gold-l);
}
.topbar__portal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 3px;
  font-weight: 600;
}
.topbar__portal:hover {
  background: var(--gold);
  color: var(--navy) !important;
  border-color: var(--gold);
}
.topbar__portal svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

/* Language Switcher — Hover Bridge + Smooth Transition (Never disappears on mouse move) */
.langsw {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-bottom: 8px;
  margin-bottom: -8px;
  z-index: 3000;
}
.langsw__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-weight: 700;
  font-size: 12.5px;
  padding: 4px 10px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  cursor: pointer;
  transition: all 0.2s ease;
}
.langsw:hover .langsw__btn,
.langsw.is-open .langsw__btn {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.langsw__btn svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.langsw__list {
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 2px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(0, 24, 52, 0.24);
  min-width: 185px;
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 3005;
}
/* Invisible hover bridge so moving the cursor from button to list never loses hover */
.langsw__list::before {
  content: '';
  position: absolute;
  top: -16px;
  left: -16px;
  right: -16px;
  height: 18px;
  background: transparent;
}
.langsw.is-open .langsw__list,
.langsw:hover .langsw__list,
.langsw:focus-within .langsw__list {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.langsw__list li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  font-size: 13.5px;
  color: var(--ink);
  transition: all 0.15s ease;
}
.langsw__list li a:hover,
.langsw__list li a[aria-current="true"] {
  background: #F1F5F9;
  color: var(--red);
  font-weight: 700;
  padding-left: 20px;
}
.lang-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 20px;
  background: var(--bg);
  border-radius: 3px;
  font-family: var(--head);
  font-weight: 800;
  font-size: 12px;
  color: var(--navy);
}

/* Header & Mega Menu — Full-Width No-Padding Executive Layout (worldsteelstructure.com) */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 18px rgba(0, 36, 74, 0.06);
  width: 100%;
}
body.builder-active .header,
body.has-wsc-builder-bar .header {
  top: var(--wsc-total-top, 52px);
}
body.admin-bar .header {
  top: var(--wsc-total-top, 84px);
}
.header .wrap,
.header .wrap--full,
.header__in {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  height: var(--header-h);
  width: 100%;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 16px !important;
  gap: 12px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
  padding: 4px 0;
}
.brand__mark {
  width: 42px;
  height: 42px;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-family: var(--head);
  font-weight: 900;
  font-size: 21px;
  border: 2px solid var(--gold);
  overflow: hidden;
  flex-shrink: 0;
}
.brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand__text {
  display: flex;
  flex-direction: column;
}
.brand__name {
  font-family: var(--head);
  font-weight: 900;
  font-size: 24px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--navy);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.brand__tag {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--steel);
  margin-top: 2px;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  flex: 1;
  gap: 8px;
  min-width: 0;
}
.nav__list {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex: 1;
  gap: 2px;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.nav__item {
  position: static;
  display: inline-flex;
  align-items: stretch;
  list-style: none !important;
}
.nav__item::before,
.nav__item::marker {
  display: none !important;
  content: none !important;
}
.nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 11px;
  height: 100%;
  font-family: var(--head);
  font-weight: 700;
  font-size: 15.5px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--ink);
  white-space: nowrap;
  position: relative;
  border-radius: 0;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav__link:hover,
.nav__link.is-active,
.nav__item:hover > .nav__link,
.nav__item.is-hover-open > .nav__link,
.nav__item.is-open > .nav__link {
  color: var(--red);
  background: linear-gradient(180deg, rgba(196, 29, 48, 0.02) 0%, rgba(196, 29, 48, 0.08) 100%);
}
.nav__link:hover::after,
.nav__link.is-active::after,
.nav__item:hover > .nav__link::after,
.nav__item.is-hover-open > .nav__link::after,
.nav__item.is-open > .nav__link::after {
  transform: scaleX(1);
}
/* Crisp Inline SVG Chevron Arrow inside .nav__link */
.nav__chevron {
  width: 10px;
  height: 7px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
  color: var(--steel);
  transition: transform 0.22s ease, color 0.22s ease;
}
.nav__item:hover > .nav__link .nav__chevron,
.nav__item.is-hover-open > .nav__link .nav__chevron,
.nav__item.is-open > .nav__link .nav__chevron,
.nav__link:hover .nav__chevron {
  transform: rotate(180deg);
  color: var(--red);
}
/* Hide mobile-only expand button on desktop so it never wraps or drops */
.nav__expand {
  display: none !important;
}
.nav__actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.nav__cta {
  padding: 9px 16px;
  font-size: 14.5px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(196, 29, 48, 0.25);
}

/* Custom Icons attached to Menu Items & Subpage Elements via Builder */
.wsc-custom-icon {
  width: 17px;
  height: 17px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* Mega Menu Dropdown — Executive B2B Layout & Hover Animations */
.sub {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--surface);
  border-top: 3px solid var(--red);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 54px rgba(0, 24, 52, 0.22);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.22s cubic-bezier(0.4, 0, 0.2, 1), transform 0.22s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.22s;
  z-index: 1001;
  max-height: 84vh;
  overflow-y: auto;
}
/* Invisible hover bridge above Mega Menu */
.sub::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
  background: transparent;
}
.nav__item:hover > .sub,
.nav__item.is-hover-open > .sub,
.nav__item:focus-within > .sub,
.nav__item.is-open > .sub {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.mega {
  max-width: 1440px;
  margin: 0 auto;
  padding: 28px 28px 22px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 28px;
}
.mega__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(195px, 1fr));
  gap: 24px;
}
.mega__h {
  font-family: var(--head);
  font-weight: 800;
  font-size: 15.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--navy);
  padding-bottom: 8px;
  padding-left: 10px;
  margin-bottom: 12px;
  border-bottom: 2px solid var(--line);
  border-left: 3px solid var(--red);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mega__h em {
  font-style: normal;
  font-size: 11.5px;
  background: var(--navy);
  color: var(--gold-l);
  padding: 1px 7px;
  border-radius: 10px;
}
.mega__i {
  font-size: 12px;
  color: var(--steel);
  margin-top: -6px;
  margin-bottom: 10px;
}
.mega__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  list-style: none !important;
}
.mega__list li a {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 500;
  padding: 7px 10px;
  border-radius: 4px;
  color: var(--ink);
  transition: all 0.18s ease;
}
.mega__list li a:hover {
  background: #F1F5F9;
  color: var(--red);
  transform: translateX(4px);
  box-shadow: inset 3px 0 0 var(--red);
}
.mega__list li a em {
  margin-left: auto;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  background: var(--bg);
  color: var(--navy);
  padding: 1px 7px;
  border-radius: 10px;
  border: 1px solid var(--line);
}
.mega__list li a:hover em {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.sico {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--navy-3);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  transition: stroke 0.18s ease, transform 0.18s ease;
}
.mega__list li a:hover .sico {
  stroke: var(--red);
  transform: scale(1.12);
}
.cert-pill-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #DCFCE7;
  color: #15803D;
  font-size: 11px;
  font-weight: 900;
  flex-shrink: 0;
}
.mega__side {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: linear-gradient(180deg, #F8FAFC 0%, #F1F5F9 100%);
  padding: 16px;
  border-radius: 6px;
  border: 1px solid var(--line);
}
.mega__feat {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mega__img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 4px;
  background: var(--navy);
}
.mega__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.mega__feat:hover .mega__img img {
  transform: scale(1.06);
}
.mega__eyebrow {
  font-family: var(--head);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red);
  font-weight: 700;
}
.mega__fbody {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mega__fbody strong {
  font-family: var(--head);
  font-size: 18.5px;
  color: var(--navy);
  transition: color 0.18s ease;
}
.mega__feat:hover .mega__fbody strong {
  color: var(--red);
}
.mega__ftext {
  font-size: 13px;
  color: var(--steel);
  line-height: 1.45;
}
.mega__more {
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: transform 0.18s ease;
}
.mega__feat:hover .mega__more {
  transform: translateX(4px);
}
.mega__foot {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}
.mega__foot a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.18s ease, transform 0.18s ease;
}
.mega__foot a:hover {
  color: var(--red);
  transform: translateX(3px);
}

.navtoggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 8px;
}
.navtoggle span {
  width: 24px;
  height: 2.5px;
  background: var(--navy);
  display: block;
}

@media (max-width: 1180px) {
  .header__in {
    height: 64px !important;
    align-items: center !important;
    padding: 0 14px !important;
  }
  .navtoggle {
    display: inline-flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--bg);
    gap: 5px;
    padding: 0;
    flex-shrink: 0;
  }
  .navtoggle span {
    width: 22px;
    height: 2.5px;
    background: var(--navy);
    transition: transform 0.22s ease, opacity 0.22s ease;
  }
  .navtoggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
  }
  .navtoggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .navtoggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
  }
  .nav__expand {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 4px;
    font-size: 14px;
    color: var(--navy);
    margin: 4px 0;
    transition: transform 0.2s ease, background-color 0.2s ease;
  }
  .nav__item.is-open > .nav__expand {
    transform: rotate(180deg);
    background: var(--red);
    color: #fff;
    border-color: var(--red);
  }
  .nav__chevron {
    display: none !important;
  }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100dvh - 64px - var(--wsc-total-top, 0px));
    background: var(--surface);
    border-top: 2px solid var(--red);
    border-bottom: 2px solid var(--navy);
    box-shadow: 0 24px 48px rgba(0, 24, 52, 0.28);
    flex-direction: column;
    align-items: stretch;
    padding: 10px 16px 28px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: none;
    z-index: 2500;
  }
  .nav.is-open {
    display: flex;
  }
  .nav__list {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0;
  }
  .nav__item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border-bottom: 1px solid var(--line);
  }
  .nav__link {
    flex: 1 1 auto;
    justify-content: flex-start;
    padding: 13px 6px;
    height: auto;
    min-height: 48px;
    font-size: 16px;
  }
  .nav__link::after {
    display: none;
  }
  .sub {
    position: static;
    width: 100%;
    flex: 0 0 100%;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    border-top: 1px solid var(--line);
    border-bottom: none;
    background: #F8FAFC;
    display: none;
    max-height: none;
    padding: 14px;
    margin-bottom: 10px;
    border-radius: 6px;
  }
  .sub::before {
    display: none;
  }
  .nav__item.is-open > .sub {
    display: block;
  }
  .mega {
    grid-template-columns: 1fr;
    padding: 4px 0;
    gap: 18px;
  }
  .mega__cols {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .nav__actions {
    width: 100%;
    padding-top: 14px;
    display: flex;
  }
  .nav__cta {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
    font-size: 16px;
  }
}

/* ==========================================================================
   HOMEPAGE & MODULAR SECTIONS
   ========================================================================== */

/* Hero Carousel */
.hp-hero {
  position: relative;
  min-height: 620px;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hp-hero__media {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hp-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease, transform 6s ease;
  transform: scale(1.04);
}
.hp-hero__slide.is-on {
  opacity: 1;
  transform: scale(1);
}
.hp-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hp-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(95deg, rgba(0, 28, 60, 0.92) 0%, rgba(0, 36, 74, 0.72) 55%, rgba(0, 36, 74, 0.35) 100%);
}
.hp-hero__grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}
.hp-hero__in {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-top: 64px;
  padding-bottom: 48px;
}
.hp-hero__text {
  display: none;
  max-width: 780px;
}
.hp-hero__text.is-on {
  display: block;
  animation: fadeUp 0.5s ease forwards;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.hp-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--head);
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-l);
  margin-bottom: 14px;
}
.hp-hero__eyebrow span {
  width: 32px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}
.hp-hero__title {
  font-family: var(--head);
  font-weight: 800;
  font-size: var(--fs-hero);
  line-height: 1.05;
  text-transform: uppercase;
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}
.hp-hero__lead {
  font-size: var(--fs-lead);
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 28px;
  max-width: 660px;
}
.hp-hero__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 44px;
}
.hp-hero__nav {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.hp-hero__arrow {
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hp-hero__arrow:hover {
  background: var(--red);
  border-color: var(--red);
}
.hp-hero__arrow svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
.hp-hero__dots {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  flex: 1;
}
.hp-hero__dots button {
  text-align: left;
  color: rgba(255, 255, 255, 0.6);
  padding: 6px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}
.hp-hero__dots button[aria-current="true"] {
  color: #fff;
}
.hp-hero__n {
  font-family: var(--head);
  font-weight: 700;
  font-size: 13px;
  color: var(--gold);
}
.hp-hero__lbl {
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hp-hero__dots i {
  display: block;
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  overflow: hidden;
  width: 100%;
}
.hp-hero__dots button[aria-current="true"] i b {
  display: block;
  height: 100%;
  background: var(--red);
  width: 100%;
}

@media (max-width: 900px) {
  .hp-hero__dots {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Trust Bar */
.hp-trust {
  background: var(--navy-2);
  color: #fff;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.hp-trust__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.hp-trust__lbl {
  font-family: var(--head);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--gold-l);
  font-size: 14px;
}
.hp-trust__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.hp-trust__list a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--head);
  font-weight: 700;
  font-size: 15px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
}
.hp-trust__list a:hover {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.15);
}
.cert-pill-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 12px;
}

/* KPI Stats */
.hp-stats {
  background: var(--surface);
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}
.hp-stats__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.hp-stat {
  padding: 16px;
  border-left: 3px solid var(--red);
  background: var(--bg);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.hp-stat dt {
  font-family: var(--head);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--steel);
  font-weight: 700;
}
.hp-stat dd {
  font-family: var(--head);
  font-size: 34px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.1;
  margin: 4px 0;
}
.hp-stat p {
  font-size: 13px;
  color: var(--steel);
}
@media (max-width: 1024px) {
  .hp-stats__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 600px) {
  .hp-stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Generic Sections */
.hp-sec {
  padding: var(--section-y) 0;
  position: relative;
}
.hp-sec--alt {
  background: var(--bg);
}
.hp-sec--dark {
  background: var(--navy);
  color: #fff;
}
.hp-sec--navy {
  background: var(--navy-2);
  color: #fff;
}

.hp-eyebrow {
  font-family: var(--head);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red);
  margin-bottom: 6px;
}
.hp-sec--dark .hp-eyebrow,
.hp-sec--navy .hp-eyebrow,
.hp-eyebrow--gold {
  color: var(--gold);
}
.hp-h2 {
  font-family: var(--head);
  font-weight: 800;
  font-size: var(--fs-h2);
  text-transform: uppercase;
  line-height: 1.12;
  color: var(--navy);
  margin-bottom: 12px;
}
.hp-sec--dark .hp-h2,
.hp-sec--navy .hp-h2,
.hp-head--light .hp-h2 {
  color: #fff;
}
.hp-lead, .hp-intro {
  font-size: 17px;
  color: var(--steel);
  max-width: 720px;
}
.hp-sec--dark .hp-intro,
.hp-sec--navy .hp-intro,
.hp-head--light .hp-intro {
  color: rgba(255, 255, 255, 0.8);
}

.hp-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.hp-head--center {
  text-align: center;
  justify-content: center;
}
.hp-head--center .hp-intro {
  margin: 0 auto;
}
.hp-all {
  font-family: var(--head);
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hp-head--light .hp-all {
  color: var(--gold-l);
}
.hp-all:hover {
  transform: translateX(4px);
}

/* Group Overview & 5-Step Value Chain */
.hp-group__top {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 44px;
}
.hp-group__txt p + p {
  margin-top: 14px;
}
.hp-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.hp-group__visual {
  position: relative;
}
.hp-group__img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 10;
  background: var(--navy);
}
.hp-group__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hp-group__quote {
  background: var(--navy);
  color: #fff;
  padding: 20px 24px;
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  margin-top: -36px;
  margin-left: 24px;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-lg);
  font-size: 14px;
}
.hp-chain {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.hp-chain__card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  position: relative;
}
.hp-chain__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--navy-3);
}
.hp-chain__img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy);
}
.hp-chain__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hp-chain__n {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--red);
  color: #fff;
  font-family: var(--head);
  font-weight: 800;
  font-size: 14px;
  padding: 2px 8px;
  border-radius: 3px;
}
.hp-chain__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hp-chain__body strong {
  font-family: var(--head);
  font-size: 19px;
  text-transform: uppercase;
  color: var(--navy);
}
.hp-chain__body span {
  font-size: 13.5px;
  color: var(--steel);
}

@media (max-width: 1024px) {
  .hp-group__top {
    grid-template-columns: 1fr;
  }
  .hp-chain {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .hp-chain {
    grid-template-columns: 1fr;
  }
}

/* Solutions Bento Grid */
.hp-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 250px;
  gap: 18px;
}
.hp-tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 22px;
  color: #fff;
  background: var(--navy-2);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.hp-tile--xl {
  grid-column: span 2;
  grid-row: span 2;
}
.hp-tile--w2 {
  grid-column: span 2;
}
.hp-tile > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.hp-tile:hover > img {
  transform: scale(1.06);
}
.hp-tile__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 22, 48, 0.94) 0%, rgba(0, 22, 48, 0.45) 55%, rgba(0, 22, 48, 0.15) 100%);
}
.hp-tile__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}
.hp-tile__ico {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  background: rgba(200, 154, 60, 0.2);
  border: 1px solid var(--gold);
  color: var(--gold-l);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.hp-tile__body strong {
  font-family: var(--head);
  font-size: 23px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.hp-tile__txt {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.84);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hp-tile__go {
  position: absolute;
  right: 0;
  bottom: 0;
  font-weight: 700;
  color: var(--gold);
}

@media (max-width: 1024px) {
  .hp-bento {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .hp-bento {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }
  .hp-tile--xl, .hp-tile--w2 {
    grid-column: span 1;
    grid-row: span 1;
  }
}

/* Products Cards & Chips */
.hp-cards--4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.hp-pcard {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.22s ease;
}
.hp-pcard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--navy-3);
}
.hp-pcard__img {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--navy);
  overflow: hidden;
}
.hp-pcard__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.hp-pcard:hover .hp-pcard__img img {
  transform: scale(1.05);
}
.hp-pcard__img em {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 36, 74, 0.88);
  color: var(--gold-l);
  font-style: normal;
  font-family: var(--head);
  font-weight: 700;
  font-size: 12px;
  padding: 3px 9px;
  border-radius: 3px;
  text-transform: uppercase;
}
.hp-pcard__body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.hp-pcard__body strong {
  font-family: var(--head);
  font-size: 20px;
  color: var(--navy);
  text-transform: uppercase;
}
.hp-pcard__body span {
  font-size: 13.5px;
  color: var(--steel);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hp-chips {
  margin-top: 28px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 20px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.hp-chips > span {
  font-family: var(--head);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--navy);
  margin-right: 6px;
}
.hp-chips a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.hp-chips a:hover {
  border-color: var(--red);
  color: var(--red);
}

@media (max-width: 1024px) {
  .hp-cards--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .hp-cards--4 {
    grid-template-columns: 1fr;
  }
}

/* Industries Grid */
.hp-inds__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.hp-ind {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--shadow);
}
.hp-ind:hover {
  border-color: var(--red);
  transform: translateY(-3px);
}
.hp-ind__ico {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.hp-ind:hover .hp-ind__ico {
  background: var(--red);
  color: #fff;
}
.hp-ind strong {
  font-family: var(--head);
  font-size: 19px;
  text-transform: uppercase;
  color: var(--navy);
}
.hp-ind span {
  font-size: 13px;
  color: var(--steel);
}
@media (max-width: 1024px) {
  .hp-inds__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 600px) {
  .hp-inds__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Projects Filter Bar & Portfolio Grid */
.proj-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
  padding: 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  align-items: center;
}
.proj-filter-bar input,
.proj-filter-bar select {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: 14px;
  min-width: 160px;
}
.proj-filter-bar input {
  flex: 1;
  min-width: 220px;
}

.hp-projs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.hp-proj {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
}
.hp-proj:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--navy-3);
}
.hp-proj__img {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--navy);
  overflow: hidden;
}
.hp-proj__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.hp-proj:hover .hp-proj__img img {
  transform: scale(1.05);
}
.proj-3d-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--red);
  color: #fff;
  font-family: var(--head);
  font-weight: 700;
  font-size: 12px;
  padding: 3px 9px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.hp-proj__body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hp-proj__loc {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hp-proj__body strong {
  font-family: var(--head);
  font-size: 21px;
  color: var(--navy);
  text-transform: uppercase;
}
.hp-proj__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--steel);
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.hp-center {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

@media (max-width: 960px) {
  .hp-projs__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .hp-projs__grid {
    grid-template-columns: 1fr;
  }
}

/* Interactive 3D BIM / IFC / GLB / PDF / RVT Viewer Section */
.bim-showcase {
  background: var(--navy-deep);
  color: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
  margin-top: 36px;
  box-shadow: var(--shadow-lg);
}
.bim-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  flex-wrap: wrap;
  gap: 12px;
}
.bim-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.bim-tab {
  padding: 7px 14px;
  border-radius: var(--radius);
  font-family: var(--head);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.bim-tab.is-active {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.bim-workspace {
  display: grid;
  grid-template-columns: 260px 1fr 280px;
  min-height: 460px;
}
.bim-tree, .bim-props {
  background: rgba(0, 18, 40, 0.75);
  padding: 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  overflow-y: auto;
}
.bim-props {
  border-right: none;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}
.bim-tree h4, .bim-props h4 {
  font-family: var(--head);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-l);
  margin-bottom: 12px;
  font-size: 14px;
}
.bim-tree-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 8px;
  border-radius: 3px;
  cursor: pointer;
  margin-bottom: 4px;
}
.bim-tree-item:hover, .bim-tree-item.is-selected {
  background: rgba(196, 29, 48, 0.3);
  color: #fff;
}
.bim-canvas-wrap {
  position: relative;
  background: radial-gradient(circle at center, #123458 0%, #05162B 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 420px;
}
#bimCanvas3D {
  width: 100%;
  height: 440px;
  display: block;
}
.bim-toolbar {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  background: rgba(0, 20, 44, 0.88);
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  flex-wrap: wrap;
}
.bim-tool-btn {
  padding: 5px 10px;
  font-size: 12px;
  font-family: var(--head);
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}
.bim-tool-btn:hover {
  background: var(--gold);
  color: var(--navy);
}
.bim-prop-table {
  width: 100%;
  border-collapse: collapse;
}
.bim-prop-table th, .bim-prop-table td {
  padding: 6px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  font-size: 12.5px;
}
.bim-prop-table th {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

@media (max-width: 1024px) {
  .bim-workspace {
    grid-template-columns: 1fr;
  }
}

/* Global Footprint & Offices */
.hp-foot__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 36px;
}
.gm-panel {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 20px;
}
.hp-foot__kpi {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.hp-foot__kpi > div {
  background: rgba(255, 255, 255, 0.07);
  padding: 14px;
  border-radius: var(--radius);
  text-align: center;
}
.hp-foot__kpi dt {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--gold-l);
}
.hp-foot__kpi dd {
  font-family: var(--head);
  font-size: 30px;
  font-weight: 900;
}
.hp-foot__conts {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hp-foot__conts li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.hp-foot__conts li a:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--gold);
}
.hp-foot__conts span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

.hp-offices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.hp-office {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.hp-office__img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.hp-office__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hp-office__body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hp-office__kind {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--gold-l);
  font-weight: 700;
}
.hp-office__kind svg {
  width: 15px;
  height: 15px;
}
.hp-office__body strong {
  font-family: var(--head);
  font-size: 20px;
  text-transform: uppercase;
}
.hp-office__body > span {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.8);
}
.hp-office__c {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 6px;
  font-weight: 600;
  color: var(--gold-l) !important;
}

@media (max-width: 960px) {
  .hp-foot__grid, .hp-offices {
    grid-template-columns: 1fr;
  }
}

/* Manufacturing & Factory */
.hp-fac__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.hp-fac__img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hp-fac__facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 24px 0;
}
.hp-fac__facts > div {
  padding: 14px;
  background: var(--bg);
  border-left: 3px solid var(--navy);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.hp-fac__facts dd {
  font-family: var(--head);
  font-size: 26px;
  font-weight: 900;
  color: var(--navy);
}
.hp-fac__facts dt {
  font-size: 13px;
  color: var(--steel);
}
@media (max-width: 960px) {
  .hp-fac__grid {
    grid-template-columns: 1fr;
  }
}

/* 6-Step Process */
.hp-steps--6 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.hp-steps--6 li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--shadow);
}
.hp-steps__ico {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--navy);
  margin-bottom: 6px;
}
.hp-steps__ico svg {
  width: 26px;
  height: 26px;
}
.hp-steps__ico em {
  font-style: normal;
  font-family: var(--head);
  font-weight: 900;
  font-size: 22px;
  color: var(--red);
}
.hp-steps--6 strong {
  font-family: var(--head);
  font-size: 18px;
  text-transform: uppercase;
  color: var(--navy);
}
.hp-steps--6 span {
  font-size: 13px;
  color: var(--steel);
}
@media (max-width: 1024px) {
  .hp-steps--6 {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 600px) {
  .hp-steps--6 {
    grid-template-columns: 1fr;
  }
}

/* Certifications */
.hp-certs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.certcard {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  gap: 14px;
}
.certcard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.certcard__badge {
  height: 64px;
  display: flex;
  align-items: center;
}
.certcard__badge img {
  max-height: 60px;
  width: auto;
}
.certcard__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.certcard__body strong {
  font-family: var(--head);
  font-size: 24px;
  color: var(--navy);
}
.certcard__no {
  font-family: var(--head);
  font-weight: 700;
  font-size: 14px;
  color: var(--red);
  text-transform: uppercase;
}
.certcard__iss {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.pebcard__text {
  font-size: 13.5px;
  color: var(--steel);
}
.certcard__valid--ok {
  display: inline-block;
  margin-top: 6px;
  align-self: flex-start;
  padding: 3px 10px;
  background: #ECFDF5;
  color: #047857;
  font-size: 12px;
  font-weight: 700;
  border-radius: 12px;
}
.hp-regs {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 14px 18px;
  background: var(--bg);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
}
.hp-regs a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
@media (max-width: 900px) {
  .hp-certs {
    grid-template-columns: 1fr;
  }
}

/* Why Choose Us */
.hp-why {
  position: relative;
  overflow: hidden;
}
.hp-why__bg {
  position: absolute;
  inset: 0;
  opacity: 0.12;
}
.hp-why__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hp-why__in {
  position: relative;
  z-index: 2;
}
.hp-why__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}
.hp-why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.hp-why__grid li {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 22px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hp-why__ico {
  width: 40px;
  height: 40px;
  color: var(--gold);
}
.hp-why__ico svg {
  width: 28px;
  height: 28px;
}
.hp-why__grid strong {
  font-family: var(--head);
  font-size: 20px;
  text-transform: uppercase;
}
.hp-why__grid span {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.8);
}
@media (max-width: 900px) {
  .hp-why__grid {
    grid-template-columns: 1fr;
  }
}

/* Global Markets Cards */
.cgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.gmcard {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  box-shadow: var(--shadow);
}
.gmcard:hover {
  border-color: var(--navy);
  transform: translateY(-3px);
}
.gmcard__body {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.gmcard__meta {
  font-size: 11.5px;
  text-transform: uppercase;
  color: var(--steel);
  font-weight: 700;
}
.gmcard__name {
  font-family: var(--head);
  font-size: 21px;
  color: var(--navy);
  text-transform: uppercase;
}
.gmcard__text {
  font-size: 13px;
  color: var(--steel);
}
.gmcard__foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.potb {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 10px;
}
.potb--high {
  background: #FEE2E2;
  color: #B91C1C;
}
.potb--medium {
  background: #FEF3C7;
  color: #B45309;
}
.potb--selective {
  background: #E0E7FF;
  color: #3730A3;
}
.gmcard__fta {
  font-size: 11px;
  font-weight: 700;
  color: var(--navy);
  background: var(--bg);
  padding: 2px 7px;
  border-radius: 3px;
}
@media (max-width: 1024px) {
  .cgrid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .cgrid {
    grid-template-columns: 1fr;
  }
}

/* Clients Marquee & Testimonials */
.hp-marquee {
  overflow: hidden;
  padding: 18px 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.hp-marquee__track {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.hp-marquee__track li {
  padding: 10px 18px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--head);
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
}
.hp-note {
  font-size: 12px;
  color: var(--steel);
  text-align: center;
  margin-top: 12px;
}

.hp-tms__grid--2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.hp-tm {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hp-tm__q svg {
  width: 28px;
  height: 28px;
  color: var(--gold);
}
.hp-tm blockquote {
  font-size: 17px;
  font-style: italic;
  color: var(--ink);
}
.hp-tm figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13.5px;
}
.hp-tm figcaption strong {
  color: var(--navy);
  font-size: 15px;
}
.hp-tm figcaption em {
  color: var(--red);
  font-style: normal;
  font-weight: 600;
}
@media (max-width: 768px) {
  .hp-tms__grid--2 {
    grid-template-columns: 1fr;
  }
}

/* Video Section */
.hp-video__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
}
.fvid {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #000;
  cursor: pointer;
}
.fvid__poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
}
.fvid__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent 60%);
}
.fvid__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(196, 29, 48, 0.5);
}
.fvid__play svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}
.fvid__meta {
  position: absolute;
  bottom: 14px;
  left: 16px;
  right: 16px;
  color: #fff;
  font-family: var(--head);
  font-size: 18px;
}
.hp-video__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
@media (max-width: 900px) {
  .hp-video__grid {
    grid-template-columns: 1fr;
  }
}

/* PEB Knowledge Grid & Downloads */
.pebgrid, .hp-dls__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.pebcard, .hp-dl {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}
.pebcard:hover, .hp-dl:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.pebcard__img, .hp-dl__cover {
  aspect-ratio: 16 / 10;
  background: var(--navy);
  overflow: hidden;
}
.pebcard__img img, .hp-dl__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pebcard__body, .hp-dl__body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pebcard__cat, .hp-dl__body em {
  font-style: normal;
  font-family: var(--head);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--red);
}
.pebcard__body strong, .hp-dl__body strong {
  font-family: var(--head);
  font-size: 20px;
  color: var(--navy);
  text-transform: uppercase;
}
.hp-dl__body span {
  font-size: 12.5px;
  color: var(--steel);
}
@media (max-width: 1024px) {
  .pebgrid, .hp-dls__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .pebgrid, .hp-dls__grid {
    grid-template-columns: 1fr;
  }
}

/* FAQ Section */
.hp-faq__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
}
.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq details {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
}
.faq details[open] {
  background: var(--surface);
  border-color: var(--navy);
  box-shadow: var(--shadow);
}
.faq summary {
  font-family: var(--head);
  font-weight: 700;
  font-size: 19px;
  color: var(--navy);
  cursor: pointer;
}
.faq details p {
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--steel);
}
@media (max-width: 860px) {
  .hp-faq__grid {
    grid-template-columns: 1fr;
  }
}

/* Multi-Step RFQ Form & Unlimited MB Chunked Uploader */
.rfq-box {
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: 32px;
  margin-top: 28px;
}
.rfq-steps-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}
.rfq-step-indicator {
  padding: 10px 12px;
  background: var(--bg);
  border-top: 3px solid var(--line);
  font-family: var(--head);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  color: var(--steel);
}
.rfq-step-indicator.is-active {
  border-top-color: var(--red);
  color: var(--navy);
  background: #FEF2F2;
}
.rfq-step-indicator.is-done {
  border-top-color: var(--success);
  color: var(--success);
}
.rfq-panel {
  display: none;
}
.rfq-panel.is-active {
  display: block;
}
.rfq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.rfq-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.rfq-field--full {
  grid-column: 1 / -1;
}
.rfq-field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  font-family: var(--head);
  letter-spacing: 0.04em;
}
.rfq-field input,
.rfq-field select,
.rfq-field textarea {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.rfq-dropzone {
  border: 2px dashed var(--navy-3);
  background: var(--bg);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.rfq-dropzone:hover, .rfq-dropzone.is-dragover {
  border-color: var(--red);
  background: #FEF2F2;
}
.chunk-progress-list {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.chunk-file-item {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 10px 14px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.chunk-bar-wrap {
  height: 6px;
  background: var(--line);
  border-radius: 3px;
  overflow: hidden;
}
.chunk-bar-fill {
  height: 100%;
  background: var(--success);
  width: 0%;
  transition: width 0.15s ease;
}

/* Final CTA Banner */
.hp-cta {
  position: relative;
  background: var(--navy);
  color: #fff;
  padding: 72px 0;
  overflow: hidden;
}
.hp-cta__bg {
  position: absolute;
  inset: 0;
  opacity: 0.18;
}
.hp-cta__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hp-cta__in {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 36px;
  align-items: center;
}
.hp-cta__ch {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hp-cta__ch li a {
  display: flex;
  flex-direction: column;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
}
.hp-cta__ch li a:hover {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.14);
}
.hp-cta__ch span {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--gold-l);
}
.hp-cta__ch strong {
  font-family: var(--head);
  font-size: 22px;
}
@media (max-width: 860px) {
  .hp-cta__in {
    grid-template-columns: 1fr;
  }
}

/* Footer */
.footer {
  background: #001833;
  color: rgba(255, 255, 255, 0.82);
  padding-top: 56px;
  font-size: 14px;
}
.ft-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
}
.brand--footer .brand__name {
  color: #fff;
}
.ft-brand__claim {
  max-width: 420px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.7);
}
.ft-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.ft-social a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  font-size: 12.5px;
}
.ft-social a:hover {
  background: var(--red);
  color: #fff;
}
.cico {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.ft-reach {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.ft-reach__i {
  display: flex;
  flex-direction: column;
}
.ft-reach__i span {
  font-size: 11.5px;
  color: var(--gold-l);
  text-transform: uppercase;
}
.ft-reach__i strong {
  font-family: var(--head);
  font-size: 20px;
  color: #fff;
}

.ft-certs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
}
.ft-certs__l {
  font-family: var(--head);
  text-transform: uppercase;
  color: var(--gold-l);
  font-weight: 700;
}
.ft-certs ul {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.ft-certs ul li a, .ft-certs__txt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  font-weight: 600;
}

.ft-cols {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  padding: 36px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.ft-col summary {
  list-style: none;
  cursor: pointer;
  margin-bottom: 12px;
}
.ft-col h3 {
  font-family: var(--head);
  font-size: 16px;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 0.05em;
}
.ft-col ul {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.ft-col ul a:hover {
  color: var(--gold-l);
}
.ft-offices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 28px 0;
}
.ft-office {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ft-office__k {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--gold-l);
  font-weight: 700;
}
.ft-office strong {
  color: #fff;
}
.ft-base {
  background: #001024;
  padding: 18px 0;
}
.ft-base__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.ft-base__links {
  display: flex;
  gap: 18px;
}
@media (max-width: 900px) {
  .ft-cols {
    grid-template-columns: repeat(2, 1fr);
  }
  .ft-offices {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   WORDPRESS-LIKE DRAG & DROP VISUAL MODULE BUILDER UI
   ========================================================================== */

.wsc-builder-bar {
  position: fixed;
  top: var(--wp-adminbar-h, 0px);
  left: 0;
  right: 0;
  min-height: 52px;
  height: auto;
  background: #0F172A;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  padding: 8px 18px;
  z-index: 99990;
  border-bottom: 2px solid var(--gold);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  font-size: 13px;
}
body.admin-bar .wsc-builder-bar {
  top: var(--wp-adminbar-h, 32px);
}
@media screen and (max-width: 782px) {
  body.admin-bar .wsc-builder-bar {
    top: var(--wp-adminbar-h, 46px);
  }
}
.wsc-builder-bar__left,
.wsc-builder-bar__right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.wsc-builder-badge {
  background: var(--red);
  color: #fff;
  font-family: var(--head);
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.2;
}
.wsc-b-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-weight: 600;
  font-size: 12.5px;
  line-height: 1.2;
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.wsc-b-btn:hover, .wsc-b-btn.is-active {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.wsc-b-btn--primary {
  background: var(--success);
  border-color: var(--success);
}

/* Left Dock Sidebar for Drag & Drop Modules */
.wsc-builder-sidebar {
  position: fixed;
  top: var(--wsc-total-top, 52px);
  left: 0;
  bottom: 0;
  width: 320px;
  background: #1E293B;
  color: #F8FAFC;
  z-index: 99985;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.25s ease;
}
body.admin-bar .wsc-builder-sidebar {
  top: var(--wsc-total-top, 84px);
}
@media screen and (max-width: 782px) {
  body.admin-bar .wsc-builder-sidebar {
    top: var(--wsc-total-top, 98px);
  }
}
body.builder-active .wsc-builder-sidebar {
  transform: translateX(0);
}
.wsc-sidebar-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: #0F172A;
}
.wsc-sidebar-tab {
  padding: 11px 6px;
  font-family: var(--head);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  color: #94A3B8;
  border-bottom: 2px solid transparent;
}
.wsc-sidebar-tab.is-active {
  color: var(--gold-l);
  border-bottom-color: var(--gold);
  background: #1E293B;
}
.wsc-sidebar-body {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
}
.wsc-module-layer-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 10px;
  background: #334155;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  margin-bottom: 8px;
  cursor: grab;
  font-size: 13px;
}
.wsc-module-layer-item:active {
  cursor: grabbing;
}
.wsc-module-layer-item.is-dragging {
  opacity: 0.45;
  border: 1px dashed var(--gold);
}
.wsc-layer-actions {
  display: flex;
  gap: 4px;
}
.wsc-layer-actions button {
  padding: 3px 6px;
  background: rgba(0, 0, 0, 0.25);
  color: #E2E8F0;
  border-radius: 3px;
  font-size: 11px;
}
.wsc-layer-actions button:hover {
  background: var(--red);
  color: #fff;
}

/* On-Canvas Module Floating Controls when Builder Mode is ON */
body.builder-active [data-wsc-module] {
  position: relative;
  outline: 2px dashed transparent;
  transition: outline-color 0.15s ease;
}
body.builder-active [data-wsc-module]:hover {
  outline-color: var(--gold);
}
.wsc-module-handle {
  display: none;
  position: absolute;
  top: 10px;
  right: 16px;
  z-index: 990;
  background: #0F172A;
  color: #fff;
  border: 1px solid var(--gold);
  border-radius: 4px;
  padding: 4px 8px;
  gap: 6px;
  align-items: center;
  box-shadow: var(--shadow-lg);
  font-size: 12px;
}
body.builder-active [data-wsc-module]:hover > .wsc-module-handle {
  display: inline-flex;
}
.wsc-module-handle button {
  padding: 3px 7px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 600;
}
.wsc-module-handle button:hover {
  background: var(--red);
}

/* Inline Editable Highlights in Builder Mode */
body.builder-active [contenteditable="true"] {
  outline: 1px dashed rgba(204, 153, 43, 0.65);
  cursor: text;
}
body.builder-active [contenteditable="true"]:focus {
  outline: 2px solid var(--red);
  background: rgba(255, 255, 255, 0.08);
}
body.builder-active img {
  cursor: pointer;
}
body.builder-active img:hover {
  outline: 3px solid var(--gold);
}

/* Modal Dialog */
.wsc-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 18, 38, 0.82);
  z-index: 9500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}
.wsc-modal-backdrop.is-open {
  display: flex;
}
.wsc-modal {
  background: var(--surface);
  color: var(--ink);
  max-width: 960px;
  width: 100%;
  max-height: 90vh;
  border-radius: 6px;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--red);
}
.wsc-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
}
.wsc-modal__body {
  padding: 24px;
}


/* ==========================================================================
   WORLD STEEL GROUP — WAREHOUSE 30X55 PROJECT MODULAR TEMPLATE STYLES
   Matches https://worldsteelgroup.com.vn/projects/warehouse-30x55
   ========================================================================== */
:root {
  --c-ink: #0B1A30;
  --c-ink-2: #102440;
  --c-ink-3: #15305A;
  --c-line: #2A3F63;
  --c-text: #F7F6F2;
  --c-text-2: #B4BDCB;
  --c-paper: #FFFFFF;
  --c-paper-2: #F5F1E8;
  --c-text-dark: #142238;
  --c-text-dark-2: #3D4F6A;
  --c-accent: #D4A43A;
  --c-accent-dark: #8A6110;
  --c-brand: #C41D30;
  --c-brand-dark: #9B1525;
  --c-on-brand: #FFFFFF;
  --f-display: var(--head, 'Barlow Condensed', sans-serif);
  --f-body: var(--font, 'Be Vietnam Pro', sans-serif);
  --sticky-top: 88px;
}

.section { padding: 56px 0; }
.section--light { background: var(--c-paper); color: var(--c-text-dark); }
@media (min-width: 1024px) { .section { padding: 80px 0; } }

/* Breadcrumb inside pj-hero */
.pj-hero .breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: .875rem; color: var(--c-text-2); margin: 0 0 20px; padding: 0; list-style: none; }
.pj-hero .breadcrumb li { display: inline-flex; align-items: center; }
.pj-hero .breadcrumb li + li::before { content: '/'; margin: 0 10px; color: rgba(255,255,255,.35); }
.pj-hero .breadcrumb a { color: var(--c-text-2); text-decoration: none; }
.pj-hero .breadcrumb a:hover { color: var(--c-accent); }
.pj-hero .breadcrumb span { color: var(--c-text); font-weight: 600; }

/* Buttons matching worldsteelgroup.com.vn */
.btn--primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 22px; background: var(--c-brand); border: 1px solid var(--c-brand);
  color: var(--c-on-brand); font-weight: 600; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s;
}
.btn--primary:hover { background: var(--c-brand-dark); border-color: var(--c-brand-dark); color: #fff; }
.pj-hero .btn--ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 22px; background: rgba(8, 22, 44, .55); border: 1px solid rgba(255,255,255,.45);
  color: var(--c-text); font-weight: 600; text-decoration: none; transition: border-color .15s, color .15s;
}
.pj-hero .btn--ghost:hover { border-color: var(--c-accent); color: var(--c-accent); }

/* Module 00: Photo hero with key figures strip */
.pj-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--c-ink); color: var(--c-text); }
.pj-hero__media { position: absolute; inset: 0; z-index: -2; }
.pj-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.pj-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(8, 22, 44, .95) 0%, rgba(11, 26, 48, .82) 48%, rgba(11, 26, 48, .35) 100%); }
.pj-hero__inner { padding-top: 36px; padding-bottom: 48px; }
@media (min-width: 1024px) { .pj-hero__inner { padding-top: 56px; padding-bottom: 80px; } }
.pj-hero__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 16px; }
.pj-tag { display: inline-flex; align-items: center; padding: 4px 12px; border: 1px solid rgba(255, 255, 255, .28); color: var(--c-text); font-size: .8125rem; font-weight: 600; letter-spacing: .04em; text-decoration: none; background: rgba(8, 22, 44, .45); }
.pj-tag--sector { border-color: var(--c-accent); color: var(--c-accent); }
a.pj-tag:hover { background: var(--c-accent); color: var(--c-ink); }
.pj-hero__title { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: clamp(2.25rem, 5vw, 3.75rem); line-height: 1.04; max-width: 22ch; margin: 0 0 18px; color: var(--c-text); }
.pj-hero__lead { max-width: 68ch; font-size: 1.125rem; line-height: 1.6; color: var(--c-text-2); margin: 0; }
.pj-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.pj-stats { border-top: 1px solid rgba(255, 255, 255, .14); background: rgba(8, 22, 44, .78); border-bottom: 4px solid var(--c-brand); }
.pj-stats__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; margin: 0 auto; padding-top: 0; padding-bottom: 0; }
@media (min-width: 768px) { .pj-stats__list { grid-template-columns: repeat(4, minmax(150px, 1fr)); } }
.pj-stats__item { padding: 18px 18px 18px 0; border-inline-end: 1px solid rgba(255, 255, 255, .1); }
.pj-stats__item:last-child { border-inline-end: 0; }
.pj-stats dt { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--c-text-2); }
.pj-stats dd { margin: 6px 0 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.15; color: var(--c-text); }

/* Body: main column (Modules 01-06) + sticky side column (Modules S1-S4) */
.pj-body { background: #F8F6F1; }
.pj-grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1024px) {
  .pj-grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; }
  .pj-side { position: sticky; top: calc(var(--sticky-top) + 24px); }
}
.pj-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; min-width: 0; }
.pj-grid > * { min-width: 0; }
.pj-block { position: relative; padding: 28px 28px 30px; background: var(--c-paper, #fff); border: 1px solid #E6E1D6; box-shadow: 0 1px 2px rgba(11, 26, 48, .05); }
@media (min-width: 768px) { .pj-block { padding: 34px 40px 36px; } }
.pj-block__no { position: absolute; top: 22px; inset-inline-end: 26px; margin: 0; font-family: var(--f-display); font-weight: 700; font-size: 2.5rem; line-height: 1; color: rgba(11, 26, 48, .08); }
.pj-block__title, .pj-block__sub, .pj-card__title { font-family: var(--f-display); font-weight: 700; }
.pj-block__title { margin: 0 0 14px; font-size: clamp(1.125rem, 1.9vw, 1.4375rem); text-transform: uppercase; letter-spacing: .03em; line-height: 1.15; color: var(--c-ink); padding-inline-end: 64px; }
.pj-block__title::after { content: ''; display: block; width: 48px; height: 3px; margin-top: 12px; background: var(--c-brand); }
.pj-block p { margin: 0 0 12px; color: var(--c-text-dark); line-height: 1.7; }
.pj-block p:last-child { margin-bottom: 0; }
.pj-block__sub { margin: 22px 0 10px; font-size: 1.0625rem; text-transform: uppercase; letter-spacing: .05em; color: var(--c-text-dark-2); }

/* Module 02: Scope of work & Materials used */
.pj-scope { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .pj-scope { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; } }
.pj-scope li { display: flex; gap: 10px; align-items: flex-start; color: var(--c-text-dark); }
.pj-scope .icon { flex: none; margin-top: 3px; color: var(--c-brand); }
.pj-mats { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pj-mats a, .pj-mats li > span { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 14px; border: 1px solid #DDD6C8; background: #FAF8F3; color: var(--c-text-dark); font-weight: 500; text-decoration: none; }
.pj-mats a:hover { border-color: var(--c-brand); color: var(--c-brand); }
.pj-mats .icon { color: var(--c-brand); flex: none; }

/* Module 03: Applied standards tabs & accordion */
.pj-block .pj-std__lead { margin: -4px 0 18px; }
.pj-std__tabs { display: flex; gap: 6px; margin: 0 0 14px; overflow-x: auto; scrollbar-width: none; border-bottom: 2px solid #E6E1D6; }
.pj-std__tabs::-webkit-scrollbar { display: none; }
.pj-std__tab { display: flex; align-items: center; gap: 8px; flex: none; margin-bottom: -2px; padding: 10px 14px; border: 0; border-bottom: 2px solid transparent; background: none; font: inherit; font-size: .875rem; font-weight: 600; white-space: nowrap; color: var(--c-text-dark-2); cursor: pointer; }
.pj-std__tab small { font-size: inherit; font-weight: 700; opacity: .7; }
.pj-std__tab:hover { color: var(--c-ink); }
.pj-std__tab[aria-selected="true"] { color: var(--c-brand); border-bottom-color: var(--c-brand); }
.pj-std__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid #E6E1D6; }
.pj-std__row { border-bottom: 1px solid #E6E1D6; }
.pj-std__row[hidden] { display: none; }
.pj-std__sum { display: flex; align-items: center; gap: 14px; padding: 14px 4px; list-style: none; cursor: pointer; }
.pj-std__sum::-webkit-details-marker { display: none; }
.pj-std__icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border: 1px solid #E6E1D6; background: #fff; color: var(--c-brand); }
.pj-std__code { flex: none; width: 190px; font-weight: 700; color: var(--c-ink); overflow-wrap: anywhere; }
.pj-std__name { flex: 1; min-width: 0; color: var(--c-ink); }
.pj-std__plus { position: relative; flex: none; width: 16px; height: 16px; }
.pj-std__plus::before, .pj-std__plus::after { content: ""; position: absolute; left: 1px; right: 1px; top: 7px; height: 2px; background: var(--c-brand); transition: transform .2s; }
.pj-std__plus::after { transform: rotate(90deg); }
details[open] > .pj-std__sum .pj-std__plus::after { transform: rotate(0); }
.pj-std__body { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0 0 16px 58px; padding: 14px 16px; background: #FCFBF8; border-inline-start: 3px solid var(--c-brand); }
.pj-std__body dt { font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--c-text-dark-2); }
.pj-block .pj-std__body dd { margin: 2px 0 0; font-size: .875rem; line-height: 1.5; text-align: left; color: var(--c-ink); }
@media (max-width: 767px) {
  .pj-std__sum { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 2px 12px; }
  .pj-std__icon { grid-row: span 2; }
  .pj-std__code { width: auto; }
  .pj-std__name { grid-column: 2 / 4; font-size: .875rem; }
  .pj-std__plus { grid-column: 3; grid-row: 1; }
  .pj-std__body { grid-template-columns: minmax(0, 1fr); margin-left: 0; }
}

/* Module 04: Context callout */
.pj-block--context { background: #F4F1EA; border-inline-start: 4px solid var(--c-accent); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--c-brand-dark, #8f1422); font-weight: 600; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }

/* Module 05: Gallery mosaic (first photo 2x2, rest in grid) */
.pj-count { font-family: var(--f-body, inherit); font-size: .875rem; font-weight: 500; color: var(--c-text-dark-2); text-transform: uppercase; letter-spacing: .06em; margin-left: 8px; }
.pj-gallery { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pj-gallery li:first-child { grid-column: 1 / -1; }
@media (min-width: 768px) {
  .pj-gallery--3, .pj-gallery--4, .pj-gallery--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pj-gallery--3 li:first-child, .pj-gallery--4 li:first-child, .pj-gallery--5 li:first-child { grid-column: span 2; grid-row: span 2; }
}
.pj-gallery a { display: block; height: 100%; overflow: hidden; background: #E6E1D6; }
.pj-gallery img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s ease; }
.pj-gallery a:hover img { transform: scale(1.04); }
.pj-gallery li.pj-gallery__fill-sm { grid-column: 1 / -1; }
.pj-gallery li.pj-gallery__fill-sm img { aspect-ratio: 16 / 7; }
@media (min-width: 768px) {
  .pj-gallery--5 li.pj-gallery__fill-sm { grid-column: auto; }
  .pj-gallery--5 li.pj-gallery__fill-sm img { aspect-ratio: 4 / 3; }
}
.pj-source { margin-top: 16px !important; font-size: .9375rem; }

/* Sidebar Modules S1-S4 */
.pj-side { display: grid; gap: 16px; }
.pj-card { padding: 22px 24px 24px; background: var(--c-paper, #fff); border: 1px solid #E6E1D6; border-top: 3px solid var(--c-ink); }
.pj-card__title { margin: 0 0 14px; font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; color: var(--c-ink); }
.pj-facts { margin: 0; display: grid; }
.pj-facts div { display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid #EEEAE1; }
.pj-facts div:last-child { border-bottom: 0; }
.pj-facts dt { color: var(--c-text-dark-2); font-size: .875rem; }
.pj-facts dd { margin: 0; color: var(--c-ink); font-weight: 600; font-size: .9375rem; overflow-wrap: anywhere; }
.pj-facts a, .pj-solutions a { color: var(--c-brand-dark, #8f1422); }
.pj-solutions { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.pj-solutions li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: start; }
.pj-solutions__icon { display: grid; place-items: center; width: 40px; height: 40px; background: rgba(196, 29, 48, .08); color: var(--c-brand); }
.pj-solutions a { font-weight: 700; text-decoration: none; }
.pj-solutions a:hover { text-decoration: underline; }
.pj-solutions p { margin: 4px 0 0; color: var(--c-text-dark-2); font-size: .875rem; line-height: 1.5; }
.pj-keywords { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pj-keywords a, .pj-keywords span { display: inline-block; padding: 5px 12px; border: 1px solid #DDD7CA; font-size: .8125rem; color: var(--c-text-dark); text-decoration: none; background: #FAF8F3; }
.pj-keywords a { border-color: rgba(196, 29, 48, .35); color: var(--c-brand-dark, #8f1422); }
.pj-keywords a:hover { background: var(--c-brand); border-color: var(--c-brand); color: #fff; }
.pj-card--dark { background: var(--c-ink); border-color: var(--c-ink); border-top-color: var(--c-brand); color: var(--c-text); }
.pj-card--dark .pj-card__title { color: var(--c-text); }
.pj-card--dark p { margin: 0 0 16px; color: var(--c-text-2); }
.pj-card__btn { width: 100%; justify-content: center; }

/* Module 07: Related Projects in Sector */
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 32px; }
.section__title { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: clamp(1.75rem, 4vw, 2.5rem); margin: 0; }
.grid--3 { display: grid; gap: 2px; background: var(--c-line); border: 2px solid var(--c-line); grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.project-card { background: var(--c-ink-2); color: var(--c-text); display: flex; flex-direction: column; position: relative; }
.project-card__media { aspect-ratio: 16 / 10; background: var(--c-ink-3); overflow: hidden; }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project-card:hover .project-card__media img { transform: scale(1.04); }
.project-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; }
.project-card .badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border: 1px solid var(--c-accent); color: var(--c-accent); font-size: .75rem; font-weight: 600; text-transform: uppercase; align-self: flex-start; }
.project-card .tile__title { font-family: var(--f-display); font-weight: 700; font-size: 1.5rem; margin: 0; }
.project-card .tile__link { color: var(--c-text); text-decoration: none; }
.project-card .tile__link::after { content: ''; position: absolute; inset: 0; }
.project-card:hover .tile__title { color: var(--c-accent); }
.project-card__meta { font-size: .875rem; color: var(--c-text-2); margin: 0; }

/* Module 08: Footer Call-to-Action Band */
.footer-cta { background: linear-gradient(100deg, var(--c-brand-dark) 0%, var(--c-brand) 60%, #CF2F3C 100%); color: #fff; }
.footer-cta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; padding-top: 40px; padding-bottom: 40px; }
.footer-cta__text { flex: 1 1 420px; min-width: 0; }
.footer-cta__title { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; margin: 0 0 8px; font-size: clamp(1.75rem, 4vw, 2.5rem); line-height: 1.05; color: #fff; }
.footer-cta__text p { margin: 0; color: rgba(255, 255, 255, .88); font-size: 1rem; }
.footer-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.footer-cta__primary { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 22px; background: #fff; border: 1px solid #fff; color: var(--c-brand-dark); font-weight: 700; text-decoration: none; }
.footer-cta__primary:hover { background: var(--c-ink); border-color: var(--c-ink); color: #fff; }
.footer-cta__secondary { display: inline-flex; align-items: center; min-height: 48px; padding: 10px 22px; background: transparent; border: 1px solid rgba(255, 255, 255, .6); color: #fff; font-weight: 600; text-decoration: none; }
.footer-cta__secondary:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }

/* Lightbox Modal for Project Gallery */
.pj-lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(8, 18, 34, .94); display: flex; align-items: center; justify-content: center; padding: 24px; }
.pj-lightbox[hidden] { display: none !important; }
.pj-lightbox__fig { margin: 0; max-width: 90vw; max-height: 86vh; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.pj-lightbox__fig img { max-width: 100%; max-height: 80vh; object-fit: contain; border: 2px solid rgba(255,255,255,.15); }
.pj-lightbox__fig figcaption { color: var(--c-text-2); font-size: .95rem; }
.pj-lightbox__close { position: fixed; top: 20px; right: 24px; width: 48px; height: 48px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: #fff; font-size: 28px; cursor: pointer; }
.pj-lightbox__nav { position: fixed; top: 50%; transform: translateY(-50%); width: 48px; height: 64px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: #fff; font-size: 32px; cursor: pointer; }
.pj-lightbox__nav--prev { left: 20px; }
.pj-lightbox__nav--next { right: 20px; }
.pj-lightbox__close:hover, .pj-lightbox__nav:hover { background: var(--c-brand); border-color: var(--c-brand); }

/* Additional GPPD Energy Factory & Full 10-Item Mega Menu Enhancements */
.pj-tag--featured { border-color: var(--c-accent); background: rgba(212, 164, 58, 0.18); color: var(--c-accent); }
.pj-gallery li.pj-gallery__fill-3 { grid-column: 1 / -1; }
@media (min-width: 768px) {
  .pj-gallery--5 li.pj-gallery__fill-3 { grid-column: span 2; }
  .pj-gallery--5 li.pj-gallery__fill-3 img { aspect-ratio: 8 / 3; }
}
.nav__item.has-sub { display: inline-flex; align-items: stretch; }
.nav__portal { display: inline-flex; align-items: center; gap: 6px; font-family: var(--head); font-weight: 700; font-size: 14px; text-transform: uppercase; color: var(--navy); padding: 8px 10px; border-radius: var(--radius); border: 1px solid var(--line); white-space: nowrap; }
.nav__portal:hover { border-color: var(--red); color: var(--red); }
.mega__x { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--red); }
.mega__x:hover { text-decoration: underline; }
.mega__cta { width: 100%; justify-content: center; }
@media (min-width: 1181px) {
  .nav__expand { display: none !important; }
  .nav__link { padding: 0 11px; font-size: 15.5px; height: 100%; }
  .nav { gap: 8px; }
}

/* ==========================================================================
   COMPREHENSIVE MOBILE & IPAD / TABLET RESPONSIVE SYSTEM
   Matches https://worldsteelstructure.com/ across iPad Pro, iPad Air/Mini & Mobile
   ========================================================================== */

/* 1. iPad & Tablet Landscape / Portrait (768px – 1024px) */
@media (max-width: 1024px) {
  /* Scrollable single-row WP Module Builder Bar on Tablet & Mobile */
  .wsc-builder-bar {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    padding: 6px 12px !important;
    min-height: 46px !important;
  }
  .wsc-builder-bar__left,
  .wsc-builder-bar__right {
    flex-wrap: nowrap !important;
    flex-shrink: 0 !important;
  }
  .wsc-builder-sidebar {
    width: 290px !important;
    max-width: 85vw !important;
    box-shadow: 8px 0 32px rgba(0, 0, 0, 0.45);
  }

  /* Hero on iPad */
  .hp-hero {
    min-height: 500px;
  }
  .hp-hero__in {
    padding-top: 44px;
    padding-bottom: 36px;
  }
  .hp-hero__dots {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  /* 3D BIM Viewer on iPad: put 3D Canvas first, Tree & Properties below in 2 cols */
  .bim-workspace {
    grid-template-columns: 1fr 1fr;
  }
  .bim-canvas-wrap {
    grid-column: 1 / -1;
    order: -1;
    min-height: 360px;
  }
  #bimCanvas3D {
    height: 360px;
  }

  /* Project Detail Page (warehouse-30x55 / GPPD Factory) on iPad: 2x2 Sidebar Grid */
  .pj-grid {
    grid-template-columns: 1fr;
  }
  .pj-side {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  /* Footer on iPad */
  .ft-cols {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .ft-offices {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 2. Mobile Phones & Small Tablets (<= 767px) */
@media (max-width: 767px) {
  :root {
    --gutter: 14px;
    --section-y: 42px;
    --header-h: 60px;
  }

  /* Topbar Compact on Mobile */
  .topbar__tag {
    display: none !important;
  }
  .topbar .wrap, .topbar .wrap--full, .topbar__in {
    min-height: 34px !important;
    padding: 4px 12px !important;
  }
  .topbar__contact {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    font-size: 12px;
  }
  .topbar__contact a[data-bind-email] {
    display: none !important;
  }

  /* Header & Brand on Mobile */
  .brand__mark {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
  .brand__name {
    font-size: 20px;
  }
  .brand__tag {
    font-size: 9.5px;
  }
  .mega__cols {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  /* Hero Section on Mobile */
  .hp-hero {
    min-height: 430px;
  }
  .hp-hero__in {
    padding-top: 28px;
    padding-bottom: 24px;
  }
  .hp-hero__eyebrow {
    font-size: 12.5px;
    margin-bottom: 10px;
  }
  .hp-hero__title {
    font-size: clamp(26px, 7.5vw, 36px);
    line-height: 1.08;
    margin-bottom: 12px;
  }
  .hp-hero__lead {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 20px;
  }
  .hp-hero__btns {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
  }
  .hp-hero__btns .btn {
    width: 100%;
    justify-content: center;
    padding: 12px 18px;
  }
  .hp-hero__nav {
    padding-top: 14px;
    gap: 8px;
  }
  .hp-hero__dots {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .hp-hero__dots button:nth-child(n+5) {
    display: none;
  }

  /* Trust Bar on Mobile */
  .hp-trust__in {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .hp-trust__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    width: 100%;
  }
  .hp-trust__list a {
    font-size: 12.5px;
    padding: 6px 10px;
    justify-content: flex-start;
  }

  /* KPI Stats on Mobile */
  .hp-stats {
    padding: 24px 0;
  }
  .hp-stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .hp-stat {
    padding: 12px;
  }
  .hp-stat dd {
    font-size: 26px;
  }
  .hp-stat p {
    font-size: 12px;
  }

  /* Section Headings on Mobile */
  .hp-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 24px;
  }
  .hp-h2 {
    font-size: clamp(22px, 6.2vw, 30px);
  }
  .hp-lead, .hp-intro {
    font-size: 15px;
  }

  /* Group Overview & Value Chain on Mobile */
  .hp-group__top {
    gap: 24px;
    margin-bottom: 28px;
  }
  .hp-group__quote {
    margin-top: -16px;
    margin-left: 10px;
    margin-right: 10px;
    padding: 14px 16px;
    font-size: 13px;
  }
  .hp-btns {
    flex-direction: column;
  }
  .hp-btns .btn {
    width: 100%;
    justify-content: center;
  }

  /* Solutions Bento, Products, Industries, Projects on Mobile */
  .hp-bento {
    grid-template-columns: 1fr;
    grid-auto-rows: 210px;
    gap: 12px;
  }
  .hp-tile--xl, .hp-tile--w2 {
    grid-column: span 1;
    grid-row: span 1;
  }
  .hp-cards--4,
  .hp-projs__grid,
  .hp-offices,
  .hp-certs,
  .hp-why__grid,
  .cgrid,
  .pebgrid,
  .hp-dls__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .hp-inds__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .hp-ind {
    padding: 16px 14px;
  }
  .hp-ind strong {
    font-size: 17px;
  }
  .proj-filter-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
  }
  .proj-filter-bar input,
  .proj-filter-bar select {
    width: 100%;
    min-width: 0;
  }

  /* 3D BIM Viewer on Mobile */
  .bim-header {
    padding: 12px 14px;
  }
  .bim-tabs {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }
  .bim-tab {
    white-space: nowrap;
    font-size: 12.5px;
    padding: 6px 10px;
  }
  .bim-workspace {
    grid-template-columns: 1fr;
  }
  .bim-canvas-wrap {
    min-height: 290px;
    order: -1;
  }
  #bimCanvas3D {
    height: 290px;
  }
  .bim-toolbar {
    width: calc(100% - 16px);
    justify-content: center;
    bottom: 8px;
    padding: 5px 8px;
    gap: 6px;
  }
  .bim-tool-btn {
    font-size: 11px;
    padding: 4px 8px;
  }

  /* Footprint, Factory, Process & RFQ Form on Mobile */
  .hp-foot__kpi {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .hp-fac__facts {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .hp-steps--6 {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .rfq-box {
    padding: 18px 14px;
  }
  .rfq-steps-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .rfq-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Project Detail Page (warehouse-30x55 / GPPD Factory) on Mobile */
  .pj-hero__inner {
    padding-top: 24px;
    padding-bottom: 32px;
  }
  .pj-hero__title {
    font-size: clamp(1.65rem, 6.8vw, 2.3rem);
    margin-bottom: 12px;
  }
  .pj-hero__lead {
    font-size: 0.95rem;
  }
  .pj-hero__actions {
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
  }
  .pj-hero__actions a {
    width: 100%;
    justify-content: center;
  }
  .pj-stats__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 12px;
  }
  .pj-stats__item {
    padding: 12px 8px 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .pj-stats__item:nth-child(2n) {
    border-inline-end: 0;
  }
  .pj-block {
    padding: 20px 16px 22px;
  }
  .pj-block__no {
    font-size: 1.8rem;
    top: 14px;
    inset-inline-end: 14px;
  }
  .pj-block__title {
    padding-inline-end: 42px;
    font-size: 1.15rem;
  }
  .pj-side {
    grid-template-columns: 1fr;
  }
  .pj-gallery {
    grid-template-columns: 1fr;
  }
  .pj-gallery li {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
  }
  .footer-cta__inner {
    padding-top: 28px;
    padding-bottom: 28px;
    gap: 18px;
  }
  .footer-cta__actions {
    width: 100%;
    flex-direction: column;
  }
  .footer-cta__actions a {
    width: 100%;
    justify-content: center;
  }

  /* Footer on Mobile */
  .footer {
    padding-top: 36px;
  }
  .ft-top {
    flex-direction: column;
    gap: 20px;
    padding-bottom: 24px;
  }
  .ft-reach {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: 100%;
  }
  .ft-cols {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px 0;
  }
  .ft-offices {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .ft-base__in {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* 3. Small Mobile Phones (<= 420px) */
@media (max-width: 420px) {
  .hp-inds__grid,
  .hp-steps--6,
  .rfq-steps-bar {
    grid-template-columns: 1fr;
  }
}

