/* Brand theme (#0f2744) + typography on top of Bootstrap */
:root,
[data-bs-theme="light"] {
  --bs-primary: #0f2744;
  --bs-primary-rgb: 15, 39, 68;
  --bs-link-color: #0f2744;
  --bs-link-hover-color: #0c2138;
  --bs-primary-text-emphasis: #081829;
  --bs-primary-bg-subtle: #e8edf2;
  --bs-primary-border-subtle: #c5d0dc;
  --bs-focus-ring-color: rgba(15, 39, 68, 0.25);
  --site-btn-radius: 0.375rem;
  --site-nav-height: 4rem;
  --site-banner-offset: 4rem;
}

.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #0f2744;
  --bs-btn-border-color: #0f2744;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #0c2138;
  --bs-btn-hover-border-color: #0a1d32;
  --bs-btn-focus-shadow-rgb: 15, 39, 68;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #0a1d32;
  --bs-btn-active-border-color: #091a2d;
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #0f2744;
  --bs-btn-disabled-border-color: #0f2744;
}

.btn-outline-primary {
  --bs-btn-color: #0f2744;
  --bs-btn-border-color: #0f2744;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #0f2744;
  --bs-btn-hover-border-color: #0f2744;
  --bs-btn-focus-shadow-rgb: 15, 39, 68;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #0c2138;
  --bs-btn-active-border-color: #0a1d32;
  --bs-btn-disabled-color: #0f2744;
  --bs-btn-disabled-border-color: #0f2744;
}

.pagination {
  --bs-pagination-active-color: #fff;
  --bs-pagination-active-bg: #0f2744;
  --bs-pagination-active-border-color: #0f2744;
  --bs-pagination-focus-box-shadow: 0 0 0 0.25rem rgba(15, 39, 68, 0.25);
}

.dropdown-menu {
  --bs-dropdown-link-active-color: #fff;
  --bs-dropdown-link-active-bg: #0f2744;
}

