/* =============================================================
   SANT — Precision Metal
   One stylesheet. Logical properties throughout, so the Arabic
   (RTL) build mirrors without a second set of rules.
   ============================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --ink: #0b0e11;
  --ink-2: #151b21;
  --ink-3: #222b34;
  --paper: #f7f6f3;
  --paper-2: #efede7;
  --white: #ffffff;
  --line: #dedbd3;
  --line-strong: #c7c2b7;
  --text: #151a1f;
  --muted: #5d6873;
  --muted-2: #8a939c;
  --accent: #ff4d1c;
  --accent-dark: #e63c0c;
  --accent-soft: #ffe7de;
  --steel: #9aa6b2;

  --wrap: 1280px;
  --pad: clamp(18px, 4.2vw, 52px);
  --sec: clamp(64px, 8.5vw, 124px);
  --head: 72px;
  --r: 3px;

  --sh: 0 20px 44px -28px rgba(11, 14, 17, 0.4);

  --f-sans: "Instrument Sans", "IBM Plex Sans Arabic", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-ar: "IBM Plex Sans Arabic", "Instrument Sans", "Segoe UI", Tahoma, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;

  --ease: cubic-bezier(0.22, 0.61, 0.24, 1);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

html[lang="ar"] body { font-family: var(--f-ar); font-size: 16.5px; line-height: 1.75; }

img, svg, video { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

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

/* ---------- 3. Typography ---------- */
.display {
  font-size: clamp(2.55rem, 5.4vw, 4.7rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  font-weight: 600;
}
.h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.032em;
  font-weight: 600;
}
.h1-wide { max-width: 20ch; }
.h1-article { font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1.08; max-width: 26ch; }
.h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.06;
  letter-spacing: -0.028em;
  font-weight: 600;
  max-width: 24ch;
}
.h3 {
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  line-height: 1.25;
  letter-spacing: -0.012em;
  font-weight: 600;
}
.lead {
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  line-height: 1.65;
  color: var(--muted);
  max-width: 62ch;
}
.lead-lg { font-size: clamp(1.05rem, 1.35vw, 1.22rem); color: #4d5863; }
.mono { font-family: var(--f-mono); }

html[lang="ar"] .display,
html[lang="ar"] .h1,
html[lang="ar"] .h2,
html[lang="ar"] .h3 { letter-spacing: 0; line-height: 1.3; }
html[lang="ar"] .display { line-height: 1.15; }
html[lang="ar"] .lead { line-height: 1.85; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: 11.5px; }
.eyebrow-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex: none;
}
.eyebrow-inv { color: #8e9aa5; }

/* ---------- 4. Layout ---------- */
.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
  width: 100%;
}
.wrap-narrow { max-width: 820px; }
.section { padding-block: var(--sec); }
.section-tight { padding-block: clamp(40px, 5vw, 76px); }
.section-alt { background: var(--paper-2); }
.section-dark {
  background: var(--ink);
  color: #e8edf1;
  position: relative;
  overflow: hidden;
}
.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at 70% 20%, #000 10%, transparent 75%);
}
.section-dark > .wrap { position: relative; z-index: 1; }
.section-dark .h2, .section-dark .h3 { color: #fff; }
.section-dark .lead { color: #a3aeb8; }
.section-dark .eyebrow { color: #8e9aa5; }

.sec-head { margin-bottom: clamp(32px, 4vw, 56px); }
.sec-head .lead { margin-top: 18px; }
.sec-head.center { text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }
.sec-head.center .h2, .sec-head.center .lead { margin-inline: auto; }
.sec-foot { margin-top: 40px; }

.grid { display: grid; gap: clamp(16px, 2vw, 26px); }
.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)); }

.split { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split-60 { grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr); }
.split-50 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.split-40 { grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); align-items: start; }
.sticky-col { position: sticky; top: calc(var(--head) + 32px); }

/* ---------- 5. Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 2px;
  background: none;
  font-size: 0.93rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s, border-color 0.25s, transform 0.25s;
  white-space: nowrap;
}
.btn .ico { width: 14px; height: 14px; flex: none; transition: transform 0.25s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); }
.btn-outline { border-color: var(--line-strong); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); background: rgba(11, 14, 17, 0.04); }
.btn-ghost-inv { border-color: rgba(255, 255, 255, 0.28); color: #fff; }
.btn-ghost-inv:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn-lg { padding: 16px 28px; font-size: 1rem; }
.btn-sm { padding: 9px 15px; font-size: 0.85rem; }
.btn-block { width: 100%; }
.link-btn {
  background: none;
  border: 0;
  padding: 8px;
  font-size: 0.85rem;
  color: var(--muted);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.section-dark .btn-outline { border-color: rgba(255, 255, 255, 0.28); color: #fff; }
.section-dark .btn-outline:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
html[dir="rtl"] .btn .ico { transform: scaleX(-1); }
html[dir="rtl"] .btn:hover .ico { transform: scaleX(-1); }
html[dir="rtl"] .nav > ul > li > a::after { transform-origin: right center; }
/* mirror the hero image gradient so the dark edge always meets the copy */
html[dir="rtl"] .hero-media::after { transform: scaleX(-1); }
html[dir="rtl"] .article-media img,
html[dir="rtl"] .frame img { object-position: center; }

/* ---------- 6. Header ---------- */
.skip {
  position: absolute;
  inset-inline-start: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  z-index: 200;
}
.skip:focus { inset-inline-start: 12px; top: 12px; }

