/* TOVEX — shared industrial procurement shell (light)
   Inspired by clean B2B desks (CK / LO vibe) — not a copy. */

:root {
  --bg: #f4f6f9;
  --bg-white: #ffffff;
  --bg-tint: #eef2f7;
  --bg-deep: #1a2740;
  --bg-deep-2: #243552;
  --text: #1a2332;
  --muted: #5c677a;
  --line: #d8dee8;
  --line-soft: #e8edf4;
  --accent: #1e3a5f;
  --accent-hover: #152a45;
  --gold: #c9a227;
  --gold-soft: rgba(201, 162, 39, 0.12);
  --gold-line: rgba(201, 162, 39, 0.45);
  --radius: 12px;
  --max: 1120px;
  --font: "Segoe UI", system-ui, -apple-system, "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --shadow: 0 1px 2px rgba(26, 35, 50, 0.04), 0 8px 24px rgba(26, 35, 50, 0.06);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  padding-top: 64px; /* space for fixed header — keeps nav at top only */
}
html, body {
  overflow-x: hidden;
  max-width: 100%;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.muted { color: var(--muted); }
.gold { color: var(--gold); }
.accent { color: var(--accent); }
[data-lang] { display: none; }
html[lang="en"] [data-lang="en"],
html[lang="zh"] [data-lang="zh"],
html[lang="ru"] [data-lang="ru"] { display: contents; }

/* —— Nav (fixed to viewport top — never sinks into contact/RFQ) —— */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  width: 100%;
  max-width: 100vw;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line-soft);
  transform: none; /* avoid containing-block bugs */
}
.nav-inner {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.7rem 0; min-height: 64px;
}
.brand {
  display: flex; align-items: center; gap: 0.65rem;
  font-weight: 800; letter-spacing: 0.08em; font-size: 1.05rem;
  color: var(--accent);
}
.brand-logo {
  width: 42px; height: 42px; object-fit: cover;
  border-radius: 8px; flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(26, 35, 50, 0.08);
}
.nav-links {
  display: flex; align-items: center; gap: 1.15rem;
  list-style: none; font-size: 0.92rem; color: var(--muted);
}
.nav-links a:hover { color: var(--accent); }
.lang-toggle {
  display: inline-flex; border: 1px solid var(--line);
  border-radius: 999px; overflow: hidden; font-size: 0.78rem; font-weight: 700;
  background: var(--bg-white);
}
.lang-toggle button {
  border: 0; background: transparent; color: var(--muted);
  padding: 0.35rem 0.7rem; cursor: pointer; font: inherit;
}
.lang-toggle button.active {
  background: var(--accent); color: #fff;
}
.nav-cta {
  display: inline-flex; align-items: center;
  background: var(--accent); color: #fff;
  font-weight: 800; font-size: 0.88rem;
  padding: 0.55rem 1rem; border-radius: 999px;
}
.nav-cta:hover { background: var(--accent-hover); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line);
  color: var(--accent); width: 42px; height: 42px; border-radius: 10px;
  font-size: 1.25rem; cursor: pointer;
}

/* —— Buttons —— */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  font-weight: 800; font-size: 0.98rem; padding: 0.9rem 1.4rem;
  border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost {
  background: var(--bg-white); color: var(--accent);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--accent); }
