/* =========================================================
   Guanyi Plastic Container — site-wide styles
   Industrial precision: light stock, red signal, thin rules
   ========================================================= */

:root {
  --brand: #ff4646;
  --brand-strong: #ed0707;
  --brand-soft: #f8e7e7;
  --accent: #31f6f6;
  --surface: #f9f6f6;
  --bg: #ffffff;
  --ink: #2b1d1d;
  --muted: #7e6363;
  --line: #e5dcdc;
  --ink-soft: #4a3636;
  --shadow-sm: 0 1px 2px rgba(43, 29, 29, 0.06);
  --shadow-md: 0 18px 40px -24px rgba(43, 29, 29, 0.35);
  --wrap: 1200px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.15em; }
h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.4rem); }
h3 { font-size: 1.16rem; letter-spacing: -0.01em; }
h4 { font-size: 0.98rem; }
time, .num { font-variant-numeric: tabular-nums; }
:focus-visible {
  outline: 2px solid var(--brand-strong);
  outline-offset: 3px;
  border-radius: 2px;
}
::selection { background: var(--brand-soft); color: var(--ink); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 860px; }
.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: 12px; top: -48px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 4px;
  transition: top 200ms ease;
}
.skip-link:focus { top: 12px; }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border: 1px solid transparent; border-radius: 2px;
  font-size: 0.86rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease, transform 200ms ease;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-strong); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); background: #c90606; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); background: var(--surface); }
.btn-ghost:active { background: var(--brand-soft); }
.btn-arrow::after { content: "\2192"; font-size: 1rem; letter-spacing: 0; }

.link-more {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.84rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink); border-bottom: 1px solid var(--line); padding-bottom: 4px;
  transition: color 200ms ease, border-color 200ms ease;
}
.link-more:hover { color: var(--brand-strong); border-color: var(--brand); }
.link-more::after { content: "\2192"; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(140%) blur(6px);
}
.hd-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 74px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px; height: 40px; flex: 0 0 42px;
  position: relative; overflow: hidden;
  background: #fff; color: var(--brand);
  font-size: 0.9rem; font-weight: 700; letter-spacing: -0.02em;
  border-radius: 2px;
}
.brand-mark img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-size: 0.98rem; font-weight: 700; letter-spacing: 0.01em; }
.brand-sub { font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 12px; border-radius: 2px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 180ms ease, background-color 180ms ease;
}
.nav-link:hover, .nav-link:focus-visible { color: var(--brand-strong); background: var(--surface); }
.nav-item.is-current > .nav-link { color: var(--brand-strong); }
.nav-item.is-current > .nav-link::after {
  content: ""; display: block; height: 2px; background: var(--brand);
  position: absolute; left: 12px; right: 12px; bottom: 4px;
}
.nav-link .caret { width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-1px); }
.nav-sub {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 232px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-md);
  padding: 8px; display: grid; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}
.nav-item:hover .nav-sub,
.nav-item:focus-within .nav-sub,
.nav-item.is-open .nav-sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-sub a {
  padding: 9px 12px; font-size: 0.84rem; color: var(--ink-soft); border-radius: 2px;
  transition: background-color 160ms ease, color 160ms ease, padding-left 160ms ease;
}
.nav-sub a:hover, .nav-sub a:focus-visible { background: var(--surface); color: var(--brand-strong); padding-left: 16px; }

/* product menu: each parent category in its own column, children underneath */
.nav-sub.nav-mega { grid-template-columns: repeat(2, minmax(200px, 1fr)); gap: 2px 10px; min-width: 452px; }
.nav-col { display: grid; align-content: start; gap: 2px; min-width: 0; }
.nav-col-title {
  padding: 8px 12px 7px; margin-bottom: 2px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); border-bottom: 1px solid var(--line);
  transition: color 180ms ease, background-color 180ms ease;
}
.nav-col-title:hover, .nav-col-title:focus-visible { color: var(--brand-strong); background: transparent; padding-left: 12px; }
.nav-sub a[aria-current="page"] { background: var(--surface); color: var(--brand-strong); }