.site-head {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(247, 246, 243, 0.9);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.head-inner {
  height: var(--head);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand .logo { width: 34px; height: 34px; color: var(--ink); flex: none; }
.brand-txt { display: flex; flex-direction: column; line-height: 1; }
.brand-txt strong { font-size: 1.06rem; letter-spacing: 0.2em; font-weight: 600; }
.brand-txt span {
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}
html[lang="ar"] .brand-txt span { letter-spacing: 0; font-size: 10px; }

.nav ul { display: flex; gap: clamp(12px, 1.7vw, 24px); list-style: none; }
.nav > ul > li > a {
  position: relative;
  display: inline-block;
  padding-block: 8px;
  font-size: 0.9rem;
  color: #2a333b;
  transition: color 0.2s;
}
.nav > ul > li > a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s var(--ease);
}
.nav > ul > li > a:hover::after,
.nav > ul > li > a.is-active::after { transform: scaleX(1); }
.nav > ul > li > a.is-active { color: var(--ink); }
.nav-foot { display: none; }

.head-account {
  font-size: 0.82rem;
  color: var(--ink);
  text-decoration: none;
  padding: 8px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  white-space: nowrap;
}
.head-account:hover { border-color: var(--ink); }
.nav-acct { display: none; }
@media (max-width: 1080px) {
  .head-account { display: none; }
  .nav-acct {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    padding: 11px 14px;
    border: 1px solid var(--line-strong);
    border-radius: 2px;
    text-decoration: none;
    color: var(--ink);
  }
}
.head-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  font-size: 0.83rem;
  color: #3a444d;
  transition: border-color 0.2s, color 0.2s;
}
.lang-switch .ico { width: 14px; height: 14px; color: var(--muted); }
.lang-switch:hover { border-color: var(--ink); color: var(--ink); }

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  background: none;
  border-radius: 2px;
  padding: 11px 10px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
}
.burger span { display: block; height: 1.5px; background: var(--ink); transition: transform 0.3s, opacity 0.2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* ---------- 7. Hero ---------- */
.hero { background: var(--ink); color: #f3f5f7; position: relative; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse at 18% 28%, #000 5%, transparent 68%);
  mask-image: radial-gradient(ellipse at 18% 28%, #000 5%, transparent 68%);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(28px, 4.5vw, 68px);
  align-items: center;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: clamp(44px, 6vw, 84px) var(--pad);
}
.hero-copy { display: flex; flex-direction: column; justify-content: center; }
.hero-copy .display { max-width: 15ch; }
.hero-copy .lead { color: #b4bec7; margin-top: 24px; max-width: 50ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  list-style: none;
  margin-top: clamp(30px, 4vw, 46px);
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.83rem;
  color: #9fabb5;
}
.hero-badges li { display: flex; align-items: center; gap: 8px; }
.hero-badges li::before { content: ""; width: 4px; height: 4px; background: var(--accent); border-radius: 50%; flex: none; }

.hero-media {
  position: relative;
  align-self: stretch;
  min-height: 440px;
  background: #11161b;
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.55) contrast(1.08) brightness(0.86);
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 14, 17, 0.85) 0%, rgba(11, 14, 17, 0.05) 52%, rgba(11, 14, 17, 0.3) 100%),
    linear-gradient(0deg, rgba(11, 14, 17, 0.72) 0%, transparent 58%);
}
.hero-tag {
  position: absolute;
  top: 18px;
  inset-inline-end: 18px;
  z-index: 2;
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 6px 10px;
  background: rgba(11, 14, 17, 0.25);
  backdrop-filter: blur(6px);
}
html[lang="ar"] .hero-tag { letter-spacing: 0; font-size: 10.5px; }
.hero-card {
  position: absolute;
  bottom: 18px;
  inset-inline-start: 18px;
  z-index: 3;
  background: var(--paper);
  color: var(--ink);
  padding: 14px 20px;
  min-width: 156px;
  box-shadow: 0 24px 50px -18px rgba(0, 0, 0, 0.55);
}
.hero-card p {
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
html[lang="ar"] .hero-card p { letter-spacing: 0; font-size: 10.5px; }
.hero-card strong { font-size: 1.45rem; letter-spacing: -0.02em; font-weight: 600; }


/* ---------- 8. Stat strip ---------- */
.stat-strip { background: #fff; border-bottom: 1px solid var(--line); }
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 40px);
  padding-block: clamp(28px, 3.6vw, 46px);
}
.stat { border-inline-end: 1px solid var(--line); padding-inline-end: clamp(12px, 2vw, 28px); }
.stat:last-child { border-inline-end: 0; padding-inline-end: 0; }
.stat-val { display: flex; align-items: baseline; gap: 7px; line-height: 1; }
.stat-val .num {
  font-family: var(--f-mono);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  letter-spacing: -0.03em;
  font-weight: 500;
}
.stat-unit {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
html[lang="ar"] .stat-unit { letter-spacing: 0; }
.stat-label { font-size: 0.83rem; color: var(--muted); margin-top: 10px; line-height: 1.45; max-width: 26ch; }

/* ---------- 9. Cards ---------- */
.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--sh); border-color: var(--line-strong); }
.card-link { display: flex; flex-direction: column; height: 100%; }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #e6e4df; }
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.94) contrast(1.02);
  transition: transform 0.9s var(--ease);
}
.card:hover .card-media img { transform: scale(1.04); }
.card-num {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  z-index: 2;
  background: rgba(247, 246, 243, 0.94);
  padding: 4px 8px;
  font-size: 10px;
  letter-spacing: 0.12em;
}
.card-body { display: flex; flex-direction: column; gap: 9px; padding: 22px 22px 24px; flex: 1; }
.card-body h3, .card-h { font-size: 1.12rem; line-height: 1.25; letter-spacing: -0.01em; font-weight: 600; }
.card-text { font-size: 0.93rem; line-height: 1.6; color: var(--muted); }
.card-more {
  margin-top: auto;
  padding-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--accent-dark);
}
.card-more .ico { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.card:hover .card-more .ico { transform: translateX(4px); }
html[dir="rtl"] .card-more .ico,
html[dir="rtl"] .card:hover .card-more .ico { transform: scaleX(-1); }

.tag-row { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin-top: 4px; }
.tag-row li {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  padding: 5px 9px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: #fbfaf7;
}
.tag-row-lg { gap: 8px; margin-top: 18px; }
.tag-row-lg li { font-size: 0.8rem; padding: 8px 12px; color: #3a444d; }

/* ---------- 10. Capability & product grids ---------- */
.cap-card .card-body { padding-bottom: 26px; }
.card-index { font-size: 10px; letter-spacing: 0.16em; color: var(--accent); }

.prod-card-lg .card-media { aspect-ratio: 3 / 2; }
.prod-card-lg .card-body { padding: 24px 24px 26px; gap: 11px; }

/* ---------- 11. Why / steps / gates ---------- */
.why-grid { gap: clamp(22px, 3vw, 40px); }
.why-item { border-top: 1px solid rgba(255, 255, 255, 0.16); padding-top: 20px; }
.section-dark .why-item p { color: #a3aeb8; font-size: 0.94rem; line-height: 1.65; }
.why-n {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 16px;
}
.why-item h3 { margin-bottom: 10px; font-size: 1.08rem; letter-spacing: -0.01em; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 3vw, 40px); list-style: none; }
.step { border-top: 1px solid var(--line-strong); padding-top: 18px; }
.step-n { display: block; font-size: 11px; letter-spacing: 0.16em; color: var(--accent); margin-bottom: 14px; }
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { font-size: 0.92rem; color: var(--muted); line-height: 1.6; }

.gates { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); }
.gate { border-top: 2px solid var(--ink); padding-top: 18px; }
.gate-n { display: block; font-size: 11px; letter-spacing: 0.16em; color: var(--accent); margin-bottom: 14px; }
.gate h3 { font-size: 1rem; margin-bottom: 8px; }
.gate p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }

