/* =============================================================
   锁具销售与服务平台 · 全局样式
   设计原则：白底大留白、扁平、每屏只讲一件事、动效克制
   ============================================================= */

:root {
    /* 品牌色 —— 深蓝：信任、安全 */
    --c-brand: #1B4D8F;
    --c-brand-dark: #0F2F5C;
    --c-brand-light: #E8F0FA;

    /* 强调色 —— 琥珀金：CTA / 价格 / 角标 */
    --c-accent: #F5A524;
    --c-accent-dark: #D98A0B;
    --c-accent-light: #FEF4E2;

    /* 中性色 */
    --c-bg: #FFFFFF;
    --c-bg-soft: #F6F8FB;
    --c-text: #111827;
    --c-text-2: #4B5563;
    --c-text-3: #9CA3AF;
    --c-border: #E5E7EB;
    --c-success: #10B981;
    --c-danger: #E5484D;

    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 16px;
    --r-full: 999px;

    --sh-1: 0 1px 2px rgba(16, 24, 40, .05);
    --sh-2: 0 8px 24px rgba(16, 24, 40, .08);

    --container: 1200px;
    --section-y: 96px;
    --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
            "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

/* 统一 hidden 语义：避免 flex/grid 元素把 hidden 属性顶掉 */
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.75;
    color: var(--c-text);
    background: var(--c-bg);
    -webkit-font-smoothing: antialiased;
    overflow-wrap: break-word;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.35; }
p { margin: 0; }

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

