/* ============================================================
   肃宁县臣闻渔具店 官网样式
   色调：蓝绿水色 + 大地色 | 风格：简洁、清爽、自然、户外垂钓
   ============================================================ */

:root {
  /* 主色调 - 蓝绿水色 */
  --teal-deep: #14555c;
  --teal-main: #1d6b70;
  --teal-soft: #2c8a8a;
  --teal-light: #e3f1f0;

  /* 大地色 */
  --earth: #8b6f47;
  --earth-light: #f3ede2;
  --sand: #efe9dc;

  /* 辅助色 */
  --green-fresh: #6f9e58;
  --ink: #22383b;
  --text: #3d5254;
  --text-light: #6d8284;
  --bg: #f9f8f4;
  --white: #ffffff;
  --line: #dfe8e4;

  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(20, 85, 92, 0.07);
  --shadow-md: 0 8px 28px rgba(20, 85, 92, 0.12);
  --maxw: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "微软雅黑", "Hiragino Sans GB", "Noto Sans SC", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

a { color: var(--teal-main); text-decoration: none; }
img { max-width: 100%; display: block; }

/* ==================== 顶部导航 ==================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--teal-deep);
}
.logo-icon { width: 38px; height: 38px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text strong { font-size: 19px; letter-spacing: 2px; color: var(--teal-deep); }
.logo-text small { font-size: 10px; letter-spacing: 1.5px; color: var(--text-light); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-link {
  color: var(--text);
  font-size: 15px;
  position: relative;
  padding: 6px 0;
  transition: color 0.25s;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 0;
  height: 2.5px;
  border-radius: 2px;
  background: var(--teal-main);
  transition: all 0.25s;
  transform: translateX(-50%);
}
.nav-link:hover, .nav-link.active { color: var(--teal-main); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-cta {
  background: var(--teal-main);
  color: #fff;
  font-size: 14px;
  padding: 9px 22px;
  border-radius: 999px;
  transition: background 0.25s, transform 0.25s;
}
.nav-cta:hover { background: var(--teal-deep); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--teal-deep);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ==================== 首页 Hero ==================== */
.hero {
  position: relative;
  padding: 90px 0 130px;
  color: #fff;
  background:
    radial-gradient(ellipse 60% 80% at 85% 15%, rgba(44, 138, 138, 0.45), transparent 60%),
    radial-gradient(ellipse 50% 70% at 10% 90%, rgba(111, 158, 88, 0.28), transparent 60%),
    linear-gradient(135deg, #104248 0%, #1d6b70 55%, #2c8a8a 100%);
  overflow: hidden;
}

/* 水波纹理背景 */
.hero-wave-bg {
  position: absolute;
  inset: 0;
  opacity: 0.13;
  background-image:
    radial-gradient(circle at 20% 30%, transparent 58px, rgba(255,255,255,0.5) 59px, transparent 61px),
    radial-gradient(circle at 70% 70%, transparent 78px, rgba(255,255,255,0.4) 79px, transparent 81px);
  background-size: 220px 220px, 320px 320px;
  pointer-events: none;
}

.hero-inner { position: relative; text-align: center; }

.hero-badge {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 2px;
  padding: 7px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.12);
  margin-bottom: 28px;
}

.hero-title {
  font-size: clamp(34px, 5.5vw, 56px);
  font-weight: 700;
  letter-spacing: 4px;
  line-height: 1.25;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.22);
}
.hero-subtitle {
  display: block;
  font-size: clamp(17px, 2.2vw, 24px);
  font-weight: 400;
  letter-spacing: 10px;
  margin-top: 14px;
  opacity: 0.92;
}

