/* =========================================================
   全站颜色和尺寸：改主色时优先修改这里
   ========================================================= */
:root {
  --navy-950: #050505;
  --navy-900: #0d0d0d;
  --navy-800: #171717;
  --navy-700: #2b2b2b;
  --steel-900: #1b1b1b;
  --steel-700: #4d4d4d;
  --steel-500: #777777;
  --steel-300: #c7c7c7;
  --steel-200: #dedede;
  --steel-100: #ececec;
  --steel-50: #f6f6f6;
  --white: #ffffff;
  --orange-600: #d85f00;
  --orange-500: #f47a1f;
  --orange-400: #ff9a3d;
  --green: #20b85a;
  --danger: #c23b31;
  --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.18);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --container: 1200px;
  --header-height: 78px;
}

/* =========================================================
   基础重置：统一不同浏览器的默认显示
   ========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  overflow-x: clip;
}

body {
  margin: 0;
  min-width: 280px;
  color: var(--steel-900);
  background: var(--white);
  font-family: "Arial", "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}

.btn,
.menu-toggle,
.filter-button,
.gallery-thumb,
.faq-question {
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
h4,
p,
ul,
ol {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--navy-900);
  font-family: "Arial Narrow", "Roboto Condensed", "Arial", sans-serif;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

p:last-child {
  margin-bottom: 0;
}

/* =========================================================
   通用布局、标题、按钮
   ========================================================= */
.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 96px 0;
}

.section-sm {
  padding: 64px 0;
}

.section-gray {
  background: var(--steel-50);
}

.section-dark {
  color: rgba(255, 255, 255, 0.78);
  background:
    linear-gradient(135deg, rgba(29, 29, 29, 0.98), rgba(5, 5, 5, 0.98)),
    var(--navy-900);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--white);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 44px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 16px;
}

.section-heading p {
  color: var(--steel-700);
  font-size: 1.06rem;
}

.section-dark .section-heading p {
  color: rgba(255, 255, 255, 0.72);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--orange-600);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 3px;
  content: "";
  background: currentColor;
}

.section-dark .eyebrow {
  color: var(--orange-400);
}

.muted {
  color: var(--steel-700);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy-800);
  font-weight: 800;
}

.text-link::after {
  content: "→";
  transition: transform 0.2s ease;
}

.text-link:hover::after,
.text-link:focus-visible::after {
  transform: translateX(4px);
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--navy-900);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.015em;
  line-height: 1.2;
  text-align: center;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: var(--orange-500);
  border-color: var(--orange-500);
  box-shadow: 0 10px 24px rgba(244, 122, 31, 0.24);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--orange-600);
  border-color: var(--orange-600);
}

.btn-dark {
  color: var(--white);
  background: var(--navy-800);
  border-color: var(--navy-800);
}

.btn-dark:hover,
.btn-dark:focus-visible {
  background: var(--navy-700);
  border-color: var(--navy-700);
}

.btn-outline {
  color: var(--navy-900);
  background: transparent;
  border-color: var(--steel-300);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  border-color: var(--navy-800);
}

.btn-outline-light {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline-light:hover,
.btn-outline-light:focus-visible {
  color: var(--navy-900);
  background: var(--white);
  border-color: var(--white);
}

.btn-whatsapp {
  color: var(--white);
  background: var(--green);
  border-color: var(--green);
}

.btn-small {
  min-height: 42px;
  padding: 9px 16px;
  font-size: 0.86rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: currentColor;
}

.icon-box {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: var(--orange-500);
  background: rgba(244, 122, 31, 0.11);
  border: 1px solid rgba(244, 122, 31, 0.22);
  border-radius: var(--radius-sm);
}

/* =========================================================
   顶部联系方式和全站导航栏
   ========================================================= */
.topbar {
  position: relative;
  z-index: 1001;
  color: rgba(255, 255, 255, 0.8);
  background: var(--navy-950);
  font-size: 0.8rem;
}

.topbar-inner {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.topbar-list {
  display: flex;
  align-items: center;
  gap: 24px;
}

.topbar a {
  transition: color 0.2s ease;
}

.topbar a:hover {
  color: var(--white);
}

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--steel-200);
  transition: box-shadow 0.2s ease;
}

