/* ============================================================
   万商云集·雅安站 样式（雨城茶马 · 雨青 + 茶褐）
   类前缀固定 ya-；配色令牌见 :root
   ============================================================ */
:root {
  --ink: #1E2622;
  --primary: #5B8C7A;
  --primary-2: #76A892;
  --accent: #9C7A4D;
  --bg: #F4F6F3;
  --bg-alt: #EAEEEA;
  --line: #D6DDD6;
  --heading: #222A24;
  --muted: #5A665E;
  --radius: 16px;
  --shadow: 0 12px 28px rgba(30, 38, 34, .10);
  --gradient: linear-gradient(135deg, #5B8C7A, #9C7A4D);
  --side-w: 268px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { color: var(--heading); line-height: 1.3; margin: 0 0 .5em; }

/* ===================== 侧边固定栏 ===================== */
.ya-side {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--side-w);
  height: 100vh;
  background: var(--ink);
  color: #EAF1ED;
  display: flex;
  flex-direction: column;
  padding: 26px 22px;
  overflow-y: auto;
  z-index: 40;
  border-right: 1px solid rgba(255, 255, 255, .06);
}
.ya-side__brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 22px;
}
.ya-side__logo { width: 46px; height: 46px; border-radius: 12px; object-fit: contain; background: #fff; }
.ya-side__name { font-size: 17px; font-weight: 700; letter-spacing: .5px; }
.ya-side__site { font-size: 12px; color: var(--primary-2); }
.ya-side__site b { color: #F0D9B5; }
.ya-side__nav { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; }
.ya-side__link {
  padding: 11px 14px;
  border-radius: 12px;
  color: #CFE0D8;
  font-size: 15px;
  transition: background .2s, color .2s;
  border-left: 3px solid transparent;
}
.ya-side__link:hover { background: rgba(118, 168, 146, .16); color: #fff; }
.ya-side__link--on {
  background: rgba(118, 168, 146, .22);
  color: #fff;
  border-left-color: var(--accent);
}
.ya-side__rain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .05;
  background-image: repeating-linear-gradient(64deg, #fff 0 1px, transparent 1px 13px);
}
.ya-side__cta { margin-top: auto; padding-top: 18px; }
.ya-side__phone {
  display: inline-block;
  font-size: 20px;
  font-weight: 700;
  color: #F0D9B5;
  letter-spacing: .5px;
}
.ya-side__addr { font-size: 12px; color: #9FB3AA; margin: 6px 0 0; }

/* ===================== 移动顶栏 + 抽屉 ===================== */
.ya-topbar {
  display: none;
  position: sticky;
  top: 0;
  align-items: center;
  justify-content: space-between;
  height: 58px;
  padding: 0 16px;
  background: var(--ink);
  color: #EAF1ED;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.ya-topbar__logo { height: 34px; width: auto; border-radius: 8px; background: #fff; }
.ya-burger {
  width: 42px; height: 42px;
  background: transparent; border: 0; cursor: pointer;
  display: flex; flex-direction: column; gap: 5px; align-items: center; justify-content: center;
}
.ya-burger span { width: 22px; height: 2px; background: #EAF1ED; border-radius: 2px; }

.ya-drawer {
  position: fixed;
  top: 0; right: 0;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: var(--ink);
  color: #EAF1ED;
  transform: translateX(100%);
  transition: transform .28s ease;
  z-index: 60;
  padding: 18px 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.ya-drawer.is-open { transform: translateX(0); }
.ya-drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 15px; font-weight: 700; margin-bottom: 14px;
}
.ya-drawer__close {
  width: 36px; height: 36px; border: 0; border-radius: 10px;
  background: rgba(255, 255, 255, .08); color: #fff; font-size: 20px; cursor: pointer;
}
.ya-drawer__nav { display: flex; flex-direction: column; gap: 4px; }
.ya-drawer__link { padding: 12px 14px; border-radius: 12px; color: #CFE0D8; }
.ya-drawer__link--on { background: rgba(118, 168, 146, .22); color: #fff; }
.ya-drawer__tel {
  margin-top: 18px; padding: 12px; text-align: center; border-radius: 12px;
  background: var(--gradient); color: #fff; font-weight: 700;
}
.ya-scrim {
  position: fixed; inset: 0; background: rgba(20, 26, 22, .5);
  opacity: 0; visibility: hidden; transition: opacity .25s; z-index: 55;
}
.ya-scrim.is-open { opacity: 1; visibility: visible; }

/* ===================== 内容区 ===================== */
.ya-content {
  margin-left: var(--side-w);
  min-height: 100vh;
  position: relative;
}
.ya-main { display: block; }

/* ===================== 按钮 ===================== */
.ya-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 22px; border-radius: 999px; font-size: 15px; font-weight: 600;
  cursor: pointer; border: 1px solid transparent; transition: transform .15s, box-shadow .2s, background .2s;
}
.ya-btn:hover { transform: translateY(-1px); }
.ya-btn--lg { padding: 14px 28px; font-size: 16px; }
.ya-btn--primary { background: var(--primary); color: #fff; }
.ya-btn--primary:hover { background: var(--primary-2); box-shadow: var(--shadow); }
.ya-btn--light { background: #fff; color: var(--ink); }
.ya-btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.ya-btn--outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.ya-btn--outline:hover { background: var(--primary); color: #fff; }

/* ===================== 区块通用 ===================== */
.ya-sec { padding: 64px 0; }
.ya-sec--alt { background: var(--bg-alt); }
.ya-sec--band { background: var(--gradient); color: #fff; }
.ya-sec--band .ya-sec__title,
.ya-sec--band .ya-sec__eyebrow,
.ya-sec--band .ya-sec__lead { color: #fff; }
.ya-sec__inner { max-width: 1080px; margin: 0 auto; padding: 0 26px; }
.ya-sec__inner--center { text-align: center; }
.ya-sec__head { margin-bottom: 34px; }
.ya-sec__head--center { text-align: center; }
.ya-sec__eyebrow {
  display: inline-block; font-size: 13px; letter-spacing: 2px;
  color: var(--accent); text-transform: uppercase; margin-bottom: 8px;
}
.ya-sec__title { font-size: 26px; }
.ya-sec__lead { color: var(--muted); max-width: 720px; margin: 10px auto 0; }
.ya-sec__more {
  display: inline-block; margin-top: 18px; color: var(--primary); font-weight: 600;
}
.ya-sec__more:hover { color: var(--accent); }
.ya-sec__phone {
  display: inline-block; margin: 14px 0 22px; font-size: 30px; font-weight: 800;
  color: var(--primary); letter-spacing: .5px;
}
.ya-sec--band .ya-sec__phone { color: #fff; }
.ya-sec__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===================== Hero ===================== */
.ya-hero {
  position: relative; overflow: hidden;
  background: var(--ink); color: #EAF1ED;
  padding: 78px 0;
}
.ya-hero--sub { padding: 56px 0; }
.ya-hero__rain {
  position: absolute; top: -20%; left: -10%; width: 60%; height: 140%;
  pointer-events: none; opacity: .07;
  background-image: repeating-linear-gradient(64deg, #fff 0 1px, transparent 1px 16px);
}
.ya-hero__rain--b {
  left: auto; right: -10%; width: 50%;
  background-image: repeating-linear-gradient(116deg, #fff 0 1px, transparent 1px 22px);
  opacity: .05;
}
.ya-hero__inner {
  position: relative; max-width: 1080px; margin: 0 auto; padding: 0 26px;
  display: flex; align-items: center; gap: 36px;
}
.ya-hero__body { flex: 1; }
.ya-hero__badge {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: rgba(156, 122, 77, .25); color: #F0D9B5; font-size: 13px; letter-spacing: 1px;
  margin-bottom: 16px;
}
.ya-hero__title { font-size: 40px; color: #fff; margin-bottom: 14px; }
.ya-hero--sub .ya-hero__title { font-size: 32px; }
.ya-hero__sub { font-size: 17px; color: #C9D8D0; max-width: 620px; }
.ya-hero__meta { font-size: 14px; color: var(--primary-2); margin-top: 14px; }
.ya-hero__actions { display: flex; gap: 14px; margin-top: 24px; flex-wrap: wrap; }
.ya-hero__art { width: 320px; flex: none; }
.ya-hero__art img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* ===================== 引言块 ===================== */
.ya-quote { max-width: 1080px; margin: 0 auto; padding: 48px 26px; text-align: center; }
.ya-quote--center { text-align: center; }
.ya-quote__text {
  font-size: 24px; font-weight: 600; color: var(--heading); line-height: 1.6;
  position: relative; padding: 10px 0;
}
.ya-quote__text::before { content: "“"; color: var(--accent); font-size: 48px; vertical-align: -10px; margin-right: 4px; }
.ya-quote__by { color: var(--accent); font-size: 14px; letter-spacing: 1px; margin: 8px 0 0; }

/* ===================== 关于 ===================== */
.ya-about { display: flex; gap: 40px; align-items: center; }
.ya-about--wide { align-items: flex-start; }
.ya-about__text { flex: 1; }
.ya-about__full { color: var(--muted); max-height: 132px; overflow: hidden; transition: max-height .3s ease; position: relative; }
.ya-about__full.is-open { max-height: 2400px; }
.ya-about__full::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 38px;
  background: linear-gradient(transparent, var(--bg));
}
.ya-about__full.is-open::after { display: none; }
.ya-about__toggle { margin: 10px 0 18px; }
.ya-about__btn {
  background: transparent; border: 0; color: var(--primary); cursor: pointer;
  font-size: 14px; font-weight: 600; padding: 4px 0;
}
.ya-about__link { margin-top: 4px; }
.ya-about__media { width: 280px; flex: none; }
.ya-about__media img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* ===================== 业务主线 / 卡片 ===================== */
.ya-lines { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ya-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: transform .2s, box-shadow .2s;
}
.ya-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ya-lines__title { font-size: 19px; color: var(--primary); margin-bottom: 10px; }
.ya-lines__desc { color: var(--muted); margin: 0; }

/* ===================== 产品瓷片卡 ===================== */
.ya-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ya-tiles--list { grid-template-columns: repeat(4, 1fr); }
.ya-tile {
  display: flex; flex-direction: column; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; transition: transform .2s, box-shadow .2s, border-color .2s;
  overflow: hidden;
}
.ya-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary-2); }
.ya-tile__img { width: 100%; height: 150px; object-fit: cover; border-radius: 12px; }
.ya-tile__title { font-size: 17px; font-weight: 700; color: var(--heading); }
.ya-tile__desc { font-size: 14px; color: var(--muted); }

/* ===================== 广告图 ===================== */
.ya-banner { max-width: 1080px; margin: 0 auto; padding: 0 26px 8px; }
.ya-banner__img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ===================== 新闻双栏 ===================== */
.ya-newsgrid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: start; }
.ya-news { display: flex; flex-direction: column; gap: 12px; }
.ya-news__item {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 12px 0; border-bottom: 1px dashed var(--line);
}
.ya-news__link { color: var(--heading); font-weight: 600; }
.ya-news__link:hover { color: var(--primary); }
.ya-news__date { font-size: 13px; color: var(--muted); white-space: nowrap; }
.ya-featured {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
}
.ya-featured__title { font-size: 19px; }
.ya-featured__title a:hover { color: var(--primary); }
.ya-featured__meta { font-size: 13px; color: var(--muted); }
.ya-featured__body { color: var(--muted); margin: 12px 0; }
.ya-featured__more { color: var(--primary); font-weight: 600; }

/* ===================== FAQ ===================== */
.ya-faq { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.ya-faq__item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 4px 20px; transition: border-color .2s;
}
.ya-faq__item[open] { border-color: var(--primary-2); }
.ya-faq__item summary {
  cursor: pointer; list-style: none; padding: 14px 0; font-weight: 600; color: var(--heading);
  display: flex; justify-content: space-between; align-items: center;
}
.ya-faq__item summary::-webkit-details-marker { display: none; }
.ya-faq__item summary::after { content: "+"; color: var(--accent); font-size: 20px; }
.ya-faq__item[open] summary::after { content: "−"; }
.ya-faq__body { color: var(--muted); padding: 0 0 16px; }

/* ===================== 同系站点 ===================== */
.ya-sites { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.ya-sites__item {
  padding: 10px 18px; border-radius: 999px; background: rgba(255, 255, 255, .16);
  color: #fff; font-weight: 600; border: 1px solid rgba(255, 255, 255, .3);
}
.ya-sites__item:hover { background: rgba(255, 255, 255, .3); }

/* ===================== 列表页 ===================== */
.ya-list { display: flex; flex-direction: column; gap: 22px; }
.ya-list__item {
  display: flex; gap: 22px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px; transition: box-shadow .2s;
}
.ya-list__item:hover { box-shadow: var(--shadow); }
.ya-list__media { width: 200px; flex: none; }
.ya-list__media img { width: 100%; height: 130px; object-fit: cover; border-radius: 12px; }
.ya-list__title { font-size: 19px; }
.ya-list__title a:hover { color: var(--primary); }
.ya-list__meta { font-size: 13px; color: var(--muted); margin: 4px 0 8px; }
.ya-list__desc { color: var(--muted); margin: 0 0 10px; }
.ya-list__more { color: var(--primary); font-weight: 600; }
.ya-pages { margin-top: 30px; text-align: center; color: var(--muted); }
.ya-pages a { color: var(--primary); margin: 0 6px; }

/* ===================== 详情双栏 ===================== */
.ya-show { display: grid; grid-template-columns: 1fr 300px; gap: 32px; align-items: start; }
.ya-post { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.ya-post__body { color: var(--ink); }
.ya-post__body img { max-width: 100%; border-radius: 12px; margin: 16px 0; }
.ya-post__foot { display: flex; gap: 14px; margin-top: 24px; flex-wrap: wrap; }
.ya-sidebar { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.ya-sidebar__title { font-size: 17px; color: var(--primary); margin-bottom: 12px; }
.ya-sidebar__list { display: flex; flex-direction: column; gap: 10px; }
.ya-sidebar__link { color: var(--heading); padding: 8px 0; border-bottom: 1px dashed var(--line); }
.ya-sidebar__link:hover { color: var(--primary); }

/* ===================== 产品详情 ===================== */
.ya-prodhero { background: var(--ink); color: #EAF1ED; padding: 56px 0; }
.ya-prodhero__inner {
  max-width: 1080px; margin: 0 auto; padding: 0 26px;
  display: flex; gap: 40px; align-items: center;
}
.ya-prodhero__media { width: 360px; flex: none; }
.ya-prodhero__media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.ya-prodhero__kicker { display: inline-block; color: #F0D9B5; font-size: 13px; letter-spacing: 1px; margin-bottom: 10px; }
.ya-prodhero__title { font-size: 30px; color: #fff; }
.ya-prodhero__desc { color: #C9D8D0; margin: 12px 0 16px; }
.ya-prodhero__info { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.ya-prodhero__li {
  font-size: 13px; padding: 6px 12px; border-radius: 999px;
  background: rgba(118, 168, 146, .18); color: #DCEDE5;
}
.ya-prodhero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===================== 联系 ===================== */
.ya-contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: start; }
.ya-contact__card {
  background: var(--gradient); color: #fff; border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.ya-contact__title { color: #fff; font-size: 20px; }
.ya-contact__phone { display: inline-block; font-size: 28px; font-weight: 800; color: #fff; margin: 6px 0; }
.ya-contact__row { margin: 6px 0; }
.ya-contact__form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.ya-contact__lead { color: var(--muted); margin: 0 0 16px; }
.ya-form { display: flex; flex-direction: column; gap: 14px; }
.ya-form__row { display: flex; flex-direction: column; gap: 6px; }
.ya-form__label { font-size: 14px; color: var(--muted); }
.ya-form__input {
  padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px; font-size: 15px;
  font-family: inherit; color: var(--ink); background: var(--bg);
}
.ya-form__input:focus { outline: 2px solid var(--primary-2); border-color: var(--primary-2); }
.ya-form__textarea { min-height: 110px; resize: vertical; }

/* ===================== 底部 ===================== */
.ya-foot { background: var(--ink); color: #C9D8D0; padding: 48px 0 28px; margin-top: 0; }
.ya-foot__inner {
  max-width: 1080px; margin: 0 auto; padding: 0 26px;
  display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 28px;
}
.ya-foot__brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; }
.ya-foot__brand img { width: 40px; height: 40px; border-radius: 10px; background: #fff; }
.ya-foot__line { margin: 8px 0 0; font-size: 14px; }
.ya-foot__line a { color: #F0D9B5; }
.ya-foot__title { font-size: 15px; color: #fff; margin-bottom: 12px; }
.ya-foot__nav { display: flex; flex-direction: column; gap: 8px; }
.ya-foot__link { color: #C9D8D0; font-size: 14px; }
.ya-foot__link:hover { color: #fff; }
.ya-foot__city { display: flex; flex-wrap: wrap; gap: 8px; }
.ya-foot__citylink {
  font-size: 13px; padding: 5px 11px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); color: #DCEDE5;
}
.ya-foot__citylink:hover { background: rgba(255, 255, 255, .2); }
.ya-foot__nap { max-width: 1080px; margin: 26px auto 0; padding: 16px 26px 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.ya-foot__naprow { margin: 4px 0; font-size: 13px; color: #9FB3AA; }
.ya-foot__copy { max-width: 1080px; margin: 18px auto 0; padding: 16px 26px 0; border-top: 1px solid rgba(255, 255, 255, .1); text-align: center; }
.ya-foot__copyline { margin: 6px 0; font-size: 13px; color: #9FB3AA; }
.ya-foot__copyline a { color: var(--primary-2); margin: 0 6px; }
.ya-foot__copyline--tel a { color: #F0D9B5; font-weight: 700; font-size: 15px; }

/* ===================== 响应式 ===================== */
@media (max-width: 980px) {
  .ya-side { display: none; }
  .ya-topbar { display: flex; }
  .ya-content { margin-left: 0; }
  .ya-hero__inner { flex-direction: column; align-items: flex-start; }
  .ya-hero__art { width: 100%; }
  .ya-about { flex-direction: column; }
  .ya-about__media { width: 100%; }
  .ya-lines { grid-template-columns: 1fr; }
  .ya-tiles { grid-template-columns: repeat(2, 1fr); }
  .ya-tiles--list { grid-template-columns: repeat(2, 1fr); }
  .ya-newsgrid { grid-template-columns: 1fr; }
  .ya-show { grid-template-columns: 1fr; }
  .ya-prodhero__inner { flex-direction: column; }
  .ya-prodhero__media { width: 100%; }
  .ya-contact { grid-template-columns: 1fr; }
  .ya-foot__inner { grid-template-columns: 1fr; }
  .ya-list__item { flex-direction: column; }
  .ya-list__media { width: 100%; }
}
@media (max-width: 560px) {
  .ya-tiles, .ya-tiles--list { grid-template-columns: 1fr; }
  .ya-hero__title { font-size: 30px; }
  .ya-sec { padding: 46px 0; }
}
