﻿/* ==========================================================================
   MERLEC · Suzhou Merlec Automation — Website stylesheet
   Design language: precise industrial editorial. Deep ink, paper white,
   signal red (#E60012) drawn from the Merlec logo. Thin rules, technical
   grid work, restrained motion.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --red: #e60012;
  --red-600: #c50010;
  --red-050: #fff1f2;
  --ink: #0d1219;
  --ink-700: #1b2430;
  --text: #4c5665;
  --muted: #7c8695;
  --line: #e3e7ec;
  --line-2: #eef0f3;
  --soft: #f5f6f8;
  --soft-2: #fafbfc;
  --white: #ffffff;
  --dark: #0a0f15;

  --container: 1240px;
  --gutter: 32px;
  --header-h: 88px;
  --radius: 2px;

  --font-sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB",
    "Source Han Sans SC", "Noto Sans CJK SC", "Segoe UI", Arial, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow-sm: 0 10px 30px -18px rgba(13, 18, 25, 0.35);
  --shadow-md: 0 30px 60px -32px rgba(13, 18, 25, 0.4);
}

/* ---------- 2. Reset / base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5 {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.01em;
}

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

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

img {
  height: auto;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

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

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

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

/* ---------- 3. Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: -9999px;
  z-index: 2000;
  padding: 10px 18px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
}

.skip-link:focus {
  left: 12px;
}

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.72);
}

/* reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.is-in-view {
  opacity: 1;
  transform: none;
}

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn .icon {
  width: 17px;
  height: 17px;
  transition: transform 0.3s var(--ease);
}

.btn:hover .icon {
  transform: translateX(3px);
}

.btn--primary {
  background: var(--red);
  color: #fff;
}

.btn--primary:hover {
  background: var(--red-600);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.32);
  color: #fff;
}

.btn--ghost:hover {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}

.btn--outline {
  border-color: var(--line);
  color: var(--ink);
}

.btn--outline:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.btn--sm {
  min-height: 40px;
  padding: 0 18px;
  font-size: 13px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s var(--ease);
}

.text-link .icon {
  width: 16px;
  height: 16px;
  color: var(--red);
  transition: transform 0.3s var(--ease);
}

.text-link:hover {
  color: var(--red);
}

.text-link:hover .icon {
  transform: translateX(4px);
}

/* ---------- 5. Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 900;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line-2);
  backdrop-filter: saturate(160%) blur(10px);
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 12px 30px -24px rgba(13, 18, 25, 0.45);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 36px;
  height: var(--header-h);
}

/* brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex: none;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand__mark span {
  transform: translateY(1px);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand__name {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.055em;
  color: var(--ink);
}

.brand__name em {
  font-style: normal;
  color: var(--red);
}

.brand__sub {
  margin-top: 7px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.42em;
  color: var(--muted);
}

/* nav */
.nav {
  margin-left: auto;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__item {
  position: relative;
}

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: var(--header-h);
  padding: 0 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-700);
  transition: color 0.2s var(--ease);
}

.nav__link .icon {
  width: 12px;
  height: 12px;
  stroke-width: 2;
  color: var(--muted);
  transition: transform 0.25s var(--ease);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav__link:hover,
.nav__item.is-current > .nav__link {
  color: var(--red);
}

.nav__link:hover::after,
.nav__item.is-current > .nav__link::after {
  transform: scaleX(1);
}

/* dropdown */
.dropdown {
  position: absolute;
  top: calc(100% - 8px);
  left: 8px;
  min-width: 236px;
  padding: 10px 0;
  background: #fff;
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease),
    visibility 0.22s;
}

.nav__item:hover > .dropdown,
.nav__item:focus-within > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__item:hover .nav__link .icon {
  transform: rotate(180deg);
}

.dropdown__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 22px;
  font-size: 14px;
  color: var(--text);
  transition: background 0.18s var(--ease), color 0.18s var(--ease),
    padding 0.18s var(--ease);
}

.dropdown__link .icon {
  width: 13px;
  height: 13px;
  opacity: 0;
  transition: opacity 0.2s var(--ease);
}

.dropdown__link:hover {
  background: var(--soft);
  color: var(--red);
  padding-left: 26px;
}

.dropdown__link:hover .icon {
  opacity: 1;
}

.dropdown__note {
  padding: 10px 22px 6px;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
}

/* header actions */
.header__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: none;
}

.header__tel {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.header__tel .icon {
  width: 17px;
  height: 17px;
  color: var(--red);
}

.header__tel small {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--ink);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.lang-switch:hover {
  border-color: var(--red);
  color: var(--red);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  color: var(--ink);
}

.nav-toggle .icon {
  width: 22px;
  height: 22px;
}

/* mobile nav */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 880;
  background: #fff;
  padding: 24px var(--gutter) 48px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.mobile-nav__list {
  border-top: 1px solid var(--line-2);
}

.mobile-nav__list > li {
  border-bottom: 1px solid var(--line-2);
}

.mobile-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 2px;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}

.mobile-nav__sub {
  display: none;
  padding: 4px 0 16px 14px;
  border-left: 1px solid var(--line);
  margin: 0 0 8px 2px;
}

.mobile-nav__sub a {
  display: block;
  padding: 9px 0;
  font-size: 14px;
  color: var(--text);
}

.mobile-nav__footer {
  margin-top: 32px;
  display: grid;
  gap: 18px;
}

.mobile-nav__tel {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
  background: var(--soft);
}

.mobile-nav__tel .icon {
  color: var(--red);
  width: 22px;
  height: 22px;
}

