/* Kaibolai — premium B2B electronics distributor */
:root {
  --ink: #0b1220;
  --navy: #0e1f33;
  --navy-deep: #070f1a;
  --navy-mid: #152a42;
  --steel: #3d5166;
  --muted: #6b7c8f;
  --line: #dce3eb;
  --line-soft: rgba(14, 31, 51, 0.08);
  --fog: #f3f5f8;
  --fog-2: #e8edf3;
  --white: #ffffff;
  --paper: #f8f9fb;
  --brass: #c6a35a;
  --brass-deep: #9a7a3c;
  --brass-soft: rgba(198, 163, 90, 0.18);
  --gold: #d4b76a;
  --gold-bright: #e8d19a;
  --crimson: #a1122a;
  --shadow: 0 20px 50px rgba(7, 15, 26, 0.1);
  --shadow-soft: 0 8px 28px rgba(7, 15, 26, 0.06);
  --radius: 2px;
  --max: 1140px;
  --header-h: 76px;
  --font-display: "Inter", "Noto Sans SC", sans-serif;
  --font-body: "Inter", "Noto Sans SC", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(156, 129, 84, 0.06), transparent 55%),
    linear-gradient(180deg, #f7f8fa 0%, var(--white) 28%, var(--white) 100%);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  /* Side padding scales from phones → tablets → desktop */
  width: min(100% - clamp(1.5rem, 5vw, 2.75rem), var(--max));
  margin-inline: auto;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 15, 26, 0.86);
  backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: env(safe-area-inset-top);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--white);
  flex-shrink: 0;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.brand-text span {
  font-size: 0.68rem;
  opacity: 0.58;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-top: 0.15rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.85rem;
}

.nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 0.25s var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}

.nav a:hover,
.nav a.active {
  color: var(--white);
}

.nav a:hover::after,
.nav a.active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.lang-switch button {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.65);
  padding: 0.38rem 0.78rem;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  transition: background 0.2s, color 0.2s;
}

