/* ============================================================
   SANKAI Precision Machining — Global Stylesheet
   Industrial B2B aesthetic (US/EU style), EN default + ZH
   ============================================================ */

:root {
  --navy-950: #081522;
  --navy-900: #0B1D2F;
  --navy-800: #10263C;
  --navy-700: #17334E;
  --navy-600: #1F4265;
  --steel-500: #3D5A77;
  --steel-400: #5E7A94;

  --accent: #F26B21;
  --accent-dark: #D8570F;
  --accent-soft: rgba(242, 107, 33, 0.12);

  --ink: #16232F;
  --ink-soft: #46586A;
  --ink-faint: #6E8091;

  --paper: #F4F6F9;
  --white: #FFFFFF;
  --line: #DDE4EB;
  --line-dark: rgba(255, 255, 255, 0.14);

  --font: "Inter", "Segoe UI", "Helvetica Neue", Arial, "PingFang SC",
    "Microsoft YaHei", sans-serif;

  --shadow-sm: 0 2px 8px rgba(11, 29, 47, 0.08);
  --shadow-md: 0 10px 30px rgba(11, 29, 47, 0.12);
  --shadow-lg: 0 24px 60px rgba(11, 29, 47, 0.18);

  --radius: 10px;
  --container: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

html[lang="zh-CN"] body {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", var(--font);
  letter-spacing: 0;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

.section { padding: 96px 0; }
.section--tight { padding: 72px 0; }
.section--paper { background: var(--paper); }
.section--navy {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(31, 66, 101, 0.55), transparent 60%),
    linear-gradient(160deg, var(--navy-900), var(--navy-950));
  color: #E8EEF4;
}

h1, h2, h3, h4 { line-height: 1.2; font-weight: 800; letter-spacing: -0.01em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--accent);
}
.section--navy .eyebrow { color: var(--accent); }

