/* 开封沐雅商贸有限公司 官方网站样式表 — 如沐春风·高雅风 */

:root {
  --primary: #7fa697;        /* 春风玉青 */
  --primary-dark: #486f62;   /* 雅致墨青 */
  --primary-light: #aac7ba;  /* 嫩叶青 */
  --accent: #c3a271;         /* 香槟金 */
  --accent-dark: #967548;    /* 雅致古金 */
  --accent-light: #eadcc2;   /* 浅香槟 */
  --card: #fffefb;
  --text-dark: #34483f;      /* 青灰正文 */
  --text-muted: #7b8981;     /* 温润灰绿 */
  --bg-light: #f3f7f2;       /* 春日浅青 */
  --bg-section: #fbfaf6;     /* 象牙暖白 */
  --border: #e2e8dd;         /* 浅玉边框 */
  --shadow: 0 8px 24px rgba(72, 111, 98, 0.08);
  --shadow-hover: 0 18px 42px rgba(72, 111, 98, 0.14);
  --radius: 16px;
  --radius-sm: 8px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.9;
  background-color: var(--bg-section);
  letter-spacing: 0.5px;
}

h1, h2, h3, h4 {
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", SimSun, serif;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 2px;
}

a {
  color: var(--primary-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-dark);
}

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

.container {
  width: 92%;
  max-width: 1160px;
  margin: 0 auto;
}

/* ===== 顶部导航 ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 254, 251, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 19px;
  font-weight: 600;
  color: var(--primary-dark);
  letter-spacing: 2px;
}

.logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--primary-dark), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fffdf7;
  font-family: "Songti SC", SimSun, serif;
  font-size: 20px;
  font-weight: 600;
  flex-shrink: 0;
  border: 1px solid rgba(195, 162, 113, 0.65);
  box-shadow: 0 0 0 4px rgba(195, 162, 113, 0.10), 0 5px 14px rgba(72, 111, 98, 0.18);
}

.logo-text small {
  display: block;
  font-size: 9px;
  font-weight: 500;
  color: var(--accent-dark);
  letter-spacing: 2.5px;
  margin-top: 3px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 6px;
}

.nav-menu a {
  display: block;
  padding: 9px 20px;
  color: var(--text-muted);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 1.5px;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-menu a:hover {
  color: var(--primary-dark);
  background: var(--bg-light);
}

.nav-menu a.active {
  color: var(--primary-dark);
  background: linear-gradient(180deg, rgba(234, 220, 194, 0.35), rgba(243, 247, 242, 0.9));
  border-bottom: 2px solid var(--accent);
  box-shadow: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--primary-dark);
}

/* ===== Hero（春风高雅） ===== */
.hero {
  position: relative;
  background: linear-gradient(145deg, #fbfaf6 0%, #f3f7f2 52%, #eaf2eb 100%);
  padding: 110px 0 116px;
  overflow: hidden;
}

/* 右侧春日暖光 */
.hero::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -80px;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(234, 220, 194, 0.65) 0%, rgba(170, 199, 186, 0.28) 42%, rgba(170, 199, 186, 0) 72%);
  pointer-events: none;
}

/* 香槟金细圆环 */
.hero::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 110px;
  transform: translateY(-50%);
  width: 148px;
  height: 148px;
  border-radius: 50%;
  border: 1px solid rgba(195, 162, 113, 0.75);
  outline: 1px solid rgba(127, 166, 151, 0.25);
  outline-offset: 12px;
  box-shadow: 0 0 30px rgba(195, 162, 113, 0.16);
  pointer-events: none;
}

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

.hero-badge {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(255, 254, 251, 0.72);
  color: var(--accent-dark);
  font-size: 12px;
  letter-spacing: 3px;
  border: 1px solid var(--accent-light);
  border-radius: 2px;
  margin-bottom: 28px;
  font-weight: 500;
  box-shadow: 0 4px 14px rgba(150, 117, 72, 0.08);
}

.hero h1 {
  font-size: 42px;
  margin-bottom: 22px;
  color: var(--primary-dark);
  line-height: 1.5;
  font-weight: 600;
}

