/* ==========================================================================
   Vulcan Precision — public stylesheet
   Design tokens → base → layout → components → sections → responsive
   ========================================================================== */

:root {
  --navy-900: #081826;
  --navy: #0C1E30;
  --navy-700: #16304A;
  --ink: #101F2E;
  --body: #4E5F6E;
  --muted: #7B8B99;
  --line: #E4E9EF;
  --line-strong: #D3DBE4;
  --bg: #FFFFFF;
  --soft: #F5F7FA;
  --soft-2: #EDF1F5;
  --accent: #E2650F;
  --accent-600: #C8570A;
  --accent-soft: #FCF1E8;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 2px rgba(12, 30, 48, .05);
  --shadow-md: 0 18px 40px -24px rgba(12, 30, 48, .35);
  --shadow-lg: 0 30px 60px -30px rgba(12, 30, 48, .45);
  --container: 1240px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--accent); }

h1, h2, h3, h4, h5 {
  margin: 0 0 .5em;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.02em;
}

h1 { font-size: clamp(2.25rem, 4.2vw, 3.5rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.75rem, 2.7vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

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

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

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

.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: absolute; left: 16px; top: -60px; z-index: 999;
  background: var(--navy); color: #fff; padding: 10px 18px; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------------------------------------------------------------- layout */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--soft { background: var(--soft); }
.section--bordered { border-top: 1px solid var(--line); }

.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { color: var(--body); font-size: 1.0625rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; background: currentColor; display: inline-block;
}
.section-head--center .eyebrow { justify-content: center; }
.eyebrow--light { color: #F0A16C; }

.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px;
  font-size: .9375rem; font-weight: 600; letter-spacing: .01em;
  border-radius: var(--radius); border: 1px solid transparent;
  cursor: pointer; transition: all .22s var(--ease); white-space: nowrap;
  font-family: inherit; line-height: 1.2;
}
.btn svg { transition: transform .22s var(--ease); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 8px 18px -10px rgba(226, 101, 15, .9); }
.btn--primary:hover { background: var(--accent-600); color: #fff; transform: translateY(-1px); }
.btn--primary:hover svg { transform: translateX(3px); }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--navy-700); color: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, .38); color: #fff; background: rgba(255, 255, 255, .04); }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn--outline { border-color: var(--line-strong); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--ink); color: var(--ink); background: var(--soft); }
.btn--sm { padding: 10px 18px; font-size: .875rem; }
.btn--lg { padding: 17px 32px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--link { padding: 0; background: none; color: var(--ink); font-weight: 600; }
.btn--link:hover { color: var(--accent); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: .9375rem; color: var(--ink);
}
.link-arrow svg { transition: transform .22s var(--ease); }
.link-arrow:hover { color: var(--accent); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------------------------------------------------------------- header */
.topbar {
  background: var(--navy-900);
  color: rgba(255, 255, 255, .68);
  font-size: .8125rem;
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 40px; gap: 20px;
}
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 22px; }
.topbar__right a { display: inline-flex; align-items: center; gap: 7px; color: rgba(255, 255, 255, .72); }
.topbar__right a:hover { color: #fff; }
.topbar__badge { display: inline-flex; align-items: center; gap: 7px; color: rgba(255, 255, 255, .8); }
.topbar__badge svg { color: var(--accent); }
.topbar__sep { width: 1px; height: 14px; background: rgba(255, 255, 255, .18); }

.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 10px 30px -20px rgba(12, 30, 48, .6); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; height: 84px; }

.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand__mark { display: block; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text strong {
  font-size: 1.125rem; font-weight: 700; letter-spacing: .2em; color: var(--ink);
}
.brand__text em {
  font-style: normal; font-size: .625rem; letter-spacing: .34em; color: var(--muted);
  margin-top: 6px; font-weight: 500;
}
.brand--light .brand__text strong { color: #fff; }
.brand--light .brand__text em { color: rgba(255, 255, 255, .55); }

/* Uploaded logo replaces the wordmark */
.brand__logo {
  display: block; height: 46px; width: auto; max-width: 248px;
  object-fit: contain; object-position: left center;
}
.footer__brand .brand__logo--footer { height: 42px; max-width: 220px; }
@media (max-width: 900px) { .brand__logo { height: 40px; max-width: 200px; } }
@media (max-width: 560px) { .brand__logo { height: 34px; max-width: 164px; } }

.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 10px 14px; font-size: .9375rem; font-weight: 500; color: var(--ink);
  border-radius: var(--radius);
}
.nav__link:hover { color: var(--accent); background: var(--soft); }
.nav__link.is-active { color: var(--accent); }
.nav__link.is-active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: -2px; height: 2px;
  background: var(--accent);
}
.nav__caret { opacity: .5; margin-left: 2px; }

.nav__drop {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translate(-50%, 8px);
  width: 620px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 22px; opacity: 0; visibility: hidden; transition: all .22s var(--ease);
}
.nav__item--drop:hover .nav__drop,
.nav__item--drop:focus-within .nav__drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__drop-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 14px; margin-bottom: 12px; border-bottom: 1px solid var(--line);
  font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.nav__drop-head a { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 600; letter-spacing: .04em; }
.nav__drop-list { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 10px; }
.nav__drop-list a {
  display: block; padding: 10px 12px; border-radius: var(--radius);
}
.nav__drop-list a:hover { background: var(--soft); }
.nav__drop-list span { display: block; font-weight: 600; color: var(--ink); font-size: .9375rem; }
.nav__drop-list small { display: block; color: var(--muted); font-size: .8125rem; line-height: 1.5; margin-top: 2px; }

.header__actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border: 1px solid var(--line); background: #fff;
  border-radius: var(--radius); color: var(--ink); cursor: pointer;
  transition: all .2s var(--ease);
}
.icon-btn:hover { border-color: var(--ink); background: var(--soft); }

.nav-toggle { display: none; }
.nav-toggle__close { display: none; }
.nav-toggle.is-open .nav-toggle__open { display: none; }
.nav-toggle.is-open .nav-toggle__close { display: inline-flex; }

.header-search { border-top: 1px solid var(--line); background: #fff; padding: 16px 0; }
.header-search__form {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 6px 6px 6px 16px; color: var(--muted);
}
.header-search__form input {
  flex: 1; border: 0; outline: none; font-size: 1rem; padding: 10px 0;
  font-family: inherit; color: var(--ink); background: transparent;
}

.nav__mobile-cta { display: none; }

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative; overflow: hidden; background: var(--navy);
  color: #fff; isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 24, 38, .95) 0%, rgba(8, 24, 38, .82) 42%, rgba(8, 24, 38, .35) 100%),
    linear-gradient(180deg, rgba(8, 24, 38, .1) 60%, rgba(8, 24, 38, .8) 100%);
}
.hero__inner { position: relative; padding: 104px 0 0; }
.hero__content { max-width: 700px; }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero__lead {
  font-size: 1.125rem; color: rgba(255, 255, 255, .78); max-width: 560px; margin-bottom: 34px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__note {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8125rem; color: rgba(255, 255, 255, .6); margin-left: 6px;
}
.hero__note .dot { width: 6px; height: 6px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 3px rgba(74, 222, 128, .18); }

.hero__stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: 84px; border-top: 1px solid rgba(255, 255, 255, .16);
}
.hero__stat { padding: 28px 26px 30px; border-right: 1px solid rgba(255, 255, 255, .12); }
.hero__stat:first-child { padding-left: 0; }
.hero__stat:last-child { border-right: 0; }
.hero__stat b {
  display: block; font-size: 2rem; font-weight: 600; color: #fff; letter-spacing: -.03em; line-height: 1;
  white-space: nowrap;
}
.hero__stat b span { font: inherit; color: inherit; display: inline; margin: 0; letter-spacing: inherit; }
.hero__stat > span {
  display: block; margin-top: 10px; font-size: .8125rem; color: rgba(255, 255, 255, .6);
  letter-spacing: .06em; text-transform: uppercase;
}

/* ---------------------------------------------------------------- trust strip */
.trust { background: #fff; border-bottom: 1px solid var(--line); padding: 34px 0; }
.trust__inner { display: flex; align-items: center; gap: 44px; flex-wrap: wrap; }
.trust__label {
  font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
  white-space: nowrap; padding-right: 32px; border-right: 1px solid var(--line);
}
.trust__logos { display: flex; align-items: center; gap: 38px; flex-wrap: wrap; flex: 1; }
.trust__logo {
  font-size: .875rem; font-weight: 700; letter-spacing: .1em; color: #B4C0CB;
  text-transform: uppercase; transition: color .25s var(--ease); white-space: nowrap;
}
.trust__logo:hover { color: var(--navy); }

/* ---------------------------------------------------------------- cards */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: all .3s var(--ease);
}
.card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); transform: translateY(-3px); }