/* ---------- 12. Split media / frames ---------- */
.frame { position: relative; overflow: hidden; background: #e6e4df; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.split-media.frame { aspect-ratio: 4 / 3; }
.split-media.frame img { position: absolute; inset: 0; }
.frame figcaption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 12px 16px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  background: linear-gradient(0deg, rgba(11, 14, 17, 0.8), transparent);
}
html[lang="ar"] .frame figcaption { letter-spacing: 0; font-size: 11px; }
.frame-inv { background: #1b222a; }

.check-list { display: grid; gap: 12px; list-style: none; margin-top: 26px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.96rem; line-height: 1.55; }
.check-list .ico { width: 15px; height: 15px; flex: none; margin-top: 4px; color: var(--accent); }
.check-list-lg li { font-size: 1rem; }
.check-list-inv li { color: #cfd8df; }

.dot-list { list-style: none; display: grid; gap: 9px; margin-top: 14px; }
.dot-list li { position: relative; padding-inline-start: 18px; font-size: 0.95rem; color: #3b4650; line-height: 1.55; }
.dot-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 2px;
  top: 0.62em;
  width: 5px;
  height: 5px;
  background: var(--line-strong);
  border-radius: 50%;
}
.two-col-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 8px; }
.two-col-lists h4 {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
html[lang="ar"] .two-col-lists h4 { letter-spacing: 0; }

/* ---------- 13. Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); background: #fff; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 0.94rem; min-width: 520px; }
.spec-table th {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted);
  text-align: start;
  padding: 15px 20px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
html[lang="ar"] .spec-table th { letter-spacing: 0; font-size: 10.5px; }
.spec-table td { padding: 15px 20px; border-bottom: 1px solid #edebe5; vertical-align: top; line-height: 1.55; }
.spec-table tbody tr:last-child td { border-bottom: 0; }
.spec-table tbody tr:hover { background: #fbfaf7; }
.spec-table td:first-child { color: #2b343d; }
.spec-table-inv { border-color: rgba(255, 255, 255, 0.14); }
.spec-table-inv td { border-color: rgba(255, 255, 255, 0.1); color: #d5dde4; }
.spec-table-inv tbody tr:hover { background: rgba(255, 255, 255, 0.03); }
.spec-table-inv td:last-child { text-align: end; font-family: var(--f-mono); color: #fff; }
.spec-table-plain { min-width: 0; }
.spec-table-plain td:first-child { color: var(--muted); }
.table-note { margin-top: 16px; font-size: 0.85rem; color: var(--muted); max-width: 62ch; }

/* ---------- 14. CTA band ---------- */
.cta-band {
  background: var(--ink);
  color: #fff;
  padding-block: clamp(52px, 6.5vw, 92px);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 2px;
  background: var(--accent);
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 340px at 88% 20%, rgba(255, 77, 28, 0.13), transparent 70%);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(28px, 5vw, 72px);
}
.cta-inner .h2 { color: #fff; max-width: 22ch; }
.cta-inner .lead { color: #a9b4bd; margin-top: 16px; max-width: 48ch; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; flex: none; }

/* ---------- 15. Page hero ---------- */
.page-hero {
  background: linear-gradient(180deg, #fff 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(32px, 4.5vw, 60px) clamp(32px, 4.5vw, 64px);
}
.page-hero-compact { padding-block: clamp(36px, 5vw, 64px); }
.page-hero .lead { max-width: 66ch; margin-top: 20px; }
.page-hero .lead-lg { max-width: 58ch; }
.ph-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin-top: 30px; }
.ph-media img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.wide-media { margin-top: clamp(28px, 4vw, 44px); aspect-ratio: 21 / 9; }
.wide-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph-meta { margin-top: 22px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* ---------- 16. Breadcrumbs ---------- */
.crumbs { margin-bottom: 26px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; font-size: 0.8rem; color: var(--muted); }
.crumbs li { display: flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: "/"; color: var(--line-strong); }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { color: #3a444d; }

/* ---------- 17. Product detail ---------- */
.prod-hero { background: var(--paper-2); padding-block: 26px clamp(28px, 4vw, 52px); border-bottom: 1px solid var(--line); }
.prod-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 60px); align-items: center; }
.prod-hero-copy .lead { margin-top: 18px; max-width: 46ch; }
.prod-hero-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #ddd; }
.prod-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.prod-body { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.62fr); gap: clamp(32px, 5vw, 76px); align-items: start; }
.prod-main .h3 { margin-top: 40px; margin-bottom: 8px; }
.prod-main .faq { margin-top: 18px; }
.prose-p { color: #3b4650; line-height: 1.72; margin-bottom: 16px; font-size: 1rem; max-width: 74ch; }
.prod-main > .prose-p:first-child { font-size: 1.06rem; color: #2a343d; }
.prod-aside { position: sticky; top: calc(var(--head) + 24px); display: grid; gap: 16px; }
.spec-box { background: #fff; border: 1px solid var(--line); padding: 24px; }
.spec-title {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
html[lang="ar"] .spec-title { letter-spacing: 0; font-size: 11px; }
.spec-dl { margin: 6px 0 20px; }
.spec-dl > div { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid #efede8; font-size: 0.88rem; }
.spec-dl dt { color: var(--muted); flex: 1 1 auto; }
.spec-dl dd { margin: 0; text-align: end; font-weight: 500; flex: 0 1 auto; }
.spec-note { margin-top: 12px; font-size: 0.76rem; color: var(--muted-2); text-align: center; }
.aside-card { border: 1px solid var(--line); background: transparent; padding: 20px 24px; }
.aside-card .mono { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.aside-line { font-size: 0.95rem; margin-bottom: 4px; }
.aside-line a { border-bottom: 1px solid var(--line-strong); }
.aside-line a:hover { border-color: var(--accent); color: var(--accent-dark); }
.aside-note { font-size: 0.8rem; color: var(--muted); line-height: 1.55; margin-top: 10px; }

/* ---------- 18. Process blocks (capabilities) ---------- */
.process-block { padding-block: clamp(44px, 6vw, 84px); border-top: 1px solid var(--line); }
.process-block:first-of-type { border-top: 0; }
.process-flip .split > .split-text { order: 2; }
.process-flip .split > .split-media { order: 1; }
.mini-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin-top: 26px; border-top: 1px solid var(--line); }
.mini-specs > div { display: flex; justify-content: space-between; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 0.86rem; }
.mini-specs dt { color: var(--muted); }
.mini-specs dd { margin: 0; font-weight: 500; text-align: end; }
.callout { margin-top: 22px; padding: 16px 18px; background: var(--accent-soft); border-inline-start: 2px solid var(--accent); font-size: 0.9rem; line-height: 1.6; color: #4a3a34; }
.callout .mono { display: block; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 6px; }

/* ---------- 19. Panels / facts / claims ---------- */
.panel { background: #fff; border: 1px solid var(--line); padding: clamp(22px, 3vw, 32px); }
.panel-inv { background: var(--ink); color: #dfe5ea; border-color: var(--ink-3); }
.panel-inv .mono { color: #8e9aa5; }
.facts { display: grid; gap: 0; margin-top: 18px; }
.facts > div { display: flex; justify-content: space-between; gap: 18px; padding: 12px 0; border-bottom: 1px solid #efede8; font-size: 0.9rem; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; text-align: end; font-weight: 500; }
.claim-box { background: var(--paper-2); border: 1px solid var(--line); padding: clamp(24px, 3vw, 36px); }
.claim-box .mono { font-family: var(--f-mono); font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -0.02em; color: var(--accent); }
.claim-box p + .mono { margin-top: 24px; }
.claim-box p { font-size: 0.92rem; color: var(--muted); line-height: 1.55; margin-top: 4px; }
.cert-row { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; }
.cert-row li { border: 1px solid var(--line-strong); padding: 10px 16px; font-size: 0.85rem; background: #fff; }
.address { font-style: normal; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.92rem; color: var(--muted); }

/* ---------- 20. Markets ---------- */
.market-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.market-chips li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line-strong);
  padding: 9px 13px;
  font-size: 0.84rem;
  background: #fff;
}
.m-code { font-size: 9.5px; letter-spacing: 0.1em; color: var(--muted-2); border-inline-end: 1px solid var(--line); padding-inline-end: 9px; }
.trust { list-style: none; display: grid; gap: 9px; margin-top: 26px; font-size: 0.9rem; color: var(--muted); }
.trust li { position: relative; padding-inline-start: 16px; }
.trust li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.7em; width: 5px; height: 5px; background: var(--accent); }
.incoterms { display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.incoterm { display: grid; grid-template-columns: 90px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.incoterm .mono { font-size: 0.95rem; font-weight: 500; letter-spacing: 0.06em; color: var(--ink); }
.incoterm p:last-child { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }

/* ---------- 21. FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  cursor: pointer;
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.45;
  list-style: none;
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent-dark); }
.faq-item summary .ico { width: 15px; height: 15px; flex: none; margin-top: 4px; color: var(--accent); transition: transform 0.3s var(--ease); }
.faq-item[open] summary .ico { transform: rotate(45deg); }
.faq-a { padding: 0 0 24px; color: var(--muted); font-size: 0.95rem; line-height: 1.7; max-width: 66ch; }

/* ---------- 22. Forms ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.75fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.quote-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.72fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.form-note { font-size: 0.88rem; color: var(--muted); margin: 10px 0 28px; max-width: 60ch; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.label { display: flex; gap: 4px; font-size: 0.8rem; font-weight: 500; color: #2a333b; letter-spacing: 0.01em; }
.req { color: var(--accent); }
input, select, textarea {
  width: 100%;
  font: inherit;
  font-size: 0.94rem;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  padding: 12px 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}
select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%235d6873' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 11px;
  padding-inline-end: 34px;
}
html[dir="rtl"] select { background-position: left 14px center; }
textarea { resize: vertical; min-height: 120px; }
input:hover, select:hover, textarea:hover { border-color: #a9a396; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(255, 77, 28, 0.12); }
::placeholder { color: #9aa1a8; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #c0392b; background: #fff7f5; }
.field-error { font-size: 0.76rem; color: #b32d1f; }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 0.84rem; color: var(--muted); line-height: 1.55; cursor: pointer; }
/* 全局 input 设了 appearance:none，复选框必须单独恢复，否则点了看不到勾 */
.consent input[type="checkbox"] {
  appearance: auto;
  -webkit-appearance: checkbox;
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin: 3px 0 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  flex: none;
  accent-color: var(--accent);
  cursor: pointer;
}
.consent input[type="checkbox"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.form-actions { display: flex; align-items: center; gap: 18px; margin-top: 26px; flex-wrap: wrap; }
.form-hint { font-size: 0.8rem; color: var(--muted-2); }
.form-status { margin-top: 18px; padding: 14px 16px; font-size: 0.9rem; border-inline-start: 2px solid var(--accent); background: var(--accent-soft); color: #4a3a34; }
.form-status.is-error { background: #fdeceb; border-color: #c0392b; color: #7d2015; }
.form-status.is-ok { background: #eaf4ee; border-color: #1e7a4c; color: #175c39; }
.channels { list-style: none; display: grid; gap: 14px; margin: 16px 0 20px; }
.channels li { display: grid; gap: 2px; }
.channels .mono { font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); }
.channels a { font-size: 0.98rem; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.channels a:hover { color: var(--accent-dark); border-color: var(--accent); }
.contact-aside { display: grid; gap: 16px; }
.contact-aside .panel p { font-size: 0.9rem; color: var(--muted); line-height: 1.65; }
.quote-aside { display: grid; gap: 16px; position: sticky; top: calc(var(--head) + 24px); }
.qsteps { list-style: none; display: grid; gap: 18px; border-top: 1px solid var(--line-strong); padding-top: 22px; }
.qstep { display: grid; grid-template-columns: 34px 1fr; gap: 14px; }
.qstep .mono { font-size: 10px; letter-spacing: 0.14em; color: var(--accent); padding-top: 3px; }
.qstep h3 { font-size: 0.98rem; margin-bottom: 4px; }
.qstep p { font-size: 0.86rem; color: var(--muted); line-height: 1.55; }
.quote-list-box { border: 1px solid var(--line-strong); background: #fff; padding: 18px 20px; margin-bottom: 26px; }
.quote-list-box .h3 { font-size: 0.95rem; margin-bottom: 10px; }

/* ---------- 23. Insights / article ---------- */
.post-card .card-media { aspect-ratio: 16 / 10; }
.post-meta { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 12px; }
html[lang="ar"] .post-meta { letter-spacing: 0; font-size: 11px; }
.article { padding-block: clamp(28px, 4vw, 48px) clamp(56px, 7vw, 96px); }
.article .lead { margin: 18px 0 32px; }
.article-media { aspect-ratio: 16 / 9; margin-bottom: clamp(28px, 4vw, 44px); }
.article-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.article-body { font-size: 1.04rem; line-height: 1.74; color: #2c353e; }
.article-body .h3 { margin: 38px 0 12px; color: var(--ink); }
.article-body .dot-list { margin: 18px 0 22px; }
.article-body .dot-list li { font-size: 1rem; }
.article-foot { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.legal .article-body { font-size: 0.98rem; }

/* ---------- 24. 404 ---------- */
.notfound { padding-block: clamp(80px, 12vw, 160px); }
.notfound .h1 { margin-bottom: 20px; }
.notfound .lead { margin-bottom: 32px; }

/* ---------- 25. Footer ---------- */
.site-foot { background: var(--ink); color: #b4bec7; padding-block: clamp(48px, 6vw, 80px) 26px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr); gap: clamp(32px, 5vw, 72px); padding-bottom: 44px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.brand-inv .logo { color: #fff; }
.brand-inv .brand-txt strong { color: #fff; }
.brand-inv .brand-txt span { color: #7f8b96; }
.f-desc { margin-top: 18px; font-size: 0.9rem; line-height: 1.65; max-width: 34ch; color: #9aa5ae; }
.f-contact { list-style: none; margin-top: 22px; display: grid; gap: 10px; font-size: 0.88rem; }
.f-contact li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; }
.f-contact .ico { width: 14px; height: 14px; flex: none; margin-top: 3px; color: var(--accent); }
.f-contact a:hover { color: #fff; }
.f-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.f-col h3 { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: #7f8b96; font-weight: 500; margin-bottom: 16px; }
html[lang="ar"] .f-col h3 { letter-spacing: 0; font-size: 11px; }
.f-col ul { list-style: none; display: grid; gap: 10px; font-size: 0.88rem; }
.f-col a { color: #b4bec7; transition: color 0.2s; }
.f-col a:hover { color: #fff; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; font-size: 0.76rem; color: #7f8b96; }
.foot-loc { font-family: var(--f-mono); font-size: 0.72rem; }

/* ---------- 26. Quote drawer ---------- */
.drawer-back { position: fixed; inset: 0; background: rgba(11, 14, 17, 0.5); backdrop-filter: blur(2px); z-index: 110; }
.drawer {
  position: fixed;
  inset-block: 0;
  inset-inline-end: 0;
  width: min(420px, 100%);
  background: var(--paper);
  z-index: 120;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  box-shadow: -24px 0 60px rgba(0, 0, 0, 0.22);
}
html[dir="rtl"] .drawer { transform: translateX(-100%); box-shadow: 24px 0 60px rgba(0, 0, 0, 0.22); }
.drawer.is-open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1rem; letter-spacing: 0.02em; }
.drawer-close { background: none; border: 1px solid var(--line-strong); width: 34px; height: 34px; display: grid; place-items: center; cursor: pointer; border-radius: 2px; }
.drawer-close svg { width: 13px; height: 13px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.q-item { display: flex; justify-content: space-between; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.q-item h3 { font-size: 0.94rem; font-weight: 500; }
.q-item p { font-size: 0.78rem; color: var(--muted); margin-top: 3px; }
.q-remove { background: none; border: 0; padding: 4px; cursor: pointer; color: var(--muted-2); align-self: flex-start; }
.q-remove:hover { color: var(--accent); }
.q-empty { padding: 40px 0; text-align: center; }
.q-empty p { font-size: 0.95rem; margin-bottom: 8px; }
.q-empty small { color: var(--muted); font-size: 0.83rem; line-height: 1.6; display: block; max-width: 30ch; margin-inline: auto; }
.drawer-foot { padding: 20px 24px 26px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.quote-fab {
  position: fixed;
  bottom: 22px;
  inset-inline-end: 22px;
  z-index: 90;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 0;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 14px 30px -8px rgba(11, 14, 17, 0.45);
  transition: transform 0.25s var(--ease), background 0.25s;
}
.quote-fab:hover { transform: translateY(-2px); background: #000; }
.quote-fab .ico { width: 19px; height: 19px; }
.quote-count {
  position: absolute;
  top: -3px;
  inset-inline-end: -3px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 10.5px;
  line-height: 20px;
  text-align: center;
  font-family: var(--f-mono);
}
body.drawer-open { overflow: hidden; }
@media (max-width: 1080px) { body.nav-open { overflow: hidden; } }

/* ---------- 27. Motion ---------- */
.reveal { opacity: 0; transform: translateY(16px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 28. Responsive ---------- */
@media (max-width: 1180px) {
  .gates { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gates .gate:nth-child(n + 4) { border-top-width: 1px; }
}

@media (max-width: 1024px) {
  :root { --head: 66px; }
  .hero-grid { grid-template-columns: 1fr; gap: clamp(24px, 4vw, 34px); padding-block: clamp(36px, 6vw, 56px); }
  .hero-media { aspect-ratio: 16 / 10; min-height: 0; }
  .hero-copy .display { max-width: 18ch; }
  .hero-media::after { background: linear-gradient(0deg, rgba(11, 14, 17, 0.82) 0%, rgba(11, 14, 17, 0.05) 62%); }
  html[dir="rtl"] .hero-media::after { transform: none; }
  .split-60, .split-40, .split-50 { grid-template-columns: 1fr; }
  .split-text .sec-head { margin-bottom: 28px; }
  .sticky-col { position: static; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prod-body { grid-template-columns: 1fr; }
  .prod-aside { position: static; }
  .ph-grid, .prod-hero-grid { grid-template-columns: 1fr; }
  .ph-media img { aspect-ratio: 16 / 9; }
  .contact-grid, .quote-grid { grid-template-columns: 1fr; }
  .quote-aside { position: static; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .foot-top { grid-template-columns: 1fr; gap: 40px; }
  .process-flip .split > .split-text, .process-flip .split > .split-media { order: initial; }
  .section-dark .split-media { order: -1; }
}

@media (max-width: 1080px) {
  .burger { display: flex; }
  .nav {
    position: fixed;
    inset-inline: 0;
    top: var(--head);
    z-index: 79;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--pad) 28px;
    max-height: calc(100vh - var(--head));
    overflow-y: auto;
    transform: translateY(-120%);
    transition: transform 0.4s var(--ease);
    box-shadow: 0 30px 40px -30px rgba(0, 0, 0, 0.3);
  }
  .nav.is-open { transform: none; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav > ul > li { border-bottom: 1px solid var(--line); }
  .nav > ul > li > a { display: block; padding: 15px 0; font-size: 1.02rem; }
  .nav > ul > li > a::after { display: none; }
  .nav > ul > li > a.is-active { color: var(--accent-dark); }
  .nav-foot { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
  .nav-lang { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid var(--line-strong); font-size: 0.85rem; }
  .nav-lang .ico { width: 14px; height: 14px; }
  .head-cta { display: none; }
  .head-actions .lang-switch span { display: none; }
  .head-actions .lang-switch { padding: 8px 10px; }
}

@media (max-width: 720px) {
  .btn { white-space: normal; text-align: center; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .gates { grid-template-columns: 1fr; }
  .gate { border-top-width: 1px; }
  .form-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 22px 18px; }
  .stat { border-inline-end: 0; padding-inline-end: 0; }
  .stat:nth-child(odd) { border-inline-end: 1px solid var(--line); padding-inline-end: 16px; }
  .why-grid { gap: 26px; }
  .two-col-lists { grid-template-columns: 1fr; }
  .mini-specs { grid-template-columns: 1fr; }
  .f-cols { grid-template-columns: 1fr 1fr; gap: 26px; }
  .hero-badges { gap: 8px 18px; font-size: 0.78rem; }
  .hero-media { aspect-ratio: 4 / 3; }
  .hero-card { min-width: 0; padding: 11px 15px; }
  .hero-card strong { font-size: 1.25rem; }
  .incoterm { grid-template-columns: 64px 1fr; gap: 14px; }
  .article-media { aspect-ratio: 4 / 3; }
  .quote-fab { bottom: 16px; inset-inline-end: 16px; width: 48px; height: 48px; }
  .hero-actions .btn { flex: 1 1 auto; }
}

@media (max-width: 420px) {
  .brand-txt span { display: none; }
  .hero-card { display: none; }
  .stat-grid { grid-template-columns: 1fr; }
  .stat:nth-child(odd) { border-inline-end: 0; padding-inline-end: 0; }
  .f-cols { grid-template-columns: 1fr; }
}

/* ---------- 29. Aside media ---------- */
.aside-media { aspect-ratio: 4 / 3; }
.aside-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact-aside .aside-media,
.quote-aside .aside-media { margin-top: 2px; }

/* ---------- 30. WhatsApp shortcut ---------- */
.wa-fab {
  position: fixed;
  bottom: 88px;
  inset-inline-end: 22px;
  z-index: 90;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 26px -10px rgba(11, 14, 17, 0.45);
  transition: transform 0.25s var(--ease), filter 0.25s;
}
.wa-fab:hover { transform: translateY(-2px); filter: brightness(1.05); }
.wa-fab svg { width: 24px; height: 24px; }
@media (max-width: 720px) {
  .wa-fab { bottom: 74px; inset-inline-end: 16px; width: 44px; height: 44px; }
  .wa-fab svg { width: 22px; height: 22px; }
}

/* ---------- 31. SEO landing components ---------- */
.link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.98rem;
  transition: border-color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
}
.link-card:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--sh); }
.link-card .ico { width: 15px; height: 15px; flex: none; color: var(--accent); }
html[dir="rtl"] .link-card .ico { transform: scaleX(-1); }

.price-list { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.price-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.96rem;
}
.price-list .mono { font-size: 10.5px; letter-spacing: 0.14em; color: var(--accent); padding-top: 3px; }

.why-grid-light .why-item { border-top: 1px solid var(--line-strong); }
.why-grid-light .why-n { color: var(--accent-dark); }
.why-grid-light .why-item p { color: var(--muted); font-size: 0.94rem; }

.lead-intro { max-width: 72ch; margin-bottom: 40px; font-size: 1.05rem; }

.glossary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 48px;
  border-top: 1px solid var(--line);
}
.gloss-item { padding: 20px 0; border-bottom: 1px solid var(--line); }
.gloss-item dt { font-weight: 600; font-size: 1.02rem; margin-bottom: 6px; }
.gloss-item dd { margin: 0; color: var(--muted); font-size: 0.93rem; line-height: 1.62; }
@media (max-width: 860px) { .glossary { grid-template-columns: 1fr; gap: 0; } }

/* ---------- 32. Client area ---------- */
.acct-page { background: var(--paper); }
.acct-bar { border-bottom: 1px solid var(--line); background: #fff; }
.acct-bar-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 56px; }
.acct-bar strong { font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; }
.acct-bar-links { display: flex; align-items: center; gap: 18px; font-size: 0.85rem; }
.acct-bar-links a:hover { color: var(--accent-dark); }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.linklike:hover { color: var(--accent-dark); }
.acct-main { padding-block: clamp(32px, 5vw, 64px) clamp(56px, 7vw, 96px); }
.acct-narrow { max-width: 520px; margin-inline: auto; }
.acct-narrow-wide { max-width: 920px; margin-inline: auto; }
.acct-h1 { margin-bottom: 12px; }
.acct-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.acct-form { display: grid; gap: 16px; }
.acct-form label { display: grid; gap: 6px; font-size: 0.82rem; color: var(--muted); }
.acct-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.acct-alert { border: 1px solid #f2c7c2; background: #fdf1f0; color: #8c2418; padding: 12px 14px; font-size: 0.88rem; margin-bottom: 18px; }
.acct-alert.ok { border-color: #c3e2d3; background: #eef7f2; color: #175c39; }
.acct-alt { margin-top: 18px; font-size: 0.88rem; }
.acct-alt.muted { color: var(--muted); }
.acct-panel { background: #fff; border: 1px solid var(--line); padding: 22px 24px; }
.acct-panel h2 { font-size: 0.95rem; letter-spacing: 0.02em; margin-bottom: 14px; }
.acct-table { min-width: 0; }
.acct-table th, .acct-table td { font-size: 0.86rem; }
.acct-status { display: inline-block; font-size: 0.75rem; padding: 3px 9px; border-radius: 99px; }
.s-new { background: #fff0e9; color: #c2410c; }
.s-quoted { background: #e8f0fe; color: #1d4ed8; }
.s-won { background: #e8f5ee; color: #1e7a4c; }
.s-lost, .s-closed { background: #eeece7; color: #6b7280; }
.acct-empty { padding: 40px 12px; text-align: center; color: var(--muted); }
.acct-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; align-items: start; }
.acct-kv { display: grid; grid-template-columns: 90px 1fr; gap: 10px 16px; font-size: 0.9rem; }
.acct-kv dt { color: var(--muted); }
.acct-kv dd { margin: 0; }
.acct-msg { font-size: 0.92rem; color: #3b4650; white-space: pre-wrap; line-height: 1.65; }
.acct-files { list-style: none; display: grid; gap: 8px; font-size: 0.88rem; }
.acct-files li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.acct-files span { color: var(--muted); font-size: 0.78rem; }
.acct-timeline { list-style: none; display: grid; gap: 12px; font-size: 0.86rem; }
.acct-timeline .w { color: var(--muted); font-size: 0.76rem; }
.acct-code { font-size: 1.6rem; letter-spacing: 0.02em; margin: 18px 0 24px; }
.acct-back { font-size: 0.85rem; color: var(--muted); }
@media (max-width: 760px) {
  .acct-row, .acct-grid { grid-template-columns: 1fr; }
  .acct-bar-links { gap: 12px; font-size: 0.8rem; }
}

/* ---------- 33. Upload dropzone ---------- */
.dropzone {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 26px 22px;
  border: 1px dashed var(--line-strong);
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  text-align: center;
}
.dropzone:hover, .dropzone.is-over { border-color: var(--accent); background: #fffaf7; }
.dropzone input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dz-title { font-size: 0.9rem; font-weight: 500; }
.dz-hint { font-size: 0.76rem; color: var(--muted); }
.dz-list { list-style: none; display: grid; gap: 6px; margin-top: 8px; font-size: 0.82rem; color: var(--muted); }
.dz-list li { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); padding-bottom: 5px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* upload progress */
.form-progress { margin-top: 16px; height: 3px; background: var(--line); overflow: hidden; }
.form-progress span { display: block; height: 100%; width: 0; background: var(--accent); transition: width 0.2s; }

/* header account link */
.acct-link { display: inline-flex; align-items: center; gap: 6px; font-size: 0.83rem; color: #3a444d; }
.acct-link:hover { color: var(--accent-dark); }

/* enquiry success panel */
.enquiry-done { border: 1px solid var(--line-strong); background: #fff; padding: clamp(22px, 3vw, 34px); }
.enquiry-done h2 { font-size: 1.3rem; margin-bottom: 10px; }
.enquiry-done .code { font-family: var(--f-mono); font-size: 1.4rem; letter-spacing: 0.02em; margin: 14px 0 18px; color: var(--accent-dark); }
.enquiry-done p { color: var(--muted); font-size: 0.95rem; margin-bottom: 14px; max-width: 52ch; }

/* ---------- 34. Inline link ---------- */
.link-inline { margin-top: 18px; font-size: 0.92rem; }
.link-inline a { color: var(--accent-dark); border-bottom: 1px solid rgba(255,77,28,.35); padding-bottom: 1px; }
.link-inline a:hover { border-color: var(--accent-dark); }

/* ---------- 35. Full images + hero fixes ---------- */
/* the secondary hero button sits on a dark background: give it light ink */
.hero .btn-outline { border-color: rgba(255, 255, 255, 0.34); color: #fff; }
.hero .btn-outline:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }

/* hero image keeps its own 4:3 ratio, so nothing is cropped */
.hero-media {
  aspect-ratio: 1706 / 1279;
  align-self: center;
  min-height: 0;
}

/* editorial images are shown whole: container follows the photo */
.split-media.frame,
.ph-media,
.article-media,
.aside-media,
.wide-media { aspect-ratio: auto; }

.split-media.frame img,
.ph-media img,
.article-media img,
.aside-media img,
.wide-media img {
  position: static;
  inset: auto;
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 1024px) {
  .hero-media { aspect-ratio: 4 / 3; }
}


/* =============================================================
   20. Language switcher, CJK and Cyrillic type
   Arabic keeps the RTL rules above; Chinese and Russian are LTR,
   so they only need their own stacks and a little tracking.
   ============================================================= */
:root {
  --f-cjk: "Instrument Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", -apple-system, "Segoe UI", sans-serif;
  --f-ru: "Instrument Sans", "Noto Sans", "Segoe UI", Roboto, Arial, sans-serif;
}

.lang-switch { gap: 0; padding: 0; overflow: hidden; }
.lang-switch .ico { width: 14px; height: 14px; margin-inline: 10px 7px; color: var(--muted); flex: none; }
.lang-switch a {
  display: inline-flex;
  align-items: center;
  padding: 9px 9px;
  font-size: 0.74rem;
  line-height: 1;
  letter-spacing: 0.03em;
  color: var(--muted);
  border-inline-start: 1px solid var(--line);
  transition: color 0.2s, background 0.2s;
}
.lang-switch a:first-of-type { border-inline-start: 0; }
.lang-switch a:hover { color: var(--ink); background: var(--paper-2); }
.lang-switch a.is-current { color: var(--ink); background: var(--paper-2); font-weight: 600; }

html[lang="zh-Hans"] body { font-family: var(--f-cjk); line-height: 1.8; }
html[lang="zh-Hans"] .display,
html[lang="zh-Hans"] .h1,
html[lang="zh-Hans"] .h2,
html[lang="zh-Hans"] .h3,
html[lang="zh-Hans"] .card-h,
html[lang="zh-Hans"] .brand-txt strong { letter-spacing: 0; line-height: 1.35; }
html[lang="zh-Hans"] .eyebrow,
html[lang="zh-Hans"] .stat-unit,
html[lang="zh-Hans"] .card-index,
html[lang="zh-Hans"] .post-meta,
html[lang="zh-Hans"] .table-note { letter-spacing: 0.04em; }
html[lang="zh-Hans"] .lead { line-height: 1.75; }
html[lang="zh-Hans"] p { line-height: 1.85; }

html[lang="ru"] body { font-family: var(--f-ru); line-height: 1.65; }
html[lang="ru"] .display,
html[lang="ru"] .h1 { letter-spacing: -0.01em; }
html[lang="ru"] .btn { letter-spacing: 0.01em; }

@media (max-width: 1080px) {
  .head-actions .lang-switch { display: none; }
}

@media (max-width: 1240px) {
  .lang-switch .ico { display: none; }
  .lang-switch a { padding: 9px 8px; font-size: 0.72rem; }
}

.foot-sites { font-size: 0.72rem; }
.foot-sites a { color: inherit; border-bottom: 1px solid rgba(127, 139, 150, 0.45); padding-bottom: 1px; }
.foot-sites a:hover { color: #fff; border-color: #fff; }

/* =============================================================
   21. Brand logo — raster mask, recoloured with currentColor
   ============================================================= */
.brand { flex-direction: column; align-items: flex-start; gap: 5px; }
.logo-mark {
  display: block;
  width: 96px;
  height: 29px;
  flex: none;
  background-color: currentColor;
  -webkit-mask: url("/assets/img/logo-mask.png") no-repeat left center / contain;
  mask: url("/assets/img/logo-mask.png") no-repeat left center / contain;
}
.brand-inv { color: #fff; }
.brand .brand-txt { gap: 4px; }
@media (max-width: 720px) {
  .logo-mark { width: 82px; height: 25px; }
}