.hero-slogan {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  font-size: clamp(17px, 2vw, 21px);
  letter-spacing: 3px;
  padding: 12px 34px;
  border-radius: 999px;
  background: rgba(243, 237, 226, 0.16);
  border: 1px dashed rgba(255, 255, 255, 0.5);
}
.slogan-icon { width: 20px; height: 20px; color: #f0d9a8; }

.hero-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 56px;
}
.feature-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.3s, background 0.3s;
}
.feature-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.17);
}
.feature-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.18);
}
.feature-icon svg { width: 28px; height: 28px; stroke: #eaf6f4; }
.feature-card h3 { font-size: 19px; letter-spacing: 3px; margin-bottom: 8px; color: #fff; }
.feature-card p { font-size: 14px; color: rgba(255, 255, 255, 0.85); line-height: 1.8; }

.hero-location {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 48px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  flex-wrap: wrap;
}
.loc-icon { width: 20px; height: 20px; flex-shrink: 0; stroke: #ffd98a; }

.hero-quicklinks {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.quicklink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 15px;
  letter-spacing: 1px;
  padding: 11px 30px;
  border-radius: 999px;
  background: var(--earth);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s, background 0.25s;
}
.quicklink:hover { background: #7a5f3a; transform: translateY(-2px); }
.quicklink svg { width: 17px; height: 17px; stroke: #fff; transition: transform 0.25s; }
.quicklink:hover svg { transform: translateX(4px); }

/* 底部波浪 */
.wave-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
  color: var(--bg);
}
.wave-divider svg { width: 100%; height: 70px; display: block; }

/* ==================== 通用 Section ==================== */
.section { padding: 90px 0; }

.section-head { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--teal-main);
  background: var(--teal-light);
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.section-title {
  font-size: clamp(26px, 3.5vw, 36px);
  color: var(--ink);
  letter-spacing: 3px;
  font-weight: 700;
}
.section-desc {
  margin-top: 12px;
  color: var(--text-light);
  font-size: 15px;
  letter-spacing: 1px;
}

/* ==================== 关于我们 ==================== */
.about { background: var(--bg); }

.about-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 40px;
  align-items: start;
}

.about-block {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--teal-soft);
}
.about-block h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  color: var(--ink);
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}
.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal-main);
  box-shadow: 0 0 0 4px var(--teal-light);
}
.about-block p { font-size: 15px; line-height: 2; }
.about-block strong { color: var(--teal-deep); }

.commitment { border-left-color: var(--earth); }
.commitment h3 .dot { background: var(--earth); box-shadow: 0 0 0 4px var(--earth-light); }

.commit-list { list-style: none; }
.commit-list li {
  display: flex;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px dashed var(--line);
}
.commit-list li:last-child { border-bottom: none; padding-bottom: 0; }
.commit-list li:first-child { padding-top: 0; }
.commit-list svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 3px;
  stroke: var(--green-fresh);
  background: #eef5e8;
  border-radius: 50%;
  padding: 3px;
}
.commit-list strong { display: block; font-size: 15.5px; color: var(--ink); margin-bottom: 3px; }
.commit-list span { font-size: 14px; color: var(--text-light); }

/* 法定信息卡 */
.info-card {
  background: linear-gradient(160deg, #104248, #1d6b70);
  color: #fff;
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 92px;
}
.info-card h3 {
  font-size: 18px;
  letter-spacing: 3px;
  text-align: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.info-list div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.14);
  font-size: 14px;
}
.info-list div:last-child { border-bottom: none; }
.info-list dt { color: rgba(255, 255, 255, 0.65); white-space: nowrap; }
.info-list dd { text-align: right; color: #fff; }
.info-list .code { font-family: Consolas, monospace; letter-spacing: 0.5px; font-size: 13px; }
.status-on {
  display: inline-block;
  background: rgba(111, 158, 88, 0.35);
  color: #c9e8b8;
  font-size: 12px;
  padding: 2px 12px;
  border-radius: 999px;
  border: 1px solid rgba(111, 158, 88, 0.6);
}
.info-note {
  margin-top: 20px;
  font-size: 12px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
}

/* ==================== 产品中心 ==================== */
.products {
  background:
    radial-gradient(ellipse 40% 50% at 90% 5%, rgba(44, 138, 138, 0.08), transparent 60%),
    var(--sand);
}

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

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(139, 111, 71, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.product-icon {
  width: 66px;
  height: 66px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-light);
  transition: background 0.3s;
}
.product-card:hover .product-icon { background: #d2e9e6; }
.product-icon svg { width: 34px; height: 34px; stroke: var(--teal-main); }

.product-card h3 {
  font-size: 20px;
  color: var(--ink);
  letter-spacing: 4px;
  margin-bottom: 10px;
}
.product-card p { font-size: 14px; color: var(--text-light); line-height: 1.9; }

.product-tip {
  display: inline-block;
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--earth);
  background: var(--earth-light);
  padding: 5px 16px;
  border-radius: 999px;
  letter-spacing: 1px;
}

.products-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 44px;
  font-size: 14px;
  color: var(--earth);
  text-align: center;
  flex-wrap: wrap;
}
.products-note svg { width: 20px; height: 20px; stroke: var(--earth); flex-shrink: 0; }

