:root {
  --brand-blue: #0b5e8e;
  --brand-blue-dark: #073859;
  --brand-deep: #061d2f;
  --brand-green: #1c9a52;
  --brand-green-light: #27b865;
  --brand-teal: #0e8088;
  --brand-gold: #c89b3c;
  --bg-page: #ffffff;
  --bg-soft: #f4f9f8;
  --bg-ice: #edf5f8;
  --text-main: #0f2233;
  --text-muted: #506578;
  --text-light: #8da4b8;
  --border-subtle: rgba(11, 94, 142, 0.12);
  --border-strong: rgba(11, 94, 142, 0.24);
  --shadow-sm: 0 4px 14px rgba(6, 29, 47, 0.06);
  --shadow-md: 0 12px 32px rgba(6, 29, 47, 0.09);
  --shadow-lg: 0 22px 54px rgba(6, 29, 47, 0.16);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --nav-height: 76px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 12px);
}

body {
  font-family: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text-main);
  background: var(--bg-page);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Sticky Top Navigation ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: box-shadow 0.25s ease;
}

.site-header.scrolled {
  box-shadow: 0 6px 24px rgba(6, 29, 47, 0.08);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo-wrap {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  padding: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.brand-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--brand-deep);
  letter-spacing: -0.01em;
}

.brand-sub {
  font-size: 11px;
  font-weight: 600;
  color: var(--brand-green);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 8px 11px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--brand-blue);
  background: rgba(11, 94, 142, 0.07);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.lang-switcher {
  display: inline-flex;
  background: var(--bg-ice);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 3px;
}

.lang-btn {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.lang-btn.active {
  background: var(--brand-blue);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(11, 94, 142, 0.25);
}

.btn-wa-mini {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand-green);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}

.btn-wa-mini:hover {
  background: #157d41;
  transform: translateY(-1px);
}

.btn-admin-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 7px 10px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  transition: all 0.2s;
}

.btn-admin-link:hover {
  color: var(--brand-blue);
  border-color: var(--brand-blue);
}

.mobile-menu-btn {
  display: none;
  border: 1px solid var(--border-subtle);
  background: #ffffff;
  border-radius: 8px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--brand-deep);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14.5px;
  padding: 13px 24px;
  border-radius: 10px;
  border: none;
  transition: all 0.22s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-green), #148042);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(28, 154, 82, 0.32);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(28, 154, 82, 0.42);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--brand-blue);
  border: 1.5px solid var(--brand-blue);
}

.btn-outline:hover {
  background: var(--brand-blue);
  color: #ffffff;
}

/* ---- Section 1: Hero Banner ---- */
.hero-section {
  position: relative;
  min-height: 670px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: var(--brand-deep);
  background-image: url("/static/images/hero-banner.jpg");
  background-size: cover;
  background-position: center right;
  color: #ffffff;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    96deg,
    rgba(5, 24, 39, 0.92) 0%,
    rgba(6, 34, 56, 0.80) 44%,
    rgba(7, 48, 70, 0.34) 76%,
    rgba(10, 68, 78, 0.15) 100%
  );
}

.hero-content-wrap {
  position: relative;
  z-index: 2;
  padding: 78px 0 46px;
}

.hero-text-col {
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(28, 154, 82, 0.18);
  border: 1px solid rgba(63, 217, 131, 0.42);
  color: #aef7cb;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 22px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3ee082;
  box-shadow: 0 0 10px #3ee082;
}

.hero-title {
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
  color: #ffffff;
}

.hero-title .accent {
  background: linear-gradient(90deg, #5ff0a0, #5fd6ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 16.5px;
  line-height: 1.72;
  color: rgba(232, 244, 250, 0.88);
  margin-bottom: 32px;
  max-width: 610px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}

.hero-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: rgba(6, 29, 47, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  border-radius: var(--radius-md);
  padding: 20px 24px;
}

.hero-kpi-item {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  padding-right: 14px;
}

.hero-kpi-item:last-child {
  border-right: none;
  padding-right: 0;
}

.hero-kpi-val {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 4px;
}

.hero-kpi-val span {
  color: #5ff0a0;
}

.hero-kpi-lbl {
  font-size: 12.5px;
  color: rgba(218, 236, 245, 0.78);
  font-weight: 500;
}

/* ---- Generic Section Styling ---- */
.section {
  padding: 88px 0;
}

.section-soft {
  background: var(--bg-soft);
}

.section-ice {
  background: var(--bg-ice);
}

.section-dark {
  background: linear-gradient(155deg, #061d2f 0%, #0a314c 60%, #0b4642 100%);
  color: #ffffff;
}

.section-header {
  max-width: 780px;
  margin-bottom: 48px;
}

.section-header.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--brand-green);
  margin-bottom: 10px;
}