.section-head { max-width: 780px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); color: inherit; }
.section-head p { margin-top: 14px; color: var(--ink-soft); font-size: 1.06rem; }
.section--navy .section-head p { color: #B9C7D6; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.22s ease;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(242, 107, 33, 0.35); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.55); color: #fff; background: transparent; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }
.btn--dark { background: var(--navy-900); color: #fff; }
.btn--dark:hover { background: var(--navy-700); transform: translateY(-2px); }
.btn--outline { border-color: var(--navy-900); color: var(--navy-900); background: transparent; }
.btn--outline:hover { background: var(--navy-900); color: #fff; }
.btn--sm { padding: 10px 18px; font-size: 13.5px; }

/* ---------------- Top bar ---------------- */
.topbar {
  background: var(--navy-950);
  color: #AAB9C8;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
  flex-wrap: wrap;
  padding: 4px 0;
}
.topbar__meta { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar__meta span, .topbar__meta a {
  display: inline-flex; align-items: center; gap: 7px;
}
.topbar__meta svg { width: 14px; height: 14px; color: var(--accent); }
.topbar__meta a:hover { color: #fff; }

.lang-switch { display: inline-flex; align-items: center; gap: 2px; }
.lang-switch button {
  background: transparent;
  border: 1px solid transparent;
  color: #AAB9C8;
  font-family: var(--font);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}
.lang-switch button:hover { color: #fff; }
.lang-switch button.active {
  background: var(--accent);
  color: #fff;
}
.lang-switch .divider { color: #3D5A77; font-size: 12px; }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { width: 46px; height: 46px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-size: 21px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--navy-900);
}
.brand__name span { color: var(--accent); }
.brand__tag {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink-faint);
  font-weight: 600;
  margin-top: 3px;
}

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > li { position: relative; }
.main-nav > li > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 28px 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  transition: color 0.2s;
}
.main-nav > li > a svg { width: 13px; height: 13px; transition: transform 0.2s; }
.main-nav > li:hover > a, .main-nav > li > a.active { color: var(--accent); }
.main-nav > li:hover > a svg { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% - 6px);
  left: 8px;
  min-width: 250px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.22s ease;
}
.main-nav li:hover .dropdown,
.main-nav li:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  transition: all 0.18s;
}
.dropdown a:hover { background: var(--paper); color: var(--accent); padding-left: 18px; }
.dropdown a small { color: var(--ink-faint); font-weight: 500; font-size: 12px; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-actions .lang-switch button { color: var(--ink-faint); }
.header-actions .lang-switch button:hover,
.header-actions .lang-switch button.active { color: #fff; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--navy-900);
  padding: 8px;
}
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  color: #fff;
  background:
    linear-gradient(105deg, rgba(8, 21, 34, 0.94) 22%, rgba(8, 21, 34, 0.72) 55%, rgba(11, 29, 47, 0.42)),
    url("../img/facility/workshop.jpg") center / cover no-repeat;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(900px 420px at 12% 110%, rgba(242, 107, 33, 0.16), transparent 60%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  padding: 140px 0 150px;
  max-width: 820px;
}
.hero__chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.hero__chip {
  padding: 7px 16px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #DDE7F0;
}
.hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.7rem);
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__sub {
  font-size: 1.13rem;
  color: #C3D0DC;
  max-width: 640px;
  margin-bottom: 38px;
}
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* page hero (inner pages) */
.page-hero {
  position: relative;
  color: #fff;
  background:
    linear-gradient(100deg, rgba(8, 21, 34, 0.95) 30%, rgba(8, 21, 34, 0.65)),
    url("../img/facility/workshop.jpg") center / cover no-repeat;
}
.page-hero__inner { padding: 84px 0 66px; }
.page-hero .breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: #9FB2C4; margin-bottom: 18px;
}
.page-hero .breadcrumb a:hover { color: var(--accent); }
.page-hero .breadcrumb svg { width: 12px; height: 12px; }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.page-hero p { margin-top: 12px; max-width: 640px; color: #C3D0DC; font-size: 1.05rem; }

/* ---------------- Stats band ---------------- */
.stats-band { background: var(--navy-950); color: #fff; }
.stats-band__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.stat {
  background: var(--navy-950);
  padding: 34px 20px;
  text-align: center;
}
.stat__num {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.stat__num small { font-size: 0.55em; font-weight: 800; }
.stat__label {
  margin-top: 6px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9FB2C4;
}

/* ---------------- Category / capability cards ---------------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px; align-items: center; }

.cat-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy-900);
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  display: flex;
  flex-direction: column;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cat-card__media { aspect-ratio: 4 / 3; overflow: hidden; }
.cat-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.cat-card:hover .cat-card__media img { transform: scale(1.07); }
.cat-card__body { padding: 24px 24px 26px; color: #fff; }
.cat-card__count {
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 8px;
}
.cat-card__body h3 { font-size: 1.22rem; margin-bottom: 8px; }
.cat-card__body p { color: #A9BACC; font-size: 14.5px; margin-bottom: 16px; }
.cat-card__link {
  display: inline-flex; align-items: center; gap: 8px;
  color: #fff; font-weight: 700; font-size: 14px;
}
.cat-card__link svg { width: 15px; height: 15px; color: var(--accent); transition: transform 0.2s; }
.cat-card:hover .cat-card__link svg { transform: translateX(4px); }

.cap-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: all 0.25s ease;
}
.cap-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.cap-card__icon {
  width: 52px; height: 52px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.cap-card__icon svg { width: 26px; height: 26px; }
.cap-card h3 { font-size: 1.1rem; margin-bottom: 10px; color: var(--navy-900); }
.cap-card p { font-size: 14.5px; color: var(--ink-soft); }
.cap-card ul { margin-top: 12px; }
.cap-card li {
  position: relative;
  padding-left: 20px;
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-top: 6px;
}
.cap-card li::before {
  content: "";
  position: absolute; left: 0; top: 8px;
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 2px;
  transform: rotate(45deg);
}

/* ---------------- Split feature (image + text) ---------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split__media { position: relative; }
.split__media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.split__media::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  z-index: -1;
  opacity: 0.55;
}
.split__badge {
  position: absolute;
  left: 22px; bottom: 22px;
  background: var(--accent);
  color: #fff;
  padding: 14px 20px;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}
.split__badge strong { display: block; font-size: 1.5rem; font-weight: 900; line-height: 1; }
.split__badge span { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.split__content h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--navy-900); margin-bottom: 16px; }
.split__content p { color: var(--ink-soft); margin-bottom: 14px; }
.check-list { margin: 20px 0 26px; }
.check-list li {
  position: relative;
  padding: 8px 0 8px 34px;
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
}
.check-list li svg {
  position: absolute; left: 0; top: 11px;
  width: 20px; height: 20px; color: var(--accent);
}
.split--rev .split__media { order: 2; }
.split--rev .split__media::before { inset: 22px 22px -22px -22px; }

/* ---------------- Steps ---------------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: step; }
.steps--6 { grid-template-columns: repeat(6, 1fr); }
.step {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 24px 20px;
  position: relative;
  transition: all 0.25s;
}
.step:hover { border-color: var(--accent); background: rgba(242, 107, 33, 0.06); transform: translateY(-4px); }
.step__num {
  font-size: 2rem; font-weight: 900; color: var(--accent);
  line-height: 1; margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}
.step h4 { font-size: 15.5px; color: #fff; margin-bottom: 8px; }
.step p { font-size: 13px; color: #9FB2C4; }

.steps--light .step { background: #fff; border-color: var(--line); }
.steps--light .step h4 { color: var(--navy-900); }
.steps--light .step p { color: var(--ink-soft); }

/* ---------------- Industries ---------------- */
.industry-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.industry-tile {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 26px 18px;
  text-align: center;
  color: #fff;
  transition: all 0.25s;
}
.industry-tile:hover { border-color: var(--accent); background: rgba(242, 107, 33, 0.08); transform: translateY(-4px); }
.industry-tile svg { width: 34px; height: 34px; color: var(--accent); margin: 0 auto 14px; }
.industry-tile span { font-weight: 700; font-size: 14.5px; display: block; }
.industry-tile small { color: #8FA3B6; font-size: 12px; display: block; margin-top: 4px; }

/* ---------------- Product cards / shop ---------------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter-btn {
  padding: 10px 20px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.filter-btn.active { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.filter-btn .cnt { opacity: 0.6; font-size: 12px; margin-left: 4px; }

.shop-meta { color: var(--ink-faint); font-size: 14px; margin-bottom: 20px; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.product-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper);
  position: relative;
}
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.product-card:hover .product-card__media img { transform: scale(1.06); }
.product-card__tag {
  position: absolute; top: 12px; left: 12px;
  background: rgba(11, 29, 47, 0.85);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}
.product-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.product-card__sku { font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: 0.08em; margin-bottom: 6px; }
.product-card__body h3 { font-size: 1.05rem; color: var(--navy-900); margin-bottom: 8px; }
.product-card__body p { font-size: 14px; color: var(--ink-soft); flex: 1; }
.product-card__foot {
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
}
.product-card__foot .link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13.5px; font-weight: 700; color: var(--navy-900);
}
.product-card__foot .link svg { width: 14px; height: 14px; color: var(--accent); }
.product-card__foot .link:hover { color: var(--accent); }

/* ---------------- Product detail ---------------- */
.crumbs {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  font-size: 13.5px; color: var(--ink-faint); margin-bottom: 34px;
}
.crumbs a { color: var(--ink-faint); }
.crumbs a:hover { color: var(--accent); }
.crumbs svg { width: 12px; height: 12px; }
.crumbs .cur { color: var(--ink); font-weight: 600; }

.pd-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: 52px; align-items: start; }
.pd-gallery__main {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  aspect-ratio: 4 / 3;
}
.pd-gallery__main img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.pd-gallery__main:hover img { transform: scale(1.05); }
.pd-info .sku { font-size: 13px; font-weight: 800; color: var(--accent); letter-spacing: 0.1em; }
.pd-info h1 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); color: var(--navy-900); margin: 8px 0 12px; }
.pd-info .lead { color: var(--ink-soft); font-size: 1.03rem; }
.pd-features { margin: 22px 0 26px; display: grid; gap: 9px; }
.pd-features li { position: relative; padding-left: 30px; font-weight: 600; font-size: 14.5px; }
.pd-features li svg { position: absolute; left: 0; top: 3px; width: 19px; height: 19px; color: var(--accent); }
.pd-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.pd-note { margin-top: 18px; font-size: 13px; color: var(--ink-faint); }

.spec-section { margin-top: 72px; }
.spec-table, .eq-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 14.5px;
}
.spec-table th, .spec-table td, .eq-table th, .eq-table td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.spec-table tr:last-child td, .eq-table tr:last-child td { border-bottom: none; }
.spec-table th, .eq-table th {
  background: var(--navy-900);
  color: #fff;
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.04em;
}
.spec-table td:first-child { font-weight: 700; color: var(--navy-900); width: 220px; background: var(--paper); }
.eq-table td:nth-child(n+3) { color: var(--ink-soft); }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag {
  font-size: 12px; font-weight: 700;
  padding: 5px 12px; border-radius: 999px;
  background: var(--paper); color: var(--steel-500);
  border: 1px solid var(--line);
}

/* ---------------- Values / about ---------------- */
.value-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: left;
}
.value-card__num { font-size: 13px; font-weight: 800; color: var(--accent); letter-spacing: 0.14em; margin-bottom: 12px; }
.value-card h3 { font-size: 1.08rem; color: var(--navy-900); margin-bottom: 8px; }
.value-card p { font-size: 14px; color: var(--ink-soft); }

