/* ============================================================
   源缘国际 · 官网设计系统
   设计语言：东方养生美学 — 深松绿 / 暖金 / 米宣纸
   规范：类名统一 yy- 前缀（BEM 风格），主题色由 :root 变量集中管理
   ============================================================ */

:root {
  --yy-pine: #1f4a38;        /* 深松绿 · 主色 */
  --yy-pine-deep: #143026;   /* 松绿加深 · 首屏/页脚底色 */
  --yy-pine-soft: #2c5f4a;   /* 松绿提亮 */
  --yy-gold: #b8924a;        /* 暖金 · 点缀色 */
  --yy-gold-light: #d6b877;  /* 亮金 */
  --yy-paper: #f7f3ea;       /* 米宣纸 · 底色 */
  --yy-paper-deep: #efe8d8;  /* 宣纸加深 */
  --yy-ink: #2b2a26;         /* 墨色正文 */
  --yy-ink-soft: #6d6a61;    /* 灰墨辅助文字 */
  --yy-cream: #fffdf8;       /* 暖白 */
  --yy-serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --yy-sans: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  --yy-gap: clamp(56px, 9vw, 110px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--yy-sans);
  color: var(--yy-ink);
  background: var(--yy-paper);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.yy-wrap { max-width: 1140px; margin: 0 auto; padding: 0 22px; }

/* ---------- 顶栏 ---------- */
.yy-topbar {
  position: sticky; top: 0; z-index: 90;
  background: rgba(247, 243, 234, .96);
  border-bottom: 1px solid rgba(184, 146, 74, .35);
  backdrop-filter: blur(6px);
}
.yy-topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.yy-brand { display: flex; align-items: center; gap: 12px; }
.yy-seal {
  width: 44px; height: 44px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: var(--yy-pine);
  color: var(--yy-gold-light);
  font-family: var(--yy-serif); font-size: 24px; font-weight: 700;
  border-radius: 4px;
  box-shadow: inset 0 0 0 2px rgba(214, 184, 119, .55);
}
.yy-brand-name {
  font-family: var(--yy-serif); font-size: 21px; font-weight: 700;
  color: var(--yy-pine); letter-spacing: 2px; line-height: 1.2;
}
.yy-brand-name small {
  display: block; font-size: 11px; font-weight: 400;
  color: var(--yy-ink-soft); letter-spacing: 3px;
}
.yy-menu { display: flex; gap: 34px; }
.yy-menu a {
  font-size: 15px; letter-spacing: 1px; color: var(--yy-ink);
  padding: 6px 0; position: relative;
}
.yy-menu a::after {
  content: ""; position: absolute; left: 50%; bottom: 0;
  width: 0; height: 2px; background: var(--yy-gold);
  transition: all .3s; transform: translateX(-50%);
}
.yy-menu a:hover::after, .yy-menu a.yy-on::after { width: 100%; }
.yy-menu a.yy-on { color: var(--yy-pine); font-weight: 600; }
.yy-burger {
  display: none; background: none; border: 1px solid var(--yy-pine);
  color: var(--yy-pine); font-size: 20px; line-height: 1;
  padding: 6px 12px; border-radius: 3px; cursor: pointer;
}

/* ---------- 首屏 ---------- */
.yy-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 90% at 85% 10%, rgba(184, 146, 74, .28), transparent 60%),
    radial-gradient(ellipse 70% 100% at 10% 100%, rgba(44, 95, 74, .8), transparent 65%),
    linear-gradient(160deg, var(--yy-pine-deep) 0%, var(--yy-pine) 62%, var(--yy-pine-soft) 100%);
  color: var(--yy-cream);
  padding: clamp(90px, 14vw, 170px) 0 clamp(80px, 12vw, 150px);
}
.yy-hero::before {
  content: ""; position: absolute; inset: 18px;
  border: 1px solid rgba(214, 184, 119, .28);
  pointer-events: none;
}
.yy-hero-vertical {
  position: absolute; right: clamp(24px, 6vw, 80px); top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: var(--yy-serif); font-size: clamp(16px, 2vw, 22px);
  letter-spacing: 14px; color: rgba(214, 184, 119, .8);
  border-left: 1px solid rgba(214, 184, 119, .4);
  padding-left: 16px;
}
.yy-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 14px; letter-spacing: 4px; color: var(--yy-gold-light);
}
.yy-hero-eyebrow::before { content: ""; width: 46px; height: 1px; background: var(--yy-gold); }
.yy-hero h1 {
  font-family: var(--yy-serif);
  font-size: clamp(30px, 5.2vw, 56px);
  font-weight: 700; letter-spacing: 4px; line-height: 1.5;
  margin: 22px 0 18px; max-width: 15em;
}
.yy-hero p {
  max-width: 560px; font-size: clamp(14px, 1.6vw, 17px);
  color: rgba(255, 253, 248, .82); letter-spacing: 1px;
}
.yy-hero-acts { margin-top: 40px; display: flex; gap: 18px; flex-wrap: wrap; }

