/* theme4 青云绿金 — 基于 moban4.html */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --qy-green: #1a472a;
  --qy-green-mid: #2d5f3f;
  --qy-gold: #d4af37;
  --qy-text: #333;
  --qy-muted: #666;
  --qy-muted-light: #888;
  --qy-bg: #fafaf8;
  --qy-bg-products: #f0f4f1;
  --qy-bg-contact: #f8f9f5;
  --qy-tag-bg: #e8f5e9;
  --qy-tag-text: #2e7d32;
  --qy-max: 1200px;
  --qy-nav-h: 80px;
}

html { scroll-behavior: smooth; }

body.qy-site.theme-skin-qingyun {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  color: var(--qy-text);
  line-height: 1.8;
  background: var(--qy-bg);
}

a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
img { max-width: 100%; display: block; }

.qy-preview-bar {
  background: #b45309;
  color: #fff;
  text-align: center;
  padding: 8px;
  font-size: 13px;
}

/* —— 顶栏 —— */
.qy-header {
  background: linear-gradient(135deg, var(--qy-green) 0%, var(--qy-green-mid) 100%);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.qy-nav-container {
  max-width: var(--qy-max);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: var(--qy-nav-h);
  gap: 16px;
  flex-wrap: wrap;
}

.qy-logo {
  display: flex;
  align-items: center;
  color: #fff;
  font-size: clamp(18px, 3.5vw, 22px);
  font-weight: bold;
  letter-spacing: clamp(1px, 0.5vw, 4px);
  flex-shrink: 0;
}

.qy-logo-icon {
  width: 45px;
  height: 45px;
  background: var(--qy-gold);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  font-size: 20px;
  color: var(--qy-green);
  flex-shrink: 0;
}

.qy-nav-menu {
  display: flex;
  list-style: none;
  gap: clamp(16px, 3vw, 40px);
  margin: 0;
  padding: 0;
}

.qy-nav-menu a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  position: relative;
  padding: 5px 0;
  white-space: nowrap;
}

.qy-nav-menu a:hover,
.qy-nav-menu a.active { color: var(--qy-gold); }

.qy-nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--qy-gold);
  transition: width 0.3s ease;
}

.qy-nav-menu a:hover::after,
.qy-nav-menu a.active::after { width: 100%; }

.qy-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}

.qy-nav-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}

