/* 平湖精彩贸易有限公司 · 官网样式
   主色调：现代企业明朗风（象牙白底 / 深黛蓝标 / 经典中国红点缀）
   去暗沉黑底，提升商贸工业供应链企业的专业信赖感与现代感 */

:root {
  --ink: #0F172A;          /* Slate 900 - 核心主标题 */
  --ink-light: #334155;    /* Slate 700 - 正文字体 */
  --ink-deep: #0B1220;     /* 深黛蓝 - 仅用于顶部栏与页脚 */
  --paper: #FFFFFF;        /* 纯白 */
  --paper-2: #F8FAFC;      /* Slate 50 - 浅色交替底色 */
  --paper-3: #F1F5F9;      /* Slate 100 - 边框与占位浅灰 */
  --line: #E2E8F0;         /* Slate 200 - 柔和边框线 */
  --line-strong: #CBD5E1;  /* Slate 300 - 控件边框线 */
  --signal: #C23028;       /* 商业中国红 - 重点按钮与强调 */
  --signal-dk: #9E221C;    /* 红悬停加深 */
  --signal-light: #FEF2F2; /* 浅红背景 - 徽章与标签 */
  --signal-border: #FECACA;/* 浅红边框 */
  --muted: #64748B;        /* Slate 500 - 辅助说明文字 */

  --serif: "Source Han Serif SC", "Noto Serif SC", "Songti SC", "SimSun", serif;
  --sans: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --num: "Bahnschrift", "DIN Alternate", "Oswald", var(--sans);

  --wrap: 1200px;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 4px 16px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 12px 30px -4px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-light);
  background: var(--paper);
  font-variant-numeric: tabular-nums;
}

h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 99;
  background: var(--signal); color: #fff; padding: 12px 20px; border-radius: 0 0 4px 0;
}
.skip:focus { left: 0; }

/* ── 现代高雅分割线 ───────────────────────────────────── */
.stitch-rule {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--line) 15%, var(--line) 85%, transparent 100%);
  margin: 0;
}