/* ---------------- 通用元素 ---------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 48px;
    padding: 0 28px;
    border: 1px solid transparent;
    border-radius: var(--r-full);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s ease;
    white-space: nowrap;
}

.btn--primary { background: var(--c-accent); color: #fff; }
.btn--primary:hover { background: var(--c-accent-dark); transform: translateY(-1px); }

.btn--ghost { background: transparent; border-color: var(--c-border); color: var(--c-text); }
.btn--ghost:hover { border-color: var(--c-brand); color: var(--c-brand); }

.btn--line { background: var(--c-brand); color: #fff; }
.btn--line:hover { background: var(--c-brand-dark); }

.btn--light { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; }
.btn--light:hover { background: rgba(255,255,255,.14); border-color: #fff; }

.btn--sm { height: 40px; padding: 0 20px; font-size: 14px; }
.btn--block { width: 100%; }

.tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: var(--r-sm);
    font-size: 12px;
    line-height: 1.5;
    font-weight: 500;
    background: var(--c-brand-light);
    color: var(--c-brand);
}

.tag--hot { background: var(--c-accent); color: #fff; }
.tag--new { background: var(--c-brand); color: #fff; }
.tag--recommend { background: var(--c-accent-light); color: var(--c-accent-dark); }

.link-more { color: var(--c-brand); font-size: 15px; font-weight: 500; }
.link-more:hover { color: var(--c-accent-dark); }

/* ---------------- 演示模式提示条 ---------------- */
.demo-bar { background: var(--c-brand-dark); color: #fff; font-size: 13px; }
.demo-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.demo-bar__link { color: var(--c-accent); font-weight: 500; text-decoration: underline; }
.demo-bar strong { color: var(--c-accent); }

/* ---------------- 顶部导航 ---------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--c-border);
    transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: var(--sh-2); }

.site-header__inner { display: flex; align-items: center; gap: 28px; height: 72px; }

.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand__mark {
    width: 34px; height: 34px; border-radius: 10px;
    background: linear-gradient(135deg, var(--c-brand) 0%, #2E6DB4 100%);
    position: relative;
}
.brand__mark::after {
    content: ""; position: absolute; inset: 10px 11px; border-radius: 50% 50% 45% 45%;
    border: 3px solid #fff; border-bottom-color: transparent;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.25; }
.brand__text strong { font-size: 17px; font-weight: 600; color: var(--c-brand-dark); }
.brand__text em { font-style: normal; font-size: 11px; color: var(--c-text-3); }

/* 后台上传了 LOGO 图片时的样式 */
.brand--img { gap: 0; }
.brand__logo { width: auto; max-width: 240px; object-fit: contain; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__list > li { position: relative; }
.nav__list > li > a {
    display: flex; align-items: center; gap: 4px;
    height: 72px; padding: 0 16px;
    font-size: 15px; font-weight: 500; color: var(--c-text);
    border-bottom: 2px solid transparent;
    transition: color .18s ease, border-color .18s ease;
}
.nav__list > li > a:hover { color: var(--c-brand); }
.nav__list > li > a.is-active { color: var(--c-brand); border-bottom-color: var(--c-accent); }

.caret {
    width: 0; height: 0; margin-top: 2px;
    border-left: 4px solid transparent; border-right: 4px solid transparent;
    border-top: 5px solid currentColor; opacity: .55;
}

.sub {
    position: absolute; top: 100%; left: 50%; transform: translate(-50%, 8px);
    min-width: 168px; padding: 8px;
    background: #fff; border: 1px solid var(--c-border);
    border-radius: var(--r-lg); box-shadow: var(--sh-2);
    opacity: 0; visibility: hidden; transition: all .16s ease;
}
.has-sub:hover .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.sub li a { display: block; padding: 9px 12px; border-radius: var(--r-sm); font-size: 14px; color: var(--c-text-2); }
.sub li a:hover { background: var(--c-bg-soft); color: var(--c-brand); }

.header-cta { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.header-cta__phone { display: flex; flex-direction: column; line-height: 1.2; }
.header-cta__phone span { font-size: 11px; color: var(--c-text-3); }
.header-cta__phone strong { font-size: 16px; font-weight: 600; color: var(--c-brand); }

.burger {
    display: none; width: 40px; height: 40px; padding: 9px;
    background: none; border: 1px solid var(--c-border); border-radius: var(--r-sm); cursor: pointer;
}
.burger i { display: block; height: 2px; background: var(--c-text); border-radius: 2px; }
.burger i + i { margin-top: 4px; }

/* ---------------- 首屏 ---------------- */
.hero {
    position: relative;
    min-height: 560px;
    background: var(--c-brand-dark);
    overflow: hidden;
}
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; display: flex; align-items: center; }
.hero__slide.is-active { opacity: 1; }
/* 背景图与遮罩绝对定位，避免和文字争夺 flex 空间（窄屏上曾把文案挤出画面） */
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,47,92,.92) 0%, rgba(15,47,92,.55) 55%, rgba(15,47,92,.25) 100%); }
.hero__inner { position: relative; z-index: 2; width: 100%; min-width: 0; padding: 88px 0; }
.hero__content { max-width: 620px; color: #fff; }
.hero__eyebrow { display: inline-block; margin-bottom: 18px; padding: 6px 14px; border-radius: var(--r-full); background: rgba(255,255,255,.12); font-size: 13px; letter-spacing: .04em; }
.hero h1 { font-size: 44px; line-height: 1.25; margin-bottom: 18px; }
.hero__sub { font-size: 17px; color: rgba(255,255,255,.82); margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 22px; }
.hero__badge { display: flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(255,255,255,.86); }
.hero__badge::before {
    content: ""; width: 16px; height: 16px; border-radius: 50%;
    background: var(--c-accent);
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/contain no-repeat;
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/contain no-repeat;
    flex-shrink: 0;
}
.hero__dots { position: absolute; left: 50%; bottom: 28px; z-index: 3; display: flex; gap: 10px; transform: translateX(-50%); }
.hero__dots button {
    width: 26px; height: 4px; padding: 0; border: 0; border-radius: 2px;
    background: rgba(255,255,255,.34); cursor: pointer; transition: background .2s;
}
.hero__dots button.is-active { background: var(--c-accent); }

/* ---------------- 板块通用 ---------------- */
.section { padding: var(--section-y) 0; }
.section--soft { background: var(--c-bg-soft); }

.section-head { margin-bottom: 44px; }
.section-head__en { display: block; font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--c-brand); margin-bottom: 8px; }
.section-head h2 { font-size: 32px; color: var(--c-brand-dark); }
.section-head p { margin-top: 12px; color: var(--c-text-2); font-size: 16px; }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* 通用横向滚动容器：宽表格在窄屏里内部滚动，不撑破页面 */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------------- 四大业务入口 ---------------- */
.entry-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.entry-card {
    position: relative; display: flex; align-items: flex-start; gap: 14px;
    padding: 22px 46px 22px 22px; min-height: 112px;
    background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg);
    transition: all .2s ease;
}
.entry-card::after {
    content: "→"; position: absolute; right: 18px; top: 50%;
    transform: translate(-6px, -50%); color: var(--c-brand);
    font-size: 18px; opacity: 0; transition: all .2s ease;
}
.entry-card:hover { transform: translateY(-3px); border-color: rgba(27,77,143,.4); box-shadow: var(--sh-2); }
.entry-card:hover::after { opacity: 1; transform: translate(0, -50%); }
.entry-card__icon {
    flex: none; width: 46px; height: 46px; border-radius: 14px;
    background: var(--c-brand-light); color: var(--c-brand);
    display: flex; align-items: center; justify-content: center;
    transition: all .2s ease;
}
.entry-card:hover .entry-card__icon { background: var(--c-brand); color: #fff; }
.entry-card__icon svg { width: 22px; height: 22px; }
.entry-card__body { min-width: 0; }
.entry-card h3 { font-size: 16.5px; margin: 2px 0 6px; }
.entry-card p { font-size: 13.5px; color: var(--c-text-2); line-height: 1.7; margin: 0; }

/* ---------------- 筛选条 ---------------- */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 28px; }
.chip {
    display: inline-flex; align-items: center; height: 36px; padding: 0 18px;
    border: 1px solid var(--c-border); border-radius: var(--r-full);
    font-size: 14px; color: var(--c-text-2); background: #fff; transition: all .18s ease;
}
.chip:hover { border-color: var(--c-brand); color: var(--c-brand); }
.chip.is-active { background: var(--c-brand); border-color: var(--c-brand); color: #fff; }
.chip--sm { height: 31px; padding: 0 14px; font-size: 13px; }

/* 二级子类目筛选（产品中心） */
.subfilters {
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
    margin: -12px 0 24px;
    padding: 14px 18px;
    background: var(--c-bg-soft);
    border: 1px dashed var(--c-border);
    border-radius: var(--r-md);
}
.subfilters__label { font-size: 13px; color: var(--c-text-3); margin-right: 2px; }

/* ---------------- 产品卡片 ---------------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-grid--3 { grid-template-columns: repeat(3, 1fr); }

.product-card {
    display: flex; flex-direction: column;
    background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg);
    overflow: hidden; transition: all .2s ease;
}
.product-card:hover { transform: translateY(-4px); border-color: rgba(27,77,143,.4); box-shadow: var(--sh-2); }
.product-card__media { position: relative; aspect-ratio: 1 / 1; background: var(--c-bg-soft); overflow: hidden; }
.product-card__media img { width: 100%; height: 100%; object-fit: contain; padding: 18px; transition: transform .3s ease; }
.product-card:hover .product-card__media img { transform: scale(1.04); }
.product-card__badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; }
.product-card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.product-card__name { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.product-card__tagline { font-size: 13px; color: var(--c-text-2); min-height: 40px; margin-bottom: 14px; }
.product-card__price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 16px; }
.product-card__price .now { font-size: 22px; font-weight: 600; color: var(--c-accent-dark); }
.product-card__price .was { font-size: 13px; color: var(--c-text-3); text-decoration: line-through; }
.product-card__actions { margin-top: auto; display: flex; gap: 10px; }
.product-card__actions .btn { flex: 1; }

/* ---------------- 分类图标墙 ---------------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cat-card {
    display: flex; flex-direction: column;
    background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg);
    transition: all .2s ease; overflow: hidden;
}
.cat-card:hover { transform: translateY(-4px); border-color: var(--c-brand); box-shadow: var(--sh-2); }
.cat-card__main { display: flex; align-items: center; gap: 18px; padding: 24px; }
.cat-card__icon {
    width: 56px; height: 56px; flex-shrink: 0; border-radius: var(--r-md);
    background: var(--c-brand-light); color: var(--c-brand);
    display: flex; align-items: center; justify-content: center;
}
.cat-card__icon svg { width: 26px; height: 26px; }
.cat-card h3 { font-size: 17px; margin-bottom: 4px; }
.cat-card p { font-size: 13px; color: var(--c-text-2); }
.cat-card__arrow { margin-left: auto; color: var(--c-text-3); font-size: 20px; transition: transform .2s; }
.cat-card:hover .cat-card__arrow { transform: translateX(4px); color: var(--c-accent-dark); }

/* ---- 竖排变体（关于我们 · 经营品类）：图标与文字整体居中，箭头固定底部居中 ---- */
.cat-card--v {
    padding: 26px 22px 18px; min-height: 192px;
    align-items: center; text-align: center;
}
.cat-card--v .cat-card__icon { width: 52px; height: 52px; border-radius: 14px; }
.cat-card--v h3 { margin: 16px 0 6px; }
.cat-card--v p { margin: 0; line-height: 1.7; }
.cat-card--v .cat-card__arrow {
    margin-left: 0; margin-top: auto; padding-top: 16px;
    align-self: center; font-style: normal; line-height: 1;
}
.cat-card--v:hover .cat-card__arrow { transform: translateY(3px); }

/* 分类卡片里的子类目快捷入口 */
.cat-card__subs {
    display: flex; flex-wrap: wrap; gap: 8px;
    padding: 14px 24px 18px;
    border-top: 1px dashed var(--c-border);
    background: #FCFDFF;
}
.cat-card__subs a {
    font-size: 12.5px; padding: 4px 12px; border-radius: var(--r-full);
    background: var(--c-bg-soft); color: var(--c-text-2); border: 1px solid var(--c-border);
    transition: all .16s ease;
}
.cat-card__subs a:hover { background: var(--c-brand); border-color: var(--c-brand); color: #fff; }
.cat-card__subs .cat-card__more { background: transparent; border-color: transparent; color: var(--c-brand); padding-left: 2px; }
.cat-card__subs .cat-card__more:hover { background: transparent; color: var(--c-accent-dark); }

/* ---------------- 服务卡片 ---------------- */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service-card {
    display: flex; flex-direction: column; padding: 26px 24px;
    background: #fff; border: 1px solid var(--c-border); border-left: 4px solid var(--c-brand);
    border-radius: var(--r-md); transition: all .2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.service-card h3 { font-size: 18px; margin-bottom: 10px; }
.service-card p { font-size: 14px; color: var(--c-text-2); min-height: 66px; }
.service-card__price { margin: 14px 0 6px; font-size: 16px; font-weight: 600; color: var(--c-accent-dark); }
.service-card__time { font-size: 13px; color: var(--c-text-3); margin-bottom: 20px; }
.service-card .btn { margin-top: auto; align-self: flex-start; }

/* ---------------- 服务流程 ---------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 26px 22px; background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg); }
.step__no {
    width: 34px; height: 34px; margin-bottom: 14px; border-radius: 50%;
    background: var(--c-brand); color: #fff; font-weight: 600; font-size: 15px;
    display: flex; align-items: center; justify-content: center;
}
.step h4 { font-size: 16px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--c-text-2); }

/* ---------------- 优势 ---------------- */
.adv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.adv-card {
    position: relative; overflow: hidden;
    padding: 22px 22px 20px;
    background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg);
    transition: all .2s ease;
}
.adv-card::before {
    content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--c-brand), rgba(27, 77, 143, 0));
    opacity: 0; transition: opacity .2s ease;
}
.adv-card:hover { transform: translateY(-3px); border-color: rgba(27, 77, 143, .35); box-shadow: var(--sh-2); }
.adv-card:hover::before { opacity: 1; }
.adv-card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.adv-card__icon {
    flex: none; width: 42px; height: 42px; border-radius: 12px;
    background: var(--c-brand-light); color: var(--c-brand);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 0; transition: all .2s ease;
}
.adv-card:hover .adv-card__icon { background: var(--c-brand); color: #fff; }
.adv-card__icon svg { width: 21px; height: 21px; }
.adv-card h3 { font-size: 16.5px; margin: 0; }
.adv-card p { font-size: 13.5px; color: var(--c-text-2); line-height: 1.75; margin: 0; }
.adv-card__no {
    position: absolute; right: 16px; top: 14px;
    font-size: 12px; font-weight: 700; letter-spacing: .08em;
    color: var(--c-border); font-variant-numeric: tabular-nums;
}
/* 无 __head 包裹的旧式用法（联系页信息卡等）保持竖排不破版 */
.adv-card > .adv-card__icon { margin-bottom: 12px; }
.adv-card > .adv-card__icon + h3 { margin-bottom: 8px; }

/* ---------------- 微信二维码 ---------------- */
.qr-card {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    gap: 16px; margin-top: 26px; padding: 24px 22px;
    background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg);
}
.qr-card--inline { flex-direction: row; text-align: left; align-items: flex-start; gap: 20px; }
.qr-card__media { flex: none; }
.qr-card__img {
    width: 168px; height: 168px; object-fit: contain;
    background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-md); padding: 6px;
}
.qr-card__empty {
    width: 168px; height: 168px; border: 1px dashed var(--c-border-strong, var(--c-border));
    border-radius: var(--r-md); background: var(--c-bg-soft);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 8px; padding: 16px; color: var(--c-text-3); font-size: 13px; line-height: 1.6;
}
.qr-card__empty em { font-style: normal; font-size: 12px; }
.qr-card__body { min-width: 0; }
.qr-card__title { font-size: 18px; margin-bottom: 8px; }
.qr-card__desc { font-size: 14px; color: var(--c-text-2); line-height: 1.7; }
.qr-card__wx { font-size: 14px; color: var(--c-text-2); margin-top: 10px; }
.qr-card__wx strong { color: var(--c-brand); }
.qr-card__tip { font-size: 12px; color: var(--c-text-3); margin-top: 10px; }
.contact-info .qr-card, .contact-section .qr-card { border-color: rgba(255,255,255,.18); }
/* 深色联系区里 .contact-info p 的白字会盖掉卡片内文字，这里恢复 */
.contact-info .qr-card p { color: var(--c-text-2); margin: 0 0 8px; }
.contact-info .qr-card__title { color: var(--c-text); margin-bottom: 8px; }
.contact-info .qr-card__tip { color: var(--c-text-3); margin-bottom: 0; }
.contact-info .qr-card__wx strong { color: var(--c-brand); }
/* 深色联系区里 .contact-info p 的白字会盖掉卡片内文字，这里恢复 */
.contact-info .qr-card p { color: var(--c-text-2); margin: 0 0 8px; }
.contact-info .qr-card__title { color: var(--c-text); margin-bottom: 8px; }
.contact-info .qr-card__tip { color: var(--c-text-3); margin-bottom: 0; }
.contact-info .qr-card__wx strong { color: var(--c-brand); }

