/* ============================================================
   Zhenda Metal — global stylesheet
   Brand colors from the business card: deep blue + gold accent
   ============================================================ */
:root {
  --bg: #0b1220;
  --bg-soft: #0f1726;
  --panel: #111b2e;
  --panel-2: #14203a;
  --line: rgba(255, 255, 255, .09);
  --text: #e8eef7;
  --muted: #9fb0c8;
  --brand: #2f7dd1;
  --brand-strong: #1e6bc0;
  --brand-soft: rgba(47, 125, 209, .16);
  --gold: #d4a531;
  --gold-soft: rgba(212, 165, 49, .14);
  --ok: #34c37e;
  --radius: 16px;
  --shadow: 0 14px 34px rgba(2, 8, 20, .45);
  --maxw: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans", system-ui, -apple-system, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

img { max-width: 100%; }

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.08rem; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.mt { margin-top: 1.2rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 18, 32, .92);
  backdrop-filter: blur(9px);
  border-bottom: 1px solid var(--line);
}

.header-inner { display: flex; align-items: center; gap: 18px; min-height: 68px; }

.skip {
  position: absolute;
  inset-inline-start: -999px;
  top: 0;
  background: var(--gold);
  color: #101010;
  padding: 8px 14px;
  border-radius: 0 0 8px 0;
  z-index: 99;
}
.skip:focus { inset-inline-start: 0; }

.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand-badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--brand) 0%, var(--brand-strong) 100%);
  box-shadow: 0 6px 16px rgba(47, 125, 209, .4);
}
.brand-z {
  font-weight: 800;
  font-size: 1.5rem;
  color: #fff;
  letter-spacing: .5px;
  transform: translateY(-1px);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.22; }
.brand-text small { color: var(--muted); font-size: .72rem; }
.brand-text strong { font-size: 1.06rem; letter-spacing: .4px; }

.main-nav { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }

.nav-link {
  color: var(--muted);
  padding: 9px 13px;
  border-radius: 9px;
  font-weight: 600;
  font-size: .95rem;
}
.nav-link:hover { color: var(--text); background: var(--brand-soft); text-decoration: none; }
.nav-link.active { color: var(--text); background: var(--brand-soft); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 11px;
  padding: 10px 18px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  font-size: .95rem;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(145deg, var(--brand) 0%, var(--brand-strong) 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(47, 125, 209, .35);
}
.btn-primary:hover { box-shadow: 0 10px 24px rgba(47, 125, 209, .5); }
.btn-ghost { color: var(--text); border-color: var(--line); background: transparent; }
.btn-ghost:hover { background: var(--brand-soft); }
.btn-outline { color: var(--brand); border-color: var(--brand); background: transparent; }
.btn-outline:hover { background: var(--brand-soft); }
.btn-light { background: var(--gold); color: #17130a; }
.btn-light:hover { box-shadow: 0 10px 24px rgba(212, 165, 49, .4); }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .1); }
.btn-lg { padding: 13px 26px; font-size: 1.02rem; }
.btn-nav { margin-inline-start: 6px; padding: 9px 15px; }

.nav-toggle { display: none; }
.nav-burger { display: none; }

.lang-wrap { position: relative; }
.lang-btn {
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: .88rem;
  cursor: pointer;
  font-family: inherit;
}
.lang-btn:hover { border-color: var(--brand); }
.lang-menu {
  display: none;
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 8px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 6px;
  min-width: 150px;
  z-index: 60;
}
.lang-wrap.open .lang-menu { display: block; }
.lang-link {
  display: block;
  padding: 7px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: .9rem;
}
.lang-link:hover { background: var(--brand-soft); color: var(--text); text-decoration: none; }
.lang-link.active { color: var(--gold); background: var(--gold-soft); font-weight: 700; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 46px;
  background:
    radial-gradient(900px 420px at 85% -10%, var(--brand-soft), transparent 65%),
    radial-gradient(700px 380px at 0% 110%, var(--gold-soft), transparent 60%),
    linear-gradient(180deg, var(--bg-soft), var(--bg));
}
.hero-lite { padding: 64px 0 40px; }

.hero-decor { position: absolute; inset: 0; pointer-events: none; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: .5;
  animation: float 14s ease-in-out infinite;
}
.orb-1 { width: 320px; height: 320px; background: rgba(47, 125, 209, .5); top: -80px; inset-inline-end: -60px; }
.orb-2 { width: 220px; height: 220px; background: rgba(212, 165, 49, .35); bottom: -60px; inset-inline-start: -40px; animation-delay: -5s; }
.orb-3 { width: 160px; height: 160px; background: rgba(47, 125, 209, .3); top: 40%; inset-inline-start: 45%; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }

.badge {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold);
  border: 1px solid rgba(212, 165, 49, .35);
  font-weight: 700;
  font-size: .85rem;
  margin: 0 0 14px;
}
h1 { margin: 0 0 14px; }
.hero-sub { color: var(--muted); font-size: 1.08rem; margin: 0 0 24px; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-visual { position: relative; display: grid; place-items: center; }
.hero-card {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 360px;
  padding: 26px;
  border-radius: 20px;
  background: linear-gradient(160deg, var(--panel), var(--panel-2));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.hc-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--text);
  font-size: .86rem;
  font-weight: 600;
}
.hero-z {
  position: absolute;
  inset-inline-end: 4%;
  top: -26px;
  font-size: 6.2rem;
  font-weight: 800;
  color: transparent;
  background: linear-gradient(145deg, var(--brand), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  opacity: .25;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 42px;
  position: relative;
  z-index: 1;
}
.stat {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 16px;
  text-align: center;
}
.stat-value { display: block; font-size: 1.6rem; font-weight: 800; color: var(--gold); }
.stat-label { color: var(--muted); font-size: .9rem; }

/* ---------- sections ---------- */
.section { padding: 64px 0; }
.section.alt { background: var(--bg-soft); border-block: 1px solid var(--line); }

.eyebrow {
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-size: .82rem;
  margin: 0 0 10px;
}
.section-title { margin-bottom: 14px; }
.section-sub { color: var(--muted); max-width: 760px; margin: 0 0 34px; }

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

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(47, 125, 209, .55);
  box-shadow: var(--shadow);
}

