/* ============================================================
   Manford · International Industrial Brand
   Style: Industrial dark + steel/silver + Manford red accent
   ============================================================ */

/* ---------- 1. Reset + Variables ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

:root {
  /* Primary palette — industrial dark */
  --ink:        #0a0c10;
  --steel-950:  #0f1218;
  --steel-900:  #14181f;   /* deepest dark surface */
  --steel-800:  #1a1f28;   /* header / hero bg */
  --steel-700:  #232932;
  --steel-600:  #2d343f;
  --steel-500:  #3a424f;
  --steel-400:  #5a6470;   /* mute */
  --steel-300:  #8b94a0;   /* silver */
  --steel-200:  #b8bec7;
  --steel-100:  #d9dde3;
  --steel-50:   #f1f3f5;   /* off-white surface */
  --white:      #ffffff;

  /* Lines */
  --line-dark:  #262c35;
  --line-mid:   #3a424f;
  --line-soft:  #e5e7eb;
  --line-light: #f0f2f5;

  /* Brand accent — sampled from Manford logo */
  --brand:      #d8252c;
  --brand-dark: #b81e25;
  --brand-soft: #f6e0e1;

  /* Subtle tech accent (use sparingly) */
  --tech-blue:  #2a78d4;

  /* Scrollbar */
  --sb-thumb:       #d4d1ca;
  --sb-thumb-hover: #9a978f;

  /* Misc */
  --shadow-sm:  0 1px 2px rgba(15,18,24,0.08);
  --shadow-md:  0 8px 24px rgba(15,18,24,0.10);
  --shadow-lg:  0 20px 50px rgba(15,18,24,0.18);
  --ease:       cubic-bezier(.22,.61,.36,1);
}

/* ---------- 2. Fonts ---------- */
body {
  font-family: "Inter", -apple-system, "Segoe UI", "Noto Sans TC", "Microsoft JhengHei", "PingFang TC", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.zh {
  font-family: "Noto Sans TC", "Inter", "PingFang TC", "Microsoft JhengHei", sans-serif;
  letter-spacing: 0.01em;
}
body.zh h1, body.zh h2, body.zh h3 {
  letter-spacing: 0.01em;
  line-height: 1.32;
}
body.zh .hero-title { letter-spacing: 0.02em; line-height: 1.22; }

h1, h2, h3, h4, h5, h6 {
  font-family: "Inter", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.18;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(36px, 5vw, 64px); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 700; }
h3 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; }
h4 { font-size: 18px; font-weight: 700; }

p { margin: 0 0 1em; }

.kicker, .section-kicker {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.32em;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 16px;
}

::selection { background: var(--brand); color: #fff; }

/* ---------- 3. Layout primitives ---------- */
.shell { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.shell-wide { max-width: 1440px; margin: 0 auto; padding: 0 32px; }
.shell-narrow { max-width: 980px; margin: 0 auto; padding: 0 32px; }

.section { padding: 110px 0; }
.section-sm { padding: 70px 0; }
.section-lg { padding: 140px 0; }
.section.alt { background: var(--steel-50); }
.section.dark { background: var(--steel-900); color: var(--steel-100); }
.section.dark h1, .section.dark h2, .section.dark h3, .section.dark h4 { color: #fff; }
.section.dark p { color: var(--steel-200); }

.section-head { text-align: center; margin: 0 auto 64px; max-width: 760px; }
.section-head h2 { margin-bottom: 18px; }
.section-head p { color: var(--steel-400); font-size: 17px; line-height: 1.7; }

.section-head.left { text-align: left; margin-left: 0; }

.divider-bar {
  display: inline-block;
  width: 48px; height: 3px;
  background: var(--brand);
  margin-bottom: 28px;
}

/* ---------- 4. Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--steel-900);
  border-bottom: 1px solid var(--line-dark);
}
.site-header.scrolled { background: rgba(15,18,24,0.96); }
.site-header .nav {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1440px; margin: 0 auto;
  padding: 0 32px;
  height: 78px;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand-logo { height: 36px; width: auto; display: block; }

.nav-menu {
  display: flex; align-items: center; gap: 4px;
  list-style: none; margin: 0; padding: 0;
}
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: inline-block;
  padding: 12px 16px;
  color: var(--steel-100);
  font-size: 14px; font-weight: 500;
  letter-spacing: 0.02em;
  transition: color .2s var(--ease);
  position: relative;
}
.nav-menu > li > a::after {
  content: ""; position: absolute;
  left: 50%; bottom: 4px;
  width: 0; height: 2px; background: var(--brand);
  transform: translateX(-50%);
  transition: width .25s var(--ease);
}
.nav-menu > li > a:hover,
.nav-menu > li > a.active { color: #fff; }
.nav-menu > li > a:hover::after,
.nav-menu > li > a.active::after { width: 22px; }

/* Dropdown */
.nav-menu .has-dropdown > .nav-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: -8px;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-top: 2px solid var(--brand);
  box-shadow: var(--shadow-lg);
  padding: 14px 0;
  z-index: 60;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s linear .18s;
}
.nav-menu .has-dropdown::before {
  /* invisible bridge */
  content: ""; position: absolute;
  left: 0; right: 0; bottom: -8px; height: 8px;
}
.nav-menu .has-dropdown:hover > .nav-dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateY(0);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s linear 0s;
}
.nav-dropdown a {
  display: block;
  padding: 10px 24px;
  font-size: 14px; color: var(--steel-700);
  transition: background .15s var(--ease), color .15s var(--ease), padding-left .2s var(--ease);
}
.nav-dropdown a:hover {
  background: var(--steel-50);
  color: var(--brand);
  padding-left: 28px;
}
.nav-dropdown a.dd-all {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--brand);
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 4px;
  padding-bottom: 12px;
}