/* ── Site buttons (unified) ── */
.btn-primary,
.btn-outline-primary,
.btn-light,
.btn-outline-light {
  border-radius: var(--site-btn-radius);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  padding: 0.5rem 1.25rem;
  text-transform: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.btn.rounded-pill,
.btn.rounded-0 {
  border-radius: var(--site-btn-radius) !important;
}
.btn-lg {
  padding: 0.625rem 1.5rem;
  font-size: 0.9375rem;
}
.btn-sm {
  padding: 0.375rem 0.875rem;
  font-size: 0.8125rem;
}
.site-btn--cta {
  white-space: nowrap;
}

body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.lang-zh {
  font-family: "Noto Sans SC", "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ── Site header / navbar ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
}
.site-navbar {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15, 39, 68, 0.08);
  box-shadow: 0 1px 0 rgba(15, 39, 68, 0.04);
  min-height: var(--site-nav-height);
  padding-top: 0;
  padding-bottom: 0;
}
.site-navbar > .container {
  min-height: var(--site-nav-height);
}
.site-navbar__brand {
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  margin-right: 1rem;
}
.site-navbar__toggler {
  border-color: rgba(15, 39, 68, 0.15);
  padding: 0.375rem 0.625rem;
}
.site-navbar__toggler:focus {
  box-shadow: 0 0 0 0.2rem var(--bs-focus-ring-color);
}
.site-navbar__nav {
  gap: 0.125rem;
}
.site-navbar__nav .nav-item {
  padding: 0;
}
.site-navbar__nav .nav-link {
  color: #4b5563;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.45rem 0.7rem;
  border-radius: 0.375rem;
  border-bottom: none !important;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.site-navbar__nav .nav-link:hover,
.site-navbar__nav .nav-link:focus {
  color: var(--bs-primary);
  background: rgba(15, 39, 68, 0.04);
}
.site-navbar__nav .nav-link.active {
  color: var(--bs-primary);
  font-weight: 600;
  background: var(--bs-primary-bg-subtle);
}
.site-navbar__dropdown {
  border-radius: 0.5rem;
  padding: 0.375rem;
  margin-top: 0.375rem;
  min-width: 12rem;
}
.site-navbar__dropdown .dropdown-item {
  border-radius: 0.3rem;
  font-size: 0.875rem;
  padding: 0.45rem 0.75rem;
}
.site-navbar__actions {
  border-top: 1px solid rgba(15, 39, 68, 0.08);
  padding-top: 0.75rem;
  margin-top: 0.5rem;
}
@media (min-width: 992px) {
  .site-navbar__nav .nav-link {
    padding: 0.4rem 0.65rem;
  }
  .site-navbar__actions {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
    margin-left: 0.75rem;
    padding-left: 1rem;
    border-left: 1px solid rgba(15, 39, 68, 0.1);
    flex-shrink: 0;
  }
}
@media (max-width: 991.98px) {
  .site-navbar .navbar-collapse {
    padding-bottom: 0.75rem;
  }
  .site-navbar__actions .site-btn--cta {
    width: 100%;
    text-align: center;
  }
}

/* ── Language switcher ── */
.language-switcher {
  gap: 0.25rem;
  font-size: 0.8125rem;
}
.language-switcher__btn {
  background: none;
  border: none;
  padding: 0.25rem 0.4rem;
  color: #6b7280;
  font-weight: 500;
  font-size: inherit;
  line-height: 1.2;
  cursor: pointer;
  border-radius: 0.25rem;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.language-switcher__btn:hover {
  color: var(--bs-primary);
  background: rgba(15, 39, 68, 0.05);
}
.language-switcher__btn--active {
  color: var(--bs-primary);
  font-weight: 700;
  cursor: default;
}
.language-switcher__sep {
  color: #d1d5db;
  user-select: none;
}

/* ── Site footer ── */
.site-footer {
  background: #0a1628;
  color: rgba(255, 255, 255, 0.88);
}
.site-footer__title {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
}
.site-footer__lead {
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 1rem;
  max-width: 28rem;
}
.site-footer__meta,
.site-footer__note {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
}
.site-footer__label {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}
.site-footer__links {
  display: grid;
  gap: 0.5rem;
}
@media (min-width: 576px) and (max-width: 991.98px) {
  .site-footer__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1rem;
  }
}
.site-footer__links a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.15s ease;
}
.site-footer__links a:hover {
  color: #fff;
}
.site-footer__contact {
  display: grid;
  gap: 0.75rem;
}
.site-footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
}
.site-footer__contact a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}
.site-footer__contact a:hover {
  color: #fff;
  text-decoration: underline;
}
.site-footer__icon {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: rgba(255, 255, 255, 0.45);
}
.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.site-footer__bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}
.site-footer__copyright {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
}
.site-footer__legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
}
.site-footer__legal a {
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
}
.site-footer__legal a:hover {
  color: #fff;
}
.site-footer__legal span {
  color: rgba(255, 255, 255, 0.25);
}
@media (min-width: 768px) {
  .site-footer__bar {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
  .site-footer__legal {
    justify-content: flex-end;
  }
}

.logo-zw {
  color: #0f2744;
}

/* Anchor targets clear sticky navbar */
main [id] {
  scroll-margin-top: calc(var(--site-nav-height) + 0.75rem);
}

/*
 * Home page — split hero + editorial bands
 */
.py-lg-6 {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}
@media (min-width: 992px) {
  .py-lg-6 {
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
  }
  .mt-lg-6 {
    margin-top: 4.5rem;
  }
}

/* Reveal motion */
.home-reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.home-reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .home-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Section headers */
.home-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
}
.home-section-head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
}
.home-section-head__kicker {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bs-primary);
}
.home-section-head__title {
  margin: 0;
  font-size: clamp(1.75rem, 2.5vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #0f2744;
}
.home-section-head__desc {
  max-width: 28rem;
  color: #5c6b7a;
  font-size: 0.975rem;
  line-height: 1.6;
}
.home-section-head--center .home-section-head__desc {
  max-width: 36rem;
}

/* Full-bleed banner carousel */
.home-banner .carousel-item {
  min-height: calc(100vh - var(--site-banner-offset));
  min-height: calc(100svh - var(--site-banner-offset));
}

.home-banner__link {
  position: relative;
  display: block;
  min-height: calc(100vh - var(--site-banner-offset));
  height: calc(100vh - var(--site-banner-offset));
  min-height: calc(100svh - var(--site-banner-offset));
  height: calc(100svh - var(--site-banner-offset));
}

@supports (height: 100dvh) {
  .home-banner .carousel-item {
    min-height: calc(100dvh - var(--site-banner-offset));
  }

  .home-banner__link {
    min-height: calc(100dvh - var(--site-banner-offset));
    height: calc(100dvh - var(--site-banner-offset));
  }
}

.home-banner__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Intro below banner */
.home-intro {
  background: #fff;
  border-bottom: 1px solid rgba(15, 39, 68, 0.08);
}
.home-intro__grid {
  display: grid;
  gap: 2.5rem;
}
.home-intro__brand {
  margin: 0 0 1rem;
  font-size: clamp(1.6rem, 2.8vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #0f2744;
}
.home-intro__lead {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #5c6b7a;
}
.home-intro__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.home-trust__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}
.home-trust__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #3d4d5c;
}
.home-trust__num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--bs-primary);
  line-height: 1.55;
}
@media (min-width: 992px) {
  .home-intro__grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: start;
  }
}