.cat-card {
  position: relative; display: block; min-height: 300px; border-radius: var(--radius-lg);
  overflow: hidden; background: var(--navy); color: #fff; isolation: isolate;
}
.cat-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  z-index: -2; transition: transform .8s var(--ease); opacity: .9;
}
.cat-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(8, 24, 38, .1) 20%, rgba(8, 24, 38, .82) 100%);
}
.cat-card:hover img { transform: scale(1.06); }
.cat-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; }
.cat-card__body h3 { color: #fff; margin-bottom: 6px; font-size: 1.25rem; }
.cat-card__body p { color: rgba(255, 255, 255, .72); font-size: .875rem; margin: 0; }
.cat-card__count {
  position: absolute; top: 20px; left: 22px;
  font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22);
  color: #fff; padding: 5px 11px; border-radius: 100px; backdrop-filter: blur(4px);
}
.cat-card__arrow {
  position: absolute; right: 22px; bottom: 26px; width: 38px; height: 38px;
  border-radius: 50%; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25);
  display: flex; align-items: center; justify-content: center; color: #fff;
  transition: all .3s var(--ease);
}
.cat-card:hover .cat-card__arrow { background: var(--accent); border-color: var(--accent); transform: rotate(45deg); }

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

/* product card */
.pcard {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; transition: all .3s var(--ease); height: 100%;
}
.pcard:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.pcard__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft-2); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.05); }
.pcard__tag {
  position: absolute; top: 14px; left: 14px; background: rgba(255, 255, 255, .94);
  color: var(--ink); font-size: .6875rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; padding: 5px 10px; border-radius: 3px;
}
.pcard__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.pcard__cat { font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.pcard__title { margin: 10px 0 10px; font-size: 1.0625rem; }
.pcard__title a { color: var(--ink); }
.pcard:hover .pcard__title a { color: var(--accent); }
.pcard__desc { font-size: .9375rem; color: var(--body); margin-bottom: 18px; flex: 1; }
.pcard__meta {
  display: flex; flex-wrap: wrap; gap: 6px; padding-top: 16px; border-top: 1px solid var(--line);
}
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .75rem; padding: 4px 9px; border-radius: 3px;
  background: var(--soft); color: var(--body); border: 1px solid var(--line);
}
.chip--dark { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .75); }
.chip--accent { background: var(--accent-soft); border-color: #F6DCC8; color: var(--accent-600); }

/* ---------------------------------------------------------------- split blocks */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split--wide-right { grid-template-columns: 0.9fr 1.1fr; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius-lg); width: 100%; }
.split__media--offset::before {
  content: ""; position: absolute; inset: 22px -22px -22px 22px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-lg); z-index: -1;
}
.split__card {
  position: absolute; right: -24px; bottom: -28px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 26px;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 16px;
}
.split__card b { font-size: 1.75rem; color: var(--ink); line-height: 1; letter-spacing: -.03em; }
.split__card span { font-size: .8125rem; color: var(--muted); line-height: 1.4; max-width: 120px; }