.mobile-nav__tel strong {
  display: block;
  font-size: 19px;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.mobile-nav__tel span {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-transform: uppercase;
}

body.nav-open {
  overflow: hidden;
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 84px) 0 96px;
  background: var(--dark);
  color: #fff;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
  opacity: 0.34;
  filter: saturate(0.55) contrast(1.06);
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      100deg,
      rgba(10, 15, 21, 0.97) 0%,
      rgba(10, 15, 21, 0.9) 38%,
      rgba(10, 15, 21, 0.55) 68%,
      rgba(10, 15, 21, 0.72) 100%
    ),
    radial-gradient(
      120% 90% at 86% 8%,
      rgba(230, 0, 18, 0.28) 0%,
      rgba(230, 0, 18, 0) 58%
    );
}

/* technical grid overlay */
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.055) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: 72px;
  align-items: center;
}

.hero__title {
  margin-top: 26px;
  font-size: clamp(2.5rem, 4.2vw, 3.9rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.022em;
  color: #fff;
}

.hero__title .accent {
  color: var(--red);
}

.hero__lede {
  max-width: 36em;
  margin-top: 24px;
  font-size: 17px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.74);
}

.hero__lede strong {
  color: #fff;
  font-weight: 600;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 0;
  margin-top: 30px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.hero__tags span {
  padding: 0 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.hero__tags span:first-child {
  padding-left: 0;
}

.hero__tags span:last-child {
  border-right: 0;
}

/* hero media */
.hero__media {
  position: relative;
}

.hero-slider {
  position: relative;
  aspect-ratio: 4 / 4.7;
  max-height: 584px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #11171f;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.9s var(--ease), transform 6s linear;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 15, 21, 0) 46%,
    rgba(10, 15, 21, 0.72) 100%
  );
}

.hero__caption {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 24px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.82);
}

.hero__caption::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--red);
  flex: none;
}

/* corner marks */
.hero__corner {
  position: absolute;
  width: 22px;
  height: 22px;
  z-index: 4;
  border-color: var(--red);
  border-style: solid;
  border-width: 0;
}

.hero__corner--tl {
  top: -7px;
  left: -7px;
  border-top-width: 2px;
  border-left-width: 2px;
}

.hero__corner--br {
  right: -7px;
  bottom: -7px;
  border-bottom-width: 2px;
  border-right-width: 2px;
}

.hero__badge {
  position: absolute;
  left: -26px;
  bottom: 46px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px 20px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.6);
}

.hero__badge .icon {
  width: 26px;
  height: 26px;
  color: var(--red);
}

.hero__badge strong {
  display: block;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.hero__badge span {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.hero__dots {
  position: absolute;
  right: 18px;
  top: 20px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transition: background 0.2s, transform 0.2s;
}

.hero__dot.is-active {
  background: var(--red);
  transform: scale(1.5);
}

/* hero stats */
.hero__stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 74px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.hero__stat {
  padding: 30px 26px 0 0;
}

.hero__stat + .hero__stat {
  padding-left: 30px;
  border-left: 1px solid rgba(255, 255, 255, 0.13);
}

.hero__stat strong {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.02em;
}

.hero__stat strong small {
  font-size: 17px;
  font-weight: 600;
  color: var(--red);
}

.hero__stat span {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.04em;
}

/* ---------- 7. Section frame ---------- */
.section {
  position: relative;
  padding: clamp(72px, 8vw, 112px) 0;
}

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

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

.section--dark {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.72);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: #fff;
}

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 46px;
}

.section__head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section__kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
}

.section__kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

.section__head--center .section__kicker {
  justify-content: center;
}

.section__head--center .section__kicker::after {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

.section__title {
  margin-top: 16px;
  font-size: clamp(1.85rem, 2.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.015em;
}

.section__title-en {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}

.section__desc {
  max-width: 34em;
  margin-top: 16px;
  color: var(--text);
  font-size: 15.5px;
}

.section__aside {
  flex: none;
  padding-bottom: 4px;
}

.section--dark .section__title-en,
.section--dark .section__desc {
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- 8. Product center ---------- */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border: 1px solid var(--line);
  width: fit-content;
  max-width: 100%;
  background: #fff;
}

.section--soft .tabs {
  background: #fff;
}

.tab {
  position: relative;
  padding: 13px 26px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  border-right: 1px solid var(--line);
  transition: background 0.22s var(--ease), color 0.22s var(--ease);
  white-space: nowrap;
}

.tab:last-child {
  border-right: 0;
}

.tab:hover {
  color: var(--red);
}

.tab.is-active {
  background: var(--red);
  color: #fff;
}

.section__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 34px;
}

.grid {
  display: grid;
  gap: 26px;
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: #cfd5dd;
  box-shadow: 0 34px 60px -40px rgba(13, 18, 25, 0.45);
}

.product-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--dark);
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

.product-card:hover .product-card__media img {
  transform: scale(1.045);
}

.product-card__cat {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 4px 10px;
  background: rgba(10, 15, 21, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(4px);
}

.product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 24px 22px;
}

.product-card__title {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.product-card__desc {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag {
  padding: 4px 10px;
  background: var(--soft-2);
  border: 1px solid var(--line-2);
  font-size: 12px;
  color: #5b6675;
  letter-spacing: 0.01em;
}

.product-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 20px;
}

.product-card__foot .text-link {
  font-size: 13px;
}

.arrow-btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  color: var(--ink);
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.arrow-btn .icon {
  width: 17px;
  height: 17px;
}

.product-card:hover .arrow-btn {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

/* tab panels */
.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
  animation: panelIn 0.45s var(--ease);
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 9. About split ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  gap: clamp(44px, 6vw, 88px);
  align-items: center;
}

.split--media-left {
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr);
}

.split__media {
  position: relative;
}

.split__media img {
  width: 100%;
  aspect-ratio: 5 / 4.1;
  object-fit: cover;
}

.split__media::before {
  content: "";
  position: absolute;
  top: -18px;
  left: -18px;
  width: 96px;
  height: 96px;
  border-top: 2px solid var(--red);
  border-left: 2px solid var(--red);
}

.split__caption {
  position: absolute;
  right: -18px;
  bottom: 28px;
  padding: 14px 22px;
  background: var(--ink);
  color: #fff;
  font-size: 12.5px;
  letter-spacing: 0.12em;
}