/* Utility (right side) */
.nav-utility { display: flex; align-items: center; gap: 14px; }
.lang-switch {
  position: relative;
}
.lang-switch > button {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; border: 1px solid var(--steel-600);
  color: var(--steel-100);
  padding: 8px 14px; border-radius: 999px;
  font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase;
  font-weight: 600;
  transition: all .2s var(--ease);
}
.lang-switch > button:hover { border-color: var(--steel-400); background: var(--steel-800); }
.lang-switch .lang-panel {
  position: absolute; right: 0; top: calc(100% + 8px);
  background: #fff;
  border: 1px solid var(--line-soft);
  border-top: 2px solid var(--brand);
  box-shadow: var(--shadow-md);
  min-width: 160px;
  padding: 8px 0;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s linear .18s;
  z-index: 60;
}
.lang-switch:hover .lang-panel,
.lang-switch.open .lang-panel {
  opacity: 1; visibility: visible; transform: translateY(0);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s linear 0s;
}
.lang-switch .lang-panel a {
  display: block; padding: 8px 18px;
  font-size: 13px; color: var(--steel-700);
}
.lang-switch .lang-panel a:hover { background: var(--steel-50); color: var(--brand); }
.lang-switch .lang-panel a.active { color: var(--brand); font-weight: 700; }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px;
  background: var(--brand); color: #fff;
  border-radius: 999px;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.04em;
  transition: all .2s var(--ease);
}
.nav-cta:hover { background: var(--brand-dark); transform: translateY(-1px); }

/* Mobile toggle */
.nav-toggle {
  display: none;
  background: transparent; border: none;
  width: 40px; height: 40px;
  flex-direction: column; gap: 5px;
  align-items: center; justify-content: center;
  color: #fff;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: #fff;
  transition: transform .25s var(--ease), opacity .15s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-backdrop {
  position: fixed; inset: 0;
  background: rgba(10,12,16,0.5);
  z-index: 90;
  opacity: 0; pointer-events: none;
  transition: opacity .25s var(--ease);
}
.nav-backdrop.show { opacity: 1; pointer-events: auto; }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--brand); color: #fff;
  border-radius: 999px;
  font-size: 14px; font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1.5px solid var(--brand);
  transition: all .25s var(--ease);
  cursor: pointer;
}
.btn:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(216,37,44,0.32);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: #fff; color: var(--ink);
  border-color: #fff;
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-sm { padding: 11px 24px; font-size: 12px; }
.btn-lg { padding: 19px 44px; font-size: 15px; }
.btn-arrow::after {
  content: "→";
  font-size: 16px;
  margin-left: 6px;
  transition: transform .25s var(--ease);
}
.btn-arrow:hover::after { transform: translateX(4px); }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--brand);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  position: relative;
}
.text-link::after {
  content: "→";
  transition: transform .25s var(--ease);
}
.text-link:hover::after { transform: translateX(5px); }

