/* ==========================================================================
   济宁锐祥机电有限公司 — 单页官网
   炭黑工业风：近黑底、暖白字、黄铜色强调。纯排版，无图片、无渐变、无动画。
   ========================================================================== */

:root {
  color-scheme: dark;
  --bg: #101011;
  --bg-2: #151516;
  --bg-3: #0b0b0c;

  --ink: #ecebe7;
  --ink-2: #b3afa8;
  --mute: #8b877f;
  --faint: #6b6760;

  --rule: rgba(255, 255, 255, .14);
  --rule-2: rgba(255, 255, 255, .07);

  --acc: #c0955a;
  --acc-2: #d3aa70;

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --serif: "Songti SC", "STSong", "Source Han Serif SC", "SimSun", serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace;

  --maxw: 1180px;
  --pad: 32px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.95;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 400;
  letter-spacing: .01em;
  line-height: 1.4;
}

p { margin: 0; }
dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
table { border-collapse: collapse; }

:focus-visible { outline: 1px solid var(--acc); outline-offset: 3px; }
::selection { background: rgba(192, 149, 90, .3); }

.nowrap { white-space: nowrap; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 10px 18px;
  background: var(--acc);
  color: #16150f;
  z-index: 100;
}
.skip:focus { left: 0; }

.w {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ---------- 页头 ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(16, 16, 17, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.header__in {
  display: flex;
  align-items: center;
  gap: 44px;
  height: 82px;
}

.brand { flex: none; }
.brand__cn {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: .1em;
  line-height: 1.5;
}
.brand__en {
  display: block;
  margin-top: 3px;
  font-size: 9px;
  letter-spacing: .22em;
  color: var(--faint);
  text-transform: uppercase;
}

.menu {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: auto;
}
.menu a {
  position: relative;
  font-size: 12.5px;
  letter-spacing: .1em;
  color: var(--mute);
  padding: 3px 0;
  transition: color .2s;
}
.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--acc);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.menu a:hover { color: var(--ink); }
.menu a:hover::after { transform: scaleX(1); }

.head-tel {
  flex: none;
  padding-left: 34px;
  border-left: 1px solid var(--rule);
  display: flex;
  align-items: baseline;
  gap: 9px;
}
.head-tel span {
  font-size: 10.5px;
  letter-spacing: .12em;
  color: var(--faint);
}
.head-tel b {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: .03em;
}
.head-tel:hover b { color: var(--acc); }

.burger {
  display: none;
  width: 40px;
  height: 38px;
  border: 1px solid var(--rule);
  place-items: center;
  margin-left: auto;
}
.burger i {
  position: relative;
  display: block;
  width: 15px;
  height: 1px;
  background: var(--ink);
}
.burger i::before,
.burger i::after {
  content: "";
  position: absolute;
  left: 0;
  width: 15px;
  height: 1px;
  background: var(--ink);
  transition: transform .2s, top .2s;
}
.burger i::before { top: -5px; }
.burger i::after { top: 5px; }
body.open .burger i { background: transparent; }
body.open .burger i::before { top: 0; transform: rotate(45deg); }
body.open .burger i::after { top: 0; transform: rotate(-45deg); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 26px;
  font-size: 13.5px;
  letter-spacing: .06em;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn svg { width: 14px; height: 14px; flex: none; }

.btn--gold {
  background: var(--acc);
  color: #17160f;
  font-weight: 500;
}
.btn--gold:hover { background: var(--acc-2); }

.btn--line {
  border: 1px solid var(--rule);
  color: var(--ink);
}
.btn--line:hover { border-color: var(--acc); color: var(--acc); }

.tlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 3px;
}
.tlink svg { width: 13px; height: 13px; transition: transform .2s; }
.tlink:hover { color: var(--acc); border-bottom-color: var(--acc); }
.tlink:hover svg { transform: translateX(3px); }

/* ---------- 首屏 ---------- */
.hero { padding: 96px 0 84px; }
.hero__g {
  display: grid;
  grid-template-columns: 1fr 356px;
  gap: 88px;
  align-items: start;
}

.eb {
  font-size: 10.5px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--acc);
  margin-bottom: 30px;
}

.hero h1 {
  font-size: clamp(33px, 3.5vw, 47px);
  line-height: 1.32;
  letter-spacing: .015em;
  color: #fff;
}
.hero h1 em {
  display: block;
  margin-top: 20px;
  font-style: normal;
  font-size: .36em;
  font-weight: 400;
  letter-spacing: .12em;
  color: var(--mute);
}

.hero__lead {
  margin-top: 34px;
  max-width: 30em;
  font-size: 15px;
  line-height: 2.05;
  color: var(--ink-2);
}

.hero__act {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 38px;
}