.lang-switch button img {
  width: 16px;
  height: 11px;
  object-fit: cover;
  border-radius: 1px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

.lang-switch button.active {
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 1.15rem;
  line-height: 1;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.menu-toggle[aria-expanded="true"] {
  border-color: rgba(232, 209, 154, 0.55);
  color: var(--gold-bright);
}

/* ——— Buttons / links ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.35rem;
  border-radius: var(--radius);
  border: 0;
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, color 0.25s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--ink);
  box-shadow: var(--shadow-soft);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--navy);
  background: var(--white);
}

.btn-sm {
  padding: 0.5rem 0.9rem;
  font-size: 0.78rem;
}

.text-link,
.split-copy > a:not(.about-cta) {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--brass);
  padding-bottom: 0.15rem;
  transition: color 0.2s, gap 0.25s var(--ease);
}

.text-link:hover,
.split-copy > a:not(.about-cta):hover {
  color: var(--brass);
  gap: 0.65rem;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: min(94vh, 820px);
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
  background: var(--navy-deep);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: saturate(0.95) contrast(1.08) brightness(0.92);
  animation: heroZoom 22s var(--ease) forwards;
}

@keyframes heroZoom {
  from {
    transform: scale(1.1);
  }
  to {
    transform: scale(1);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(7, 15, 26, 0.88) 0%, rgba(7, 15, 26, 0.62) 46%, rgba(7, 15, 26, 0.28) 100%),
    linear-gradient(to top, rgba(7, 15, 26, 0.82) 0%, transparent 48%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 5.5rem 0 4.75rem;
  max-width: 720px;
  animation: heroRise 1s var(--ease) both;
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.4rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  margin: 0 0 1.15rem;
  line-height: 0.95;
}

.hero-brand::after {
  content: "";
  display: block;
  width: 56px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-bright), var(--brass-deep));
  margin-top: 1.1rem;
  box-shadow: 0 0 12px rgba(212, 183, 106, 0.35);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 500;
  line-height: 1.4;
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.94);
  letter-spacing: -0.01em;
  max-width: 18ch;
}

.hero > .container > p,
.hero-content > p {
  margin: 0 0 0.5rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.05rem;
  max-width: 34rem;
  font-weight: 400;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 3.25rem;
  padding-top: 1.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-stats div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-stats div span {
  font-size: 0.78rem;
  opacity: 0.62;
  letter-spacing: 0.02em;
}

/* ——— Sections ——— */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-head {
  max-width: 620px;
  margin-bottom: 2.85rem;
}

.section-head h2,
.split-copy h2,
.cert-grid h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  margin: 0 0 0.9rem;
  letter-spacing: -0.03em;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.15;
}

.section-head p,
.split-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-navy {
  background:
    radial-gradient(ellipse at 12% 0%, rgba(156, 129, 84, 0.14), transparent 42%),
    linear-gradient(165deg, #08111d 0%, #12253b 55%, #0c1a2c 100%);
  color: var(--white);
}

.section-navy .section-head h2 {
  color: var(--white);
}

.section-navy .section-head p {
  color: rgba(255, 255, 255, 0.68);
}

.section-fog {
  background:
    linear-gradient(180deg, var(--fog) 0%, #eef2f6 100%);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 3.75rem;
  align-items: center;
}

.about-split-section {
  background:
    radial-gradient(900px 480px at 8% 20%, rgba(198, 163, 90, 0.07), transparent 60%),
    radial-gradient(700px 420px at 92% 70%, rgba(14, 31, 51, 0.04), transparent 55%),
    linear-gradient(180deg, #f6f7f9 0%, #ffffff 55%, #f8f9fb 100%);
  overflow: hidden;
}

.about-split {
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.split-copy {
  position: relative;
  padding-right: 0.5rem;
}

.about-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 32rem;
  padding: 0.5rem 0;
}

.about-eyebrow {
  margin: 0 0 1.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass-deep);
}

.about-brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.85rem, 6vw, 4.35rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 0.9;
  text-transform: uppercase;
  color: var(--navy-deep);
}

.about-brand::after {
  content: "";
  display: block;
  width: 3.25rem;
  height: 1.5px;
  margin-top: 1.35rem;
  margin-bottom: 1.6rem;
  background: linear-gradient(90deg, var(--gold-bright), var(--brass-deep));
}

.about-headline {
  font-family: var(--font-display) !important;
  font-size: clamp(1.55rem, 2.8vw, 2.15rem) !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
  letter-spacing: -0.03em !important;
  color: var(--navy) !important;
  max-width: 14ch;
  margin: 0 0 1.85rem !important;
}

.about-headline-lead {
  display: inline;
  color: #2a3d52;
  font-weight: 500;
}

.about-highlight {
  display: inline;
  color: var(--brass-deep);
  font-weight: 600;
  font-style: normal;
  position: relative;
  white-space: nowrap;
  background: none;
  padding: 0;
  border-bottom: none;
  box-shadow: inset 0 -0.28em 0 rgba(232, 209, 154, 0.55);
}

.about-body {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
  max-width: 30rem;
}

.about-body p {
  margin: 0;
  color: #5a6b7d;
  font-size: 1.02rem;
  line-height: 1.78;
  font-weight: 400;
}

.about-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.15rem;
  padding: 0 0 0.45rem;
  color: var(--navy-deep);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(198, 163, 90, 0.55);
  transition: color 0.25s var(--ease), gap 0.3s var(--ease), border-color 0.25s;
}

.about-cta:hover {
  color: var(--brass-deep);
  gap: 0.85rem;
  border-bottom-color: var(--brass);
}

.about-cta-arrow {
  font-size: 1rem;
  line-height: 1;
  color: var(--brass);
  transition: transform 0.3s var(--ease);
}

.about-cta:hover .about-cta-arrow {
  transform: translateX(3px);
}

.split-media {
  position: relative;
  min-height: 480px;
  padding: 1.35rem;
}

.split-media-glow {
  position: absolute;
  inset: 6% 2% 2% 6%;
  background: radial-gradient(circle at 50% 45%, rgba(232, 209, 154, 0.45), transparent 68%);
  filter: blur(36px);
  opacity: 0.9;
  pointer-events: none;
}

.split-media-blur {
  position: absolute;
  inset: 0.2rem;
  background-size: cover;
  background-position: center;
  filter: blur(26px) saturate(1.08);
  opacity: 0.5;
  transform: scale(1.06);
  pointer-events: none;
}

.split-media-frame {
  position: relative;
  z-index: 1;
  overflow: hidden;
  min-height: 450px;
  border: 1px solid rgba(212, 183, 106, 0.5);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.8),
    0 0 0 10px rgba(255, 255, 255, 0.45),
    0 28px 60px rgba(7, 15, 26, 0.18),
    0 0 50px rgba(198, 163, 90, 0.14);
  background: #0b1220;
}

.split-media-frame::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(232, 209, 154, 0.32);
  z-index: 2;
  pointer-events: none;
}

.split-media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg, rgba(232, 209, 154, 0.2), transparent 30%),
    linear-gradient(to top, rgba(7, 15, 26, 0.32), transparent 45%);
  z-index: 2;
  pointer-events: none;
}

.split-media img {
  width: 100%;
  height: 100%;
  min-height: 450px;
  object-fit: cover;
  transition: transform 1.3s var(--ease), filter 0.8s;
  filter: contrast(1.05) saturate(0.95);
}

.split:hover .split-media img {
  transform: scale(1.045);
  filter: contrast(1.08) saturate(1.02);
}

.split-copy h2 {
  margin-top: 0;
}

/* ——— Services ——— */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.service-item {
  text-align: left;
  padding: 1.6rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.35s var(--ease), border-color 0.35s, background 0.35s;
}

.service-item:hover {
  transform: translateY(-5px);
  border-color: rgba(232, 209, 154, 0.55);
  background: rgba(232, 209, 154, 0.06);
}

.service-icon {
  width: 48px;
  height: 48px;
  margin: 0 0 1.1rem;
  border: 1px solid rgba(232, 209, 154, 0.4);
  background: linear-gradient(145deg, rgba(232, 209, 154, 0.16), transparent);
  display: grid;
  place-items: center;
  color: var(--gold-bright);
}

.service-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-item h3 {
  margin: 0 0 0.45rem;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.service-item p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.55;
}