/* ---------------- 数据指标 ---------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat { text-align: center; padding: 26px 16px; background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg); }
.stat__value { font-size: 34px; font-weight: 600; color: var(--c-brand); line-height: 1.2; }
.stat__label { font-size: 14px; color: var(--c-text-2); margin-top: 6px; }

/* ---------------- 底部联系区 ---------------- */
.contact-section { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-info h2 { font-size: 32px; color: #fff; margin-bottom: 16px; }
.contact-info p { color: rgba(255,255,255,.8); margin-bottom: 26px; }
.contact-list li { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.9); font-size: 15px; }
.contact-list li span:first-child { color: rgba(255,255,255,.55); min-width: 76px; flex-shrink: 0; }
.contact-section-wrap { background: var(--c-brand-dark); padding: var(--section-y) 0; }

.form-card { background: #fff; border-radius: var(--r-lg); padding: 32px; box-shadow: var(--sh-2); }
.form-card h3 { font-size: 20px; margin-bottom: 6px; }
.form-card > p { font-size: 14px; color: var(--c-text-2); margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; color: var(--c-text-2); margin-bottom: 6px; }
.field label .req { color: var(--c-danger); }
.field input, .field select, .field textarea {
    width: 100%; height: 44px; padding: 0 14px;
    border: 1px solid var(--c-border); border-radius: var(--r-sm);
    font-family: inherit; font-size: 15px; color: var(--c-text); background: #fff;
    transition: border-color .18s ease, box-shadow .18s ease;
}
.field textarea { height: auto; min-height: 96px; padding: 12px 14px; resize: vertical; line-height: 1.7; }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--c-brand); box-shadow: 0 0 0 3px rgba(27,77,143,.12);
}
.form-note { font-size: 12px; color: var(--c-text-3); margin-top: 12px; }

.alert { padding: 12px 16px; border-radius: var(--r-sm); font-size: 14px; margin-bottom: 18px; }
.alert--ok { background: #E9F9F1; color: #0B7A4B; border-left: 3px solid var(--c-success); }
.alert--err { background: #FDECEC; color: #A3242A; border-left: 3px solid var(--c-danger); }

/* ---------------- 页脚 ---------------- */
.site-footer { background: var(--c-brand-dark); color: rgba(255,255,255,.72); padding-top: 56px; }
.footer__cols-wrap { width: 100%; }
.footer__cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px 24px; padding-bottom: 48px; }
.footer__col h4 { font-size: 15px; color: #fff; margin-bottom: 16px; }
.footer__col li { margin-bottom: 10px; font-size: 14px; }
.footer__col a { word-break: break-word; }
.footer__col a:hover { color: var(--c-accent); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; }
.footer__bottom-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,.5); }

/* ---------------- 悬浮 / 移动端 ---------------- */
.back-top {
    position: fixed; right: 24px; bottom: 32px; z-index: 40;
    width: 44px; height: 44px; border-radius: 50%;
    background: #fff; border: 1px solid var(--c-border); box-shadow: var(--sh-2);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; color: var(--c-brand);
    opacity: 0; visibility: hidden; transition: all .2s ease;
}
.back-top.is-show { opacity: 1; visibility: visible; }