.section-dark .section-eyebrow {
  color: #63eea0;
}

.section-title {
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.72;
}

.section-dark .section-subtitle {
  color: rgba(226, 240, 248, 0.8);
}

/* ---- Section 2: Company Introduction ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 44px;
  align-items: start;
}

.about-lead {
  font-size: 16px;
  color: var(--text-main);
  line-height: 1.8;
  margin-bottom: 18px;
}

.about-body {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

.rd-card {
  background: linear-gradient(135deg, #eef8f4 0%, #edf6fb 100%);
  border: 1px solid rgba(28, 154, 82, 0.22);
  border-left: 4px solid var(--brand-green);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  margin-bottom: 24px;
}

.rd-card-title {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--brand-deep);
  margin-bottom: 8px;
}

.rd-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.patent-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.patent-pill {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  box-shadow: var(--shadow-sm);
}

.patent-code {
  font-size: 12px;
  font-weight: 800;
  color: var(--brand-blue);
  margin-bottom: 3px;
}

.patent-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.4;
}

.video-showcase-card {
  background: var(--brand-deep);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(11, 94, 142, 0.18);
  margin-bottom: 22px;
}

.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #041320;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-caption-bar {
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 600;
}

.video-tag {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(28, 154, 82, 0.25);
  color: #82f4b3;
}

.milestone-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.milestone-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.milestone-year {
  font-size: 20px;
  font-weight: 800;
  color: var(--brand-blue);
  line-height: 1.1;
  margin-bottom: 6px;
}

.milestone-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Motto Banner & Official Certificates Gallery */
.motto-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  background: linear-gradient(90deg, rgba(11, 94, 142, 0.08), rgba(28, 154, 82, 0.1));
  border: 1px solid rgba(11, 94, 142, 0.16);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  margin-bottom: 22px;
}

.motto-badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--brand-blue);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.motto-text {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-deep);
}

.certs-showcase {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
}

.certs-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}

.certs-controls-right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.certs-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cert-tab-btn {
  border: 1px solid var(--border-subtle);
  background: var(--bg-soft);
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 13px;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.cert-tab-btn:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

.cert-tab-btn.active {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(11, 94, 142, 0.22);
}

.btn-certs-all {
  border: 1px solid var(--brand-green);
  background: rgba(28, 154, 82, 0.08);
  color: #116f39;
  font-size: 12.5px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 999px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-certs-all:hover {
  background: var(--brand-green);
  color: #ffffff;
}

.certs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.cert-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.cert-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(11, 94, 142, 0.34);
}

.cert-thumb {
  aspect-ratio: 16 / 11;
  background: #f2f7fa;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.cert-thumb img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(6, 29, 47, 0.1);
  transition: transform 0.35s ease;
}

.cert-card:hover .cert-thumb img {
  transform: scale(1.04);
}

.cert-zoom-hint {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(6, 29, 47, 0.78);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  opacity: 0;
  transition: opacity 0.2s;
}

.cert-card:hover .cert-zoom-hint {
  opacity: 1;
}

.cert-card-meta {
  padding: 11px 13px;
  border-top: 1px solid var(--border-subtle);
}

.cert-card-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--brand-deep);
  line-height: 1.3;
  margin-bottom: 3px;
}

.cert-card-code {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--brand-green);
}

.certs-all-modal-body {
  padding: 20px 26px 28px;
  clear: both;
}

.certs-all-modal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 16px;
}

/* OEM / ODM / OBM Service Modes */
.service-modes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 34px;
}