.btn-gold {
  background: var(--gold); color: #1a1408;
}
.btn-gold:hover { filter: brightness(1.05); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* —— Hero —— */
.hero {
  position: relative;
  padding: 4rem 0 3.5rem;
  overflow: clip; /* clip decoration only; do not create sticky/fixed traps */
  background:
    linear-gradient(135deg, #f8fafc 0%, #eef3f9 45%, #e8eef6 100%);
  border-bottom: 1px solid var(--line-soft);
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 50% at 88% 18%, rgba(30, 58, 95, 0.08), transparent 60%),
    radial-gradient(ellipse 40% 35% at 8% 90%, rgba(201, 162, 39, 0.1), transparent 55%);
  pointer-events: none;
}
.hero .wrap, .hero-grid { position: relative; z-index: 1; }
.hero-grid {
  display: grid; grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem; align-items: center;
}
.eyebrow {
  display: inline-block; color: var(--accent); font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.76rem;
  margin-bottom: 0.9rem;
}
.hero h1 {
  font-size: clamp(2.15rem, 4.6vw, 3.25rem);
  line-height: 1.12; font-weight: 850; letter-spacing: -0.025em;
  margin-bottom: 1rem; color: var(--text); max-width: 16ch;
}
.hero-lead {
  font-size: 1.12rem; color: var(--muted); max-width: 42ch;
  margin-bottom: 1.6rem;
}
.hero-tag {
  display: inline-block; margin-bottom: 1.15rem;
  padding: 0.4rem 0.85rem; border-radius: 999px;
  border: 1px solid var(--gold-line); background: var(--gold-soft);
  font-size: 0.86rem; font-weight: 700; color: #8a7018;
}
.hero-meta {
  margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: 0.85rem 1.4rem;
  color: var(--muted); font-size: 0.9rem;
}
.hero-meta strong { color: var(--text); font-weight: 700; }
.hero-panel {
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  padding: 1.35rem 1.25rem;
}
.hero-panel h3 {
  font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 0.85rem; font-weight: 800;
}
.hero-lanes { display: grid; gap: 0.55rem; }
.hero-lane {
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.75rem; padding: 0.75rem 0.9rem;
  border-radius: 10px; border: 1px solid var(--line-soft);
  background: var(--bg-tint); font-weight: 700; font-size: 0.92rem;
  color: var(--text);
}
.hero-lane:hover { border-color: var(--accent); color: var(--accent); }
.hero-lane span.go { color: var(--accent); font-size: 0.85rem; }

/* —— Sections —— */
section { padding: 3.75rem 0; border-bottom: 1px solid var(--line-soft); }
section.band-white { background: var(--bg-white); }
section.band-tint { background: var(--bg-tint); }
section.band-deep {
  background: linear-gradient(160deg, var(--bg-deep) 0%, var(--bg-deep-2) 100%);
  color: #f2f5f9;
  border-bottom: 0;
}
section.band-deep .section-head p,
section.band-deep .muted { color: rgba(242, 245, 249, 0.72); }
section.band-deep h2 { color: #fff; }
.section-head { margin-bottom: 2rem; max-width: 42rem; }
.section-head h2 {
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  font-weight: 850; letter-spacing: -0.02em; margin-bottom: 0.6rem;
}
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* —— Pillars / service cards —— */
.pillars {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem;
}
.pillar {
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.55rem 1.35rem 1.4rem;
  box-shadow: var(--shadow);
  position: relative;
  display: flex; flex-direction: column;
}
.pillar::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), #3d5a80 60%, var(--gold));
  border-radius: var(--radius) var(--radius) 0 0;
}
.pillar-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--bg-tint); border: 1px solid var(--line);
  display: grid; place-items: center; margin-bottom: 1rem;
  color: var(--accent); font-size: 0.85rem; font-weight: 800;
  letter-spacing: 0.04em;
}
.pillar h3 { font-size: 1.28rem; font-weight: 800; margin-bottom: 0.5rem; }
.pillar > p { color: var(--muted); font-size: 0.96rem; flex-grow: 0; }
.pillar ul {
  margin-top: 1rem; padding-left: 1.1rem; color: var(--text);
  font-size: 0.92rem; flex-grow: 1;
}
.pillar li { margin-bottom: 0.35rem; }
.pillar li::marker { color: var(--accent); }
.pillar-cta {
  display: inline-flex; margin-top: 1.1rem; font-weight: 800; font-size: 0.9rem;
  color: var(--accent); border-bottom: 1px solid transparent;
}
.pillar-cta:hover { border-bottom-color: var(--accent); }

/* —— Numbered steps —— */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.step {
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.15rem;
  min-height: 148px;
  box-shadow: 0 1px 2px rgba(26, 35, 50, 0.03);
}
.step-num {
  font-size: 0.76rem; font-weight: 800; letter-spacing: 0.12em;
  color: var(--accent); margin-bottom: 0.5rem;
}
.step h3 { font-size: 1.08rem; font-weight: 800; margin-bottom: 0.35rem; }
.step p { color: var(--muted); font-size: 0.9rem; }