.text-link-white { color: #fff; }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh; max-height: 920px;
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--steel-950);
  color: #fff;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(0.45) contrast(1.05);
  animation: heroZoom 20s ease-out forwards;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,12,16,0.25) 0%, rgba(10,12,16,0.55) 60%, rgba(10,12,16,0.85) 100%),
    linear-gradient(90deg, rgba(10,12,16,0.55) 0%, transparent 60%);
}
.hero-inner {
  position: relative; z-index: 2;
  width: 100%;
  padding: 80px 32px 100px;
  max-width: 1440px; margin: 0 auto;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; letter-spacing: 0.4em;
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.25);
}
.hero-tag .red-dot {
  width: 8px; height: 8px;
  background: var(--brand); border-radius: 50%;
  display: inline-block;
}
.hero-title {
  font-size: clamp(44px, 6.4vw, 84px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 28px;
  max-width: 900px;
}
.hero-title em {
  font-style: normal;
  color: var(--brand);
}
.hero-sub {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--steel-100);
  max-width: 600px;
  margin-bottom: 44px;
  line-height: 1.7;
}
.hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
}
.hero-meta {
  position: absolute; left: 32px; right: 32px;
  bottom: 40px;
  z-index: 2;
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 32px;
  max-width: 1440px; margin: 0 auto; left: 50%; transform: translateX(-50%);
  padding: 0 32px;
}
.hero-meta-stats {
  display: flex; gap: 56px;
  list-style: none; margin: 0; padding: 0;
}
.hero-meta-stats li { color: #fff; }
.hero-meta-stats .num {
  font-size: 32px; font-weight: 800;
  display: block; line-height: 1; margin-bottom: 6px;
  color: #fff;
}
.hero-meta-stats .lbl {
  font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel-200);
}
.hero-scroll {
  display: inline-flex; align-items: center; gap: 14px;
  color: rgba(255,255,255,0.7);
  font-size: 11px; letter-spacing: 0.3em;
  text-transform: uppercase;
}
.hero-scroll::before {
  content: "";
  width: 40px; height: 1px;
  background: rgba(255,255,255,0.5);
  animation: scrollBar 1.6s ease-in-out infinite;
}
@keyframes scrollBar { 0%,100% { opacity: 0.3 } 50% { opacity: 1 } }
@keyframes heroZoom {
  from { transform: scale(1.12); }
  to   { transform: scale(1.0); }
}

/* Page hero (non-home) */
.page-hero {
  position: relative;
  min-height: 420px;
  display: flex; align-items: center;
  background: var(--steel-900);
  color: #fff;
  overflow: hidden;
}
.page-hero .hero-bg { filter: brightness(0.4); }
.page-hero-inner {
  position: relative; z-index: 2;
  padding: 100px 32px 70px;
  max-width: 1280px; margin: 0 auto;
  width: 100%;
}
.page-hero h1 {
  color: #fff;
  font-size: clamp(36px, 4.6vw, 60px);
  font-weight: 800;
  margin-bottom: 14px;
}
.page-hero .ph-sub {
  font-size: 16px;
  color: var(--steel-200);
  letter-spacing: 0.02em;
  max-width: 640px;
  margin: 0;
}
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel-300);
  margin-bottom: 22px;
}
.breadcrumb a { color: var(--steel-300); transition: color .2s var(--ease); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: 0.5; }
.breadcrumb .current { color: #fff; }

/* ---------- 7. Product / Series cards ---------- */
.series-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.series-card {
  display: block;
  position: relative;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.series-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.series-card .s-img {
  aspect-ratio: 4 / 3;
  background: var(--steel-100);
  overflow: hidden;
  position: relative;
}
.series-card .s-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease);
}
.series-card:hover .s-img img { transform: scale(1.08); }
.series-card .s-body {
  padding: 28px 28px 32px;
}
.series-card .s-num {
  font-size: 11px; letter-spacing: 0.28em;
  font-weight: 600;
  color: var(--brand);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}