.cert-card {
  display: flex;
  gap: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  align-items: flex-start;
}
.cert-card__icon {
  flex: none;
  width: 60px; height: 60px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.cert-card__icon svg { width: 30px; height: 30px; }
.cert-card h3 { font-size: 1.1rem; color: var(--navy-900); margin-bottom: 6px; }
.cert-card .meta { font-size: 13.5px; color: var(--ink-soft); line-height: 1.8; }
.cert-card .meta b { color: var(--ink); }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: all 0.25s;
}
.gallery-grid img:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.quote-band {
  border-left: 4px solid var(--accent);
  background: #fff;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 26px 30px;
  box-shadow: var(--shadow-sm);
  font-size: 1.05rem;
  color: var(--navy-800);
  font-weight: 600;
}
.quote-band cite { display: block; margin-top: 10px; font-size: 13.5px; color: var(--ink-faint); font-style: normal; font-weight: 500; }

/* ---------------- Contact ---------------- */
.contact-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: start; }
.info-card {
  background: var(--navy-900);
  color: #E8EEF4;
  border-radius: var(--radius);
  padding: 36px 32px;
}
.info-card h3 { font-size: 1.3rem; margin-bottom: 6px; }
.info-card > p { color: #A9BACC; font-size: 14.5px; margin-bottom: 24px; }
.info-row { display: flex; gap: 16px; padding: 15px 0; border-top: 1px solid var(--line-dark); }
.info-row svg { flex: none; width: 20px; height: 20px; color: var(--accent); margin-top: 3px; }
.info-row b { display: block; font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: #8FA3B6; margin-bottom: 3px; }
.info-row span, .info-row a { font-size: 14.5px; color: #E8EEF4; line-height: 1.6; word-break: break-word; }
.info-row a:hover { color: var(--accent); }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-size: 13.5px; font-weight: 700; color: var(--navy-900); }
.form-field label em { color: var(--accent); font-style: normal; }
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font);
  font-size: 14.5px;
  color: var(--ink);
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--accent); background: #fff;
}
.form-field.err input, .form-field.err select, .form-field.err textarea { border-color: #D93025; }
.field-msg { font-size: 12px; color: #D93025; display: none; }
.form-field.err .field-msg { display: block; }
.form-foot { margin-top: 22px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-hint { font-size: 12.5px; color: var(--ink-faint); }

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.form-success.show { display: block; }
.form-success svg { width: 56px; height: 56px; color: #1E9E5A; margin: 0 auto 18px; }
.form-success h3 { color: var(--navy-900); font-size: 1.35rem; margin-bottom: 10px; }
.form-success p { color: var(--ink-soft); max-width: 440px; margin: 0 auto 20px; }

.map-card {
  margin-top: 40px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--navy-900);
}
.map-card iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ---------------- CTA band ---------------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding: 20px 0;
}
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); color: #fff; }
.cta-band p { color: #B9C7D6; margin-top: 10px; max-width: 560px; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--navy-950); color: #93A6B8; font-size: 14px; }
.site-footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding: 64px 0 48px;
}
.site-footer .brand__name { color: #fff; }
.site-footer .brand__tag { color: #6E8091; }
.site-footer__about p { margin-top: 18px; line-height: 1.8; }
.site-footer h4 {
  color: #fff; font-size: 14px; letter-spacing: 0.14em;
  text-transform: uppercase; margin-bottom: 20px;
}
.site-footer h4::after { content: ""; display: block; width: 26px; height: 2px; background: var(--accent); margin-top: 10px; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { transition: color 0.2s; display: inline-flex; align-items: center; gap: 8px; }
.footer-links a::before { content: "›"; color: var(--accent); font-weight: 700; }
.footer-links a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 14px; line-height: 1.6; }
.footer-contact svg { flex: none; width: 16px; height: 16px; color: var(--accent); margin-top: 4px; }
.footer-contact a:hover { color: #fff; }

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #6E8091;
}
.back-top {
  display: inline-flex; align-items: center; gap: 8px;
  color: #93A6B8; font-weight: 600; cursor: pointer;
  background: none; border: none; font-family: var(--font); font-size: 13px;
}
.back-top svg { width: 14px; height: 14px; }
.back-top:hover { color: var(--accent); }

/* WhatsApp float */
.wa-float {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 950;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.4);
  transition: transform 0.22s;
}
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 28px; height: 28px; }

/* Mobile sticky inquiry bar */
.mobile-cta { display: none; }

/* Cookie consent bar */
.cookie-bar {
  position: fixed;
  left: 20px; bottom: 20px;
  z-index: 960;
  max-width: 380px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-bar[hidden] { display: none; }
.cookie-bar p { font-size: 13px; color: var(--ink-soft); line-height: 1.6; }
.cookie-bar a { color: var(--accent); font-weight: 700; }
.cookie-bar .btn { flex: none; }

/* Static map card (no heavy iframe) */
.map-static {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  padding: 34px 32px;
  color: #E8EEF4;
}
.map-static > svg { flex: none; width: 44px; height: 44px; color: var(--accent); margin-top: 4px; }
.map-static b { display: block; font-size: 1.1rem; margin-bottom: 8px; }
.map-static p { font-size: 14.5px; color: #A9BACC; line-height: 1.8; margin-bottom: 16px; }

@media (max-width: 900px) {
  .mobile-cta {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 940;
    background: var(--navy-950);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  }
  .mobile-cta .btn { flex: 1; }
  body { padding-bottom: 64px; }
  .wa-float { bottom: 80px; width: 48px; height: 48px; }
  .wa-float svg { width: 24px; height: 24px; }
  .cookie-bar { left: 12px; right: 12px; bottom: 84px; max-width: none; }
}

/* Facility gallery 2x2 variant */
.gallery-grid--2 { grid-template-columns: repeat(2, 1fr); }

/* ---------------- Extras ---------------- */
.steps--10 { grid-template-columns: repeat(5, 1fr); }

.table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  overflow-x: auto;
  background: #fff;
}
.table-wrap .spec-table, .table-wrap .eq-table { border: none; }

.gallery-grid figure { position: relative; }
.gallery-grid figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--ink-faint);
  text-align: center;
}
.gallery-grid .shot {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: all 0.25s;
}
.gallery-grid .shot:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.cert-figure {
  margin-top: 20px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.cert-figure img { width: 100%; }

.alert {
  background: #FFF7ED;
  border: 1px solid #F5C89A;
  color: #8A4B12;
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 14.5px;
  margin-bottom: 28px;
  display: none;
}
.alert a { color: var(--accent); font-weight: 700; text-decoration: underline; }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 34px;
  font-weight: 700;
  color: var(--navy-900);
}
.link-more svg { width: 16px; height: 16px; color: var(--accent); }
.link-more:hover { color: var(--accent); }
.link-more--center { display: flex; justify-content: center; }