.hd-tools { display: flex; align-items: center; gap: 14px; }
.lang-switch {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase;
  border: 1px solid var(--line); padding: 7px 11px; border-radius: 2px; color: var(--ink-soft);
  transition: border-color 180ms ease, color 180ms ease, background-color 180ms ease;
}
.lang-switch:hover { border-color: var(--brand); color: var(--brand-strong); background: var(--surface); }
.nav-toggle {
  display: none; width: 42px; height: 42px; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--line); border-radius: 2px; cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease;
}
.nav-toggle:hover { border-color: var(--ink); background: var(--surface); }
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--ink);
  transition: transform 200ms ease, top 200ms ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(43, 29, 29, 0.94) 10%, rgba(43, 29, 29, 0.66) 52%, rgba(43, 29, 29, 0.3) 100%);
}
.hero-inner { position: relative; padding: 108px 0 76px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--brand-soft); margin-bottom: 20px;
}
.hero-eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--brand); }
.hero-title { max-width: 22ch; color: #fff; margin-bottom: 20px; }
.hero-title em { font-style: normal; color: var(--brand); }
.hero-lead { max-width: 56ch; color: rgba(255, 255, 255, 0.82); font-size: 1.02rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .btn-ghost { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.hero .btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); }

/* page hero (interior pages) */
.page-hero { background: var(--surface); border-bottom: 1px solid var(--line); }
.page-hero-inner { padding: 52px 0 44px; display: grid; gap: 16px; }
.page-hero h1 { margin: 0; max-width: 26ch; }
.page-hero .lead { color: var(--muted); max-width: 62ch; margin: 0; }
.page-hero-with-media { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 40px; align-items: center; }
.page-hero-figure { border: 1px solid var(--line); background: #fff; padding: 10px; }
.page-hero-figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- fact strip ---------- */
.facts { background: #fff; border-bottom: 1px solid var(--line); }
.facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact { padding: 26px 24px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact-num { display: block; font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 700; letter-spacing: -0.03em; }
.fact-num span { color: var(--brand); }
.fact-label { display: block; font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* ---------- sections ---------- */
.section { padding: 84px 0; }
.section-tight { padding: 56px 0; }
.section-surface { background: var(--surface); }
.section-ink { background: var(--ink); color: #fff; }
.section-ink h2, .section-ink h3 { color: #fff; }
.section-ink .lead, .section-ink p { color: rgba(255, 255, 255, 0.76); }
.section-head { display: grid; gap: 12px; margin-bottom: 40px; max-width: 760px; }
.section-head-wide { max-width: none; }
.eyebrow {
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brand-strong);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--brand); }
.section-head h2 { margin: 0; }
.section-head .lead { margin: 0; color: var(--muted); font-size: 1rem; }
.section-ink .eyebrow { color: var(--brand); }
.section-foot { margin-top: 36px; }

/* ---------- breadcrumbs ---------- */
.crumbs { padding: 16px 0; border-bottom: 1px solid var(--line); background: #fff; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 0.78rem; color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: "/"; color: var(--line); }
.crumbs a { color: var(--muted); transition: color 160ms ease; }
.crumbs a:hover { color: var(--brand-strong); }
.crumbs [aria-current="page"] { color: var(--ink); font-weight: 600; }

/* ---------- product rail ---------- */
.rail { position: relative; }
.rail-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(272px, 1fr);
  gap: 18px; overflow-x: auto; padding-bottom: 10px;
  scrollbar-width: thin; scrollbar-color: rgba(126, 99, 99, 0.35) transparent;
}
.rail-track::-webkit-scrollbar { height: 8px; }
.rail-track::-webkit-scrollbar-thumb { background: rgba(126, 99, 99, 0.35); border-radius: 999px; }
.rail-track::-webkit-scrollbar-track { background: transparent; }
.prod-card {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: 2px; overflow: hidden;
  transition: border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}
.prod-card:hover { border-color: var(--brand); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.prod-card-media { position: relative; aspect-ratio: 4 / 3; background: var(--surface); overflow: hidden; }
.prod-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
.prod-card:hover .prod-card-media img { transform: scale(1.04); }
.prod-card-body { padding: 18px 18px 20px; display: grid; gap: 8px; }
.prod-card-body h3 { margin: 0; font-size: 1.02rem; }
.prod-card-body p { margin: 0; font-size: 0.88rem; color: var(--muted); }
.prod-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.prod-card-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--brand-strong); }
.prod-card-link::after { content: "\2192"; }

/* ---------- split layouts ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.split-media { border: 1px solid var(--line); background: #fff; padding: 12px; }
.split-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.split-body h2 { margin-top: 0; }
.split-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.split-list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 0.95rem; color: var(--ink-soft); }
.split-list li::before {
  content: ""; width: 8px; height: 8px; margin-top: 9px;
  background: var(--brand); border-radius: 50%;
}

/* ---------- spec table / sticky aside ---------- */
.spec-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.spec-aside {
  position: sticky; top: 96px;
  border: 1px solid var(--line); background: var(--surface); padding: 24px;
}
.spec-aside h3 { margin-top: 0; font-size: 0.98rem; letter-spacing: 0.02em; }
.spec-aside .spec-table { font-size: 0.86rem; }
.spec-aside .btn { width: 100%; justify-content: center; margin-top: 16px; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table caption { text-align: left; font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding-bottom: 10px; }
.spec-table th, .spec-table td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec-table th { width: 42%; font-weight: 600; color: var(--muted); font-size: 0.82rem; }
.spec-table td { color: var(--ink); }

/* ---------- timeline ---------- */
.timeline { position: relative; margin: 0; padding: 0 0 0 30px; list-style: none; }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: var(--line);
}
.timeline li { position: relative; padding: 0 0 30px 0; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -30px; top: 6px; width: 15px; height: 15px;
  background: #fff; border: 2px solid var(--brand); border-radius: 50%;
}
.tl-num { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brand-strong); }
.tl-title { margin: 4px 0 6px; font-size: 1.05rem; }
.tl-desc { margin: 0; color: var(--muted); font-size: 0.94rem; }

/* ---------- bands (image case bands) ---------- */
.band { position: relative; min-height: 420px; display: flex; align-items: flex-end; overflow: hidden; background: var(--ink); }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.92; transition: transform 600ms ease; }
.band:hover img { transform: scale(1.02); }
.band::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(30, 18, 18, 0.88) 6%, rgba(30, 18, 18, 0.12) 62%);
}
.band-cap { position: relative; z-index: 1; color: #fff; padding: 34px 0; }
.band-cap h2, .band-cap h3 { color: #fff; margin: 0 0 6px; }
.band-cap p { margin: 0; color: rgba(255, 255, 255, 0.8); max-width: 62ch; font-size: 0.94rem; }
.band-grid { display: grid; gap: 18px; }

/* ---------- grids & cards ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  border: 1px solid var(--line); background: #fff; padding: 24px; border-radius: 2px;
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}
.card:hover { border-color: var(--brand); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.card-step { display: block; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brand-strong); margin-bottom: 10px; }
.card-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; font-size: 0.92rem; color: var(--muted); }
.card-list li { padding-left: 16px; position: relative; }
.card-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; background: var(--line); }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.gallery-item { position: relative; display: block; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 420ms ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption {
  padding: 10px 12px; font-size: 0.8rem; color: var(--muted); border-top: 1px solid var(--line);
}
.cert-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.cert-item { border: 1px solid var(--line); background: #fff; padding: 10px; }
.cert-item img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.cert-item span { display: block; padding-top: 10px; font-size: 0.78rem; color: var(--muted); }
.partner-wall { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 10px; }
.partner-wall img { width: 100%; aspect-ratio: 3 / 2; object-fit: contain; background: #fff; border: 1px solid var(--line); padding: 6px; }

/* ---------- catalogue table ---------- */
.cat-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.cat-table caption { text-align: left; padding-bottom: 12px; color: var(--muted); font-size: 0.84rem; }
.cat-table th {
  text-align: left; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); border-bottom: 1px solid var(--ink); padding: 10px 12px;
}
.cat-table td { border-bottom: 1px solid var(--line); padding: 12px; vertical-align: middle; }
.cat-table tbody tr { transition: background-color 160ms ease; }
.cat-table tbody tr:hover { background: var(--surface); }
.cat-table .cell-thumb { width: 84px; }
.cat-table .cell-thumb img { width: 64px; height: 64px; object-fit: cover; border: 1px solid var(--line); }
.cat-table .cell-code { font-weight: 600; white-space: nowrap; }
.cat-table .cell-link a { color: var(--brand-strong); font-weight: 600; font-size: 0.84rem; }
.cat-table .cell-link a:hover { text-decoration: underline; }
.table-scroll { overflow-x: auto; scrollbar-width: thin; scrollbar-color: rgba(126, 99, 99, 0.35) transparent; }
.table-scroll::-webkit-scrollbar { height: 8px; }
.table-scroll::-webkit-scrollbar-thumb { background: rgba(126, 99, 99, 0.35); border-radius: 999px; }

/* ---------- pagination ---------- */
.pager { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 32px; font-size: 0.86rem; }
.pager a, .pager span {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px;
  border: 1px solid var(--line); border-radius: 2px; color: var(--ink-soft);
  transition: border-color 180ms ease, color 180ms ease, background-color 180ms ease;
}
.pager a:hover { border-color: var(--brand); color: var(--brand-strong); background: var(--surface); }
.pager .is-current { background: var(--ink); border-color: var(--ink); color: #fff; }
.pager .is-disabled { color: var(--line); border-color: var(--line); }

/* ---------- news ---------- */
.news-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.news-item { display: grid; grid-template-columns: 130px minmax(0, 1fr) auto; gap: 24px; align-items: start; padding: 24px 0; border-bottom: 1px solid var(--line); transition: background-color 180ms ease; }
.news-item:hover { background: var(--surface); }
.news-date { font-size: 0.82rem; color: var(--muted); letter-spacing: 0.04em; padding-top: 4px; }
.news-title { margin: 0 0 6px; font-size: 1.1rem; }
.news-title a { transition: color 180ms ease; }
.news-title a:hover { color: var(--brand-strong); }
.news-excerpt { margin: 0; color: var(--muted); font-size: 0.92rem; }
.news-tag { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-strong); padding-top: 5px; }

/* ---------- article ---------- */
.article-body { max-width: 760px; }
.article-body h2 { font-size: 1.4rem; margin-top: 1.6em; }
.article-body h3 { font-size: 1.1rem; margin-top: 1.4em; }
.article-body p { color: var(--ink-soft); }
.article-meta { display: flex; flex-wrap: wrap; gap: 18px; font-size: 0.82rem; color: var(--muted); margin-bottom: 24px; }
.article-figure { margin: 0 0 28px; border: 1px solid var(--line); background: #fff; padding: 10px; }
.article-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative;
  font-weight: 600; font-size: 1rem; transition: color 180ms ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 6px; top: 14px; font-size: 1.4rem; font-weight: 400; color: var(--brand);
  transition: transform 200ms ease;
}
.faq-item summary:hover { color: var(--brand-strong); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-body { padding: 0 40px 18px 0; color: var(--muted); font-size: 0.94rem; }
.faq-body p:last-child { margin-bottom: 0; }

/* ---------- forms ---------- */
.lead-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 0.94rem; color: var(--ink);
  padding: 12px 14px; background: #fff;
  border: 1px solid var(--line); border-radius: 2px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #cdbdbd; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(255, 70, 70, 0.14);
}
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-status { font-size: 0.88rem; color: var(--muted); }
.form-status.is-error { color: var(--brand-strong); }
.form-status.is-success { color: #1f7a52; }
.form-note { grid-column: 1 / -1; font-size: 0.8rem; color: var(--muted); margin: 0; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }
.contact-panel { border: 1px solid var(--line); background: var(--surface); padding: 28px; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.contact-list dt { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.contact-list dd { margin: 0; font-size: 0.98rem; }
.contact-list a { border-bottom: 1px solid var(--line); transition: border-color 180ms ease, color 180ms ease; }
.contact-list a:hover { color: var(--brand-strong); border-color: var(--brand); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.72); }
.ft-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; padding: 60px 0 40px; }
.ft-brand .brand-name { color: #fff; }
.ft-brand .brand-sub { color: rgba(255, 255, 255, 0.5); }
.ft-about { margin: 18px 0 0; font-size: 0.9rem; color: rgba(255, 255, 255, 0.66); max-width: 40ch; }
.ft-col h4 { color: #fff; font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 14px; }
.ft-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 0.88rem; }
.ft-col a { color: rgba(255, 255, 255, 0.72); transition: color 180ms ease; }
.ft-col a:hover { color: var(--brand); }
.ft-contact { font-size: 0.88rem; display: grid; gap: 10px; margin: 0; }
.ft-contact dt { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); }
.ft-contact dd { margin: 0; color: rgba(255, 255, 255, 0.82); }
.ft-contact a { color: rgba(255, 255, 255, 0.82); transition: color 180ms ease; }
.ft-contact a:hover { color: var(--brand); }
.ft-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 0 22px; border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.78rem; color: rgba(255, 255, 255, 0.56);
}
.ft-bottom a { color: rgba(255, 255, 255, 0.56); transition: color 180ms ease; }
.ft-bottom a:hover { color: #fff; }
.ft-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.ft-social, .ft-crawl { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.ft-social a, .ft-crawl a { font-size: 0.78rem; color: rgba(255, 255, 255, 0.56); }
.ft-social a:hover, .ft-crawl a:hover { color: #fff; }

/* ---------- 404 ---------- */
.nf-wrap { padding: 96px 0; display: grid; gap: 20px; max-width: 720px; }
.nf-code { font-size: clamp(3.4rem, 9vw, 6rem); font-weight: 700; letter-spacing: -0.05em; color: var(--brand); line-height: 1; }
.nf-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 8px; }
.nf-links a {
  border: 1px solid var(--line); padding: 16px 18px; border-radius: 2px; font-size: 0.92rem;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}
.nf-links a:hover { border-color: var(--brand); background: var(--surface); transform: translateY(-2px); }
.nf-links a span { display: block; font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

/* ---------- reveal (progressive enhancement) ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); }
.js .reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity 420ms ease, transform 420ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
  .js .reveal.is-in { transition: none; }
  .js .reveal { transition: none !important; }
  .prod-card:hover, .card:hover, .gallery-item:hover img, .band:hover img { transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .ft-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .spec-layout { grid-template-columns: 1fr; }
  .spec-aside { position: static; }
  .cert-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .partner-wall { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .section { padding: 60px 0; }
  .hero-inner { padding: 76px 0 56px; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(odd) { border-left: 0; padding-left: 0; }
  .fact { border-top: 1px solid var(--line); }
  .fact:nth-child(-n+2) { border-top: 0; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 10px 16px 18px; box-shadow: var(--shadow-md);
    max-height: calc(100vh - 74px); overflow-y: auto;
    scrollbar-width: thin; scrollbar-color: rgba(126, 99, 99, 0.35) transparent;
  }
  .nav::-webkit-scrollbar { width: 6px; }
  .nav::-webkit-scrollbar-thumb { background: rgba(126, 99, 99, 0.35); border-radius: 999px; }
  .nav.is-open { display: flex; }
  .nav-link { padding: 14px 4px; border-bottom: 1px solid var(--line); justify-content: space-between; }
  .nav-item.is-current > .nav-link::after { display: none; }
  .nav-sub {
    position: static; opacity: 1; visibility: visible; transform: none;
    border: 0; box-shadow: none; padding: 0 0 6px 12px; display: none;
  }
  .nav-item.is-open .nav-sub { display: grid; }
  .nav-sub.nav-mega { grid-template-columns: 1fr; min-width: 0; gap: 8px; }
  .nav-col { gap: 0; }
  .nav-col-title { padding: 8px 4px 5px; font-size: 0.68rem; }
  .page-hero-with-media { grid-template-columns: 1fr; gap: 24px; }
  .news-item { grid-template-columns: 1fr; gap: 6px; }
  .news-tag { order: -1; padding-top: 0; }
  .lead-form { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .brand-sub { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cert-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .nf-links { grid-template-columns: 1fr; }
  .ft-top { grid-template-columns: 1fr; }
  .band { min-height: 320px; }
  .cat-table th, .cat-table td { padding: 10px 8px; }
  .cat-table .cell-thumb img { width: 44px; height: 44px; }
}

/* ---------- utilities ---------- */
.cta-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 34px 0; }
.cta-band-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; }
.cta-band h2 { margin: 8px 0 0; }
.cta-band-actions { margin: 0; }
.section-flush-bottom { padding-bottom: 0; }
.section-flush-top { padding-top: 0; }
.section-tight-top { padding-top: 24px; }
.section-head-xs { max-width: 320px; }
.note-92, .note-90, .note-88, .note-86, .cell-none, .muted { color: var(--muted); }
.note-92 { font-size: 0.92rem; }
.note-90 { font-size: 0.9rem; }
.note-88 { font-size: 0.88rem; }
.note-86 { font-size: 0.86rem; }
.note-92-flush { color: var(--muted); font-size: 0.92rem; margin: 0; }
.card-stack { display: grid; gap: 14px; }
.card-media { aspect-ratio: 16 / 10; object-fit: cover; border: 1px solid var(--line); }
.spec-table-panel { background: #fff; }
.cell-none { font-size: 0.78rem; }
.btn-stack { margin-top: 10px; }
.btn-on-dark { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.btn-on-dark:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); }
.h1-narrow { max-width: 24ch; }
.h1-flush { margin: 0; }
.mt-8 { margin-top: 8px; }
.mt-18 { margin-top: 18px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-36 { margin-top: 36px; }
.mt-40 { margin-top: 40px; }
.case-bands-flush { margin-top: 2px; }

/* footer column heading (kept as text so heading levels stay sequential) */
.ft-col-title { margin: 0 0 14px; color: #fff; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }

/* language entry inside the main navigation */
.nav-item-lang { margin-left: 6px; }
.nav-lang { border: 1px solid var(--line); border-radius: 2px; }
.nav-lang:hover { border-color: var(--brand); background: var(--surface); }
@media (max-width: 860px) {
  .nav-item-lang { margin-left: 0; }
  .nav-lang { border: 0; }
}

/* dark sections: keep timeline and body text readable */
.section-ink .tl-title { color: #fff; }
.section-ink .tl-desc { color: rgba(255, 255, 255, 0.72); }
.section-ink .tl-num { color: var(--brand); }
.section-ink .timeline li::before { background: var(--ink); }
.section-ink .timeline::before { background: rgba(255, 255, 255, 0.18); }

.link-inline { color: var(--brand-strong); font-weight: 600; border-bottom: 1px solid var(--brand-soft); margin: 0 6px; transition: border-color 180ms ease, color 180ms ease; }
.link-inline:hover { border-color: var(--brand); }