/* Hot products — 2 per row, image left / text right */
.home-hot {
  background: #fff;
}
.home-hot__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.home-hot__card {
  display: grid;
  grid-template-columns: minmax(7rem, 38%) 1fr;
  align-items: stretch;
  min-height: 8.5rem;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(15, 39, 68, 0.1);
  background: #fff;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.home-hot__card:hover,
.home-hot__card:focus-visible {
  border-color: rgba(15, 39, 68, 0.22);
  box-shadow: 0 0.5rem 1.5rem rgba(15, 39, 68, 0.08);
  color: inherit;
}
.home-hot__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  background: linear-gradient(180deg, #f3f6f9 0%, #eef2f6 100%);
  overflow: hidden;
}
.home-hot__img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 9rem;
  object-fit: contain;
  object-position: center;
  transform: scale(1);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.home-hot__card:hover .home-hot__img,
.home-hot__card:focus-visible .home-hot__img {
  transform: scale(1.05);
}
.home-hot__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 0.85rem 1rem 0.85rem 0.65rem;
}
.home-hot__cat {
  margin: 0 0 0.35rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bs-primary);
}
.home-hot__name {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: #0f2744;
}
.home-hot__summary {
  margin: 0 0 0.65rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #5c6b7a;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.home-hot__more {
  margin-top: auto;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--bs-primary);
}
@media (min-width: 768px) {
  .home-hot__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .home-hot__card {
    min-height: 10.5rem;
  }
  .home-hot__visual {
    padding: 1rem;
  }
  .home-hot__img {
    max-height: 10.5rem;
  }
  .home-hot__body {
    padding: 1.1rem 1.25rem 1.1rem 0.75rem;
  }
  .home-hot__name {
    font-size: 1.1rem;
  }
  .home-hot__summary {
    font-size: 0.875rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-hot__img {
    transition: none;
  }
  .home-hot__card:hover .home-hot__img,
  .home-hot__card:focus-visible .home-hot__img {
    transform: none;
  }
}

/* Capabilities — horizontal rows */
.home-capabilities {
  background: #f0f3f7;
  border-top: 1px solid rgba(15, 39, 68, 0.06);
  border-bottom: 1px solid rgba(15, 39, 68, 0.06);
}
.home-cap-list {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(15, 39, 68, 0.12);
}
.home-cap-list__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.25rem;
  align-items: start;
  padding: 1.35rem 0;
  border-bottom: 1px solid rgba(15, 39, 68, 0.12);
}
.home-cap-list__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  color: var(--bs-primary);
  font-size: 1.5rem;
  background: #fff;
  border: 1px solid rgba(15, 39, 68, 0.1);
}
.home-cap-list__title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f2744;
}
.home-cap-list__desc {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #5c6b7a;
}
@media (min-width: 992px) {
  .home-cap-list {
    grid-template-columns: 1fr 1fr;
    column-gap: 3rem;
  }
}