.service-mode-card {
  background: linear-gradient(155deg, #061d2f 0%, #0a3554 100%);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 26px 24px;
  border: 1px solid rgba(95, 240, 160, 0.22);
  box-shadow: var(--shadow-md);
}

.service-mode-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(28, 154, 82, 0.28);
  color: #7df5b0;
  margin-bottom: 12px;
}

.service-mode-card h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
  color: #ffffff;
}

.service-mode-card p {
  font-size: 13.8px;
  color: rgba(224, 240, 248, 0.84);
  line-height: 1.68;
}

/* Certificate Lightbox Modal */
.cert-lightbox-body {
  padding: 18px 26px 26px;
  clear: both;
  text-align: center;
}

.cert-lightbox-body img {
  margin: 0 auto 14px;
  max-height: 70vh;
  width: auto;
  border-radius: 10px;
  box-shadow: var(--shadow-md);
}

.cert-lightbox-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--brand-deep);
  margin-bottom: 4px;
}

.cert-lightbox-code {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--brand-green);
}

/* ---- Section 3: Company Advantages ---- */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 42px;
}

.pillar-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s, box-shadow 0.22s;
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-green));
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pillar-num {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(11, 94, 142, 0.12), rgba(28, 154, 82, 0.14));
  color: var(--brand-blue);
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.pillar-card h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--brand-deep);
}

.pillar-card p {
  font-size: 14.2px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Scientific Data Dashboard */
.science-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  margin-bottom: 42px;
}

.science-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.science-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 22px;
}

.science-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--brand-deep);
}

.science-source-tag {
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-ice);
  color: var(--brand-blue);
  white-space: nowrap;
}

.mw-bar-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mw-row-top {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 6px;
}

.mw-track {
  width: 100%;
  height: 12px;
  background: #e6eff4;
  border-radius: 999px;
  overflow: hidden;
}

.mw-fill {
  height: 100%;
  border-radius: 999px;
}

.mw-fill.primary {
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-green));
}

.mw-fill.secondary {
  background: linear-gradient(90deg, #1b88b8, #30b588);
}

.mw-fill.muted {
  background: #9fb3c4;
}

.mw-total-banner {
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(11, 94, 142, 0.08), rgba(28, 154, 82, 0.1));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--brand-deep);
}

.mw-total-banner strong {
  font-size: 22px;
  color: var(--brand-green);
}

.hyp-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 20px;
}

.hyp-box {
  border-radius: var(--radius-md);
  padding: 18px;
  text-align: center;
}

.hyp-box.jiarun {
  background: linear-gradient(145deg, var(--brand-blue-dark), var(--brand-blue));
  color: #ffffff;
}

.hyp-box.market {
  background: var(--bg-ice);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
}

.hyp-val {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 6px;
}

.hyp-box.jiarun .hyp-val {
  color: #6af0a4;
}

.hyp-label {
  font-size: 12.5px;
  font-weight: 600;
}

.quality-mini-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quality-mini-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-muted);
}

.quality-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(28, 154, 82, 0.14);
  color: var(--brand-green);
  font-weight: 800;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Comparison Table */
