/* ======== Xinkeyang Hardware Factory (鑫科扬五金厂) — style.css ======== */
:root {
  /* 需求文档 4.2 配色：工业蓝 #1A5276 + 深灰 #2C3E50 + 白；浅灰 #ECF0F1、金属银 #BDC3C7 */
  --primary: #1a5276;
  --primary-dark: #133c56;
  --dark: #2c3e50;
  --ink: #34495e;
  --muted: #5d6d7e;
  --line: #e3e8ec;
  --bg-soft: #ecf0f1;
  --bg-blue: #f4f7f9;
  --metal: #bdc3c7;
  --accent: #a85b10;
  --accent-dark: #8a4a0c;
  --radius: 10px;
  --shadow: 0 8px 30px rgba(16, 42, 84, .10);
  --shadow-hover: 0 14px 40px rgba(16, 42, 84, .18);
  --container: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Open Sans", "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  line-height: 1.7;
  background: #fff;
}
h1, h2, h3, h4, h5 {
  font-family: "Roboto", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 860px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: 6px; font-weight: 600; font-size: 15px;
  transition: all .25s ease; white-space: nowrap;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--outline { border: 2px solid var(--primary); color: var(--primary); background: #fff; }
.btn--outline:hover { background: var(--primary); color: #fff; }
.btn--dark { background: var(--dark); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--ghost { border: 2px solid rgba(255,255,255,.75); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.14); }
.btn--sm { padding: 9px 18px; font-size: 14px; }
.btn--lg { padding: 15px 34px; font-size: 16px; }
.btn--block { width: 100%; }
/* WhatsApp 绿按钮：全站 header / Hero 的一键直聊入口 */
.btn--wa { background: #25d366; color: #fff; }
.btn--wa:hover { background: #1ebe5b; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(37,211,102,.35); }
.btn--wa svg { flex: none; }
.topbar__wa { color: #7ed99f; }
a.topbar__wa:hover { color: #fff; }

/* ---------- Top bar ---------- */
.topbar { background: var(--dark); color: #cfd6df; font-size: 13px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 38px; flex-wrap: wrap; gap: 4px; }
.topbar__left, .topbar__right { display: flex; gap: 22px; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; }
a.topbar__item:hover { color: #fff; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 200; background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 74px; }
.header__logo { display: flex; align-items: center; gap: 11px; }
.logo__mark {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  object-fit: cover; box-shadow: 0 3px 10px rgba(13,32,64,.28);
}
.logo__text { display: flex; flex-direction: column; line-height: 1.25; }
.logo__text strong { font-size: 19px; font-weight: 800; color: var(--dark); letter-spacing: .2px; }
.logo__text em { font-style: normal; font-size: 12.5px; color: var(--muted); letter-spacing: 1px; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__link {
  display: flex; align-items: center; gap: 4px;
  padding: 26px 10px; font-size: 14px; font-weight: 600; color: var(--ink);
  white-space: nowrap; transition: color .2s;
}
.nav__link:hover, .nav__item:hover > .nav__link { color: var(--primary); }
.caret { font-size: 11px; color: var(--muted); }
.has-sub { position: relative; }
.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 270px;
  background: #fff; border-top: 3px solid var(--primary);
  box-shadow: var(--shadow-hover); border-radius: 0 0 8px 8px;
  padding: 8px 0; opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all .25s ease;
}
.has-sub:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block; padding: 10px 20px; font-size: 14px; color: var(--ink);
  transition: all .2s;
}
.dropdown a:hover { background: var(--bg-blue); color: var(--primary); padding-left: 26px; }
.header__actions { display: flex; align-items: center; gap: 14px; }

.burger { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.burger span { width: 24px; height: 2.5px; background: var(--dark); border-radius: 2px; transition: all .3s; }
.burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 620px; display: flex; align-items: center; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  animation: heroZoom 14s ease-in-out infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.08); } }
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(8,20,35,.86) 0%, rgba(8,20,35,.62) 48%, rgba(8,20,35,.25) 100%);
}
.hero__content { position: relative; z-index: 2; color: #fff; padding-top: 40px; padding-bottom: 40px; }
.hero__eyebrow {
  display: inline-block; font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  color: #bcd7ff; border: 1px solid rgba(188,215,255,.4); padding: 6px 16px; border-radius: 30px;
  margin-bottom: 22px; background: rgba(24,99,220,.18);
}
.hero__title { font-size: clamp(38px, 6vw, 62px); line-height: 1.12; font-weight: 800; margin-bottom: 14px; }
.hero__subtitle { font-size: clamp(17px, 2.1vw, 21px); font-weight: 400; color: #d7e2ea; margin-bottom: 16px; }
.hero__desc { max-width: 620px; font-size: 17px; color: #dbe4ef; margin-bottom: 30px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero__stats { display: flex; gap: 46px; flex-wrap: wrap; }
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong { font-size: 30px; font-weight: 800; color: #fff; }
.hero__stats span { font-size: 13px; color: #b8c6d8; letter-spacing: .5px; }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.kicker {
  color: var(--primary); font-weight: 700; font-size: 13px;
  letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 10px;
}
.section-title { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.25; font-weight: 800; color: var(--dark); margin-bottom: 18px; }
.section-sub { color: var(--muted); font-size: 16px; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 54px; }
.section-head--light .section-title, .section-head--light .section-sub { color: #fff; }
.section-head--light .section-sub { color: #b8c6d8; }

/* ---------- About ---------- */
.about { background: #fff; }
.about__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; align-items: center; }
.about__media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.about__extra { margin-top: 70px; display: grid; gap: 46px; }
.about__sub {
  font-size: 20px; color: var(--dark); margin-bottom: 22px; text-align: center;
  position: relative; padding-bottom: 12px;
}
.about__sub::after {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 54px; height: 3px; background: var(--metal); border-radius: 2px;
}
.checklist { margin-top: 18px; }
.checklist li {
  position: relative; padding-left: 32px; margin-bottom: 11px; color: var(--ink);
}
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 21px; height: 21px; border-radius: 50%;
  background: var(--primary); color: #fff; font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Products ---------- */
.products { background: var(--bg-soft); }
.products__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.product-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 3px 14px rgba(0,0,0,.06);
  transition: transform .3s ease, box-shadow .3s ease;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.product-card__media { overflow: hidden; aspect-ratio: 1 / 1; background: #f7f7f7; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-card__media img { transform: scale(1.07); }
.product-card__body { padding: 20px 20px 24px; display: flex; flex-direction: column; flex: 1; gap: 6px; }
.product-card__name {
  font-size: 15.5px; font-weight: 700; color: var(--dark); line-height: 1.45;
  min-height: 3em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-card__style { font-size: 13px; color: var(--muted); }
.product-card__desc { font-size: 14px; color: var(--muted); line-height: 1.55; }
.product-card__price { font-size: 15px; font-weight: 700; color: var(--accent); margin-bottom: 10px; }
.product-card__body .btn { margin-top: auto; }
/* 产品卡片双 CTA：WhatsApp 直聊 + 发图纸，并排等宽 */
.product-card__cta { display: flex; gap: 8px; margin-top: auto; }
.product-card__cta .btn { flex: 1; padding: 8px 10px; font-size: 13px; justify-content: center; }
.product-card__name a { color: inherit; }
.product-card__name a:hover { color: var(--primary); }
.products__cta { text-align: center; margin-top: 50px; }

/* ---------- Testimonials ---------- */
.testimonials { background: #f6f8f7; }
.testimonials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.t-card {
  background: #fff; border-radius: var(--radius); box-shadow: 0 3px 14px rgba(0,0,0,.06);
  padding: 28px 26px 24px; display: flex; flex-direction: column; gap: 16px; margin: 0;
  transition: transform .3s ease, box-shadow .3s ease;
}
.t-card:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(0,0,0,.10); }
.t-card__stars { color: #16a34a; letter-spacing: 3px; font-size: 15px; }
.t-card blockquote { margin: 0; font-size: 14.5px; line-height: 1.7; color: var(--ink); flex: 1; }
.t-card figcaption { display: flex; align-items: center; gap: 12px; border-top: 1px solid #eceff1; padding-top: 16px; }
.t-card__avatar {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  background: #e7f0e9; color: #16a34a; display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.t-card__meta { display: flex; flex-direction: column; gap: 2px; }
.t-card__meta strong { font-size: 14px; color: var(--dark); }
.t-card__meta em { font-style: normal; font-size: 12.5px; color: var(--muted); }
@media (max-width: 960px) { .testimonials__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .testimonials__grid { grid-template-columns: 1fr; } }

/* Application scenario banner + notes (Products / By Application) */
.app-scene {
  margin: 0 0 22px; border-radius: var(--radius); overflow: hidden;
  background: #fff; box-shadow: 0 3px 14px rgba(0,0,0,.06);
}
.app-scene img { width: 100%; height: auto; display: block; aspect-ratio: 3 / 2; object-fit: cover; }
.app-scene figcaption {
  padding: 13px 18px; font-size: 14px; line-height: 1.6; color: var(--muted);
  border-top: 1px solid var(--line);
}
.app-note { display: flex; flex-wrap: wrap; gap: 16px; margin: 0 0 30px; }
.app-note__item {
  flex: 1; min-width: 260px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 20px;
  box-shadow: 0 3px 14px rgba(0,0,0,.04);
}
.app-note__item h4 {
  margin: 0 0 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; color: var(--primary);
}
.app-note__item p { margin: 0; font-size: 13.5px; line-height: 1.7; color: var(--muted); }
@media (max-width: 640px) { .app-note { flex-direction: column; } }

/* ---------- Why ---------- */
.why { background: var(--bg-blue); }
.why__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }
.why__media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.why__points { margin: 26px 0 30px; display: grid; gap: 18px; }
.why__point { display: flex; gap: 18px; align-items: flex-start; }
.why__num {
  flex: none; width: 46px; height: 46px; border-radius: 8px;
  background: var(--primary); color: #fff; font-weight: 800; font-size: 17px;
  display: flex; align-items: center; justify-content: center;
}
.why__point h4 { font-size: 16px; color: var(--dark); margin-bottom: 2px; }
.why__point p { font-size: 14px; color: var(--muted); }

/* ---------- Services ---------- */
.services { background: #fff; }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.services__grid--two { grid-template-columns: repeat(2, 1fr); }
.service-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 0 0 26px;
  overflow: hidden; transition: transform .3s, box-shadow .3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.service-card__media { aspect-ratio: 3 / 2; overflow: hidden; margin-bottom: 22px; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.service-card__media--icon {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #eef2f5 0%, var(--metal) 100%);
  color: var(--primary);
}
.service-card:hover .service-card__media img { transform: scale(1.06); }
.service-card h3 { font-size: 18px; color: var(--dark); padding: 0 24px; margin-bottom: 10px; }
.service-card p { font-size: 14.5px; color: var(--ink); padding: 0 24px; }
.service-card__sub { color: var(--muted) !important; margin-top: 8px; font-size: 13.5px !important; }

/* ---------- Process ---------- */
.process { background: linear-gradient(135deg, #2c3e50 0%, #1a5276 100%); }
.process__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.process-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius); padding: 34px 26px; position: relative;
  transition: transform .3s, background .3s;
}
.process-card:hover { transform: translateY(-6px); background: rgba(255,255,255,.11); }
.process-card__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--primary); color: #fff; font-size: 22px; font-weight: 800;
  margin-bottom: 18px; box-shadow: 0 0 0 6px rgba(24,99,220,.22);
}
.process-card h3 { color: #fff; font-size: 17px; margin-bottom: 10px; }
.process-card p { color: #b8c6d8; font-size: 14px; }

/* ---------- FAQ ---------- */
.faq { background: var(--bg-soft); }
.accordion { display: grid; gap: 14px; }
.accordion__item {
  background: #fff; border-radius: 8px; overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
.accordion__head {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding: 20px 24px; text-align: left;
  font-weight: 700; font-size: 16px; color: var(--dark);
}
.accordion__head:hover { color: var(--primary); }
.accordion__icon {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--bg-blue); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 600; transition: all .3s;
}
.accordion__item.open .accordion__icon { background: var(--primary); color: #fff; transform: rotate(45deg); }
.accordion__panel { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.accordion__panel p { padding: 0 24px 22px; color: var(--muted); font-size: 15px; }
.accordion__item.open .accordion__panel { max-height: 900px; }

/* FAQ 区：简介、答案内 CTA、底部引导 */
.faq__intro { max-width: 720px; margin: 14px auto 0; color: var(--muted); font-size: 15px; }
.accordion__head { cursor: pointer; }
.accordion__head span:first-child { line-height: 1.5; }
.accordion__item.open { box-shadow: 0 6px 20px rgba(26,82,118,.12); border-left: 3px solid var(--primary); }
.accordion__item.open .accordion__head { color: var(--primary); }
.accordion__panel p strong { color: var(--dark); }

/* Homepage FAQ: collapse the long tail behind a single toggle */
.accordion__item--extra { display: none; }
.accordion.is-expanded .accordion__item--extra { display: block; }
.faq__toggle-wrap { display: flex; justify-content: center; margin: 18px 0 4px; }
.faq__toggle { cursor: pointer; }
.faq__toggle-caret { display: inline-block; margin-left: 8px; transition: transform .25s ease; }
.faq__toggle[aria-expanded="true"] .faq__toggle-caret { transform: rotate(180deg); }
.faq-cta {
  display: inline-block; margin-top: 12px;
  font-weight: 700; font-size: 14px; color: var(--primary);
  border-bottom: 1px dashed var(--primary); padding-bottom: 2px;
}
.faq-cta:hover { color: var(--accent); border-color: var(--accent); }
.faq__more {
  margin-top: 24px; padding: 0; text-align: center;
  background: transparent; border-radius: 0; box-shadow: none;
}
.faq__more p { margin: 0; font-weight: 500; color: var(--muted); font-size: 14.5px; }
.faq__more p a { color: var(--primary); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.faq__more p a:hover { color: var(--accent); }

/* ---------- Service Policy ---------- */
.policy { background: var(--bg-soft); }
.policy__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 8px; }
.policy-card {
  position: relative; background: #fff; border-radius: 10px;
  padding: 28px 24px 24px; box-shadow: 0 2px 10px rgba(0,0,0,.05);
  border-top: 3px solid var(--primary);
}
.policy-card h3 { margin: 0 0 10px; font-size: 17px; color: var(--dark); }
.policy-card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.policy-card p strong { color: var(--primary); }
.policy-card__tag {
  display: inline-block; margin-bottom: 12px; padding: 3px 10px;
  background: var(--primary); color: #fff; border-radius: 20px;
  font-size: 12px; font-weight: 700; letter-spacing: .5px;
}
.cap-note--lead { margin-top: 12px; font-size: 14px; }
@media (max-width: 900px) { .policy__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .policy__grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .accordion__head { padding: 16px 18px; font-size: 15px; }
  .accordion__panel p { padding: 0 18px 20px; }
}

/* ---------- Contact ---------- */
.contact { background: #fff; }
.contact__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; align-items: start; }
.contact__note { color: var(--muted); font-size: 14px; margin-top: 10px; }
.contact__info { margin-top: 24px; display: grid; gap: 8px; color: var(--ink); }
.contact__form {
  background: var(--bg-blue); border: 1px solid #e2ecfa;
  border-radius: var(--radius); padding: 34px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 13.5px; font-weight: 700; color: var(--dark); margin-bottom: 7px; }
.form-field input[type="text"], .form-field input[type="email"],
.form-field textarea, .form-field input[type="file"],
.form-field select {
  width: 100%; padding: 12px 14px; border: 1px solid #d5dee9; border-radius: 6px;
  font: inherit; font-size: 15px; color: var(--ink); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.form-field textarea { resize: vertical; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(24,99,220,.14);
}
.form-status { margin-top: 14px; padding: 12px 16px; border-radius: 6px; font-size: 14px; }
.form-status.ok { background: #e6f7ec; color: #14743a; border: 1px solid #b7e4c7; }
.form-status.err { background: #fdeceb; color: #b02a26; border: 1px solid #f5c6c4; }

/* ---------- Footer ---------- */
.footer { background: linear-gradient(135deg, #1a5276 0%, #0f2f44 100%); color: #c2cdd6; font-size: 14px; }
.footer__grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.4fr;
  gap: 40px; padding: 70px 20px 50px;
}
.footer__logo {
  width: 120px; height: 120px; object-fit: cover;
  border-radius: 18px; margin-bottom: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,.4);
}
.footer__brand p { line-height: 1.8; }
.footer__social { display: flex; gap: 10px; margin-top: 20px; }
.footer__social a {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; transition: all .25s;
  box-shadow: 0 2px 8px rgba(0,0,0,.28);
}
.footer__social a svg { display: block; }
/* 品牌色常显（参考用户提供的 SOCIAL MEDIA 样式） */
.footer__social a.s-fb { background: #1877f2; }
.footer__social a.s-in { background: #0a66c2; }
.footer__social a.s-ig { background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.footer__social a.s-wa { background: #25d366; }
.footer__social a:hover { transform: translateY(-3px); filter: brightness(1.12); }

/* ===== Cookie 同意横幅（GDPR） ===== */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999;
  background: rgba(15, 23, 32, .96); color: #e8eef4;
  box-shadow: 0 -4px 22px rgba(0, 0, 0, .28); font-size: 14px;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner__inner {
  max-width: 1180px; margin: 0 auto; padding: 14px 20px;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.cookie-banner__text { flex: 1; margin: 0; min-width: 240px; line-height: 1.5; }
.cookie-banner__text a { color: #6fb1ff; text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 10px; }

/* ===== 首页信任 / 资质区块 ===== */
.trust { background: #f5f8fb; padding: 46px 0; border-top: 1px solid #e6edf3; border-bottom: 1px solid #e6edf3; }
.trust__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.trust__item { text-align: center; }
.trust__badge {
  width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 2px solid #1a5276; color: #1a5276;
  font-weight: 700; font-size: 13px; line-height: 1.15; text-align: center;
}
.trust__item h3 { font-size: 15px; margin: 0 0 6px; color: #14222e; }
.trust__item p { font-size: 13px; color: #5b6b78; margin: 0; line-height: 1.5; }
@media (max-width: 768px) { .trust__grid { grid-template-columns: repeat(2, 1fr); gap: 26px 18px; } }
.trust--compact { padding: 16px 0; background: #ffffff; border-top: 1px solid #d9e2ea; border-bottom: 1px solid #d9e2ea; }
.trust--compact .trust__list { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; list-style: none; margin: 0; padding: 0; }
.trust--compact .trust__item { flex: 1 1 0; min-width: 120px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 6px 16px; text-align: center; position: relative; }
.trust--compact .trust__item + .trust__item::before { content: ""; position: absolute; left: 0; top: 20%; bottom: 20%; width: 1px; background: #dbe5ee; }
.trust--compact .trust__key { display: inline-block; padding: 5px 16px; border: 1.5px solid #1a5276; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .3px; color: #1a5276; white-space: nowrap; }
.trust--compact .trust__cap { font-size: 11.5px; color: #5d6e7b; margin-top: 7px; line-height: 1.3; }
@media (max-width: 768px) {
  .trust--compact .trust__item { min-width: 33.33%; padding: 8px 10px; }
  .trust--compact .trust__item + .trust__item::before { display: none; }
  .trust--compact .trust__item:nth-child(n+4) { border-top: 1px solid #e6edf3; margin-top: 6px; padding-top: 12px; }
}
.footer__col h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer__col ul li { margin-bottom: 10px; }
.footer__col ul a { transition: color .2s, padding-left .2s; }
.footer__col ul a:hover { color: #fff; padding-left: 6px; }
.footer__form { display: flex; gap: 8px; margin-top: 14px; }
.footer__form input {
  flex: 1; padding: 11px 14px; border-radius: 6px; border: 1px solid #33373d;
  background: #212429; color: #fff; font: inherit; font-size: 14px;
}
.footer__form input:focus { outline: none; border-color: var(--primary); }
.footer__form .btn { padding: 11px 20px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0; font-size: 13px; }
.footer__bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer__bottom ul { display: flex; gap: 22px; }
.footer__bottom a:hover { color: #fff; }

/* ---------- Footer brand block ---------- */
.footer__name { display: block; color: #fff; font-size: 20px; font-weight: 800; margin-bottom: 2px; }
.footer__cn { color: var(--primary); font-size: 14px; margin-bottom: 14px; }
.footer__uscc {
  font-size: 11px; color: #9aa4b0; margin: -10px 0 14px;
  letter-spacing: .02em; font-variant-numeric: tabular-nums; word-break: break-all;
}
.footer__rel {
  font-size: 12px; color: #9aa4b0; margin: 0 0 14px;
  letter-spacing: .01em; line-height: 1.5;
}
.footer__contact { display: grid; gap: 12px; margin: 18px 0 0; }
.footer__contact strong {
  display: block; color: #6f7883; font-size: 11.5px;
  letter-spacing: 1.4px; text-transform: uppercase; margin-bottom: 2px;
}
.footer__contact a { color: #cfd6df; }
.footer__contact a:hover { color: #fff; }
.footer__form { flex-wrap: wrap; }
.footer__form .form-status { width: 100%; font-size: 13px; }

/* ---------- Floating contact buttons ---------- */
.float-group {
  position: fixed; right: 22px; bottom: 22px; z-index: 300;
  display: flex; flex-direction: column; gap: 14px; align-items: flex-end;
}
.wa-float {
  position: relative; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.45);
  animation: waPulse 2.4s ease-in-out infinite;
  transition: transform .25s;
}
.wa-float--mail {
  background: var(--primary);
  box-shadow: 0 8px 24px rgba(24,99,220,.45);
  animation: none;
}
.wa-float:hover { transform: scale(1.08); }
.float-tip {
  position: absolute; right: 68px; top: 50%; transform: translateY(-50%);
  background: var(--dark); color: #fff; font-size: 12px; font-weight: 600;
  padding: 5px 12px; border-radius: 20px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
.wa-float:hover .float-tip { opacity: 1; }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.4); }
  50% { box-shadow: 0 8px 24px rgba(37,211,102,.45), 0 0 0 14px rgba(37,211,102,0); }
}

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 500; display: none; }
.modal.show { display: block; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(10,18,30,.6); backdrop-filter: blur(3px); }
.modal__box {
  position: relative; z-index: 2; max-width: 520px; margin: 6vh auto;
  background: #fff; border-radius: 14px; padding: 36px;
  max-height: 88vh; overflow-y: auto;
  animation: modalIn .3s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.modal__close {
  position: absolute; top: 12px; right: 16px; font-size: 30px; color: var(--muted);
  line-height: 1; transition: color .2s;
}
.modal__close:hover { color: var(--dark); }
.modal__box h3 { font-size: 24px; color: var(--dark); margin-bottom: 8px; }
.modal__sub { color: var(--muted); font-size: 14px; margin-bottom: 22px; }

/* ---------- Product category tabs ---------- */
.p-tabs { display: flex; justify-content: center; gap: 12px; margin-bottom: 40px; flex-wrap: wrap; }
.p-tab {
  padding: 11px 24px; border: 2px solid var(--line); border-radius: 30px;
  background: #fff; font-weight: 700; font-size: 14px; color: var(--ink);
  transition: all .25s ease;
}
.p-tab:hover { border-color: var(--metal); color: var(--primary); }
.p-tab.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.p-panel { display: none; }
.p-panel.active { display: block; }

/* ---------- Capability placeholder card ---------- */
.cap-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 24px; text-align: center; height: 100%;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  transition: transform .3s, box-shadow .3s;
}
.cap-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.cap-card__icon {
  width: 80px; height: 80px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, #eef2f5 0%, var(--metal) 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 30px; margin-bottom: 6px;
}
.cap-card h3 { font-size: 17px; color: var(--dark); }
.cap-card p { font-size: 14px; color: var(--muted); }
.cap-card .btn { margin-top: auto; }
.cap-note {
  text-align: center; color: var(--muted); font-size: 14px; margin-top: 28px;
}

/* ---------- Certifications & equipment ---------- */
.badges { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.certs {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  gap: 14px; margin: 20px 0 12px;
}
.cert {
  margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 18px 10px 12px; text-align: center;
  transition: transform .25s, box-shadow .25s;
}
.cert:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(44,62,80,.10); }
.cert img {
  height: 58px; width: auto; max-width: 100%; object-fit: contain;
  margin: 0 auto 12px; display: block;
}
.cert figcaption strong { display: block; font-size: 13px; color: var(--dark); letter-spacing: .3px; }
.cert figcaption span { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.equip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.equip figure { margin: 0; }
.equip img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px;
  box-shadow: 0 3px 12px rgba(44,62,80,.12);
}
.equip figcaption {
  font-size: 13px; color: var(--muted); margin-top: 8px; text-align: center;
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .products__grid { grid-template-columns: repeat(3, 1fr); }
  .process__grid { grid-template-columns: repeat(2, 1fr); }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .about__grid, .why__grid, .contact__grid { grid-template-columns: 1fr; gap: 36px; }
  .why__media { order: -1; }
  .section { padding: 64px 0; }
  .nav {
    position: fixed; top: 0; right: 0; width: 300px; height: 100vh;
    background: #fff; z-index: 400; padding: 90px 24px 30px;
    box-shadow: -8px 0 30px rgba(0,0,0,.15);
    /* 用 transform 隐藏抽屉，避免 right:-320px 在手机上产生横向滚动条 */
    transform: translateX(100%); transition: transform .35s ease; overflow-y: auto;
  }
  .nav.open { transform: translateX(0); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border-top: none; padding: 0 0 8px 16px; display: none;
  }
  .has-sub.open .dropdown { display: block; }
  .burger { display: flex; position: relative; z-index: 500; }
  .products__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .products__grid { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: 1fr; }
  .process__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero { min-height: 540px; }
  .hero__stats { gap: 26px; }
  .topbar__right { display: none; }
  .modal__box { margin: 4vh 14px; padding: 26px 20px; }
}

/* ===== 二级页面：FAQ 详情页 / 城市站群页 ===== */
.subpage-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
  color: #fff; padding: 132px 0 58px;
}
.subpage-hero__inner { max-width: 860px; }
.subpage-hero h1 { font-size: clamp(26px, 3.6vw, 42px); line-height: 1.2; margin: 0 0 14px; }
.subpage-hero p { font-size: 17px; opacity: .9; margin: 0; }
.subpage-hero .kicker { color: #ffd0a8; margin: 0 0 10px; }

.crumbs { font-size: 13px; margin: 0 0 14px; opacity: .85; }
.crumbs a { color: #ffd0a8; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { margin: 0 7px; opacity: .6; }

.article { padding: 54px 0; background: #fff; }
.article__body { max-width: 860px; }
.article__body h2 {
  font-size: 24px; margin: 40px 0 16px; padding-left: 13px;
  border-left: 4px solid var(--accent); line-height: 1.35;
}
.article__body h2:first-child { margin-top: 0; }
.article__body h3 { font-size: 18.5px; margin: 28px 0 11px; }
.article__body p { margin: 0 0 15px; line-height: 1.85; color: var(--text); }
.article__body ul, .article__body ol { margin: 0 0 18px; padding-left: 21px; }
.article__body li { margin-bottom: 8px; line-height: 1.75; }
.article__body strong { color: var(--dark); }
.article__body table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 15px; }
.article__body th, .article__body td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.article__body th { background: var(--bg-soft); font-weight: 700; }
.article__lead { font-size: 17.5px; line-height: 1.8; color: var(--dark); font-weight: 500; }

/* 名单型列表：行业 / 产品类型这类纯名词清单，竖排改横向，省高度、便于扫读 */
.article__body ul.tag-list {
  list-style: none; padding-left: 0; margin: 6px 0 24px;
  display: flex; flex-wrap: wrap; gap: 9px;
}
.article__body ul.tag-list li {
  margin: 0; padding: 8px 15px; font-size: 14.5px; line-height: 1.35;
  color: var(--ink); background: var(--bg-blue);
  border: 1px solid var(--line); border-radius: 999px;
}
.article__body ul.card-list {
  list-style: none; padding-left: 0; margin: 6px 0 24px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;
}
.article__body ul.card-list li {
  margin: 0; padding: 12px 15px; font-size: 14.5px; line-height: 1.5;
  color: var(--ink); background: #fff; border: 1px solid var(--line);
  border-left: 3px solid var(--accent); border-radius: 6px;
}
@media (max-width: 700px) {
  .article__body ul.card-list { grid-template-columns: 1fr; gap: 8px; }
  .article__body ul.tag-list { gap: 7px; }
  .article__body ul.tag-list li { font-size: 13.5px; padding: 7px 12px; }
}

.answer-box {
  background: var(--bg-soft); border-left: 4px solid var(--primary);
  padding: 20px 24px; border-radius: 0 8px 8px 0; margin: 0 0 26px;
}
.answer-box p:last-child { margin-bottom: 0; }

/* 城市网格 */
.faq-index__group { font-size: 15px; font-weight: 700; color: var(--primary); margin: 26px 0 12px; letter-spacing: .4px; text-transform: uppercase; }

/* FAQ 索引列表 */
.faq-index { list-style: none; padding: 0; margin: 0 0 20px; }
.faq-index li { border-bottom: 1px solid var(--line); }
.faq-index a {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 15px 4px; text-decoration: none; color: var(--dark); font-weight: 600; transition: .2s;
}
.faq-index a:hover { color: var(--primary); padding-left: 10px; }
.faq-index a em { font-style: normal; color: var(--accent); font-size: 13px; white-space: nowrap; }

/* 侧栏相关链接 */
.related { margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); }
.related h2, .related h3 { font-size: 17px; margin: 0 0 12px; }
.related ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.related a { color: var(--primary); text-decoration: none; font-size: 14.5px; }
.related a:hover { text-decoration: underline; }

/* 页面内 CTA */
.page-cta {
  background: var(--bg-soft); border-radius: 12px; padding: 30px 32px;
  margin-top: 38px; display: flex; flex-wrap: wrap; gap: 18px;
  align-items: center; justify-content: space-between;
}
.page-cta p { margin: 0; font-size: 16.5px; font-weight: 600; color: var(--dark); }
.page-cta .btn { flex-shrink: 0; }

.data-table { font-size: 14.5px; }
.data-table td:first-child { font-weight: 600; }

@media (max-width: 640px) {
  .subpage-hero { padding: 108px 0 42px; }
  .article { padding: 38px 0; }
  .page-cta { padding: 24px 20px; }
}

/* 首页 Locations 区块 / FAQ 双 CTA */
.faq-cta--alt { color: var(--primary); }
.faq-cta + .faq-cta--alt::before { content: "\00B7"; margin: 0 8px; color: var(--metal); }
.accordion__panel .faq-cta { display: inline-block; }

/* 城市页本地化信号 */
.local-note { font-size: 14px; font-weight: 500; letter-spacing: .5px; opacity: .78; margin: -2px 0 12px; }
.serving-note {
  background: var(--bg-soft); border-radius: 8px; padding: 12px 16px;
  font-size: 14.5px; margin: 0 0 24px; color: var(--dark); line-height: 1.7;
}
.serving-note strong { color: var(--primary); }

/* ===== 合作案例 / 客户徽章墙 ===== */


/* 徽章墙：自绘行业图标，非客户商标 */

/* 案例卡 */

@media (max-width: 640px) {
}


/* ---------- 新增内容沿用主站组件的最小适配 ---------- */
a.service-card { display: block; color: inherit; }
.policy-card h3 a { color: inherit; }
.policy-card h3 a:hover { color: var(--primary); }
.faq-index__group {
  font-size: 15px; font-weight: 700; color: var(--primary);
  letter-spacing: .4px; text-transform: uppercase;
  padding: 24px 4px 8px !important; border-bottom: none !important;
}
.article__body .products__grid { grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0 0 8px; }
.article__body .services__grid { gap: 22px; margin: 0 0 8px; }
.article__body .policy__grid { margin: 0 0 8px; }

/* 图片位占位：案例 / 行业暂无自有实拍图，后续补图时替换 --pending 块为 <img> */
.product-card__media--pending,
.service-card__media--pending {
  display: flex; align-items: center; justify-content: center;
  background: #eef1f4; color: #c6cfd8;
}
.product-card__media--pending svg,
.service-card__media--pending svg { opacity: .95; }
@media (max-width: 900px) {
  .article__body .products__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .article__body .products__grid,
  .article__body .services__grid,
  .article__body .policy__grid { grid-template-columns: 1fr; }
}

/* ===== 移动端专项优化（手机适配） ===== */
/* 1) 表格横向滚动：FAQ/城市页宽表不再撑破版面 */
@media (max-width: 760px) {
  .data-table,
  .article__body > table {
    display: block; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch;
  }
  .data-table th, .data-table td,
  .article__body > table th, .article__body > table td { white-space: nowrap; }
  /* 表格滚动提示：露出右边缘阴影，暗示可滑动 */
  .article__body > table::-webkit-scrollbar { height: 6px; }
  .article__body > table::-webkit-scrollbar-thumb { background: var(--metal); border-radius: 3px; }
}

/* 2) 头部在窄屏收紧，避免 logo 与按钮挤压 */
@media (max-width: 560px) {
  .header__inner { gap: 10px; min-height: 64px; }
  .logo__text strong { font-size: 16px; }
  .logo__text em { display: none; }
  .header__actions .btn--sm { padding: 8px 13px; font-size: 13px; }

  /* Hero 行动按钮整行铺满，方便拇指点击 */
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .hero__stats { gap: 22px 30px; }

  /* 页面内 CTA 在手机上竖排 */
  .page-cta { flex-direction: column; align-items: flex-start; gap: 14px; }
  .page-cta .btn { width: 100%; }

  /* 应用分类场景图说明字号收敛 */
  .app-scene figcaption { font-size: 12.5px; }
  .app-note__item { font-size: 13px; }

  /* 产品分类 tab 在超窄屏可横向滑动，避免换行拥挤 */
  .p-tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
  .p-tab { flex: 0 0 auto; }

  /* 页脚联系方式长邮箱/地址允许断行，防溢出 */
  .footer__contact, .footer__col p { word-break: break-word; overflow-wrap: anywhere; }
  .footer__form { flex-direction: column; }
  .footer__form .btn { width: 100%; }

  /* 容器左右留白收紧 */
  .container { padding: 0 16px; }

  /* FAQ 索引条目换行更从容 */
  .faq-index a { align-items: flex-start; }
  .faq-index a em { white-space: normal; text-align: right; }
}

/* 3) 超小屏（≤380px）进一步收敛间距 */
@media (max-width: 380px) {
  .hero__title { font-size: clamp(30px, 9vw, 40px); }
  .section__head h2, .subpage-hero h1 { font-size: 26px; }
  .btn { padding: 12px 20px; font-size: 14.5px; }
}

/* ======= Blog / 资源中心 ======= */
.article__media { margin: 0 0 1.6rem; border-radius: 14px; overflow: hidden;
  box-shadow: 0 10px 28px rgba(0,0,0,.10); aspect-ratio: 16/9; }
.article__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article__date { color: #8a8f98; font-size: .9rem; margin: .3rem 0 1.3rem; }
.blog-card__meta { color: #8a8f98; font-size: .82rem; margin: .2rem 0 .5rem; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; }
.blog-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.blog-grid .service-card { display: flex; flex-direction: column; }
.blog-grid .service-card p:last-child { margin-top: auto; }

/* ======= 询盘转化增强 ======= */
/* Hero 信任微文案 */
.hero__trust { margin-top: 14px; font-size: 14px; color: rgba(255,255,255,.88); }
.hero__trust::before { content: "\2713"; color: #36d07f; font-weight: 700; margin-right: 6px; }

/* 移动端底部固定 CTA 条 */
.sticky-cta { display: none; }
@media (max-width: 900px) {
  .sticky-cta {
    display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: #fff; box-shadow: 0 -8px 22px rgba(0,0,0,.14);
  }
  .sticky-cta .btn { flex: 1; }
  .sticky-cta__wa {
    flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
    padding: 13px 18px; border-radius: 10px; background: #25D366; color: #fff;
    font-weight: 700; text-decoration: none; white-space: nowrap;
  }
  /* 上浮窗抬到固定条之上，避免遮挡 */
  .float-group { bottom: 78px; }
}

/* ===== 站内搜索 /search/ ===== */
.search-form { display: flex; gap: 10px; margin: 0 0 14px; flex-wrap: wrap; }
.search-form__input {
  flex: 1 1 260px; padding: 12px 14px; border: 1px solid #d5dee9; border-radius: 6px;
  font: inherit; font-size: 15px; color: var(--ink); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.search-form__input:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(24,99,220,.14);
}
.search-status { color: var(--muted); font-size: 14px; margin: 0 0 18px; }
.search-results { display: grid; gap: 16px; }
.search-result { border: 1px solid #e3eaf3; border-radius: 8px; padding: 16px 18px; background: #fff; }
.search-result__meta {
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--primary); margin: 0 0 6px; font-weight: 700;
}
.search-result h2 { font-size: 19px; margin: 0 0 8px; }
.search-result h2 a { color: var(--ink); text-decoration: none; }
.search-result h2 a:hover { color: var(--primary); text-decoration: underline; }
.search-result p:last-child { margin: 0; color: var(--muted); font-size: 15px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
@media (max-width: 600px) {
  .search-form { flex-direction: column; }
  .search-form .btn { width: 100%; }
}


/* ===== 网格贴合卡片数量：消除整行填不满留下的空白 ===== */
.products__grid--3 { grid-template-columns: repeat(3, 1fr); }
.products__grid--2 { grid-template-columns: repeat(2, minmax(0, 380px)); justify-content: center; }
@media (max-width: 1080px) {
  .products__grid--2 { grid-template-columns: repeat(2, minmax(0, 340px)); }
}
@media (max-width: 900px) {
  .products__grid--3, .products__grid--2 { grid-template-columns: repeat(2, 1fr); justify-content: stretch; }
}
@media (max-width: 560px) {
  .products__grid--3, .products__grid--2 { grid-template-columns: 1fr; }
}

/* ===== 询盘弹窗紧凑化（仅作用于弹窗内，不影响联系区表单） ===== */
.modal__box { max-width: 440px; margin: 4.5vh auto; padding: 26px 24px 22px; }
.modal__box h3 { font-size: 20px; margin-bottom: 6px; }
.modal__sub { font-size: 13px; margin-bottom: 16px; }
.modal__box .form-field { margin-bottom: 12px; }
.modal__box .form-field label { font-size: 13px; margin-bottom: 5px; }
.modal__box .form-field input[type="text"],
.modal__box .form-field input[type="email"],
.modal__box .form-field textarea,
.modal__box .form-field input[type="file"],
.modal__box .form-field select { padding: 9px 12px; font-size: 14px; }
.modal__box .form-row { gap: 12px; grid-template-columns: 1fr 1.1fr; }
.modal__box .btn { padding: 11px 18px; font-size: 14.5px; }

/* 表单两列布局：防止 select / input 撑破栅格 */
.form-row > .form-field { min-width: 0; }

/* 导航精简：搜索图标（Contact 已降级为普通 nav__item 链接，避免与 Get a Quote 双 CTA） */
.nav__item--search { display: flex; align-items: center; }
.nav__item--search .nav__search { display: inline-flex; align-items: center; color: var(--ink); }
.nav__item--search .nav__search:hover { color: var(--primary); }

/* ===== 政策页正文排版 ===== */
.policy { padding: 60px 0 68px; }
.policy__updated { color: var(--muted); font-size: 14px; margin: -4px 0 28px; }
.policy__body h2 { font-size: 21px; font-weight: 700; color: var(--dark); margin: 32px 0 12px; }
.policy__body p { margin: 0 0 15px; line-height: 1.75; color: #3a4651; }
.policy__body ul { list-style: disc; padding-left: 22px; margin: 0 0 16px; }
.policy__body ul li { margin: 0 0 9px; line-height: 1.75; color: #3a4651; }
.policy__body strong { color: var(--dark); }

/* ===== 联系页：地图（按坐标定位，不放详细地址）===== */
.contact__map { margin: 32px 0 12px; border: 1px solid var(--line, #e6edf3); border-radius: 10px; overflow: hidden; background: #f5f8fb; }
.contact__map iframe { display: block; width: 100%; height: 320px; border: 0; }
@media (max-width: 768px) { .contact__map iframe { height: 240px; } }

/* ============================================================
   Homepage visual optimization (2026-10-14)
   原则：不改文案 / SEO / 品牌色，只提升层级、节奏与精致度
   ============================================================ */

/* 1) 卡片悬浮顶部高亮条 —— 统一产品/服务/案例图片卡的交互语言 */
.product-card, .service-card { position: relative; }
.product-card::after, .service-card::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), #2e86c1);
  transform: scaleX(0); transform-origin: left center;
  transition: transform .35s ease; border-radius: var(--radius) var(--radius) 0 0;
  z-index: 3;
}
.product-card:hover::after, .service-card:hover::after { transform: scaleX(1); }

/* 2) 行业方案区换浅蓝底，与相邻白底服务区形成节奏分隔 */
#solutions { background: var(--bg-blue); }

/* 3) Hero 优化：统计条上方细线分隔 + 底部滚动提示 */
.hero__stats { padding-top: 26px; border-top: 1px solid rgba(255,255,255,.16); }
.hero__scroll {
  position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.45);
  border-radius: 14px; z-index: 3; transition: border-color .25s;
}
.hero__scroll:hover { border-color: #fff; }
.hero__scroll span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 8px;
  background: #fff; border-radius: 2px; transform: translateX(-50%);
  animation: heroScroll 1.7s ease-in-out infinite;
}
@keyframes heroScroll {
  0% { opacity: 0; transform: translate(-50%, 0); }
  35% { opacity: 1; }
  75% { opacity: 0; transform: translate(-50%, 14px); }
  100% { opacity: 0; }
}

/* 4) "Why" 五大优势：可扫读的悬浮卡片感 */
.why__point {
  padding: 14px 16px; border-radius: 10px; transition: background .25s, box-shadow .25s;
}
.why__point:hover { background: #fff; box-shadow: var(--shadow); }

/* 5) 信任实证区：由“又一组政策卡”改为数字指标带，打破重复栅格疲劳 */
#trust-proof { background: #fff; }
.proof-band {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px;
  background: var(--line); border-radius: 14px; overflow: hidden;
  box-shadow: var(--shadow); margin-top: 6px;
}
.proof-tile {
  background: #fff; padding: 30px 18px; text-align: center;
  display: flex; flex-direction: column; gap: 7px; transition: background .3s;
}
.proof-tile:hover { background: var(--bg-blue); }
.proof-tile__num {
  font-size: clamp(26px, 3vw, 38px); font-weight: 800; color: var(--primary);
  line-height: 1; letter-spacing: -.5px;
}
.proof-tile__num--text { font-size: clamp(15px, 1.9vw, 21px); letter-spacing: .2px; }
.proof-tile__label { font-size: 14px; font-weight: 700; color: var(--dark); }
.proof-tile__cap { font-size: 12.5px; color: var(--muted); line-height: 1.45; }
@media (max-width: 1080px) { .proof-band { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .proof-band { grid-template-columns: repeat(2, 1fr); } }

/* ===== Product page FAQ (native <details> accordion) ===== */
.faq-list { margin: 4px 0 8px; border-top: 1px solid #e2e8ee; }
.faq-item { border-bottom: 1px solid #e2e8ee; }
.faq-item > summary { cursor: pointer; list-style: none; padding: 14px 38px 14px 0; font-weight: 600; font-size: 15px; color: #2C3E50; position: relative; line-height: 1.4; }
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after { content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 22px; line-height: 1; color: #1A5276; font-weight: 700; }
.faq-item[open] > summary::after { content: "\2212"; }
.faq-item > p { margin: 0 0 16px; padding-right: 38px; color: #4a5a68; line-height: 1.7; }
@media (max-width: 560px) { .faq-item > summary { font-size: 14px; } .faq-item > p { padding-right: 8px; } }

/* ===== Locations 目录页：大陆导航 + 城市搜索 + 紧凑卡片（仅限 .loc-directory，不影响 FAQ/方案页） ===== */
.loc-directory h2 { scroll-margin-top: 96px; }
.loc-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 24px; }
.loc-nav__links { display: flex; flex-wrap: wrap; gap: 8px; }
.loc-nav__chip {
  display: inline-block; padding: 7px 14px; border-radius: 20px;
  background: var(--primary); color: #fff; font-size: 13.5px; font-weight: 700;
  text-decoration: none; transition: opacity .15s ease;
}
.loc-nav__chip:hover { opacity: .85; }
.loc-nav__search {
  flex: 1 1 260px; min-width: 220px; padding: 9px 16px;
  border: 1px solid #d5dde4; border-radius: 22px; font-size: 14px; color: var(--dark);
  background: #fff; outline: none;
}
.loc-nav__search:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,82,118,.12); }
.loc-nav__empty { flex-basis: 100%; margin: 4px 0 0; color: var(--muted); font-size: 14.5px; }
.loc-nav__empty a { color: var(--primary); font-weight: 700; }
.loc-directory .policy__grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
.loc-directory .policy-card {
  padding: 18px 16px 16px; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.loc-directory .policy-card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.12); }
.loc-directory .policy-card__tag { margin-bottom: 8px; padding: 2px 9px; font-size: 11px; }
.loc-directory .policy-card h3 { margin: 0 0 6px; font-size: 15.5px; line-height: 1.35; }
.loc-directory .policy-card h3 a { text-decoration: none; }
.loc-directory .policy-card h3 a::after { content: ""; position: absolute; inset: 0; }
.loc-directory .policy-card p { font-size: 13.5px; line-height: 1.5; }
@media (max-width: 1100px) { .loc-directory .policy__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .loc-directory .policy__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .loc-directory .policy__grid { grid-template-columns: 1fr; } }

/* Homepage: continent navigation to /locations/ — one horizontal row */
.cont-grid {
  display: flex; gap: 16px; margin-top: 8px;
  overflow-x: auto; padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}
.cont-card {
  position: relative; flex: 1 1 0; min-width: 150px;
  display: block; background: #fff; border-radius: 10px;
  padding: 20px 18px 18px; box-shadow: 0 2px 10px rgba(0,0,0,.05);
  border-top: 3px solid var(--primary); text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}
.cont-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,.12); }
.cont-card::after { content: ""; position: absolute; inset: 0; }
.cont-card h3 { margin: 0 0 6px; font-size: 16.5px; color: var(--dark); }
.cont-card p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.cont-card .policy-card__tag { margin-bottom: 8px; padding: 2px 9px; font-size: 11px; }

/* Homepage blog preview: compact image-left / text-right cards */
#blog-preview .services__grid { gap: 20px; }
#blog-preview .service-card {
  display: grid; grid-template-columns: 38% 1fr;
  grid-template-rows: auto auto 1fr; column-gap: 20px;
  align-items: start; padding: 0 0 16px;
}
#blog-preview .service-card__media {
  grid-column: 1; grid-row: 1 / span 3;
  align-self: stretch; aspect-ratio: auto; margin: 0;
}
#blog-preview .service-card h3 {
  grid-column: 2; grid-row: 1; padding: 18px 22px 0 0;
  font-size: 17px; margin-bottom: 0;
}
#blog-preview .service-card p { padding: 0 22px 0 0; }
#blog-preview .blog-card__meta { margin: 6px 0 6px; }
#blog-preview .service-card__media img { height: 100%; }
@media (max-width: 700px) {
  #blog-preview .service-card { grid-template-columns: 1fr; grid-template-rows: none; padding: 0 0 18px; }
  #blog-preview .service-card__media { grid-column: 1; grid-row: auto; aspect-ratio: 16 / 9; }
  #blog-preview .service-card h3 { grid-column: 1; grid-row: auto; padding: 14px 20px 0; }
  #blog-preview .service-card p { padding: 0 20px; }
}

/* Homepage: tighter vertical rhythm so the long page reads calmer */
.page-home .section { padding: 74px 0; }
.page-home .section-head { margin-bottom: 38px; }
.page-home .accordion { gap: 10px; }
@media (max-width: 700px) {
  .page-home .section { padding: 52px 0; }
  .page-home .section-head { margin-bottom: 28px; }
}

/* ===== Merged sections: secondary headings, programme list, process band, proof band ===== */
.sub-title { font-size: clamp(20px, 2.2vw, 25px); line-height: 1.3; color: var(--dark); margin: 0 0 10px; }
.sub-title--light { color: #fff; }
.sub-lead { color: var(--muted); font-size: 15px; line-height: 1.6; max-width: 800px; margin: 0 0 20px; }

.prog-block { margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--line); }
.prog-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; margin: 0 0 16px; }
.prog-list li { border-bottom: 1px solid var(--line); }
.prog-list a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 12px 0; transition: padding-left .2s ease;
}
.prog-list strong { font-size: 15px; font-weight: 600; color: var(--dark); transition: color .2s ease; }
.prog-list span { font-size: 13px; color: var(--muted); white-space: nowrap; }
.prog-list a:hover { padding-left: 6px; }
.prog-list a:hover strong { color: var(--accent); }

.process--band {
  width: calc(100% - 40px); max-width: var(--container);
  margin: 48px auto 0; border-radius: 14px; padding: 34px 30px 38px;
}
.process--band .container { padding: 0; }
.process__head { margin-bottom: 26px; }
.process__lead { color: #b8c6d8; font-size: 15px; margin: 0; }

.proof-wrap { margin-top: 52px; padding-top: 34px; border-top: 1px solid var(--line); }
.proof-wrap > .sub-title { text-align: center; }
.proof-tile__num { color: var(--accent); }

.blog-in-faq { margin-top: 46px; padding-top: 32px; border-top: 1px solid var(--line); }
.blog-in-faq > .sub-title { text-align: center; }

@media (max-width: 900px) {
  .prog-list { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 700px) {
  .process--band { padding: 26px 20px 30px; }
  .prog-list a { flex-direction: column; gap: 2px; }
  .prog-list span { white-space: normal; }
  .proof-wrap, .blog-in-faq { margin-top: 36px; padding-top: 26px; }
}

/* ===== P1: type scale, surface treatment, rhythm ===== */
.page-home p, .page-home li { line-height: 1.65; }
.page-home .cap-note,
.page-home .section-sub,
.page-home .sub-lead,
.page-home .service-card p,
.page-home .policy-card p,
.page-home .accordion__panel p,
.page-home .faq__intro,
.page-home .product-card__desc,
.page-home .prog-list strong,
.page-home .process-card p { font-size: 15.5px; }

.page-home .service-card h3 { font-size: 19px; line-height: 1.35; }
.page-home .policy-card h3 { font-size: 18px; }
.page-home .section-title { letter-spacing: -.2px; }

.page-home .services__grid,
.page-home .products__grid,
.page-home .policy__grid { gap: 24px; }

.page-home .service-card,
.page-home .product-card { box-shadow: none; border: 1px solid var(--line); }
.page-home .service-card:hover,
.page-home .product-card:hover { box-shadow: var(--shadow-hover); }
.page-home .policy-card { box-shadow: none; border: 1px solid var(--line); border-top: 3px solid var(--primary); }
.page-home .proof-tile { box-shadow: none; border: 1px solid var(--line); }

.blog-card__meta { color: #6b7280; }

/* 按工艺形态浏览的产品线入口（与按应用场景分类并列） */
.route-links{
  display:flex;flex-wrap:wrap;align-items:center;gap:10px 20px;
  margin:0 0 28px;padding:16px 22px;
  border:1px solid var(--line);border-radius:var(--radius);background:var(--metal);
}
.route-links__label{font-size:12.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);font-weight:600}
.route-links a{font-size:14.5px;font-weight:500;color:var(--dark);text-decoration:none;border-bottom:1px solid transparent;transition:color .2s,border-color .2s}
.route-links a:hover{color:var(--primary);border-bottom-color:var(--primary)}
@media(max-width:640px){
  .route-links{gap:8px 14px;padding:14px 16px}
  .route-links a{font-size:13.5px}
  .route-links__label{width:100%}
}

/* 保密案例：无照片时用文字占位，不放任何替代图 */
.product-card__media--quiet{
  display:flex;align-items:center;justify-content:center;
  background:#eef1f4;color:#7d8894;text-align:center;
}
.product-card__media--quiet span{
  font-size:12.5px;line-height:1.55;letter-spacing:.04em;
  text-transform:uppercase;padding:0 20px;max-width:210px;
}

/* 关于页 banner / 首页行业图标 / 资质条（GEO 图片接入） */
.about-banner{width:100%;height:auto;border-radius:10px;margin:22px 0;box-shadow:0 6px 22px rgba(0,0,0,.06)}
.industry-strip{display:flex;flex-wrap:wrap;gap:14px 28px;align-items:center;justify-content:center}
.industry-strip__item{display:flex;flex-direction:column;align-items:center;gap:8px;width:84px}
.industry-strip__item img{width:46px;height:46px;object-fit:contain}
.industry-strip__item span{font-size:13px;color:#5a6672}
.cert-strip{display:flex;flex-wrap:wrap;gap:18px 26px;align-items:center}
.cert-strip__img{height:62px;width:auto;object-fit:contain;background:#fff;padding:6px 10px;border-radius:8px;box-shadow:0 2px 10px rgba(0,0,0,.05)}