.yy-btn {
  display: inline-block; padding: 13px 38px;
  font-size: 15px; letter-spacing: 3px;
  border: 1px solid var(--yy-gold); color: var(--yy-gold-light);
  transition: all .3s;
}
.yy-btn:hover { background: var(--yy-gold); color: var(--yy-pine-deep); }
.yy-btn--solid { background: var(--yy-gold); color: var(--yy-pine-deep); font-weight: 600; }
.yy-btn--solid:hover { background: var(--yy-gold-light); }
.yy-btn--pine { border-color: var(--yy-pine); color: var(--yy-pine); }
.yy-btn--pine:hover { background: var(--yy-pine); color: var(--yy-cream); }

/* ---------- 数字统计带 ---------- */
.yy-statband { background: var(--yy-cream); border-bottom: 1px solid var(--yy-paper-deep); }
.yy-statband-inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 42px 0;
}
.yy-stat { text-align: center; padding: 8px 12px; position: relative; }
.yy-stat + .yy-stat::before {
  content: ""; position: absolute; left: 0; top: 50%;
  transform: translateY(-50%); height: 56px; width: 1px;
  background: linear-gradient(transparent, var(--yy-gold), transparent);
}
.yy-stat b {
  font-family: var(--yy-serif); font-size: clamp(26px, 3.6vw, 40px);
  color: var(--yy-pine); letter-spacing: 1px;
}
.yy-stat b i { font-style: normal; font-size: .5em; color: var(--yy-gold); margin-left: 3px; }
.yy-stat span { display: block; font-size: 13px; color: var(--yy-ink-soft); letter-spacing: 2px; margin-top: 4px; }

/* ---------- 章节通用 ---------- */
.yy-sec { padding: var(--yy-gap) 0; }
.yy-sec--cream { background: var(--yy-cream); }
.yy-sec--pine { background: linear-gradient(170deg, var(--yy-pine-deep), var(--yy-pine)); color: var(--yy-cream); }
.yy-sec-head { margin-bottom: clamp(36px, 6vw, 64px); }
.yy-sec-head em {
  font-style: normal; font-size: 13px; letter-spacing: 5px;
  color: var(--yy-gold); display: inline-flex; align-items: center; gap: 10px;
}
.yy-sec-head em::before { content: "◆"; font-size: 9px; }
.yy-sec-head h2 {
  font-family: var(--yy-serif); font-size: clamp(24px, 3.4vw, 36px);
  letter-spacing: 3px; color: var(--yy-pine); margin-top: 10px;
}
.yy-sec--pine .yy-sec-head h2 { color: var(--yy-cream); }
.yy-sec-head p { color: var(--yy-ink-soft); margin-top: 8px; letter-spacing: 1px; }
.yy-sec--pine .yy-sec-head p { color: rgba(255, 253, 248, .7); }

/* ---------- 非对称图文 duo ---------- */
.yy-duo {
  display: grid; grid-template-columns: 5fr 7fr;
  gap: clamp(28px, 5vw, 64px); align-items: center;
}
.yy-duo--flip { grid-template-columns: 7fr 5fr; }
.yy-duo--flip .yy-panel { order: 2; }
.yy-duo h3 {
  font-family: var(--yy-serif); font-size: clamp(20px, 2.6vw, 28px);
  color: var(--yy-pine); letter-spacing: 2px; margin-bottom: 16px;
}
.yy-duo p { color: var(--yy-ink-soft); margin-bottom: 12px; text-align: justify; }
.yy-duo .yy-more {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 10px;
  color: var(--yy-gold); font-size: 14px; letter-spacing: 2px;
}
.yy-more::after { content: "→"; transition: transform .3s; }
.yy-more:hover::after { transform: translateX(6px); }