.compare-table-wrap {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.compare-table-header {
  padding: 20px 26px;
  background: var(--brand-deep);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.compare-table-header h3 {
  font-size: 18px;
  font-weight: 800;
}

.compare-table-scroll {
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

.compare-table th,
.compare-table td {
  padding: 15px 22px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 14px;
  vertical-align: top;
}

.compare-table thead th {
  background: #f1f7fa;
  font-weight: 800;
  color: var(--brand-deep);
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.compare-table thead th.col-jiarun {
  background: rgba(28, 154, 82, 0.12);
  color: #116f39;
}

.compare-table td.col-dim {
  font-weight: 700;
  color: var(--brand-deep);
  width: 24%;
}

.compare-table td.col-jiarun {
  background: rgba(28, 154, 82, 0.04);
  font-weight: 600;
  color: #0e4a27;
  width: 42%;
}

.compare-table td.col-market {
  color: var(--text-muted);
  width: 34%;
}

.compare-table tbody tr:last-child td {
  border-bottom: none;
}

/* ---- Section 4: Level-1 Category Showcase Cards (Homepage) ---- */
.category-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.category-hero-card {
  position: relative;
  min-height: 360px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 30px;
  color: #ffffff;
  background-color: var(--brand-deep);
  border: 1px solid rgba(11, 94, 142, 0.16);
  box-shadow: var(--shadow-md);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.category-hero-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.category-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  z-index: 0;
}

.category-hero-card:hover .category-hero-bg {
  transform: scale(1.06);
}

.category-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(6, 29, 47, 0.36) 0%,
    rgba(6, 29, 47, 0.68) 46%,
    rgba(5, 23, 38, 0.94) 100%
  );
  transition: background 0.3s ease;
}

.category-hero-card:hover .category-hero-overlay {
  background: linear-gradient(
    180deg,
    rgba(6, 29, 47, 0.24) 0%,
    rgba(7, 44, 68, 0.62) 44%,
    rgba(6, 35, 52, 0.92) 100%
  );
}

.category-hero-top,
.category-hero-bottom {
  position: relative;
  z-index: 2;
}

.category-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.category-idx-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(6, 29, 47, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #7df5b0;
}

.category-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(8px);
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
}

.category-hero-title {
  font-size: clamp(22px, 2.2vw, 27px);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 10px;
  color: #ffffff;
}

.category-hero-desc {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(232, 244, 250, 0.88);
  margin-bottom: 16px;
  max-width: 520px;
}

.category-sub-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.category-sub-chip {
  font-size: 12px;
  font-weight: 600;
  color: #e9f9f0;
  background: rgba(28, 154, 82, 0.28);
  border: 1px solid rgba(114, 240, 168, 0.36);
  padding: 4px 11px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.category-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
  color: #7df5b0;
  transition: transform 0.2s ease, color 0.2s ease;
}

.category-hero-card:hover .category-hero-cta {
  color: #ffffff;
  transform: translateX(4px);
}

.category-all-bar {
  margin-top: 32px;
  text-align: center;
}

/* ---- Dedicated /products Page Header & Secondary Category Groups ---- */
.catalog-page-hero {
  position: relative;
  padding: 54px 0 46px;
  background-color: var(--brand-deep);
  background-size: cover;
  background-position: center;
  color: #ffffff;
  overflow: hidden;
}

.catalog-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(6, 29, 47, 0.93) 0%,
    rgba(9, 54, 84, 0.86) 58%,
    rgba(12, 84, 72, 0.72) 100%
  );
}

.catalog-page-hero .container {
  position: relative;
  z-index: 2;
}

.catalog-breadcrumb-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.btn-back-home {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  transition: background 0.2s;
}

.btn-back-home:hover {
  background: rgba(255, 255, 255, 0.24);
}

.subcat-sections-wrap {
  display: flex;
  flex-direction: column;
  gap: 44px;
}

.subcat-group-block {
  scroll-margin-top: calc(var(--nav-height) + 18px);
}

.subcat-group-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-bottom: 14px;
  margin-bottom: 22px;
  border-bottom: 2px solid rgba(11, 94, 142, 0.14);
}

.subcat-group-parent {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-green);
  margin-bottom: 4px;
}

.subcat-group-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--brand-deep);
  line-height: 1.25;
}

.subcat-group-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 6px;
  max-width: 760px;
}

.subcat-group-badge {
  font-size: 12.5px;
  font-weight: 800;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--bg-ice);
  color: var(--brand-blue);
  white-space: nowrap;
}

/* ---- Section 4: Products Catalog Controls ---- */
.catalog-controls {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
}

.cat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 16px;
}

.cat-tab {
  border: 1px solid var(--border-subtle);
  background: var(--bg-soft);
  color: var(--text-main);
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.cat-tab:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

.cat-tab.active {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(11, 94, 142, 0.24);
}

.cat-count {
  font-size: 11.5px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(11, 94, 142, 0.12);
  color: var(--brand-blue);
}

.cat-tab.active .cat-count {
  background: rgba(255, 255, 255, 0.24);
  color: #ffffff;
}

.subcat-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.subcat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1;
}

.subcat-pill {
  border: 1px solid var(--border-subtle);
  background: #ffffff;
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: 999px;
  transition: all 0.2s;
}