.mobile-bar { display: none; }

/* ---------------- 面包屑 ---------------- */
.crumb { padding: 20px 0 0; font-size: 13px; color: var(--c-text-3); }
.crumb a:hover { color: var(--c-brand); }
.crumb span { margin: 0 8px; }

/* ---------------- 页面头部 ---------------- */
.page-hero { background: var(--c-bg-soft); padding: 52px 0 44px; border-bottom: 1px solid var(--c-border); }
.page-hero__en { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--c-brand); font-weight: 500; }
.page-hero h1 { font-size: 34px; color: var(--c-brand-dark); margin: 8px 0 12px; }
.page-hero p { color: var(--c-text-2); max-width: 720px; }

/* ---------------- 产品详情 ---------------- */
.detail { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding: 48px 0; }
.detail__gallery { background: var(--c-bg-soft); border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: 32px; aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; }
.detail__gallery img { max-height: 100%; object-fit: contain; }
.detail__title { font-size: 30px; color: var(--c-brand-dark); margin-bottom: 10px; }
.detail__tagline { color: var(--c-text-2); font-size: 16px; margin-bottom: 20px; }
.detail__price { display: flex; align-items: baseline; gap: 12px; padding: 18px 22px; background: var(--c-accent-light); border-radius: var(--r-md); margin-bottom: 24px; }
.detail__price .now { font-size: 30px; font-weight: 600; color: var(--c-accent-dark); }
.detail__price .was { font-size: 15px; color: var(--c-text-3); text-decoration: line-through; }
.detail__price .hint { margin-left: auto; font-size: 13px; color: var(--c-text-2); }
.detail__actions { display: flex; gap: 14px; margin-bottom: 24px; }
.detail__actions .btn { flex: 1; }
.detail__guarantee { display: flex; flex-wrap: wrap; gap: 18px; padding-top: 20px; border-top: 1px solid var(--c-border); font-size: 14px; color: var(--c-text-2); }
.detail__guarantee span::before { content: "·"; margin-right: 6px; color: var(--c-accent-dark); font-weight: 700; }

.panel { padding: 44px 0; }
.panel h2 { font-size: 24px; color: var(--c-brand-dark); margin-bottom: 20px; }
.spec-table { width: 100%; border-collapse: collapse; border: 1px solid var(--c-border); border-radius: var(--r-md); overflow: hidden; }
.spec-table th, .spec-table td { padding: 13px 18px; font-size: 15px; border-bottom: 1px solid var(--c-border); text-align: left; }
.spec-table th { width: 200px; background: var(--c-bg-soft); color: var(--c-text-2); font-weight: 500; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }

.highlight-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.highlight-list li { position: relative; padding-left: 26px; font-size: 15px; color: var(--c-text-2); }
.highlight-list li::before {
    content: ""; position: absolute; left: 0; top: 8px;
    width: 14px; height: 14px; border-radius: 50%; background: var(--c-brand-light);
    box-shadow: inset 0 0 0 4px var(--c-brand);
}

/* ---------------- 服务详情 ---------------- */
.inc-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.inc-list li { padding: 14px 18px; background: var(--c-bg-soft); border-radius: var(--r-sm); font-size: 15px; }
.inc-list li::before { content: "✓"; color: var(--c-success); font-weight: 700; margin-right: 8px; }

.faq { border: 1px solid var(--c-border); border-radius: var(--r-md); overflow: hidden; }
.faq__item { border-bottom: 1px solid var(--c-border); }
.faq__item:last-child { border-bottom: 0; }
.faq__q { width: 100%; display: flex; justify-content: space-between; gap: 16px; padding: 18px 20px; background: #fff; border: 0; font-family: inherit; font-size: 16px; font-weight: 500; text-align: left; cursor: pointer; }
.faq__q::after { content: "+"; color: var(--c-brand); font-weight: 600; }
.faq__item.is-open .faq__q::after { content: "−"; }
.faq__a { display: none; padding: 0 20px 18px; color: var(--c-text-2); font-size: 15px; }
.faq__item.is-open .faq__a { display: block; }

.price-table { width: 100%; border-collapse: collapse; border: 1px solid var(--c-border); }
.price-table th, .price-table td { padding: 13px 18px; border-bottom: 1px solid var(--c-border); font-size: 15px; text-align: left; }
.price-table th { background: var(--c-bg-soft); color: var(--c-text-2); font-weight: 500; }

/* ---------------- 分页 ---------------- */
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 44px; flex-wrap: wrap; }
.pager__item {
    min-width: 40px; height: 40px; padding: 0 14px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--c-border); border-radius: var(--r-sm);
    font-size: 14px; color: var(--c-text-2); background: #fff;
}
.pager__item:hover { border-color: var(--c-brand); color: var(--c-brand); }
.pager__item.is-active { background: var(--c-brand); border-color: var(--c-brand); color: #fff; }

/* ---------------- 关于我们 ---------------- */
.prose { max-width: 860px; }
.prose p { margin-bottom: 18px; color: var(--c-text-2); font-size: 16px; }
.prose h2 { font-size: 24px; color: var(--c-brand-dark); margin: 32px 0 16px; }
.prose h3 { font-size: 18px; margin: 24px 0 12px; }
.prose ul { margin: 0 0 18px 0; }
.prose li { position: relative; padding-left: 20px; margin-bottom: 8px; color: var(--c-text-2); }
.prose li::before { content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--c-brand); }

.map-box { border: 1px solid var(--c-border); border-radius: var(--r-lg); overflow: hidden; background: var(--c-bg-soft); min-height: 260px; display: flex; align-items: center; justify-content: center; color: var(--c-text-3); font-size: 14px; }

/* ---------------- 空状态 ---------------- */
.empty { padding: 72px 0; text-align: center; color: var(--c-text-3); }

/* =============================================================
   使用指南 / 新闻
   ============================================================= */
/* ---------------- 首页·使用指南两栏标题列表 ---------------- */
.guide-list {
    list-style: none; margin: 0; padding: 0;
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 48px; counter-reset: gl;
}
.guide-list__item { border-bottom: 1px dashed var(--c-border); min-width: 0; }
.guide-list__item a {
    display: flex; align-items: center; gap: 12px;
    padding: 17px 2px; text-decoration: none; color: inherit;
    min-width: 0;
    transition: background .15s ease;
}
.guide-list__item a:hover { background: var(--c-bg-soft); }
.guide-list__cat {
    flex: none; font-style: normal; font-size: 12px; line-height: 1;
    padding: 6px 10px; border-radius: var(--r-full);
    background: var(--c-brand-light); color: var(--c-brand); white-space: nowrap;
}
.guide-list__title {
    flex: 1 1 auto; min-width: 0; font-size: 15.5px; font-weight: 500;
    color: var(--c-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    transition: color .15s ease;
}
.guide-list__item a:hover .guide-list__title { color: var(--c-brand); }
.guide-list__date { flex: none; font-size: 13px; color: var(--c-text-3); font-variant-numeric: tabular-nums; }
@media (max-width: 1080px) { .guide-list { gap: 0 32px; } }
/* 单栏时也必须写 minmax(0, 1fr)：纯 1fr 的自动最小尺寸会被 nowrap 标题顶开，
   在 375px 手机上会横向溢出 */
@media (max-width: 720px) { .guide-list { grid-template-columns: minmax(0, 1fr); } .guide-list__date { display: none; } }

.guide-search {
    display: flex; gap: 12px; align-items: center;
    max-width: 560px; margin-bottom: 20px;
}
.guide-search__input {
    flex: 1; height: 46px; padding: 0 18px;
    font-family: inherit; font-size: 15px; color: var(--c-text);
    background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-full);
    transition: border-color .18s, box-shadow .18s;
}
.guide-search__input:focus {
    outline: none; border-color: var(--c-brand);
    box-shadow: 0 0 0 3px rgba(27, 77, 143, .12);
}
.guide-search__reset { font-size: 14px; color: var(--c-text-3); }
.guide-search__reset:hover { color: var(--c-brand); }
.guide-result { font-size: 14px; color: var(--c-text-3); margin-bottom: 20px; }