.qy-nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.qy-nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.qy-nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* —— Hero —— */
.qy-hero {
  min-height: clamp(360px, 55vh, 600px);
  background: linear-gradient(rgba(26, 71, 42, 0.75), rgba(26, 71, 42, 0.85)),
    linear-gradient(135deg, var(--qy-green) 0%, var(--qy-green-mid) 100%);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.qy-hero-content {
  padding: 40px 20px;
  max-width: 900px;
}

.qy-hero h1 {
  font-size: clamp(28px, 6vw, 52px);
  margin-bottom: 20px;
  letter-spacing: clamp(2px, 1.2vw, 8px);
  font-weight: 300;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.qy-hero p {
  font-size: clamp(16px, 2.5vw, 20px);
  margin-bottom: 36px;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: clamp(1px, 0.5vw, 2px);
}

.qy-btn-gold {
  display: inline-block;
  padding: 14px 40px;
  background: var(--qy-gold);
  color: var(--qy-green);
  font-size: 16px;
  font-weight: bold;
  border-radius: 30px;
  letter-spacing: 2px;
  border: 2px solid var(--qy-gold);
}

.qy-btn-gold:hover {
  background: transparent;
  color: var(--qy-gold);
}

/* —— 通用板块 —— */
.qy-section { padding: clamp(48px, 8vw, 80px) 20px; }
.qy-section-inner { max-width: var(--qy-max); margin: 0 auto; }

.qy-section-title {
  text-align: center;
  margin-bottom: clamp(32px, 5vw, 50px);
}

.qy-section-title h2 {
  font-size: clamp(26px, 4vw, 36px);
  color: var(--qy-green);
  margin-bottom: 15px;
  font-weight: 400;
  letter-spacing: clamp(2px, 0.8vw, 4px);
}

.qy-line {
  width: 60px;
  height: 3px;
  background: var(--qy-gold);
  margin: 0 auto;
}

.qy-section-title p {
  color: var(--qy-muted);
  margin-top: 15px;
  font-size: 14px;
  letter-spacing: 1px;
}

.qy-section-cta { text-align: center; margin-top: 40px; }
.qy-section-cta--link { margin-top: 30px; }

.qy-link-more {
  color: var(--qy-green);
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid transparent;
}

.qy-link-more:hover { border-bottom-color: var(--qy-green); }

/* —— 关于 —— */
.qy-about-preview {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.qy-about-img {
  min-height: 280px;
  height: 100%;
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 16px;
}

.qy-about-text {
  padding: clamp(28px, 5vw, 60px);
}

.qy-about-text h3 {
  font-size: clamp(22px, 3vw, 28px);
  color: var(--qy-green);
  margin-bottom: 20px;
  font-weight: 400;
}

.qy-about-text p {
  color: #555;
  margin-bottom: 20px;
  text-align: justify;
}

/* —— 产品 —— */
.qy-products-section { background: var(--qy-bg-products); }

.qy-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 3vw, 30px);
}

.qy-products-grid--page {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.qy-product-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
}

.qy-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.qy-product-img {
  height: clamp(180px, 28vw, 250px);
  background: #e8e8e8;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.qy-product-img .product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qy-product-img .product-img--placeholder {
  object-fit: contain;
  padding: 24px;
  opacity: 0.55;
  background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
}

.qy-product-info {
  padding: 25px 20px;
  text-align: center;
}

.qy-product-info h4 {
  font-size: 18px;
  color: var(--qy-green);
  margin-bottom: 8px;
  font-weight: 600;
}

.qy-product-info p {
  font-size: 13px;
  color: var(--qy-muted-light);
}

.qy-product-tag {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 16px;
  background: var(--qy-tag-bg);
  color: var(--qy-tag-text);
  font-size: 12px;
  border-radius: 20px;
}

.qy-product-hint {
  text-align: center;
  margin-top: 24px;
  color: var(--qy-muted-light);
  font-size: 14px;
}

.qy-product-hint--top { margin-top: 0; margin-bottom: 28px; }
.qy-product-hint--inline { margin: 16px 0 24px; text-align: center; }

/* —— 招商 —— */
.qy-join-section {
  background: linear-gradient(135deg, var(--qy-green) 0%, var(--qy-green-mid) 100%);
  color: #fff;
  text-align: center;
}

.qy-join-section .qy-section-title h2 { color: #fff; }
.qy-join-section .qy-section-title p { color: rgba(255, 255, 255, 0.8); }

.qy-join-content {
  max-width: 800px;
  margin: 0 auto;
}

.qy-join-content > p {
  font-size: 16px;
  line-height: 2;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.9);
}

.qy-join-features {
  display: flex;
  justify-content: center;
  gap: clamp(24px, 5vw, 60px);
  margin: 40px 0;
  flex-wrap: wrap;
}

.qy-join-feature { text-align: center; min-width: 100px; }

.qy-join-feature .num {
  font-size: clamp(32px, 5vw, 42px);
  font-weight: bold;
  color: var(--qy-gold);
  display: block;
  line-height: 1.1;
}

.qy-join-feature .label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 8px;
  display: block;
}

.qy-join-note {
  font-size: 14px !important;
  opacity: 0.85;
  margin-bottom: 20px !important;
}

/* —— 资讯 —— */
.qy-news-list {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 3px 20px rgba(0, 0, 0, 0.06);
  padding: clamp(20px, 4vw, 40px);
}

.qy-news-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid #f0f0f0;
  transition: padding-left 0.3s ease, background 0.3s;
  color: inherit;
}

.qy-news-item:hover {
  padding-left: 10px;
  background: #fafafa;
}

.qy-news-item:last-child { border-bottom: none; }

.qy-news-title {
  font-size: 16px;
  color: var(--qy-text);
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.qy-news-title::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--qy-gold);
  border-radius: 50%;
  flex-shrink: 0;
}

.qy-news-item:hover .qy-news-title { color: var(--qy-green); }

.qy-news-date {
  color: var(--qy-muted-light);
  font-size: 14px;
  flex-shrink: 0;
}

/* —— 联系 —— */
.qy-contact-section { background: var(--qy-bg-contact); }

.qy-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
  text-align: center;
}