/* ——— Supply portfolio ——— */
.supply-intro {
  max-width: 720px;
  margin-bottom: 3rem;
}

.supply-eyebrow {
  margin: 0 0 0.75rem;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.supply-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.15;
}

.supply-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.supply-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid rgba(198, 163, 90, 0.35);
}

.supply-item {
  padding: 2.15rem 1.85rem 2.25rem;
  border-bottom: 1px solid rgba(198, 163, 90, 0.22);
  border-right: 1px solid rgba(198, 163, 90, 0.22);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.2));
  transition: background 0.35s var(--ease), box-shadow 0.35s, transform 0.35s var(--ease);
}

.supply-item:nth-child(2n) {
  border-right: 0;
  padding-left: 2rem;
}

.supply-item:hover {
  background: linear-gradient(180deg, rgba(255, 252, 245, 0.95), rgba(255, 255, 255, 0.8));
  box-shadow: inset 0 0 0 1px rgba(198, 163, 90, 0.28);
  transform: translateY(-2px);
}

.supply-top {
  display: flex;
  align-items: center;
  margin-bottom: 1.2rem;
}

.supply-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(198, 163, 90, 0.45);
  background: linear-gradient(145deg, rgba(232, 209, 154, 0.28), rgba(198, 163, 90, 0.08));
  color: var(--brass-deep);
  box-shadow: 0 6px 18px rgba(154, 122, 60, 0.08);
}

.supply-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.supply-item h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.supply-item:hover h3 {
  color: var(--brass-deep);
}

.supply-item > p {
  margin: 0 0 1.15rem;
  color: var(--steel);
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 36rem;
}

.supply-tags {
  margin: 0 !important;
  color: var(--brass-deep) !important;
  font-size: 0.74rem !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.supply-note {
  margin: 2.25rem 0 0;
  padding: 1.35rem 0 0;
  border-top: 1px solid rgba(198, 163, 90, 0.3);
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 48rem;
  line-height: 1.65;
}

/* ——— Tables ——— */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
}

