:root {
  --red: #e6212a;
  --red-dark: #b81720;
  --red-soft: #fdecee;
  --ink: #1a1a1a;
  --muted: #666;
  --line: #e5e5e5;
  --bg: #f7f7f7;
  --white: #fff;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: var(--ink); line-height: 1.6; background: var(--white); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* header */
header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: .5px; }
.logo-img { height: 30px; width: auto; display: block; }
.logo-mark { width: 30px; height: 30px; background: var(--red); border-radius: 4px; display: grid; place-items: center; color: #fff; font-size: 13px; font-weight: 800; }
.logo small { display: block; font-size: 9px; color: var(--muted); font-weight: 500; letter-spacing: 2px; }
.nav-links { display: flex; gap: 30px; align-items: center; font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: var(--red); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border-radius: 5px; font-size: 14px; font-weight: 600; border: 0; cursor: pointer; transition: .2s; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-outline { background: transparent; border: 1.5px solid var(--red); color: var(--red); }
.btn-outline:hover { background: var(--red); color: #fff; }
.lang { font-size: 12px; color: var(--muted); border: 1px solid var(--line); padding: 5px 10px; border-radius: 4px; }
.menu-toggle { display: none; background: none; border: 0; font-size: 24px; cursor: pointer; }

/* hero */
.hero { background: linear-gradient(120deg, #fff 55%, #f2f4f8 100%); padding: 80px 0 70px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.eyebrow { color: var(--red); font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px; }
h1 { font-size: 50px; line-height: 1.15; letter-spacing: -1px; margin-bottom: 20px; }
h1 span { color: var(--red); }
.hero p.lead { font-size: 17px; color: var(--muted); margin-bottom: 28px; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-img { background: #fff; border-radius: 12px; padding: 20px; box-shadow: 0 20px 50px rgba(0,0,0,.07); }
.hero-stats { display: flex; gap: 40px; margin-top: 42px; padding-top: 28px; border-top: 1px solid var(--line); }
.stat b { display: block; font-size: 28px; color: var(--red); line-height: 1.2; }
.stat span { font-size: 12px; color: var(--muted); }

/* sections */
section { padding: 80px 0; }
section.alt { background: var(--bg); }
.sec-head { margin-bottom: 40px; }
.sec-head h2 { font-size: 34px; letter-spacing: -.5px; margin-bottom: 10px; }
.sec-head p { color: var(--muted); max-width: 640px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.grid-5 { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.card-img { height: 200px; background: #f4f6f9; display: flex; align-items: center; justify-content: center; padding: 8px; overflow: hidden; }
.card-img img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.card-body { padding: 22px; }
.card-body h3 { font-size: 17px; margin-bottom: 6px; }
.card-body .meta { font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.card-body .price { font-size: 15px; font-weight: 700; color: var(--red); margin-bottom: 16px; }
.card-body .btn { width: 100%; padding: 10px; }
.feature { background: #fff; padding: 30px; border-radius: 10px; border: 1px solid var(--line); }
.feature .ico { width: 44px; height: 44px; background: var(--red-soft); color: var(--red); border-radius: 8px; display: grid; place-items: center; font-size: 20px; font-weight: 700; margin-bottom: 18px; }
.feature h3 { font-size: 17px; margin-bottom: 8px; }
.feature p { font-size: 14px; color: var(--muted); }
.steps { counter-reset: step; }
.step { position: relative; padding-left: 62px; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 0; width: 44px; height: 44px; background: var(--red); color: #fff; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--muted); }

/* catalog */
.catalog-card { display: flex; gap: 22px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 18px; }
.catalog-card img { width: 130px; height: 165px; object-fit: cover; border: 1px solid var(--line); border-radius: 4px; }
.catalog-card h3 { font-size: 18px; margin-bottom: 6px; }
.catalog-card p { font-size: 13px; color: var(--muted); margin-bottom: 14px; }

/* cta band */
.cta { background: var(--red); color: #fff; padding: 60px 0; text-align: center; }
.cta h2 { font-size: 34px; margin-bottom: 14px; }
.cta p { opacity: .9; margin-bottom: 26px; }
.cta .btn-white { background: #fff; color: var(--red); }

/* form */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 36px; box-shadow: 0 12px 40px rgba(0,0,0,.05); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; }
input, select, textarea { width: 100%; padding: 12px 14px; border: 1px solid #d5d5d5; border-radius: 5px; font-size: 14px; font-family: inherit; background: #fff; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(230,33,42,.10); }
textarea { min-height: 110px; resize: vertical; }
.form-note { font-size: 12px; color: var(--muted); margin-top: 14px; }
.form-msg { margin-top: 16px; padding: 12px 14px; border-radius: 5px; font-size: 14px; display: none; }
.form-msg.ok { background: #eaf7ee; color: #1a7a37; }
.form-msg.err { background: var(--red-soft); color: var(--red-dark); }

/* faq */
.faq-item { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq-item h3 { font-size: 16px; margin-bottom: 6px; }
.faq-item p { font-size: 14px; color: var(--muted); }

/* filter bar */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.filter-bar button { padding: 9px 18px; border: 1px solid var(--line); background: #fff; border-radius: 20px; font-size: 13px; cursor: pointer; }
.filter-bar button.active { background: var(--red); color: #fff; border-color: var(--red); }

/* footer */
footer { background: #141414; color: #ccc; padding: 60px 0 24px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 40px; margin-bottom: 40px; }
footer h4 { color: #fff; font-size: 14px; margin-bottom: 16px; }
footer a { display: block; margin-bottom: 9px; color: #aaa; }
footer a:hover { color: #fff; }
footer .logo { color: #fff; margin-bottom: 14px; }
.foot-bottom { border-top: 1px solid #333; padding-top: 20px; font-size: 12px; color: #888; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.float-stack { position: fixed; right: 24px; bottom: 24px; z-index: 60; display: flex; flex-direction: column; gap: 12px; }
.float-btn { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.22); transition: transform .2s, box-shadow .2s; }
.float-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(0,0,0,.28); }
.float-btn svg { width: 26px; height: 26px; fill: currentColor; }
.float-wa { background: #25d366; }
.float-mail { background: var(--red); }
.float-mail svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ============ 响应式：桌面 / 平板 / 手机 ============ */

/* 平板：≤1024px */
@media (max-width: 1024px) {
  .wrap { padding: 0 20px; }
  .hero { padding: 60px 0 54px; }
  .hero-grid { gap: 30px; }
  h1 { font-size: 42px; }
  .hero p.lead { font-size: 16px; }
  section { padding: 64px 0; }
  .sec-head h2 { font-size: 30px; }
  .foot-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}

/* 窄平板/大手机：≤900px — 导航折叠 */
@media (max-width: 900px) {
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 20px 24px; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(0,0,0,.08); }
  .nav-links.open { display: flex; }
  .menu-toggle { display: block; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-img { max-width: 560px; }
  .form-grid .full { grid-column: 1 / -1; }
}

/* 手机：≤600px */
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .nav { height: 64px; }
  .logo { font-size: 16px; }
  .logo-mark { width: 27px; height: 27px; font-size: 12px; }
  .nav-links { top: 64px; padding: 16px 20px; }
  .nav .btn-red { padding: 10px 16px; font-size: 13px; }
  .lang { display: none; }

  .hero { padding: 44px 0 36px; }
  h1 { font-size: 32px; letter-spacing: -.5px; }
  .eyebrow { font-size: 11px; margin-bottom: 12px; }
  .hero p.lead { font-size: 15px; margin-bottom: 22px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-img { padding: 12px; }
  .hero-stats { gap: 16px; margin-top: 30px; padding-top: 20px; }
  .stat b { font-size: 23px; }
  .stat span { font-size: 11px; }

  section { padding: 48px 0; }
  .sec-head { margin-bottom: 26px; }
  .sec-head h2 { font-size: 26px; }
  .grid-3, .grid-2, .grid-4, .grid-5 { grid-template-columns: 1fr; gap: 16px; }
  .card-img { height: 170px; }
  .card-body { padding: 18px; }
  .feature { padding: 24px; }
  .step { padding-left: 54px; }
  .step::before { width: 40px; height: 40px; font-size: 13px; }

  .catalog-card { flex-direction: column; align-items: flex-start; gap: 14px; }
  .catalog-card img { width: 100%; height: auto; max-height: 220px; object-fit: contain; }

  .cta { padding: 44px 0; }
  .cta h2 { font-size: 26px; }

  .form-card { padding: 22px; }
  .form-grid { grid-template-columns: 1fr; gap: 14px; }
  .form-grid .full { grid-column: auto; }

  footer { padding: 44px 0 20px; }
  .foot-grid { grid-template-columns: 1fr; gap: 26px; }
  .float-stack { right: 16px; bottom: 16px; gap: 10px; }
  .float-btn { width: 48px; height: 48px; }
  .float-btn svg { width: 23px; height: 23px; }
}