/* 视觉面板：CSS 渐变纹理占位（无图兜底） */
.yy-panel {
  position: relative; min-height: 320px;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(circle at 30% 25%, rgba(214, 184, 119, .35), transparent 55%),
    radial-gradient(circle at 75% 80%, rgba(44, 95, 74, .55), transparent 60%),
    linear-gradient(145deg, var(--yy-pine) 0%, var(--yy-pine-deep) 100%);
}
.yy-panel::before {
  content: ""; position: absolute; inset: 14px;
  border: 1px solid rgba(214, 184, 119, .4);
}
.yy-panel-word {
  font-family: var(--yy-serif); writing-mode: vertical-rl;
  font-size: clamp(30px, 4vw, 44px); letter-spacing: 20px;
  color: rgba(214, 184, 119, .9);
}
.yy-panel--paper {
  background:
    radial-gradient(circle at 70% 20%, rgba(184, 146, 74, .25), transparent 55%),
    linear-gradient(160deg, var(--yy-paper-deep), #e4dac2);
}
.yy-panel--paper::before { border-color: rgba(31, 74, 56, .3); }
.yy-panel--paper .yy-panel-word { color: rgba(31, 74, 56, .75); }

/* ---------- 首页 · 四大版块（壹贰叁肆） ---------- */
.yy-cross { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.yy-cross-item {
  position: relative; padding: 34px 32px 30px;
  background: var(--yy-cream); border: 1px solid var(--yy-paper-deep);
  transition: all .35s; overflow: hidden;
}
.yy-cross-item::before {
  content: attr(data-no);
  position: absolute; right: 14px; top: 2px;
  font-family: var(--yy-serif); font-size: 64px;
  color: rgba(184, 146, 74, .14); line-height: 1;
}
.yy-cross-item:hover { border-color: var(--yy-gold); transform: translateY(-4px); box-shadow: 0 16px 34px rgba(31, 74, 56, .1); }
.yy-cross-item h3 {
  font-family: var(--yy-serif); font-size: 21px; color: var(--yy-pine);
  letter-spacing: 2px; margin-bottom: 10px;
}
.yy-cross-item h3 small { font-size: 12px; color: var(--yy-gold); letter-spacing: 3px; margin-left: 10px; }
.yy-cross-item p { font-size: 14px; color: var(--yy-ink-soft); margin-bottom: 14px; }

/* ---------- 新闻 ---------- */
.yy-newsline { border-top: 1px solid var(--yy-paper-deep); }
.yy-newsline a {
  display: flex; align-items: baseline; gap: 26px;
  padding: 22px 6px; border-bottom: 1px solid var(--yy-paper-deep);
  transition: background .3s;
}
.yy-newsline a:hover { background: rgba(184, 146, 74, .07); }
.yy-newsline time {
  flex: none; font-family: var(--yy-serif); font-size: 14px;
  color: var(--yy-gold); letter-spacing: 1px; width: 100px;
}
.yy-newsline strong { font-weight: 600; font-size: 16px; letter-spacing: 1px; color: var(--yy-ink); }
.yy-newsline span { font-size: 13px; color: var(--yy-ink-soft); margin-left: auto; flex: none; }

/* 列表页卡 */
.yy-newslist { display: grid; gap: 26px; }
.yy-newscard {
  display: grid; grid-template-columns: 150px 1fr; gap: 28px;
  background: var(--yy-cream); border: 1px solid var(--yy-paper-deep);
  padding: 30px 34px; transition: all .3s;
}
.yy-newscard:hover { border-color: var(--yy-gold); box-shadow: 0 14px 30px rgba(31, 74, 56, .08); }
.yy-newscard-date { text-align: center; align-self: center; border-right: 1px solid var(--yy-paper-deep); }
.yy-newscard-date b { font-family: var(--yy-serif); font-size: 34px; color: var(--yy-pine); display: block; line-height: 1.2; }
.yy-newscard-date span { font-size: 13px; color: var(--yy-gold); letter-spacing: 2px; }
.yy-newscard h3 { font-family: var(--yy-serif); font-size: 20px; color: var(--yy-pine); letter-spacing: 1px; margin-bottom: 8px; }
.yy-newscard p { font-size: 14px; color: var(--yy-ink-soft); margin-bottom: 10px; }

/* 详情页 */
.yy-article { max-width: 820px; margin: 0 auto; }
.yy-article-head { text-align: center; margin-bottom: 40px; }
.yy-article-head h1 {
  font-family: var(--yy-serif); font-size: clamp(24px, 3.2vw, 34px);
  color: var(--yy-pine); letter-spacing: 2px; line-height: 1.6;
}
.yy-article-head time { display: inline-block; margin-top: 14px; color: var(--yy-gold); font-size: 14px; letter-spacing: 2px; }
.yy-article-head::after {
  content: ""; display: block; width: 60px; height: 2px;
  background: var(--yy-gold); margin: 22px auto 0;
}
.yy-article-body p { margin-bottom: 18px; text-align: justify; color: #3c3a34; }
.yy-article-body blockquote {
  margin: 26px 0; padding: 20px 26px;
  background: var(--yy-cream); border-left: 3px solid var(--yy-gold);
  font-family: var(--yy-serif); color: var(--yy-pine); letter-spacing: 1px;
}
.yy-article-nav {
  margin-top: 50px; padding-top: 26px;
  border-top: 1px solid var(--yy-paper-deep);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 14px;
}
.yy-article-nav a { color: var(--yy-ink-soft); }
.yy-article-nav a:hover { color: var(--yy-gold); }

/* ---------- 关于页 ---------- */
.yy-pagehead {
  background:
    radial-gradient(ellipse 50% 80% at 80% 20%, rgba(184, 146, 74, .25), transparent 60%),
    linear-gradient(160deg, var(--yy-pine-deep), var(--yy-pine));
  color: var(--yy-cream); text-align: center;
  padding: clamp(60px, 9vw, 100px) 0;
}
.yy-pagehead h1 { font-family: var(--yy-serif); font-size: clamp(26px, 4vw, 40px); letter-spacing: 6px; }
.yy-pagehead p { color: rgba(214, 184, 119, .85); letter-spacing: 4px; margin-top: 10px; font-size: 14px; }

/* 品质五柱 */
.yy-pillars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: rgba(214, 184, 119, .35); border: 1px solid rgba(214, 184, 119, .35); }
.yy-pillar { background: var(--yy-pine-deep); padding: 34px 20px; text-align: center; transition: background .3s; }
.yy-pillar:hover { background: var(--yy-pine); }
.yy-pillar i { font-style: normal; font-family: var(--yy-serif); font-size: 30px; color: var(--yy-gold-light); display: block; margin-bottom: 14px; }
.yy-pillar h4 { font-size: 16px; letter-spacing: 1px; color: var(--yy-cream); margin-bottom: 8px; font-weight: 600; }
.yy-pillar p { font-size: 12.5px; color: rgba(255, 253, 248, .65); line-height: 1.7; }

/* 荣誉墙 */
.yy-honors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.yy-honor {
  background: var(--yy-cream); border-top: 3px solid var(--yy-gold);
  padding: 28px 22px; box-shadow: 0 8px 22px rgba(31, 74, 56, .06);
}
.yy-honor i { font-style: normal; font-size: 26px; display: block; margin-bottom: 12px; }
.yy-honor h4 { font-family: var(--yy-serif); font-size: 17px; color: var(--yy-pine); letter-spacing: 1px; margin-bottom: 8px; }
.yy-honor p { font-size: 13px; color: var(--yy-ink-soft); }

/* 领导人 */
.yy-leaders { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.yy-leader {
  display: grid; grid-template-columns: 120px 1fr; gap: 24px;
  background: var(--yy-cream); border: 1px solid var(--yy-paper-deep); padding: 30px;
}
.yy-leader-mark {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, var(--yy-pine), var(--yy-pine-deep));
  font-family: var(--yy-serif); font-size: 34px; color: var(--yy-gold-light);
  min-height: 120px;
}
.yy-leader h4 { font-family: var(--yy-serif); font-size: 20px; color: var(--yy-pine); letter-spacing: 2px; }
.yy-leader h4 small { font-size: 13px; color: var(--yy-gold); margin-left: 10px; letter-spacing: 2px; }
.yy-leader p { font-size: 14px; color: var(--yy-ink-soft); margin-top: 8px; }

/* 公益时间线 */
.yy-timeline { position: relative; padding-left: 30px; }
.yy-timeline::before {
  content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px;
  width: 1px; background: linear-gradient(var(--yy-gold), rgba(184, 146, 74, .15));
}
.yy-tl-item { position: relative; padding: 0 0 30px 24px; }
.yy-tl-item::before {
  content: ""; position: absolute; left: -28px; top: 9px;
  width: 9px; height: 9px; background: var(--yy-paper);
  border: 2px solid var(--yy-gold); border-radius: 50%;
}
.yy-tl-item h4 { font-family: var(--yy-serif); font-size: 17px; color: var(--yy-pine); letter-spacing: 1px; }
.yy-tl-item p { font-size: 14px; color: var(--yy-ink-soft); margin-top: 4px; }

/* 联系 */
.yy-contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.yy-contact-card {
  background: var(--yy-cream); border: 1px solid var(--yy-paper-deep);
  padding: 40px 44px;
}
.yy-contact-card h3 { font-family: var(--yy-serif); font-size: 22px; color: var(--yy-pine); letter-spacing: 2px; margin-bottom: 20px; }
.yy-contact-row { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--yy-paper-deep); font-size: 15px; }
.yy-contact-row b { flex: none; color: var(--yy-gold); font-weight: 600; letter-spacing: 2px; }
.yy-tel {
  display: inline-block; margin-top: 22px;
  font-family: var(--yy-serif); font-size: clamp(22px, 3vw, 30px);
  color: var(--yy-pine); letter-spacing: 2px;
  border-bottom: 2px solid var(--yy-gold); padding-bottom: 4px;
}
.yy-tel:hover { color: var(--yy-gold); }

/* ---------- 页脚 ---------- */
.yy-foot { background: var(--yy-pine-deep); color: rgba(255, 253, 248, .75); }
.yy-foot-main {
  display: grid; grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: clamp(30px, 5vw, 70px);
  padding: clamp(46px, 7vw, 70px) 0 40px;
}
.yy-foot h4 {
  font-family: var(--yy-serif); font-size: 17px; color: var(--yy-gold-light);
  letter-spacing: 3px; margin-bottom: 18px;
}
.yy-foot p { font-size: 13.5px; line-height: 2; }
.yy-foot-nav a { display: block; font-size: 14px; padding: 4px 0; color: rgba(255, 253, 248, .75); }
.yy-foot-nav a:hover { color: var(--yy-gold-light); }
.yy-foot-brandline { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.yy-foot-brandline .yy-seal { background: rgba(214, 184, 119, .12); }
.yy-foot-brandline b { font-family: var(--yy-serif); font-size: 19px; color: var(--yy-cream); letter-spacing: 2px; }
.yy-foot-tel { font-family: var(--yy-serif); font-size: 24px; color: var(--yy-gold-light); letter-spacing: 1px; }
.yy-foot-bottom {
  border-top: 1px solid rgba(214, 184, 119, .22);
  padding: 20px 0; text-align: center;
  font-size: 12.5px; color: rgba(255, 253, 248, .5); letter-spacing: 1px;
}
.yy-foot-bottom a { color: rgba(255, 253, 248, .6); }
.yy-foot-bottom a:hover { color: var(--yy-gold-light); }

/* ---------- 滚动渐显（仅 JS 可用时启用，无 JS 内容直接可见） ---------- */
.yy-js .yy-reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.yy-js .yy-reveal.yy-shown { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .yy-pillars { grid-template-columns: repeat(2, 1fr); }
  .yy-pillar:last-child { grid-column: 1 / -1; }
  .yy-honors { grid-template-columns: repeat(2, 1fr); }
  .yy-leaders { grid-template-columns: 1fr; }
  .yy-hero-vertical { display: none; }
}

@media (max-width: 768px) {
  .yy-burger { display: block; }
  /* 无 JS 时菜单保持可见（换行平铺）；JS 可用时折叠为抽屉 */
  .yy-topbar-inner { flex-wrap: wrap; height: auto; padding: 12px 0; }
  .yy-menu { width: 100%; gap: 20px; flex-wrap: wrap; padding: 10px 0 4px; }
  .yy-js .yy-menu { display: none; }
  .yy-js .yy-menu.yy-open { display: flex; flex-direction: column; gap: 0; }
  .yy-js .yy-menu.yy-open a { padding: 12px 4px; border-bottom: 1px dashed var(--yy-paper-deep); }

  .yy-statband-inner { grid-template-columns: 1fr 1fr; gap: 18px 0; }
  .yy-stat:nth-child(3)::before { display: none; }
  .yy-duo, .yy-duo--flip { grid-template-columns: 1fr; }
  .yy-duo--flip .yy-panel { order: 0; }
  .yy-panel { min-height: 220px; }
  .yy-cross { grid-template-columns: 1fr; }
  .yy-newscard { grid-template-columns: 1fr; gap: 12px; }
  .yy-newscard-date { text-align: left; border-right: none; border-bottom: 1px solid var(--yy-paper-deep); padding-bottom: 10px; }
  .yy-newscard-date b { display: inline; font-size: 22px; margin-right: 8px; }
  .yy-newsline a { flex-wrap: wrap; gap: 6px 16px; }
  .yy-newsline span { margin-left: 0; width: 100%; }
  .yy-contact { grid-template-columns: 1fr; }
  .yy-honors { grid-template-columns: 1fr; }
  .yy-leader { grid-template-columns: 90px 1fr; gap: 16px; padding: 20px; }
  .yy-foot-main { grid-template-columns: 1fr; gap: 30px; }
}