.hero h1 span {
  color: var(--accent-dark);
  font-size: 32px;
  font-weight: 500;
}

.hero-subtitle {
  font-size: 14px;
  margin-bottom: 20px;
  color: var(--primary);
  font-weight: 500;
  letter-spacing: 6px;
}

.hero-desc {
  font-size: 15.5px;
  line-height: 2.1;
  margin-bottom: 38px;
  color: var(--text-muted);
  max-width: 580px;
}

/* ===== 按钮 ===== */
.btn {
  display: inline-block;
  padding: 13px 34px;
  border-radius: 3px;
  font-size: 14px;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  font-weight: 500;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fffdf8;
  border: 1px solid var(--primary-dark);
  box-shadow: 0 8px 20px rgba(72, 111, 98, 0.20);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(72, 111, 98, 0.26);
}

.btn-outline {
  background: rgba(255, 254, 251, 0.65);
  color: var(--primary-dark);
  border: 1px solid var(--accent);
  margin-left: 12px;
}

.btn-outline:hover {
  background: var(--accent-light);
  color: var(--primary-dark);
  border-color: var(--accent-dark);
}

/* ===== 通用区块 ===== */
.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--bg-light);
}

.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.eyebrow {
  display: inline-block;
  padding: 5px 16px;
  background: rgba(234, 220, 194, 0.40);
  color: var(--accent-dark);
  font-size: 12px;
  letter-spacing: 4px;
  border: 1px solid rgba(195, 162, 113, 0.25);
  border-radius: 2px;
  margin-bottom: 18px;
  font-weight: 500;
}

.section-head h2 {
  font-size: 30px;
  color: var(--primary-dark);
  margin-bottom: 16px;
  font-weight: 600;
}

.section-head h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 1px;
  border-radius: 0;
  background: linear-gradient(90deg, var(--accent-light), var(--accent), var(--accent-light));
  margin: 20px auto 0;
}

.section-head p {
  color: var(--text-muted);
  font-size: 15px;
}

/* ===== 关于图文 ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h3 {
  font-size: 24px;
  margin-bottom: 18px;
  color: var(--primary-dark);
  font-weight: 600;
}

.about-text p {
  margin-bottom: 16px;
  color: var(--text-muted);
  line-height: 2.1;
  font-size: 15px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 30px;
}

.about-stats .stat {
  text-align: center;
  padding: 22px 10px;
  background: var(--card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.about-stats .stat:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-light);
}

.about-stats .stat strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  color: var(--accent-dark);
  font-weight: 500;
}

.about-stats .stat span {
  font-size: 12.5px;
  color: var(--text-muted);
  letter-spacing: 1.5px;
}

.about-image {
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  aspect-ratio: 4/3;
  background: var(--bg-light);
  border: 8px solid var(--card);
  outline: 1px solid var(--accent-light);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== 产品卡片 ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.product-card {
  background: var(--card);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}

.product-img {
  aspect-ratio: 4/3;
  background: var(--bg-light);
  overflow: hidden;
}

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

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

.product-body {
  padding: 24px 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-tag {
  display: inline-block;
  font-size: 11px;
  color: var(--accent-dark);
  background: rgba(234, 220, 194, 0.35);
  padding: 4px 12px;
  border: 1px solid rgba(195, 162, 113, 0.25);
  border-radius: 2px;
  margin-bottom: 14px;
  width: fit-content;
  letter-spacing: 2px;
  font-weight: 500;
}

.product-body h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--primary-dark);
  font-weight: 600;
  letter-spacing: 1px;
}

.product-body p {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 18px;
  flex: 1;
  line-height: 1.95;
}

.product-body .btn-text {
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.product-body .btn-text:hover {
  color: var(--accent-dark);
}

/* ===== 优势卡片 ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.feature-card {
  text-align: center;
  padding: 42px 26px;
  background: var(--card);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  transition: all 0.4s ease;
  border: 1px solid var(--border);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-light);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--bg-light), #fffdf7);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 23px;
  border: 1px solid var(--accent);
  box-shadow: 0 0 0 5px rgba(195, 162, 113, 0.08);
}

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--primary-dark);
  font-weight: 600;
  letter-spacing: 1px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 2;
}

/* ===== CTA 条带（玉青+香槟金） ===== */
.cta-band {
  background: linear-gradient(135deg, #3f6256, var(--primary-dark) 55%, #668c7c);
  color: #fffdf8;
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -50px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 1px solid rgba(234, 220, 194, 0.25);
  background: rgba(234, 220, 194, 0.06);
}

.cta-band h2 {
  font-size: 28px;
  margin-bottom: 14px;
  font-weight: 500;
  letter-spacing: 3px;
  position: relative;
}

.cta-band p {
  font-size: 15px;
  color: rgba(255, 253, 248, 0.82);
  margin-bottom: 30px;
  position: relative;
}

.cta-band .btn-primary {
  background: #f8f2e7;
  color: var(--primary-dark);
  border: 1px solid var(--accent-light);
  box-shadow: 0 8px 22px rgba(30, 50, 43, 0.18);
  position: relative;
}

.cta-band .btn-primary:hover {
  background: var(--accent-light);
  color: var(--primary-dark);
}

/* ===== 联系信息 ===== */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 10px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 28px;
  background: var(--card);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all 0.4s ease;
}