/* —— Cap / specialty grids —— */
.cap-grid, .specialty-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.cap, .specialty {
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.15rem;
  box-shadow: 0 1px 2px rgba(26, 35, 50, 0.03);
}
.cap h3 { font-size: 1.08rem; font-weight: 800; margin-bottom: 0.4rem; color: var(--accent); }
.cap p, .specialty p { color: var(--muted); font-size: 0.92rem; }
.specialty::before {
  content: "";
  display: block; width: 28px; height: 3px; margin-bottom: 0.8rem;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  border-radius: 2px;
}
.specialty h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 0.35rem; }
.specialty-note, .official-note, .notice-box, .rfq-hint {
  margin-top: 1.2rem; padding: 0.95rem 1.1rem;
  border-radius: 10px; border: 1px solid var(--line);
  background: var(--bg-white); font-size: 0.92rem; color: var(--muted);
}
.official-note, .rfq-hint, .notice-box {
  background: var(--gold-soft); border-color: var(--gold-line);
}
.official-note strong, .rfq-hint strong, .specialty-note strong { color: var(--text); }
.notice-box a, .official-note a, .visa-card a { color: var(--accent); text-decoration: underline; word-break: break-all; }

/* —— Visa —— */
.visa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.visa-card {
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.2rem;
}
.visa-card h3 {
  font-size: 1.08rem; font-weight: 800; margin-bottom: 0.5rem; color: var(--accent);
}
.visa-card p, .visa-card li { color: var(--muted); font-size: 0.94rem; }
.visa-card ul { margin: 0.55rem 0 0.75rem 1.1rem; }
.visa-card li { margin-bottom: 0.3rem; }

/* —— Disclaimer —— */
.disclaimer-box {
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  box-shadow: var(--shadow);
}
.disclaimer-box h2 { font-size: 1.3rem; margin-bottom: 0.7rem; }
.disclaimer-box h3 { font-size: 1.05rem; margin: 1rem 0 0.45rem; color: var(--accent); }
.disclaimer-box p { color: var(--muted); margin-bottom: 0.55rem; }
.disclaimer-box ul { margin: 0.45rem 0 0 1.15rem; color: var(--muted); }
.disclaimer-box li { margin-bottom: 0.3rem; }

/* —— Regions strip —— */
.regions {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.85rem;
}
.region {
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1rem;
  text-align: left;
}
.region strong { display: block; font-size: 1rem; margin-bottom: 0.25rem; }
.region span { color: var(--muted); font-size: 0.88rem; }

/* —— Contact —— */
.contact-panel {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 1.5rem;
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 2rem 1.7rem;
  box-shadow: var(--shadow);
  align-items: start;
}
.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  min-width: 0;
}
.contact-panel h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 0.55rem; }
.contact-panel .lead { color: var(--muted); margin-bottom: 1.15rem; max-width: 40ch; }
.contact-cards { display: grid; gap: 0.7rem; }
.contact-card {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: var(--bg-tint); border: 1px solid var(--line);
  border-radius: 10px; padding: 0.95rem 1.05rem;
}
.contact-card:hover { border-color: var(--accent); }
.contact-card .label { color: var(--muted); font-size: 0.8rem; margin-bottom: 0.1rem; }
.contact-card .value { font-weight: 800; font-size: 1.02rem; }
.contact-card .go { color: var(--accent); font-weight: 800; font-size: 0.88rem; white-space: nowrap; }
.rfq-lanes {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.65rem;
  margin: 0.9rem 0 0.2rem;
}
.rfq-lane {
  display: flex; flex-direction: column; gap: 0.2rem;
  background: var(--bg-tint); border: 1px solid var(--line);
  border-radius: 10px; padding: 0.85rem 0.95rem;
  transition: border-color .15s ease, transform .15s ease;
}
.rfq-lane:hover { border-color: var(--accent); transform: translateY(-1px); }
.rfq-lane .lane-title { font-weight: 800; font-size: 0.92rem; color: var(--accent); }
.rfq-lane .lane-sub { font-size: 0.76rem; color: var(--muted); }

