@charset "UTF-8";
/* ============================================================================
   苷亮健 · 内页样式（栏目页 / 列表页 / 详情页 / 单页 / 联系页）
   与 site.css 共用色彩变量
   ============================================================================ */

/* ---------------------------------------------------------------- 内页页头 */
.y-page-head {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  background: linear-gradient(120deg, #053F1E 0%, #0A5227 52%, #0E7A3C 100%);
  overflow: hidden;
}
.y-page-head.has-bg { background-size: cover; background-position: center; }
.y-page-head::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(96deg, rgba(3, 24, 12, .82) 0%, rgba(3, 24, 12, .56) 46%, rgba(3, 24, 12, .2) 100%);
}
.y-page-head::before {
  content: "";
  position: absolute;
  right: -100px; top: -120px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 75, .2), transparent 68%);
  z-index: 1;
}
.y-page-head .y-container { position: relative; z-index: 2; padding-top: 54px; padding-bottom: 54px; width: 100%; }
.y-bread {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .58);
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.y-bread a { color: rgba(255, 255, 255, .58); }
.y-bread a:hover { color: #fff; }
.y-bread span.sep { opacity: .4; }
.y-bread .cur { color: var(--gold-light); }
.y-page-title {
  font-size: 38px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1.5px;
  line-height: 1.3;
}
.y-page-en {
  display: block;
  margin-top: 10px;
  font-family: var(--font-num);
  font-size: 12.5px;
  letter-spacing: 3.4px;
  color: var(--gold);
  text-transform: uppercase;
}
.y-page-intro {
  margin-top: 16px;
  max-width: 720px;
  font-size: 14.5px;
  line-height: 1.85;
  color: rgba(255, 255, 255, .7);
}

/* ---------------------------------------------------------------- 内页主体 */
.y-inner { padding: 66px 0 84px; background: #fff; }
.y-inner.bg-soft { background: var(--bg-soft); }

/* 二级栏目切换条 */
.y-subnav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 44px;
}
.y-subnav a {
  padding: 10px 24px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: #fff;
  font-size: 14px;
  color: var(--ink-3);
  transition: all .24s var(--ease);
}
.y-subnav a:hover { border-color: var(--brand); color: var(--brand); }
.y-subnav a.on {
  background: linear-gradient(135deg, var(--brand-mid), var(--brand));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 20px -9px rgba(14, 122, 60, .6);
}

/* ---------------------------------------------------------------- 富文本正文 */
.y-article {
  font-size: 15.5px;
  line-height: 2;
  color: var(--ink-2);
  max-width: 940px;
  margin: 0 auto;
}
.y-article > *:first-child { margin-top: 0 !important; }
.y-article h1, .y-article h2, .y-article h3, .y-article h4 {
  margin: 34px 0 16px;
  color: var(--ink);
  line-height: 1.4;
}
.y-article h2 { font-size: 24px; padding-left: 14px; border-left: 4px solid var(--brand); }
.y-article h3 { font-size: 19px; }
.y-article h4 { font-size: 16.5px; }
.y-article p { margin: 0 0 18px; }
.y-article img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 22px auto;
  box-shadow: var(--shadow-s);
  display: block;
}
.y-article ul, .y-article ol { margin: 0 0 18px; padding-left: 22px; }
.y-article li { margin-bottom: 9px; list-style: disc; }
.y-article ol li { list-style: decimal; }
.y-article blockquote {
  margin: 24px 0;
  padding: 18px 24px;
  background: var(--brand-soft);
  border-left: 4px solid var(--brand);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--ink-2);
}
.y-article a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.y-article table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 14px; }
.y-article th, .y-article td { border: 1px solid var(--line-2); padding: 11px 14px; text-align: left; }
.y-article th { background: var(--bg-soft); font-weight: 600; }

/* ---------------------------------------------------------------- 列表 · 产品 */
.y-list-prod { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.y-list-prod .y-prod { height: 100%; }

/* ---------------------------------------------------------------- 列表 · 新闻 */
.y-list-news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.y-ncard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all .34s var(--ease);
}
.y-ncard:hover { transform: translateY(-7px); box-shadow: 0 28px 50px -28px rgba(20, 38, 28, .26); border-color: var(--brand-line); }
.y-ncard-media { aspect-ratio: 16 / 10; overflow: hidden; background: #EDF3EF; display: block; }
.y-ncard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.y-ncard:hover .y-ncard-media img { transform: scale(1.06); }
.y-ncard-body { padding: 22px 24px 24px; flex: 1 1 auto; display: flex; flex-direction: column; }
.y-ncard-date {
  font-family: var(--font-num);
  font-size: 12px;
  color: var(--gold-deep);
  letter-spacing: 1.2px;
  margin-bottom: 9px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.y-ncard-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .2s;
}
.y-ncard:hover .y-ncard-title { color: var(--brand); }
.y-ncard-sum {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--ink-3);
  line-height: 1.78;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1 1 auto;
}
.y-ncard-foot {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: var(--ink-4);
}
.y-ncard-foot .go { color: var(--brand); display: inline-flex; align-items: center; gap: 4px; font-weight: 500; }