.contact-item:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
  border-color: var(--accent-light);
}

.contact-item .icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-light);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  flex-shrink: 0;
  border: 1px solid var(--accent-light);
}

.contact-item .label {
  font-size: 12.5px;
  color: var(--accent-dark);
  margin-bottom: 4px;
  letter-spacing: 2px;
}

.contact-item .value {
  font-size: 15px;
  color: var(--text-dark);
  font-weight: 500;
}

/* ===== 子页面横幅 ===== */
.page-hero {
  background: linear-gradient(145deg, #fbfaf6 0%, #f3f7f2 55%, #eaf2eb 100%);
  color: var(--primary-dark);
  text-align: center;
  padding: 92px 0;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -40px;
  transform: translateY(-50%);
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 1px solid rgba(195, 162, 113, 0.30);
  background: radial-gradient(circle, rgba(234, 220, 194, 0.45), rgba(234, 220, 194, 0) 70%);
}

.page-hero h1 {
  font-size: 34px;
  margin-bottom: 14px;
  font-weight: 600;
  letter-spacing: 3px;
  position: relative;
}

.page-hero p {
  font-size: 15px;
  color: var(--text-muted);
  letter-spacing: 2px;
  position: relative;
}

/* ===== 页脚（雅致墨青） ===== */
.footer {
  background: #2f473e;
  color: #d7dfd8;
  padding: 64px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.3fr;
  gap: 48px;
  margin-bottom: 42px;
}

.footer-col h4 {
  color: #f5f1e7;
  font-size: 16px;
  margin-bottom: 16px;
  font-weight: 500;
  letter-spacing: 2px;
}

.footer-col p {
  font-size: 13.5px;
  line-height: 2.1;
  color: #b7c4bb;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul a {
  color: #d7dfd8;
  font-size: 13.5px;
}

.footer-col ul a:hover {
  color: var(--accent-light);
}

.footer-bottom {
  border-top: 1px solid rgba(234, 220, 194, 0.16);
  padding-top: 22px;
  text-align: center;
  font-size: 12.5px;
  color: #9caea2;
  letter-spacing: 1.5px;
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: #fffefb;
    flex-direction: column;
    padding: 16px;
    border-bottom: 1px solid var(--border);
    display: none;
    gap: 0;
  }

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

  .nav-menu a {
    padding: 14px 18px;
    border-radius: 2px;
  }

  .hero {
    padding: 70px 0 76px;
  }

  .hero::before,
  .hero::after {
    display: none;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero h1 span {
    font-size: 23px;
  }

  .btn-outline {
    margin-left: 0;
    margin-top: 14px;
  }

  .section {
    padding: 64px 0;
  }

  .section-head h2 {
    font-size: 23px;
  }

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