.split__caption span {
  color: var(--red);
  margin-right: 8px;
}

.split__body p {
  margin-top: 20px;
  color: var(--text);
  font-size: 15.5px;
  line-height: 1.95;
}

.split__body .section__title {
  margin-top: 14px;
}

.split__body .btn {
  margin-top: 34px;
}

.mini-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.mini-value {
  padding: 20px 18px 0 0;
}

.mini-value + .mini-value {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.mini-value span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
}

.mini-value strong {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  color: var(--ink);
}

.mini-value p {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 10. Industry cards ---------- */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.industry-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 430px;
  padding: 34px 32px;
  background: var(--dark);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.industry-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease), filter 0.6s var(--ease);
  filter: saturate(0.7) brightness(0.72);
}

.industry-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(10, 15, 21, 0.05) 18%,
    rgba(10, 15, 21, 0.55) 58%,
    rgba(10, 15, 21, 0.94) 100%
  );
  transition: opacity 0.4s var(--ease);
}

.industry-card:hover img {
  transform: scale(1.06);
  filter: saturate(0.9) brightness(0.8);
}

.industry-card__no {
  position: absolute;
  top: 26px;
  right: 28px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.55);
}

.industry-card__en {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
}

.industry-card__title {
  margin-top: 10px;
  color: #fff;
  font-size: 26px;
  letter-spacing: -0.01em;
}

.industry-card__desc {
  margin-top: 12px;
  max-width: 26em;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.72);
}

.industry-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.industry-card__links a {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.2s;
}

.industry-card__links a:hover {
  color: #fff;
}

/* ---------- 11. Process ---------- */
.process {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin-top: 12px;
}

.process__step {
  position: relative;
  padding: 0 26px 0 0;
}

.process__step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 23px;
  right: 8px;
  width: calc(100% - 68px);
  height: 1px;
  background: rgba(255, 255, 255, 0.16);
}

.process__no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  font-family: var(--font-mono);
  font-size: 13px;
  color: #fff;
  position: relative;
  z-index: 1;
  background: var(--dark);
}

.process__step:first-child .process__no {
  background: var(--red);
  border-color: var(--red);
}

.process__title {
  margin-top: 22px;
  font-size: 17px;
  color: #fff;
  font-weight: 700;
}

.process__desc {
  margin-top: 9px;
  font-size: 13.5px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.58);
}

/* ---------- 12. Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  min-height: 220px;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.gallery__item:hover img {
  transform: scale(1.05);
}

.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 15, 21, 0) 52%,
    rgba(10, 15, 21, 0.82) 100%
  );
  opacity: 0.9;
  transition: opacity 0.4s;
}

.gallery__item:hover::after {
  opacity: 0.7;
}

.gallery__cap {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 16px;
  z-index: 2;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: #fff;
  font-size: 13.5px;
  letter-spacing: 0.03em;
}

.gallery__cap em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}

.gallery__item--wide {
  grid-column: span 7;
}

.gallery__item--std {
  grid-column: span 5;
}

.gallery__item--third {
  grid-column: span 4;
}

.gallery__item--tall {
  grid-row: span 2;
}

/* ---------- 13. Certificate strip ---------- */
.cert-strip {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}

.cert-strip__media {
  position: relative;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
}

.cert-strip__media img {
  width: 100%;
  border: 1px solid var(--line-2);
}

.cert-strip__media::before {
  content: "";
  position: absolute;
  right: -14px;
  bottom: -14px;
  width: 88px;
  height: 88px;
  border-right: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
}

.cert-list {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.cert-list__item {
  display: flex;
  gap: 16px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
}

.cert-list__item .icon {
  color: var(--red);
  width: 22px;
  height: 22px;
  margin-top: 3px;
}

.cert-list__item strong {
  display: block;
  font-size: 15px;
  color: var(--ink);
}

.cert-list__item p {
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- 14. CTA band ---------- */
.cta-band {
  position: relative;
  padding: clamp(64px, 7vw, 92px) 0;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  right: -140px;
  top: -180px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.cta-band::after {
  content: "";
  position: absolute;
  right: 40px;
  bottom: -220px;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(230, 0, 18, 0.35);
  border-radius: 50%;
}

.cta-band__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.cta-band__title {
  margin-top: 14px;
  color: #fff;
  font-size: clamp(1.9rem, 2.8vw, 2.7rem);
  letter-spacing: -0.015em;
}

.cta-band__desc {
  margin-top: 14px;
  max-width: 34em;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.62);
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  flex: none;
}

/* ---------- 15. Footer ---------- */
.site-footer {
  background: #070b10;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.footer__main {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 0.8fr));
  gap: 48px 36px;
  padding: 76px 0 58px;
}

.footer__brand .brand__name {
  color: #fff;
}

.footer__brand .brand__sub {
  color: rgba(255, 255, 255, 0.38);
}

.footer__blurb {
  margin-top: 24px;
  max-width: 30em;
  font-size: 13.5px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.5);
}

.footer__contact {
  margin-top: 26px;
  display: grid;
  gap: 12px;
}

.footer__contact a,
.footer__contact span {
  display: flex;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

.footer__contact .icon {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  color: var(--red);
}

.footer__contact a:hover {
  color: #fff;
}

.footer__col-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
}

.footer__links {
  display: grid;
  gap: 11px;
}

.footer__links a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.56);
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
  width: fit-content;
}

.footer__links a:hover {
  color: #fff;
  transform: translateX(3px);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 32px;
  padding: 24px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.38);
}

.footer__bottom a {
  color: rgba(255, 255, 255, 0.5);
}