/* ── 顶部商务信息条 ──────────────────────────────────── */
.topbar {
  background: var(--ink-deep);
  color: #94A3B8;
  font-size: 13.5px;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.topbar__in {
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  align-items: center; justify-content: space-between;
  min-height: 42px; padding-block: 6px;
}
.topbar__note { color: #CBD5E1; }
.topbar__links { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.topbar a {
  color: #E2E8F0; text-decoration: none;
  border-bottom: 1px solid rgba(226, 232, 240, 0.3); padding-bottom: 1px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.topbar a:hover { color: #FFFFFF; border-bottom-color: #FFFFFF; }

/* ── 主导航 ──────────────────────────────────────────── */
.nav {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 40;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.03);
}
.nav__in { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; min-height: 68px; }
.nav__brand {
  font-family: var(--serif); font-weight: 700; font-size: 21px; color: var(--ink);
  text-decoration: none; margin-right: 24px; white-space: nowrap; display: flex; align-items: center;
}
.nav__brand span {
  font-family: var(--sans); font-weight: 500; font-size: 11px;
  letter-spacing: 0.16em; color: var(--muted); margin-left: 10px;
}
.nav__list { display: flex; flex-wrap: wrap; gap: 4px; flex: 1; }
.nav__list a {
  display: block; text-decoration: none; color: #475569;
  font-size: 15px; font-weight: 500; padding: 8px 16px; border-radius: var(--radius);
  transition: color 0.18s ease, background-color 0.18s ease;
}
.nav__list a:hover { color: var(--signal); background: var(--signal-light); }
.nav__cta {
  display: inline-flex; align-items: center; height: 40px; padding: 0 20px;
  background: var(--signal); color: #fff; text-decoration: none;
  border-radius: var(--radius); font-weight: 600; font-size: 14.5px; white-space: nowrap;
  box-shadow: 0 2px 8px rgba(194, 48, 40, 0.25);
  transition: background-color 0.18s ease, transform 0.15s ease;
}
.nav__cta:hover { background: var(--signal-dk); transform: translateY(-1px); }

/* ── 按钮 ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px;
  border: 1px solid transparent; border-radius: var(--radius);
  font-weight: 600; font-size: 15.5px;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.15s ease;
}
.btn--signal {
  background: var(--signal); color: #fff;
  box-shadow: 0 4px 14px rgba(194, 48, 40, 0.28);
}
.btn--signal:hover { background: var(--signal-dk); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(194, 48, 40, 0.35); }
.btn--outline {
  border-color: var(--line-strong); background: #FFFFFF; color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.btn--outline:hover { border-color: var(--ink); background: var(--paper-2); transform: translateY(-1px); }

/* ── 首页 Hero（明亮大气、通透明朗） ─────────────────── */
.hero {
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 60%, #F1F5F9 100%);
  color: var(--ink); position: relative;
  border-bottom: 1px solid var(--line);
}
.hero__in {
  display: grid; grid-template-columns: 1.35fr 0.95fr;
  gap: 48px; align-items: center; padding-block: 76px 64px;
}
.hero__brand {
  font-size: 14px; color: var(--muted); margin-bottom: 20px;
  display: flex; align-items: center; gap: 10px; font-weight: 500;
}
.badge {
  display: inline-flex; align-items: center;
  background: var(--signal-light); color: var(--signal);
  border: 1px solid var(--signal-border); padding: 3px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.05em;
}
.hero__title {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(32px, 4.6vw, 52px); line-height: 1.26; letter-spacing: -0.01em;
  color: var(--ink); text-wrap: balance;
}
.hero__sub {
  margin-top: 22px; max-width: 35em; color: var(--ink-light);
  font-size: 16.5px; line-height: 1.8;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* ── 商务侧边卡片 ────────────────────────────────────── */
.aside {
  background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 26px; box-shadow: var(--shadow-lg);
}
.aside__title {
  font-family: var(--serif); font-weight: 700; font-size: 19px;
  color: var(--ink); margin-bottom: 16px; padding-bottom: 10px;
  border-bottom: 2px solid var(--signal-light);
}
.aside ul { display: grid; gap: 12px; }
.aside li {
  padding-top: 10px; border-top: 1px dashed var(--line);
  font-size: 14.5px; color: var(--ink-light); line-height: 1.6;
}
.aside li:first-child { border-top: 0; padding-top: 0; }
.aside li strong { color: var(--ink); font-weight: 600; }

/* ── 章节布局 ────────────────────────────────────────── */
.sec { padding-block: 76px; background: var(--paper); }
.sec--tint { background: var(--paper-2); border-block: 1px solid var(--line); }
.sec__head { max-width: 58ch; margin-bottom: 44px; }
.sec__title {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(25px, 3.2vw, 36px); line-height: 1.35; letter-spacing: -0.005em;
  color: var(--ink); text-wrap: balance;
}
.sec__note { margin-top: 12px; color: var(--muted); font-size: 16px; line-height: 1.7; }

/* ── 三大主营业务卡片 ─────────────────────────────────── */
.biz { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.biz__item {
  position: relative; background: #FFFFFF;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 28px; display: flex; flex-direction: column; gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.biz__item:hover {
  transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--line-strong);
}
.biz__no {
  font-family: var(--num); font-size: 13.5px; letter-spacing: 0.16em;
  color: var(--signal); font-weight: 700;
}
.biz__name { font-family: var(--serif); font-weight: 700; font-size: 22px; color: var(--ink); }
.biz__desc { color: var(--ink-light); font-size: 15px; line-height: 1.75; flex: 1; }
.biz__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip {
  font-size: 12.5px; padding: 3px 10px; border-radius: var(--radius);
  background: var(--paper-2); color: var(--ink-light); border: 1px solid var(--line); font-weight: 500;
}
.biz__link {
  font-weight: 600; font-size: 15px; color: var(--signal); text-decoration: none;
  align-self: flex-start; margin-top: 8px; display: inline-flex; align-items: center; gap: 4px;
  transition: color 0.15s ease;
}
.biz__link:hover { color: var(--signal-dk); }

/* ── 实拍样品展示 ─────────────────────────────────────── */
.prod { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.prod__item {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: #FFFFFF; overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.prod__item:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.prod__img {
  aspect-ratio: 3/4; width: 100%; object-fit: cover; display: block;
  background: var(--paper-3);
}
.prod__body { padding: 18px 18px 22px; }
.prod__name { font-family: var(--serif); font-weight: 700; font-size: 18px; color: var(--ink); }
.prod__desc { margin-top: 6px; color: var(--muted); font-size: 14.5px; line-height: 1.65; }
.prod__spec {
  margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line);
  font-size: 13.5px; color: var(--signal); font-weight: 500;
}

/* ── 仓储实拍画廊 ─────────────────────────────────────── */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gallery__item {
  margin: 0; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; background: #FFFFFF; box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.gallery__item:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.gallery__img {
  aspect-ratio: 4/3; width: 100%; object-fit: cover; display: block;
  background: var(--paper-3);
}
.gallery__cap {
  padding: 14px 18px; font-size: 14px; color: var(--ink-light);
  background: #FFFFFF; border-top: 1px solid var(--line); font-weight: 500; line-height: 1.6;
}

/* ── 收货流程（明朗三步） ────────────────────────────── */
.flow { display: grid; grid-template-columns: repeat(3, 1fr); position: relative; gap: 20px; }
.flow::before {
  content: ""; position: absolute; left: 16%; right: 16%; top: 20px;
  border-top: 2px dashed var(--line-strong); z-index: 0;
}
.flow__step { position: relative; z-index: 1; padding: 0 12px; text-align: left; }
.flow__dot {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: #FFFFFF; border: 2px solid var(--line-strong);
  font-family: var(--num); font-size: 16px; font-weight: 700; color: var(--ink);
  margin-bottom: 18px; box-shadow: var(--shadow-sm);
}
.flow__step--now .flow__dot {
  background: var(--signal); border-color: var(--signal); color: #fff;
  box-shadow: 0 4px 14px rgba(194, 48, 40, 0.35);
}
.flow__name { font-family: var(--serif); font-weight: 700; font-size: 19px; color: var(--ink); }
.flow__desc { margin-top: 8px; color: var(--muted); font-size: 14.5px; line-height: 1.7; }

/* ── 在线报货工具 ────────────────────────────────────── */
.quote { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: start; }
.quote__aside {
  margin-top: 24px; padding: 22px;
  background: #FFFFFF; border: 1px solid var(--line); border-left: 4px solid var(--signal);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.quote__aside-item { font-weight: 600; margin-bottom: 8px; color: var(--ink); font-size: 15px; }
.quote__aside-sub { font-size: 13.5px; color: var(--muted); margin-top: 10px; }

.form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 28px; box-shadow: var(--shadow-md);
}
.field { display: grid; gap: 7px; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 500; color: var(--ink-light); }
.field .req { color: var(--signal); }
.field input, .field select, .field textarea {
  background: #FFFFFF; border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 12px 14px; min-height: 46px; color: var(--ink);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.field textarea { min-height: 96px; resize: vertical; line-height: 1.65; }
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) 20px, calc(100% - 14px) 20px;
  background-size: 6px 6px, 6px 6px; background-repeat: no-repeat;
}
.field input::placeholder, .field textarea::placeholder { color: #94A3B8; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--signal); outline: 3px solid rgba(194, 48, 40, 0.12);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] {
  border-color: var(--signal);
}
.err { font-size: 13px; color: var(--signal); min-height: 1.2em; font-weight: 500; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.form__hint { font-size: 13.5px; color: var(--muted); }

.out { grid-column: 1 / -1; display: none; }
.out[data-open="true"] { display: grid; gap: 12px; }
.out textarea {
  width: 100%; min-height: 170px;
  background: var(--paper-2); border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 14px; color: var(--ink); line-height: 1.8; font-size: 14.5px; resize: vertical;
}

/* ── 优势分栏 ────────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.split--wide { grid-template-columns: 1.25fr 0.85fr; }
.split__body p + p { margin-top: 16px; }
.split__body p { max-width: 62ch; line-height: 1.8; color: var(--ink-light); }
.split__body strong { color: var(--ink); }

/* ── 常见问题 ────────────────────────────────────────── */
.faq { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 44px; }
.faq__q {
  font-family: var(--serif); font-weight: 700; font-size: 17.5px; color: var(--ink);
  padding-top: 22px; margin-top: 20px; border-top: 1px dashed var(--line);
}
.faq__a { color: var(--muted); font-size: 15px; margin-top: 8px; line-height: 1.75; }

/* ── 联系卡片 ────────────────────────────────────────── */
.contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact__item {
  background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px 24px; border-top: 4px solid var(--signal);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.contact__item:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.contact__k { font-size: 13.5px; letter-spacing: 0.1em; color: var(--muted); font-weight: 600; }
.contact__v {
  font-family: var(--num); font-size: 22px; font-weight: 700;
  margin-top: 10px; word-break: break-all; color: var(--ink);
}
.contact__note { margin-top: 8px; color: var(--muted); font-size: 14px; }

/* ── 页脚（深黛蓝基石） ──────────────────────────────── */
.foot { background: var(--ink-deep); color: #94A3B8; font-size: 14px; padding-block: 54px 36px; }
.foot__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.foot__brand { font-family: var(--serif); font-weight: 700; font-size: 20px; color: #FFFFFF; }
.foot__d { margin-top: 12px; max-width: 34ch; line-height: 1.8; color: #94A3B8; }
.foot__h { color: #FFFFFF; font-weight: 600; margin-bottom: 12px; font-size: 15px; }
.foot a {
  text-decoration: none; color: #CBD5E1;
  transition: color 0.15s ease;
}
.foot a:hover { color: #FFFFFF; }
.foot p + p { margin-top: 8px; }
.foot__legal {
  margin-top: 40px; padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  font-size: 13px; color: #64748B;
}

/* ── 响应式适配 ──────────────────────────────────────── */
@media (max-width: 1000px) {
  .hero__in { grid-template-columns: 1fr; gap: 36px; padding-block: 54px 48px; }
  .biz { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; gap: 18px; }
  .flow { grid-template-columns: 1fr; gap: 24px; }
  .flow::before { display: none; }
  .prod { grid-template-columns: repeat(2, 1fr); }
  .faq { grid-template-columns: 1fr; }
  .quote { grid-template-columns: 1fr; gap: 32px; }
  .split, .split--wide { grid-template-columns: 1fr; gap: 32px; }
  .contact { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .sec { padding-block: 56px; }
}

@media (max-width: 560px) {
  .prod { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; padding: 22px 18px; }
  .foot__grid { grid-template-columns: 1fr; }
  .hero__cta .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