table.data {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

table.data th,
table.data td {
  padding: 1rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}

table.data th {
  background: linear-gradient(180deg, #f7f8fa, #eef2f6);
  color: var(--steel);
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

table.data tr:last-child td {
  border-bottom: 0;
}

table.data tr:hover td {
  background: rgba(156, 129, 84, 0.04);
}

table.data td strong {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.stock-ok {
  color: #0f7a4a;
  font-weight: 700;
}

.stock-low {
  color: #b45309;
  font-weight: 700;
}

/* ——— Brands marquee ——— */
.brands-section {
  overflow: hidden;
}

.brands-head {
  max-width: 640px;
}

.brands-marquee {
  margin-top: 0.5rem;
  display: grid;
  gap: 0.85rem;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-row {
  overflow: hidden;
  border-block: 1px solid rgba(14, 31, 51, 0.06);
  background: rgba(255, 255, 255, 0.45);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeLeft 55s linear infinite;
}

.marquee-row[data-direction="right"] .marquee-track {
  animation-name: marqueeRight;
  animation-duration: 60s;
}

.marquee-row[data-speed="slow"] .marquee-track {
  animation-duration: 75s;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 0.4rem;
}

.marquee-group span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 7.5rem;
  padding: 0.85rem 1.35rem;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(14, 31, 51, 0.08);
  white-space: nowrap;
  transition: color 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}

.marquee-group span:hover {
  color: var(--brass);
  border-color: rgba(156, 129, 84, 0.45);
  transform: translateY(-2px);
}

.brands-marquee:hover .marquee-track {
  animation-play-state: paused;
}

.brands-footnote {
  margin: 2rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 44rem;
  line-height: 1.65;
}

@keyframes marqueeLeft {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes marqueeRight {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none !important;
  }

  .brands-marquee {
    mask-image: none;
    -webkit-mask-image: none;
  }

  .marquee-row {
    overflow-x: auto;
  }
}

/* ——— Certificate / Environment ——— */
.cert-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2.75rem;
  align-items: center;
}

.cert-grid img {
  width: 100%;
  box-shadow: var(--shadow);
}

.cert-title {
  font-family: var(--font-display);
  color: var(--navy);
  margin: 0 0 0.85rem;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  letter-spacing: -0.03em;
}

.cert-text {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.cert-zh {
  margin: 0;
  color: var(--steel);
  font-size: 0.95rem;
  line-height: 1.7;
}

.env-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0.85rem;
}

.env-grid .tall {
  grid-row: span 2;
}

.env-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 230px;
  box-shadow: var(--shadow-soft);
}

.env-banner {
  margin-bottom: 1.25rem;
}

.env-banner img {
  width: 100%;
  max-height: 170px;
  object-fit: cover;
}

/* ——— Contact ——— */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.contact-card {
  background:
    linear-gradient(145deg, #ffffff 0%, #f4f6f9 100%);
  padding: 2.35rem 2.15rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--brass);
  box-shadow: var(--shadow-soft);
}

.contact-card-solo {
  max-width: 560px;
}

.home-contact {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

.home-contact-panel {
  background: #fff;
  border: 1px solid rgba(14, 31, 51, 0.08);
  box-shadow: 0 18px 48px rgba(7, 15, 26, 0.06);
  overflow: hidden;
}

.home-contact-top {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  align-items: stretch;
}

.home-contact-top .contact-identity {
  padding: clamp(1.75rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(160deg, #f7f9fb 0%, #ffffff 55%);
}

.home-contact-top .contact-identity h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  margin: 0 0 1.15rem;
  color: var(--navy);
  letter-spacing: -0.03em;
  font-weight: 700;
}

.home-contact .contact-identity h3 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.65rem);
  margin: 0 0 0.25rem;
  color: var(--navy);
  letter-spacing: -0.02em;
  font-weight: 700;
}

.home-contact-top .contact-lead {
  margin: 0;
  max-width: 34rem;
  font-size: 0.98rem;
}

.home-contact-photo {
  min-height: 0 !important;
  aspect-ratio: auto !important;
  height: 100%;
  box-shadow: none;
  border-left: 1px solid rgba(14, 31, 51, 0.06);
}

.home-contact-photo img {
  min-height: 100% !important;
  height: 100%;
  object-fit: cover;
}

.home-contact-channels {
  display: grid;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 0 !important;
  border-top: 1px solid rgba(14, 31, 51, 0.08);
}

.home-contact-channels .channel-tile {
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 1.2rem 1.1rem;
  background: #fff;
  border: 0;
  border-right: 1px solid rgba(14, 31, 51, 0.08);
  box-shadow: none;
  border-radius: 0;
}

.home-contact-channels .channel-tile:last-child {
  border-right: 0;
}

.home-contact-channels a.channel-tile:hover {
  transform: none;
  background: #f5f8fb;
  box-shadow: none;
}

.home-contact-channels a.channel-tile:hover .channel-icon {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.home-contact-visit {
  margin-top: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-card h3 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.contact-card .role {
  color: var(--brass);
  margin-bottom: 1.5rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.contact-list li {
  display: grid;
  gap: 0.2rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line-soft);
}

.contact-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.contact-list span {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 700;
}

.contact-list a,
.contact-list strong {
  color: var(--navy);
  font-weight: 600;
  font-size: 0.98rem;
}

.contact-list a:hover {
  color: var(--brass);
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  border: 1px solid var(--line);
  padding: 0.8rem 0.95rem;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: 2px solid rgba(14, 31, 51, 0.15);
  border-color: var(--navy);
}

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

/* ——— Page hero (inner) ——— */
.page-hero {
  position: relative;
  background:
    linear-gradient(120deg, rgba(7, 15, 26, 0.9), rgba(14, 31, 51, 0.78)),
    url("../assets/images/warehouse-2.jpg") center/cover;
  color: var(--white);
  padding: 5.25rem 0 4rem;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(156, 129, 84, 0.55), transparent);
}

.page-eyebrow {
  margin: 0 0 0.85rem;
  color: #d4c0a0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3rem);
  margin: 0 0 0.85rem;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.page-hero p {
  margin: 0;
  max-width: 38rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
}

/* ——— Premium contact page ——— */
.contact-hero {
  background:
    linear-gradient(115deg, rgba(7, 15, 26, 0.9) 0%, rgba(14, 31, 51, 0.7) 55%, rgba(7, 15, 26, 0.5) 100%),
    url("../assets/images/office-lounge.png") center/cover;
  padding: 5.5rem 0 4.25rem;
}

.contact-hero-inner {
  max-width: 40rem;
}

.contact-page {
  padding-top: 4.75rem;
  padding-bottom: 5.5rem;
  background:
    radial-gradient(900px 420px at 100% 0%, rgba(14, 31, 51, 0.04), transparent 55%),
    linear-gradient(180deg, #f7f8fa 0%, #ffffff 38%, #f7f8fa 100%);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}

.contact-kicker {
  margin: 0 0 0.85rem;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel);
  font-weight: 700;
}

.contact-identity h2 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.6vw, 2.85rem);
  margin: 0 0 0.45rem;
  color: var(--navy);
  letter-spacing: -0.035em;
  font-weight: 700;
}

.contact-role {
  margin: 0 0 1.5rem;
  color: var(--steel);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.contact-lead {
  margin: 0 0 2.5rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 34rem;
}

.contact-channels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.contact-page .contact-channels-premium {
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.channel-tile {
  display: grid;
  gap: 0.35rem;
  padding: 1.35rem 1.25rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  transition: border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s, background 0.3s;
}

.contact-page .contact-channels-premium .channel-tile {
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.2rem 1.25rem;
  background: #fff;
  border: 1px solid rgba(14, 31, 51, 0.08);
  box-shadow: 0 8px 24px rgba(7, 15, 26, 0.04);
}

.channel-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(14, 31, 51, 0.12);
  background: linear-gradient(160deg, #f4f7fb, #e8eef5);
  color: var(--navy);
  flex-shrink: 0;
}

.channel-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.channel-copy {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
}

a.channel-tile {
  text-decoration: none;
}

a.channel-tile:hover {
  border-color: rgba(14, 31, 51, 0.28);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.contact-page .contact-channels-premium a.channel-tile:hover {
  border-color: rgba(14, 31, 51, 0.22);
  background: #f8fafc;
}

.contact-page .contact-channels-premium a.channel-tile:hover .channel-icon {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.channel-label {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.channel-tile strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: -0.01em;
  word-break: break-word;
}

.channel-hint {
  font-size: 0.86rem;
  color: var(--steel);
}

.contact-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1.75rem;
  padding: 1.35rem 1.25rem;
  background: rgba(14, 31, 51, 0.03);
  border: 1px solid rgba(14, 31, 51, 0.08);
}

.contact-meta span {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.contact-meta strong {
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-aside {
  display: grid;
  gap: 0.85rem;
  position: sticky;
  top: 96px;
}

.contact-page .contact-aside-photo {
  gap: 0;
  align-self: start;
}

.contact-photo {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  background:
    linear-gradient(145deg, #d7dee8, #eef2f6),
    #e8edf3;
  box-shadow: var(--shadow);
}

.contact-page .contact-photo {
  min-height: 0;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(14, 31, 51, 0.08);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.8),
    0 22px 48px rgba(7, 15, 26, 0.12);
}

.contact-photo img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
  transition: transform 1.1s var(--ease);
}

.contact-page .contact-photo img {
  min-height: 0;
  position: absolute;
  inset: 0;
}

.contact-photo-caption {
  margin-top: 0.85rem;
  padding: 0.75rem 0.15rem 0;
  border-top: 1px solid rgba(14, 31, 51, 0.1);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
  font-weight: 600;
}

.contact-aside:hover .contact-photo img {
  transform: scale(1.04);
}

.contact-address-panel {
  padding: 1.5rem 1.35rem 1.35rem;
  background: linear-gradient(160deg, #0e1f33, #152a42);
  color: rgba(255, 255, 255, 0.78);
}

.contact-address-panel > span {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(214, 226, 238, 0.7);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.contact-address-panel strong {
  display: block;
  color: var(--white);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.55;
  margin-bottom: 0.75rem;
}

.contact-address-panel > p {
  margin: 0 0 1.15rem;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.55);
}

.contact-visit {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: stretch;
  margin-top: 4.5rem;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: linear-gradient(145deg, #0e1f33 0%, #16304a 100%);
  color: rgba(232, 240, 248, 0.78);
  box-shadow: var(--shadow);
}

.contact-visit-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.5rem 0.25rem;
}

.contact-visit .contact-kicker {
  color: rgba(214, 226, 238, 0.62);
}

.contact-visit h3 {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.6vw, 2rem);
  color: #fff;
  letter-spacing: -0.03em;
  font-weight: 700;
  line-height: 1.2;
}

.contact-visit strong {
  display: block;
  color: rgba(255, 255, 255, 0.94);
  font-weight: 500;
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 0.85rem;
}

.contact-visit p {
  margin: 0 0 1.75rem;
  color: rgba(214, 226, 238, 0.58);
  font-size: 0.9rem;
  line-height: 1.55;
}

.contact-map {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 12px 28px rgba(0, 0, 0, 0.28);
  background: #0b1220;
  aspect-ratio: 16 / 11;
  min-height: 200px;
}

.contact-map-large {
  aspect-ratio: auto;
  min-height: 320px;
  height: 100%;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.12) contrast(1.04);
}

.contact-map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 0.2rem;
  transition: color 0.2s, gap 0.25s var(--ease), border-color 0.2s;
}

.contact-map-link:hover {
  color: #fff;
  gap: 0.7rem;
  border-bottom-color: rgba(255, 255, 255, 0.7);
}

.contact-map-link-dark {
  margin-top: 0;
  align-self: flex-start;
}

.contact-gallery {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1rem;
  margin-top: 4rem;
}

.contact-gallery img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

@media (max-width: 960px) {
  .contact-layout,
  .home-contact-top,
  .home-contact-channels,
  .contact-meta,
  .contact-gallery,
  .contact-visit,
  .home-contact-visit {
    grid-template-columns: 1fr !important;
  }

  .contact-aside {
    position: static;
  }

  .home-contact-photo {
    min-height: 260px !important;
    border-left: 0;
    border-top: 1px solid rgba(14, 31, 51, 0.06);
  }

  .home-contact-channels .channel-tile {
    border-right: 0;
    border-bottom: 1px solid rgba(14, 31, 51, 0.08);
  }

  .home-contact-channels .channel-tile:last-child {
    border-bottom: 0;
  }

  .contact-page .contact-photo {
    aspect-ratio: 16 / 11;
  }

  .contact-map-large {
    min-height: 260px;
  }

  .contact-gallery img {
    height: 200px;
  }
}

/* ——— Products search ——— */
.search-bar {
  display: grid;
  grid-template-columns: 1fr minmax(180px, 280px);
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.search-bar input,
.search-bar select {
  border: 1px solid var(--line);
  padding: 0.95rem 1.05rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search-bar input:focus,
.search-bar select:focus {
  outline: none;
  border-color: rgba(14, 31, 51, 0.4);
  box-shadow: 0 0 0 3px rgba(14, 31, 51, 0.08);
}

.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.15rem;
}

.catalog-status,
.catalog-meta {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}

.catalog-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.catalog-pager .pager-label {
  font-weight: 700;
  color: var(--navy);
  min-width: 5rem;
  text-align: center;
  font-family: var(--font-display);
}

.catalog-pager button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

/* ——— Careers ——— */
.careers-hero {
  background:
    linear-gradient(115deg, rgba(7, 15, 26, 0.92) 0%, rgba(14, 31, 51, 0.72) 55%, rgba(7, 15, 26, 0.5) 100%),
    url("../assets/images/office-cubicles-2.png") center/cover;
}

.careers-page {
  background:
    radial-gradient(900px 420px at 0% 0%, rgba(232, 209, 154, 0.08), transparent 55%),
    linear-gradient(180deg, #f7f8fa, #ffffff 40%);
}

.careers-intro {
  max-width: 680px;
  margin-bottom: 2.75rem;
}

.careers-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0 0 0.85rem;
  color: var(--navy);
  letter-spacing: -0.03em;
}

.careers-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.careers-policy {
  margin-bottom: 3.25rem;
  padding: 2rem 1.75rem;
  border: 1px solid rgba(198, 163, 90, 0.28);
  background:
    linear-gradient(145deg, rgba(255, 252, 245, 0.95), rgba(255, 255, 255, 0.88));
  box-shadow: var(--shadow-soft);
}

.careers-policy h3 {
  font-family: var(--font-display);
  margin: 0 0 1.5rem;
  color: var(--navy);
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.careers-policy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.careers-policy-grid article {
  padding-top: 1rem;
  border-top: 1px solid rgba(198, 163, 90, 0.35);
}

.careers-policy-grid h4 {
  margin: 0 0 0.55rem;
  color: var(--brass-deep);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.careers-policy-grid p {
  margin: 0;
  color: var(--steel);
  font-size: 0.92rem;
  line-height: 1.65;
}

.careers-positions {
  margin-bottom: 2rem;
}

.careers-positions .section-head {
  margin-bottom: 1.5rem;
}

.careers-positions h2 {
  font-family: var(--font-display);
  margin: 0 0 0.45rem;
  color: var(--navy);
  font-size: clamp(1.55rem, 2.6vw, 2rem);
}

.careers-positions .section-head p:last-child {
  margin: 0;
  color: var(--muted);
}

.jobs-list {
  display: grid;
  gap: 0.9rem;
}

.job-item {
  border: 1px solid rgba(198, 163, 90, 0.22);
  background: rgba(255, 255, 255, 0.92);
  padding: 1.55rem 1.5rem;
  cursor: pointer;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s var(--ease);
}

.job-item:hover,
.job-item[open] {
  border-color: rgba(198, 163, 90, 0.55);
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.job-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}

.job-count {
  min-width: 2rem;
  text-align: center;
  color: var(--brass-deep);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.job-item summary::-webkit-details-marker {
  display: none;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.65rem;
  margin: 0.95rem 0 0;
  font-size: 0.78rem;
  color: var(--steel);
}

.job-meta span {
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(198, 163, 90, 0.25);
  background: rgba(232, 209, 154, 0.1);
}

.careers-apply-note {
  margin-top: 2rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(198, 163, 90, 0.28);
}

.careers-apply-note p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 48rem;
}

@media (max-width: 900px) {
  .careers-policy-grid {
    grid-template-columns: 1fr;
  }
}

.job-body {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.job-body h4 {
  margin: 1rem 0 0.5rem;
  color: var(--navy);
  font-family: var(--font-display);
}

.job-body ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.job-body li {
  margin-bottom: 0.35rem;
}

.job-body a {
  color: var(--navy);
  border-bottom: 1px solid var(--brass);
  font-weight: 600;
}

/* ——— Footer ——— */
.site-footer {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(165deg, #16304a 0%, #102538 42%, #0b1a2b 100%);
  color: rgba(232, 240, 248, 0.72);
  padding: 3.75rem 0 0;
  font-size: 0.84rem;
  letter-spacing: 0.01em;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  pointer-events: none;
}

.footer-glow {
  position: absolute;
  width: 520px;
  height: 320px;
  right: -8%;
  top: -40%;
  background: radial-gradient(circle, rgba(120, 170, 220, 0.12), transparent 68%);
  pointer-events: none;
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.55fr 0.9fr 1.2fr;
  gap: 2.75rem 3.25rem;
  margin-bottom: 2.5rem;
  align-items: start;
}

.footer-brand-block {
  max-width: 26rem;
}

.footer-brand {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  margin-bottom: 1.15rem;
  color: inherit;
}

.footer-brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.22),
    0 8px 22px rgba(0, 0, 0, 0.28);
  flex-shrink: 0;
}

.footer-brand strong {
  display: block;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.1;
}

.footer-brand span {
  display: block;
  margin-top: 0.28rem;
  font-size: 0.7rem;
  color: rgba(214, 226, 238, 0.62);
  letter-spacing: 0.08em;
  font-weight: 500;
}

.footer-tag {
  margin: 0 0 1.15rem;
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(214, 226, 238, 0.68);
  max-width: 22rem;
}

.footer-locale {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(232, 240, 248, 0.82);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.footer-locale::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7eb6e8;
  box-shadow: 0 0 0 3px rgba(126, 182, 232, 0.18);
  flex-shrink: 0;
}

.footer-col h4,
.site-footer h4 {
  color: rgba(255, 255, 255, 0.88);
  margin: 0.2rem 0 1.1rem;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
}

.footer-nav,
.footer-contact,
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
}

.footer-nav a {
  position: relative;
  display: inline-block;
  color: rgba(232, 240, 248, 0.78);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s, transform 0.25s var(--ease);
}

.footer-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.55);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}

.footer-nav a:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.footer-nav a:hover::after {
  transform: scaleX(1);
}

.footer-contact li {
  display: grid;
  gap: 0.2rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-contact li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.footer-contact span {
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(214, 226, 238, 0.55);
  font-weight: 700;
}

.footer-contact a,
.footer-contact strong {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.45;
}

.footer-contact a {
  transition: color 0.2s;
}

.footer-contact a:hover {
  color: #ffffff;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.05rem 0 calc(1.15rem + env(safe-area-inset-bottom));
  font-size: 0.72rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), transparent);
  color: rgba(214, 226, 238, 0.5);
}

.footer-bottom-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.85rem;
}

.footer-bottom-left span[data-i18n="footer_copy"] {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
  letter-spacing: 0.02em;
  font-size: 0.74rem;
}

.footer-domain {
  color: rgba(214, 226, 238, 0.42);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
}

.footer-domain::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 3px;
  margin-right: 0.85rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  vertical-align: middle;
  transform: translateY(-1px);
}

.footer-powered {
  margin-left: auto;
  color: #e8d19a;
  letter-spacing: 0.08em;
  font-weight: 600;
  font-size: 0.7rem;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
  border-bottom: 1px solid rgba(232, 209, 154, 0.45);
  padding-bottom: 0.1rem;
}

a.footer-powered:hover {
  color: #fff6df;
  border-bottom-color: rgba(232, 209, 154, 0.9);
}

/* ——— Reveal motion ——— */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ——— Responsive: iPad landscape / large tablets ——— */
@media (max-width: 1100px) {
  .nav {
    gap: 1.15rem;
  }

  .nav a {
    font-size: 0.8rem;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2rem;
  }

  .home-contact-channels {
    grid-template-columns: 1fr 1fr !important;
  }

  .home-contact-channels .channel-tile:nth-child(2n) {
    border-right: 0;
  }

  .home-contact-channels .channel-tile:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(14, 31, 51, 0.08);
  }
}

/* ——— Responsive: iPad portrait / small tablets ——— */
@media (max-width: 960px) {
  :root {
    --header-h: 68px;
  }

  .header-inner {
    gap: 1rem;
  }

  .hero {
    min-height: min(88vh, 720px);
  }

  .hero-content {
    padding: 4.5rem 0 3.5rem;
  }

  .hero-stats,
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .supply-grid {
    grid-template-columns: 1fr;
  }

  .supply-item,
  .supply-item:nth-child(2n) {
    border-right: 0;
    padding: 1.65rem 0;
  }

  .split,
  .cert-grid,
  .contact-grid,
  .env-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .split-media {
    min-height: 0;
    padding: 0.75rem;
  }

  .split-media-frame,
  .split-media img {
    min-height: 320px;
  }

  .about-intro {
    max-width: none;
  }

  .about-headline {
    max-width: 18ch;
  }

  .about-highlight {
    white-space: normal;
  }

  .env-grid .tall {
    grid-row: auto;
  }

  .env-grid img {
    min-height: 200px;
  }

  .hero h1 {
    max-width: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem 2rem;
  }

  .footer-brand-block {
    grid-column: 1 / -1;
    max-width: none;
  }

  .contact-card {
    padding: 1.75rem 1.35rem;
  }

  .page-hero,
  .contact-hero {
    padding: 4.25rem 0 3.25rem;
  }

  .careers-policy {
    padding: 1.5rem 1.25rem;
  }
}

/* ——— Responsive: large phones / phablets / small iPad ——— */
@media (max-width: 780px) {
  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .nav {
    position: fixed;
    top: calc(var(--header-h) + env(safe-area-inset-top));
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(7, 15, 26, 0.985);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 0.5rem clamp(1.25rem, 5vw, 1.75rem) calc(1.5rem + env(safe-area-inset-bottom));
    gap: 0;
    display: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 99;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 1.05rem 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .nav a::after {
    display: none;
  }

  .brand-text span {
    display: none;
  }

  .hero {
    min-height: min(82vh, 640px);
    align-items: flex-end;
  }

  .hero-content {
    padding: 3.75rem 0 3rem;
  }

  .hero-brand {
    font-size: clamp(2.1rem, 11vw, 3.2rem);
  }

  .hero h1 {
    font-size: clamp(1.2rem, 4.6vw, 1.55rem);
  }

  .hero-content > p {
    font-size: 0.98rem;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.15rem;
    margin-top: 2.25rem;
  }

  .hero-stats div strong {
    font-size: 1.35rem;
  }

  .search-bar {
    grid-template-columns: 1fr;
  }

  .header-actions .btn {
    display: none;
  }

  .section {
    padding: 3.75rem 0;
  }

  .section-head {
    margin-bottom: 2rem;
  }

  .split-media-frame,
  .split-media img {
    min-height: 260px;
  }

  .about-eyebrow {
    margin-bottom: 1.1rem;
    letter-spacing: 0.16em;
  }

  .about-brand {
    font-size: clamp(2.2rem, 10vw, 3.1rem);
    letter-spacing: 0.1em;
  }

  .about-brand::after {
    margin-top: 1.1rem;
    margin-bottom: 1.25rem;
  }

  .about-headline {
    font-size: clamp(1.35rem, 5vw, 1.65rem) !important;
    max-width: none;
    margin-bottom: 1.45rem !important;
  }

  .about-body {
    margin-bottom: 1.65rem;
    gap: 0.85rem;
  }

  .about-body p {
    font-size: 0.98rem;
  }

  .contact-channels {
    grid-template-columns: 1fr;
  }

  .contact-meta {
    grid-template-columns: 1fr;
  }

  .contact-photo,
  .contact-photo img {
    min-height: 220px;
  }

  .home-contact-photo,
  .home-contact-photo img {
    min-height: 220px !important;
  }

  .contact-gallery img {
    height: 180px;
  }

  .marquee-group span {
    min-width: 6.25rem;
    padding: 0.7rem 1rem;
    font-size: 0.82rem;
  }

  .catalog-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .job-item {
    padding: 1.25rem 1.1rem;
  }

  .job-item summary {
    flex-wrap: wrap;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }

  .footer-powered {
    margin-left: 0;
  }

  .footer-domain::before {
    display: none;
  }

  .site-footer {
    padding-top: 2.5rem;
  }
}

/* ——— Responsive: standard phones (iPhone / Samsung / Oppo / Xiaomi) ——— */
@media (max-width: 520px) {
  :root {
    --header-h: 60px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .brand-text strong {
    font-size: 0.88rem;
    letter-spacing: 0.1em;
  }

  .lang-switch button {
    padding: 0.42rem 0.55rem;
    font-size: 0.68rem;
  }

  .lang-switch button img {
    width: 14px;
    height: 10px;
  }

  .services-grid,
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 3.25rem 0 2.5rem;
  }

  .hero-brand {
    letter-spacing: 0.06em;
    margin-bottom: 0.85rem;
  }

  .hero-brand::after {
    width: 40px;
    margin-top: 0.85rem;
  }

  .hero-stats {
    margin-top: 1.75rem;
    padding-top: 1.35rem;
  }

  .split-media {
    padding: 0.45rem;
  }

  .split-media-frame {
    box-shadow:
      0 0 0 5px rgba(255, 255, 255, 0.55),
      0 14px 32px rgba(7, 15, 26, 0.14);
  }

  .split-media-frame::before {
    inset: 7px;
  }

  .split-media-frame,
  .split-media img {
    min-height: 220px;
  }

  .supply-item {
    padding: 1.4rem 0;
  }

  .supply-item h3 {
    font-size: 1.1rem;
  }

  .service-item {
    padding: 1.35rem 1.15rem;
  }

  .channel-tile {
    padding: 1.15rem 1rem;
  }

  .contact-page {
    padding-top: 3rem;
  }

  .page-hero h1,
  .contact-identity h2,
  .home-contact .contact-identity h3 {
    font-size: clamp(1.55rem, 7vw, 2rem);
  }

  .page-hero p,
  .contact-lead,
  .section-head p,
  .split-copy p {
    font-size: 0.98rem;
  }

  .table-wrap {
    margin-inline: calc(clamp(0.75rem, 3vw, 1rem) * -0.35);
    border-left: 0;
    border-right: 0;
  }

  table.data {
    min-width: 600px;
  }

  table.data th,
  table.data td {
    padding: 0.85rem 0.75rem;
    font-size: 0.82rem;
  }

  .careers-policy-grid article {
    padding-top: 0.85rem;
  }

  .btn {
    width: 100%;
    min-height: 46px;
  }

  .hero-cta .btn {
    width: auto;
    min-width: min(100%, 11rem);
  }
}

/* ——— Responsive: compact phones (SE / small Android) ——— */
@media (max-width: 380px) {
  .container {
    width: min(100% - 1.25rem, var(--max));
  }

  .brand-text strong {
    font-size: 0.8rem;
    letter-spacing: 0.08em;
  }

  .lang-switch button {
    padding: 0.4rem 0.42rem;
    gap: 0.2rem;
  }

  .hero-brand {
    font-size: 1.85rem;
  }

  .about-brand {
    font-size: 1.85rem;
  }

  .marquee-group {
    gap: 0.5rem;
  }

  .marquee-group span {
    min-width: 5.5rem;
    padding: 0.6rem 0.75rem;
    font-size: 0.75rem;
  }
}

/* Prefer reduced motion already handled above; keep hover transforms mild on touch */
@media (hover: none) {
  .service-item:hover,
  .supply-item:hover,
  .job-item:hover,
  .channel-tile:hover,
  a.channel-tile:hover {
    transform: none;
  }

  .split:hover .split-media img,
  .contact-aside:hover .contact-photo img {
    transform: none;
  }

  .brands-marquee:hover .marquee-track {
    animation-play-state: running;
  }
}

[data-lang="zh"] .only-en,
[data-lang="en"] .only-zh {
  display: none !important;
}