.footer__bottom a:hover {
  color: #fff;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* ---------- 16. Floating toolbar ---------- */
.float-bar {
  position: fixed;
  right: 22px;
  bottom: 92px;
  z-index: 800;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px -28px rgba(13, 18, 25, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease),
    visibility 0.35s;
}

.float-bar.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.float-bar__item {
  position: relative;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: var(--ink);
  border-bottom: 1px solid var(--line-2);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.float-bar__item:last-child {
  border-bottom: 0;
}

.float-bar__item:hover {
  background: var(--red);
  color: #fff;
}

.float-bar__item::after {
  content: attr(data-label);
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  padding: 6px 12px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  pointer-events: none;
}

.float-bar__item:hover::after,
.float-bar__item:focus-visible::after {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%);
}

/* ---------- 17. Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 72px) 0 70px;
  background: var(--dark);
  color: #fff;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  filter: saturate(0.5) contrast(1.05);
}

.page-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      100deg,
      rgba(10, 15, 21, 0.98) 0%,
      rgba(10, 15, 21, 0.9) 50%,
      rgba(10, 15, 21, 0.6) 100%
    ),
    radial-gradient(
      90% 120% at 92% 0%,
      rgba(230, 0, 18, 0.24) 0%,
      rgba(230, 0, 18, 0) 60%
    );
}

.page-hero__grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.05) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 80%, transparent);
  pointer-events: none;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb .icon {
  width: 12px;
  height: 12px;
  opacity: 0.6;
}

.breadcrumb span[aria-current] {
  color: rgba(255, 255, 255, 0.85);
}

.page-hero__title {
  margin-top: 26px;
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.page-hero__en {
  margin-top: 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
}

.page-hero__desc {
  max-width: 42em;
  margin-top: 20px;
  font-size: 15.5px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.62);
}

/* ---------- 18. Inner page content ---------- */
.page-section {
  padding: clamp(64px, 7vw, 96px) 0;
}

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

.prose {
  max-width: 46em;
}

.prose p {
  margin-bottom: 20px;
  font-size: 15.5px;
  line-height: 2;
  color: var(--text);
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose strong {
  color: var(--ink);
}

.prose h3 {
  margin: 34px 0 14px;
  font-size: 19px;
}

.lead {
  font-size: 18px !important;
  line-height: 1.95 !important;
  color: var(--ink-700) !important;
}

/* stats band */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats-band__item {
  padding: 34px 28px;
}

.stats-band__item + .stats-band__item {
  border-left: 1px solid var(--line);
}

.stats-band__item strong {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.stats-band__item strong small {
  font-size: 18px;
  color: var(--red);
}

.stats-band__item span {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}

/* value cards */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.value-card {
  padding: 38px 32px 40px;
  background: #fff;
  border: 1px solid var(--line);
  position: relative;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

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

.value-card__no {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--red);
  letter-spacing: 0.1em;
}

.value-card h3 {
  margin-top: 16px;
  font-size: 22px;
}

.value-card__en {
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.value-card p {
  margin-top: 18px;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--text);
}

.value-card--dark {
  background: var(--ink);
  border-color: var(--ink);
}

.value-card--dark h3 {
  color: #fff;
}

.value-card--dark p {
  color: rgba(255, 255, 255, 0.62);
}

/* culture value list */
.check-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.check-list__item {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 36px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.check-list__item strong {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 17px;
  color: var(--ink);
}

.check-list__item strong em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--red);
}

.check-list__item p {
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--text);
}

/* location cards */
.location-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.location-card {
  padding: 36px 34px;
  border: 1px solid var(--line);
  background: #fff;
}

.location-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
}

.location-card h3 {
  margin-top: 14px;
  font-size: 21px;
}

.location-card p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--text);
}

.location-card__meta {
  display: grid;
  gap: 8px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line-2);
  font-size: 13.5px;
  color: var(--text);
}

.location-card__meta a:hover {
  color: var(--red);
}

/* cert cards */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.cert-card {
  border: 1px solid var(--line);
  background: #fff;
}

.cert-card__media {
  position: relative;
  padding: 22px;
  background: var(--soft);
  cursor: zoom-in;
}

.cert-card__media img {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
}

.cert-card__body {
  padding: 24px 26px 28px;
  border-top: 1px solid var(--line-2);
}

.cert-card__body h3 {
  font-size: 18px;
}

.cert-card__body p {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.8;
}

/* jobs */
.job-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.job {
  display: grid;
  grid-template-columns: minmax(0, 0.38fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.job__title {
  font-size: 18px;
  color: var(--ink);
  font-weight: 700;
}

.job__meta {
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.job__desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text);
}

.job__cta {
  font-size: 13px;
  color: var(--red);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.job__cta .icon {
  width: 15px;
  height: 15px;
}

/* contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(40px, 5vw, 72px);
}

.contact-info {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.contact-info__item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.contact-info__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  background: var(--soft);
  color: var(--red);
}

.contact-info__item h3 {
  font-size: 14px;
  letter-spacing: 0.06em;
}

.contact-info__item p,
.contact-info__item a {
  display: block;
  margin-top: 6px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--text);
}

.contact-info__item a:hover {
  color: var(--red);
}

.form-card {
  padding: clamp(28px, 3vw, 42px);
  border: 1px solid var(--line);
  background: #fff;
}

.form-card h3 {
  font-size: 21px;
}

.form-card > p {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.04em;
}

.field label span {
  color: var(--red);
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--soft-2);
  font-size: 14px;
  color: var(--ink);
  transition: border-color 0.2s, background 0.2s;
}

.field textarea {
  min-height: 132px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--red);
  background: #fff;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #a5adba;
}

.form-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}

.map-card {
  position: relative;
  margin-top: 26px;
  border: 1px solid var(--line);
  background: var(--soft);
  overflow: hidden;
}

.map-card img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  filter: grayscale(0.2);
}

.map-card__overlay {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: rgba(10, 15, 21, 0.82);
  color: #fff;
  font-size: 13px;
  backdrop-filter: blur(4px);
}

.map-card__overlay a {
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.map-card__overlay a:hover {
  border-color: var(--red);
  color: var(--red);
}

/* FAQ */
.faq {
  border-top: 1px solid var(--line);
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 22px 0;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.faq__q .icon {
  width: 20px;
  height: 20px;
  color: var(--red);
  transition: transform 0.3s var(--ease);
  flex: none;
}

.faq__item.is-open .faq__q .icon {
  transform: rotate(45deg);
}

.faq__a {
  display: none;
  padding: 0 0 24px;
  max-width: 52em;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--text);
}

.faq__item.is-open .faq__a {
  display: block;
}

/* product detail */
.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 76px);
  align-items: start;
}