.feature-list { display: grid; gap: 26px; margin-top: 34px; }
.feature-list--cols2 { grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.feature { display: flex; gap: 16px; }
.feature__icon {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 8px;
  background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center;
}
.feature h4 { font-size: 1rem; margin-bottom: 5px; }
.feature p { font-size: .9375rem; color: var(--body); margin: 0; }

/* ---------------------------------------------------------------- stats band */
.stats-band { background: var(--navy); color: #fff; padding: 72px 0; position: relative; overflow: hidden; }
.stats-band::after {
  content: ""; position: absolute; right: -10%; top: -60%; width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(226, 101, 15, .16), transparent 62%);
}
.stats-band__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; position: relative; }
.stat b { display: block; font-size: 2.625rem; font-weight: 600; letter-spacing: -.03em; line-height: 1; color: #fff; }
.stat b span { font: inherit; color: inherit; display: inline; margin: 0; letter-spacing: inherit; }
.stat b .suffix { color: var(--accent); }
.stat > span { display: block; margin-top: 12px; font-size: .875rem; color: rgba(255, 255, 255, .62); }

/* ---------------------------------------------------------------- process */
.process { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; border-top: 1px solid var(--line); }
.process__step { padding: 30px 22px 0; border-right: 1px solid var(--line); position: relative; }
.process__step:last-child { border-right: 0; }
.process__step::before {
  content: ""; position: absolute; top: -4px; left: 22px; width: 7px; height: 7px;
  border-radius: 50%; background: var(--accent);
}
.process__num { font-size: .75rem; letter-spacing: .16em; color: var(--muted); font-weight: 600; }
.process__step h4 { margin: 10px 0 8px; font-size: 1rem; }
.process__step p { font-size: .875rem; line-height: 1.6; margin: 0; color: var(--body); }

/* ---------------------------------------------------------------- quality / checklist */
.checklist { display: grid; gap: 14px; margin: 28px 0 0; }
.checklist li { display: flex; gap: 12px; font-size: .9375rem; color: var(--body); }
.checklist svg { flex-shrink: 0; color: var(--accent); margin-top: 3px; }

.cert-card {
  display: flex; align-items: center; gap: 16px; padding: 20px 22px;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
}
.cert-card__badge {
  width: 46px; height: 46px; border-radius: 50%; background: var(--soft);
  display: flex; align-items: center; justify-content: center; color: var(--navy); flex-shrink: 0;
}
.cert-card strong { display: block; color: var(--ink); font-size: .9375rem; }
.cert-card small { color: var(--muted); font-size: .8125rem; }

/* ---------------------------------------------------------------- news */
.ncard { display: flex; flex-direction: column; height: 100%; }
.ncard__media { aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius-lg); background: var(--soft-2); }
.ncard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.ncard:hover .ncard__media img { transform: scale(1.05); }
.ncard__meta {
  display: flex; align-items: center; gap: 12px; margin: 20px 0 10px;
  font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.ncard__meta .tag { color: var(--accent); font-weight: 600; }
.ncard h3 { font-size: 1.125rem; margin-bottom: 10px; }
.ncard h3 a { color: var(--ink); }
.ncard:hover h3 a { color: var(--accent); }
.ncard p { font-size: .9375rem; color: var(--body); margin-bottom: 16px; }
.ncard__more { margin-top: auto; font-size: .875rem; font-weight: 600; color: var(--ink); display: inline-flex; gap: 7px; align-items: center; }
.ncard:hover .ncard__more { color: var(--accent); }

/* ---------------------------------------------------------------- CTA + form */
.cta-band { position: relative; background: var(--navy); color: #fff; overflow: hidden; isolation: isolate; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(760px 520px at 88% 8%, rgba(226, 101, 15, .16), transparent 62%),
    radial-gradient(700px 640px at 2% 105%, rgba(38, 78, 116, .55), transparent 68%);
}
.cta-band__inner { position: relative; display: grid; grid-template-columns: 1fr .95fr; gap: 64px; padding: 88px 0; align-items: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .74); font-size: 1.0625rem; }
.cta-band__points { display: grid; gap: 12px; margin-top: 28px; }
.cta-band__points li { display: flex; align-items: center; gap: 11px; font-size: .9375rem; color: rgba(255, 255, 255, .8); }
.cta-band__points svg { color: var(--accent); flex-shrink: 0; }

