/* ==========================================================================
   YueF Jewelry · 首页 v2 (home-v2.css)
   依据《首页页面设计实证调研与重构蓝图》：
   - 零滚动劫持：全页自然滚动，不使用多屏吸顶轨道
   - 首屏露头：Hero 高度 = 视口 - 页头 - 66px，底缘露出工厂信任带
   - 色彩节奏：深绿 Hero → 浅灰绿信任带 → 纯白品类/商品/切形 → 深墨绿风格 → 深绿工坊 → 暖米白指南
   ========================================================================== */

body.yfh-home {
  margin: 0;
  background: #FFFFFF;
  color: var(--yf-body, #34443F);
  font: 400 15px/1.65 var(--yf-sans, "Manrope", system-ui, sans-serif);
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.yfh-home button,
body.yfh-home input {
  font: inherit;
}
body.yfh-home [hidden] {
  display: none !important;
}
body.yfh-home :focus-visible {
  outline: 2px solid var(--yf-gold, #82612F);
  outline-offset: 2px;
}

.yfh-shell {
  width: min(1290px, 100% - clamp(32px, 5vw, 80px));
  margin-inline: auto;
}
.yfh-section {
  padding: clamp(56px, 7vw, 96px) 0;
}
.yfh-eyebrow {
  margin: 0 0 10px;
  color: var(--yf-gold, #82612F);
  font: 700 11px/1.4 var(--yf-sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.yfh-h2 {
  margin: 0;
  color: var(--yf-ink, #163F37);
  font: 400 clamp(28px, 3.2vw, 42px)/1.12 var(--yf-serif, "Fraunces", Georgia, serif);
  letter-spacing: -0.02em;
}
.yfh-h2 em {
  color: var(--yf-gold, #82612F);
  font-style: italic;
}
.yfh-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
  margin-bottom: clamp(24px, 3vw, 36px);
}
.yfh-sub {
  max-width: 58ch;
  margin: 12px 0 0;
  color: var(--yf-muted, #5C6D67);
  font-size: 14.5px;
}
.yfh-textlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--yf-gold, #82612F);
  color: var(--yf-ink, #163F37);
  font: 700 12px/1 var(--yf-sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.yfh-textlink:hover {
  color: var(--yf-peacock, #05634F);
}

.yfh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 26px;
  border: 1px solid transparent;
  font: 700 12.5px/1 var(--yf-sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.yfh-btn--primary {
  background: var(--yf-peacock, #05634F);
  border-color: var(--yf-gold-light, #E5CFA3);
  color: #FFFFFF;
}
.yfh-btn--primary:hover {
  background: var(--yf-peacock-hover, #044E3E);
}
.yfh-btn--ghost {
  background: transparent;
  border-color: rgba(229, 207, 163, 0.55);
  color: var(--yf-on-dark, #FAF8F3);
}
.yfh-btn--ghost:hover {
  border-color: var(--yf-gold-light, #E5CFA3);
  color: var(--yf-gold-light, #E5CFA3);
}

/* === 屏 1：分屏 Hero（深绿文字区 + 真人佩戴大图），底缘露出信任带 === */
.yfh-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  height: clamp(540px, calc(100svh - 168px), 780px);
  background: var(--yf-bg-atelier, #0F3B32);
  color: var(--yf-on-dark, #FAF8F3);
  overflow: hidden;
}
.yfh-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 4.5vw, 72px) clamp(28px, 5vw, 88px);
}
.yfh-hero__copy .yfh-eyebrow {
  color: var(--yf-gold-light, #E5CFA3);
}
.yfh-hero h1 {
  margin: 0 0 20px;
  color: #FFFFFF;
  font: 500 clamp(34px, 4.3vw, 60px)/1.08 var(--yf-serif);
  letter-spacing: -0.025em;
}
.yfh-hero h1 em {
  display: block;
  color: var(--yf-gold-light, #E5CFA3);
  font-style: italic;
  font-weight: 450;
}
.yfh-hero__lead {
  max-width: 46ch;
  margin: 0 0 30px;
  color: #EEF3F0;
  font-size: 16px;
  font-weight: 450;
  line-height: 1.72;
}
.yfh-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.yfh-hero__note {
  margin: 22px 0 0;
  color: #DCE6E1;
  font-size: 13.5px;
  font-weight: 450;
  letter-spacing: 0.01em;
}
.yfh-hero__note a {
  color: var(--yf-gold-light, #E5CFA3);
}
.yfh-hero__media {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: var(--yf-bg-atelier, #0F3B32);
}
.yfh-hero__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 30%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(15, 59, 50, 0) 0%, rgba(15, 59, 50, 0.36) 100%);
}
.yfh-hero__slides {
  position: relative;
  width: 100%;
  height: 100%;
}
.yfh-hero .yfh-hero__slides > img.yfh-hero__slide {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity 1.15s cubic-bezier(0.22, 1, 0.36, 1), transform 5.6s ease-out;
  will-change: opacity, transform;
}
.yfh-hero .yfh-hero__slides > img.yfh-hero__slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}
.yfh-hero .yfh-hero__slides > img.yfh-hero__slide--light {
  object-position: 50% 54% !important;
}
.yfh-hero .yfh-hero__slides > img.yfh-hero__slide--form {
  object-position: 50% 92% !important;
}
/* 防止 Elementor 的 .elementor img { height: auto } 破坏首页各模块固定纵横比裁切 */
.yfh-cat .yfh-cat__media > img,
.yfh-wide .yfh-wide__media > img,
.yfh-card .yfh-card__media > img,
.yfh-style .yfh-style__media > img,
.yfh-step .yfh-step__media > img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}
.yfh-hero .yfh-hero__chip > img {
  width: 56px !important;
  height: 56px !important;
}
.yfh-hero__chip {
  position: absolute;
  left: clamp(16px, 2vw, 28px);
  bottom: clamp(16px, 2vw, 28px);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 11px;
  max-width: 306px;
  padding: 9px 14px 9px 9px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--yf-line, #DFE5E0);
  color: var(--yf-ink, #163F37);
  text-decoration: none;
  backdrop-filter: blur(6px);
}
.yfh-hero__chip img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  padding: 3px;
  background: #F4F7F3;
  border: 1px solid var(--yf-line, #DFE5E0);
  flex-shrink: 0;
}
.yfh-hero__dots {
  position: absolute;
  right: clamp(16px, 2vw, 28px);
  bottom: clamp(16px, 2vw, 28px);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: rgba(15, 59, 50, 0.78);
  border: 1px solid rgba(229, 207, 163, 0.36);
  backdrop-filter: blur(8px);
}
.yfh-hero__dots button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 10px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #C4D4CE;
  font: 600 10.5px/1 var(--yf-sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.yfh-hero__dots button span {
  font-variant-numeric: tabular-nums;
  opacity: 0.85;
}
.yfh-hero__dots .yfh-dot-label {
  font-style: normal;
}
@media (max-width: 1220px) {
  .yfh-hero__dots .yfh-dot-label {
    display: none;
  }
  .yfh-hero__dots button {
    padding: 0 9px;
  }
}
.yfh-hero__dots button:hover {
  color: #FAF8F3;
}
.yfh-hero__dots button[aria-pressed="true"] {
  background: rgba(255, 255, 255, 0.08);
  border-bottom-color: var(--yf-gold-light, #E5CFA3);
  color: var(--yf-gold-light, #E5CFA3);
}
.yfh-hero__chip strong {
  display: block;
  font: 700 13px/1.35 var(--yf-sans);
}
.yfh-hero__chip small {
  display: block;
  margin-top: 2px;
  color: var(--yf-muted, #5C6D67);
  font-size: 12px;
  line-height: 1.4;
}
.yfh-hero__chip:hover strong {
  color: var(--yf-peacock, #05634F);
}

/* === 屏 2：番禺工厂信任带 === */
.yfh-trust {
  background: var(--yf-bg-sage, #F1F4EF);
  border-bottom: 1px solid var(--yf-line, #DFE5E0);
}
.yfh-trust ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.yfh-trust li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px clamp(12px, 2vw, 28px);
  border-left: 1px solid var(--yf-line, #DFE5E0);
}
.yfh-trust li:first-child {
  border-left: 0;
  padding-left: 0;
}
.yfh-trust strong {
  color: var(--yf-gold, #82612F);
  font: 500 clamp(22px, 2.1vw, 30px)/1 var(--yf-serif);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.yfh-trust b {
  display: block;
  color: var(--yf-ink, #163F37);
  font: 700 13px/1.3 var(--yf-sans);
}
.yfh-trust small {
  display: block;
  margin-top: 3px;
  color: var(--yf-muted, #5C6D67);
  font-size: 12px;
  line-height: 1.45;
}
.yfh-trust small a {
  color: var(--yf-peacock, #05634F);
}

/* === 屏 3：品类快选 === */
.yfh-cats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.yfh-cat {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1px solid var(--yf-line, #DFE5E0);
  overflow: hidden;
}
.yfh-cat__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--yf-bg-sage, #F1F4EF);
}
.yfh-cat__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.yfh-cat:hover .yfh-cat__media img {
  transform: scale(1.04);
}
.yfh-cat__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 16px 18px;
}
.yfh-cat__body h3 {
  margin: 0;
  font: 500 20px/1.2 var(--yf-serif);
}
.yfh-cat__link {
  color: var(--yf-ink, #163F37);
  text-decoration: none;
}
.yfh-cat__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.yfh-cat:hover .yfh-cat__link {
  color: var(--yf-peacock, #05634F);
}
.yfh-cat__body p {
  margin: 0;
  color: var(--yf-muted, #5C6D67);
  font-size: 13px;
  line-height: 1.5;
}
.yfh-cat__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 5px 10px;
  background: var(--yf-bg-mint, #EDF5EF);
  border: 1px solid #C2DEC9;
  color: var(--yf-peacock, #05634F);
  font: 700 10.5px/1.2 var(--yf-sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}
.yfh-cat__badge:hover {
  background: var(--yf-peacock, #05634F);
  border-color: var(--yf-peacock, #05634F);
  color: #FFFFFF;
}

.yfh-cats__wide {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.yfh-wide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 250px;
  background: var(--yf-ink, #163F37);
  color: #FFFFFF;
  text-decoration: none;
  overflow: hidden;
}
.yfh-wide__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: clamp(22px, 2.6vw, 34px);
}
.yfh-wide__copy small {
  color: var(--yf-gold-light, #E5CFA3);
  font: 700 10.5px/1.3 var(--yf-sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.yfh-wide__copy h3 {
  margin: 0;
  font: 500 clamp(22px, 2vw, 28px)/1.18 var(--yf-serif);
}
.yfh-wide__copy p {
  margin: 0;
  color: #E7EFEA;
  font-size: 14px;
  font-weight: 450;
  line-height: 1.65;
}
.yfh-wide__cta {
  align-self: flex-start;
  margin-top: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--yf-gold-light, #E5CFA3);
  color: var(--yf-gold-light, #E5CFA3);
  font: 700 11.5px/1 var(--yf-sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.yfh-wide__media {
  min-height: 0;
  overflow: hidden;
}
.yfh-wide__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.yfh-wide:hover .yfh-wide__media img {
  transform: scale(1.04);
}

/* === 屏 4：工厂直供精选（Tab + 横滑卡片） === */
.yfh-tabs {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--yf-line, #DFE5E0);
}
.yfh-tab {
  margin: 0 22px -1px 0;
  padding: 12px 2px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: var(--yf-muted, #5C6D67);
  font: 700 12px/1 var(--yf-sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}
.yfh-tab[aria-selected="true"] {
  color: var(--yf-ink, #163F37);
  border-bottom-color: var(--yf-gold, #82612F);
}
.yfh-rail__controls {
  display: flex;
  gap: 8px;
}
.yfh-rail__controls button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--yf-control-edge, #B8C4BE);
  background: #FFFFFF;
  color: var(--yf-ink, #163F37);
  font-size: 16px;
  cursor: pointer;
}
.yfh-rail__controls button:hover:not(:disabled) {
  border-color: var(--yf-peacock, #05634F);
  color: var(--yf-peacock, #05634F);
}
.yfh-rail__controls button:disabled {
  opacity: 0.4;
  cursor: default;
}
.yfh-rail__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 4);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.yfh-rail__track::-webkit-scrollbar {
  display: none;
}
.yfh-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #FFFFFF;
  border: 1px solid var(--yf-line, #DFE5E0);
  scroll-snap-align: start;
}
.yfh-card__media {
  position: relative;
  aspect-ratio: 3 / 4;
  background: #FAFBF9;
  overflow: hidden;
}
.yfh-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.35s ease;
}
.yfh-card__media img.is-alt {
  opacity: 0;
}
.yfh-card:hover .yfh-card__media img.is-alt {
  opacity: 1;
}
.yfh-card__flag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 4px 9px;
  background: var(--yf-bg-mint, #EDF5EF);
  border: 1px solid #C2DEC9;
  color: var(--yf-peacock, #05634F);
  font: 700 10px/1.2 var(--yf-sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.yfh-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
  padding: 14px 14px 16px;
}
.yfh-card__cat {
  color: var(--yf-gold, #82612F);
  font: 700 10.5px/1.3 var(--yf-sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.yfh-card__title {
  margin: 0;
  font: 500 15.5px/1.35 var(--yf-serif);
}
.yfh-card__title a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--yf-ink, #163F37);
  text-decoration: none;
}
.yfh-card__title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.yfh-card:hover .yfh-card__title a {
  color: var(--yf-peacock, #05634F);
}
.yfh-card__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  margin-top: auto;
  color: var(--yf-ink, #163F37);
  font: 700 15px/1.3 var(--yf-sans);
  font-variant-numeric: tabular-nums;
}
.yfh-card__price s {
  color: var(--yf-muted, #5C6D67);
  font-size: 13px;
  font-weight: 500;
}
.yfh-card__save {
  padding: 3px 8px;
  background: var(--yf-bg-mint, #EDF5EF);
  border: 1px solid #C2DEC9;
  color: var(--yf-peacock, #05634F);
  font: 700 11px/1.2 var(--yf-sans);
}
.yfh-card__try {
  position: relative;
  z-index: 2;
  align-self: flex-start;
  color: var(--yf-peacock, #05634F);
  font: 700 11.5px/1.3 var(--yf-sans);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.yfh-picks__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 22px;
  color: var(--yf-muted, #5C6D67);
  font-size: 12.5px;
}

/* === 屏 5：切形火彩（复用 gem-fire-studio 组件） === */
.yfh-cuts {
  padding-top: 0;
}

/* === 屏 6：两种佩戴风格（浅灰绿透气底 + 上图下白卡，零遮罩不压图） === */
.yfh-styles {
  background: var(--yf-bg-sage, #F1F4EF);
  border-block: 1px solid var(--yf-line, #DFE5E0);
  color: var(--yf-body, #34443F);
}
.yfh-styles__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}
.yfh-style {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1px solid var(--yf-line, #DFE5E0);
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.yfh-style:hover {
  border-color: var(--yf-gold, #82612F);
  box-shadow: 0 14px 32px -22px rgba(15, 59, 50, 0.35);
}
.yfh-style__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #E8ECE7;
}
.yfh-style__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.yfh-style__img--day {
  object-position: 50% 34%;
}
.yfh-style__img--night {
  object-position: 54% 26%;
}
.yfh-style:hover .yfh-style__media img {
  transform: scale(1.03);
}
.yfh-style__copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(22px, 2.6vw, 32px);
  background: #FFFFFF;
}
.yfh-style__copy small {
  color: var(--yf-gold, #82612F);
  font: 700 11px/1.3 var(--yf-sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.yfh-style__copy h3 {
  margin: 8px 0 10px;
  color: var(--yf-ink, #163F37);
  font: 500 clamp(24px, 2.2vw, 30px)/1.18 var(--yf-serif);
}
.yfh-style__copy p {
  margin: 0 0 18px;
  color: var(--yf-body, #34443F);
  font-size: 14.5px;
  line-height: 1.68;
}
.yfh-style__cta {
  align-self: flex-start;
  margin-top: auto;
  padding-bottom: 5px;
  border-bottom: 1.5px solid var(--yf-gold, #82612F);
  color: var(--yf-ink, #163F37);
  font: 700 12px/1 var(--yf-sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.16s ease;
}
.yfh-style:hover .yfh-style__cta {
  color: var(--yf-peacock, #05634F);
}

/* === 屏 7：番禺工坊工艺（深孔雀绿舞台 + 4 张纯白展签卡，长文零反白疲劳） === */
.yfh-atelier {
  background: var(--yf-bg-atelier, #0F3B32);
  color: var(--yf-on-dark, #FAF8F3);
}
.yfh-atelier .yfh-eyebrow {
  color: var(--yf-gold-light, #E5CFA3);
}
.yfh-atelier .yfh-h2 {
  color: #FFFFFF;
  font-weight: 500;
}
.yfh-atelier .yfh-h2 em {
  color: var(--yf-gold-light, #E5CFA3);
  font-weight: 450;
}
.yfh-atelier .yfh-sub {
  color: #E7EFEA;
  font-size: 15px;
  font-weight: 450;
  line-height: 1.7;
}
.yfh-atelier .yfh-textlink {
  color: var(--yf-gold-light, #E5CFA3);
  border-bottom-color: var(--yf-gold-light, #E5CFA3);
}
.yfh-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.yfh-step {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1px solid rgba(229, 207, 163, 0.28);
  color: var(--yf-body, #34443F);
}
.yfh-step__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--yf-bg-sage, #F1F4EF);
}
.yfh-step__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.yfh-step__body {
  flex: 1;
  padding: 20px 20px 22px;
  background: #FFFFFF;
}
.yfh-step__body b {
  color: var(--yf-gold, #82612F);
  font: 700 11.5px/1 var(--yf-sans);
  letter-spacing: 0.14em;
  font-variant-numeric: tabular-nums;
}
.yfh-step__body h3 {
  margin: 8px 0 8px;
  color: var(--yf-ink, #163F37);
  font: 600 19px/1.28 var(--yf-serif);
}
.yfh-step__body p {
  margin: 0;
  color: var(--yf-body, #34443F);
  font-size: 14px;
  line-height: 1.66;
}
.yfh-bench-slot {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  margin-top: 22px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed rgba(229, 207, 163, 0.45);
  color: #E7EFEA;
  font-size: 13.5px;
  font-weight: 450;
  line-height: 1.65;
}
.yfh-bench-slot span[aria-hidden] {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(229, 207, 163, 0.45);
  color: var(--yf-gold-light, #E5CFA3);
  font-size: 15px;
}

/* === 屏 8：指南 + 透明问答（暖米白） === */
.yfh-guides {
  background: var(--yf-bg-warm, #F7F2E8);
  border-top: 1px solid var(--yf-line-warm, #E6DEC8);
}
.yfh-guides__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 4vw, 56px);
}
.yfh-guide-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}
.yfh-guide {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 18px 20px;
  background: #FFFFFF;
  border: 1px solid var(--yf-line-warm, #E6DEC8);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.18s ease;
}
.yfh-guide:hover {
  border-color: var(--yf-gold, #82612F);
}
.yfh-guide small {
  color: var(--yf-gold, #82612F);
  font: 700 10.5px/1.3 var(--yf-sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.yfh-guide strong {
  color: var(--yf-ink, #163F37);
  font: 500 18px/1.3 var(--yf-serif);
}
.yfh-guide span {
  color: var(--yf-muted, #5C6D67);
  font-size: 13px;
  line-height: 1.55;
}
.yfh-faq details {
  padding: 16px 0;
  border-bottom: 1px solid var(--yf-line-warm, #E6DEC8);
}
.yfh-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  list-style: none;
  cursor: pointer;
}
.yfh-faq summary::-webkit-details-marker {
  display: none;
}
.yfh-faq summary::after {
  content: "+";
  flex-shrink: 0;
  color: var(--yf-gold, #82612F);
  font: 400 22px/1 var(--yf-sans);
}
.yfh-faq details[open] summary::after {
  content: "−";
}
.yfh-faq summary h3 {
  margin: 0;
  color: var(--yf-ink, #163F37);
  font: 500 17px/1.4 var(--yf-serif);
}
.yfh-faq details p {
  margin: 10px 0 0;
  color: var(--yf-body, #34443F);
  font-size: 14px;
  line-height: 1.7;
}
.yfh-faq details p a {
  color: var(--yf-peacock, #05634F);
  font-weight: 600;
}

/* === 响应式 === */
@media (max-width: 1100px) {
  .yfh-rail__track {
    grid-auto-columns: calc((100% - 32px) / 3);
  }
  .yfh-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .yfh-hero {
    grid-template-columns: 1fr;
    height: auto;
  }
  .yfh-hero__media {
    order: -1;
    height: min(52svh, 430px);
  }
  .yfh-hero .yfh-hero__slides > img.yfh-hero__slide--form {
    object-position: 50% 82% !important;
  }
  .yfh-hero__chip {
    display: none;
  }
  .yfh-hero__dots {
    right: 12px;
    bottom: 12px;
    padding: 3px;
  }
  .yfh-hero__dots button {
    min-height: 28px;
    padding: 0 10px;
  }
  .yfh-hero__copy {
    padding: 28px 20px 32px;
  }
  .yfh-hero h1 {
    font-size: clamp(30px, 8vw, 40px);
  }
  .yfh-hero__ctas .yfh-btn {
    flex: 1 1 100%;
  }
  .yfh-trust ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .yfh-trust li {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    padding: 16px 14px;
    border-left: 0;
    border-top: 1px solid var(--yf-line, #DFE5E0);
  }
  .yfh-trust li:nth-child(-n + 2) {
    border-top: 0;
  }
  .yfh-trust li:nth-child(odd) {
    padding-left: 0;
  }
  .yfh-trust li:nth-child(even) {
    border-left: 1px solid var(--yf-line, #DFE5E0);
  }
  .yfh-cats__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .yfh-cat__body {
    padding: 12px;
  }
  .yfh-cat__body h3 {
    font-size: 17px;
  }
  .yfh-cat__body p {
    display: none;
  }
  .yfh-cats__wide,
  .yfh-styles__grid,
  .yfh-guides__grid {
    grid-template-columns: 1fr;
  }
  .yfh-wide {
    grid-template-columns: 1fr;
  }
  .yfh-wide__media {
    order: -1;
    height: 190px;
  }
  .yfh-rail__track {
    grid-auto-columns: 72%;
    gap: 12px;
  }
  .yfh-rail__controls {
    display: none;
  }
  .yfh-steps {
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-columns: 80%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }
  .yfh-step {
    scroll-snap-align: start;
  }
  .yfh-style__media {
    aspect-ratio: 4 / 3;
  }
  .yfh-guide-list {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .yfh-hero__slide,
  .yfh-cat__media img,
  .yfh-wide__media img,
  .yfh-style img,
  .yfh-card__media img {
    transition: none !important;
    transform: none !important;
  }
}
