/* ==========================================
   XXX科技 官网样式
   ========================================== */

:root {
    --primary: #1668dc;
    --primary-dark: #0f4fa8;
    --primary-light: #e8f1fd;
    --text: #1f2329;
    --text-sub: #5c6470;
    --text-light: #8a919e;
    /* 纸面底：对齐的--paper / --line，
       纯白只留给卡片内容，页面大底用暖米色，不再刺眼 */
    --border: #e3e0d5;
    --bg: #fbfaf6;
    --bg-gray: #f3f0e8;
    --radius: 6px;
    --shadow: 0 2px 12px rgba(0, 0, 0, .06);
    --max-width: 1200px;
    /* 产品中心复刻「瑶膳官网完整版」专用色卡：只新增不改旧变量，别处不受影响 */
    --ys-pine: #17352b;
    --ys-pine-2: #1e4636;
    --ys-moss: #3e6b57;
    --ys-gold: #a87c2a;
    --ys-gold-2: #c9a44c;
    --ys-seal: #a62b1f;
    --ys-c0: #b85a1b;
    --ys-c6: #1c5f4d;
    --ys-c28: #74352a;
    --ys-cream: #f6f0df;
    --ys-card-label-bg: #fbf7ea;
    --ys-card-label-bd: #ede3c6;
    --ys-th-bg: #fcfbf7;
    --ys-serif: "Noto Serif SC", "Songti SC", "SimSun", serif;
    --ys-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cpath d='M28 5 L51 28 L28 51 L5 28 Z' fill='none' stroke='%23C9A44C' stroke-opacity='0.13'/%3E%3Cpath d='M28 17 L39 28 L28 39 L17 28 Z' fill='none' stroke='%23C9A44C' stroke-opacity='0.09'/%3E%3C/svg%3E");
    --ys-band-pat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='44'%3E%3Cg fill='none' stroke='%23E6C87A' stroke-opacity='.62' stroke-width='1.2'%3E%3Cpath d='M28 4 L48 22 L28 40 L8 22 Z'/%3E%3Cpath d='M28 12 L40 22 L28 32 L16 22 Z'/%3E%3Cpath d='M28 18 L32 22 L28 26 L24 22 Z'/%3E%3C/g%3E%3Ccircle cx='28' cy='22' r='1.4' fill='%23E6C87A' fill-opacity='.75'/%3E%3C/svg%3E");
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
}

a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary); }
img { max-width: 100%; display: block; border: 0; }
ul, ol { list-style: none; }

.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* ---------------- 顶部整体 ---------------- */
.site-top {
    position: sticky;
    top: 0;
    z-index: 100;
}

/* ---------------- 顶部信息条（浅色） ---------------- */
.topbar {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-light);
}
.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    padding-bottom: 14px;
    gap: 20px;
    position: relative;
}
/* 电话 + 服务时间：复刻完整版 head-contact 尺寸，图标不变只调大小 */
.topbar-center {
    position: static;
    transform: none;
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 26px;
    flex-shrink: 0;
    white-space: nowrap;
}
.topbar-right { display: flex; align-items: center; flex-shrink: 0; margin-left: 26px; }
/* 品牌区：复刻完整版 head-main 尺寸，图标不变只调大小 */
.topbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}
.topbar-brand img {
    height: 52px;
    width: auto;
    max-width: none;
    object-fit: contain;
    border-radius: 8px;
}
.topbar-brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.topbar-brand-name {
    font-family: var(--ys-serif);
    font-size: 27px;
    font-weight: 900;
    color: var(--ys-seal);
    letter-spacing: 6px;
    line-height: 1.2;
    white-space: nowrap;
}
.topbar-brand-sub {
    font-size: 12px;
    color: var(--text-light);
    letter-spacing: 3px;
    white-space: nowrap;
}
.topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-sub);
    transition: color .2s;
}
/* 电话：复刻完整版 head-phone 尺寸，图标不变只调大小 */
.topbar-phone svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--text-sub);
    opacity: .75;
}
.topbar-phone .topbar-phone-num {
    font-weight: 900;
    color: var(--ys-pine);
    letter-spacing: 1px;
    font-size: 23px;
    line-height: 1.25;
    font-variant-numeric: tabular-nums;
}
.topbar-phone:hover .topbar-phone-num { color: var(--ys-moss); }
/* 服务时间：标签独占一行，图标+时间同一行，图标不变只调大小 */
.topbar-hours {
    position: relative;
    margin-left: 0;
    padding-left: 26px;
    font-size: 13px;
    letter-spacing: 0;
    line-height: 1.6;
    color: var(--text-sub);
    font-weight: 400;
    border-left: 1px solid var(--border);
    text-align: left;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}