/* 指标栏 */
.spec { border-top: 1px solid var(--rule); }
.spec > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule-2);
}
.spec span {
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--faint);
}
.spec b {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  color: #fff;
  line-height: 1.2;
}
.spec b i {
  font-family: var(--sans);
  font-style: normal;
  font-size: 11.5px;
  color: var(--mute);
  margin-left: 4px;
}
/* ---------- 区块 ---------- */
.band { padding: 76px 0; }
.band--alt { background: var(--bg-2); }
.band--line { border-top: 1px solid var(--rule); }

.shead {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rule);
}
.shead h2 { font-size: 21px; color: #fff; letter-spacing: .02em; }
.shead span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--acc);
}
.shead p {
  margin-left: auto;
  max-width: 320px;
  text-align: right;
  font-size: 12.5px;
  color: var(--mute);
}
.lead-p {
  margin-top: 26px;
  max-width: 46em;
  font-size: 13.5px;
  line-height: 2.05;
  color: var(--ink-2);
}

/* ---------- 关于 ---------- */
.about {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 72px;
  align-items: start;
  margin-top: 40px;
}
.about__body {
  max-width: 36em;
  font-size: 14.5px;
  line-height: 2.15;
}
.about__body p + p { margin-top: 18px; }
/* 英文简介块（深色版） */
.en-block {
  margin-top: 44px;
  padding-left: 20px;
  border-left: 2px solid var(--rule);
  max-width: 52em;
}
.en-block h3 {
  margin: 0 0 14px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--faint);
}
.en-block p {
  margin: 0 0 12px;
  font-size: 12.5px;
  line-height: 2;
  color: var(--ink-2);
  font-family: "Segoe UI", Arial, "Helvetica Neue", sans-serif;
}
.en-block p:last-child { margin-bottom: 0; }
.en-block b { color: var(--ink); font-weight: 500; }

.about__reg {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--rule-2);
  font-size: 11.5px;
  line-height: 2;
  letter-spacing: .02em;
  color: var(--mute);
}
.about__reg a { color: var(--ink-2); border-bottom: 1px solid var(--rule); }
.about__reg a:hover { color: var(--acc); border-bottom-color: var(--acc); }

.modes { border-top: 1px solid var(--rule); }
.modes > div {
  padding: 16px 0 18px;
  border-bottom: 1px solid var(--rule-2);
}
.modes em {
  display: block;
  font-family: var(--mono);
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: .12em;
  color: var(--acc);
  margin-bottom: 7px;
}
.modes b {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 4px;
}
.modes span { font-size: 12.5px; color: var(--mute); line-height: 1.9; }

/* 三列横排变体（软件产品用） */
.modes--g {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 44px;
}
.modes--g > div { padding: 20px 0 22px; border-bottom: 1px solid var(--rule-2); }

/* ---------- 产品 ---------- */
.prods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 56px;
  margin-top: 6px;
}
.p--wide { grid-column: 1 / -1; }
.p--wide p { max-width: 62em; }
.p {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 16px;
  padding: 24px 0 26px;
  border-bottom: 1px solid var(--rule-2);
  transition: border-color .2s;
}
.p:hover { border-bottom-color: var(--acc); }
.p em {
  font-family: var(--mono);
  font-style: normal;
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--acc);
  padding-top: 5px;
}
.p h3 {
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 7px;
  transition: color .2s;
}
.p:hover h3 { color: var(--acc-2); }
.p p { font-size: 12.8px; line-height: 1.95; color: #9e998f; }
.p u {
  display: block;
  margin-top: 10px;
  font-size: 10.5px;
  letter-spacing: .06em;
  color: var(--faint);
  text-decoration: none;
}

/* ---------- 流程 ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 6px;
}
.steps li {
  padding: 24px 22px 8px 0;
  border-right: 1px solid var(--rule-2);
}
.steps li:not(:first-child) { padding-left: 22px; }
.steps li:last-child { border-right: 0; }
.steps b {
  display: block;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--acc);
  line-height: 1.3;
}
.steps h3 {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  margin: 8px 0 6px;
}
.steps p { font-size: 12.3px; line-height: 1.9; color: var(--mute); }

/* ---------- 联系 ---------- */
.contact {
  display: grid;
  grid-template-columns: 358px 1fr;
  gap: 64px;
  align-items: start;
  margin-top: 40px;
}
.cinfo { border-top: 1px solid var(--rule); }
.cinfo > div {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 16px;
  padding: 16px 0 18px;
  border-bottom: 1px solid var(--rule-2);
}
.cinfo dt {
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--acc);
  padding-top: 4px;
}
.cinfo dd {
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.75;
  color: var(--ink);
}
.cinfo dd a:hover { color: var(--acc); }
.cinfo dd small {
  display: block;
  margin-top: 6px;
  font-size: 11.5px;
  font-weight: 400;
  color: var(--mute);
  line-height: 1.85;
}