/* ---------------------------------------------------------------- 列表 · 案例 */
.y-list-case { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px; }
.y-ccard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  overflow: hidden;
  transition: all .34s var(--ease);
  display: flex;
  flex-direction: column;
}
.y-ccard:hover { transform: translateY(-7px); box-shadow: 0 28px 50px -28px rgba(20, 38, 28, .26); }
.y-ccard-media { aspect-ratio: 4 / 3; overflow: hidden; background: #EDF3EF; position: relative; }
.y-ccard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.y-ccard:hover .y-ccard-media img { transform: scale(1.06); }
.y-ccard-body { padding: 22px 24px 24px; flex: 1 1 auto; display: flex; flex-direction: column; }
.y-ccard-loc {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; color: var(--gold-deep); margin-bottom: 9px; letter-spacing: .4px;
}
.y-ccard-title { font-size: 17px; font-weight: 600; color: var(--ink); line-height: 1.5; transition: color .2s; }
.y-ccard:hover .y-ccard-title { color: var(--brand); }
.y-ccard-sum {
  margin-top: 10px; font-size: 13.5px; color: var(--ink-3); line-height: 1.78;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ---------------------------------------------------------------- 列表 · 专家 */
.y-list-expert { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.y-list-expert .y-team { height: 100%; }

/* ---------------------------------------------------------------- 详情页 */
.y-detail { padding: 60px 0 84px; }
.y-detail-wrap { max-width: 960px; margin: 0 auto; }
.y-detail-head { text-align: center; margin-bottom: 40px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.y-detail-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.42;
  letter-spacing: .6px;
}
.y-detail-meta {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--ink-4);
}
.y-detail-meta span { display: inline-flex; align-items: center; gap: 6px; }

/* 产品详情 */
.y-pdet {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: start;
  margin-bottom: 56px;
}
.y-pdet-gallery { position: relative; }
.y-pdet-main {
  border-radius: var(--radius-l);
  overflow: hidden;
  background: linear-gradient(160deg, #F7FAF8, #EDF4EF);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  padding: 30px;
  border: 1px solid var(--line);
}
.y-pdet-main img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s var(--ease); }
.y-pdet-thumbs { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.y-pdet-thumb {
  width: 76px; height: 76px;
  border-radius: 11px;
  overflow: hidden;
  border: 2px solid transparent;
  background: var(--bg-soft);
  cursor: pointer;
  padding: 4px;
  transition: all .22s;
}
.y-pdet-thumb img { width: 100%; height: 100%; object-fit: contain; }
.y-pdet-thumb.on { border-color: var(--brand); }

.y-pdet-info .y-sec-en { margin-bottom: 10px; }
.y-pdet-name { font-size: 30px; font-weight: 700; color: var(--ink); line-height: 1.35; }
.y-pdet-model {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 13px;
  border-radius: 999px;
  background: var(--gold-light);
  color: var(--gold-deep);
  font-size: 12.5px;
  font-family: var(--font-num);
  letter-spacing: 1px;
}
.y-pdet-sum {
  margin-top: 20px;
  font-size: 15px;
  color: var(--ink-3);
  line-height: 1.95;
  padding: 18px 20px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  border-left: 3px solid var(--brand);
}
.y-pdet-specs { margin-top: 24px; display: flex; flex-direction: column; }
.y-pdet-spec {
  display: flex;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
}
.y-pdet-spec dt { flex: 0 0 96px; color: var(--ink-4); }
.y-pdet-spec dd { margin: 0; color: var(--ink-2); }
.y-pdet-acts { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }

.y-detail-sec-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 24px;
  padding-left: 14px;
  border-left: 4px solid var(--brand);
  line-height: 1.4;
}

/* 图片画廊 */
.y-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.y-gallery a {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-soft);
  display: block;
}
.y-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.y-gallery a:hover img { transform: scale(1.06); }

/* 详情页底部翻页 */
.y-det-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 50px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.y-det-nav a {
  font-size: 13.5px;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 46%;
}
.y-det-nav a:hover { color: var(--brand); }
.y-det-nav a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------------------------------------------------------------- 筛选条 */
.y-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.y-filter a {
  padding: 8px 20px;
  border-radius: 999px;
  background: var(--bg-soft);
  font-size: 13.5px;
  color: var(--ink-3);
  transition: all .22s;
}
.y-filter a:hover { background: var(--brand-soft); color: var(--brand); }
.y-filter a.on { background: var(--brand); color: #fff; }

/* ---------------------------------------------------------------- 联系页 */
.y-contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 52px; align-items: start; }
.y-ccards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.y-ccard-info {
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: #fff;
  transition: all .3s var(--ease);
}
.y-ccard-info:hover { border-color: var(--brand-line); box-shadow: var(--shadow); transform: translateY(-4px); }
.y-ccard-info i {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid; place-items: center;
  margin-bottom: 16px;
}
.y-ccard-info small { display: block; font-size: 12px; color: var(--ink-4); letter-spacing: .8px; margin-bottom: 6px; }
.y-ccard-info b { font-size: 16px; color: var(--ink); font-weight: 600; line-height: 1.6; word-break: break-all; }
.y-ccard-info b.num { font-family: var(--font-num); font-size: 19px; letter-spacing: .4px; }
.y-ccard-info.wide { grid-column: 1 / -1; }

.y-contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 36px 34px 34px;
  box-shadow: var(--shadow-s);
}
.y-contact-form h3 { font-size: 21px; margin-bottom: 6px; }
.y-contact-form > p { font-size: 13.5px; color: var(--ink-4); margin-bottom: 24px; }

