/* ============================================
   宁波冰红工业 · 公司官网
   视觉：工业深蓝 + 冰蓝高光 + 品牌红（冰红）
   签名元素：贯穿页面的"薄膜光泽带"与冰蓝/红组合字标
   ============================================ */
:root {
  --navy: #0B2E59;
  --navy-deep: #081F3D;
  --navy-2: #123A6E;
  --ice: #3FA9F5;
  --ice-soft: #7DD3FC;
  --red: #E8352B;
  --red-deep: #C4201A;
  --ink: #14243E;
  --muted: #5C6B85;
  --paper: #F5F8FC;
  --line: #E3EAF4;
  --card: #FFFFFF;
  --shadow: 0 10px 34px rgba(11, 46, 89, .10);
  --radius: 16px;
  --font: "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ---------- 顶部导航 ---------- */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1180px; margin: 0 auto;
  height: 66px; padding: 0 24px;
  display: flex; align-items: center; gap: 28px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(140deg, #0B2E59, #123A6E 60%, #3FA9F5);
  color: #fff; font-size: 17px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 18px rgba(11,46,89,.30);
  letter-spacing: 1px;
}
.brand-text { line-height: 1.25; }
.brand-text b { font-size: 16px; color: var(--navy); display: block; }
.brand-text i {
  font-style: normal; font-size: 10.5px; color: var(--muted);
  letter-spacing: 2.5px;
}
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a {
  font-size: 14.5px; font-weight: 600; color: #33425E;
  padding: 6px 2px; border-bottom: 2px solid transparent;
  transition: color .18s, border-color .18s;
}
.nav-links a:hover { color: var(--red); border-bottom-color: var(--red); }
.nav-cta {
  background: var(--red); color: #fff; font-size: 14px; font-weight: 700;
  padding: 9px 20px; border-radius: 30px;
  box-shadow: 0 8px 18px rgba(232,53,43,.30);
  transition: transform .15s, box-shadow .15s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 12px 24px rgba(232,53,43,.40); }
.nav-toggle {
  display: none; background: none; border: none; font-size: 22px;
  color: var(--navy); cursor: pointer; padding: 6px 10px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(900px 480px at 88% 12%, rgba(63,169,245,.22), transparent 60%),
    radial-gradient(700px 420px at 6% 96%, rgba(232,53,43,.12), transparent 55%),
    linear-gradient(150deg, #081F3D 0%, #0B2E59 55%, #123A6E 100%);
  color: #fff;
  padding: 132px 24px 84px;
  overflow: hidden;
}
.hero-inner {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 56px; align-items: center;
}
.hero-eyebrow {
  font-size: 12.5px; letter-spacing: 3px; color: var(--ice-soft);
  font-weight: 600; margin-bottom: 16px;
}
.hero-copy h1 { font-size: 46px; line-height: 1.22; font-weight: 800; letter-spacing: 1px; }
.hero-copy h1 span {
  background: linear-gradient(90deg, #7DD3FC, #FFFFFF);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero-desc { margin-top: 18px; max-width: 520px; color: #C7D6EE; font-size: 15.5px; }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 26px; border-radius: 30px; font-size: 15px; font-weight: 700;
  font-family: inherit; cursor: pointer; transition: all .18s ease;
}
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 10px 24px rgba(232,53,43,.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(232,53,43,.45); }
.btn-ghost {
  background: rgba(255,255,255,.10); color: #fff;
  border: 1.5px solid rgba(255,255,255,.35);
}
.btn-ghost:hover { background: rgba(255,255,255,.2); border-color: #fff; }
.btn-lg { padding: 14px 34px; font-size: 16px; }
.btn-outline {
  background: #fff; color: var(--navy); border: 1.5px solid var(--line);
  font-size: 13.5px; padding: 9px 20px;
}
.btn-outline:hover { border-color: var(--red); color: var(--red); }
.hero-points {
  list-style: none; display: flex; gap: 22px; margin-top: 26px; flex-wrap: wrap;
}
.hero-points li { font-size: 13.5px; color: #C7D6EE; display: flex; align-items: center; gap: 7px; }
.hero-points i {
  font-style: normal; color: var(--ice-soft); font-weight: 800;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(125,211,252,.16); display: inline-flex;
  align-items: center; justify-content: center; font-size: 11px;
}
.hero-media { position: relative; }
.hero-img-wrap {
  position: relative; border-radius: 22px; overflow: hidden;
  box-shadow: 0 30px 70px rgba(4,16,38,.5);
  border: 1px solid rgba(255,255,255,.16);
  transform: perspective(900px) rotateY(-4deg) rotateX(1.5deg);
  transition: transform .4s ease;
}
.hero-img-wrap:hover { transform: perspective(900px) rotateY(0) rotateX(0); }
.hero-img-wrap img { width: 100%; height: 440px; object-fit: cover; }
.hero-shine {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,.22) 50%, transparent 58%);
  background-size: 260% 100%; background-position: 130% 0;
  animation: shine 6.5s ease-in-out infinite;
}
@keyframes shine { 0%,55% { background-position: 130% 0; } 80%,100% { background-position: -60% 0; } }

/* 薄膜光泽带：签名元素 */
.film-band {
  position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
  background: linear-gradient(90deg, transparent 0%, rgba(125,211,252,.85) 30%, #E8352B 50%, rgba(125,211,252,.85) 70%, transparent 100%);
  overflow: hidden;
}
.film-band span {
  position: absolute; top: 0; bottom: 0; width: 34%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.9), transparent);
  animation: bandSlide 4.2s linear infinite;
}
@keyframes bandSlide { from { left: -34%; } to { left: 100%; } }
.film-band-light {
  position: relative; height: 4px; bottom: auto; margin: 0;
  background: linear-gradient(90deg, transparent 12%, rgba(63,169,245,.55) 34%, #E8352B 50%, rgba(63,169,245,.55) 66%, transparent 88%);
}

/* ---------- 通用区块 ---------- */
.section { padding: 84px 24px; }
.section-alt { background: #EDF3FB; }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.sec-eyebrow {
  font-size: 12px; letter-spacing: 4px; font-weight: 700;
  color: var(--red); margin-bottom: 10px;
}
.sec-eyebrow-light { color: var(--ice-soft); }
.sec-head h2, .about-copy h2, .contact-copy h2 {
  font-size: 32px; color: var(--navy); font-weight: 800; letter-spacing: 1px;
}
.sec-sub { margin-top: 12px; color: var(--muted); font-size: 14.5px; }

/* ---------- 产品中心 ---------- */
.prod-grid {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.prod-card {
  background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 16px 16px 20px;
  display: flex; flex-direction: column; gap: 12px;
  transition: transform .2s ease, box-shadow .2s ease;
  border: 1px solid var(--line);
}
.prod-card:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(11,46,89,.16); }
.prod-img {
  position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 4/3;
  background: #EAF1FA;
}
.prod-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.prod-card:hover .prod-img img { transform: scale(1.06); }
.prod-tag {
  position: absolute; top: 10px; left: 10px;
  background: var(--red); color: #fff; font-size: 11.5px; font-weight: 700;
  padding: 4px 11px; border-radius: 20px;
}
.prod-card h3 { font-size: 17.5px; color: var(--navy); }
.prod-spec { font-size: 12.5px; color: var(--muted); }
.prod-feats { list-style: none; flex: 1; display: grid; gap: 7px; }
.prod-feats li {
  font-size: 13px; color: #33425E; padding-left: 18px; position: relative;
}
.prod-feats li::before {
  content: "▸"; position: absolute; left: 0; color: var(--ice); font-weight: 700;
}
.prod-card .btn { align-self: flex-start; }

/* ---------- 核心优势 ---------- */
.adv-grid {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.adv-card {
  background: var(--card); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow);
  border-top: 4px solid transparent;
  transition: transform .2s ease, border-color .2s ease;
}
.adv-card:hover { transform: translateY(-5px); border-top-color: var(--red); }
.adv-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(140deg, #0B2E59, #3FA9F5);
  color: #fff; display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.adv-icon svg { width: 26px; height: 26px; }
.adv-card h3 { font-size: 17px; color: var(--navy); margin-bottom: 8px; }
.adv-card p { font-size: 13.5px; color: var(--muted); }

/* ---------- 应用场景 ---------- */
.scene-grid {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.scene-card {
  background: var(--card); border-radius: var(--radius); padding: 26px 24px;
  box-shadow: var(--shadow); border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease;
}
.scene-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(11,46,89,.14); }
.scene-icon {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 14px;
  background: rgba(63,169,245,.12); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
}
.scene-icon svg { width: 24px; height: 24px; }
.scene-card h3 { font-size: 16px; color: var(--navy); margin-bottom: 6px; }
.scene-card p { font-size: 13px; color: var(--muted); }

/* ---------- 应用场景 · 实拍照片墙 ---------- */
.scene-photo-grid {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.scene-photo {
  background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease;
}
.scene-photo:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(11,46,89,.16); }
.sp-img { aspect-ratio: 1/1; overflow: hidden; background: #EAF1FA; }
.sp-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.scene-photo:hover .sp-img img { transform: scale(1.05); }
.sp-caption { padding: 14px 16px 16px; }
.sp-caption h3 { font-size: 16px; color: var(--navy); margin-bottom: 4px; }
.sp-caption p { font-size: 12.5px; color: var(--muted); }

/* ---------- 关于我们 ---------- */
.about-grid {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center;
}
.about-media { position: relative; }
.about-media img {
  border-radius: 20px; box-shadow: 0 26px 60px rgba(11,46,89,.18);
  aspect-ratio: 4/3; object-fit: cover; width: 100%;
}
.about-float {
  position: absolute; left: -22px; bottom: 26px;
  background: linear-gradient(140deg, #0B2E59, #123A6E 60%, #3FA9F5);
  color: #fff; border-radius: 14px; padding: 14px 20px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 14px 34px rgba(11,46,89,.35);
}
.about-float b { font-size: 26px; font-weight: 800; color: var(--ice-soft); }
.about-float span { font-size: 13.5px; font-weight: 600; }
.about-copy h2 { margin: 10px 0 18px; }
.about-copy p { color: var(--muted); margin-bottom: 14px; font-size: 14.5px; }
.about-list { list-style: none; display: grid; gap: 10px; margin-top: 6px; }
.about-list li {
  font-size: 14px; color: #33425E; padding-left: 26px; position: relative;
}
.about-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(232,53,43,.10); color: var(--red);
  font-size: 11px; display: flex; align-items: center; justify-content: center;
  font-weight: 800;
}

/* ---------- 每日动态 ---------- */
.dyn-filter {
  max-width: 1180px; margin: 0 auto 26px;
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
}
.dyn-chip {
  font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
  padding: 8px 18px; border-radius: 24px;
  background: #fff; color: var(--navy); border: 1.5px solid var(--line);
  transition: all .18s ease;
}
.dyn-chip:hover { border-color: var(--ice); color: var(--navy); }
.dyn-chip.active {
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  color: #fff; border-color: transparent;
  box-shadow: 0 6px 16px rgba(232,53,43,.28);
}
.dyn-feed {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px;
}
.dyn-item {
  background: var(--card); border-radius: 14px; padding: 20px 22px;
  border: 1px solid var(--line); box-shadow: 0 6px 22px rgba(11,46,89,.07);
  display: flex; flex-direction: column; gap: 8px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.dyn-item:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(11,46,89,.13); }
.dyn-cat {
  align-self: flex-start; font-size: 11.5px; font-weight: 700;
  padding: 3px 12px; border-radius: 20px; color: #fff;
}
.cat-采购商机 { background: linear-gradient(135deg, #E8352B, #FF8A3D); }
.cat-本厂动态 { background: linear-gradient(135deg, #7C3AED, #3FA9F5); }
.cat-行情资讯 { background: linear-gradient(135deg, #123A6E, #3FA9F5); }
.dyn-item h3 { font-size: 15.5px; line-height: 1.45; color: var(--navy); }
.dyn-item h3 a:hover { color: var(--red); }
.dyn-sum {
  font-size: 13px; color: var(--muted); line-height: 1.65;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.dyn-meta { font-size: 12px; color: #9AA1B5; }
.dyn-loading, .dyn-empty {
  grid-column: 1 / -1; text-align: center; padding: 34px 0;
  color: var(--muted); font-size: 14px;
}
.dyn-cta {
  max-width: 1180px; margin: 26px auto 0; text-align: center;
  background: linear-gradient(135deg, rgba(11,46,89,.97), rgba(18,58,110,.97));
  border-radius: 16px; padding: 26px 20px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.dyn-cta p { color: #fff; font-size: 14.5px; margin: 0; }
.dyn-cta-btn {
  display: inline-block; font-size: 15px; font-weight: 700;
  color: #fff; background: linear-gradient(135deg, var(--red), var(--red-deep));
  padding: 11px 34px; border-radius: 28px;
  box-shadow: 0 8px 20px rgba(232,53,43,.35); transition: transform .18s ease;
}
.dyn-cta-btn:hover { transform: translateY(-2px); }
.dyn-cta-ghost {
  background: rgba(255,255,255,.14); box-shadow: none;
  border: 1.5px solid rgba(255,255,255,.45);
}
.dyn-note {
  max-width: 1180px; margin: 18px auto 0; text-align: center;
  font-size: 12.5px; color: #9AA1B5;
}

/* ---------- 联系我们 ---------- */
.contact-box {
  max-width: 1180px; margin: 0 auto;
  background:
    radial-gradient(700px 380px at 90% 0%, rgba(63,169,245,.25), transparent 60%),
    linear-gradient(150deg, #081F3D, #0B2E59 55%, #123A6E);
  color: #fff; border-radius: 24px;
  padding: 56px 60px;
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px;
  box-shadow: 0 30px 70px rgba(11,46,89,.30);
}
.contact-copy h2 { color: #fff; margin-bottom: 14px; }
.contact-copy > p { color: #C7D6EE; font-size: 14.5px; max-width: 480px; }
.contact-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.ci-icon {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  background: rgba(125,211,252,.14); color: var(--ice-soft);
  display: flex; align-items: center; justify-content: center;
}
.ci-icon svg { width: 21px; height: 21px; }
.contact-item b { font-size: 14.5px; display: block; }
.contact-item p { font-size: 13px; color: #AFC3DE; margin-top: 2px; }
.contact-cta {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px; padding: 30px 28px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  justify-content: center;
}
.contact-cta h3 { font-size: 21px; }
.contact-cta p { font-size: 13.5px; color: #AFC3DE; }
.contact-cta .cta-note { font-size: 12.5px; color: #8FA6C8; }
.inquiry-form { width: 100%; display: flex; flex-direction: column; gap: 10px; }
.if-row { display: flex; gap: 10px; width: 100%; }
.inquiry-form input,
.inquiry-form textarea {
  width: 100%; box-sizing: border-box;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
  color: #fff; border-radius: 10px; padding: 11px 13px; font-size: 14px;
  outline: none; font-family: inherit;
}
.inquiry-form input::placeholder,
.inquiry-form textarea::placeholder { color: #8FA6C8; }
.inquiry-form input:focus,
.inquiry-form textarea:focus { border-color: #F6C344; background: rgba(255,255,255,.14); }
.inquiry-form textarea { resize: vertical; min-height: 66px; }
.inquiry-form .btn { width: 100%; border: none; }
.contact-cta > .btn-ghost { width: 100%; }

/* ---------- 页脚 ---------- */
.site-foot { background: var(--navy-deep); color: #9FB3D4; padding: 34px 24px; text-align: center; }
.foot-inner { max-width: 1180px; margin: 0 auto; }
.foot-brand {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  color: #fff; font-size: 15px; margin-bottom: 10px;
}
.foot-brand .brand-mark { width: 38px; height: 38px; font-size: 15px; }
.site-foot p { font-size: 13px; }
.foot-copy { margin-top: 8px; color: #7C90B2; font-size: 12.5px; }
.foot-copy a { color: var(--ice-soft); }
.foot-copy a:hover { text-decoration: underline; }

/* ---------- 滚动显现 ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1020px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-copy h1 { font-size: 36px; }
  .hero-img-wrap img { height: 340px; }
  .prod-grid, .adv-grid, .scene-grid, .scene-photo-grid { grid-template-columns: repeat(2, 1fr); }
  .dyn-feed { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-box { grid-template-columns: 1fr; padding: 40px 28px; }
}
@media (max-width: 720px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 4px;
    position: absolute; top: 66px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px 24px 18px;
  }
  .nav-links.open a { padding: 10px 4px; border-bottom: none; }
  .hero { padding: 108px 20px 60px; }
  .hero-copy h1 { font-size: 30px; }
  .section { padding: 60px 20px; }
  .prod-grid, .adv-grid, .scene-grid, .scene-photo-grid { grid-template-columns: 1fr; }
  .sec-head h2, .about-copy h2, .contact-copy h2 { font-size: 26px; }
  .contact-list { grid-template-columns: 1fr; }
}