.products-grid { margin-bottom: 26px; }
.picon, .cico-big, .qico, .aico {
  font-size: 1.7rem;
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--brand-soft);
  margin-bottom: 12px;
}
.aico { background: var(--gold-soft); }

.textlink { font-weight: 700; }

/* ---------- steps ---------- */
.steps { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  position: relative;
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--brand), var(--brand-strong));
  color: #fff;
  font-weight: 800;
  margin-bottom: 10px;
}
.step h3 { font-size: 1.02rem; }

/* ---------- product detail blocks ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chip {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: .88rem;
  font-weight: 600;
}
.chip:hover { color: var(--text); border-color: var(--brand); text-decoration: none; }

.product-block { padding: 58px 0; border-bottom: 1px solid var(--line); }
.product-block:last-of-type { border-bottom: 0; }
.pb-grid { display: grid; grid-template-columns: .55fr 1.4fr; gap: 40px; align-items: center; }
.pb-visual {
  display: grid;
  place-items: center;
  padding: 44px 20px;
  border-radius: 20px;
  background: linear-gradient(160deg, var(--panel), var(--panel-2));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.pb-icon { font-size: 4.2rem; }
.pb-copy .p-lead { color: var(--gold); font-weight: 600; margin-top: 0; }
.mini-title { margin-top: 1.2rem; font-size: .95rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1.5px; }
.checklist { list-style: none; padding: 0; margin: 0 0 14px; }
.checklist li { padding: 5px 0; position: relative; padding-inline-start: 30px; }
.checklist li::before {
  content: "✔";
  position: absolute;
  inset-inline-start: 0;
  color: var(--ok);
  font-weight: 800;
}
.apps { background: var(--gold-soft); border-radius: 10px; padding: 12px 14px; border-inline-start: 3px solid var(--gold); }

/* ---------- quality ---------- */
.alloys {
  margin-top: 26px;
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--panel);
  border: 1px dashed rgba(212, 165, 49, .45);
  color: var(--muted);
}
.alloys strong { color: var(--gold); }

/* ---------- about ---------- */
.prose p { font-size: 1.03rem; margin: 0 0 16px; }
.factory { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start; }
.factory-ico {
  font-size: 3rem;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 20px;
  background: var(--brand-soft);
  box-shadow: var(--shadow);
}

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: start; }
.info-card h2, .form-card h2 { margin-top: 0; }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: center; }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .cico {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--brand-soft);
  flex: 0 0 auto;
}
.contact-list strong { display: block; }
.contact-list .muted { display: block; font-size: .85rem; }
.contact-list a { font-weight: 600; }

.quote-form label { display: block; font-weight: 600; font-size: .92rem; margin: 14px 0 6px; }
.quote-form input, .quote-form select, .quote-form textarea {
  width: 100%;
  margin-top: 6px;
  padding: 11px 13px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--text);
  font-family: inherit;
  font-size: .95rem;
}
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}
.quote-form button { width: 100%; margin-top: 18px; }
.form-note { color: var(--muted); font-size: .85rem; margin: 10px 0 0; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 860px; }
.faq-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 12px;
  padding: 0;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 15px 18px;
  font-weight: 700;
}
.faq-item summary:hover { color: var(--brand); }
.faq-item p { padding: 0 18px 16px; margin: 0; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--brand-strong), var(--brand) 55%, #3f8fd6);
  border-block: 1px solid rgba(255, 255, 255, .12);
  padding: 46px 0;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-inner h2 { margin: 0 0 6px; color: #fff; }
.cta-inner p { margin: 0; color: rgba(255, 255, 255, .85); }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--panel);
  border-top: 1px solid var(--line);
  padding-top: 44px;
  margin-top: 0;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr; gap: 32px; }
.footer-grid h3 { font-size: .95rem; color: var(--gold); margin-bottom: 12px; }
.footer-grid a { display: block; color: var(--muted); padding: 4px 0; }
.footer-grid a:hover { color: var(--text); }
.footer-grid p { color: var(--muted); font-size: .92rem; }
.footer-brand .brand { margin-bottom: 10px; }
.footer-contact { line-height: 1.9; }
.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: 34px;
  padding: 18px 0;
  font-size: .88rem;
  color: var(--muted);
}

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pb-grid { grid-template-columns: 1fr; }
  .pb-visual { padding: 30px 16px; }
}

@media (max-width: 860px) {
  .nav-burger { display: block; }
  .nav-burger span {
    display: block;
    height: 2px;
    background: var(--text);
    margin: 5px 0;
    border-radius: 2px;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    inset-inline: 0;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 22px 18px;
    gap: 2px;
  }
  .nav-toggle:checked ~ .main-nav { display: flex; }
  .main-nav .btn-nav { margin: 10px 0 6px; }
  .main-nav .nav-link { padding: 12px 10px; }
  .lang-wrap { margin-inline-start: auto; }

  .contact-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }
  .factory { grid-template-columns: 1fr; }
  .factory-ico { display: none; }
}

@media (max-width: 560px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  h1 { font-size: 1.7rem; }
  .hero { padding-top: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orb { animation: none; }
  .card:hover { transform: none; }
}