.subcat-pill:hover {
  border-color: var(--brand-green);
  color: var(--brand-green);
}

.subcat-pill.active {
  background: rgba(28, 154, 82, 0.12);
  border-color: var(--brand-green);
  color: #106a36;
  font-weight: 700;
}

.catalog-search-box {
  position: relative;
  min-width: 240px;
}

.catalog-search-box input {
  width: 100%;
  padding: 9px 14px 9px 36px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  font-size: 13.5px;
  color: var(--text-main);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.catalog-search-box input:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(11, 94, 142, 0.12);
}

.catalog-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  pointer-events: none;
}

.active-filter-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 13.5px;
  color: var(--text-muted);
}

.btn-reset-filter {
  border: none;
  background: transparent;
  color: var(--brand-blue);
  font-weight: 700;
  font-size: 13px;
  text-decoration: underline;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(11, 94, 142, 0.28);
}

.product-thumb-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #f0f6f8;
  overflow: hidden;
}

.product-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.product-card:hover .product-thumb-wrap img {
  transform: scale(1.05);
}

.product-sku-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(6, 29, 47, 0.84);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 999px;
}

.product-photo-count {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand-deep);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.product-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-subcat-tag {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--brand-green);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.product-title {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--brand-deep);
  line-height: 1.35;
  margin-bottom: 8px;
}

.product-mw-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-blue);
  background: var(--bg-ice);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 10px;
  align-self: flex-start;
}

.product-summary {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  gap: 10px;
}

.product-app-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.app-mini-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: #edf5f1;
  color: #166e3d;
}

.product-detail-cta {
  font-size: 13px;
  font-weight: 800;
  color: var(--brand-blue);
  white-space: nowrap;
}

.empty-state {
  text-align: center;
  padding: 56px 24px;
  background: #ffffff;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
  color: var(--text-muted);
}

/* ---- Section 5: Production Workshop ---- */
.workshop-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 34px;
}

.workshop-stat {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.workshop-stat strong {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: var(--brand-blue);
  margin-bottom: 4px;
}

.workshop-stat span {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}

.workshop-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.workshop-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.24s, box-shadow 0.24s;
}

.workshop-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.workshop-img-wrap {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
}

.workshop-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.workshop-card:hover .workshop-img-wrap img {
  transform: scale(1.04);
}

.workshop-step-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(6, 29, 47, 0.85);
  color: #7df5b0;
  font-size: 11.5px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 999px;
}

.workshop-card-body {
  padding: 22px 24px;
}

.workshop-card-body h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--brand-deep);
  margin-bottom: 8px;
}

.workshop-card-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---- Section 6: Service Industries ---- */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.industry-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.24s, box-shadow 0.24s;
}

.industry-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.industry-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.industry-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.industry-card:hover .industry-img img {
  transform: scale(1.05);
}

.industry-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.industry-num {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--brand-green);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.industry-body h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--brand-deep);
  margin-bottom: 10px;
}

.industry-body p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 14px;
  flex: 1;
}

.industry-bullets {
  list-style: none;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.industry-bullets li {
  font-size: 12.5px;
  color: var(--text-main);
  font-weight: 600;
  padding-left: 16px;
  position: relative;
}

.industry-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-green);
}

.industry-filter-btn {
  border: 1px solid var(--border-strong);
  background: var(--bg-soft);
  color: var(--brand-blue);
  font-size: 13px;
  font-weight: 700;
  padding: 9px 14px;
  border-radius: 9px;
  width: 100%;
  transition: all 0.2s;
}

.industry-filter-btn:hover {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #ffffff;
}