.y-map {
  margin-top: 44px;
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid var(--line);
  height: 340px;
  background: var(--bg-soft);
  display: grid;
  place-items: center;
  color: var(--ink-4);
  font-size: 13.5px;
  text-align: center;
  padding: 20px;
}
.y-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------------------------------------------------------------- 表单通用 */
.y-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.y-form-grid .full { grid-column: 1 / -1; }
.y-field label { display: block; font-size: 13px; color: var(--ink-3); margin-bottom: 7px; }
.y-field label .req { color: #C2413A; margin-left: 2px; }
.y-field input, .y-field textarea, .y-field select {
  width: 100%;
  height: 46px;
  padding: 0 15px;
  border: 1px solid var(--line-2);
  border-radius: 11px;
  background: var(--bg-soft);
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: all .22s;
}
.y-field textarea { height: 110px; padding: 12px 15px; resize: vertical; line-height: 1.7; }
.y-field input:focus, .y-field textarea:focus, .y-field select:focus {
  border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(14, 122, 60, .08);
}
.y-field { margin-bottom: 14px; }
.cf-topic-tip {
  display: flex; align-items: center; gap: 7px;
  margin-bottom: 16px; padding: 10px 14px;
  border: 1px solid var(--brand-line);
  background: var(--brand-soft);
  border-radius: 10px;
  font-size: 13.5px; color: var(--brand-dark);
}
.cf-topic-tip svg { flex: 0 0 auto; }
.cf-options { display: flex; flex-wrap: wrap; gap: 10px; }
.cf-opt {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px; border: 1px solid var(--line-2); border-radius: 999px;
  font-size: 13.5px; cursor: pointer; transition: all .2s;
}
.cf-opt:hover { border-color: var(--brand); }
.cf-opt input { width: auto; height: auto; margin: 0; }
.cf-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 160px; height: 48px; padding: 0 32px;
  border: 0; border-radius: 11px;
  background: linear-gradient(135deg, var(--brand-mid), var(--brand));
  color: #fff; font-size: 15px; font-weight: 500; letter-spacing: .6px;
  cursor: pointer; margin-top: 8px;
  box-shadow: 0 10px 24px -10px rgba(14, 122, 60, .6);
  transition: all .26s var(--ease);
}
.cf-submit:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(14, 122, 60, .75); }
.cf-msg { margin-top: 14px; font-size: 13.5px; }
.cf-msg.ok { color: var(--brand); }
.cf-msg.err { color: #C2413A; }

/* ---------------------------------------------------------------- 侧栏（单页） */
.y-page-split { display: grid; grid-template-columns: 250px 1fr; gap: 48px; align-items: start; }
.y-side {
  position: sticky;
  top: 96px;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  overflow: hidden;
  background: #fff;
}
.y-side-head {
  padding: 22px 24px;
  background: linear-gradient(140deg, var(--brand), var(--brand-dark));
  color: #fff;
}
.y-side-head b { display: block; font-size: 17px; letter-spacing: 1px; }
.y-side-head small {
  display: block; margin-top: 5px; font-size: 10.5px;
  letter-spacing: 2.4px; color: rgba(255, 255, 255, .55);
  font-family: var(--font-num); text-transform: uppercase;
}
.y-side-list { padding: 10px; }
.y-side-list a {
  display: block;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--ink-2);
  transition: all .22s;
  position: relative;
}
.y-side-list a:hover { background: var(--brand-soft); color: var(--brand); }
.y-side-list a.on {
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 600;
}
.y-side-list a.on::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 3px; height: 18px;
  border-radius: 0 3px 3px 0;
  background: var(--brand);
}
.y-side-cta {
  padding: 20px 22px 24px;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
}
.y-side-cta p { font-size: 12.5px; color: var(--ink-4); margin-bottom: 12px; line-height: 1.7; }
.y-side-cta .num {
  display: block; font-family: var(--font-num); font-size: 20px;
  color: var(--brand); font-weight: 600; margin-bottom: 12px;
}