@media (max-width: 1080px) {
  .steps--10 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .steps--10 { grid-template-columns: 1fr 1fr; }
}

/* ---------------- Reveal animations ---------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps--6 { grid-template-columns: repeat(3, 1fr); }
  .site-footer__top { grid-template-columns: 1fr 1fr; }
  .main-nav { gap: 0; }
  .main-nav > li > a { padding: 28px 11px; font-size: 14px; }
}

@media (max-width: 900px) {
  .section { padding: 72px 0; }
  .hero__inner { padding: 96px 0 104px; }
  .grid-2, .split, .pd-layout, .contact-layout { grid-template-columns: 1fr; gap: 36px; }
  .split--rev .split__media { order: 0; }
  .split__media::before { display: none; }
  .stats-band__grid { grid-template-columns: repeat(2, 1fr); }
  .topbar__meta span.hide-m { display: none; }

  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 12px 20px 20px;
    gap: 0;
    max-height: calc(100vh - 76px);
    overflow: auto;
  }
  .main-nav.open { display: flex; }
  .main-nav > li > a { padding: 13px 4px; font-size: 15.5px; border-bottom: 1px solid var(--line); width: 100%; justify-content: space-between; }
  .main-nav > li:last-child > a { border-bottom: none; }
  .dropdown {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; border-left: 3px solid var(--accent);
    border-radius: 0 0 6px 6px;
    margin: 0 0 8px;
    display: none;
    min-width: 0;
  }
  .main-nav li.open > .dropdown { display: block; }
  .main-nav li.has-sub > a svg { transition: transform 0.2s; }
  .main-nav li.open > a svg { transform: rotate(180deg); }
  .header-actions .btn { display: none; }
}

@media (max-width: 640px) {
  .grid-3, .product-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .steps, .steps--6 { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .site-footer__top { grid-template-columns: 1fr; gap: 34px; }
  .cta-band__inner { justify-content: flex-start; }
  .brand__tag { display: none; }
  .stat { padding: 24px 12px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .spec-table td:first-child { width: 130px; }
}