.form-card {
  background: #fff; border-radius: var(--radius-lg); padding: 34px;
  box-shadow: var(--shadow-lg); color: var(--body);
}
.form-card h3 { font-size: 1.25rem; margin-bottom: 6px; }
.form-card > p { font-size: .875rem; color: var(--muted); margin-bottom: 22px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .8125rem; font-weight: 600; color: var(--ink); letter-spacing: .01em; }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: .9375rem; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: #fff; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 110px; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(226, 101, 15, .12);
}
.field .hint { font-size: .75rem; color: var(--muted); }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 20px; flex-wrap: wrap; }
.form-foot .privacy { font-size: .75rem; color: var(--muted); max-width: 260px; line-height: 1.5; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; }

/* ---------------------------------------------------------------- alerts */
.alert {
  display: flex; align-items: flex-start; gap: 12px; padding: 15px 18px;
  border-radius: var(--radius); font-size: .9375rem; border: 1px solid;
}
.alert svg { flex-shrink: 0; margin-top: 2px; }
.alert--success { background: #F0FBF4; border-color: #C6EBD4; color: #1B6B3A; }
.alert--error { background: #FEF4F4; border-color: #F5D3D3; color: #A32A2A; }
.alert--info { background: #F4F8FE; border-color: #D5E3F6; color: #1F4E8C; }
.alert--warning { background: #FFF9EF; border-color: #F5E3C3; color: #8A5B08; }

/* ---------------------------------------------------------------- page hero (inner pages) */
.page-hero {
  position: relative; background: var(--navy); color: #fff; padding: 78px 0 66px;
  overflow: hidden; isolation: isolate;
}
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(8, 24, 38, .94), rgba(8, 24, 38, .62));
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 3.4vw, 2.9rem); max-width: 760px; }
.page-hero p { color: rgba(255, 255, 255, .74); max-width: 620px; margin-top: 14px; font-size: 1.0625rem; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .8125rem; color: rgba(255, 255, 255, .55); margin-bottom: 20px; }
.breadcrumb a { color: rgba(255, 255, 255, .72); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span.sep { opacity: .4; }

/* ---------------------------------------------------------------- products page */
.products-layout { display: grid; grid-template-columns: 264px 1fr; gap: 48px; align-items: start; }

.filter-panel { position: sticky; top: 106px; }
.filter-block { border-bottom: 1px solid var(--line); padding-bottom: 22px; margin-bottom: 22px; }
.filter-block:last-child { border-bottom: 0; }
.filter-block h4 {
  font-size: .75rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink); margin-bottom: 14px;
}
.filter-list li { margin-bottom: 2px; }
.filter-list a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 12px; border-radius: var(--radius); font-size: .9375rem; color: var(--body);
}
.filter-list a:hover { background: var(--soft); color: var(--ink); }
.filter-list a.is-active { background: var(--navy); color: #fff; }
.filter-list a.is-active .count { color: rgba(255, 255, 255, .6); }
.filter-list .count { font-size: .75rem; color: var(--muted); }

.toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-bottom: 22px; margin-bottom: 32px; border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.toolbar__count { font-size: .9375rem; color: var(--muted); }
.toolbar__count strong { color: var(--ink); }
.toolbar form { display: flex; align-items: center; gap: 10px; }
.toolbar select {
  font-family: inherit; font-size: .875rem; padding: 9px 12px; border: 1px solid var(--line-strong);
  border-radius: var(--radius); background: #fff; color: var(--ink);
}

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

.empty-state { text-align: center; padding: 70px 20px; color: var(--muted); }
.empty-state h3 { color: var(--ink); }

.pagination { display: flex; align-items: center; gap: 6px; margin-top: 46px; flex-wrap: wrap; }
.page-link {
  min-width: 40px; height: 40px; padding: 0 13px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: var(--radius); font-size: .875rem; color: var(--body);
  background: #fff;
}
.page-link:hover { border-color: var(--ink); color: var(--ink); }
.page-link.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.page-link[aria-disabled="true"] { opacity: .4; pointer-events: none; }
.page-gap { padding: 0 4px; color: var(--muted); }

/* ---------------------------------------------------------------- product detail */
.pdp { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: start; }
.pdp__gallery img { border-radius: var(--radius-lg); width: 100%; border: 1px solid var(--line); }
.pdp__thumbs { display: flex; gap: 12px; margin-top: 14px; }
.pdp__thumbs button {
  width: 78px; height: 78px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; cursor: pointer; background: none;
}
.pdp__thumbs button.is-active { border-color: var(--accent); }
.pdp__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp__cat { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.pdp h1 { font-size: clamp(1.75rem, 2.6vw, 2.35rem); margin: 12px 0 18px; }
.pdp__lead { font-size: 1.0625rem; color: var(--body); }
.pdp__specs { margin: 28px 0; border-top: 1px solid var(--line); }
.pdp__specs div {
  display: grid; grid-template-columns: 170px 1fr; gap: 16px;
  padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .9375rem;
}
.pdp__specs dt { color: var(--muted); }
.pdp__specs dd { margin: 0; color: var(--ink); font-weight: 500; }
.pdp__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.pdp__usp { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
.pdp__usp div { display: flex; gap: 9px; align-items: center; font-size: .875rem; color: var(--body); }
.pdp__usp svg { color: var(--accent); flex-shrink: 0; }

.prose { font-size: 1.0625rem; color: var(--body); }
.prose h2 { font-size: 1.5rem; margin: 38px 0 16px; }
.prose h3 { font-size: 1.1875rem; margin: 30px 0 12px; }
.prose ul { list-style: disc; padding-left: 22px; margin-bottom: 20px; }
.prose ol { list-style: decimal; padding-left: 22px; margin-bottom: 20px; }
.prose li { margin-bottom: 8px; }
.prose img { border-radius: var(--radius); margin: 24px 0; }
.prose blockquote {
  margin: 26px 0; padding: 6px 0 6px 22px; border-left: 3px solid var(--accent);
  color: var(--ink); font-size: 1.125rem;
}
.prose table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: .9375rem; }
.prose th, .prose td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { background: var(--soft); color: var(--ink); font-weight: 600; }

.related { border-top: 1px solid var(--line); margin-top: 70px; padding-top: 56px; }

/* ---------------------------------------------------------------- about */
.value-card {
  padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff;
  height: 100%;
}
.value-card__num { font-size: .75rem; letter-spacing: .16em; color: var(--accent); font-weight: 600; }
.value-card h3 { font-size: 1.0625rem; margin: 14px 0 8px; }
.value-card p { font-size: .9375rem; margin: 0; }

.timeline { display: grid; gap: 0; border-left: 1px solid var(--line); padding-left: 0; }
.timeline__item { position: relative; padding: 0 0 34px 34px; }
.timeline__item::before {
  content: ""; position: absolute; left: -4.5px; top: 8px; width: 8px; height: 8px;
  border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px #fff;
}
.timeline__year { font-size: .8125rem; font-weight: 700; letter-spacing: .1em; color: var(--accent); }
.timeline__item h4 { margin: 6px 0 6px; font-size: 1.0625rem; }
.timeline__item p { margin: 0; font-size: .9375rem; }

.section-dark { background: var(--navy); color: rgba(255, 255, 255, .72); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }

.quote-block {
  border-left: 3px solid var(--accent); padding: 4px 0 4px 26px; margin: 0;
  font-size: 1.1875rem; line-height: 1.65; color: var(--ink);
}
.quote-block cite { display: block; margin-top: 16px; font-style: normal; font-size: .875rem; color: var(--muted); }

/* ---------------------------------------------------------------- article */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; align-items: start; }
.article-head { max-width: 760px; margin-bottom: 34px; }
.article-head h1 { font-size: clamp(1.85rem, 3vw, 2.6rem); }
.article-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
  font-size: .8125rem; color: var(--muted); margin-top: 18px;
}
.article-cover { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 40px; }
.article-cover img { width: 100%; }
.sidebar { position: sticky; top: 106px; }
.sidebar__block { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 20px; }
.sidebar__block h4 { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.sidebar__post { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.sidebar__post:last-child { border-bottom: 0; padding-bottom: 0; }
.sidebar__post img { width: 64px; height: 64px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.sidebar__post strong { display: block; font-size: .875rem; color: var(--ink); font-weight: 600; line-height: 1.4; }
.sidebar__post small { color: var(--muted); font-size: .75rem; }
.sidebar__cta { background: var(--navy); color: rgba(255, 255, 255, .75); border-radius: var(--radius-lg); padding: 26px; }
.sidebar__cta h4 { color: #fff; font-size: 1rem; letter-spacing: 0; text-transform: none; }
.sidebar__cta p { font-size: .875rem; margin-bottom: 18px; }

/* ---------------------------------------------------------------- contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.info-item { display: flex; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.info-item__icon {
  width: 44px; height: 44px; border-radius: 8px; background: var(--soft);
  display: flex; align-items: center; justify-content: center; color: var(--accent); flex-shrink: 0;
}
.info-item h4 { font-size: .9375rem; margin-bottom: 4px; }
.info-item p, .info-item a { font-size: .9375rem; margin: 0; color: var(--body); }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); margin-top: 26px; }
.map-wrap iframe { width: 100%; height: 280px; border: 0; display: block; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, .6); padding: 74px 0 0; font-size: .9375rem; }
.footer__top { display: grid; grid-template-columns: 1.6fr .8fr .8fr 1.1fr; gap: 56px; padding-bottom: 56px; }
.footer__blurb { margin: 22px 0; font-size: .9375rem; line-height: 1.75; max-width: 340px; }
.footer__certs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16);
  display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, .7);
  transition: all .2s var(--ease);
}
.footer__social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.footer__col h4 { color: #fff; font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 20px; }
.footer__col ul li { margin-bottom: 11px; }
.footer__col a { color: rgba(255, 255, 255, .6); }
.footer__col a:hover { color: #fff; }
.footer__contact li { display: flex; gap: 11px; margin-bottom: 15px; line-height: 1.6; }
.footer__contact a { color: rgba(255, 255, 255, .72); }
.footer__contact a:hover { color: #fff; }
.footer__contact svg { flex-shrink: 0; margin-top: 4px; color: var(--accent); }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, .1); padding: 24px 0 28px; font-size: .8125rem;
  flex-wrap: wrap;
}
.footer__bottom p { margin: 0; }
.footer__bottom ul { display: flex; gap: 22px; }

.to-top {
  position: fixed; right: 26px; bottom: 26px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy); color: #fff; border: 0; cursor: pointer; display: flex;
  align-items: center; justify-content: center; opacity: 0; visibility: hidden;
  transition: all .3s var(--ease); z-index: 80; box-shadow: var(--shadow-md);
  transform: rotate(-90deg);
}
.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--accent); }

/* ---------------------------------------------------------------- reveal */
[data-reveal] {
  opacity: 0; transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1180px) {
  .nav__link { padding: 10px 10px; font-size: .875rem; }
  .header__quote { display: none; }
  .split { gap: 48px; }
  .footer__top { grid-template-columns: 1.4fr .8fr .8fr; gap: 40px; }
  .footer__col--contact { grid-column: 1 / -1; display: flex; gap: 40px; align-items: flex-start; flex-wrap: wrap; }
  .footer__col--contact h4 { width: 100%; }
  .footer__col--contact .footer__contact { flex: 1; min-width: 260px; }
}

@media (max-width: 1024px) {
  .section { padding: 76px 0; }
  .hero__stats { margin-top: 64px; }
  .hero__stat b { font-size: 1.625rem; }
  .products-layout { grid-template-columns: 1fr; gap: 32px; }
  .filter-panel { position: static; }
  .filter-block { border-bottom: 0; padding-bottom: 0; margin-bottom: 14px; }
  .filter-list { display: flex; flex-wrap: wrap; gap: 8px; }
  .filter-list a { border: 1px solid var(--line); padding: 8px 14px; }
  .filter-list a.is-active { border-color: var(--navy); }
  .pdp { grid-template-columns: 1fr; gap: 36px; }
  .article-layout { grid-template-columns: 1fr; gap: 40px; }
  .sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .sidebar__cta { grid-column: 1 / -1; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .cta-band__inner { grid-template-columns: 1fr; gap: 40px; }
  .cats-grid { grid-template-columns: 1fr 1fr; }
  .cats-grid .cat-card:first-child { grid-row: auto; }
  .results-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(3, 1fr); }
  .process__step { padding-bottom: 26px; }
  .process__step:nth-child(3n) { border-right: 0; }
}

@media (max-width: 900px) {
  .topbar__left span:last-child, .topbar__sep { display: none; }
  .topbar__right a:last-child { display: none; }
  .header__inner { height: 72px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 72px 0 auto 0; background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px 24px 28px; transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: all .25s var(--ease); max-height: calc(100vh - 72px); overflow-y: auto;
    box-shadow: var(--shadow-lg); z-index: 89;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { display: block; }
  .nav__item { border-bottom: 1px solid var(--line); }
  .nav__link { padding: 15px 2px; width: 100%; justify-content: space-between; font-size: 1rem; }
  .nav__link.is-active::after { display: none; }
  .nav__drop {
    position: static; transform: none; width: 100%; box-shadow: none; border: 0;
    padding: 0 0 14px; opacity: 1; visibility: visible; display: none;
  }
  .nav__item--drop.is-expanded .nav__drop { display: block; }
  .nav__drop-head { display: none; }
  .nav__drop-list { grid-template-columns: 1fr; }
  .nav__drop-list a { padding: 10px 12px; background: var(--soft); margin-bottom: 4px; }
  .nav__mobile-cta { display: block; margin-top: 22px; }
  .nav__mobile-contact {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    margin-top: 14px; font-size: .9375rem; color: var(--body);
  }
  .split, .split--wide-right, .contacts, .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .split { gap: 36px; }
  .split__card { right: 12px; bottom: -20px; }
  .split__media--offset::before { display: none; }
  .stats-band__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .hero__stat { padding: 22px 18px; }
  .hero__stat:nth-child(2) { border-right: 0; }
  .hero__stat:nth-child(1), .hero__stat:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.12); }
  .hero__stat:first-child { padding-left: 18px; }
  .trust__inner { gap: 20px; }
  .trust__label { border-right: 0; padding-right: 0; width: 100%; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer__brand { grid-column: 1 / -1; }
  .feature-list--cols2 { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .section { padding: 60px 0; }
  .hero__inner { padding-top: 64px; }
  .hero h1 { font-size: clamp(1.9rem, 8vw, 2.6rem); }
  .hero__lead { font-size: 1rem; }
  .hero__actions .btn { width: 100%; }
  .hero__note { margin-left: 0; }
  .cats-grid { grid-template-columns: 1fr; }
  .cat-card { min-height: 240px; }
  .results-grid, .results-grid--2 { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .process__step:nth-child(3n) { border-right: 1px solid var(--line); }
  .process__step:nth-child(2n) { border-right: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 24px; }
  .sidebar { grid-template-columns: 1fr; }
  .pdp__specs div { grid-template-columns: 120px 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .article-head h1 { font-size: 1.7rem; }
  .pdp__usp { grid-template-columns: 1fr; }
  .section-head { margin-bottom: 36px; }
  .toolbar { gap: 12px; }
}

@media (max-width: 480px) {
  .topbar__left { display: none; }
  .topbar__inner { justify-content: center; }
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .stats-band__grid { grid-template-columns: 1fr; gap: 26px; }
  .stat b { font-size: 2.1rem; }
}

/* ==========================================================================
   GEO — answer-first lead, FAQ blocks, fact panels
   ========================================================================== */

.pdp__answer {
  margin: 0 0 26px;
  padding: 18px 22px;
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.8;
}

.faq-block {
  max-width: 860px;
}

.faq-block > h2 {
  margin: 0 0 6px;
  font-size: 1.75rem;
  color: var(--ink);
  letter-spacing: -.02em;
}

.faq-block > p.faq-block__intro {
  margin: 0 0 32px;
  color: var(--muted);
  font-size: .9375rem;
}

.faq-block__item {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}

.faq-block__item:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-block__item h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
}

.faq-block__item p {
  margin: 0;
  color: var(--body);
  font-size: .9375rem;
  line-height: 1.8;
}

/* Fact table — the machine-readable summary block */
.fact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 0 0 34px;
}

.fact-grid > div {
  background: #fff;
  padding: 18px 20px;
}

.fact-grid dt,
.fact-grid .fact-grid__label {
  margin: 0 0 4px;
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
}

.fact-grid dd,
.fact-grid .fact-grid__value {
  margin: 0;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
}

@media (max-width: 720px) {
  .pdp__answer { padding: 16px 18px; font-size: .9375rem; }
  .faq-block > h2 { font-size: 1.4rem; }
  .faq-block__item { padding: 18px 0; }
}

/* -----------------------------------------------------------------
 |  Language switcher
 * ---------------------------------------------------------------- */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 42px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1;
  color: var(--muted);
  white-space: nowrap;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.lang-switch:hover { border-color: var(--line-strong); background: var(--soft); color: var(--muted); }
.lang-switch span { padding: 3px 2px; transition: color .2s var(--ease); }
.lang-switch span.is-on { color: var(--ink); }
.lang-switch i { font-style: normal; color: var(--line-strong); font-weight: 400; }

@media (max-width: 1024px) {
  .lang-switch { height: 38px; padding: 0 9px; font-size: .78125rem; }
}
@media (max-width: 900px) {
  .lang-switch { height: 42px; }
}

/* -----------------------------------------------------------------
 |  Chinese typography
 |  Latin defaults use negative letter-spacing and tight leading, which
 |  reads cramped with Han characters. Chinese gets its own stack,
 |  neutral tracking and a roomier line-height.
 * ---------------------------------------------------------------- */
html[lang="zh-CN"] body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC",
               "Noto Sans SC", "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.8;
  letter-spacing: .01em;
}

html[lang="zh-CN"] h1,
html[lang="zh-CN"] h2,
html[lang="zh-CN"] h3,
html[lang="zh-CN"] h4,
html[lang="zh-CN"] h5 {
  letter-spacing: 0;
  line-height: 1.35;
  font-weight: 600;
}

html[lang="zh-CN"] h1 { letter-spacing: 0; }

html[lang="zh-CN"] p,
html[lang="zh-CN"] li { line-height: 1.9; }

html[lang="zh-CN"] .eyebrow { letter-spacing: .08em; }
html[lang="zh-CN"] .trust__label { letter-spacing: .08em; }

/* Chinese headings are denser than Latin ones at the same size, so trim
   the display sizes a touch to keep the layout balanced. */
html[lang="zh-CN"] h1 { font-size: clamp(2rem, 3.8vw, 3.1rem); }
html[lang="zh-CN"] h2 { font-size: clamp(1.6rem, 2.5vw, 2.15rem); }

/* Longer Chinese labels need a little more breathing room in the chrome. */
html[lang="zh-CN"] .nav__link { letter-spacing: .02em; }
html[lang="zh-CN"] .btn { letter-spacing: .02em; }

/* Han characters break between any two glyphs, which would split a nav label
   across two lines; keep the chrome on one line instead. */
html[lang="zh-CN"] .nav__link,
html[lang="zh-CN"] .breadcrumb,
html[lang="zh-CN"] .btn,
html[lang="zh-CN"] .footer__bottom p { white-space: nowrap; }
html[lang="zh-CN"] .btn { white-space: normal; }

/* "Recommended" badge on cards the editor pinned in the admin panel. */
.pcard__pick {
  position: absolute; top: 14px; right: 14px;
  background: var(--accent); color: #fff;
  font-size: .625rem; font-weight: 700; letter-spacing: .08em;
  padding: 5px 9px; border-radius: 3px; text-transform: uppercase;
}
html[lang="zh-CN"] .pcard__pick { letter-spacing: .06em; font-size: .6875rem; text-transform: none; }