/* Manufacturing */
.home-mfg {
  background: #fff;
}
.home-mfg__grid {
  display: grid;
  gap: 2rem;
}
.home-mfg__figure {
  overflow: hidden;
  background: #e8edf2;
}
.home-mfg__img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 14rem;
  object-fit: cover;
  object-position: center;
}
.home-mfg__copy .home-section-head__title {
  margin-bottom: 1rem;
}
@media (min-width: 992px) {
  .home-mfg__grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    align-items: center;
  }
  .home-mfg__img {
    min-height: 22rem;
  }
}

/* Manufacturing timeline */
.home-timeline {
  display: grid;
  gap: 1.25rem;
  padding: 0;
}
.home-timeline__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.25rem 1.25rem 1.25rem 0;
  border-top: 1px solid rgba(15, 39, 68, 0.1);
}
.home-timeline__step {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--bs-primary);
  line-height: 1.2;
}
.home-timeline__title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  color: #0f2744;
}
.home-timeline__text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #5c6b7a;
}
@media (min-width: 768px) {
  .home-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 0 2rem;
  }
}
@media (min-width: 1200px) {
  .home-timeline {
    grid-template-columns: repeat(4, 1fr);
    gap: 0 1.5rem;
  }
}

/* Markets band */
.home-markets {
  padding: 0;
  background: #0f2744;
  color: #fff;
}
.home-markets__inner {
  display: grid;
  gap: 2.5rem;
  padding: 3.5rem 0;
}
.home-markets__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.home-markets__lead {
  margin: 0 0 1.5rem;
  max-width: 34rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
}
.home-markets__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.home-markets__list li {
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
}
.home-markets__cta {
  padding: 1.75rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.home-markets__cta-title {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  font-weight: 700;
}
.home-markets__cta-text {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}
@media (min-width: 992px) {
  .home-markets__inner {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: stretch;
    padding: 4.5rem 0;
  }
  .home-markets__cta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
  }
}