/* CTA band */
.cta-band {
  padding: 3rem 0;
  background: linear-gradient(135deg, var(--bg-deep) 0%, #2a4060 100%);
  color: #fff;
  text-align: center;
}
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 0.55rem; }
.cta-band p { color: rgba(255,255,255,0.75); margin-bottom: 1.25rem; max-width: 36rem; margin-inline: auto; }
.cta-band .btn-ghost {
  background: transparent; color: #fff; border-color: rgba(255,255,255,0.35);
}
.cta-band .btn-ghost:hover { border-color: #fff; }

/* —— Footer —— */
footer {
  padding: 2.1rem 0 2.5rem;
  color: var(--muted); font-size: 0.88rem;
  background: var(--bg-white);
  border-top: 1px solid var(--line-soft);
}
.footer-inner {
  display: flex; flex-wrap: wrap; gap: 1rem 2rem;
  justify-content: space-between; align-items: flex-start;
}
.footer-brand { font-weight: 800; color: var(--text); letter-spacing: 0.08em; margin-bottom: 0.3rem; }
.disclaimer { max-width: 36rem; line-height: 1.5; }
footer a { color: var(--accent); }

/* —— Responsive —— */
@media (max-width: 900px) {
  .hero-grid, .pillars, .pillars-featured, .pillars-more, .steps, .contact-panel, .rfq-lanes,
  .visa-grid, .cap-grid, .specialty-grid, .regions {
    grid-template-columns: 1fr;
  }
  .contact-aside { order: 2; }

  .nav-links { display: none; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; align-items: flex-start;
    position: fixed;
    left: 0; right: 0;
    top: 64px;
    z-index: 1001;
    max-height: calc(100dvh - 64px);
    overflow-y: auto;
    background: rgba(255,255,255,0.99);
    padding: 1rem 1.25rem 1.25rem;
    border-bottom: 1px solid var(--line);
    gap: 0.85rem;
    box-shadow: 0 12px 24px rgba(26, 35, 50, 0.08);
  }
  .nav-toggle { display: inline-grid; place-items: center; }
  .nav-cta { display: none; }
  .hero { padding-top: 2.75rem; }
  .hero h1 { max-width: none; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .specialty-grid, .regions { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
}

/* —— Trust / credentials strip (placeholder slots) —— */
.trust-strip {
  padding: 1.75rem 0 1.9rem;
  background: var(--bg-white);
  border-bottom: 1px solid var(--line-soft);
}
.trust-strip .trust-inner {
  display: grid;
  grid-template-columns: minmax(180px, 0.85fr) 1.4fr;
  gap: 1.5rem;
  align-items: center;
}
.trust-copy h2 {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 0.35rem;
  color: var(--text);
}
.trust-copy p {
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 36ch;
}
.trust-copy .slot-note {
  display: inline-block;
  margin-top: 0.45rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8a7018;
  background: var(--gold-soft);
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
}
.trust-slots {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.55rem;
}
.trust-slot {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-tint);
}
.trust-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.trust-slot figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0.25rem 0.35rem;
  font-size: 0.62rem;
  font-weight: 700;
  text-align: center;
  color: var(--muted);
  background: rgba(255,255,255,0.88);
  border-top: 1px solid var(--line-soft);
}

/* —— Pillar media (lane photos) —— */
.pillar-media {
  position: relative;
  margin: -0.15rem -0.15rem 1rem;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--bg-tint);
  aspect-ratio: 16 / 9;
}
.pillar-media > img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.pillar-logo {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(26, 35, 50, 0.18);
  z-index: 2;
  background: rgba(255,255,255,0.95);
}
.pillar-media .ph-badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8a7018;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
}
.pillars-featured { margin-bottom: 0.25rem; }
.more-lines-head {
  margin: 2.25rem 0 1.1rem;
  max-width: 40rem;
}
.more-lines-head h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.25rem;
}
.pillars-more {
  grid-template-columns: repeat(3, 1fr);
  max-width: none;
}
.pillar-compact .pillar-media { aspect-ratio: 16 / 9; }
.pillar-compact ul { margin-top: 0.75rem; }

/* —— Capability / project gallery (16:9 landscape cards) —— */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-grid-wide {
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-white);
  box-shadow: 0 1px 2px rgba(26, 35, 50, 0.03);
  display: flex;
  flex-direction: column;
}
.gallery-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-tint);
}
.gallery-frame img,
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  background: var(--bg-tint);
}
.gallery-item .gallery-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.75rem 0.95rem;
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--text);
  border-top: 1px solid var(--line-soft);
}
.gallery-item .gallery-label span.tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

/* —— Care scene strip —— */
.scene-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.scene-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-white);
  box-shadow: 0 1px 2px rgba(26, 35, 50, 0.03);
}
.scene-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--bg-tint);
}
.scene-card .scene-caption {
  padding: 0.85rem 1rem 1rem;
}
.scene-card .scene-caption h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
  color: var(--accent);
}
.scene-card .scene-caption p {
  color: var(--muted);
  font-size: 0.88rem;
}
.scene-card .ph-badge {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8a7018;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
}