.site-header.scrolled {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.nav-wrap {
  display: flex;
  min-height: var(--header-height);
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-800);
  border-radius: 3px;
  font-family: "Arial Black", sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
  transform: skewX(-5deg);
}

.brand-mark::after {
  position: absolute;
  right: -5px;
  bottom: -3px;
  width: 20px;
  height: 12px;
  content: "";
  background: var(--orange-500);
  transform: skewX(-30deg);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  color: var(--navy-900);
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.brand-copy small {
  margin-top: 5px;
  color: var(--steel-500);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-menu > a:not(.btn) {
  position: relative;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  padding: 0 15px;
  color: var(--steel-700);
  font-size: 0.9rem;
  font-weight: 800;
}

.nav-menu > a:not(.btn)::after {
  position: absolute;
  right: 15px;
  bottom: 4px;
  left: 15px;
  height: 3px;
  content: "";
  background: var(--orange-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-menu > a:not(.btn):hover,
.nav-menu > a:not(.btn).active {
  color: var(--navy-900);
}

.nav-menu > a:not(.btn):hover::after,
.nav-menu > a:not(.btn).active::after {
  transform: scaleX(1);
}

.nav-menu .btn {
  margin-left: 10px;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  padding: 11px;
  border: 1px solid var(--steel-300);
  border-radius: var(--radius-sm);
  background: transparent;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--navy-900);
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =========================================================
   首页第一屏大图区域
   ========================================================= */
.hero {
  position: relative;
  min-height: 700px;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-950);
}

.hero-media,
.hero-media::after {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-media::after {
  content: "";
  background:
    linear-gradient(90deg, rgba(3, 3, 3, 0.97) 0%, rgba(3, 3, 3, 0.82) 37%, rgba(3, 3, 3, 0.2) 69%, rgba(3, 3, 3, 0.08) 100%),
    linear-gradient(0deg, rgba(3, 3, 3, 0.58), transparent 45%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 700px;
  align-items: center;
  padding: 90px 0 130px;
}

.hero-content {
  max-width: 690px;
}

.hero h1 {
  margin-bottom: 24px;
  color: var(--white);
}

.hero h1 span {
  color: var(--orange-400);
}

.hero-lead {
  max-width: 620px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 32px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  font-weight: 700;
}

.hero-trust span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-trust span::before {
  width: 8px;
  height: 8px;
  content: "";
  background: var(--orange-500);
}

.hero-stats {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  color: var(--white);
  background: rgba(13, 13, 13, 0.94);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
}

.stat-item {
  padding: 24px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-item:last-child {
  border-right: 0;
}

.stat-number {
  display: block;
  margin-bottom: 2px;
  font-family: "Arial Narrow", sans-serif;
  font-size: 1.55rem;
  font-weight: 900;
}

.stat-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* =========================================================
   产品分类卡片和产品列表卡片
   ========================================================= */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.category-card {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-900);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.category-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(5, 5, 5, 0.96), rgba(5, 5, 5, 0.05) 70%);
}

.category-card:hover img {
  transform: scale(1.04);
}

.category-card-content {
  position: absolute;
  z-index: 1;
  right: 24px;
  bottom: 24px;
  left: 24px;
}

.category-card h3 {
  margin-bottom: 7px;
  color: var(--white);
}

.category-card p {
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
}

.category-card .text-link {
  color: var(--orange-400);
  font-size: 0.84rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--steel-200);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.07);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.product-card:hover {
  border-color: var(--steel-300);
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.product-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--steel-100);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.03);
}

.product-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 10px;
  color: var(--white);
  background: var(--navy-900);
  border-radius: 2px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card-body {
  min-width: 0;
  display: flex;
  height: 100%;
  flex-direction: column;
  padding: 22px;
}

.product-code {
  margin-bottom: 7px;
  color: var(--orange-600);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-card h3 {
  margin-bottom: 15px;
}

.spec-list {
  display: grid;
  gap: 7px;
  margin: 0 0 20px;
  padding: 0;
  color: var(--steel-700);
  font-size: 0.85rem;
  list-style: none;
}

.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 7px;
  border-bottom: 1px dashed var(--steel-200);
}

.spec-list strong {
  color: var(--steel-900);
}

.product-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.product-actions .btn {
  flex: 1;
}

/* =========================================================
   服务优势、公司介绍和采购流程
   ========================================================= */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--steel-200);
  border-top: 4px solid var(--orange-500);
  border-radius: var(--radius-sm);
}