/* Certificates */
.home-certificates {
  background: #f7f9fb;
  border-bottom: 1px solid rgba(15, 39, 68, 0.06);
}
.home-certificates__track {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}
.home-certificates__figure {
  display: flex;
  min-width: 0;
}
.home-certificates__trigger {
  cursor: zoom-in;
  -webkit-tap-highlight-color: transparent;
}
.home-certificates__trigger:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(15, 39, 68, 0.35);
}
.home-certificates__frame {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 9rem;
  padding: 0.85rem;
  background: #fff;
  border: 1px solid rgba(15, 39, 68, 0.1);
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.home-certificates__trigger:hover .home-certificates__frame,
.home-certificates__trigger:focus-visible .home-certificates__frame {
  border-color: rgba(15, 39, 68, 0.28);
  transform: translateY(-2px);
}
.home-certificates__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 7.5rem;
  object-fit: contain;
  object-position: center;
}
@media (min-width: 576px) {
  .home-certificates__track {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 992px) {
  .home-certificates__track {
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
  }
  .home-certificates__frame {
    min-height: 10rem;
  }
  .home-certificates__img {
    max-height: 8.5rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-certificates__frame {
    transition: none;
  }
  .home-certificates__trigger:hover .home-certificates__frame,
  .home-certificates__trigger:focus-visible .home-certificates__frame {
    transform: none;
  }
}

/* Insights — editorial list */
.home-insights {
  background: #fff;
}
.home-insights__list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(15, 39, 68, 0.12);
}
.home-insights__row {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(15, 39, 68, 0.12);
  text-decoration: none;
  color: inherit;
  transition: background-color 0.2s ease;
}
.home-insights__row--no-cover {
  grid-template-columns: 1fr;
}
.home-insights__row:hover,
.home-insights__row:focus-visible {
  color: inherit;
}
.home-insights__cover {
  display: block;
  width: 5.5rem;
  height: 4.25rem;
  object-fit: cover;
  background: #e8edf2;
}
.home-insights__topic {
  margin: 0 0 0.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bs-primary);
}
.home-insights__title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #0f2744;
  transition: color 0.2s ease;
}
.home-insights__row:hover .home-insights__title {
  color: #0c2138;
}
.home-insights__meta {
  margin: 0;
  font-size: 0.8rem;
  color: #6c7a88;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
@media (min-width: 768px) {
  .home-insights__row {
    grid-template-columns: 9rem 1fr;
    gap: 1.5rem;
    padding: 1.5rem 0;
  }
  .home-insights__row--no-cover {
    grid-template-columns: 1fr;
  }
  .home-insights__cover {
    width: 9rem;
    height: 6.5rem;
  }
  .home-insights__title {
    font-size: 1.2rem;
  }
}

/* FAQ split */
.home-faq {
  background: #f7f9fb;
  border-top: 1px solid rgba(15, 39, 68, 0.06);
}
.home-faq__grid {
  display: grid;
  gap: 2rem;
}
.home-faq__accordion .accordion-item {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(15, 39, 68, 0.12);
}
.home-faq__accordion .accordion-button {
  background: transparent;
  box-shadow: none;
  padding-left: 0;
  padding-right: 0;
  color: #0f2744;
}
.home-faq__accordion .accordion-button:not(.collapsed) {
  background: transparent;
  color: #0f2744;
  box-shadow: none;
}
.home-faq__accordion .accordion-body {
  padding-left: 0;
  padding-right: 0;
}
@media (min-width: 992px) {
  .home-faq__grid {
    grid-template-columns: minmax(14rem, 0.7fr) 1.3fr;
    gap: 3.5rem;
    align-items: start;
  }
  .home-faq__head {
    position: sticky;
    top: calc(var(--site-nav-height) + 1.5rem);
  }
}

/* Quote band */
.home-quote {
  padding: 0 0 4rem;
  background: #f7f9fb;
}
.home-quote__panel {
  display: grid;
  gap: 2rem;
  padding: 2.25rem 1.5rem;
  background:
    radial-gradient(ellipse 70% 50% at 90% 10%, rgba(255, 255, 255, 0.08), transparent 50%),
    linear-gradient(145deg, #143255 0%, #0f2744 55%, #0a1d32 100%);
  color: #fff;
}
.home-quote__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.home-quote__lead {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
}
.home-quote__note {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}
.home-quote__form .form-label {
  color: rgba(255, 255, 255, 0.85);
}
.home-quote__form .form-control {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.home-quote__form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.45);
}
.home-quote__form .form-control:focus {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.12);
}
@media (min-width: 992px) {
  .home-quote {
    padding-bottom: 5rem;
  }
  .home-quote__panel {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 3rem;
    padding: 3rem;
    align-items: center;
  }
}

/* Home: certificate lightbox (modal) */
.certificate-lightbox-dialog {
  max-width: min(94vw, 52rem);
}
.certificate-lightbox-content {
  overflow: hidden;
  border-radius: 0.75rem;
}
.certificate-lightbox-header {
  background: #0f2744;
}
.certificate-lightbox-close {
  filter: invert(1) grayscale(100%);
  opacity: 0.9;
}
.certificate-lightbox-close:hover {
  opacity: 1;
}
.certificate-lightbox-body {
  background: #f8fafc;
  min-height: 10rem;
}
.certificate-lightbox__img {
  width: auto;
  max-width: 100%;
  max-height: min(82vh, 880px);
  height: auto;
  object-fit: contain;
}
@media (max-width: 575.98px) {
  .modal-fullscreen-sm-down .certificate-lightbox-content {
    border-radius: 0;
  }
  .modal-fullscreen-sm-down .certificate-lightbox__img {
    max-height: min(72vh, 1200px);
  }
}