/* ---- Section 7: Cooperation Process ---- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.process-step {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.process-step-num {
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  color: rgba(11, 94, 142, 0.16);
  margin-bottom: 12px;
}

.process-step h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--brand-deep);
  margin-bottom: 8px;
}

.process-step p {
  font-size: 13.8px;
  color: var(--text-muted);
  line-height: 1.68;
}

/* ---- Section 8: Contact (NO Online Form) ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: stretch;
}

.contact-wa-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(95, 240, 160, 0.34);
  border-radius: var(--radius-lg);
  padding: 36px;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.wa-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(28, 154, 82, 0.25);
  color: #7ef7b4;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 999px;
  align-self: flex-start;
  margin-bottom: 18px;
}

.wa-number-display {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.contact-wa-desc {
  font-size: 15px;
  color: rgba(226, 242, 250, 0.84);
  line-height: 1.7;
  margin-bottom: 26px;
}

.contact-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-info-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  flex: 1;
}

.contact-info-label {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #7ef7b4;
  margin-bottom: 6px;
}

.contact-info-val {
  font-size: 15.5px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.55;
}

.contact-info-sub {
  font-size: 13px;
  color: rgba(212, 232, 244, 0.76);
  margin-top: 6px;
}

/* ---- Footer ---- */
.site-footer {
  background: #041320;
  color: rgba(215, 232, 242, 0.72);
  padding: 40px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #ffffff;
  padding: 3px;
  object-fit: contain;
}

.footer-brand strong {
  display: block;
  color: #ffffff;
  font-size: 15px;
}

.footer-brand span {
  font-size: 12px;
  color: rgba(215, 232, 242, 0.65);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
  font-weight: 600;
}

.footer-links a:hover {
  color: #7ef7b4;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
}

/* ---- Product Detail Modal & Video Modal ---- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(4, 19, 32, 0.74);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-dialog {
  background: #ffffff;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 1020px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
  position: relative;
}

.modal-close {
  position: sticky;
  top: 14px;
  float: right;
  margin: 14px 14px 0 0;
  z-index: 5;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.94);
  color: var(--brand-deep);
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: var(--brand-deep);
  color: #ffffff;
}

.product-modal-body {
  padding: 32px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 32px;
  clear: both;
}

.gallery-main {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #f0f6f8;
  border: 1px solid var(--border-subtle);
  margin-bottom: 12px;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(6, 29, 47, 0.72);
  color: #ffffff;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-nav-btn.prev { left: 10px; }
.gallery-nav-btn.next { right: 10px; }

.gallery-caption {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 10px;
  min-height: 18px;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.gallery-thumb {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.72;
  transition: all 0.2s;
  padding: 0;
  background: none;
}

.gallery-thumb.active,
.gallery-thumb:hover {
  opacity: 1;
  border-color: var(--brand-green);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-breadcrumb {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-green);
  margin-bottom: 6px;
}

.modal-prod-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--brand-deep);
  line-height: 1.3;
  margin-bottom: 10px;
}

.modal-prod-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.72;
  margin-bottom: 18px;
}

.modal-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 20px;
}

.modal-highlights li {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--brand-deep);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.modal-specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 22px;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  overflow: hidden;
}

.modal-specs-table th,
.modal-specs-table td {
  padding: 10px 12px;
  font-size: 13px;
  border-bottom: 1px solid var(--border-subtle);
  text-align: left;
}

.modal-specs-table th {
  width: 38%;
  background: var(--bg-soft);
  color: var(--brand-deep);
  font-weight: 700;
}

.modal-specs-table td {
  color: var(--text-main);
  font-weight: 600;
}

.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 3000;
  background: var(--brand-deep);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: all 0.25s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .main-nav {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border-subtle);
    flex-direction: column;
    align-items: stretch;
    padding: 14px 24px;
    box-shadow: var(--shadow-md);
  }
  .main-nav.open {
    display: flex;
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .hero-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-kpi-item {
    border-right: none;
    padding-right: 0;
  }
  .about-grid,
  .science-grid,
  .workshop-grid,
  .contact-grid,
  .product-modal-body,
  .category-showcase-grid {
    grid-template-columns: 1fr;
  }
  .category-hero-card {
    min-height: 310px;
  }
  .pillar-grid,
  .process-grid,
  .service-modes-grid {
    grid-template-columns: 1fr;
  }
  .certs-grid,
  .certs-all-modal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .workshop-stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .btn-wa-mini span.wa-label-hide {
    display: none;
  }
}

@media (max-width: 600px) {
  .product-grid,
  .industries-grid,
  .patent-grid,
  .milestone-grid {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 64px 0;
  }
}