@media (max-width: 900px) {
  .trust-strip .trust-inner { grid-template-columns: 1fr; }
  .trust-slots { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid, .gallery-grid-wide, .scene-grid { grid-template-columns: 1fr; }
  .pillars-more { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .trust-slots { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid, .gallery-grid-wide, .scene-grid { grid-template-columns: 1fr; }
  .pillar-logo { width: 36px; height: 36px; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .trust-slots { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid, .gallery-grid-wide { grid-template-columns: repeat(2, 1fr); }
  .pillars-more { grid-template-columns: repeat(3, 1fr); max-width: none; }
}

/* —— Hero banner photo —— */
.hero-visual { margin-top: 2rem; }
.hero-banner {
  margin: 0;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--bg-tint);
}
.hero-banner img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.care-hero-banner { max-width: 960px; }
.trust-slot-pending { opacity: 0.85; }
.trust-slot-pending figcaption { color: #8a7018; }
.trust-slot-live img { object-fit: cover; object-position: top center; }
.trust-slots-mixed .trust-slot:nth-child(-n+5) img { object-fit: contain; background: #f7f8fb; }
.gallery-grid-8 { grid-template-columns: repeat(4, 1fr); }
.gallery-item-pending { opacity: 0.92; }
.gallery-item-pending .tag { color: #8a7018; }
@media (max-width: 1100px) {
  .gallery-grid-8 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .gallery-grid-8 { grid-template-columns: 1fr; }
}


/* —— Contact QR cards —— */
.qr-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 0;
}
.contact-aside .qr-row { margin-bottom: 0; }
.qr-card {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 0.75rem 0.95rem;
  text-align: center;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.qr-card img {
  display: block;
  width: min(100%, 220px);
  min-width: 160px;
  height: auto;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  border-radius: 8px;
  background: #fff;
}
.qr-card .qr-label {
  margin-top: 0.55rem;
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--text);
  letter-spacing: 0.01em;
}
@media (max-width: 520px) {
  .qr-row { grid-template-columns: 1fr 1fr; gap: 0.65rem; }
  .qr-card { padding: 0.65rem 0.45rem 0.75rem; }
  .qr-card img { min-width: 160px; width: 100%; }
  .qr-card .qr-label { font-size: 0.78rem; }
}

/* legacy gallery-10 alias → wide 16:9 */
.gallery-grid-10 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) {
  .gallery-grid-10 { grid-template-columns: 1fr; }
}

.rfq-lanes-5 { grid-template-columns: repeat(3, 1fr); }
.rfq-lanes-6 { grid-template-columns: repeat(3, 1fr); }
@media (min-width: 901px) {
  .rfq-lanes-5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .rfq-lanes-5 { grid-template-columns: 1fr; }
  .rfq-lanes-6 { grid-template-columns: 1fr; }
}

/* Mixed gallery: 16:9 + 1:1 — no tall strips */
.gallery-grid-mixed {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}
.gallery-frame.ratio-16x9 { aspect-ratio: 16 / 9; }
.gallery-frame.ratio-1x1 { aspect-ratio: 1 / 1; }
.gallery-grid-mixed .gallery-sq {
  /* square cards sit in same 2-col grid; frame enforces 1:1 */
}
@media (min-width: 901px) {
  .gallery-grid-mixed {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 900px) {
  .gallery-grid-mixed { grid-template-columns: 1fr; }
}
/* Official service cards already include logo — no extra badge needed */
.pillar-media .pillar-logo { display: none; }

/* Category gallery: 2×2 on desktop, all 16:9 cover (logo baked in images) */
.gallery-grid-cats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}
@media (max-width: 900px) {
  .gallery-grid-cats { grid-template-columns: 1fr; }
}

/* X link */
.x-link { display:inline-flex; align-items:center; gap:0.35rem; color: var(--text); }
.x-link:hover { color: var(--accent); }
.x-link svg { vertical-align: middle; }


/* —— Title wrap polish —— */
h1, h2 {
  text-wrap: balance;
}
html[lang="zh"] h1,
html[lang="zh"] h2 {
  line-break: strict;
  word-break: keep-all;
}
/* Scene cards: clean photo cover */
.scene-card img {
  object-position: center center;
}
.care-hero-banner img {
  object-fit: cover;
  object-position: center center;
}