.series-card h3 {
  margin-bottom: 12px;
  font-size: 22px;
  transition: color .25s var(--ease);
}
.series-card:hover h3 { color: var(--brand); }
.series-card p {
  color: var(--steel-400);
  font-size: 14px;
  margin-bottom: 18px;
  line-height: 1.65;
}
.series-card .s-arrow {
  font-size: 13px; font-weight: 600;
  color: var(--brand);
  display: inline-flex; gap: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.series-card .s-arrow::after {
  content: "→";
  transition: transform .25s var(--ease);
}
.series-card:hover .s-arrow::after { transform: translateX(5px); }

/* Dark series cards (used on dark sections) */
.section.dark .series-card {
  background: var(--steel-800);
  border-color: var(--steel-700);
}
.section.dark .series-card h3 { color: #fff; }
.section.dark .series-card p { color: var(--steel-300); }

/* ---------- 8. Industry / Application cards ---------- */
.ind-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.ind-card {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 3 / 4;
  background: var(--steel-800);
  isolation: isolate;
}
.ind-card .ind-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform .8s var(--ease);
  filter: brightness(0.55);
  z-index: 0;
}
.ind-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 0%, transparent 40%, rgba(10,12,16,0.95) 100%);
  z-index: 1;
}
.ind-card:hover .ind-bg {
  transform: scale(1.08);
  filter: brightness(0.7);
}
.ind-card .ind-body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 28px 24px;
  color: #fff;
  z-index: 2;
}
.ind-card .ind-num {
  display: block;
  font-size: 11px; letter-spacing: 0.3em;
  color: rgba(255,255,255,0.7);
  font-weight: 600;
  margin-bottom: 8px;
}
.ind-card h3 {
  color: #fff;
  font-size: 22px;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.ind-card .ind-meta {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  max-height: 0; overflow: hidden;
  opacity: 0;
  transition: max-height .35s var(--ease), opacity .25s var(--ease), margin .35s var(--ease);
}
.ind-card:hover .ind-meta {
  max-height: 80px;
  opacity: 1;
  margin-top: 10px;
}

/* ---------- 9. Why-Us / Capability grid ---------- */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.cap-item {
  padding: 36px 32px;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.cap-item:nth-child(3n) { border-right: none; }
.cap-item:nth-last-child(-n+3) { border-bottom: none; }
.cap-item .cap-num {
  font-size: 12px; letter-spacing: 0.28em;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 16px;
  display: block;
}
.cap-item h4 {
  font-size: 19px;
  margin-bottom: 10px;
}
.cap-item p {
  color: var(--steel-400);
  font-size: 14.5px;
  margin: 0;
}

.section.dark .cap-item {
  border-color: var(--steel-700);
}

/* ---------- 10. Stat strip ---------- */
.stat-strip {
  background: var(--steel-900);
  color: #fff;
  padding: 70px 32px;
}
.stat-strip-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-strip .num {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-strip .num em {
  font-style: normal;
  color: var(--brand);
  font-size: 0.6em;
  vertical-align: top;
  margin-left: 2px;
}
.stat-strip .lbl {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--steel-300);
}

/* ---------- 11. CTA section ---------- */
.cta-section {
  background: var(--steel-950);
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 110px 32px;
  text-align: center;
}
.cta-section::before {
  content: ""; position: absolute; inset: 0;
  background-image: url('../images/cta-bg.jpg');
  background-size: cover; background-position: center;
  filter: brightness(0.3) saturate(0.85);
}
.cta-section::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,12,16,0.5), rgba(10,12,16,0.9));
}
.cta-section-inner {
  position: relative; z-index: 2;
  max-width: 720px; margin: 0 auto;
}
.cta-section h2 {
  color: #fff;
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 18px;
}
.cta-section p {
  color: var(--steel-200);
  font-size: 17px;
  margin-bottom: 36px;
}
.cta-section .hero-actions { justify-content: center; }