/* ---------------------------------------------------------------- 响应式 */
@media (max-width: 1200px) {
  .y-list-prod { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .y-pdet { gap: 38px; }
  .y-page-split { grid-template-columns: 220px 1fr; gap: 34px; }
}

@media (max-width: 1024px) {
  .y-page-head { min-height: 260px; }
  .y-page-head .y-container { padding-top: 44px; padding-bottom: 44px; }
  .y-page-title { font-size: 31px; }
  .y-inner { padding: 50px 0 64px; }
  .y-list-prod { grid-template-columns: repeat(2, 1fr); }
  .y-list-news { grid-template-columns: repeat(2, 1fr); }
  .y-list-case { grid-template-columns: repeat(2, 1fr); }
  .y-list-expert { grid-template-columns: repeat(2, 1fr); }
  .y-contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .y-pdet { grid-template-columns: 1fr; gap: 30px; }
  .y-gallery { grid-template-columns: repeat(2, 1fr); }
  .y-page-split { grid-template-columns: 1fr; }
  .y-side { position: static; margin-bottom: 30px; }
  .y-side-list { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px; }
  .y-side-list a { padding: 9px 15px; font-size: 13.5px; }
  .y-side-list a.on::before { display: none; }
  .y-detail-title { font-size: 26px; }
}

@media (max-width: 768px) {
  .y-page-head { min-height: 220px; }
  .y-page-head .y-container { padding-top: 34px; padding-bottom: 34px; }
  .y-page-title { font-size: 24px; letter-spacing: .6px; }
  .y-page-en { font-size: 11px; letter-spacing: 2.2px; margin-top: 7px; }
  .y-page-intro { font-size: 13px; margin-top: 12px; }
  .y-bread { font-size: 11.5px; margin-bottom: 12px; }
  .y-inner { padding: 36px 0 48px; }
  .y-subnav { margin-bottom: 28px; gap: 8px; }
  .y-subnav a { padding: 8px 16px; font-size: 13px; }
  .y-list-prod { gap: 14px; }
  .y-list-news, .y-list-case, .y-list-expert { grid-template-columns: 1fr; gap: 16px; }
  .y-ncard-body, .y-ccard-body { padding: 18px 18px 20px; }
  .y-ncard-title, .y-ccard-title { font-size: 15.5px; }
  .y-article { font-size: 14.5px; line-height: 1.92; }
  .y-article h2 { font-size: 20px; }
  .y-article h3 { font-size: 17px; }
  .y-detail { padding: 34px 0 50px; }
  .y-detail-head { margin-bottom: 26px; padding-bottom: 20px; }
  .y-detail-title { font-size: 21px; }
  .y-detail-meta { gap: 12px; font-size: 12px; margin-top: 14px; }
  .y-pdet-name { font-size: 22px; }
  .y-pdet-main { padding: 18px; }
  .y-pdet-thumb { width: 62px; height: 62px; }
  .y-pdet-acts .y-btn { flex: 1 1 auto; }
  .y-detail-sec-title { font-size: 18px; margin-bottom: 18px; }
  .y-gallery { gap: 10px; }
  .y-ccards { grid-template-columns: 1fr; gap: 12px; }
  .y-ccard-info { padding: 20px 18px; }
  .y-contact-form { padding: 24px 18px 22px; }
  .y-form-grid { grid-template-columns: 1fr; }
  .y-filter { gap: 7px; margin-bottom: 26px; padding-bottom: 18px; }
  .y-filter a { padding: 7px 14px; font-size: 12.5px; }
  .y-det-nav a { max-width: 100%; }
  .y-map { height: 240px; margin-top: 28px; }
  .y-pager { margin-top: 30px; }
  .y-pager a, .y-pager span { min-width: 36px; height: 36px; font-size: 13px; }
}