.product-detail__media {
  position: relative;
  border: 1px solid var(--line);
  background: var(--dark);
}

.product-detail__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-detail__media .product-card__cat {
  top: 18px;
  left: 18px;
}

.product-detail__spec {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
  border: 1px solid var(--line);
  background: #fff;
}

.product-detail__spec div {
  padding: 14px 18px;
  font-size: 13px;
  color: var(--text);
  border-bottom: 1px solid var(--line-2);
}

.product-detail__spec div:nth-child(odd) {
  border-right: 1px solid var(--line-2);
}

.product-detail__spec span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.product-detail__body .page-hero__en {
  color: var(--red);
  margin: 0;
}

.product-detail__body h1 {
  margin-top: 12px;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  letter-spacing: -0.02em;
}

.product-detail__lead {
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.95;
  color: var(--ink-700);
}

.product-detail__paras {
  margin-top: 18px;
  font-size: 14.8px;
  line-height: 1.95;
  color: var(--text);
}

.product-detail__paras p + p {
  margin-top: 14px;
}

.spec-block {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.spec-block h3 {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.chip {
  padding: 6px 13px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13px;
  color: var(--ink-700);
}

.chip--accent {
  border-color: rgba(230, 0, 18, 0.3);
  background: var(--red-050);
  color: var(--red-600);
}

.detail-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

/* 404 */
.error-page {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 120px 0;
  text-align: center;
}

.error-page__code {
  font-family: var(--font-mono);
  font-size: clamp(64px, 12vw, 140px);
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.04em;
}

.error-page__code span {
  color: var(--red);
}

.error-page p {
  margin: 18px 0 34px;
  color: var(--text);
}

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: grid;
  place-items: center;
  padding: 40px;
  background: rgba(7, 11, 16, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: min(920px, 92vw);
  max-height: 84vh;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #fff;
}

.lightbox__close {
  position: absolute;
  top: 24px;
  right: 24px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  transition: background 0.2s, border-color 0.2s;
}

.lightbox__close:hover {
  background: var(--red);
  border-color: var(--red);
}

/* ---------- 19. English version ---------- */
html[lang="en"] .brand__sub {
  letter-spacing: 0.22em;
}

/* ---------- 20. Responsive ---------- */
@media (max-width: 1180px) {
  :root {
    --gutter: 26px;
  }

  .header__inner {
    gap: 24px;
  }

  .nav__link {
    padding: 0 11px;
    font-size: 14.5px;
  }

  .nav__link::after {
    left: 11px;
    right: 11px;
  }

  .header__tel {
    display: none;
  }

  .hero__inner {
    gap: 48px;
  }
}

@media (max-width: 1024px) {
  .nav,
  .header__actions .lang-switch {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .header__actions {
    margin-left: 8px;
  }

  .hero {
    padding-top: calc(var(--header-h) + 64px);
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .hero__media {
    max-width: 620px;
  }

  .hero-slider {
    aspect-ratio: 4 / 3.4;
    max-height: 460px;
  }

  .hero__badge {
    left: 18px;
    bottom: 22px;
  }

  .hero__stats {
    margin-top: 54px;
  }

  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .split--media-left {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .split__media img {
    aspect-ratio: 16 / 10;
  }

  .industry-grid {
    grid-template-columns: 1fr;
  }

  .industry-card {
    min-height: 340px;
  }

  .process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 0;
  }

  .process__step:not(:last-child)::after {
    display: none;
  }

  .process__step:last-child {
    grid-column: span 2;
  }

  .footer__main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .cert-strip {
    grid-template-columns: 1fr;
  }

  .cert-strip__media {
    max-width: 460px;
  }

  .cta-band__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .product-detail,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .product-detail__media {
    position: static;
  }

  .grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 72px;
    --gutter: 20px;
  }

  .header__inner {
    height: var(--header-h);
  }

  .brand__name {
    font-size: 22px;
  }

  .brand__sub {
    font-size: 9px;
    letter-spacing: 0.3em;
  }

  .brand__mark {
    width: 36px;
    height: 36px;
    font-size: 17px;
  }

  .hero {
    padding: calc(var(--header-h) + 48px) 0 68px;
  }

  .hero__title {
    margin-top: 20px;
  }

  .hero__lede {
    font-size: 15.5px;
  }

  .hero__actions .btn {
    flex: 1 1 auto;
    padding: 0 18px;
  }

  .hero__tags span {
    padding: 0 10px;
  }

  .hero__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 44px;
  }

  .hero__stat {
    padding: 22px 16px 0 0;
  }

  .hero__stat:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .hero__stat:nth-child(3),
  .hero__stat:nth-child(4) {
    margin-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    padding-top: 22px;
  }

  .hero__stat:nth-child(4) {
    padding-left: 16px;
    border-left: 1px solid rgba(255, 255, 255, 0.13);
  }

  .hero__stat strong {
    font-size: 30px;
  }

  .hero__badge {
    display: none;
  }

  .section {
    padding: 64px 0;
  }

  .section__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    margin-bottom: 34px;
  }

  .section__aside {
    align-self: stretch;
  }

  .tabs {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .tab {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    text-align: center;
    padding: 12px 10px;
    font-size: 13px;
  }

  .tab:nth-child(odd) {
    border-right: 1px solid var(--line);
  }

  .tab:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .grid--3,
  .grid--2,
  .grid--4,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .gallery__item--wide,
  .gallery__item--std,
  .gallery__item--third {
    grid-column: span 1;
  }

  .gallery__item--tall {
    grid-row: span 1;
  }

  .gallery__item {
    min-height: 180px;
  }

  .split__caption {
    right: 12px;
    bottom: 12px;
    padding: 10px 14px;
    font-size: 11px;
  }

  .mini-values {
    grid-template-columns: 1fr;
  }

  .mini-value {
    padding: 16px 0 0;
  }

  .mini-value + .mini-value {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
    margin-top: 14px;
  }

  .process {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .process__step:last-child {
    grid-column: auto;
  }

  .footer__main {
    grid-template-columns: 1fr;
    padding: 56px 0 40px;
    gap: 34px;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .float-bar {
    right: 12px;
    bottom: 72px;
  }

  .float-bar__item {
    width: 44px;
    height: 44px;
  }

  .page-hero {
    padding: calc(var(--header-h) + 48px) 0 48px;
  }

  .page-hero__title {
    margin-top: 18px;
  }

  .stats-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-band__item:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .stats-band__item:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .value-grid,
  .location-grid,
  .cert-grid {
    grid-template-columns: 1fr;
  }

  .check-list__item {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 22px 0;
  }

  .job {
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: start;
  }

  .job__cta {
    justify-self: start;
  }

  .contact-form .field-row {
    grid-template-columns: 1fr;
  }

  .product-detail__spec {
    grid-template-columns: 1fr;
  }

  .product-detail__spec div:nth-child(odd) {
    border-right: 0;
  }

  .footer__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer__main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .contact-grid {
    gap: 40px;
  }
}

@media (max-width: 420px) {
  .brand__sub {
    display: none;
  }

  .brand__name {
    font-size: 21px;
  }

  .hero__tags span {
    border-right: 0;
    padding: 0 10px 0 0;
  }
}

/* ---------- 21. Motion / print ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-slide {
    transform: none;
  }
}

@media print {
  .site-header,
  .float-bar,
  .hero__grid,
  .mobile-nav,
  .skip-link {
    display: none !important;
  }

  body {
    color: #000;
  }

  .hero,
  .page-hero {
    background: #fff !important;
    color: #000 !important;
    padding-top: 24px;
  }

  .hero__title,
  .page-hero__title {
    color: #000 !important;
  }
}

/* ---------- 22. Component refinements ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease),
    background 0.2s var(--ease);
}

a.chip:hover {
  border-color: var(--red);
  color: var(--red);
  background: #fff;
}

.value-card__no .icon {
  width: 24px;
  height: 24px;
  stroke-width: 1.5;
}

.map-card svg {
  display: block;
  width: 100%;
  height: auto;
}

.cert-card__media img[data-lightbox],
.cert-strip__media img[data-lightbox] {
  cursor: zoom-in;
}

.section--dark .section__kicker {
  color: var(--red);
}

.value-grid .value-card h3 {
  margin-top: 14px;
}

.section__aside .text-link {
  padding-bottom: 4px;
}

@media (max-width: 760px) {
  .gallery__item--tall {
    grid-row: auto;
  }

  .gallery__item--third {
    grid-column: span 1;
  }

  .tabs {
    grid-template-columns: 1fr;
  }

  .tab:nth-child(odd) {
    border-right: 0;
  }

  .tab:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .tab:last-child {
    border-bottom: 0;
  }
}

/* ---------- 23. Gallery system (composed mosaic) ---------- */
.gallery {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 238px;
  gap: 18px;
}

.gallery__item {
  min-height: 0;
}

.gallery__item--big {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery__item--wide {
  grid-column: span 2;
  grid-row: span 1;
}

.gallery__item--std {
  grid-column: span 1;
  grid-row: span 1;
}

@media (max-width: 1024px) {
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 220px;
  }

  .gallery__item--big {
    grid-column: span 2;
    grid-row: span 2;
  }

  .gallery__item--wide {
    grid-column: span 2;
  }

  .gallery__item--std {
    grid-column: span 1;
  }
}

@media (max-width: 760px) {
  .gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
    gap: 12px;
  }

  .gallery__item--big,
  .gallery__item--wide,
  .gallery__item--std {
    grid-column: span 1;
    grid-row: span 1;
  }
}

/* ---------- 24. Robustness / typography refinements ---------- */
.no-js .reveal {
  opacity: 1;
  transform: none;
}

.hero__stat span {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.68);
  letter-spacing: 0.02em;
}

.hero__stat strong {
  font-size: 40px;
}

.section__desc {
  color: #5a6472;
}

.product-card__media img,
.gallery__item img {
  filter: saturate(0.92) contrast(1.03);
}

.industry-card img {
  filter: saturate(0.66) brightness(0.64);
}

.industry-card:hover img {
  filter: saturate(0.82) brightness(0.72);
}

.gallery__item::after {
  opacity: 1;
  background: linear-gradient(
    180deg,
    rgba(10, 15, 21, 0.08) 40%,
    rgba(10, 15, 21, 0.86) 100%
  );
}

.gallery__item:hover::after {
  opacity: 1;
  background: linear-gradient(
    180deg,
    rgba(10, 15, 21, 0.02) 40%,
    rgba(10, 15, 21, 0.72) 100%
  );
}

.footer__brand .brand__mark {
  background: var(--red);
}

@media (max-width: 760px) {
  .hero__stat strong {
    font-size: 32px;
  }

  .gallery__item--big {
    grid-row: span 1;
  }
}

/* ---------- 25. Six-step process grid + English layout ---------- */
.process--six {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px 0;
}

.process--six .process__step:nth-child(3)::after {
  display: none;
}

.process--six .process__step:nth-child(n + 4) .process__no {
  background: var(--dark);
  border-color: rgba(255, 255, 255, 0.24);
}

html[lang="en"] body {
  font-size: 16px;
}

html[lang="en"] .hero__title {
  letter-spacing: -0.025em;
}

html[lang="en"] .section__title {
  letter-spacing: -0.02em;
}

html[lang="en"] .hero__stat span {
  letter-spacing: 0.01em;
}

@media (max-width: 1024px) {
  .process--six {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process--six .process__step:nth-child(3)::after {
    display: block;
  }

  .process--six .process__step:nth-child(2n)::after {
    display: none;
  }
}

@media (max-width: 760px) {
  .process--six {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .process--six .process__step::after {
    display: none !important;
  }
}

/* ---------- 26. Final polish ---------- */
.hero__badge {
  left: auto;
  right: -24px;
  top: 26px;
  bottom: auto;
}

html[lang="en"] .hero__title {
  font-size: clamp(2.2rem, 3.35vw, 3.25rem);
  line-height: 1.14;
}

.gallery__item img {
  filter: saturate(0.8) brightness(0.9) contrast(1.02);
}

.gallery__item:hover img {
  filter: saturate(0.92) brightness(0.96) contrast(1.03);
}

/* ---------- 27. Contrast + small-screen refinements ---------- */
:root {
  --muted: #667080;
}

.section--dark .section__kicker,
.page-hero__en {
  color: #ff5f6b;
}

.industry-card__en {
  color: #ff6b74;
}

@media (max-width: 760px) {
  .map-card__overlay {
    position: static;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    background: #0d1219;
  }

  .map-card__overlay a {
    border-bottom: 0;
    color: #ff8a93;
  }

  .footer__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- 28. Compact mobile eyebrow ---------- */
.eyebrow__short {
  display: none;
}

@media (max-width: 760px) {
  .eyebrow__long {
    display: none;
  }

  .eyebrow__short {
    display: inline;
  }

  .eyebrow {
    letter-spacing: 0.16em;
    font-size: 10.5px;
  }
}

/* ---------- 29. Launch fixes: contrast, slider controls, print ---------- */
.section__kicker,
.job__cta,
.mini-value span,
.location-card__tag,
.value-card__no {
  color: var(--red-600);
}

.value-card--dark .value-card__no {
  color: #ff5f6b;
}

.value-card--dark .value-card__en {
  color: #9aa4b2;
}

.hero__stat strong small {
  color: #ff5f6b;
}

/* hero slider controls */
.hero__dots {
  left: 18px;
  right: auto;
  top: 20px;
  flex-direction: row;
}

.hero__toggle {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 6;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(10, 15, 21, 0.55);
  color: #fff;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.hero__toggle:hover {
  background: var(--red);
  border-color: var(--red);
}

.hero__toggle .icon {
  width: 14px;
  height: 14px;
  stroke-width: 2;
}

.hero__toggle[hidden] {
  display: none;
}

/* keep the certificate zoom affordance visible */
.cert-card__media:focus-visible,
.cert-strip__media img:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

@media print {
  .section--dark,
  .section--dark *,
  .cta-band,
  .cta-band *,
  .site-footer,
  .site-footer *,
  .page-hero,
  .page-hero * {
    background: transparent !important;
    color: #000 !important;
    border-color: #bbb !important;
  }

  .cta-band::before,
  .cta-band::after,
  .hero__grid,
  .page-hero__grid,
  .hero__toggle,
  .hero__dots {
    display: none !important;
  }

  .site-footer a {
    color: #000 !important;
  }

  .btn {
    border: 1px solid #000 !important;
    color: #000 !important;
    background: transparent !important;
  }
}

/* ---------- 30. Slider pagination legibility ---------- */
.hero__dots {
  left: 14px;
  top: 14px;
  gap: 8px;
  padding: 8px 10px;
  background: rgba(10, 15, 21, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.hero__dot {
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.6);
}

.hero__dot.is-active {
  background: var(--red);
}

@media (max-width: 760px) {
  .hero__toggle {
    width: 32px;
    height: 32px;
    right: 12px;
    bottom: 12px;
  }

  .hero__dots {
    left: 10px;
    top: 10px;
    padding: 6px 8px;
  }
}

/* ==========================================================================
   31. LIGHT BLUE THEME (approved: 方案 B · 全站冰蓝)
   Replaces the deep charcoal surfaces (hero, process, CTA, footer and inner
   page banners) with an ice-blue palette. White content sections, brand red,
   photos and product illustrations remain unchanged so equipment photography
   and the brand mark keep their contrast.
   ========================================================================== */
:root {
  --lb-hero: #f5f6f8;
  --lb-section: #f2f4f6;
  --lb-cta: #eef0f3;
  --lb-footer: #e9ecf0;
  --lb-ink: #1c2530;
  --lb-text: #4b5563;
  --lb-muted: #5f6b7a;
  --lb-line: rgba(28, 37, 48, 0.16);
  --lb-line-soft: rgba(28, 37, 48, 0.1);
  --lb-hero-rgb: 245, 246, 248;
  --lb-section-rgb: 242, 244, 246;
}

/* ----- home hero ----- */
.hero {
  background: var(--lb-hero);
  color: var(--lb-ink);
}

.hero__bg img {
  opacity: 0.13;
  filter: saturate(0.5) brightness(1.06);
}

.hero__bg::after {
  background: linear-gradient(
      100deg,
      rgba(var(--lb-hero-rgb), 0.985) 0%,
      rgba(var(--lb-hero-rgb), 0.95) 42%,
      rgba(var(--lb-hero-rgb), 0.7) 72%,
      rgba(var(--lb-hero-rgb), 0.88) 100%
    ),
    radial-gradient(
      120% 90% at 86% 8%,
      rgba(230, 0, 18, 0.1) 0%,
      rgba(230, 0, 18, 0) 58%
    );
}

.hero__grid {
  background-image: linear-gradient(
      rgba(28, 37, 48, 0.055) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(28, 37, 48, 0.055) 1px, transparent 1px);
}

.hero .eyebrow--light {
  color: #b3121f;
}

.hero__title {
  color: var(--lb-ink);
}

.hero__lede {
  color: var(--lb-text);
}

.hero__tags {
  color: var(--lb-muted);
}

.hero__tags span {
  border-right-color: var(--lb-line);
}

.hero__stats {
  border-top-color: var(--lb-line);
}

.hero__stat + .hero__stat {
  border-left-color: var(--lb-line);
}

.hero__stat strong {
  color: var(--lb-ink);
}

.hero__stat strong small {
  color: #c50010;
}

.hero__stat span {
  color: var(--lb-muted);
}

.hero-slider {
  border-color: rgba(28, 37, 48, 0.14);
  box-shadow: 0 40px 80px -48px rgba(28, 37, 48, 0.5);
}

.hero__badge {
  border: 1px solid #e1e5e9;
  box-shadow: 0 24px 50px -30px rgba(28, 37, 48, 0.35);
}

.hero .btn--ghost {
  border-color: rgba(28, 37, 48, 0.3);
  color: var(--lb-ink);
}

.hero .btn--ghost:hover {
  background: var(--lb-ink);
  border-color: var(--lb-ink);
  color: #fff;
}

/* ----- inner page banner ----- */
.page-hero {
  background: var(--lb-section);
  color: var(--lb-ink);
}

.page-hero__bg img {
  opacity: 0.11;
  filter: saturate(0.5) brightness(1.06);
}

.page-hero__bg::after {
  background: linear-gradient(
      100deg,
      rgba(var(--lb-section-rgb), 0.99) 0%,
      rgba(var(--lb-section-rgb), 0.93) 52%,
      rgba(var(--lb-section-rgb), 0.62) 100%
    ),
    radial-gradient(
      90% 120% at 92% 0%,
      rgba(230, 0, 18, 0.08) 0%,
      rgba(230, 0, 18, 0) 60%
    );
}

.page-hero__grid {
  background-image: linear-gradient(
      rgba(28, 37, 48, 0.05) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(28, 37, 48, 0.05) 1px, transparent 1px);
}

.page-hero__title {
  color: var(--lb-ink);
}

.page-hero__desc {
  color: var(--lb-text);
}

.page-hero__en {
  color: #c50010;
}

.breadcrumb {
  color: var(--lb-muted);
}

.breadcrumb a:hover {
  color: var(--lb-ink);
}

.breadcrumb span[aria-current] {
  color: var(--lb-ink);
}

/* ----- process / dark content sections ----- */
.section--dark {
  background: var(--lb-section);
  color: var(--lb-text);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--lb-ink);
}

.section--dark .section__kicker {
  color: #c50010;
}

.section--dark .section__title-en,
.section--dark .section__desc {
  color: var(--lb-muted);
}

.process__no {
  background: var(--lb-section);
  border-color: rgba(28, 37, 48, 0.25);
  color: var(--lb-ink);
}

.process__step:first-child .process__no {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.process__step:not(:last-child)::after {
  background: rgba(28, 37, 48, 0.18);
}

.process__title {
  color: var(--lb-ink);
}

.process__desc {
  color: var(--lb-muted);
}

.section--dark .btn--ghost {
  border-color: rgba(28, 37, 48, 0.3);
  color: var(--lb-ink);
}

.section--dark .btn--ghost:hover {
  background: var(--lb-ink);
  border-color: var(--lb-ink);
  color: #fff;
}

/* ----- CTA band ----- */
.cta-band {
  background: var(--lb-cta);
  color: var(--lb-text);
}

.cta-band__title {
  color: var(--lb-ink);
}

.cta-band__desc {
  color: var(--lb-muted);
}

.cta-band::before {
  border-color: rgba(28, 37, 48, 0.1);
}

.cta-band::after {
  border-color: rgba(230, 0, 18, 0.28);
}

.cta-band .section__kicker {
  color: #c50010 !important;
}

.cta-band .btn--ghost {
  border-color: rgba(28, 37, 48, 0.3);
  color: var(--lb-ink);
}

.cta-band .btn--ghost:hover {
  background: var(--lb-ink);
  border-color: var(--lb-ink);
  color: #fff;
}

/* ----- footer ----- */
.site-footer {
  background: var(--lb-footer);
  color: var(--lb-text);
}

.site-footer .brand__name {
  color: var(--lb-ink);
}

.site-footer .brand__sub {
  color: var(--lb-muted);
}

.footer__blurb {
  color: var(--lb-text);
}

.footer__contact a,
.footer__contact span {
  color: var(--lb-text);
}

.footer__contact .icon {
  color: #c50010;
}

.footer__col-title {
  color: var(--lb-ink);
}

.footer__links a {
  color: var(--lb-text);
}

.footer__links a:hover {
  color: #c50010;
}

.footer__bottom {
  border-top-color: var(--lb-line);
  color: var(--lb-muted);
}

.footer__bottom a {
  color: var(--lb-text);
}

.footer__bottom a:hover {
  color: #c50010;
}

/* ----- dark accent card (about / culture) ----- */
.value-card--dark {
  background: var(--lb-hero);
  border-color: #d6e6f3;
}

.value-card--dark h3 {
  color: var(--lb-ink);
}

.value-card--dark p {
  color: var(--lb-text);
}

.value-card--dark .value-card__no {
  color: #c50010;
}

.value-card--dark .value-card__en {
  color: var(--lb-muted);
}

/* ---------- 32. Light theme refinements ---------- */
/* six-step process second row: keep number tiles consistent on light blue */
.process--six .process__step:nth-child(n + 4) .process__no {
  background: var(--lb-section);
  border-color: rgba(28, 37, 48, 0.25);
  color: var(--lb-ink);
}

/* the single dark accent card reads as a soft blue feature card */
.value-card--dark {
  background: var(--lb-cta);
  border-color: #dee2e7;
}

/* keep small captions legible on photography but tint them toward the theme */
.split__caption {
  background: rgba(28, 37, 48, 0.92);
}