/* 置顶推荐区 */
.guide-tops {
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px;
    margin-bottom: 34px;
}
.guide-top {
    display: flex; gap: 16px; align-items: stretch;
    background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg);
    overflow: hidden; transition: all .2s ease;
}
.guide-top:hover { border-color: var(--c-brand); box-shadow: var(--sh-2); transform: translateY(-2px); }
.guide-top__cover {
    width: 150px; flex: 0 0 150px;
    background: var(--c-bg-soft) center/cover no-repeat;
}
.guide-top__body { padding: 18px 20px 18px 0; display: flex; flex-direction: column; justify-content: center; gap: 8px; min-width: 0; }
.guide-top__cat { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--c-accent-dark); font-weight: 500; }
.guide-top__body strong { font-size: 17px; line-height: 1.45; }
.guide-top__body em { font-style: normal; font-size: 13.5px; color: var(--c-text-2); }
.guide-top--lead { grid-row: span 2; flex-direction: column; }
.guide-top--lead .guide-top__cover { width: 100%; flex: 0 0 auto; height: 190px; }
.guide-top--lead .guide-top__body { padding: 20px 22px 22px; }
.guide-top--lead .guide-top__body strong { font-size: 21px; }

/* 文章卡片网格 */
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.guide-grid--3 { grid-template-columns: repeat(3, 1fr); }
.guide-card {
    display: flex; flex-direction: column;
    background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg);
    overflow: hidden; transition: all .2s ease;
}
.guide-card:hover { transform: translateY(-4px); border-color: rgba(27,77,143,.4); box-shadow: var(--sh-2); }
.guide-card__cover { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--c-bg-soft); overflow: hidden; }
.guide-card__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.guide-card:hover .guide-card__cover img { transform: scale(1.04); }
.guide-card__cat {
    position: absolute; left: 12px; top: 12px;
    font-style: normal; font-size: 12px; padding: 3px 11px;
    background: rgba(15, 47, 92, .82); color: #fff; border-radius: var(--r-full);
    backdrop-filter: blur(4px);
}
.guide-card__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.guide-card__body strong {
    font-size: 16px; line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.guide-card__body em {
    font-style: normal; font-size: 13.5px; color: var(--c-text-2); line-height: 1.7;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.guide-card__meta {
    margin-top: auto; padding-top: 10px;
    display: flex; gap: 16px; font-size: 12.5px; color: var(--c-text-3);
}
.guide-card__meta span { display: inline-flex; align-items: center; gap: 4px; }

/* ---------------- 文章详情 ---------------- */
.article { padding: 28px 0 0; }
.article__wrap { max-width: 820px; }
.article__head { margin-bottom: 26px; }
.article__cat {
    display: inline-block; margin-bottom: 14px; padding: 4px 14px;
    font-size: 13px; color: var(--c-brand); background: var(--c-brand-light);
    border-radius: var(--r-full);
}
.article__title { font-size: 34px; line-height: 1.35; color: var(--c-brand-dark); margin-bottom: 16px; }
.article__meta {
    display: flex; flex-wrap: wrap; gap: 20px;
    font-size: 13.5px; color: var(--c-text-3);
    padding-bottom: 20px; border-bottom: 1px solid var(--c-border);
}
.article__meta span { display: inline-flex; align-items: center; gap: 5px; }
.article__lead {
    margin-top: 18px; padding: 16px 20px;
    background: var(--c-bg-soft); border-left: 3px solid var(--c-brand);
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
    font-size: 15px; color: var(--c-text-2); line-height: 1.85;
}
.article__cover { margin: 26px 0 6px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--c-border); }
.article__cover img { width: 100%; display: block; }
.article__content { margin-top: 26px; }
.article__content img { border-radius: var(--r-md); margin: 18px 0; }
.article__content h3 { margin-top: 30px; }
.article__content strong { color: var(--c-text); }
.article__content blockquote {
    margin: 20px 0; padding: 14px 20px;
    background: var(--c-accent-light); border-left: 3px solid var(--c-accent);
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
    color: #6B4A00;
}
/* 后台正文可能粘进表格 / 代码 / 视频，统一做横向兜底 */
.article__content table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14.5px; }
.article__content th, .article__content td { border: 1px solid var(--c-border); padding: 10px 13px; text-align: left; }
.article__content th { background: var(--c-bg-soft); color: var(--c-text-2); font-weight: 500; }
.article__content pre {
    margin: 18px 0; padding: 14px 16px; overflow-x: auto;
    background: #0F172A; color: #E2E8F0; border-radius: var(--r-sm);
    font-size: 13px; line-height: 1.7;
}
.article__content code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92em; }
.article__content p code, .article__content li code {
    background: var(--c-bg-soft); border: 1px solid var(--c-border); border-radius: 4px; padding: 1px 5px;
}
.article__content iframe, .article__content video, .article__content embed { max-width: 100%; }
.article__content a { color: var(--c-brand); text-decoration: underline; text-underline-offset: 3px; }
.article__content h2 { font-size: 22px; }
.article__foot {
    display: flex; flex-wrap: wrap; gap: 12px;
    margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--c-border);
}
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
.article-nav__item {
    display: flex; flex-direction: column; gap: 6px;
    padding: 16px 18px; border: 1px solid var(--c-border); border-radius: var(--r-md);
    transition: all .18s ease; min-height: 74px;
}
.article-nav__item:not(.is-empty):hover { border-color: var(--c-brand); background: #FBFCFE; }
.article-nav__item--next { text-align: right; }
.article-nav__item.is-empty { border-color: transparent; }
.article-nav__label { font-size: 12.5px; color: var(--c-text-3); }

/* =============================================================
   悬浮预约表单
   桌面端：贴右侧，鼠标移入展开；移动端：右下角按钮 → 底部弹层
   ============================================================= */
.ff {
    position: fixed; inset: 0 0 0 auto; z-index: 46;
    display: flex; align-items: center; justify-content: flex-end;
    pointer-events: none;
}
.ff__inner { position: relative; display: flex; align-items: center; pointer-events: auto; }

/* 横排胶囊标签：竖排中文在部分浏览器/字体下会被误看成乱码，这里统一用横排 */
.ff__tab {
    display: inline-flex; align-items: center; gap: 9px;
    height: 52px; padding: 0 20px 0 18px;
    background: var(--c-brand); color: #fff;
    border: 0; border-radius: var(--r-md) 0 0 var(--r-md);
    box-shadow: -2px 0 14px rgba(16, 24, 40, .16);
    cursor: pointer; font-family: inherit;
    transition: background .18s ease, padding-right .18s ease;
}
.ff__tab:hover { background: var(--c-brand-dark); padding-right: 26px; }
.ff__tab-icon { display: flex; color: var(--c-accent); }
.ff__tab-icon svg { width: 20px; height: 20px; }
.ff__tab-text { font-size: 15px; font-weight: 500; letter-spacing: .06em; white-space: nowrap; }
.ff__tab-arrow { display: flex; opacity: .7; transition: transform .2s ease; }
.ff__tab:hover .ff__tab-arrow { transform: translateX(-3px); }
.ff__tab-arrow svg { width: 15px; height: 15px; }

.ff__panel {
    position: absolute; right: calc(100% + 10px); top: 50%;
    width: 348px; max-height: calc(100vh - 48px); overflow-y: auto;
    background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg);
    box-shadow: 0 16px 48px rgba(16, 24, 40, .18);
    opacity: 0; visibility: hidden;
    transform: translateY(-50%) translateX(16px) scale(.98);
    transition: opacity .24s ease, transform .24s ease, visibility .24s;
}
.ff__inner:hover .ff__panel,
.ff__inner:focus-within .ff__panel,
.ff.is-open .ff__panel {
    opacity: 1; visibility: visible;
    transform: translateY(-50%) translateX(0) scale(1);
}