.feature-card .icon-box {
  margin-bottom: 20px;
}

.feature-card h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
}

.feature-card p {
  color: var(--steel-700);
  font-size: 0.9rem;
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px, 7vw, 90px);
}

.split-media {
  position: relative;
}

.split-media > img {
  min-height: 480px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.media-badge {
  position: absolute;
  right: -25px;
  bottom: 28px;
  width: min(260px, 70%);
  padding: 22px;
  color: var(--white);
  background: var(--navy-800);
  border-left: 5px solid var(--orange-500);
  box-shadow: var(--shadow-lg);
}

.media-badge strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.2rem;
}

.media-badge span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 30px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  font-weight: 700;
}

.check-list li::before {
  position: absolute;
  top: 2px;
  left: 0;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  content: "✓";
  color: var(--white);
  background: var(--orange-500);
  font-size: 0.72rem;
  font-weight: 900;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  counter-reset: process;
}

.process-item {
  position: relative;
  padding: 0 22px;
  counter-increment: process;
}

.process-item::before {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  place-items: center;
  content: "0" counter(process);
  color: var(--white);
  background: var(--orange-500);
  font-weight: 900;
}

.process-item:not(:last-child)::after {
  position: absolute;
  top: 23px;
  right: -8px;
  width: 35%;
  height: 2px;
  content: "";
  background: rgba(255, 255, 255, 0.2);
}

.process-item h3 {
  font-size: 1rem;
}

.process-item p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.83rem;
}

.application-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 16px;
}

.application-card {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-900);
  border-radius: var(--radius-md);
}

.application-card:first-child {
  grid-row: span 2;
  min-height: 456px;
}

.application-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.application-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(5, 5, 5, 0.92), transparent 70%);
}

.application-card h3 {
  position: absolute;
  z-index: 1;
  right: 20px;
  bottom: 16px;
  left: 20px;
  margin: 0;
  color: var(--white);
}

/* =========================================================
   全站询盘行动区
   ========================================================= */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: 70px 0;
  color: var(--white);
  background: var(--navy-800);
}

.cta-band::after {
  position: absolute;
  top: -80px;
  right: -50px;
  width: 300px;
  height: 300px;
  content: "";
  border: 60px solid rgba(255, 255, 255, 0.04);
  transform: rotate(28deg);
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-copy {
  max-width: 690px;
}

.cta-copy h2 {
  margin-bottom: 12px;
  color: var(--white);
}

.cta-copy p {
  color: rgba(255, 255, 255, 0.72);
}

/* =========================================================
   内页通用顶部横幅和面包屑
   ========================================================= */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.98), rgba(36, 36, 36, 0.9)),
    url("../images/hero.jpg") center 58% / cover;
}

.page-hero::after {
  position: absolute;
  right: -80px;
  bottom: -130px;
  width: 400px;
  height: 240px;
  content: "";
  border: 60px solid rgba(255, 255, 255, 0.05);
  transform: rotate(-18deg);
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.page-hero h1 {
  margin-bottom: 18px;
  color: var(--white);
  font-size: clamp(2.4rem, 5vw, 4.3rem);
}

.page-hero p {
  max-width: 680px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.8rem;
  font-weight: 700;
}

.breadcrumbs a:hover {
  color: var(--white);
}

.breadcrumbs span:not(:last-child)::after,
.breadcrumbs a::after {
  margin-left: 8px;
  content: "/";
  color: rgba(255, 255, 255, 0.35);
}

/* =========================================================
   产品列表筛选区域
   ========================================================= */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 38px;
}

.filter-button {
  min-height: 44px;
  padding: 10px 18px;
  color: var(--steel-700);
  background: var(--white);
  border: 1px solid var(--steel-300);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 800;
  transition: all 0.2s ease;
}

