/* ============ 西藏泓淼食品科技有限公司 - 官网样式 ============ */
:root {
  --blue-900: #071f4a;
  --blue-700: #0a2f6b;
  --blue: #0045AA;
  --blue-soft: #eef3fc;
  --red: #E20C0C;
  --orange: #FCBF44;
  --green: #00A828;
  --ink: #16233a;
  --muted: #5c6b82;
  --line: #e6ebf4;
  --bg: #f6f8fc;
  --white: #ffffff;
  --radius: 18px;
  --shadow-sm: 0 6px 18px rgba(12, 35, 80, .08);
  --shadow-lg: 0 24px 60px rgba(12, 35, 80, .16);
  --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { width: min(1180px, 92%); margin: 0 auto; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: 15px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  cursor: pointer; border: 0; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-700); box-shadow: 0 10px 24px rgba(0, 69, 170, .28); }
.btn-accent { background: var(--red); color: #fff; }
.btn-accent:hover { background: #c00a0a; box-shadow: 0 10px 24px rgba(226, 12, 12, .28); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.2); }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
  padding: 14px 0;
}
.site-header.scrolled { background: rgba(255,255,255,.92); backdrop-filter: blur(12px); box-shadow: 0 2px 20px rgba(12,35,80,.08); padding: 10px 0; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: inline-flex; align-items: center; }
.brand-mark {
  display: inline-flex; align-items: center; height: 48px;
  background: #fff; border-radius: 12px; padding: 6px 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
}
.brand-mark img { height: 100%; width: auto; display: block; }
.site-header.scrolled .brand-mark { background: transparent; box-shadow: none; padding-left: 2px; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { font-size: 15px; color: rgba(255,255,255,.88); transition: color .2s; position: relative; }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--orange); transition: width .25s; }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.main-nav a:hover, .main-nav a.active { color: #fff; }
.site-header.scrolled .main-nav a { color: var(--ink); }
.site-header.scrolled .main-nav a:hover, .site-header.scrolled .main-nav a.active { color: var(--blue); }

.nav-cta { padding: 11px 22px; font-size: 14px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: .3s; }
.site-header.scrolled .nav-toggle span { background: var(--ink); }

/* ---------- 首屏 ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background-image: url('../img/hero-banner.png');
  background-size: cover; background-position: center bottom; background-repeat: no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,31,74,.42) 0%, rgba(7,31,74,.16) 55%, rgba(7,31,74,.26) 100%);
}
.hero-inner { position: relative; width: min(860px, 92%); margin: 0 auto; text-align: center; color: #fff; padding: 170px 0 150px; }
.eyebrow { display: inline-block; font-size: 13px; letter-spacing: 2px; color: var(--orange); font-weight: 600; margin-bottom: 18px; }
.hero-inner h1 { font-size: clamp(32px, 5vw, 56px); line-height: 1.18; font-weight: 800; letter-spacing: .5px; }
.hero-sub { margin: 22px 0 30px; color: rgba(255,255,255,.92); font-size: 17px; letter-spacing: 2px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- 通用 section ---------- */
.section { padding: 96px 0; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-kicker { display: inline-block; font-size: 13px; letter-spacing: 2px; color: var(--blue); font-weight: 700; margin-bottom: 12px; }
.section-head h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 800; line-height: 1.3; color: var(--blue-700); }
.section-desc { margin-top: 14px; color: var(--muted); font-size: 16px; }

/* ---------- 公司介绍 ---------- */
.intro { background: var(--white); }
.intro-inner { max-width: 820px; margin: 0 auto; text-align: center; }
.intro-inner h3 { font-size: 26px; color: var(--blue-700); margin-bottom: 18px; }
.intro-inner p { color: var(--muted); margin-bottom: 16px; font-size: 17px; }
.intro-inner p strong { color: var(--ink); }
.about-stats { display: flex; gap: 40px; margin-top: 30px; justify-content: center; }
.stat { display: flex; flex-direction: column; }
.stat strong { font-size: 32px; color: var(--red); font-weight: 800; line-height: 1.1; }
.stat span { font-size: 14px; color: var(--muted); }
.model-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; justify-content: center; }
.model-chips span { background: var(--blue-soft); color: var(--blue); font-size: 15px; font-weight: 600; padding: 10px 22px; border-radius: 999px; border: 1px solid #dbe7fb; }

/* ---------- 业务板块 ---------- */
.business { background: var(--bg); }
.business-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.biz-card {
  background: #fff; border-radius: var(--radius); padding: 34px 28px;
  box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease;
  display: flex; flex-direction: column;
}
.biz-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.biz-icon { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px; }
.biz-icon-blue { background: var(--blue-soft); color: var(--blue); }
.biz-icon-orange { background: #fff4dd; color: #e08b00; }
.biz-icon-green { background: #e9f8ec; color: var(--green); }
.biz-card h3 { font-size: 20px; color: var(--blue-700); margin-bottom: 12px; }
.biz-card p { color: var(--muted); font-size: 15px; flex: 1; }
.biz-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.biz-tags li { font-size: 12px; background: var(--blue-soft); color: var(--blue); padding: 5px 11px; border-radius: 999px; }

/* ---------- 生鲜入藏·藏品出藏 ---------- */
.supply { background: #fff; }
.supply-split { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: stretch; }
.supply-panel { border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.panel-in { background: linear-gradient(160deg, #eef4ff, #f7faff); border: 1px solid #dbe7fb; }
.panel-out { background: linear-gradient(160deg, #fff6e8, #fffbf2); border: 1px solid #f5e3c0; }
.panel-head h3 { font-size: 22px; color: var(--blue-700); margin: 8px 0 10px; }
.panel-head p { color: var(--muted); font-size: 15px; }
.panel-tag { display: inline-block; font-size: 13px; font-weight: 700; padding: 6px 14px; border-radius: 999px; }
.tag-in { background: var(--blue); color: #fff; }
.tag-out { background: var(--orange); color: #7a4c00; }
.supply-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0; }
.supply-list li { background: #fff; padding: 9px 16px; border-radius: 10px; font-size: 14px; color: var(--ink); box-shadow: 0 2px 8px rgba(12,35,80,.05); border: 1px solid var(--line); }
.panel-figure { margin-top: auto; }
.panel-figure img { border-radius: 14px; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.warehouse { margin-top: 60px; }
.warehouse-title { text-align: center; font-size: 24px; color: var(--blue-700); margin-bottom: 34px; }
.warehouse-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.warehouse-card { background: var(--bg); border-radius: var(--radius); padding: 30px 26px; text-align: center; transition: transform .25s; }
.warehouse-card:hover { transform: translateY(-6px); }
.w-num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; margin-bottom: 16px; }
.warehouse-card h4 { font-size: 18px; color: var(--blue-700); margin-bottom: 8px; }
.warehouse-card p { font-size: 14px; color: var(--muted); }

/* ---------- 智能履约 ---------- */
.fulfillment { background: var(--bg); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.steps::before { content: ""; position: absolute; top: 44px; left: 10%; right: 10%; height: 2px; background: repeating-linear-gradient(90deg, #c9d8f0 0 8px, transparent 8px 16px); }
.step { background: #fff; border-radius: var(--radius); padding: 30px 22px; text-align: center; box-shadow: var(--shadow-sm); position: relative; transition: transform .25s; }
.step:hover { transform: translateY(-6px); }
.step-icon { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font-size: 28px; font-weight: 800; position: relative; z-index: 1; box-shadow: 0 8px 20px rgba(0,69,170,.25); }
.step:nth-child(2) .step-icon { background: var(--orange); color: #7a4c00; }
.step:nth-child(3) .step-icon { background: var(--green); }
.step:nth-child(4) .step-icon { background: var(--red); }
.step h3 { font-size: 19px; color: var(--blue-700); margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--muted); }

.fulfillment-note { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; background: #fff; border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-sm); }
.fulfillment-note img { border-radius: 14px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.fulfillment-copy h3 { font-size: 26px; color: var(--blue-700); margin-bottom: 16px; }
.fulfillment-copy p { color: var(--muted); font-size: 18px; line-height: 1.9; margin-bottom: 22px; }
.fulfillment-copy strong { color: var(--blue-700); }
.fulfillment-points { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.fulfillment-points li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink); }
.fulfillment-points li span { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font-size: 14px; font-weight: 700; }
.fulfillment-points li:nth-child(2) span { background: var(--orange); color: #7a4c00; }
.fulfillment-points li:nth-child(3) span { background: var(--green); }
.fulfillment-points li:nth-child(4) span { background: var(--red); }

/* ---------- 联系我们 ---------- */
.contact { background: #fff; }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-copy h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; color: var(--blue-700); line-height: 1.3; margin-bottom: 16px; }
.contact-copy > p { color: var(--muted); margin-bottom: 26px; }
.contact-list li { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.contact-list span { width: 44px; color: var(--muted); flex: none; }
.contact-list a { color: var(--blue); font-weight: 600; }

.contact-form { background: var(--bg); border-radius: var(--radius); padding: 34px; display: flex; flex-direction: column; gap: 16px; }
.contact-form label { font-size: 14px; color: var(--ink); font-weight: 600; display: flex; flex-direction: column; gap: 7px; }
.contact-form input, .contact-form select, .contact-form textarea {
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-size: 15px;
  font-family: inherit; background: #fff; color: var(--ink); resize: vertical;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--blue); border-color: transparent; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-tip { font-size: 14px; color: var(--green); min-height: 20px; }

/* ---------- Footer ---------- */
.site-footer { background: #06162f; color: rgba(255,255,255,.72); padding-top: 56px; }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.1); align-items: center; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; }
.footer-mark { display: inline-flex; align-items: center; height: 54px; background: #fff; border-radius: 12px; padding: 6px 14px; margin-bottom: 12px; }
.footer-mark img { height: 100%; width: auto; display: block; }
.footer-brand p { font-size: 14px; color: var(--orange); }
.footer-nav { display: flex; gap: 26px; flex-wrap: wrap; align-items: center; }
.footer-nav a { font-size: 14px; transition: color .2s; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 0 26px; font-size: 13px; color: rgba(255,255,255,.5); }

/* ---------- 备案信息 ---------- */
.footer-beian { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,.5); }
.footer-beian a { color: rgba(255,255,255,.6); transition: color .2s; display: inline-flex; align-items: center; gap: 5px; }
.footer-beian a:hover { color: #fff; }
.footer-beian .beian-ga img { width: 16px; height: 16px; display: block; opacity: .85; }
.beian-divider { color: rgba(255,255,255,.25); }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .hero-inner { padding: 150px 0 110px; }
  .contact-inner { grid-template-columns: 1fr; }
  .business-grid, .warehouse-grid { grid-template-columns: 1fr; }
  .supply-split { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .fulfillment-note { grid-template-columns: 1fr; }
  .main-nav, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .main-nav.open {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; padding: 18px 6%; gap: 18px; box-shadow: 0 20px 40px rgba(12,35,80,.12);
  }
  .main-nav.open a { color: var(--ink); }
}

@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .about-stats { gap: 16px; flex-wrap: wrap; }
  .brand-mark { height: 42px; padding: 5px 10px; }
}

/* ---------- 滚动入场动画 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