/* Pagination: visible gaps between items (Bootstrap joins items by default) */
.pagination.pagination-spaced {
  gap: 0.5rem;
}
.pagination.pagination-spaced .page-item .page-link {
  margin-left: 0;
}

/* Rich text from TinyMCE / admin (|safe) — keep layout inside container */
.product-detail-html {
  overflow-x: auto;
  font-size: 0.95rem;
  line-height: 1.6;
}
.product-detail-html img,
.product-detail-html video,
.product-detail-html iframe {
  max-width: 100%;
  height: auto;
}
.product-detail-html table {
  width: 100% !important;
  max-width: 100%;
}

/* About page */
.about-hero {
  position: relative;
  background: linear-gradient(135deg, #0a1d32 0%, #0f2744 55%, #152f52 100%);
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(2.5rem, 6vw, 4rem);
  overflow: hidden;
}
.about-hero__pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 20px 20px;
  mask-image: linear-gradient(to bottom, black 30%, transparent 95%);
  -webkit-mask-image: linear-gradient(to bottom, black 30%, transparent 95%);
  pointer-events: none;
}
.about-hero__eyebrow {
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.65);
}
.about-hero__title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.about-hero__lead {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(255, 255, 255, 0.78);
  max-width: 36rem;
}
.about-hero__stat {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.5rem;
  padding: 1rem 0.75rem;
  text-align: center;
  height: 100%;
}
.about-hero__stat-num {
  display: block;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  line-height: 1.2;
}
.about-hero__stat-label {
  display: block;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.25rem;
  line-height: 1.3;
}

.about-story__figure img {
  border-radius: 0.5rem;
  box-shadow: 0 1rem 3rem rgba(15, 39, 68, 0.12);
}
.about-story__quote {
  font-size: 1.1rem;
}