.filter-button:hover,
.filter-button.active {
  color: var(--white);
  background: var(--navy-800);
  border-color: var(--navy-800);
}

.product-card[hidden] {
  display: none;
}

.results-count {
  margin-left: auto;
  align-self: center;
  color: var(--steel-500);
  font-size: 0.82rem;
}

.buyer-note {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  margin-top: 72px;
  padding: 42px;
  background: var(--steel-50);
  border-left: 5px solid var(--orange-500);
}

.buyer-note h2 {
  margin-bottom: 0;
  font-size: 1.8rem;
}

.buyer-note ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.buyer-note li::before {
  margin-right: 8px;
  content: "—";
  color: var(--orange-500);
  font-weight: 900;
}

/* =========================================================
   单品详情：图片、规格、优势、包装物流
   ========================================================= */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: start;
  gap: 56px;
}

.gallery-main {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--steel-100);
  border: 1px solid var(--steel-200);
  border-radius: var(--radius-md);
}

.gallery-main.portrait {
  aspect-ratio: 1 / 1;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.gallery-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  padding: 0;
  background: var(--steel-100);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
}

.gallery-thumb.active {
  border-color: var(--orange-500);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-summary .product-code {
  margin-bottom: 12px;
}

.product-summary h1 {
  margin-bottom: 17px;
  font-size: clamp(2.1rem, 4.5vw, 3.7rem);
}

.product-summary .lead {
  color: var(--steel-700);
  font-size: 1.02rem;
}

.key-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 26px 0;
}

.key-spec {
  padding: 17px;
  background: var(--steel-50);
  border-left: 3px solid var(--orange-500);
}

.key-spec span {
  display: block;
  margin-bottom: 3px;
  color: var(--steel-500);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.key-spec strong {
  color: var(--navy-900);
  font-size: 1.08rem;
}

.quote-panel {
  margin-top: 26px;
  padding: 24px;
  background: var(--navy-900);
  border-radius: var(--radius-md);
}

.quote-panel p {
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

.quote-panel .button-row {
  gap: 9px;
}

.quote-panel .btn {
  flex: 1;
}

.product-tabs {
  display: grid;
  grid-template-columns: 0.3fr 0.7fr;
  gap: 48px;
}

.product-tabs > * {
  min-width: 0;
}

.section-nav {
  position: sticky;
  top: 110px;
  align-self: start;
  padding: 22px;
  background: var(--steel-50);
  border: 1px solid var(--steel-200);
}

.section-nav strong {
  display: block;
  margin-bottom: 13px;
  color: var(--navy-900);
}

.section-nav a {
  display: block;
  padding: 10px 0;
  color: var(--steel-700);
  border-bottom: 1px solid var(--steel-200);
  font-size: 0.86rem;
  font-weight: 700;
}

.section-nav a:hover {
  color: var(--orange-600);
}

.detail-section {
  padding-bottom: 55px;
  scroll-margin-top: 110px;
}

.detail-section + .detail-section {
  padding-top: 55px;
  border-top: 1px solid var(--steel-200);
}

.detail-section h2 {
  margin-bottom: 20px;
  font-size: 2rem;
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.advantage-item {
  padding: 22px;
  background: var(--steel-50);
}

/* SEO改动：产品优势标题改为 H3 后保持原来的视觉样式 */
.advantage-item strong,
.advantage-item h3 {
  display: block;
  margin-bottom: 5px;
  color: var(--navy-900);
  font-size: 1rem;
}

.advantage-item p {
  color: var(--steel-700);
  font-size: 0.86rem;
}

.spec-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--steel-200);
}

.spec-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
}

.spec-table th,
.spec-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--steel-200);
  text-align: left;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: 0;
}

.spec-table th {
  width: 48%;
  color: var(--steel-700);
  background: var(--steel-50);
  font-size: 0.86rem;
}