/* ---------- 12. News cards ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.news-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--steel-200);
}
.news-card .n-img {
  aspect-ratio: 16 / 10;
  background: var(--steel-100);
  overflow: hidden;
}
.news-card .n-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.news-card:hover .n-img img { transform: scale(1.06); }
.news-card .n-body {
  padding: 22px 24px 26px;
}
.news-card .n-tag {
  display: inline-block;
  font-size: 11px; letter-spacing: 0.22em;
  font-weight: 600;
  color: var(--brand);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.news-card h3 {
  font-size: 17px; line-height: 1.4;
  margin-bottom: 12px;
}
.news-card .n-meta {
  font-size: 13px;
  color: var(--steel-400);
}

/* ---------- 13. Forms ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.form-row { grid-column: 1 / -1; }
.fg label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--steel-700);
  margin-bottom: 8px;
}
.fg label .req { color: var(--brand); margin-left: 2px; }
.fg input, .fg textarea, .fg select {
  display: block; width: 100%;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  font-size: 15px;
  color: var(--ink);
  font-family: inherit;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.fg input:focus, .fg textarea:focus, .fg select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(216,37,44,0.12);
}
.fg textarea { min-height: 140px; resize: vertical; }

/* Custom select wrapper */
.wj-select {
  position: relative;
}
.wj-select select {
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--steel-400) 50%),
                    linear-gradient(135deg, var(--steel-400) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}

/* Pill radio group */
.wj-pills {
  display: flex; flex-wrap: wrap;
  gap: 10px;
  grid-column: 1 / -1;
}
.wj-pills label {
  cursor: pointer;
}
.wj-pills input { display: none; }
.wj-pills span {
  display: inline-block;
  padding: 11px 22px;
  border: 1.5px solid var(--line-soft);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--steel-700);
  letter-spacing: 0.02em;
  transition: all .2s var(--ease);
}
.wj-pills label:hover span { border-color: var(--steel-400); color: var(--ink); }
.wj-pills input:checked + span {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

/* ---------- 14. Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--steel-200);
  padding: 80px 0 0;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr;
  gap: 48px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px 60px;
}
.footer-brand {
  max-width: 320px;
}
.footer-brand .ft-logo {
  height: 38px; width: auto;
  margin-bottom: 22px;
}
.footer-brand p {
  font-size: 13.5px;
  color: var(--steel-300);
  line-height: 1.75;
  margin-bottom: 22px;
}
.footer-brand .ft-contact {
  margin-top: 10px;
}
.footer-brand .ft-contact a {
  display: block;
  font-size: 13.5px;
  color: var(--steel-100);
  margin-bottom: 6px;
  transition: color .2s var(--ease);
}
.footer-brand .ft-contact a:hover { color: var(--brand); }

.footer-col h5 {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 22px;
  font-weight: 700;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 12px; }
.footer-col a {
  font-size: 13.5px;
  color: var(--steel-300);
  transition: color .2s var(--ease), padding-left .2s var(--ease);
  display: inline-block;
}
.footer-col a:hover { color: #fff; padding-left: 4px; }

.footer-social {
  display: flex; gap: 10px;
  margin-top: 14px;
}
.footer-social a {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--steel-600);
  border-radius: 999px;
  color: var(--steel-200);
  transition: all .2s var(--ease);
}
.footer-social a:hover {
  background: var(--brand); color: #fff;
  border-color: var(--brand);
  transform: translateY(-2px);
}
.footer-social svg { width: 16px; height: 16px; fill: currentColor; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 22px 32px;
  display: flex; justify-content: space-between; align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  font-size: 12.5px;
  color: var(--steel-400);
  letter-spacing: 0.02em;
}
.footer-bottom .links a {
  color: var(--steel-400);
  margin-left: 18px;
  transition: color .2s var(--ease);
}
.footer-bottom .links a:hover { color: #fff; }

/* ---------- 15. Misc / Utilities ---------- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

.row { display: flex; flex-wrap: wrap; gap: 24px; }
.row > .col { flex: 1; min-width: 0; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.two-col .col-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 4px;
  aspect-ratio: 4 / 3;
}

.feature-list {
  list-style: none; margin: 0; padding: 0;
}
.feature-list li {
  padding: 16px 0 16px 32px;
  position: relative;
  border-bottom: 1px solid var(--line-soft);
  font-size: 15px;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 22px;
  width: 16px; height: 2px;
  background: var(--brand);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list li strong {
  display: block;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--ink);
}
.feature-list li span {
  color: var(--steel-400);
  font-size: 14px;
}

/* Product spec table */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.spec-table th, .spec-table td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-soft);
}
.spec-table th {
  background: var(--steel-50);
  font-weight: 600;
  color: var(--steel-700);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  width: 35%;
}
.spec-table td { color: var(--ink); }