.ff__head {
    display: flex; align-items: center; gap: 12px;
    padding: 16px 18px;
    background: linear-gradient(135deg, var(--c-brand) 0%, #2E6DB4 100%);
    color: #fff;
}
.ff__head-icon { display: flex; color: var(--c-accent); }
.ff__head-text { display: flex; flex-direction: column; line-height: 1.35; }
.ff__head-text strong { font-size: 16px; }
.ff__head-text em { font-style: normal; font-size: 12px; color: rgba(255,255,255,.75); }
.ff__close {
    margin-left: auto; width: 30px; height: 30px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.14); color: #fff;
    border: 0; border-radius: 50%; cursor: pointer;
}
.ff__close:hover { background: rgba(255,255,255,.28); }
.ff__body { padding: 18px; }
.ff__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ff__field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; }
.ff__field label { font-size: 13px; font-weight: 500; color: var(--c-text-2); }
.ff__field label .req { color: var(--c-danger); font-style: normal; }
.ff__field input,
.ff__field select,
.ff__field textarea {
    width: 100%; font-family: inherit; font-size: 15px; color: var(--c-text);
    padding: 10px 13px; background: #fff;
    border: 1px solid var(--c-border); border-radius: var(--r-sm);
    transition: border-color .18s, box-shadow .18s;
}
.ff__field textarea { resize: vertical; line-height: 1.7; }
.ff__field input:focus, .ff__field select:focus, .ff__field textarea:focus {
    outline: none; border-color: var(--c-brand);
    box-shadow: 0 0 0 3px rgba(27, 77, 143, .12);
}
.ff__body .btn { width: 100%; height: 46px; }
.ff__note { margin-top: 10px; font-size: 12px; color: var(--c-text-3); line-height: 1.7; }
.ff__alert {
    margin-bottom: 14px; padding: 10px 14px; border-radius: var(--r-sm);
    font-size: 13.5px; border: 1px solid transparent;
}
.ff__alert--ok  { background: #E9F9F2; border-color: #B7E4CE; color: #0E6B47; }
.ff__alert--err { background: #FDECEC; border-color: #F6C9CA; color: #A3242A; }

.ff__mask {
    position: fixed; inset: 0; z-index: 45;
    background: rgba(15, 47, 92, .42);
    opacity: 0; transition: opacity .24s ease;
}
.ff__mask[hidden] { display: none; }
.ff__mask.is-show { opacity: 1; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1080px) {
    :root { --section-y: 72px; }
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .entry-grid, .service-grid, .adv-grid, .stats, .steps { grid-template-columns: repeat(2, 1fr); }
    .cat-grid { grid-template-columns: repeat(2, 1fr); }
    .footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .contact-section { grid-template-columns: 1fr; gap: 36px; }
    .detail { grid-template-columns: 1fr; gap: 32px; }
    .guide-tops { grid-template-columns: 1fr 1fr; }
    .guide-top--lead { grid-row: auto; }
    .guide-top--lead .guide-top__cover { height: 150px; }
    .guide-top--lead .guide-top__body strong { font-size: 17px; }
}

/* 平板 / 小笔记本：悬浮表单改为「浮动按钮 + 底部弹层」 */
@media (max-width: 992px) {
    .guide-grid, .guide-grid--3 { grid-template-columns: repeat(2, 1fr); }
    .guide-tops { grid-template-columns: 1fr; }

    .ff { inset: auto; display: block; }
    .ff__inner { position: static; display: block; }

    .ff__tab {
        position: fixed; right: 16px; bottom: 24px;
        height: 56px; padding: 0 18px; gap: 8px;
        border-radius: 999px;
        box-shadow: 0 8px 22px rgba(15, 47, 92, .32);
    }
    .ff__tab-icon svg { width: 20px; height: 20px; }
    .ff__tab-text { font-size: 14px; letter-spacing: .04em; }
    .ff__tab-arrow { display: none; }
    .ff__tab:hover { padding-right: 18px; }

    .ff__panel {
        position: fixed; left: 0; right: 0; bottom: 0; top: auto;
        width: auto; max-height: 88vh;
        border-radius: 18px 18px 0 0;
        border-bottom: 0;
        padding-bottom: env(safe-area-inset-bottom);
        transform: translateY(100%);
    }
    /* 移动端不响应 hover / focus 自动展开 */
    .ff__inner:hover .ff__panel,
    .ff__inner:focus-within .ff__panel {
        opacity: 0; visibility: hidden; transform: translateY(100%);
    }
    .ff.is-open .ff__inner .ff__panel {
        opacity: 1; visibility: visible; transform: translateY(0);
    }
    .ff__panel::before {
        content: ""; display: block; width: 42px; height: 4px; margin: 10px auto 0;
        background: var(--c-border); border-radius: 999px;
    }
    .ff__head { padding: 12px 18px 14px; }
    body.ff-open { overflow: hidden; }
}

@media (max-width: 720px) {
    .container { padding: 0 16px; }
    :root { --section-y: 56px; }

    .site-header__inner { height: 60px; gap: 12px; }
    .header-cta__phone { display: none; }
    .header-cta .btn { display: none; }
    .burger { display: block; margin-left: auto; }
    .brand__logo { max-width: 170px; }

    .nav {
        position: fixed; inset: 60px 0 auto 0; margin: 0;
        background: #fff; border-bottom: 1px solid var(--c-border);
        max-height: 0; overflow: hidden; transition: max-height .28s ease;
        box-shadow: var(--sh-2);
        display: block;
    }
    body.nav-open .nav { max-height: calc(100vh - 60px); overflow-y: auto; }
    .nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0; }
    .nav__list > li > a { height: 48px; padding: 0 20px; border-bottom: 0; justify-content: space-between; }
    .nav__list > li > a.is-active { border-bottom: 0; background: var(--c-bg-soft); }
    .sub {
        position: static; transform: none; opacity: 1; visibility: visible;
        box-shadow: none; border: 0; padding: 0 0 8px 20px; min-width: 0; max-height: none;
    }
    .sub li a { padding: 8px 12px; border-radius: var(--r-sm); }

    .hero { min-height: 460px; }
    .hero__inner { padding: 48px 0; }
    .hero h1 { font-size: clamp(24px, 7.2vw, 30px); }
    .hero__sub { font-size: 15px; margin-bottom: 26px; }
    .hero__actions { gap: 12px; margin-bottom: 30px; }
    .hero__actions .btn { flex: 1 1 46%; }
    .hero__badges { gap: 14px; }
    .hero__badge { font-size: 13px; }

    .section-head h2 { font-size: clamp(21px, 6vw, 24px); }
    .section-head { margin-bottom: 26px; }
    .section-head--row { align-items: flex-start; }

    .product-grid, .product-grid--3, .cat-grid, .entry-grid,
    .service-grid, .adv-grid, .stats, .steps, .inc-list, .highlight-list,
    .guide-grid, .guide-grid--3, .form-row, .ff__row { grid-template-columns: 1fr; }

    .cat-card__main { padding: 18px; gap: 14px; }
    .cat-card__subs { padding: 12px 18px 16px; }

    .page-hero { padding: 34px 0 28px; }
    .page-hero h1 { font-size: clamp(22px, 6.4vw, 26px); }

    .detail { padding: 30px 0; }
    .detail__title { font-size: 24px; }
    .detail__price { flex-wrap: wrap; gap: 8px; }
    .detail__price .hint { margin-left: 0; width: 100%; }
    .detail__actions { flex-direction: column; }
    .spec-table th { width: 108px; }
    .spec-table th, .spec-table td { padding: 11px 12px; font-size: 14px; }

    .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .spec-table, .price-table { min-width: 520px; }

    .guide-search { flex-wrap: wrap; }
    .guide-search__input { flex: 1 1 100%; }
    .guide-search .btn { flex: 1; }
    .guide-grid { gap: 18px; }
    .guide-top { flex-direction: column; }
    .guide-top__cover { width: 100%; flex: 0 0 auto; height: 150px; }
    .guide-top__body { padding: 16px 18px 18px; }

    .article { padding: 18px 0 0; }
    .article__title { font-size: clamp(21px, 6vw, 26px); }
    .article__meta { gap: 12px 18px; }
    .article__lead { padding: 14px 16px; font-size: 14.5px; }
    .article-nav { grid-template-columns: 1fr; }
    .article-nav__item--next { text-align: left; }
    .article-nav__item.is-empty { display: none; }
    /* 正文里的宽表格改为块级 + 内部横滑，避免撑破页面 */
    .article__content table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .article__content pre { font-size: 12.5px; }

    .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 20px; }

    /* 悬浮表单：贴底弹层 */
    .ff__tab { right: 14px; bottom: calc(72px + env(safe-area-inset-bottom)); width: 54px; height: 54px; }
    .ff__panel { max-height: 90vh; }
    .ff__body { padding: 16px; }
    /* 输入框字号 ≥16px，避免 iOS 聚焦时缩放 */
    .ff__field input, .ff__field select, .ff__field textarea { font-size: 16px; }
    .guide-search__input { font-size: 16px; }

    .back-top { bottom: calc(142px + env(safe-area-inset-bottom)); right: 16px; }
    .back-top.is-show { display: flex; }

    .mobile-bar {
        display: grid; grid-template-columns: 1fr 1fr 1fr;
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
        background: #fff; border-top: 1px solid var(--c-border);
        padding-bottom: env(safe-area-inset-bottom);
    }
    .mobile-bar a {
        height: 56px; display: flex; align-items: center; justify-content: center;
        font-size: 15px; font-weight: 500; color: var(--c-text-2);
        border-right: 1px solid var(--c-border);
    }
    .mobile-bar a:last-child { border-right: 0; }
    .mobile-bar__primary { background: var(--c-accent); color: #fff !important; }
    body { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
}

@media (max-width: 480px) {
    .container { padding: 0 14px; }
    .hero h1 { font-size: 23px; }
    .hero__actions .btn { flex: 1 1 100%; }
    .chip { height: 34px; padding: 0 14px; font-size: 13.5px; }
    .chip--sm { height: 30px; padding: 0 12px; font-size: 12.5px; }
    .subfilters { padding: 12px 14px; gap: 8px; }
    .product-card__actions { flex-direction: column; }
    .guide-card__body { padding: 14px 16px 16px; }
    .breadcrumb, .crumb { font-size: 12.5px; }
    .ff__head-text strong { font-size: 15px; }
}

@media (max-width: 380px) {
    .container { padding: 0 12px; }
    .brand__logo { max-width: 132px; }
    .brand__text strong { font-size: 15px; }
    .brand__text em { display: none; }
    .hero__eyebrow { font-size: 12px; padding: 5px 11px; }
    .section-head__en { font-size: 12px; }
    .mobile-bar a { font-size: 14px; }
}

/* 触屏设备去掉 hover 引起的位移，避免「粘住」 */
@media (hover: none) {
    .product-card:hover, .cat-card:hover, .guide-card:hover,
    .entry-card:hover, .service-card:hover, .guide-top:hover { transform: none; }
    .cat-card:hover .cat-card__arrow { transform: none; }
}

/* 尊重系统「减弱动态效果」设置 */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
    .hero__slide { transition: none; }
}

/* =============================================================
   v1.3.0 新增：产品图集轮播（前台产品详情页）
   ============================================================= */
.detail__gallery--media {
    aspect-ratio: auto;
    display: block;
    padding: 14px;
    background: #fff;
    overflow: hidden;
}

.pgal { position: relative; }

.pgal__stage {
    position: relative;
    border-radius: var(--r-md);
    background: var(--c-bg-soft, #F5F8FC);
    overflow: hidden;
}

.pgal__slide {
    display: none;
    align-items: center;
    justify-content: center;
    min-height: 320px;
}

.pgal__slide.is-active { display: flex; animation: pgal-in .32s ease; }

@keyframes pgal-in {
    from { opacity: .35; transform: scale(.985); }
    to   { opacity: 1; transform: none; }
}

.pgal__slide img {
    display: block;
    width: 100%;
    max-height: 520px;
    object-fit: contain;
    background: #fff;
}

.pgal__video {
    display: block;
    width: 100%;
    max-height: 520px;
    background: #000;
    border-radius: var(--r-md);
}

.pgal__fallback {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    justify-content: center;
    padding: 48px 20px;
    color: var(--c-text-2, #5A6B80);
    font-size: 14px;
}

/* 左右切换 */
.pgal__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: rgba(18, 58, 107, .55);
    color: #fff;
    cursor: pointer;
    opacity: 0;
    transition: opacity .2s ease, background .2s ease;
    z-index: 3;
}

.pgal__nav svg { width: 18px; height: 18px; }
.pgal__nav:hover { background: var(--c-brand-dark, #123A6B); }
.pgal__nav--prev { left: 12px; }
.pgal__nav--next { right: 12px; }
.pgal:hover .pgal__nav { opacity: 1; }
.pgal__nav:focus-visible { opacity: 1; outline: 2px solid var(--c-accent, #F0B429); }

/* 计数 */
.pgal__count {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(18, 58, 107, .62);
    color: #fff;
    font-size: 12.5px;
    letter-spacing: .02em;
    z-index: 3;
}

.pgal__count b { font-weight: 600; }

/* 自动播放进度条 */
.pgal__bar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: rgba(18, 58, 107, .12);
    z-index: 3;
}

.pgal__bar i {
    display: block;
    height: 100%;
    width: 0;
    background: var(--c-accent, #F0B429);
}

.pgal__badge {
    position: absolute;
    left: 12px;
    top: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--c-accent, #F0B429);
    color: #4A3300;
    font-size: 12px;
    font-weight: 600;
    z-index: 3;
}

/* 缩略图 */
.pgal__thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    padding-bottom: 4px;
    overflow-x: auto;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.pgal__thumb {
    flex: 0 0 auto;
    width: 76px;
    height: 76px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 10px;
    background: var(--c-bg-soft, #F5F8FC);
    overflow: hidden;
    cursor: pointer;
    position: relative;
    transition: border-color .18s ease, transform .18s ease;
}

.pgal__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pgal__thumb:hover { transform: translateY(-2px); }
.pgal__thumb.is-active { border-color: var(--c-brand, #1B4D8F); }

.pgal__thumb-play {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1B4D8F, #2E6DB4);
    color: #fff;
    font-size: 20px;
}

/* =============================================================
   v1.3.0 新增：商品详情区块
   ============================================================= */
.product-detail { padding: 56px 0; }

.section-head__sub {
    margin-top: 8px;
    color: var(--c-text-2, #5A6B80);
    font-size: 15px;
}

.detail-prose {
    max-width: 900px;
}

.detail-prose img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 18px auto;
    border-radius: var(--r-md);
    box-shadow: 0 6px 22px rgba(16, 24, 40, .07);
}

.detail-prose video {
    display: block;
    width: 100%;
    max-width: 760px;
    margin: 20px auto;
    border-radius: var(--r-md);
    background: #000;
}

.detail-prose h1, .detail-prose h2, .detail-prose h3,
.detail-prose h4, .detail-prose h5, .detail-prose h6 {
    color: var(--c-brand-dark);
    line-height: 1.45;
    margin: 34px 0 14px;
    font-weight: 600;
}

.detail-prose h1 { font-size: 26px; }
.detail-prose h2 { font-size: 23px; }
.detail-prose h3 { font-size: 19px; }
.detail-prose h4 { font-size: 17px; }
.detail-prose h5 { font-size: 16px; }
.detail-prose h6 { font-size: 15px; }

.detail-prose p { margin-bottom: 16px; }

.detail-prose ul, .detail-prose ol {
    margin: 0 0 18px;
    padding-left: 22px;
}

.detail-prose ul li { list-style: none; position: relative; padding-left: 18px; }
.detail-prose ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .72em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--c-brand);
}

.detail-prose ol { list-style: decimal; }
.detail-prose ol li { margin-bottom: 8px; }

.detail-prose blockquote {
    margin: 20px 0;
    padding: 14px 20px;
    border-left: 3px solid var(--c-brand);
    background: var(--c-bg-soft, #F5F8FC);
    color: var(--c-text-2);
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
}

.detail-prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 15px;
    background: #fff;
}

.detail-prose table th,
.detail-prose table td {
    border: 1px solid var(--c-border);
    padding: 11px 14px;
    text-align: left;
}

.detail-prose table th { background: var(--c-bg-soft, #F5F8FC); font-weight: 600; }
.detail-prose table tbody tr:nth-child(even) td { background: #FBFCFE; }

.detail-prose hr {
    border: 0;
    border-top: 1px dashed var(--c-border);
    margin: 26px 0;
}

.detail-prose pre {
    margin: 18px 0;
    padding: 14px 16px;
    background: #F4F7FB;
    border: 1px solid var(--c-border);
    border-radius: var(--r-sm);
    overflow-x: auto;
    font-size: 13.5px;
    line-height: 1.7;
}

.detail-prose code {
    background: #F1F5FA;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 13.5px;
}

.detail-prose a { color: var(--c-brand); text-decoration: underline; }

.detail-prose figure { margin: 22px 0; }
.detail-prose figcaption {
    margin-top: 8px;
    text-align: center;
    font-size: 13px;
    color: var(--c-text-3);
}

.detail-prose__note {
    max-width: 900px;
    margin: 26px auto 0;
    padding-top: 18px;
    border-top: 1px solid var(--c-border);
    font-size: 13px;
    color: var(--c-text-3);
}

@media (max-width: 992px) {
    .detail__gallery--media { padding: 10px; }
    .pgal__slide { min-height: 220px; }
    .pgal__slide img, .pgal__video { max-height: 360px; }
    .pgal__nav { opacity: 1; width: 36px; height: 36px; background: rgba(18, 58, 107, .42); }
    .pgal__thumb { width: 62px; height: 62px; }
    .product-detail { padding: 36px 0; }
    .detail-prose h1 { font-size: 22px; }
    .detail-prose h2 { font-size: 20px; }
    .detail-prose h3 { font-size: 17.5px; }
    .detail-prose table { font-size: 14px; }
    .detail-prose table th, .detail-prose table td { padding: 9px 10px; }
}

/* =============================================================
   v1.3.0 新增：文章正文（.prose）支持富文本编辑器的排版元素
   ============================================================= */
.prose img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 18px auto;
    border-radius: var(--r-md);
}

.prose video {
    display: block;
    width: 100%;
    max-width: 760px;
    margin: 20px auto;
    border-radius: var(--r-md);
    background: #000;
}

.prose blockquote {
    margin: 20px 0;
    padding: 14px 20px;
    border-left: 3px solid var(--c-brand);
    background: var(--c-bg-soft, #F5F8FC);
    color: var(--c-text-2);
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
}

.prose blockquote p:last-child { margin-bottom: 0; }

.prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 15px;
    background: #fff;
}

.prose table th, .prose table td {
    border: 1px solid var(--c-border);
    padding: 10px 13px;
    text-align: left;
}

.prose table th { background: var(--c-bg-soft, #F5F8FC); font-weight: 600; }

.prose ol { list-style: decimal; margin: 0 0 18px 0; padding-left: 22px; }
.prose ol li { margin-bottom: 8px; color: var(--c-text-2); }

.prose hr { border: 0; border-top: 1px dashed var(--c-border); margin: 26px 0; }

.prose pre {
    margin: 18px 0;
    padding: 14px 16px;
    background: #F4F7FB;
    border: 1px solid var(--c-border);
    border-radius: var(--r-sm);
    overflow-x: auto;
    font-size: 13.5px;
}

.prose code { background: #F1F5FA; padding: 1px 6px; border-radius: 4px; font-size: 13.5px; }

.prose h1 { font-size: 26px; color: var(--c-brand-dark); margin: 30px 0 14px; }
.prose h4 { font-size: 17px; margin: 22px 0 10px; }
.prose h5, .prose h6 { font-size: 15.5px; margin: 18px 0 10px; }

.prose a { color: var(--c-brand); text-decoration: underline; }
.prose figure { margin: 22px 0; }
.prose figcaption { margin-top: 8px; text-align: center; font-size: 13px; color: var(--c-text-3); }

@media (max-width: 992px) {
    .prose table { font-size: 14px; }
    .prose table th, .prose table td { padding: 8px 9px; }
    .prose h1 { font-size: 22px; }
}