.spec-table td {
  color: var(--navy-900);
  font-weight: 800;
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.option-item {
  padding: 18px;
  color: var(--navy-900);
  background: var(--white);
  border: 1px solid var(--steel-200);
  font-size: 0.86rem;
  font-weight: 800;
}

.option-item::before {
  margin-right: 8px;
  content: "+";
  color: var(--orange-600);
}

.faq-list {
  border-top: 1px solid var(--steel-200);
}

.faq-item {
  border-bottom: 1px solid var(--steel-200);
}

.faq-question {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  color: var(--navy-900);
  background: transparent;
  border: 0;
  text-align: left;
  font-weight: 800;
}

.faq-question::after {
  content: "+";
  color: var(--orange-600);
  font-size: 1.4rem;
}

.faq-question[aria-expanded="true"]::after {
  content: "−";
}

.faq-answer {
  display: none;
  padding: 0 36px 20px 0;
  color: var(--steel-700);
  font-size: 0.9rem;
}

.faq-answer.open {
  display: block;
}

.timeline {
  position: relative;
  display: grid;
  gap: 24px;
  padding-left: 42px;
}

.timeline::before {
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 14px;
  width: 2px;
  content: "";
  background: var(--steel-200);
}

.timeline-item {
  position: relative;
  padding: 24px;
  background: var(--steel-50);
}

.timeline-item::before {
  position: absolute;
  top: 27px;
  left: -36px;
  width: 16px;
  height: 16px;
  content: "";
  background: var(--orange-500);
  border: 4px solid var(--white);
  box-shadow: 0 0 0 2px var(--orange-500);
}

.timeline-item h3 {
  margin-bottom: 6px;
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.market-card {
  padding: 24px 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.market-card strong {
  display: block;
  margin-top: 8px;
}

/* =========================================================
   联系方式和询盘表单
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  align-items: start;
  gap: 52px;
}

.contact-card {
  min-width: 0;
  overflow: hidden;
  background: var(--navy-900);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.contact-card-head {
  padding: 34px;
  color: var(--white);
  background: var(--navy-800);
  border-bottom: 4px solid var(--orange-500);
}

.contact-card-head h2 {
  margin-bottom: 10px;
  color: var(--white);
  font-size: 1.8rem;
}

.contact-card-head p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.88rem;
}

.contact-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 18px 34px 34px;
  list-style: none;
}

.contact-list li {
  padding: 16px 0;
  color: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
}

.contact-list li:last-child {
  border-bottom: 0;
}

.contact-list span {
  display: block;
  margin-bottom: 3px;
  color: var(--orange-400);
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.contact-list a:hover {
  color: var(--white);
}

.form-card {
  min-width: 0;
  padding: clamp(28px, 5vw, 46px);
  background: var(--white);
  border: 1px solid var(--steel-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.form-card h2 {
  margin-bottom: 10px;
  font-size: 2rem;
}

.form-intro {
  margin-bottom: 26px;
  color: var(--steel-700);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.form-group {
  display: grid;
  gap: 7px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  color: var(--navy-900);
  font-size: 0.8rem;
  font-weight: 800;
}

.required {
  color: var(--danger);
}

.form-control {
  width: 100%;
  min-height: 50px;
  padding: 11px 13px;
  color: var(--steel-900);
  background: var(--white);
  border: 1px solid var(--steel-300);
  border-radius: var(--radius-sm);
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.form-control:focus {
  border-color: var(--navy-700);
  box-shadow: 0 0 0 3px rgba(244, 122, 31, 0.18);
}

textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

.form-hint {
  color: var(--steel-500);
  font-size: 0.73rem;
}

.form-status {
  display: none;
  padding: 12px 14px;
  font-size: 0.84rem;
}

.form-status.show {
  display: block;
}

.form-status.success {
  color: #146235;
  background: #e9f8ef;
  border: 1px solid #a9dfbd;
}

.form-status.error {
  color: #8d261e;
  background: #fff0ee;
  border: 1px solid #efbbb5;
}

.form-status strong {
  display: block;
  margin-bottom: 5px;
}

.form-status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.form-status-actions a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  color: #0b5129;
  background: var(--white);
  border: 1px solid #79c996;
  border-radius: var(--radius-sm);
  font-weight: 800;
  text-decoration: none;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}

.privacy-check {
  margin-top: 18px;
  color: var(--steel-700);
  font-size: 0.78rem;
}

.privacy-check a {
  color: var(--navy-700);
  text-decoration: underline;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.contact-method {
  padding: 25px;
  background: var(--steel-50);
  border: 1px solid var(--steel-200);
}

.contact-method h3 {
  margin-bottom: 6px;
  font-size: 1.08rem;
}

.contact-method p {
  color: var(--steel-700);
  font-size: 0.84rem;
}

/* =========================================================
   隐私政策正文
   ========================================================= */
.policy-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  align-items: start;
  gap: 60px;
}

.policy-nav {
  position: sticky;
  top: 110px;
  padding: 22px;
  background: var(--steel-50);
  border: 1px solid var(--steel-200);
}

.policy-nav strong {
  display: block;
  margin-bottom: 10px;
}

.policy-nav a {
  display: block;
  padding: 7px 0;
  color: var(--steel-700);
  font-size: 0.8rem;
}

.policy-nav a:hover {
  color: var(--orange-600);
}

.policy-content {
  max-width: 820px;
}

.policy-content section {
  padding-bottom: 38px;
  scroll-margin-top: 110px;
}

.policy-content h2 {
  margin-bottom: 14px;
  font-size: 1.65rem;
}

.policy-content h3 {
  margin-top: 22px;
  font-size: 1.05rem;
}

.policy-content p,
.policy-content li {
  color: var(--steel-700);
}

.policy-content li {
  margin-bottom: 8px;
}

.policy-updated {
  display: inline-block;
  margin-bottom: 30px;
  padding: 7px 11px;
  color: var(--navy-700);
  background: var(--steel-100);
  font-size: 0.76rem;
  font-weight: 800;
}

/* =========================================================
   全站统一页脚
   ========================================================= */
.site-footer {
  color: rgba(255, 255, 255, 0.66);
  background: var(--navy-950);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr 1fr;
  gap: 48px;
  padding: 72px 0 55px;
}

.footer-brand .brand-copy {
  color: var(--white);
}

.footer-brand p {
  max-width: 330px;
  margin: 20px 0;
  font-size: 0.87rem;
}

.footer-title {
  margin-bottom: 18px;
  color: var(--white);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  font-size: 0.84rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--orange-400);
}

.social-links {
  display: flex;
  gap: 9px;
}

.social-links a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 3px;
  font-size: 0.72rem;
  font-weight: 900;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.social-links a:hover {
  background: var(--orange-500);
  border-color: var(--orange-500);
}

.footer-bottom {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  font-size: 0.76rem;
}

/* SEO改动：页脚关键词句，只增加文字，不改变原有栅格布局 */
.footer-seo-text {
  margin: 0 auto;
  padding: 0 0 20px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.78rem;
  line-height: 1.7;
}

/* =========================================================
   右下角 WhatsApp 悬浮按钮和提示层
   ========================================================= */
.whatsapp-float {
  position: fixed;
  z-index: 900;
  right: 22px;
  bottom: 22px;
  display: flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--green);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.03);
}