/* Tag chips */
.tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--steel-50);
  color: var(--steel-700);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  margin-right: 6px;
}
.tag.red { background: var(--brand-soft); color: var(--brand-dark); }
.tag.dark { background: var(--steel-700); color: #fff; }

/* Video card */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.video-card {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: var(--steel-800);
  aspect-ratio: 16 / 9;
  cursor: pointer;
}
.video-card .v-thumb {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
  transition: filter .3s var(--ease), transform .6s var(--ease);
}
.video-card:hover .v-thumb { filter: brightness(0.45); transform: scale(1.05); }
.video-card .v-play {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  background: rgba(216,37,44,0.92);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transition: transform .25s var(--ease), background .25s var(--ease);
}
.video-card:hover .v-play {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--brand);
}
.video-card .v-play::after {
  content: ""; display: block;
  width: 0; height: 0;
  border-left: 14px solid #fff;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  margin-left: 4px;
}
.video-card .v-body {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 18px 22px;
  background: linear-gradient(180deg, transparent, rgba(10,12,16,0.95));
  color: #fff;
  z-index: 2;
}
.video-card h4 { color: #fff; margin: 0 0 4px; font-size: 16px; }
.video-card .v-meta { font-size: 12px; color: var(--steel-200); letter-spacing: 0.08em; }

/* Map placeholder */
.world-map {
  position: relative;
  width: 100%;
  background: var(--steel-900);
  border-radius: 4px;
  aspect-ratio: 16 / 8;
  overflow: hidden;
}
.world-map img {
  width: 100%; height: 100%;
  object-fit: contain;
  filter: brightness(0.85);
}
.world-map .map-pin {
  position: absolute;
  width: 14px; height: 14px;
  background: var(--brand);
  border-radius: 50%;
  border: 2px solid #fff;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 6px rgba(216,37,44,0.2);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(216,37,44,0.6); }
  100% { box-shadow: 0 0 0 14px rgba(216,37,44,0); }
}

/* Region grid */
.region-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.region-card {
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  transition: all .25s var(--ease);
}
.region-card:hover {
  border-color: var(--brand);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.region-card .r-tag {
  font-size: 11px; letter-spacing: 0.22em;
  font-weight: 600;
  color: var(--brand);
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}
.region-card h4 { font-size: 17px; margin-bottom: 6px; }
.region-card p { font-size: 13px; color: var(--steel-400); margin: 0; }

/* Case study card */
.case-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  overflow: hidden;
  transition: all .3s var(--ease);
}
.case-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.case-card .c-img {
  aspect-ratio: 4 / 3;
  background: var(--steel-100);
}
.case-card .c-img img { width: 100%; height: 100%; object-fit: cover; }
.case-card .c-body {
  padding: 36px 36px;
  display: flex; flex-direction: column; justify-content: center;
}
.case-card .c-industry {
  font-size: 11px; letter-spacing: 0.24em;
  font-weight: 600;
  color: var(--brand);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.case-card h3 { font-size: 24px; margin-bottom: 12px; }
.case-card .c-result {
  display: flex; gap: 24px;
  margin-top: 18px;
}
.case-card .c-result-item .num {
  font-size: 28px; font-weight: 800;
  color: var(--brand);
  display: block; line-height: 1;
  margin-bottom: 4px;
}
.case-card .c-result-item .lbl {
  font-size: 11px; letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--steel-400);
  font-weight: 600;
}

/* Inquiry panel split */
.inquiry-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  overflow: hidden;
}
.inquiry-split .left {
  background: var(--steel-900);
  color: #fff;
  padding: 56px 48px;
}
.inquiry-split .left h2 { color: #fff; margin-bottom: 14px; }
.inquiry-split .left p { color: var(--steel-200); margin-bottom: 28px; }
.inquiry-split .left .contact-block {
  border-top: 1px solid var(--steel-700);
  padding-top: 24px;
  margin-top: 32px;
}
.inquiry-split .left .contact-block h5 {
  color: var(--brand);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 8px;
}
.inquiry-split .left .contact-block p {
  color: #fff;
  font-size: 15px;
  margin-bottom: 4px;
}
.inquiry-split .right {
  padding: 56px 48px;
}

/* ---------- 15.5 Reveal animation ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-reveal].in-view {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal][data-delay="1"] { transition-delay: .12s; }
[data-reveal][data-delay="2"] { transition-delay: .22s; }
[data-reveal][data-delay="3"] { transition-delay: .32s; }
[data-reveal][data-delay="4"] { transition-delay: .42s; }

/* ---------- 16. Scrollbar (global) ---------- */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--sb-thumb) transparent;
}
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: var(--sb-thumb);
  border-radius: 999px;
  border: 2px solid #fff;
  transition: background .2s var(--ease);
}
::-webkit-scrollbar-thumb:hover { background: var(--sb-thumb-hover); }