/* ==================== 联系方式 ==================== */
.contact { background: var(--bg); }

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
  align-items: start;
}

.contact-cards { display: grid; gap: 20px; }

.contact-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s;
}
.contact-card:hover { transform: translateX(6px); }
.contact-icon {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  border-radius: 14px;
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-icon svg { width: 28px; height: 28px; stroke: var(--teal-main); }
.contact-body h3 {
  font-size: 16px;
  color: var(--text-light);
  font-weight: 400;
  letter-spacing: 2px;
  margin-bottom: 6px;
}
.contact-body p { font-size: 16.5px; color: var(--ink); font-weight: 600; line-height: 1.7; }
.contact-body small { display: block; font-size: 13px; color: var(--text-light); font-weight: 400; margin-top: 4px; }
.phone-empty { color: var(--text-light) !important; font-weight: 500 !important; }

/* 导航指引 */
.contact-guide {
  background: linear-gradient(160deg, #f3ede2, #ece2cf);
  border-radius: var(--radius);
  padding: 34px 32px;
  border: 1px solid rgba(139, 111, 71, 0.18);
}
.contact-guide h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  color: var(--ink);
  letter-spacing: 2px;
  margin-bottom: 22px;
}
.contact-guide h3 svg { width: 24px; height: 24px; stroke: var(--earth); }

.guide-steps { list-style: none; counter-reset: step; }
.guide-steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 20px 44px;
  font-size: 14.5px;
  line-height: 1.9;
}
.guide-steps li:last-child { padding-bottom: 0; }
.guide-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 2px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--earth);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.guide-steps li::after {
  content: "";
  position: absolute;
  left: 14.5px;
  top: 36px;
  bottom: 2px;
  width: 1.5px;
  background: rgba(139, 111, 71, 0.3);
}
.guide-steps li:last-child::after { display: none; }
.guide-steps strong { color: var(--ink); }

.guide-tip {
  margin-top: 24px;
  background: rgba(255, 255, 255, 0.65);
  border-radius: 10px;
  padding: 16px 20px;
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--text);
}
.guide-tip strong { color: var(--earth); }

/* ==================== 页脚（备案） ==================== */
.site-footer {
  background:
    radial-gradient(ellipse 50% 60% at 50% 0%, rgba(44, 138, 138, 0.25), transparent 70%),
    #104248;
  color: rgba(255, 255, 255, 0.85);
  padding: 54px 0 34px;
  text-align: center;
}

.footer-brand { display: flex; flex-direction: column; gap: 8px; align-items: center; }
.footer-brand strong { font-size: 21px; letter-spacing: 4px; color: #fff; }
.footer-brand span { font-size: 13px; letter-spacing: 3px; color: rgba(255, 255, 255, 0.55); }

.footer-info {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 30px;
  margin: 26px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

/* 备案号：底部中央 */
.footer-beian { margin: 18px 0; }
.footer-beian a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13.5px;
  letter-spacing: 1px;
  transition: color 0.25s;
}
.footer-beian a:hover { color: #fff; text-decoration: underline; }

.footer-copy {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 1px;
}

/* ==================== 返回顶部 ==================== */
.back-top {
  position: fixed;
  right: 28px;
  bottom: 32px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--teal-main);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.35s;
  z-index: 90;
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--teal-deep); }
.back-top svg { width: 20px; height: 20px; stroke: #fff; }

/* ==================== 响应式 ==================== */
@media (max-width: 900px) {
  .hero-features { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .info-card { position: static; }
}

@media (max-width: 620px) {
  .section { padding: 64px 0; }
  .hero { padding: 64px 0 110px; }
  .product-grid { grid-template-columns: 1fr; }
  .hero-quicklinks { flex-direction: column; align-items: stretch; max-width: 300px; margin: 34px auto 0; }
  .quicklink { justify-content: center; }
  .footer-info { flex-direction: column; gap: 6px; }

  /* 移动端菜单 */
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    box-shadow: var(--shadow-md);
    padding: 10px 0 18px;
    display: none;
  }
  .main-nav.open { display: flex; }
  .nav-link { padding: 13px 0; text-align: center; }
  .nav-link::after { display: none; }
  .nav-cta { margin-top: 10px; padding: 10px 34px; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}