.about-pillar {
  position: relative;
  background: #fff;
  border: 1px solid var(--bs-border-color, #dee2e6);
  border-radius: 0.5rem;
  padding: 2rem 1.5rem 1.75rem;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.about-pillar:hover {
  box-shadow: 0 0.75rem 2rem rgba(15, 39, 68, 0.1);
  transform: translateY(-2px);
}
.about-pillar__num {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(15, 39, 68, 0.06);
  user-select: none;
}
.about-pillar__icon .mdi {
  line-height: 1;
}

.about-timeline__list {
  position: relative;
  padding-left: 0.25rem;
}
.about-timeline__item {
  position: relative;
  padding-left: 2rem;
  padding-bottom: 2rem;
}
.about-timeline__item--last {
  padding-bottom: 0;
}
.about-timeline__item::before {
  content: "";
  position: absolute;
  left: 0.4rem;
  top: 0.5rem;
  bottom: 0;
  width: 2px;
  background: var(--bs-primary-bg-subtle, #e8edf2);
}
.about-timeline__item--last::before {
  display: none;
}
.about-timeline__marker {
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--bs-primary);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--bs-primary-bg-subtle, #e8edf2);
}

.about-manifesto__text {
  font-size: clamp(1.25rem, 2.8vw, 1.65rem);
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.about-bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.about-bento__cell {
  background: #fff;
  border: 1px solid var(--bs-border-color, #dee2e6);
  border-radius: 0.5rem;
  padding: 1.5rem;
  height: 100%;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.about-bento__cell:hover {
  border-color: var(--bs-primary-border-subtle, #c5d0dc);
  box-shadow: 0 0.5rem 1.5rem rgba(15, 39, 68, 0.08);
}
.about-bento__icon .mdi {
  line-height: 1;
}
@media (max-width: 991.98px) {
  .about-bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 575.98px) {
  .about-bento {
    grid-template-columns: 1fr;
  }
}

.about-certs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.about-certs__item {
  background: #fff;
  border: 1px solid var(--bs-border-color, #dee2e6);
  border-radius: 0.375rem;
  padding: 0.5rem;
  text-align: center;
}
.about-certs__item img {
  max-height: 7rem;
  width: auto;
  object-fit: contain;
}
@media (max-width: 575.98px) {
  .about-certs__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.about-gallery__tile {
  height: 8rem;
  margin: 0;
}
.about-gallery__tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (min-width: 768px) {
  .about-gallery__tile {
    height: 18rem;
  }
}

.about-team__card {
  background: #fff;
  border: 1px solid var(--bs-border-color, #dee2e6);
  border-radius: 0.5rem;
  padding: 0.75rem;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.about-team__card:hover {
  border-color: var(--bs-primary-border-subtle, #c5d0dc);
  box-shadow: 0 0.5rem 1.5rem rgba(15, 39, 68, 0.08);
}
.about-team__media {
  aspect-ratio: 16 / 10;
  background: #f3f4f6;
}
.about-team__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-team__caption {
  line-height: 1.55;
  padding: 0 0.25rem 0.25rem;
}

.about-stats-band {
  background: linear-gradient(135deg, #0a1d32 0%, #0f2744 100%);
}
.about-stats-band__col:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
@media (min-width: 768px) {
  .about-stats-band__col:not(:last-child) {
    border-bottom: none;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
  }
}

.about-cta__panel {
  background: var(--bs-primary-bg-subtle, #e8edf2);
  border: 1px solid var(--bs-primary-border-subtle, #c5d0dc);
}

.about-value-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.about-value-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.75rem 2rem rgba(15, 39, 68, 0.12) !important;
}
.about-value-card__icon .mdi {
  line-height: 1;
  vertical-align: middle;
}

/* Shared value-card panel (OEM page) */
.about-core-values__rule {
  width: 3rem;
  height: 3px;
  background: var(--bs-primary);
  border-radius: 2px;
}
.about-core-values__grid-panel {
  background-color: #fff;
  background-image: radial-gradient(rgba(15, 39, 68, 0.07) 1px, transparent 1px);
  background-size: 14px 14px;
  box-shadow: 0 0.5rem 2rem rgba(15, 39, 68, 0.08);
}

.insight-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.insight-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.75rem 2rem rgba(15, 39, 68, 0.12) !important;
}
.insight-card__cover {
  height: 180px;
}
.insight-article-body h2,
.insight-article-body h3 {
  color: var(--bs-body-color);
  font-weight: 700;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}
.insight-article-body table {
  margin: 1rem 0;
}

/* Legal pages (privacy, terms) */
.legal-page section {
  max-width: 48rem;
}
.legal-page h2 {
  margin-top: 0.25rem;
}

/* OEM page: workflow step numbers */
.oem-step-badge {
  width: 2.75rem;
  height: 2.75rem;
  font-size: 1.1rem;
  line-height: 1;
}

/* Contact page: embedded map (iframe inside .ratio) */

.contact-map-frame {
  position: relative;
}
.contact-map-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.contact-map-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  text-align: center;
  color: var(--bs-secondary-color, #6c757d);
  background: #f8f9fa;
  font-size: 0.875rem;
}
.contact-map-marker span {
  display: block;
  width: 1.75rem;
  height: 1.75rem;
  margin: 0 auto;
  border-radius: 50% 50% 50% 0;
  background: #0f2744;
  border: 2px solid #fff;
  box-shadow: 0 0.15rem 0.45rem rgba(15, 39, 68, 0.35);
  transform: rotate(-45deg);
}
.contact-map-frame:focus-within {
  outline: 0.2rem solid rgba(15, 39, 68, 0.45);
  outline-offset: 0.15rem;
}

.about-stat__suffix {
  font-weight: inherit;
}
@media (prefers-reduced-motion: reduce) {
  .about-pillar,
  .about-value-card,
  .about-bento__cell {
    transition: none;
  }
  .about-pillar:hover,
  .about-value-card:hover {
    transform: none;
  }
}