/* ---------- 17. RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .series-grid { grid-template-columns: repeat(2, 1fr); }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .cap-item:nth-child(3n) { border-right: 1px solid var(--line-soft); }
  .cap-item:nth-child(2n) { border-right: none; }
  .cap-item:nth-last-child(-n+3) { border-bottom: 1px solid var(--line-soft); }
  .cap-item:nth-last-child(-n+2) { border-bottom: none; }
  .section.dark .cap-item:nth-child(2n) { border-right: none; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-strip-inner { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .region-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
  .footer-main .footer-col:last-child { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .nav-menu { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-utility .lang-switch > button { padding: 8px 12px; }
  .nav-utility .nav-cta { display: none; }
  .site-header .nav { height: 66px; }

  /* Mobile drawer */
  .nav-menu.open {
    display: flex;
    position: fixed;
    top: 66px; right: 0; bottom: 0;
    width: 100%; max-width: 360px;
    background: var(--steel-900);
    flex-direction: column;
    align-items: stretch;
    padding: 24px 0;
    overflow-y: auto;
    z-index: 95;
    border-left: 1px solid var(--steel-700);
  }
  .nav-menu.open > li > a {
    display: block;
    padding: 14px 28px;
    font-size: 15px;
    border-bottom: 1px solid var(--steel-800);
  }
  .nav-menu.open > li > a::after { display: none; }
  .nav-menu.open .has-dropdown > .nav-dropdown {
    position: static;
    opacity: 1; visibility: visible;
    transform: none; pointer-events: auto;
    box-shadow: none; border: none;
    border-top: 1px solid var(--steel-800);
    background: var(--steel-800);
    padding: 8px 0;
  }
  .nav-menu.open .nav-dropdown a {
    color: var(--steel-200);
    padding: 12px 44px;
    font-size: 13px;
  }
  .nav-menu.open .nav-dropdown a:hover {
    background: var(--steel-700);
    color: #fff;
  }

  .hero { min-height: 80vh; }
  .hero-inner { padding: 60px 24px 80px; }
  .hero-meta { display: none; }

  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .inquiry-split { grid-template-columns: 1fr; }
  .inquiry-split .left, .inquiry-split .right { padding: 44px 32px; }

  .case-card { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .shell, .shell-wide, .shell-narrow { padding: 0 20px; }
  .section { padding: 70px 0; }
  .section-sm { padding: 50px 0; }
  .section-lg { padding: 90px 0; }
  .section-head { margin-bottom: 44px; }
  .stat-strip { padding: 50px 24px; }
  .stat-strip-inner { gap: 28px; }
  .stat-strip .num { font-size: 36px; }

  .series-grid, .ind-grid, .cap-grid, .news-grid, .video-grid, .region-grid {
    grid-template-columns: 1fr;
  }
  .cap-item { border-right: none !important; border-bottom: 1px solid var(--line-soft) !important; }
  .cap-item:last-child { border-bottom: none !important; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; padding-bottom: 40px; }
  .footer-brand { max-width: 100%; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; padding-bottom: 30px; }
  .footer-bottom .links a { margin: 0 8px; }
  .page-hero-inner { padding: 70px 20px 50px; }
  .page-hero { min-height: 340px; }

  .cta-section { padding: 80px 24px; }
  .hero-actions { gap: 10px; }
  .btn { padding: 14px 26px; font-size: 13px; }
}