.topbar-hours-lbl { display: block; font-size: 12px; }
.topbar-hours-val { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; font-size: 15px; font-weight: 400; color: var(--ys-pine); line-height: 1.5; font-variant-numeric: tabular-nums; }
.topbar-hours::before {
    display: none;
}
.topbar-hours svg { width: 20px; height: 20px; color: var(--ys-gold); opacity: 1; vertical-align: -4px; margin-right: 2px; }
.topbar-hours:hover { color: var(--text-sub); }
/* 联系我们：复刻完整版 head-contact .btn 尺寸，图标不变只调大小 */
.topbar-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0;
    color: #fff;
    padding: 11px 22px;
    border-radius: 8px;
    background: var(--ys-seal);
    border: 1px solid var(--ys-seal);
    box-shadow: none;
    transition: background .2s, border-color .2s;
}
.topbar-contact svg { flex-shrink: 0; width: 20px; height: 20px; color: #fff; opacity: 1; }
.topbar-contact:hover {
    background: #8f2418;
    border-color: #8f2418;
    color: #fff;
    transform: none;
    box-shadow: none;
}

/* ---------------- 顶部导航 ---------------- */
.site-header {
    background: rgba(251, 250, 246, .96);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 12px rgba(22, 34, 60, .04);
}
.header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 68px;
    gap: 20px;
    position: relative;
}
/* 导航：占据中间列居中，两侧留白对称；不挤压换行 */
.nav {
    grid-column: 2;
    justify-self: center;
    max-width: 100%;
}
.nav > ul { display: flex; align-items: center; justify-content: center; gap: 4px; flex-wrap: nowrap; }
.nav > ul > li { position: relative; flex-shrink: 0; }
.nav > ul > li > a {
    display: block; padding: 0 24px; height: 68px; line-height: 68px;
    font-size: 15px; color: var(--ys-seal); font-weight: 700;
    white-space: nowrap;
    position: relative; transition: color .2s;
}
.menu-toggle { justify-self: end; }
/* 导航悬停：只改文字颜色，砖红底上走金边 */
.nav > ul > li:hover > a,
.nav > ul > li > a:hover { color: #8f2418; }
.sub-nav {
    position: absolute; top: 68px; left: 50%; transform: translateX(-50%);
    min-width: 150px;
    background: #fff; border: 1px solid var(--border); border-radius: 8px;
    box-shadow: 0 10px 30px rgba(22, 34, 60, .10);
    padding: 6px 0; display: none; z-index: 10;
}
.nav-item { position: relative; }
.nav-item:hover .sub-nav { display: block; }
.sub-nav li a {
    display: block; padding: 9px 20px; font-size: 14px; color: var(--ys-pine);
    white-space: nowrap; transition: color .2s, background .2s;
}
.sub-nav li a:hover { background: #EDF3EE; color: var(--ys-moss); }

.menu-toggle {
    display: none; background: none; border: 0; font-size: 24px;
    cursor: pointer; color: var(--text); padding: 6px;
}

/* ---------------- 通用区块 ---------------- */
.section { padding: 76px 0; }
/* 交替区块：对齐完整版 section.blk.alt，白底 + 上下细线，
   纸面底只露在区块之间，不再是大片纯白 */
.section-gray { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
/* 首页/列表通用标题：复刻完整版 sec-head（只改样式不动数据）
   模板里加 .sec-kick + .sec-rule 即可出现金色眉标和小金杠 */
.section-head {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 20px; margin-bottom: 36px; padding-bottom: 0; border-bottom: none;
}
.section-head h2 { font-family: var(--ys-serif); font-size: clamp(25px,3.4vw,34px); font-weight: 900; color: var(--ys-pine); letter-spacing: 1px; }
.sec-kick { font-size: 12.5px; letter-spacing: 4px; color: var(--ys-gold); font-weight: 700; margin-bottom: 8px; }
.sec-rule { width: 52px; height: 3px; background: var(--ys-gold); border-radius: 2px; margin-top: 14px; }
.more { font-size: 14.5px; color: var(--text-sub); white-space: nowrap; padding-bottom: 4px; }
.more:hover { color: var(--ys-gold); }

.btn {
    display: inline-block; padding: 11px 30px; border-radius: var(--radius);
    font-size: 15px; transition: all .2s; border: 1px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-ghost { border-color: var(--primary); color: var(--primary); }
.btn-ghost:hover { background: var(--primary); color: #fff; }
.btn-block { display: block; width: 100%; text-align: center; }

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

/* ---------------- 首页轮播图 ---------------- */
.slider {
    position: relative;
    height: 460px;
    overflow: hidden;
    background: var(--bg);
}
.slider-track {
    position: relative;
    height: 100%;
}
/* 每一帧叠在一起，靠透明度切换：复刻修版 hero-layer，淡入淡出 + Ken Burns 缓推 + 文字逐条浮起 */
.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    /* visibility 是离散属性，必须一起参与过渡，
       否则元素在过渡开始前就直接 hidden，淡出根本看不见。 */
    transition: opacity 1.1s ease, visibility 1.1s ease;
    pointer-events: none;
}
.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
    pointer-events: auto;
}
.slide-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* 缓推：复刻修版 kb，当前帧图片 7.4s 从 1.001 放到 1.08 */
.slide.active .slide-bg { animation: slider-kb 7.4s ease-out forwards; }
@keyframes slider-kb { from { transform: scale(1.001); } to { transform: scale(1.08); } }
.slider.paused .slide.active .slide-bg { animation-play-state: paused; }
/* 文字逐条浮起：复刻修版 hero-text.play rise */
.slide-content > * { opacity: 0; }
.slide.active .slide-content > * { animation: slide-rise .85s ease forwards; }
.slide.active .slide-content > *:nth-child(2) { animation-delay: .1s; }
.slide.active .slide-content > *:nth-child(3) { animation-delay: .2s; }
.slide.active .slide-content > *:nth-child(4) { animation-delay: .3s; }
.slide.active .slide-content > *:nth-child(5) { animation-delay: .4s; }
@keyframes slide-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
    .slide { transition: none; }
    .slide-content > * { animation: none; opacity: 1; transform: none; }
    .slide.active .slide-bg { animation: none; }
}
/* 文字区遮罩：--overlay 为 0~100 的强度，0 = 完全透明（图片原色）
   只压暗文字所在的一侧，另一侧保持原图颜色 */
.slide-mask {
    position: absolute;
    inset: 0;
}
/* 文字在左：遮罩压暗左侧 */
.slide-mask-left {
    background: linear-gradient(90deg,
        rgba(12, 18, 30, calc(var(--overlay, 60) * 0.0055)) 0%,
        rgba(12, 18, 30, calc(var(--overlay, 60) * 0.0038)) 22%,
        rgba(12, 18, 30, calc(var(--overlay, 60) * 0.0013)) 40%,
        rgba(12, 18, 30, 0) 55%);
}
/* 文字在右：遮罩压暗右侧 */
.slide-mask-right {
    background: linear-gradient(270deg,
        rgba(12, 18, 30, calc(var(--overlay, 60) * 0.0055)) 0%,
        rgba(12, 18, 30, calc(var(--overlay, 60) * 0.0038)) 22%,
        rgba(12, 18, 30, calc(var(--overlay, 60) * 0.0013)) 40%,
        rgba(12, 18, 30, 0) 55%);
}
/* 文字居中：左右两侧对称压暗 */
.slide-mask-center {
    background: linear-gradient(90deg,
        rgba(12, 18, 30, calc(var(--overlay, 60) * 0.0022)) 0%,
        rgba(12, 18, 30, calc(var(--overlay, 60) * 0.0050)) 26%,
        rgba(12, 18, 30, calc(var(--overlay, 60) * 0.0050)) 74%,
        rgba(12, 18, 30, calc(var(--overlay, 60) * 0.0022)) 100%);
}
.slide-inner {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}
/* 文字块靠左 */
.slide-inner-left { justify-content: flex-start; }
/* 文字块居中 */
.slide-inner-center { justify-content: center; }
/* 文字块靠右 */
.slide-inner-right { justify-content: flex-end; }
.slide-content { max-width: 600px; }
/* 文字块位置的对齐由 .slide-content 的内联 text-align 决定，
   标题 / 副标题可用各自的 text-align 覆盖，
   按钮则自然跟随文字块位置。 */
.slide-title {
    /* 字号由后台设定值通过 CSS 变量传入，
       最终值在这里统一计算，移动端才能按视口收窄。 */
    font-size: var(--title-size, 40px);
    line-height: 1.25;
    margin-bottom: 16px;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .45), 0 1px 4px rgba(0, 0, 0, .3);
}
.slide-sub {
    font-size: var(--sub-size, 17px);
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 520px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .45), 0 1px 3px rgba(0, 0, 0, .3);
}
.slide-btn {
    padding: 13px 34px;
    font-size: 15px;
    background: var(--ys-gold);
    border-color: var(--ys-gold);
    color: #fff;
    box-shadow: 0 8px 22px rgba(0,0,0,.25);
}
.btn.slide-btn:hover { background: #96702A; border-color: #96702A; color: #fff; }
/* 左右细线箭头：复刻修版 hero-nav */
.slider-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; background: none; border: none; color: rgba(255,255,255,.85); padding: 14px 10px; line-height: 0; cursor: pointer; transition: color .2s; }
.slider-nav:hover { color: var(--ys-gold-2); }
.slider-nav.prev { left: 8px; }
.slider-nav.next { right: 8px; }
.slider-nav svg { width: 26px; height: 42px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 1px 6px rgba(10,24,18,.55)); }
/* 底部细线进度条：复刻修版 hero-progress */
.slider-progress { position: absolute; z-index: 5; bottom: 64px; left: max(20px, calc(50% - 600px)); display: flex; gap: 8px; }
.slider-progress .seg { width: 54px; height: 14px; background: none; border: none; padding: 0; position: relative; cursor: pointer; }
.slider-progress .seg::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 3px; background: rgba(255,255,255,.35); }
.slider-progress .seg i { position: absolute; left: 0; top: 5.5px; height: 4px; width: 0; background: var(--ys-gold-2); display: block; }
.slider-progress .seg.done i { width: 100%; }
.slider-progress .seg.on i { animation: segfill 6.2s linear forwards; }
.slider.paused .slider-progress .seg.on i { animation-play-state: paused; }
@keyframes segfill { from { width: 0; } to { width: 100%; } }
/* 右下角张数指示：复刻修版 hero-count */
.slider-count { position: absolute; z-index: 5; bottom: 58px; right: max(20px, calc(50% - 600px)); font-size: 13.5px; letter-spacing: 3px; color: rgba(255,255,255,.72); font-variant-numeric: tabular-nums; text-shadow: 0 1px 8px rgba(10,24,18,.5); }
.slider-count b { color: #fff; font-weight: 700; font-size: 17px; margin-right: 2px; }
/* 底部菱纹饰带：复刻修版 hero-band，轮播底边 44px 金色纹样 */
.slider-band { position: absolute; left: 0; right: 0; bottom: 0; height: 44px; z-index: 2; background-image: var(--ys-band-pat); background-repeat: repeat-x; background-position: center; background-size: auto 44px; background-color: rgba(10,24,18,.30); border-top: 1px solid rgba(230,200,122,.55); pointer-events: none; }
/* 首页三款速览条：砖红底 + 白字，金线分隔 */
.slider-strip { position: relative; z-index: 2; background: var(--ys-seal); border-top: 1px solid rgba(230,200,122,.55); border-bottom: 1px solid rgba(230,200,122,.30); overflow: hidden; }
.slider-strip::before { content: ""; position: absolute; inset: 0; background-image: var(--ys-pattern); opacity: .22; pointer-events: none; }
.slider-strip-inner { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); }
.slider-strip-item { padding: 20px 28px; display: flex; gap: 18px; align-items: center; justify-content: center; color: #fff; min-width: 0; }
.slider-strip-item+.slider-strip-item { border-left: 1px solid rgba(230,200,122,.38); }
.slider-strip-item .deg { font-family: var(--ys-serif); font-size: 27px; font-weight: 900; width: 66px; height: 66px; flex: none; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--ys-gold-2); background: #fff; color: var(--ys-seal); box-shadow: 0 2px 10px rgba(0,0,0,.22); line-height: 1; letter-spacing: 0; }
.slider-strip-item .deg small { font-size: 13px; font-weight: 700; margin-left: 3px; transform: translateY(3px); color: var(--ys-gold); opacity: 1; }
.slider-strip-text { min-width: 0; line-height: 1.5; text-align: left; }
.slider-strip-text b { display: block; font-size: 17px; font-weight: 700; color: #fff; white-space: nowrap; line-height: 1.4; letter-spacing: 1px; }
.slider-strip-text span { display: block; margin-top: 4px; font-size: 13px; color: rgba(255,255,255,.78); white-space: nowrap; line-height: 1.4; letter-spacing: .3px; }

/* ---------------- 轮播 ---------------- */
.banner { background: linear-gradient(135deg, #f0f6ff 0%, #e4efff 100%); padding: 80px 0; }
.banner-inner { display: flex; align-items: center; gap: 50px; }
.banner-text { flex: 1; }
.banner-text h1 { font-size: 42px; font-weight: 700; margin-bottom: 18px; }
.banner-slogan { font-size: 17px; color: var(--text-sub); margin-bottom: 30px; max-width: 520px; }
.banner-actions { display: flex; gap: 14px; }
.banner-list { flex: 1; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.banner-item {
    background: #fff; border-radius: var(--radius); padding: 22px;
    box-shadow: var(--shadow); min-height: 130px;
}
.banner-item h3 { font-size: 17px; margin-bottom: 8px; }
.banner-item p { font-size: 14px; color: var(--text-sub); }
.banner-item img { border-radius: var(--radius); }

/* ---------------- 首页公司简介 ---------------- */
.home-profile { padding: 76px 0 10px; }
.home-profile-inner { max-width: 880px; text-align: center; }
.home-profile-title { font-family: var(--ys-serif); font-size: clamp(25px,3.4vw,34px); font-weight: 900; color: var(--ys-pine); letter-spacing: 1px; margin-bottom: 14px; }
.home-profile-sub { font-size: 14px; color: var(--text-sub); letter-spacing: 1px; margin-bottom: 30px; }
.home-profile-dash { margin: 0 12px; color: var(--text-light); }
.home-profile-body { text-align: justify; }
.home-profile-body p { font-size: 15px; line-height: 2; color: var(--text-sub); margin-bottom: 14px; }
.home-profile-body p:last-child { margin-bottom: 0; }
.home-profile-body.richtext { text-align: left; }
/* 公司简介正文：复刻完整版 intro-grid 排版，只改样式不动数据 */
.home-profile-body.richtext p { font-size: 16.5px; line-height: 1.9; color: var(--text-sub); margin: 0 0 14px; }
.home-profile-body.richtext p:last-child { margin-bottom: 0; }
.home-profile-body.richtext b { color: var(--ys-pine); font-weight: 700; }
.home-profile-body.richtext .hl { color: var(--ys-seal); font-weight: 700; }
/* 公司简介数字条：复刻完整版 stats，只改样式不动数据 */
.home-profile-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 30px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
.home-profile-stats div { padding: 18px 10px; text-align: center; }
.home-profile-stats div+div { border-left: 1px solid #EEECE3; }
.home-profile-stats b { display: block; font-family: var(--ys-serif); font-size: 27px; color: var(--ys-pine); line-height: 1.2; }
.home-profile-stats span { font-size: 13px; color: var(--text-light); }
@media (max-width: 620px) {
    .home-profile-stats { grid-template-columns: 1fr 1fr; }
    .home-profile-stats div:nth-child(3) { border-left: none; }
    .home-profile-stats div { border-top: 1px solid #EEECE3; }
    .home-profile-stats div:nth-child(-n+2) { border-top: none; }
}
.home-profile-body.richtext font[color] { color: var(--ys-seal) !important; font-weight: 700; }
.home-profile-body.richtext img { max-width: 100%; height: auto; border-radius: var(--radius); margin: 12px auto; display: block; }
.home-profile-body.richtext ul, .home-profile-body.richtext ol { margin: 0 0 14px 22px; font-size: 15px; line-height: 2; color: var(--text-sub); }
.home-profile-body.richtext blockquote { border-left: 3px solid var(--border); padding: 6px 14px; margin: 0 0 14px; color: var(--text-sub); background: #fafafa; border-radius: 0 var(--radius) var(--radius) 0; }
.home-profile-body.richtext table { width: 100%; border-collapse: collapse; margin-bottom: 14px; font-size: 14px; }
.home-profile-body.richtext table th, .home-profile-body.richtext table td { border: 1px solid var(--border); padding: 8px 12px; text-align: left; }
.home-profile-body.richtext table th { background: #f7f7f7; }
.home-profile-body.richtext h1, .home-profile-body.richtext h2, .home-profile-body.richtext h3 { margin: 18px 0 12px; line-height: 1.6; }
/* 首页承诺条：复刻完整版 trust，只改样式不动数据 */
.home-trust { background: #fff; border-bottom: 1px solid var(--border); }
.home-trust-inner { display: grid; grid-template-columns: repeat(4, 1fr); max-width: var(--max-width); }
.home-trust-item { display: flex; gap: 14px; align-items: flex-start; padding: 26px 22px; }
.home-trust-item+.home-trust-item { border-left: 1px solid #EEECE3; }
.home-trust-item svg { width: 26px; height: 26px; color: var(--ys-gold); margin-top: 3px; flex-shrink: 0; }
.home-trust-item b { display: block; font-size: 16px; color: var(--ys-pine); }
.home-trust-item span { font-size: 13.5px; color: var(--text-light); line-height: 1.55; display: block; }
@media (max-width: 768px) {
    .home-profile { padding: 44px 0 6px; }
    .home-profile-title { font-size: 22px; }
    .home-profile-body p { font-size: 14px; }
}

/* ---------------- 卡片（复刻完整版 acard，只改样式不动数据） ---------------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
    background: #fff; border: 1px solid var(--border); border-radius: 12px;
    padding: 26px; display: flex; flex-direction: column; gap: 10px;
    overflow: hidden; transition: box-shadow .25s, border-color .25s;
}
.card:hover { box-shadow: 0 12px 30px rgba(23,53,43,.09); border-color: #D8D2BE; transform: none; }
.card-cover { margin: -26px -26px 6px; }
.card-cover img { width: 100%; height: 190px; object-fit: cover; }
.card-cat {
    align-self: flex-start; font-size: 12.5px; font-weight: 700; letter-spacing: 2px;
    color: var(--ys-gold); border: 1px solid #E4D9BC; background: #FBF7EA;
    padding: 3px 11px; border-radius: 999px;
}
.card-body { padding: 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body h3 { font-size: 18.5px; font-weight: 700; color: var(--text); line-height: 1.55; margin-bottom: 0; }
.card-body h3 a:hover { color: var(--ys-gold); }
.card-summary {
    font-size: 14.5px; color: var(--text-light); margin-bottom: 0; line-height: 1.7;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-meta {
    margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border);
    display: flex; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--text-light);
}

/* ---------------- 新闻列表（复刻完整版 latest，只改样式不动数据） ---------------- */
.news-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ys-pine); }
.news-list li { border-bottom: 1px solid var(--border); }
.news-list li:last-child { border-bottom: 1px solid var(--border); }
.news-list li a {
    display: flex; width: 100%; justify-content: space-between; gap: 18px; align-items: baseline;
    padding: 15px 6px; transition: color .2s; background: none;
}
.news-list li a:hover { background: none; padding-left: 6px; color: var(--ys-gold); }
.news-title { flex: 1; font-size: 16px; color: inherit; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-date { flex-shrink: 0; margin-left: 20px; font-size: 14px; color: var(--text-light); font-variant-numeric: tabular-nums; }

/* ---------------- 页面横幅 ----------------
   松绿通栏：对齐完整版 page-hero，深松绿 + 白字，
   全站内页（产品/资讯/关于/到店等）共用。 */
.page-banner {
    position: relative; overflow: hidden;
    /* 白底横幅：去砖红也去深绿。
       标题改用品牌松绿，靠顶部一道描金线和底部菱纹饰带撑住版面，
       整块落在米色纸面上不跳，比红底/深绿底都轻。 */
    background: #fff;
    background-image: none;
    color: var(--ys-pine);
    padding: 54px 0 56px; text-align: center;
}
/* 顶部一道描金细线：通体一条，不做中间亮两头淡的渐变 */
.page-banner::before {
    content: "";
    position: absolute; left: 0; right: 0; top: 0; height: 1px;
    background: rgba(201,164,76,.42);
    pointer-events: none;
}
/* 底部菱纹饰带：呼应首页轮播的 band，浅描金。
   用固定 40px 平铺，不缩放，保证整条通体连续、间距均匀。 */
.page-banner::after {
    content: "";
    position: absolute; left: 0; right: 0; bottom: 0; height: 16px;
    background-image: var(--ys-band-pat);
    background-repeat: repeat-x;
    background-position: left center;
    background-size: 40px 16px;
    opacity: .32;
    pointer-events: none;
}
.page-banner .container { position: relative; z-index: 1; }
/* 白底上标题走品牌松绿，副标题走次级灰 */
.page-banner h1 { font-family: var(--ys-serif); font-size: clamp(30px,4.4vw,42px); font-weight: 900; letter-spacing: 3px; color: var(--ys-pine); margin: 0; }
.page-banner p { margin: 10px 0 0; color: var(--text-sub); font-size: 16px; letter-spacing: .5px; }
/* page-banner-compact 已移除：全站统一复用 .page-banner，防止以后乱改尺寸 */
/* 横幅后面直接跟正文时，正文顶部收紧，避免空荡；
   白底横幅与米色正文之间补一道细线，否则两块白会糊在一起 */
.page-banner + .section { padding-top: 40px; border-top: 1px solid var(--border); }

/* ---------------- 面包屑 ----------------
   对齐完整版 .crumb：直接落在纸面上，不要白条 + 灰线切割 */
.breadcrumb-bar {
    background: transparent;
    border-bottom: none;
}
.breadcrumb-bar .breadcrumb {
    justify-content: flex-start;
    margin-bottom: 0;
    padding: 14px 0;
}
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--text-light);
}
.breadcrumb a { color: #7E8A81; transition: color .2s; }
.breadcrumb a:hover { color: var(--ys-gold); }
.breadcrumb .sep { color: #E3E0D5; }
.breadcrumb .current { color: var(--ys-gold); font-weight: 500; }

.cat-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.cat-tabs a {
    padding: 7px 20px; border: 1px solid var(--border); border-radius: 30px;
    font-size: 14px; color: var(--text-sub); background: #fff;
}
.cat-tabs a:hover { border-color: var(--ys-gold); color: var(--ys-seal); }
.cat-tabs a.active { background: var(--ys-seal); border-color: var(--ys-seal); color: #fff; }

/* ---------------- 文章详情 ---------------- */
.article-detail { max-width: 860px; margin: 0 auto; }
.article-title { font-size: 30px; text-align: center; margin-bottom: 18px; }
.article-meta {
    display: flex; flex-wrap: wrap; gap: 20px; justify-content: center;
    font-size: 13px; color: var(--text-light); padding-bottom: 22px;
    border-bottom: 1px solid var(--border); margin-bottom: 28px;
}
.article-cover { margin-bottom: 26px; }
.article-cover img { width: 100%; border-radius: var(--radius); }
.article-summary {
    background: #FBF7EA; border-left: 3px solid var(--ys-gold);
    padding: 15px 18px; color: var(--text-sub); font-size: 14px;
    border-radius: 0 var(--radius) var(--radius) 0; margin-bottom: 26px;
}
.article-content { font-size: 16px; line-height: 2; }
.article-content img { margin: 18px 0; border-radius: var(--radius); }
.article-content h2 { font-size: 22px; margin: 30px 0 14px; }
.article-content h3 { font-size: 19px; margin: 26px 0 12px; }
.article-content p { margin-bottom: 15px; }
.article-content table { width: 100%; border-collapse: collapse; margin: 18px 0; }
.article-content table td, .article-content table th {
    border: 1px solid var(--border); padding: 10px 12px; text-align: left;
}
.article-content ul, .article-content ol { padding-left: 22px; margin-bottom: 15px; list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content pre {
    margin: 18px 0; padding: 14px 16px;
    background: #f4f6f9; color: #3a4452;
    border: 1px solid var(--border); border-radius: var(--radius);
    font-family: "SFMono-Regular", Consolas, "Courier New", monospace;
    font-size: 13.5px; line-height: 1.8;
    overflow-x: auto; white-space: pre-wrap; word-break: break-word;
}
.article-content code {
    background: #f4f6f9; color: #b34a12;
    padding: 1px 6px; border-radius: 4px;
    font-family: "SFMono-Regular", Consolas, "Courier New", monospace;
    font-size: .92em;
}
.article-content pre code { background: transparent; color: inherit; padding: 0; }

.article-nav {
    display: flex; justify-content: space-between; gap: 20px;
    margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border);
    font-size: 14px;
}
.article-nav a:hover { color: var(--primary); }
.related { margin-top: 44px; }
.related h3 { font-size: 19px; margin-bottom: 14px; }

/* ---------------- CTA ----------------
   设计取向：白色横条卡片 + 竖向分隔线分区。
   左侧文案标题，中间细竖线，右侧电话，整体在浅灰底上浮起。 */
.cta {
    background: var(--bg-gray);
    color: var(--text);
    padding: 56px 0;
}
/* 横条白卡：宽度随内容收窄，不撑满整行 */
.cta-card {
    display: grid;
    grid-template-columns: auto auto auto;
    align-items: center;
    justify-content: center;
    gap: 52px;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 38px 52px;
    box-shadow: 0 12px 36px rgba(23, 53, 43, .08);
}
/* 中间竖向分隔线 */
.cta-divider {
    align-self: stretch;
    width: 1px;
    background: var(--border);
}

/* ---- 左：眉标 + 标题 + 描述 + 按钮 ---- */
.cta-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--ys-gold);
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid #E4D9BC;
}
.cta h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.35;
    margin-bottom: 12px;
    letter-spacing: 1px;
}
.cta-left p {
    font-size: 14.5px;
    line-height: 1.85;
    color: var(--text-sub);
    opacity: 1;
    margin-bottom: 22px;
    max-width: 380px;
}
/* 主按钮：砖红实底，对齐全站 */
.cta .btn-primary {
    background: var(--ys-seal);
    color: #fff;
    padding: 13px 32px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(166, 43, 31, .24);
    transition: transform .2s, box-shadow .2s, background .2s;
}
.cta .btn-primary:hover {
    background: #8f2418;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(166, 43, 31, .30);
}
.cta .btn-primary svg { transition: transform .2s; }
.cta .btn-primary:hover svg { transform: translateX(4px); }

/* ---- 右：电话 ---- */
.cta-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}
.cta-phone-card {
    display: flex;
    align-items: center;
    gap: 18px;
}
.cta-phone-icon {
    flex-shrink: 0;
    width: 52px; height: 52px;
    border-radius: 50%;
    background: #EDF3EE;
    color: var(--ys-moss);
    display: flex;
    align-items: center;
    justify-content: center;
}
.cta-phone-text { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.cta-phone-label {
    font-size: 13px;
    color: var(--text-light);
    letter-spacing: 2px;
}
.cta-phone {
    font-size: 27px;
    font-weight: 700;
    color: var(--ys-pine);
    letter-spacing: .5px;
    line-height: 1.2;
    white-space: nowrap;
}
.cta-phone:hover { color: var(--ys-moss); }

/* 营业时间提示：置于卡片内、电话号码下方 */
.cta-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: var(--text-light);
    opacity: 1;
    margin: 0;
    line-height: 1.7;
}
.cta-hint svg { flex-shrink: 0; color: var(--ys-gold); opacity: .9; }

/* ---------------- 联系表单 ---------------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; }
.contact-info h2 { font-size: 23px; margin-bottom: 24px; }
.contact-list li {
    display: flex; padding: 13px 0; border-bottom: 1px solid var(--border); font-size: 15px;
}
.contact-list .label { width: 90px; color: var(--text-light); flex-shrink: 0; }
.contact-list .value { color: var(--text); }

.contact-form { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 500; }
.form-row label em { color: #f5222d; font-style: normal; }
.form-row input, .form-row textarea {
    width: 100%; padding: 11px 14px; border: 1px solid var(--border);
    border-radius: var(--radius); font-size: 14px; font-family: inherit;
    transition: border-color .2s;
}
.form-row input:focus, .form-row textarea:focus {
    outline: none; border-color: var(--ys-pine); box-shadow: 0 0 0 3px rgba(23,53,43,.10);
}
/* 联系表单提交按钮：改砖红，与品牌印章色一致 */
.contact-form .btn-primary { background: var(--ys-seal); border-color: var(--ys-seal); color: #fff; }
.contact-form .btn-primary:hover { background: #8f2418; border-color: #8f2418; color: #fff; }
.form-msg { margin-top: 14px; font-size: 14px; text-align: center; min-height: 20px; }
.form-msg.ok { color: #52c41a; }
.form-msg.err { color: #f5222d; }

/* ---------------- 常见问题 ---------------- */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-group { margin-bottom: 34px; }
.faq-group:last-child { margin-bottom: 0; }
.section-faq {
    max-width: 860px; margin: 44px auto 0;
    padding-top: 30px; border-top: 1px solid var(--border);
}

/* 通用页面：继承栏目内容 */
.page-articles { max-width: 860px; margin: 0 auto 40px; }
.page-articles .section-title {
    font-size: 20px; font-weight: 700; color: var(--text);
    margin-bottom: 16px; padding-left: 12px;
    border-left: 3px solid var(--primary); line-height: 1.4;
}
.page-articles-more { margin-top: 18px; text-align: center; }
.faq-group-title {
    font-size: 19px; font-weight: 700; color: var(--text);
    margin-bottom: 14px;
    text-align: center;
}

/* ---------------- 常见问题 ----------------
   版式参考常见的手风琴问答：白卡 + 左侧问号圆圈 + 右侧下箭头，
   展开后答案区用顶部虚线与问题行分隔。
   配色走植物青绿，与「植物发酵饮品」的品牌调性一致；
   绿色只作用于 FAQ 组件内，不影响全站主色。
   折叠动画走 grid-template-rows，轨道必须写 minmax(0, 0fr)，
   否则 0fr 的基准尺寸仍是 min-content，内层 padding 会被算进去，
   折叠时会露出约 40px 高的残块。 */
.faq-items { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
    background: #fff; border: 1px solid #e2e8e4;
    border-radius: 10px; overflow: hidden;
    transition: border-color .22s, box-shadow .22s;
}
.faq-item:hover { border-color: #b8d6c4; box-shadow: 0 4px 16px rgba(31, 90, 60, .08); }
.faq-item.open { border-color: #4f9d74; box-shadow: 0 6px 20px rgba(31, 90, 60, .12); }

/* 提问行 */
.faq-q {
    display: flex; align-items: center; gap: 12px;
    width: 100%; padding: 17px 20px;
    font-family: inherit; font-size: 16px; font-weight: 600;
    line-height: 1.6; color: var(--text); text-align: left;
    background: none; border: 0; cursor: pointer; user-select: none;
    transition: background .2s;
}
.faq-q:hover { background: #f6fbf8; }
.faq-q:focus-visible { outline: 2px solid #4f9d74; outline-offset: -2px; }
.faq-text { flex: 1; min-width: 0; }

/* 左侧问号圆圈 */
.faq-mark {
    flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    width: 24px; height: 24px; border-radius: 50%;
    color: #2f7d57; background: #e6f4ec;
    transition: color .22s, background .22s;
}
.faq-mark svg { width: 14px; height: 14px; }
.faq-item:hover .faq-mark { background: #d3ecdd; }
.faq-item.open .faq-mark { background: #2f7d57; color: #fff; }

/* 右侧下箭头：展开后转 180° */
.faq-arrow {
    flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    width: 20px; height: 20px;
    color: #a3b5aa;
    transition: transform .3s ease, color .2s;
}
.faq-arrow svg { width: 20px; height: 20px; }
.faq-item:hover .faq-arrow { color: #4f9d74; }
.faq-item.open .faq-arrow { transform: rotate(180deg); color: #2f7d57; }

/* 答案区：用 grid 行高动画实现平滑展开
   关键：轨道必须写成 minmax(0, 0fr)。
   单纯 0fr 的轨道基准尺寸仍是 auto（= min-content），
   .faq-a-inner 的 padding + margin 会被算进去，
   折叠时轨道还留 40px 左右的高度，
   答案块会从问题行下方露出来（就是"有溢出"的现象）。
   minmax(0, 0fr) 把基准尺寸压到 0，再由 overflow:hidden 裁掉内容。 */
.faq-a {
    display: grid;
    grid-template-rows: minmax(0, 0fr);
    transition: grid-template-rows .3s ease;
    /* 关键：轨道高度归零后，.faq-a-inner 自身的 padding 盒子仍会画出来，
       需要在 .faq-a 上裁掉，否则每条闭合问题下方都会露出一小条残块 */
    overflow: hidden;
}
.faq-item.open .faq-a { grid-template-rows: minmax(0, 1fr); }
.faq-a-inner {
    overflow: hidden;
    /* grid 行从 0fr 展开到 1fr 时，必须显式清零最小高度，
       否则内容高度会让 0fr 行保留一个最小值，折叠不干净 */
    min-height: 0;
    /* 答案区与问题行之间用虚线分隔，正文顶格排布 */
    margin: 0 20px;
    padding: 15px 0 17px;
    border-top: 1px dashed #cfe3d8;
    font-size: 15px; line-height: 1.9; color: #46584e;
}
.faq-a-body { flex: 1; min-width: 0; align-self: flex-start; }
/* 答案里常有「20ml×12支」「广西瑶九黎酒业有限公司」这类不可断开的串，
   窄栏下会顶破容器，这里统一允许在任意位置换行 */
.faq-a-body, .faq-a-body p {
    overflow-wrap: break-word;
    word-break: break-word;
}
.faq-a-body p { margin-bottom: 10px; }
.faq-a-body p:last-child { margin-bottom: 0; }
.faq-a-body a { color: #2f7d57; }
.faq-a-body a:hover { text-decoration: underline; }
.faq-a-body strong { color: #22402f; }

.faq-cta {
    max-width: 860px; margin: 44px auto 0; padding: 34px;
    background: #f2faf5; border: 1px solid #dcece3; border-radius: var(--radius);
    text-align: center;
}
.faq-cta h3 { font-size: 21px; margin-bottom: 10px; }
.faq-cta p { color: #4a6657; margin-bottom: 22px; }
.faq-cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ---------------- 到店指南 ----------------
   设计取向：改走「居中单列 + 卡片化信息块」的路子，
   不再用左右分栏。原先把内容摊成两半，每栏都只有半屏宽，
   信息被稀释、右侧还空出一大片，读起来零散。
   现在：
     门面照打头 → 地址/电话/时间三宫格 → 地图卡 → 交通/停车/贴士 → FAQ → CTA
   每一块都是独立白卡，卡片之间用留白 + 细边框分层。
   外层直接落在纸面上，不再整块铺灰，避免和完整版的纸底不一致。 */
.visit-section { background: transparent; }
/* 主体居中，宽度封顶 920px：
   再宽的话单行文字过长，视线要来回扫。 */
.visit-page {
    max-width: 920px;
    margin: 0 auto;
}

/* 门面实景：整页第一眼的门面照 */
.visit-hero {
    margin: 0 0 22px;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.visit-hero img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

/* 核心信息三宫格：地址 / 电话 / 营业时间 */
.visit-quick {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 22px;
}
.visit-quick-card {
    display: flex; flex-direction: column; gap: 8px;
    padding: 22px 22px 24px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(16, 24, 40, .04);
    transition: box-shadow .22s, transform .22s, border-color .22s;
}
.visit-quick-card:hover {
    border-color: #D8D2BE;
    box-shadow: 0 6px 20px rgba(16, 24, 40, .07);
    transform: translateY(-2px);
}
/* 圆角图标块：去蓝，米白底 + 金色图标 */
.visit-quick-icon {
    width: 38px; height: 38px;
    border-radius: 11px;
    display: flex; align-items: center; justify-content: center;
    background: var(--ys-card-label-bg); color: var(--ys-gold);
}
.visit-quick-icon svg { width: 19px; height: 19px; }
.visit-quick-label {
    font-size: 13px; color: var(--text-light); letter-spacing: .3px;
}
.visit-quick-value {
    font-size: 16px; font-weight: 600; color: var(--text); line-height: 1.6;
    word-break: break-word;
}
.visit-quick-value a { color: var(--ys-pine); }
.visit-quick-value a:hover { text-decoration: underline; }

/* 地图卡片：左图右信息 */
.visit-map-card {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 22px;
    box-shadow: 0 1px 3px rgba(16, 24, 40, .04);
}
/* 地图占位区：填了经纬度时 iframe 真地图铺满；没填时用浅金底 + 图标表达位置感 */
.visit-map-canvas {
    position: relative;
    min-height: 220px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 12px;
    background:
        linear-gradient(rgba(168, 124, 42, .05), rgba(168, 124, 42, .05)),
        repeating-linear-gradient(0deg, transparent 0 38px, rgba(168, 124, 42, .09) 38px 39px),
        repeating-linear-gradient(90deg, transparent 0 38px, rgba(168, 124, 42, .09) 38px 39px),
        #FBF7EA;
}
.visit-map-frame {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    border: 0; display: block;
}
/* 高德真地图容器：Key + 坐标都填了才渲染，可拖动缩放 */
.visit-map-real {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    background: #F2EFE6;
}
/* 高德 Logo / 版权字样太小时保留可读性 */
.visit-map-real .amap-logo, .visit-map-real .amap-copyright { font-size: 11px; }
.visit-map-pin {
    width: 46px; height: 46px;
    border-radius: 50% 50% 50% 6px;
    transform: rotate(-45deg);
    display: flex; align-items: center; justify-content: center;
    background: var(--ys-seal); color: #fff;
    box-shadow: 0 6px 16px rgba(166, 43, 31, .32);
}
.visit-map-pin svg { width: 22px; height: 22px; transform: rotate(45deg); }
.visit-map-hint { font-size: 13px; color: var(--text-light); }
.visit-map-info { padding: 28px 30px; display: flex; flex-direction: column; justify-content: center; }
.visit-card-title {
    font-size: 19px; font-weight: 700; color: var(--text);
    margin-bottom: 10px;
}
.visit-map-addr {
    font-size: 15px; color: var(--text-sub); line-height: 1.8;
    margin-bottom: 20px;
}
.visit-map-btn {
    display: inline-flex; align-items: center; gap: 8px;
    align-self: flex-start;
}

/* 内容区块 */
.visit-block { margin-bottom: 22px; }
.visit-block:last-child { margin-bottom: 0; }
.visit-block-title {
    font-size: 19px; font-weight: 700; color: var(--text);
    margin-bottom: 16px;
    display: flex; align-items: center; gap: 10px;
}
/* 标题左侧色条，与全站板块标题同一套语言 */
.visit-block-title::before {
    content: '';
    width: 3px; height: 18px; border-radius: 2px;
    background: var(--ys-gold); flex-shrink: 0;
}

/* 列表项做成白卡行，不再是裸分隔线 */
.visit-list {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}
.visit-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px 22px;
    font-size: 15px;
    line-height: 1.8;
    border-bottom: 1px solid var(--border);
}
.visit-list li:last-child { border-bottom: 0; }
.visit-dot {
    flex-shrink: 0;
    width: 7px; height: 7px; margin-top: 11px;
    background: var(--ys-gold); border-radius: 50%;
}
.visit-text { flex: 1; color: var(--text-sub); }
/* 到店按钮改砖红：与地图定位针、联系表单按钮统一品牌色 */
.visit-section .btn-primary { background: var(--ys-seal); border-color: var(--ys-seal); color: #fff; }
.visit-section .btn-primary:hover { background: #8f2418; border-color: #8f2418; color: #fff; }
.visit-section .btn-ghost { border-color: var(--ys-seal); color: var(--ys-seal); background: transparent; }
.visit-section .btn-ghost:hover { background: var(--ys-seal); border-color: var(--ys-seal); color: #fff; }

/* 专属 FAQ：整块白卡 */
.visit-faq-block {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 26px 28px;
}
.visit-faq-block .visit-block-title { margin-bottom: 18px; }
.visit-faq .faq-group { margin-bottom: 26px; }
.visit-faq .faq-group:last-child { margin-bottom: 0; }
.visit-faq .faq-group-title { font-size: 17px; text-align: left; margin-bottom: 12px; }
.visit-faq .faq-items { gap: 10px; }

/* 底部行动号召 */
.visit-cta {
    margin-top: 34px;
    padding: 34px 30px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    text-align: center;
}
.visit-cta h3 { font-size: 20px; margin-bottom: 10px; }
.visit-cta p { color: var(--text-sub); margin-bottom: 22px; }
.visit-cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ---------------- 资质公示 ----------------
   材料页：营业执照 / ICP 备案报告 / 公安备案都是图片，
   统一用「白卡 + 细边框 + 米色底衬」的单列版式，
   图片本身 contain 显示，不裁切，材料要能看清。 */
.qual-page {
    max-width: 920px;
    margin: 0 auto;
}

/* 开篇说明 */
.qual-intro {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px 28px;
    margin-bottom: 26px;
}
.qual-intro p {
    font-size: 15px;
    line-height: 1.9;
    color: var(--text-sub);
}
.qual-intro p + p { margin-top: 10px; }

.qual-block { margin-bottom: 34px; }
.qual-block:last-child { margin-bottom: 0; }
.qual-block-title {
    font-size: 19px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}
/* 标题左侧色条，与到店指南 / 关于我们同一套语言 */
.qual-block-title::before {
    content: '';
    width: 3px; height: 18px; border-radius: 2px;
    background: var(--ys-gold); flex-shrink: 0;
}

/* 档案列表：参考「官方档案查阅」的列表式版式——
   一行一条材料，左边序号 + 名称 + 一句话说明，右边「查看报告」按钮。 */
.qual-records {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 26px;
}
.qual-record {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 26px;
    border-bottom: 1px solid var(--border);
    transition: background .2s;
}
.qual-record:last-child { border-bottom: 0; }
.qual-record:hover { background: #fcfbf7; }

/* 左侧：序号圆点 + 名称 + 说明 */
.qual-record-main {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
}
.qual-record-idx {
    flex-shrink: 0;
    width: 26px; height: 26px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 700;
    background: var(--ys-card-label-bg);
    border: 1px solid var(--ys-card-label-bd);
    color: var(--ys-gold);
    margin-top: 1px;
}
.qual-record-text { min-width: 0; }
.qual-record-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.5;
}
.qual-record-desc {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.7;
    margin-top: 3px;
    word-break: break-word;
}

/* 右侧：查看报告 + 官方查询 */
.qual-record-side {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}
.qual-record-btn {
    padding: 9px 22px;
    border-radius: 8px;
    border: 1px solid var(--ys-pine);
    background: transparent;
    color: var(--ys-pine);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s, color .2s;
}
.qual-record-btn:hover {
    background: var(--ys-pine);
    color: #fff;
}
.qual-record-link {
    font-size: 13px;
    color: var(--text-light);
    white-space: nowrap;
    transition: color .2s;
}
.qual-record-link:hover { color: var(--ys-pine); text-decoration: underline; }

/* ---------------- 营业执照版式 ----------------
   参考常见的企业资质公示页：上方营业执照缩略图（点击看大图），
   下方企业基本信息表，再下方是查询方式说明框。 */

/* 缩略图：小图居中，hover 提示「点击查看大图」 */
.qual-license-imgs {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 22px;
}
.qual-license-thumb {
    position: relative;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--ys-cream);
    cursor: pointer;
    overflow: hidden;
    line-height: 0;
    transition: border-color .22s, box-shadow .22s, transform .22s;
}
.qual-license-thumb:hover {
    border-color: #D8D2BE;
    box-shadow: 0 6px 20px rgba(16, 24, 40, .09);
    transform: translateY(-2px);
}
.qual-license-thumb img {
    width: 260px;
    height: 184px;
    object-fit: contain;
    display: block;
    padding: 10px;
}
/* hover 浮层提示 */
.qual-license-zoom {
    position: absolute;
    inset: auto 0 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 0;
    font-size: 12px;
    line-height: 1.4;
    color: #fff;
    background: rgba(23, 53, 43, .78);
    opacity: 0;
    transition: opacity .22s;
}
.qual-license-thumb:hover .qual-license-zoom { opacity: 1; }

/* 企业信息表：两列网格，左侧标签 + 右侧内容 */
.qual-biz {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 18px;
}
.qual-biz-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    padding: 16px 22px;
    border-bottom: 1px solid var(--border);
    background: var(--ys-th-bg);
}
.qual-biz-list { margin: 0; padding: 0; }
.qual-biz-row {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    border-bottom: 1px solid var(--border);
}
.qual-biz-row:last-child { border-bottom: 0; }
.qual-biz-label {
    font-size: 14px;
    color: var(--text-light);
    padding: 13px 22px;
    background: var(--ys-th-bg);
    border-right: 1px solid var(--border);
}
.qual-biz-value {
    font-size: 15px;
    color: var(--text);
    line-height: 1.75;
    padding: 13px 22px;
    margin: 0;
    word-break: break-word;
}

/* 查询方式说明框 */
.qual-query {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 16px 20px;
    background: var(--ys-card-label-bg);
    border: 1px solid var(--ys-card-label-bd);
    border-radius: 10px;
}
.qual-query-icon {
    flex-shrink: 0;
    color: var(--ys-gold);
    margin-top: 2px;
}
.qual-query-text { min-width: 0; }
.qual-query-text p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-sub);
}
.qual-query-text p + p { margin-top: 4px; }
.qual-query-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--ys-pine);
}
.qual-query-link:hover { text-decoration: underline; }

/* 补充说明 */
.qual-notes {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px 28px;
}
.qual-notes p {
    font-size: 15px;
    line-height: 1.9;
    color: var(--text-sub);
}
.qual-notes p + p { margin-top: 10px; }

/* 专属 FAQ：整块白卡，与到店指南一致 */
.qual-faq-block {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 26px 28px;
}
.qual-faq-block .qual-block-title { margin-bottom: 18px; }
.qual-faq .faq-group { margin-bottom: 26px; }
.qual-faq .faq-group:last-child { margin-bottom: 0; }
.qual-faq .faq-group-title { font-size: 17px; text-align: left; margin-bottom: 12px; }
.qual-faq .faq-items { gap: 10px; }

/* ---------------- 材料查看弹窗 ----------------
   点「查看报告」打开：遮罩 + 居中大图，支持点遮罩/关闭按钮/ESC 关闭。 */
.qual-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
}
.qual-modal[hidden] { display: none; }
.qual-modal-mask {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 32, .72);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    animation: qualFade .2s ease;
}
.qual-modal-box {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 900px;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .3);
    animation: qualZoom .22s ease;
}
.qual-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 22px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}
.qual-modal-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
}
.qual-modal-close {
    width: 32px; height: 32px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--text-light);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s, color .2s;
}
.qual-modal-close:hover { background: var(--bg-gray); color: var(--text); }
.qual-modal-body {
    flex: 1;
    min-height: 0;
    overflow: auto;
    padding: 20px;
    background: var(--ys-cream);
    display: flex;
    align-items: flex-start;
    justify-content: center;
}
.qual-modal-body img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
}
.qual-modal-foot {
    padding: 12px 22px;
    border-top: 1px solid var(--border);
    text-align: right;
    flex-shrink: 0;
}
.qual-modal-open {
    font-size: 13px;
    color: var(--ys-pine);
}
.qual-modal-open:hover { text-decoration: underline; }

@keyframes qualFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes qualZoom {
    from { opacity: 0; transform: translateY(12px) scale(.98); }
    to   { opacity: 1; transform: none; }
}

/* 窄屏：档案行折行 */
@media (max-width: 720px) {
    .qual-intro,
    .qual-notes,
    .qual-faq-block { padding: 20px; }
    .qual-record {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 18px 20px;
    }
    .qual-record-side {
        justify-content: flex-end;
        gap: 14px;
    }
    /* 营业执照信息表：窄屏改成上下堆叠 */
    .qual-biz-row { grid-template-columns: 1fr; }
    .qual-biz-label {
        padding: 10px 16px 4px;
        border-right: 0;
    }
    .qual-biz-value { padding: 4px 16px 12px; }
    .qual-license-thumb img { width: 100%; height: auto; }
    .qual-modal { padding: 16px 12px; }
    .qual-modal-head { padding: 14px 16px; }
    .qual-modal-body { padding: 12px; }
    .qual-modal-foot { padding: 10px 16px; }
}

/* ---------------- 关于我们 ----------------
   设计取向：沿用到店指南的「左内容右 FAQ」两栏布局，
   发展历程用竖向时间轴，理念条目用卡片，与全站基调一致。 */
.about-layout {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 54px;
    align-items: start;
}
.about-main { min-width: 0; }

.about-block { margin-bottom: 34px; }
.about-block:last-child { margin-bottom: 0; }
.about-block-title {
    font-family: var(--ys-serif);
    font-size: 21px; font-weight: 700; color: var(--ys-pine);
    margin-bottom: 14px; padding-left: 14px;
    border-left: 4px solid var(--ys-gold); line-height: 1.4;
}
.about-text p {
    font-size: 15px; line-height: 1.9;
    color: var(--text-sub); margin-bottom: 12px;
}
.about-text p:last-child { margin-bottom: 0; }

/* 发展历程：竖向时间轴
   结构参考常见的「年份 / 标题 / 描述」三段式：
   年份小字独立一行，标题加粗说清事件，描述灰字另起一段。
   配色用瑶膳的松绿 + 描金（不用蓝色），与全站基调一致。 */
.about-timeline {
    position: relative;
    margin-top: 8px;
    padding-left: 26px;
}
/* 轴线：细金线，上下淡出 */
.about-timeline::before {
    content: "";
    position: absolute;
    left: 5px;
    top: 8px;
    bottom: 8px;
    width: 1px;
    background: linear-gradient(180deg,
        rgba(168,124,42,0) 0%,
        rgba(168,124,42,.45) 8%,
        rgba(168,124,42,.45) 92%,
        rgba(168,124,42,0) 100%);
}

.about-timeline-item {
    position: relative;
    padding-bottom: 26px;
}
.about-timeline-item:last-child { padding-bottom: 0; }

/* 节点：实心圆点 + 白芯，hover 变松绿 */
.about-timeline-dot {
    position: absolute;
    left: -26px;
    top: 5px;
    width: 11px;
    height: 11px;
    background: var(--ys-gold);
    border: 2px solid var(--bg);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(168,124,42,.14);
    transition: background .25s, box-shadow .25s, transform .25s;
}
.about-timeline-item:hover .about-timeline-dot {
    background: var(--ys-pine);
    transform: scale(1.15);
    box-shadow: 0 0 0 5px rgba(23,53,43,.13);
}

/* 年份：金色小字 + 字间距，做成时间戳 */
.about-timeline-time {
    font-family: var(--ys-serif);
    font-size: 14px;
    font-weight: 700;
    color: var(--ys-gold);
    letter-spacing: 1.5px;
    line-height: 1.5;
    font-variant-numeric: tabular-nums;
    margin-bottom: 2px;
}

/* 标题：松绿加粗，一行说清事件 */
.about-timeline-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--ys-pine);
    line-height: 1.6;
    margin-bottom: 4px;
}

/* 描述：灰字，弱化一层 */
.about-timeline-desc {
    font-size: 14px;
    line-height: 1.85;
    color: var(--text-sub);
    max-width: 46em;
}

.about-side { min-width: 0; }
.about-faq .faq-group-title { font-size: 17px; }
/* 窄栏里问题字号略收，避免挤成两三行 */
.about-faq .faq-q { font-size: 15px; padding: 13px 14px; gap: 10px; }
.about-faq .faq-mark { width: 21px; height: 21px; }
.about-faq .faq-mark svg { width: 12px; height: 12px; }
.about-faq .faq-a-inner { margin: 0 14px; padding: 13px 0 15px; font-size: 14px; }

/* 环境实景图集 */
.about-gallery { margin-top: 46px; }
.about-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.about-gallery-item {
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-gray);
    border: 1px solid var(--border);
    transition: box-shadow .25s, transform .25s;
}
.about-gallery-item:hover { box-shadow: 0 6px 22px rgba(0, 0, 0, .09); transform: translateY(-3px); }
.about-gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* 栏目文章列表 */
.about-articles { margin-top: 46px; }
.about-articles .news-list { margin-bottom: 20px; }

@media (max-width: 900px) {
    .about-layout { grid-template-columns: 1fr; gap: 36px; }
    .about-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
/* 窄屏：时间轴收紧，字号略收 */
@media (max-width: 620px) {
    .about-timeline { padding-left: 22px; }
    .about-timeline::before { left: 4px; }
    .about-timeline-dot { left: -22px; width: 10px; height: 10px; }
    .about-timeline-title { font-size: 15px; }
    .about-timeline-desc { font-size: 13.5px; }
}

/* ---------------- 产品中心（复刻样式，只动样式不动数据） ---------------- */
.product-block { padding: 64px 0; }
.product-block-alt { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.product-block-inner {
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    gap: 54px;
    /* 图比文字矮很多时，垂直居中比顶对齐好看：
       否则图下面空一大块，整块看着是「没放完」。 */
    align-items: center;
}
/* 偶数款左右对调，对齐完整版 flip 排版 */
.product-block-alt .product-block-info { order: 2; }
.product-degree {
    display: inline-block;
    color: #fff;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 4px 14px;
    border-radius: 999px;
    margin-bottom: 12px;
    background: var(--ys-pine);
}
/* 按度数给徽章上色：模板里按 degree 输出 deg-0 / deg-6 / deg-28 */
.product-degree.deg-0 { background: var(--ys-c0); }
.product-degree.deg-6 { background: var(--ys-c6); }
.product-degree.deg-28 { background: var(--ys-c28); }
.product-block-title { font-family: var(--ys-serif); font-size: 31px; font-weight: 900; color: var(--ys-pine); letter-spacing: 1px; margin: 14px 0 6px; }
.product-block-sub { color: var(--text-sub); font-size: 16px; margin: 0 0 20px; line-height: 1.7; }

.product-highlights { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 0; }
.product-highlights li {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 5px 0; color: var(--text-sub); font-size: 15.5px; line-height: 1.6;
}
.product-check {
    flex: 0 0 auto;
    width: 19px; height: 19px; margin-top: 4px;
    border-radius: 50%;
    border: 1.8px solid var(--ys-moss);
    color: var(--ys-moss);
    background: transparent;
    position: relative;
}
.product-check::after {
    content: '';
    position: absolute; left: 5px; top: 4px;
    width: 6px; height: 3.5px;
    border-left: 2px solid var(--ys-moss);
    border-bottom: 2px solid var(--ys-moss);
    transform: rotate(-45deg);
}

.product-spec-list {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 0 22px;
    border-top: 1px solid var(--border);
}
.product-spec-item {
    display: flex;
    gap: 16px;
    padding: 11px 16px;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
}
.product-spec-item:last-child { border-bottom: none; }
.product-spec-item dt {
    flex: 0 0 96px;
    color: var(--text-light);
    font-weight: 500;
    background: transparent;
}
.product-spec-item dd { margin: 0; color: var(--text); font-weight: 500; }

.product-block-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* 产品中心按钮不用通用蓝，也不用绿/深墨，改用和米色底更搭的砖红 */
.product-block-actions .btn { border-radius: 999px; font-size: 14.5px; letter-spacing: .3px; }
.product-block-actions .btn-primary {
    background: #a62b1f;
    color: #fff;
    border-color: #a62b1f;
    transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.product-block-actions .btn-primary:hover {
    background: #8c2318;
    border-color: #8c2318;
    color: #fff;
    transform: translateY(-1px);
}
.product-block-actions .btn-ghost {
    background: transparent;
    color: #a62b1f;
    border-color: rgba(166, 43, 31, .38);
    transition: background .2s, border-color .2s, color .2s;
}
.product-block-actions .btn-ghost:hover {
    background: #a62b1f;
    border-color: #a62b1f;
    color: #fff;
}

/* 产品图：复刻完整版 box-art 盒面卡（只看样式，图片数据不动） */
.product-block-media { min-width: 0; }
.product-media-gallery {
    display: grid;
    /* 1 张图时铺满整行，2 张并排，3 张以上三列。
       之前固定两列，每款只有 1 张图时右边空一大块，看着像缺图。 */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 14px;
}
/* 按张数定列：1 张整行，2 张两栏，3 张及以上三栏 */
.product-media-gallery.is-1 { grid-template-columns: 1fr; }
.product-media-gallery.is-2 { grid-template-columns: repeat(2, 1fr); }
.product-media-gallery.is-3,
.product-media-gallery.is-4,
.product-media-gallery.is-5,
.product-media-gallery.is-6 { grid-template-columns: repeat(3, 1fr); }
.product-media-item {
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-gray);
    border: 1px solid var(--border);
    transition: box-shadow .25s, transform .25s;
}
.product-media-item:hover { box-shadow: 0 6px 22px rgba(0, 0, 0, .09); transform: translateY(-3px); }
.product-media-item img {
    width: 100%;
    /* 不写死高度：图片按 1200×750（8:5）上传，用 aspect-ratio 保持原比例，
       硬 height + object-fit:cover 会把瓶子两侧切掉，看着像图裂了。
       固定高度只在小屏时兜底。 */
    aspect-ratio: 8 / 5;
    height: auto;
    object-fit: contain;
    display: block;
    background: #fff;
}
/* 无图时用纯 CSS 盒面卡代替蓝渐变占位：颜色按度数走 */
.product-media-placeholder {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    color: #fff;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    text-align: center;
    padding: 44px 30px 34px;
    border: none;
    background: var(--ys-c0);
}
.product-media-placeholder::before {
    content: "";
    position: absolute; left: 0; right: 0; top: 0; height: 12px;
    background: rgba(0, 0, 0, .18);
}
.product-media-placeholder::after {
    content: "";
    position: absolute; inset: 0;
    background: var(--ys-pattern);
    opacity: .5;
    pointer-events: none;
}
.product-media-placeholder.deg-6 { background: var(--ys-c6); }
.product-media-placeholder.deg-28 { background: var(--ys-c28); }
.product-placeholder-degree {
    position: relative; z-index: 1;
    font-family: var(--ys-serif);
    font-size: 58px; font-weight: 900; line-height: 1; color: #fff;
}
.product-placeholder-name {
    position: relative; z-index: 1;
    margin: 20px auto 6px; width: 210px;
    background: var(--ys-cream); color: var(--text);
    border-radius: 6px; text-align: center;
    padding: 20px 10px 15px;
    font-family: var(--ys-serif); font-size: 34px; font-weight: 900; letter-spacing: 8px; text-indent: 8px; line-height: 1.25;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .22);
}
.product-placeholder-spec {
    position: relative; z-index: 1;
    font-size: 15px; color: rgba(255, 255, 255, .92); margin-top: 18px; letter-spacing: 1px;
}

/* 适用场合：复刻完整版 chips + 小标题 */
.product-scenes { margin-top: 26px; }
.product-scenes-title { font-size: 14px; font-weight: 700; color: var(--ys-pine); letter-spacing: 2px; margin-bottom: 10px; }
.product-scene-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.product-scene-tag {
    padding: 4px 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--bg);
    font-size: 13px;
    color: var(--text-sub);
}

/* 规格对比表：复刻完整版 cmp（圆角白卡 + 米黄表头） */
.section-desc { color: var(--text-sub); margin-top: 8px; }
.compare-table-wrap { overflow: visible; border-radius: 12px; border: 1px solid var(--border); background: #fff; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 640px; background: #fff; border-radius: 12px; overflow: hidden; font-size: 15px; }
.compare-table th, .compare-table td {
    padding: 13px 18px;
    text-align: left;
    font-size: 15px;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}
.compare-table thead th {
    font-family: var(--ys-serif);
    font-size: 17px;
    font-weight: 700;
    background: var(--ys-th-bg);
    color: var(--ys-pine);
    white-space: nowrap;
}
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table .compare-label-col {
    width: 110px;
    color: var(--text-light);
    font-weight: 500;
    background: var(--ys-th-bg);
}

/* 工艺与检测：复刻完整版 craft 卡 */
.product-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.product-info-grid-single { grid-template-columns: minmax(0, 720px); }
.product-info-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 26px;
}
.product-info-title { font-size: 19px; font-weight: 700; color: var(--ys-pine); margin-bottom: 16px; }
.product-info-block { margin-bottom: 14px; }
.product-info-block:last-child { margin-bottom: 0; }
.product-info-label {
    display: inline-block;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--ys-gold);
    background: var(--ys-card-label-bg);
    border: 1px solid var(--ys-card-label-bd);
    padding: 2px 10px;
    border-radius: 999px;
    margin-bottom: 6px;
}
.product-info-block p { font-size: 14.5px; color: var(--text-sub); line-height: 1.7; margin: 0; }

/* 产品详情 */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
.product-detail-title { font-size: 26px; font-weight: 700; margin-bottom: 8px; }

@media (max-width: 900px) {
    .product-block-inner,
    .product-detail-layout { grid-template-columns: 1fr; gap: 32px; }
    /* 移动端取消左右对调，统一上下堆叠 */
    .product-block-alt .product-block-info { order: 0; }
    .product-info-grid { grid-template-columns: 1fr; }
    .product-info-grid-single { grid-template-columns: 1fr; }
    /* 移动端保持 8:5 比例，只缩不放 */
    .product-media-item img { height: auto; aspect-ratio: 8 / 5; }
    .product-media-placeholder { min-height: 300px; padding: 36px 24px 30px; }
    .product-media-placeholder .product-placeholder-name { width: 190px; font-size: 30px; }
}

/* 首页：明星产品（复刻完整版 pcard，只改样式不动数据） */
.home-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.home-product-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow .25s, border-color .25s;
}
.home-product-card:hover { box-shadow: 0 14px 34px rgba(23,53,43,.10); border-color: #D8D2BE; transform: none; }
/* 顶部盒绘：复刻完整版 box-art（只改样式不动数据） */
.home-product-art {
    position: relative;
    padding: 30px 26px 24px;
    color: #fff;
    overflow: hidden;
    background: var(--ys-c0);
}
.home-product-art.deg-6 { background: var(--ys-c6); }
.home-product-art.deg-28 { background: var(--ys-c28); }

/* ---------- 有产品图时：直接用真图替代盒面画法 ----------
   之前首页这三张卡是纯 CSS 画的「盒面」（度数 + 瑶膳牌子 + 规格），
   产品图都上传了却没用上，看着像三张色块。
   现在有图就显示真图，度数做成角标叠在图上。 */
.home-product-art.is-photo {
    padding: 0;
    background: #fff;
    position: relative;
    overflow: hidden;
}
/* 真图按 8:5 显示，和产品中心页保持同一套比例 */
.home-product-art.is-photo img {
    width: 100%;
    aspect-ratio: 8 / 5;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform .4s;
}
.home-product-card:hover .home-product-art.is-photo img { transform: scale(1.03); }
/* 度数角标：压在图左上角，半透明深色底保证白字看得清 */
.home-product-deg-badge {
    position: absolute;
    left: 14px;
    top: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: baseline;
    gap: 1px;
    padding: 5px 13px;
    border-radius: 999px;
    font-family: var(--ys-serif);
    font-size: 25px;
    font-weight: 900;
    line-height: 1;
    color: #fff;
    background: rgba(23,53,43,.72);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 0 3px 10px rgba(0,0,0,.18);
}
.home-product-deg-badge small { font-size: 12px; font-weight: 700; }
.home-product-deg-badge.deg-0  { background: rgba(184,90,27,.82); }
.home-product-deg-badge.deg-6  { background: rgba(28,95,77,.82); }
.home-product-deg-badge.deg-28 { background: rgba(116,53,42,.82); }
.home-product-art::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 12px; background: rgba(0,0,0,.18); }
.home-product-art::after { content: ""; position: absolute; inset: 0; background: var(--ys-pattern); opacity: .5; pointer-events: none; }
/* 真图模式下把这两层装饰关掉：
   ::before 是盒面顶部那条压暗横条（压在真图上像一道脏阴影），
   ::after 是菱形纹理（叠在产品实拍上会发灰、显脏）。
   这两层只属于 CSS 画的盒面版本。 */
.home-product-art.is-photo::before,
.home-product-art.is-photo::after { content: none; }
.home-product-deg-row { display: flex; justify-content: space-between; align-items: flex-start; position: relative; z-index: 1; }
.home-product-deg { font-family: var(--ys-serif); font-size: 44px; font-weight: 900; line-height: 1; }
.home-product-deg small { font-size: 20px; }
.home-product-vol { font-size: 13px; border: 1px solid rgba(255,255,255,.55); border-radius: 999px; padding: 3px 12px; letter-spacing: 1px; }
.home-product-medallion { position: relative; z-index: 1; margin: 20px auto 6px; width: 172px; background: #F6F0DF; color: var(--text); border-radius: 6px; text-align: center; padding: 14px 8px 11px; box-shadow: 0 4px 14px rgba(0,0,0,.22); }
.home-product-mz { font-family: var(--ys-serif); font-size: 27px; font-weight: 900; letter-spacing: 8px; padding-left: 8px; line-height: 1.25; }
.home-product-en { font-size: 10.5px; letter-spacing: 3.5px; color: var(--text-sub); }
.home-product-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ys-seal); margin: 7px auto 0; display: block; }
.home-product-art-spec { position: relative; z-index: 1; text-align: center; font-size: 13.5px; color: rgba(255,255,255,.92); margin-top: 12px; letter-spacing: 1px; }
.home-product-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.home-product-top { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.home-product-alcohol { font-size: 13px; color: var(--text-sub); border: 1px solid var(--border); border-radius: 999px; padding: 3px 12px; letter-spacing: 1px; }
.home-product-name { font-size: 21px; font-weight: 700; color: var(--ys-pine); margin-bottom: 6px; }
.home-product-sub { font-size: 14.5px; color: var(--text-sub); line-height: 1.7; margin: 6px 0 16px; }
.home-product-spec { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); font-size: 14.5px; }
.home-product-spec li {
    display: flex;
    gap: 14px;
    padding: 8px 0;
    border-bottom: 1px dashed var(--border);
    font-size: 14.5px;
}
.home-product-spec li:last-child { border-bottom: 1px dashed var(--border); }
.home-product-spec span { flex: 0 0 52px; color: var(--text-light); }
.home-product-spec b { font-weight: 500; color: var(--text); margin: 0; }
.home-product-scenes { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 20px; }
.home-product-scenes span {
    font-size: 13px;
    color: var(--text-sub);
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 4px 12px;
    border-radius: 999px;
}
.home-product-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    color: var(--ys-gold);
    font-weight: 700;
    transition: gap .2s;
}
.home-product-link:hover { gap: 9px; color: var(--ys-gold); }

@media (max-width: 900px) {
    .home-product-grid { grid-template-columns: 1fr; }
}

/* ---------------- 分页 ---------------- */
.pagination { margin-top: 34px; display: flex; justify-content: center; }
.pagination .page-list { display: flex; gap: 6px; }
.pagination a, .pagination span {
    display: block; min-width: 36px; height: 36px; line-height: 34px;
    padding: 0 10px; text-align: center; border: 1px solid var(--border);
    border-radius: var(--radius); font-size: 14px; background: #fff;
}
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .active span { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ---------------- 页脚 ----------------
   设计取向：浅灰白底 + 细分隔线 + 蓝色点缀，克制高级。
   动效：顶部渐变细线、链接下划线滑入、卡片悬浮抬升、CTA 微动效、
        入场淡入上浮（main.js 的 IntersectionObserver 触发 .in）。 */
.site-footer {
    position: relative;
    background: var(--ys-seal);
    color: rgba(255, 255, 255, .78);
    margin-top: 0;
    overflow: hidden;
}
/* 顶部一条细渐变线：砖红底上走金线，压住上边界 */
.site-footer::before {
    content: '';
    display: block;
    height: 3px;
    background: linear-gradient(90deg, rgba(201,164,76,.25) 0%, var(--ys-gold-2) 25%, #E6C87A 50%, var(--ys-gold-2) 75%, rgba(201,164,76,.25) 100%);
    background-size: 200% 100%;
    animation: footerFlow 9s ease-in-out infinite;
}
@keyframes footerFlow {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

/* 背景极淡光斑：柔和不抢眼 */
.footer-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    opacity: .7;
    animation: footerFloat 16s ease-in-out infinite;
}
.footer-glow.g1 {
    width: 420px; height: 420px; left: -120px; top: 20px;
    background: radial-gradient(circle, rgba(255, 235, 200, .10), transparent 70%);
}
.footer-glow.g2 {
    width: 380px; height: 380px; right: -100px; top: 140px;
    background: radial-gradient(circle, rgba(0, 0, 0, .10), transparent 70%);
    animation-delay: -7s;
}
.footer-glow.g3 {
    width: 320px; height: 320px; left: 42%; bottom: -120px;
    background: radial-gradient(circle, rgba(255, 235, 200, .07), transparent 70%);
    animation-delay: -3s;
}
@keyframes footerFloat {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50%      { transform: translate3d(22px, -26px, 0) scale(1.1); }
}

/* 主区：品牌 + 导航 + 联系 */
.footer-main {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 1.2fr;
    gap: 56px;
    padding: 62px 20px 52px;
}

/* ---- 入场动画（配合 JS 加 .in） ----
   仅在 JS 已就绪时隐藏初始状态，脚本失败/被拦截时内容依然可见 */
.js .footer-main > *,
.js .footer-bottom .container > * {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .65s cubic-bezier(.22, .8, .3, 1), transform .65s cubic-bezier(.22, .8, .3, 1);
}
.js .footer-main > .in,
.js .footer-bottom .container > .in { opacity: 1; transform: none; }
.footer-main > *:nth-child(1) { transition-delay: .05s; }
.footer-main > *:nth-child(2) { transition-delay: .15s; }
.footer-main > *:nth-child(3) { transition-delay: .25s; }

/* ---- 品牌列 ---- */
.footer-brand-col { max-width: 420px; }
.footer-brand {
    display: flex; align-items: center; gap: 14px;
    margin-bottom: 16px;
}
.footer-brand img {
    height: 46px; width: auto; max-width: 180px; object-fit: contain;
    transition: transform .35s cubic-bezier(.22, .8, .3, 1);
}
.footer-brand:hover img { transform: translateY(-3px); }
.footer-brand-name {
    font-size: 24px; font-weight: 700; color: #fff; letter-spacing: 2px;
    line-height: 1.25;
}
.footer-slogan {
    display: inline-block;
    font-size: 13px; letter-spacing: 3px;
    font-weight: 600; margin-bottom: 18px;
    padding: 6px 14px;
    color: var(--primary);
    border-radius: 30px;
    background: var(--primary-light);
    transition: background .3s, transform .3s;
}
.footer-slogan:hover { background: #d8e7fc; transform: translateY(-2px); }
.footer-desc {
    font-size: 14.5px; line-height: 2; color: rgba(255, 255, 255, .78);
    margin-bottom: 26px;
}
.footer-social { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-social a {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 22px; border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .08);
    font-size: 14px; color: rgba(255, 255, 255, .88);
    position: relative; overflow: hidden;
    transition: color .28s, border-color .28s, transform .28s, box-shadow .28s, background .28s;
}
.footer-social a::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, .16) 50%, transparent 80%);
    transform: translateX(-120%);
    transition: transform .6s ease;
}
.footer-social a:hover {
    border-color: var(--ys-gold-2); color: #fff; background: rgba(255, 255, 255, .14);
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
}
.footer-social a:hover::before { transform: translateX(120%); }

/* ---- 栏目标题 ---- */
.footer-title {
    position: relative;
    font-size: 16px; font-weight: 600; color: #fff;
    letter-spacing: 1px; margin-bottom: 22px;
    padding-bottom: 12px;
    display: inline-block;
}
.footer-title::after {
    content: ''; position: absolute; left: 0; bottom: 0;
    width: 30px; height: 2px; border-radius: 2px;
    background: var(--ys-gold-2);
    transition: width .4s cubic-bezier(.22, .8, .3, 1);
}
.footer-title:hover::after { width: 100%; }

/* ---- 快速导航 ---- */
.footer-nav li { margin-bottom: 4px; }
.footer-nav a {
    position: relative;
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 0 8px 18px;
    font-size: 15px; color: rgba(255, 255, 255, .80);
    transition: color .25s, transform .25s;
}
.footer-nav a::before {
    content: ''; position: absolute; left: 0; top: 50%;
    transform: translateY(-50%);
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--ys-gold-2); opacity: .45;
    transition: opacity .25s, transform .25s;
}
/* 悬停下划线从左向右滑入 */
.footer-nav a::after {
    content: ''; position: absolute; left: 18px; right: 100%; bottom: 6px;
    height: 1px;
    background: linear-gradient(90deg, var(--ys-gold-2), rgba(201,164,76, 0));
    transition: right .38s cubic-bezier(.22, .8, .3, 1);
}
.footer-nav a:hover { color: #fff; transform: translateX(5px); }
.footer-nav a:hover::before { opacity: 1; transform: translateY(-50%) scale(1.25); }
.footer-nav a:hover::after { right: 0; }

/* ---- 联系方式：浅色卡片 ---- */
.footer-contact-col {
    position: relative;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .20);
    border-radius: 14px;
    padding: 32px 30px;
    color: rgba(255, 255, 255, .82);
    align-self: start;
    overflow: hidden;
    transition: transform .4s cubic-bezier(.22, .8, .3, 1), border-color .4s, box-shadow .4s;
}
.footer-contact-col:hover {
    transform: translateY(-6px);
    border-color: rgba(201, 164, 76, .55);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .20);
}
/* 卡片内一道缓慢扫过的高光 */
.footer-contact-col::after {
    content: ''; position: absolute; top: 0; left: -60%;
    width: 45%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .10), transparent);
    transform: skewX(-18deg);
    animation: footerSweep 7s ease-in-out infinite;
    pointer-events: none;
}
@keyframes footerSweep {
    0%   { left: -60%; }
    55%  { left: 130%; }
    100% { left: 130%; }
}
.footer-contact-col .footer-title { color: #fff; width: 100%; }
.footer-contact li {
    margin-bottom: 18px;
    display: flex; align-items: baseline; gap: 14px;
}
.fc-label {
    font-size: 13px; color: rgba(255, 255, 255, .62); flex-shrink: 0; min-width: 62px;
    letter-spacing: 1px;
}
.fc-value {
    font-size: 15px; color: #fff; word-break: break-all;
    transition: color .25s, transform .25s;
}
.footer-contact li:hover .fc-value { color: var(--ys-gold-2); transform: translateX(4px); }
.fc-phone .fc-value {
    font-size: 24px; font-weight: 700; color: var(--ys-gold-2); letter-spacing: .5px;
}
.footer-cta {
    position: relative;
    display: flex; flex-direction: column; gap: 3px;
    margin-top: 24px; padding: 14px 24px;
    background: var(--ys-gold-2); border-radius: 10px;
    text-align: center; overflow: hidden;
    color: #fff;
    transition: transform .3s cubic-bezier(.22, .8, .3, 1), box-shadow .3s, background .3s;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .22);
}
/* CTA 扫光 */
.footer-cta::before {
    content: ''; position: absolute; top: 0; left: -60%;
    width: 40%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent);
    transform: skewX(-18deg);
    transition: left .6s ease;
}
.footer-cta:hover::before { left: 130%; }
.footer-cta span {
    position: relative;
    font-size: 17px; font-weight: 600; color: #fff; letter-spacing: 2px;
}
.footer-cta em {
    position: relative;
    font-style: normal; font-size: 12px; color: rgba(255, 255, 255, .78); letter-spacing: 1px;
}
.footer-cta:hover {
    background: #b8933f;
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, .28);
}