.qy-contact-card {
  background: #fff;
  padding: clamp(28px, 4vw, 40px) 24px;
  border-radius: 8px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.qy-contact-card:hover { transform: translateY(-5px); }

.qy-contact-icon {
  width: 60px;
  height: 60px;
  background: var(--qy-tag-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--qy-green);
  font-size: 24px;
}

.qy-contact-card h4 {
  font-size: 18px;
  color: var(--qy-green);
  margin-bottom: 10px;
}

.qy-contact-card p {
  color: var(--qy-muted);
  font-size: 15px;
  line-height: 1.8;
  word-break: break-word;
}

.qy-contact-extra {
  text-align: center;
  margin-top: 40px;
  color: var(--qy-muted-light);
  font-size: 14px;
}

.qy-contact-extra p { margin-bottom: 12px; }

.qy-contact-page-extra { margin-top: 40px; }

/* —— 友商 —— */
.qy-peers { background: #fff; border-top: 1px solid #e8f5e9; }

.qy-peer-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.qy-peer-list a {
  display: inline-block;
  padding: 8px 18px;
  border: 1px solid #c8e6c9;
  border-radius: 20px;
  font-size: 14px;
  color: var(--qy-muted);
  background: #fff;
}

.qy-peer-list a:hover {
  border-color: var(--qy-green);
  color: var(--qy-green);
  background: var(--qy-tag-bg);
}

/* —— 页脚 —— */
.qy-footer {
  background: var(--qy-green);
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  padding: 30px 20px;
  font-size: 14px;
}

.qy-footer-links {
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
}

.qy-footer-links a:hover { color: var(--qy-gold); }

.qy-footer p { margin: 5px 0; }
.qy-footer-tip { margin-top: 10px !important; font-size: 12px !important; opacity: 0.75; }

/* —— 内页 —— */
.qy-page-banner {
  background: linear-gradient(135deg, var(--qy-green) 0%, var(--qy-green-mid) 100%);
  color: #fff;
  padding: clamp(40px, 7vw, 64px) 20px clamp(32px, 5vw, 48px);
  text-align: center;
}

.qy-page-banner--compact { text-align: left; padding: 32px 20px 28px; }

.qy-page-tag {
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--qy-gold);
  margin-bottom: 10px;
}

.qy-page-banner h1 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 400;
  letter-spacing: 2px;
}

.qy-breadcrumb {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 12px;
}

.qy-breadcrumb a:hover { color: var(--qy-gold); }
.qy-breadcrumb span { margin: 0 6px; opacity: 0.5; }

.qy-back {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}

.qy-back:hover { color: var(--qy-gold); }

.qy-page-body { padding-top: 0; }

.qy-prose {
  max-width: 860px;
  margin: 0 auto;
  color: #555;
  line-height: 1.9;
  font-size: 16px;
}

.qy-prose p { margin-bottom: 1em; }
.qy-prose img { max-width: 100%; height: auto; margin: 1em auto; border-radius: 8px; }
.qy-prose h2, .qy-prose h3 { color: var(--qy-green); margin: 1.4em 0 0.6em; }

.qy-empty { text-align: center; color: var(--qy-muted-light); padding: 40px 0; }

.qy-product-detail .qy-product-hero {
  max-width: 480px;
  margin: 0 auto 24px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.qy-product-detail .qy-product-hero .product-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.qy-product-detail .qy-product-hero .product-img--placeholder {
  object-fit: contain;
  padding: 40px;
  background: #f0f4f1;
  opacity: 0.55;
}

.qy-product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-bottom: 8px;
  font-size: 15px;
}

.qy-product-meta span { color: var(--qy-muted-light); margin-right: 8px; }
.qy-product-meta strong { color: var(--qy-green); }

.qy-article-meta {
  margin-top: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}

.qy-article-related {
  max-width: 860px;
  margin: 48px auto 0;
  padding-top: 32px;
  border-top: 1px solid #e8f5e9;
}

.qy-article-related h3 {
  font-size: 18px;
  color: var(--qy-green);
  margin-bottom: 16px;
}

.qy-article-related ul { list-style: none; }

.qy-article-related li {
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

.qy-article-related a { color: var(--qy-muted); }
.qy-article-related a:hover { color: var(--qy-green); }

.qy-pagination {
  margin-top: 32px;
  text-align: center;
}

.qy-pagination ul {
  list-style: none;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.qy-pagination a,
.qy-pagination span {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid #c8e6c9;
  border-radius: 20px;
  font-size: 14px;
  color: var(--qy-muted);
  background: #fff;
}

.qy-pagination a:hover,
.qy-pagination .active span {
  background: var(--qy-green);
  border-color: var(--qy-green);
  color: #fff;
}

/* —— 响应式 —— */
@media (max-width: 992px) {
  .qy-products-grid { grid-template-columns: repeat(2, 1fr); }
  .qy-contact-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .qy-nav-toggle { display: flex; }

  .qy-nav-wrap {
    width: 100%;
    order: 3;
    display: none;
  }

  .qy-nav-wrap.is-open { display: block; }

  .qy-nav-menu {
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 8px 0 12px;
    margin: 0 -20px;
    width: calc(100% + 40px);
    background: linear-gradient(135deg, var(--qy-green) 0%, var(--qy-green-mid) 100%);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  }

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

  .qy-nav-menu a {
    display: block;
    padding: 12px 24px;
  }

  .qy-nav-menu a::after { display: none; }

  .qy-about-preview { grid-template-columns: 1fr; }
  .qy-about-img { min-height: 220px; }

  .qy-news-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .qy-news-item:hover { padding-left: 0; }

  .qy-contact-grid { grid-template-columns: 1fr; }
  .qy-join-features { gap: 24px; }
}

@media (max-width: 576px) {
  .qy-products-grid { grid-template-columns: 1fr; }
}