.whatsapp-float .icon {
  width: 27px;
  height: 27px;
}

.cookie-notice {
  position: fixed;
  z-index: 1200;
  right: 20px;
  bottom: 20px;
  display: none;
  width: min(420px, calc(100% - 40px));
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--steel-200);
  border-left: 4px solid var(--orange-500);
  box-shadow: var(--shadow-lg);
}

.cookie-notice.show {
  display: block;
}

.cookie-notice p {
  margin-bottom: 14px;
  color: var(--steel-700);
  font-size: 0.8rem;
}

.cookie-notice a {
  color: var(--navy-700);
  text-decoration: underline;
}

/* =========================================================
   内容默认直接显示，方便谷歌抓取，也避免慢设备出现空白
   ========================================================= */
.reveal {
  opacity: 1;
  transform: none;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* =========================================================
   平板和手机自适应
   ========================================================= */
@media (max-width: 1080px) {
  .nav-menu > a:not(.btn) {
    padding-inline: 10px;
  }

  .category-grid,
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 0;
  }

  .process-item:not(:last-child)::after {
    display: none;
  }

  .market-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 70px;
  }

  .topbar {
    display: none;
  }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 1001;
  }

  .nav-menu {
    position: fixed;
    z-index: 999;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 24px 20px;
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
    overflow-y: auto;
    background: var(--white);
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu > a:not(.btn) {
    width: 100%;
    min-height: 54px;
    padding: 0;
    border-bottom: 1px solid var(--steel-200);
  }

  .nav-menu > a:not(.btn)::after {
    display: none;
  }

  .nav-menu .btn {
    width: 100%;
    margin: 18px 0 0;
  }

  .hero,
  .hero-inner {
    min-height: 680px;
  }

  .hero-inner {
    padding: 85px 0 170px;
  }

  .hero-media::after {
    background: linear-gradient(90deg, rgba(3, 3, 3, 0.97), rgba(3, 3, 3, 0.58));
  }

  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item {
    padding: 15px 18px;
  }

  .stat-item:nth-child(2) {
    border-right: 0;
  }

  .stat-item:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .stat-number {
    font-size: 1.1rem;
  }

  .split-layout,
  .product-detail-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .split-media {
    max-width: 680px;
  }

  .media-badge {
    right: 15px;
  }

  .application-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .application-card:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 320px;
  }

  .product-tabs {
    grid-template-columns: 1fr;
  }

  .section-nav {
    position: static;
    display: flex;
    overflow-x: auto;
    gap: 18px;
    padding: 12px 16px;
    white-space: nowrap;
  }

  .section-nav strong {
    display: none;
  }

  .section-nav a {
    border: 0;
  }

  .buyer-note,
  .policy-layout {
    grid-template-columns: 1fr;
  }

  .policy-nav {
    position: static;
  }

  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 70px 0;
  }

  .section-sm {
    padding: 50px 0;
  }

  .brand-copy {
    font-size: 0.86rem;
  }

  .brand-copy small {
    font-size: 0.5rem;
  }

  .hero,
  .hero-inner {
    min-height: 720px;
  }

  .hero-media img {
    object-position: 64% center;
  }

  .hero-media::after {
    background:
      linear-gradient(90deg, rgba(3, 3, 3, 0.94), rgba(3, 3, 3, 0.48)),
      linear-gradient(0deg, rgba(3, 3, 3, 0.72), transparent);
  }

  .hero-inner {
    align-items: flex-start;
    padding-top: 80px;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 12vw, 3.6rem);
  }

  .hero .btn {
    width: 100%;
  }

  .hero-trust {
    gap: 8px 15px;
    font-size: 0.75rem;
  }

  .category-grid,
  .product-grid,
  .feature-grid,
  .application-grid,
  .market-grid,
  .contact-methods {
    grid-template-columns: 1fr;
  }

  /* 手机端完整显示客户提供的竖版实机照片 */
  .gallery-main.portrait {
    aspect-ratio: 3 / 4;
  }

  .category-card {
    min-height: 360px;
  }

  .application-card,
  .application-card:first-child {
    grid-column: auto;
    min-height: 240px;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .process-item {
    padding-left: 0;
  }

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-inner .button-row,
  .cta-inner .btn {
    width: 100%;
  }

  .page-hero {
    padding: 70px 0;
  }

  .filter-bar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .filter-button {
    padding-inline: 8px;
  }

  .results-count {
    grid-column: 1 / -1;
    margin: 5px 0 0;
  }

  .buyer-note {
    padding: 28px;
  }

  .buyer-note ul {
    grid-template-columns: 1fr;
  }

  .key-specs,
  .advantage-grid,
  .options-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-group.full {
    grid-column: auto;
  }

  .form-actions,
  .form-actions .btn {
    width: 100%;
  }

  .form-status-actions,
  .form-status-actions a {
    width: 100%;
  }

  .quote-panel .button-row {
    flex-direction: column;
  }

  .quote-panel .btn {
    width: 100%;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 18px 0;
  }

  .whatsapp-float {
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom));
    width: 54px;
    height: 54px;
  }
}

@media (max-width: 380px) {
  h1 {
    font-size: 2.15rem;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .container {
    width: min(calc(100% - 22px), var(--container));
  }

  .form-card,
  .contact-card,
  .buyer-note {
    padding-right: 22px;
    padding-left: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
