/* Shuntai nonwoven site stylesheet */
:root {
  --ink: #0b1f33;
  --body: #35485c;
  --muted: #6a7c8f;
  --line: #e0e7ef;
  --line-strong: #cbd6e2;
  --bg: #ffffff;
  --soft: #f5f8fb;
  --soft-2: #eef3f8;
  --brand: #0d4f86;
  --brand-dark: #093a63;
  --brand-2: #0f7f8c;
  --accent: #e8a33d;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 12px 30px rgba(11, 31, 51, .09);
  --shadow-sm: 0 4px 14px rgba(11, 31, 51, .07);
  --wrap: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.015em; }
h1 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 750; }
h2 { font-size: clamp(1.5rem, 2.5vw, 2.15rem); font-weight: 700; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.wrap-narrow { max-width: 860px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 14px; z-index: 99; border-radius: 6px; }

/* ---------- top bar ---------- */
.topbar { background: var(--ink); color: #cfdae6; font-size: 13.5px; }
.topbar-in { display: flex; justify-content: space-between; gap: 16px; padding: 8px 22px; flex-wrap: wrap; }
.topbar a { color: #eaf1f8; }
.topbar-links { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.topbar-sep { opacity: .35; }
.topbar-note { opacity: .8; }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .97); backdrop-filter: saturate(180%) blur(8px); border-bottom: 1px solid var(--line); }
.head-in { display: flex; align-items: center; gap: 22px; min-height: 74px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff;
  font-weight: 800; font-size: 20px; letter-spacing: -.03em;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { color: var(--ink); font-size: 20px; letter-spacing: -.02em; }
.brand-text em { color: var(--muted); font-style: normal; font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-item { position: relative; }
.nav-item > a { display: block; padding: 10px 12px; color: var(--ink); font-weight: 600; font-size: 15px; border-radius: 8px; }
.nav-item > a:hover { background: var(--soft-2); text-decoration: none; }
.nav-item > a.is-active { color: var(--brand); background: var(--soft-2); }
.nav-drop {
  position: absolute; top: 100%; left: 0; min-width: 260px; background: #fff;
  border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
  padding: 8px; display: none; flex-direction: column; gap: 2px;
}
.nav-item:hover .nav-drop, .nav-item:focus-within .nav-drop { display: flex; }
.nav-drop a { padding: 9px 12px; border-radius: 8px; color: var(--body); font-size: 14.5px; }
.nav-drop a:hover { background: var(--soft-2); text-decoration: none; color: var(--brand); }
.nav-cta { margin-left: 12px; }
.nav-toggle { display: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 10px; font-weight: 650; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: .18s ease; text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 18px rgba(13, 79, 134, .22); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { background: #eef4fa; }
.btn-ghost-light { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .18); }
.btn-lg { padding: 14px 26px; font-size: 16px; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; }
.link-arrow::after { content: "→"; transition: transform .18s ease; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: clamp(440px, 72vh, 600px); display: flex; align-items: center; overflow: hidden; background: var(--ink); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .78; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(92deg, rgba(4, 16, 28, .96) 0%, rgba(4, 16, 28, .88) 42%, rgba(4, 16, 28, .45) 72%, rgba(4, 16, 28, .25) 100%);
}
.hero-in { position: relative; padding: 44px 22px; color: #fff; }
.hero-in > * { max-width: 760px; }
.hero h1 { color: #fff; max-width: 24ch; text-wrap: balance; }
.hero .lead { color: #dde8f2; font-size: clamp(1rem, 1.3vw, 1.12rem); max-width: 58ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0 16px; }
.hero-points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: #b9cbdc; font-size: 14px; }
.hero-points li { position: relative; padding-left: 20px; }
.hero-points li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 9px; height: 9px;
  border-radius: 50%; background: var(--accent);
}

/* page hero */
.page-hero { position: relative; min-height: 380px; display: flex; align-items: flex-end; overflow: hidden; background: var(--ink); }
.page-hero-compact { min-height: 280px; }
.page-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .72; }
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(6, 20, 34, .9) 0%, rgba(6, 20, 34, .72) 45%, rgba(6, 20, 34, .34) 100%); }
.page-hero-in { position: relative; padding: 52px 22px 40px; color: #fff; }
.page-hero-in > * { max-width: 780px; }
.page-hero h1 { color: #fff; max-width: 22ch; }
.page-hero .lead { color: #d7e3ee; max-width: 66ch; margin-bottom: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: #9fb3c6; margin-bottom: 14px; }
.crumbs a { color: #cfdcea; }
.crumbs i { font-style: normal; opacity: .5; margin-left: 6px; }

.eyebrow {
  text-transform: uppercase; letter-spacing: .14em; font-size: 11.5px; font-weight: 700;
  color: var(--brand-2); margin: 0 0 10px;
}
.eyebrow-light { color: var(--accent); }

/* ---------- strip ---------- */
.strip { background: var(--ink); color: #fff; }
.strip-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255, 255, 255, .12); }
.strip-in > div { background: var(--ink); padding: 22px 18px; display: flex; flex-direction: column; gap: 3px; }
.strip-in strong { font-size: 20px; color: #fff; letter-spacing: -.01em; }
.strip-in span { font-size: 13.5px; color: #9fb3c6; }

/* ---------- sections ---------- */
.section { padding: 72px 0; }
.section-soft { background: var(--soft); }
.section-intro { max-width: 72ch; color: var(--muted); font-size: 1.02rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.split-reverse .split-media { order: 2; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.split-body h2 { margin-bottom: .45em; }

.ticks { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: var(--body); }
.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 19px; height: 19px; border-radius: 50%;
  background: rgba(15, 127, 140, .12); color: var(--brand-2); font-size: 12px; display: grid; place-items: center; font-weight: 700;
}

.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--ink); }

/* product quick list on home */
.product-grid { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.product-grid a {
  display: flex; flex-direction: column; gap: 6px; height: 100%;
  padding: 20px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; transition: .18s ease;
}
.product-grid a:hover { border-color: var(--brand); box-shadow: var(--shadow-sm); transform: translateY(-2px); text-decoration: none; }
.product-grid strong { color: var(--ink); font-size: 17px; }
.product-grid span { color: var(--muted); font-size: 14.5px; }

/* ---------- cards ---------- */
.card-grid { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .2s ease; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--line-strong); }
.card a { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.card-media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--soft-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body strong { color: var(--ink); font-size: 17.5px; line-height: 1.3; }
.card-text { color: var(--muted); font-size: 14.8px; flex: 1; }
.card-link { color: var(--brand); font-weight: 650; font-size: 14px; }
.card-link::after { content: " →"; }

/* ---------- steps ---------- */
.steps { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px 20px; }
.step-n { display: block; font-size: 12px; font-weight: 800; letter-spacing: .1em; color: var(--accent); margin-bottom: 8px; }
.steps strong { display: block; color: var(--ink); margin-bottom: 6px; }
.steps p { margin: 0; font-size: 14.6px; color: var(--muted); }

/* ---------- table ---------- */
.table-wrap { overflow-x: auto; margin: 26px 0 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.spec { width: 100%; border-collapse: collapse; min-width: 620px; font-size: 15px; }
table.spec caption { text-align: left; padding: 14px 18px; font-weight: 650; color: var(--ink); }
table.spec th, table.spec td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.spec thead th { background: var(--soft-2); color: var(--ink); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
table.spec tbody tr:last-child td { border-bottom: 0; }
table.spec tbody tr:hover { background: #fafcfe; }
table.spec td:first-child { color: var(--ink); font-weight: 600; }

/* ---------- faq ---------- */
.faq { margin-top: 24px; display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 20px; }
.faq details[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; padding: 15px 0; font-weight: 650; color: var(--ink); list-style: none;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 20px; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 16px; color: var(--body); }

/* ---------- rfq form ---------- */
.rfq { margin-top: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; margin-bottom: 16px; }
.rfq label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); }
.rfq label > input, .rfq label > select, .rfq label > textarea { margin-top: 6px; }
.rfq input, .rfq select, .rfq textarea {
  font: inherit; font-size: 15px; color: var(--body); padding: 11px 13px;
  border: 1px solid var(--line-strong); border-radius: 9px; background: #fff; width: 100%;
}
.rfq input:focus, .rfq select:focus, .rfq textarea:focus { outline: 2px solid rgba(13, 79, 134, .25); border-color: var(--brand); }
.rfq textarea { resize: vertical; }
.rfq .req { color: #c0392b; }
.file-field { margin-bottom: 16px; }
.check { flex-direction: row !important; align-items: flex-start; gap: 10px !important; font-weight: 400 !important; font-size: 14px !important; color: var(--body) !important; }
.check input { width: auto !important; margin-top: 3px; }
.rfq-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.rfq-note { font-size: 13.5px; color: var(--muted); }
.form-status { margin: 14px 0 0; font-weight: 600; }
.form-status.ok { color: #16794a; }
.form-status.err { color: #b3261e; }

/* ---------- cta band ---------- */
.cta-band { background: linear-gradient(110deg, var(--brand-dark), var(--brand) 55%, var(--brand-2)); color: #fff; padding: 54px 0; }
.cta-band-in { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: #d9e6f2; margin: 0; max-width: 60ch; }
.cta-band-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- footer ---------- */
.site-foot { background: #08192a; color: #a9bacb; padding: 58px 0 26px; font-size: 14.6px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 34px; }
.foot-col h3 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.foot-col a { display: block; color: #b9c8d8; padding: 4px 0; }
.foot-col a:hover { color: #fff; }
.foot-brand strong { color: #fff; font-size: 16px; display: block; margin-bottom: 10px; }
.foot-brand p { margin: 0 0 4px; }
.muted { color: #7f93a8; }
.foot-bottom { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; }
.foot-legal { display: flex; gap: 18px; }
.foot-bottom p { margin: 0; }

/* ---------- whatsapp float ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 50; width: 54px; height: 54px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(37, 211, 102, .4);
}
.wa-float:hover { transform: scale(1.06); text-decoration: none; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .strip-in { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .split-reverse .split-media { order: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  body { font-size: 16px; }
  .nav-toggle {
    display: inline-flex; margin-left: auto; background: #fff; border: 1px solid var(--line-strong);
    border-radius: 9px; padding: 9px 14px; font: inherit; font-weight: 650; color: var(--ink); cursor: pointer;
  }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column;
    align-items: stretch; gap: 2px; background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px 18px 20px; box-shadow: var(--shadow); max-height: 78vh; overflow: auto;
  }
  .nav.open { display: flex; }
  .nav-drop { position: static; display: flex; border: 0; box-shadow: none; padding: 0 0 0 12px; min-width: 0; }
  .nav-item > a { padding: 11px 4px; }
  .nav-cta { margin: 12px 0 0; }
  .hero { min-height: 480px; }
  .hero-in { padding: 56px 18px 44px; }
  .grid-2 { grid-template-columns: 1fr; }
  .rfq { padding: 20px; }
  .section { padding: 54px 0; }
  .topbar-note { display: none; }
  .topbar-in { justify-content: center; }
}

@media (max-width: 560px) {
  .card-grid, .product-grid, .steps, .strip-in, .foot-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .cta-band-in { flex-direction: column; align-items: flex-start; }
}

/* 文字段落：左标题 + 右正文，避免窄栏右侧大片留白 */
.split-text { display: grid; grid-template-columns: minmax(200px, .85fr) minmax(0, 1.75fr); gap: 20px 56px; align-items: start; }
.split-text .split-side h2 { margin: 0 0 6px; }
.split-text .split-side { position: sticky; top: 92px; }
.split-text .prose > p:first-child { margin-top: 0; }
@media (max-width: 860px) {
  .split-text { grid-template-columns: 1fr; gap: 12px; }
  .split-text .split-side { position: static; }
}

/* 客户评价 */
.prose blockquote { margin: 22px 0 6px; padding: 16px 20px; border-left: 3px solid var(--brand);
  background: #fff; border-radius: 0 10px 10px 0; color: var(--ink); font-size: 15px; line-height: 1.6; }
.prose blockquote::before { content: '\201C'; font-size: 26px; color: var(--brand); line-height: 0; margin-right: 2px; }

/* 手机端：标题压在深色块上，照片单独显示，避免白布被压成一片灰 */
@media (max-width: 860px) {
  .page-hero { display: flex; flex-direction: column; background: var(--ink); }
  .page-hero .page-hero-overlay { display: none; }
  .page-hero .page-hero-img { position: static; order: 2; width: 100%; height: 190px; object-fit: cover; opacity: 1; }
  .page-hero .page-hero-in { order: 1; background: var(--ink); padding: 30px 22px 26px; }
  .page-hero-compact { min-height: 0; }
}

/* 页尾 CTA + WhatsApp */
.cta-section { padding-top: 10px; }
.cta-card { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: center;
  background: var(--ink); color: #fff; border-radius: 16px; padding: 34px 36px; }
.cta-card h2 { color: #fff; margin: 0 0 8px; font-size: clamp(1.2rem, 2vw, 1.6rem); }
.cta-card p { color: #cfdcea; margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-start; }
.cta-actions .btn-ghost { color: #fff; border-color: rgba(255,255,255,.45); }
.cta-actions .btn-ghost:hover { background: rgba(255,255,255,.12); }
.cta-wa { display: block; width: 100%; margin-top: 4px; color: #9fe6b8; font-weight: 600; text-decoration: none; }
.cta-wa:hover { text-decoration: underline; }
@media (max-width: 820px) { .cta-card { grid-template-columns: 1fr; padding: 26px 22px; } }

/* 头部 CTA 单行显示（新增于内容扩展，避免与旧规则冲突） */
a.nav-cta { white-space: nowrap; flex: 0 0 auto; align-self: center; }
@media (max-width: 1400px) {
  a.nav-cta { padding-left: 14px; padding-right: 14px; font-size: 14px; margin-left: 6px; }
  .nav { gap: 0; }
  .nav-item > a { padding-left: 8px; padding-right: 8px; }
}