.route {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
}
.route b {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 10px;
}
.route p {
  font-size: 12.5px;
  line-height: 1.95;
  color: var(--mute);
  margin-bottom: 14px;
}

.form {
  background: var(--bg-3);
  border: 1px solid var(--rule-2);
  padding: 30px 32px 26px;
}
.form > h2 { font-size: 19px; color: #fff; letter-spacing: .03em; }
.form > p {
  margin-top: 8px;
  font-size: 12px;
  color: var(--faint);
  line-height: 1.85;
}
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.f { margin-top: 18px; }
.f label {
  display: block;
  margin-bottom: 6px;
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--mute);
}
.f label i { font-style: normal; color: var(--acc); }
.f input,
.f select,
.f textarea {
  width: 100%;
  padding: 11px 13px;
  font: inherit;
  font-size: 13.5px;
  color: var(--ink);
  background: #171718;
  border: 1px solid var(--rule);
  border-radius: 0;
  transition: border-color .18s;
}
.f textarea { min-height: 104px; resize: vertical; line-height: 1.9; }
.f input::placeholder,
.f textarea::placeholder { color: #5d5a55; }
.f input:focus,
.f select:focus,
.f textarea:focus { outline: none; border-color: var(--acc); }
.fact {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.fnote {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--rule-2);
  font-size: 11px;
  line-height: 1.85;
  color: #6b6760;
}
.fstat { font-size: 12px; color: var(--acc); display: none; }
.fstat.on { display: block; }

/* ---------- 页脚 ---------- */
.foot {
  background: var(--bg-3);
  border-top: 1px solid var(--rule);
  padding: 50px 0 0;
}
.foot__g {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 36px;
}
.foot .brand__cn { color: var(--ink); }
.foot__p {
  margin-top: 16px;
  max-width: 33em;
  font-size: 12px;
  line-height: 2;
  color: var(--mute);
}
.foot h4 {
  margin-bottom: 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  color: var(--faint);
  text-transform: uppercase;
}
.foot li { font-size: 12px; line-height: 1.95; color: var(--mute); }
.foot li + li { margin-top: 8px; }
.foot a:hover { color: var(--acc); }
.foot__b {
  border-top: 1px solid var(--rule-2);
  padding: 16px 0 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  font-size: 10.5px;
  letter-spacing: .04em;
  color: #5d5a55;
}
.foot__b a { color: var(--mute); }
.foot__b a:hover { color: var(--acc); }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .hero__g { grid-template-columns: 1fr; gap: 44px; }
  .about { grid-template-columns: 1fr; gap: 34px; }
  .prods { gap: 0 40px; }
  .contact { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li { border-bottom: 1px solid var(--rule-2); border-right: 0; padding: 20px 0 18px !important; }
  .foot__g { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 860px) {
  :root { --pad: 20px; }
  .header__in { height: 64px; gap: 0; }
  .brand__cn { font-size: 13.5px; letter-spacing: .06em; }
  .brand__en { display: none; }
  .head-tel { display: none; }
  .burger { display: grid; }

  .menu {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    margin: 0;
    display: block;
    background: var(--bg);
    border-bottom: 1px solid var(--rule);
    padding: 4px var(--pad) 14px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  body.open .menu { opacity: 1; visibility: visible; transform: none; }
  .menu a {
    display: block;
    padding: 13px 0;
    font-size: 14px;
    color: var(--ink-2);
    border-bottom: 1px solid var(--rule-2);
  }
  .menu a::after { display: none; }

  .hero { padding: 48px 0 44px; }
  .hero h1 { font-size: 27px; }
  .hero h1 em { font-size: .42em; margin-top: 14px; }
  .hero__lead { margin-top: 26px; font-size: 14px; }
  .hero__act { margin-top: 30px; gap: 18px; }
  .btn { height: 42px; padding: 0 20px; font-size: 13px; }
  .spec b { font-size: 22px; }

  .band { padding: 48px 0; }
  .shead { flex-wrap: wrap; gap: 10px; }
  .shead h2 { font-size: 18px; }
  .shead p { margin-left: 0; text-align: left; max-width: none; flex-basis: 100%; }
  .about__body { font-size: 14px; line-height: 2.05; }
  .modes--g { grid-template-columns: 1fr; gap: 0; }
  .prods { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .reg { grid-template-columns: 1fr; }
  .rr { grid-template-columns: 104px 1fr; gap: 12px; }
  .form { padding: 24px 20px; }
  .frow { grid-template-columns: 1fr; }
  .foot__g { grid-template-columns: 1fr; }
  .cinfo dd { font-size: 14.5px; }
}