/* ---- 底部版权条 ---- */
.footer-bottom {
    position: relative;
    z-index: 1;
    background: rgba(0, 0, 0, .16);
    border-top: 1px solid rgba(255, 255, 255, .16);
    padding: 20px 0; font-size: 13px;
}
/* 版权信息居中排布，用 | 分隔 */
.footer-bottom .container {
    display: flex; flex-wrap: wrap;
    align-items: center; justify-content: center;
    gap: 0;
    text-align: center;
}
.footer-copy { color: rgba(255, 255, 255, .70); }
.footer-meta {
    display: flex; flex-wrap: wrap;
    align-items: center; justify-content: center;
    gap: 0;
}
/* 版权文案与右侧链接组之间的分隔符 */
.footer-meta::before {
    content: '|';
    color: rgba(255, 255, 255, .30);
    margin: 0 14px;
    font-weight: 300;
}
.footer-meta a {
    position: relative;
    color: rgba(255, 255, 255, .70);
    padding: 0 14px;
    transition: color .25s, transform .25s;
    display: inline-flex;
    align-items: center;
}
/* 公安备案图标：原图是深色徽章，直接压在砖红底上看不清。
   给它垫一块白色小圆底保持原色细节，再统一压成暖白描边。 */
.footer-icp img {
    width: 16px; height: 17px;
    margin-right: 7px;
    object-fit: contain;
    vertical-align: -3px;
    background: #fff;
    border-radius: 3px;
    padding: 2px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .35);
    transition: transform .25s, box-shadow .25s;
}
.footer-icp:hover img {
    transform: scale(1.15);
    box-shadow: 0 0 0 1px var(--ys-gold-2), 0 2px 8px rgba(0, 0, 0, .28);
}
/* 链接之间的分隔符 */
.footer-meta a + a::before {
    content: '|';
    position: absolute; left: 0; top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, .30);
    font-weight: 300;
    pointer-events: none;
}
.footer-meta a::after {
    content: ''; position: absolute; left: 14px; right: 100%; bottom: -3px;
    height: 1px; background: var(--ys-gold-2);
    transition: right .35s cubic-bezier(.22, .8, .3, 1);
}
.footer-meta a:hover { color: #fff; transform: translateY(-2px); }
.footer-meta a:hover::after { right: 14px; }

/* ---------------- 错误页 ---------------- */
.error-page { text-align: center; padding: 120px 0; }
.error-page h1 { font-size: 90px; color: var(--primary); line-height: 1; }
.error-page p { margin: 18px 0 30px; color: var(--text-sub); }
.error-debug {
    margin: -10px 0 28px !important;
    padding: 10px 14px;
    font-size: 13px;
    line-height: 1.7;
    color: #8a6d3b;
    background: #fff8e6;
    border: 1px solid #ffe0a3;
    border-radius: 6px;
    word-break: break-all;
    text-align: left;
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 992px) {
    .banner-inner { flex-direction: column; text-align: center; }
    .banner-text h1 { font-size: 32px; }
    .banner-actions { justify-content: center; }
    .card-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-layout { grid-template-columns: 1fr; gap: 34px; }
    /* 到店指南：中等屏时三宫格折成两列，地图卡改上下堆叠 */
    .visit-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .visit-map-card { grid-template-columns: 1fr; }
    .visit-map-canvas { min-height: 200px; }
    .topbar-brand { display: none; }
    .topbar-inner { justify-content: flex-end; }
    .nav > ul > li > a { padding: 0 12px; font-size: 14px; }
    .slider { height: 380px; }
    .cta-card { grid-template-columns: 1fr; gap: 28px; padding: 32px 34px; width: 100%; }
    .cta-divider { display: none; }
    .cta-left p { max-width: none; }
    .footer-main { grid-template-columns: 1fr 1fr; gap: 44px; }
    .footer-brand-col { grid-column: 1 / -1; max-width: none; }
}

@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .topbar { display: none; }
    .nav { display: none; }
    .nav.mobile-open {
        display: block;
        position: absolute; top: 68px; left: 0; right: 0;
        background: #fff; border-bottom: 1px solid var(--border);
        transform: none;
    }
    .nav.mobile-open > ul { flex-direction: column; align-items: stretch; padding: 8px 0; }
    .nav.mobile-open > ul > li > a { height: 46px; line-height: 46px; padding: 0 20px; }
    .sub-nav { position: static; display: block; box-shadow: none; border: 0; padding-left: 20px; }
    .card-grid { grid-template-columns: 1fr; }
    .banner-list { grid-template-columns: 1fr; }
    /* 轮播：矮一些、箭头隐藏、进度条收窄，复刻修版 */
    .slider { height: 260px; }
    .slider-nav { display: none; }
    .slider-progress { bottom: 24px; left: 20px; }
    .slider-progress .seg { width: 42px; }
    .slider-count { bottom: 20px; right: 20px; }
    /* 手机上标题 / 副标题按视口收窄，
       后台设的 40px 在 260px 高的画面里会撑破容器。
       用 min() 让设定值成为上限，窄屏自动缩小。 */
    .slide-title { font-size: min(var(--title-size, 40px), 9vw); }
    .slide-sub { font-size: min(var(--sub-size, 17px), 4.2vw); max-width: 100%; margin-bottom: 18px; }
    .slide-btn { padding: 10px 26px; font-size: 14px; }
    .cta-card { padding: 26px 22px; gap: 22px; width: 100%; }
    .home-trust-inner { grid-template-columns: 1fr; }
    .home-trust-item { padding: 16px 20px; }
    .home-trust-item+.home-trust-item { border-left: none; border-top: 1px solid #EEECE3; }
    .slider-strip-inner { grid-template-columns: 1fr; }
    .slider-strip-item { padding: 16px 20px; }
    .slider-strip-item+.slider-strip-item { border-left: none; border-top: 1px solid rgba(255,255,255,.16); }
    .cta h2 { font-size: 23px; }
    .cta-phone { font-size: 22px; }
    .cta-phone-icon { width: 44px; height: 44px; }
    .footer-main { grid-template-columns: 1fr; gap: 36px; padding: 46px 20px 40px; }
    .footer-contact-col { padding: 26px 22px; }
    .section { padding: 46px 0; }
    .article-title { font-size: 23px; }
    .article-nav { flex-direction: column; gap: 10px; }
    .news-list li a { flex-direction: column; align-items: flex-start; gap: 4px; }
    .news-date { margin-left: 0; }
    .faq-q { padding: 14px 15px; font-size: 15px; gap: 10px; }
    .faq-mark { width: 22px; height: 22px; }
    .faq-mark svg { width: 13px; height: 13px; }
    .faq-a-inner { margin: 0 15px; padding: 13px 0 15px; }
    .faq-cta { padding: 26px 18px; }
    /* 到店指南：手机端三宫格退成单列，地图卡改成上下堆叠 */
    .visit-quick { grid-template-columns: 1fr; gap: 12px; }
    .visit-map-card { grid-template-columns: 1fr; }
    .visit-map-canvas { min-height: 180px; }
    .visit-map-info { padding: 22px 20px; }
    .visit-hero img { height: 220px; }
    .visit-faq-block { padding: 20px 16px; }
    .visit-list li { padding: 13px 16px; }
    .visit-cta { padding: 26px 20px; }
}
