/* ============================================================
   i晓故 官网首页样式（移动端优先，响应式）
   所有模块由后台配置，这里只负责通用排版
   ============================================================ */

:root {
    --hp-navy: #1E3A5F;
    --hp-navy-deep: #16293F;
    --hp-accent: #C96638;
    --hp-ink: #1F2937;
    --hp-gray: #6B7280;
    --hp-bg: #FAF9F5;
    --hp-light: #F1EEE7;
    --hp-border: #E6E3DA;
    --hp-cream: #ECE5D8;
    --hp-radius: 12px;
}

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

/* 移动端点击不闪半透明方块（安卓 / 微信内置浏览器的 tap highlight） */
html,
button, a, input, select, textarea, label, summary, [onclick] {
    -webkit-tap-highlight-color: transparent;
}
/* 点完不留焦框，但键盘 Tab 聚焦时保留（无障碍） */
button:focus:not(:focus-visible),
a:focus:not(:focus-visible) { outline: none; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    /* 隐藏首页的浏览器滚动条（页面照常可以滚），避免右侧那条灰条压住满屏首屏 */
    scrollbar-width: none;      /* Firefox / 新版 Chrome */
    -ms-overflow-style: none;   /* 旧版 Edge / IE */
}
html::-webkit-scrollbar { width: 0; height: 0; display: none; }   /* Chrome / Safari */

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
    color: var(--hp-ink);
    background: var(--hp-bg);
    line-height: 1.6;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.hp-container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 18px; }
.hp-text-center { text-align: center; }
.hp-text-left { text-align: left; }
.hp-text-right { text-align: right; }

/* ==================== 顶部导航 ==================== */
/* 预加载 logo 图片，避免滚动切换时加载延迟 */
body::after {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    content: url(/images/logo/logo.svg);
}

.hp-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
/* 初始滚动状态：避免刷新时闪动 */
html.nav-scrolled .hp-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--hp-border);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
html.nav-scrolled .hp-brand-name { color: var(--hp-navy); }
html.nav-scrolled .hp-nav-links a { color: var(--hp-gray); }
html.nav-scrolled .hp-nav-links a:hover { color: var(--hp-navy); }
html.nav-scrolled .hp-wechat { color: var(--hp-gray); }
html.nav-scrolled .hp-nav-toggle span { background: var(--hp-ink); }
.hp-nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--hp-border);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.hp-nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 18px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    position: relative;
}
.hp-brand { display: flex; align-items: center; gap: 8px; }
.hp-logo { width: 32px; height: 32px; object-fit: contain; }
/* 两枚 logo 叠放：首屏（背景图上方）用浅色版，滚动后导航变白底时淡入深色版 */
.hp-logo-wrap { position: relative; display: block; width: 32px; height: 32px; flex: none; }
.hp-logo-wrap .hp-logo { position: absolute; top: 0; left: 0; transition: opacity .25s ease, filter .25s ease; }
.hp-logo-wrap .hp-logo--dark { opacity: 0; }
/* 只配了一枚 Logo（没有「滚动后 Logo」）：
   首屏压在图片上自动反白，滚动到白底后恢复原色。
   以前这里会把浅色版直接 opacity:0，而深色版又没配，于是滚动后整枚 Logo 消失。 */
.hp-logo-wrap--auto-light .hp-logo--light { filter: brightness(0) invert(1); }
html.nav-scrolled .hp-logo-wrap--auto-light .hp-logo--light,
.hp-nav.scrolled .hp-logo-wrap--auto-light .hp-logo--light { filter: none; opacity: 1; }
/* 配了两枚 Logo 时：按滚动状态淡入淡出 */
.hp-nav.scrolled .hp-logo-wrap:not(.hp-logo-wrap--auto-light) .hp-logo--light,
html.nav-scrolled .hp-logo-wrap:not(.hp-logo-wrap--auto-light) .hp-logo--light { opacity: 0; }
.hp-nav.scrolled .hp-logo-wrap:not(.hp-logo-wrap--auto-light) .hp-logo--dark,
html.nav-scrolled .hp-logo-wrap:not(.hp-logo-wrap--auto-light) .hp-logo--dark { opacity: 1; }
.hp-brand-name { font-size: 17px; font-weight: 700; color: #fff; transition: color 0.3s; }
.hp-nav.scrolled .hp-brand-name { color: var(--hp-navy); }
.hp-nav-links { display: none; gap: 28px; }
.hp-nav-links a {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    transition: color 0.2s;
}
.hp-nav-links a:hover { color: #fff; }
.hp-nav.scrolled .hp-nav-links a { color: var(--hp-gray); }
.hp-nav.scrolled .hp-nav-links a:hover { color: var(--hp-navy); }

.hp-nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
}
.hp-wechat {
    position: relative;
    display: flex;
    align-items: center;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    cursor: pointer;
    transition: color 0.2s;
}
.hp-nav.scrolled .hp-wechat { color: var(--hp-gray); }
.hp-wechat:hover { color: #07C160; }
.hp-wechat-popup {
    position: absolute;
    top: calc(100% + 10px);
    right: 50%;
    transform: translateX(50%);
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.15);
    padding: 14px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
    z-index: 200;
    width: 160px;
}
.hp-wechat:hover .hp-wechat-popup {
    opacity: 1;
    visibility: visible;
    transform: translateX(50%) translateY(-2px);
}
.hp-wechat-popup img {
    width: 132px;
    height: 132px;
    object-fit: contain;
    border-radius: 6px;
    display: block;
    margin: 0 auto;
}
.hp-wechat-popup p {
    font-size: 13px;
    font-weight: 600;
    color: var(--hp-ink);
    margin: 8px 0 2px;
}
.hp-wechat-popup span {
    font-size: 11px;
    color: var(--hp-gray);
}
.hp-wechat-popup::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 50%;
    transform: translateX(50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: #fff;
    box-shadow: -2px -2px 4px rgba(0,0,0,0.04);
}

.hp-nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.hp-nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: #fff;
    border-radius: 2px;
    transition: 0.25s;
}
.hp-nav.scrolled .hp-nav-toggle span { background: var(--hp-ink); }
.hp-mobile-menu {
    display: none;
    flex-direction: column;
    padding: 8px 18px 16px;
    border-top: 1px solid var(--hp-border);
    background: #fff;
}
.hp-mobile-menu a {
    padding: 12px 4px;
    font-size: 15px;
    font-weight: 600;
    color: var(--hp-ink);
    border-bottom: 1px solid #f1f3f6;
}
body.hp-menu-open .hp-mobile-menu { display: flex; }
body.hp-menu-open .hp-nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.hp-menu-open .hp-nav-toggle span:nth-child(2) { opacity: 0; }
body.hp-menu-open .hp-nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==================== 首屏 ==================== */
.hp-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 70vh;
    padding: 60px 18px;
}
/* 首屏图还没下载完时的底色：用与压暗遮罩同色系的深色，
   避免出现"左边深、右边一片亮灰"的空洞感（图片到了直接盖住） */
.hp-hero.has-bg { background-color: #0F151C; }
/* 首屏图加载失败（文件缺失/被删）时的兜底：暖色渐变，绝不能是一整片黑 */
.hp-hero.has-bg.hp-no-photo {
    background: linear-gradient(150deg, #3E2C1D 0%, #241A13 46%, #0F151C 100%);
}
.hp-hero.has-bg.hp-no-photo .hp-hero-bgimg { display: none; }

/* ==================== 首屏守门层（等首屏图就绪再放行） ====================
   规则：默认不可见，120ms 后才淡入 —— 图片已缓存时根本不会露脸；
   2.4s 由 CSS 动画自动放行，即使 JS 挂了也不会把页面锁死。 */
.hp-gate {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #12100E;
    opacity: 0;
    transition: opacity .3s ease;
    animation: hpGateIn .28s ease .12s forwards, hpGateAutoOut .34s ease 2.4s forwards;
}
.hp-gate.is-done { animation: none; opacity: 0; pointer-events: none; }
.hp-gate-inner { display: flex; flex-direction: column; align-items: center; }
.hp-gate-logo {
    width: 34px; height: 34px; object-fit: contain;
    filter: brightness(0) invert(1);       /* 深底上统一用白色剪影 */
    opacity: .92;
}
.hp-gate-line {
    position: relative; display: block;
    width: 124px; height: 1px; margin: 20px 0 14px;
    background: rgba(247, 242, 233, .16);
    overflow: hidden;
}
.hp-gate-line i {
    position: absolute; top: 0; left: 0; width: 42%; height: 100%;
    background: rgba(247, 242, 233, .8);
    animation: hpGateSlide 1.15s ease-in-out infinite;
}
.hp-gate-text {
    font-size: 11.5px; letter-spacing: .34em; color: rgba(247, 242, 233, .58);
    text-indent: .34em;
}
@keyframes hpGateIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes hpGateAutoOut { from { opacity: 1; } to { opacity: 0; } }
@keyframes hpGateSlide {
    0% { transform: translateX(-110%); }
    100% { transform: translateX(300%); }
}
@media (prefers-reduced-motion: reduce) {
    .hp-gate-line i { animation: none; width: 100%; opacity: .5; }
}
.hp-hero-bg {
    background-size: cover;
    background-position: center;
    color: #fff;
}
.hp-hero-plain {
    background: linear-gradient(160deg, #FDFBF6 0%, #F1ECE2 100%);
    color: var(--hp-ink);
}
.hp-hero-inner { max-width: 1100px; margin: 0 auto; width: 100%; }
.hp-hero-title {
    font-size: 28px;
    line-height: 1.35;
    font-weight: 800;
    margin-bottom: 14px;
    letter-spacing: 0.5px;
}
.hp-hero-bg .hp-hero-title { color: #fff; }
.hp-hero-sub {
    font-size: 15px;
    margin-bottom: 28px;
    opacity: 0.9;
}
.hp-hero-plain .hp-hero-sub { color: var(--hp-gray); }
.hp-hero-desc {
    font-size: 14px;
    line-height: 1.8;
    max-width: 560px;
    margin: 0 auto 32px;
    opacity: 0.85;
}
.hp-hero-bg .hp-hero-desc { color: #fff; }
.hp-hero-bg .hp-btn-primary {
    background: #fff;
    color: var(--hp-navy);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}
.hp-hero-bg .hp-btn-primary:hover {
    background: #f8f9fa;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}
.hp-hero-plain .hp-hero-desc { color: var(--hp-gray); }

/* 浮入动画 */
@keyframes hpFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.hp-fade-up {
    opacity: 0;
    animation: hpFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}
/* 系统开启「减少动态效果」时不做入场动画，否则文字会一直停在 opacity:0 */
@media (prefers-reduced-motion: reduce) {
    .hp-fade-up { animation: none; opacity: 1; }
}

/* ==================== 按钮 ==================== */
.hp-btn {
    display: inline-block;
    padding: 13px 34px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
    cursor: pointer;
}
.hp-btn-primary {
    background: var(--hp-navy);
    color: #fff;
    box-shadow: 0 8px 20px rgba(30, 58, 95, 0.22);
}
.hp-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(30, 58, 95, 0.3); }
.hp-btn-accent {
    background: var(--hp-navy);
    color: #fff;
    box-shadow: 0 8px 20px rgba(30, 58, 95, 0.22);
}
.hp-btn-accent:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(30, 58, 95, 0.3); }
/* 深色背景上的实心白按钮 */
.hp-btn-on-dark {
    background: #fff;
    color: var(--hp-navy);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}
.hp-btn-on-dark:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0, 0, 0, 0.25); }
/* 暖米次要按钮 */
.hp-btn-cream {
    background: var(--hp-cream);
    color: #4A4030;
}
.hp-btn-cream:hover { transform: translateY(-2px); background: #E4DCCB; }

/* ==================== 通用 Section ==================== */
.hp-section { padding: 56px 0; }
.hp-section-alt { background: var(--hp-light); }
.hp-section-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--hp-navy);
    text-align: center;
    margin-bottom: 10px;
}
.hp-section-sub {
    text-align: center;
    color: var(--hp-gray);
    font-size: 14px;
    margin-bottom: 32px;
}

/* ==================== 服务 ==================== */
.hp-services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
.hp-service-card {
    background: #fff;
    border: 1px solid var(--hp-border);
    border-radius: var(--hp-radius);
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
}
.hp-service-card:hover { box-shadow: 0 12px 28px rgba(60, 50, 35, 0.1); transform: translateY(-3px); }
.hp-service-img { width: 100%; height: 170px; object-fit: cover; }
.hp-service-name {
    font-size: 17px;
    font-weight: 700;
    padding: 16px 16px 4px;
    color: var(--hp-navy);
}
.hp-service-desc { font-size: 14px; color: var(--hp-gray); padding: 0 16px 18px; }

/* ==================== 作品网格 ==================== */
.hp-gallery-grid { display: grid; gap: 12px; }
.hp-cols-2 { grid-template-columns: repeat(2, 1fr); }
.hp-cols-3 { grid-template-columns: repeat(3, 1fr); }
.hp-gallery-item {
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
}
.hp-gallery-item img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    transition: transform 0.4s;
}
.hp-gallery-item:hover img { transform: scale(1.04); }
.hp-gallery-item figcaption {
    font-size: 13px;
    padding: 8px 10px;
    color: var(--hp-gray);
    text-align: center;
}

/* ==================== 图文介绍 ==================== */
.hp-text-image { display: flex; flex-direction: column; gap: 24px; }
.hp-ti-img img { width: 100%; border-radius: var(--hp-radius); }
.hp-ti-text .hp-section-title { text-align: left; }
.hp-ti-content p { color: var(--hp-gray); font-size: 15px; margin-bottom: 14px; }

/* ==================== 特色优势 ==================== */
.hp-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}
.hp-feature-item {
    background: #fff;
    border: 1px solid var(--hp-border);
    border-radius: var(--hp-radius);
    padding: 22px 20px;
}
.hp-feature-title { font-size: 17px; font-weight: 700; color: var(--hp-navy); margin-bottom: 6px; }
.hp-feature-desc { font-size: 14px; color: var(--hp-gray); }

/* ==================== 行动号召 ==================== */
.hp-cta { padding: 60px 0; }
.hp-cta-dark {
    background: linear-gradient(150deg, #22416A 0%, #18304D 60%, #14283F 100%);
    color: #fff;
}
.hp-cta-light { background: var(--hp-light); color: var(--hp-ink); }
.hp-cta-title { font-size: 24px; font-weight: 800; margin-bottom: 10px; }
.hp-cta-sub { font-size: 14px; opacity: 0.85; margin-bottom: 26px; }

/* ==================== 联系方式 ==================== */
.hp-contact {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
}
.hp-contact-info { width: 100%; }
.hp-contact-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--hp-border);
    font-size: 15px;
}
.hp-contact-label {
    flex-shrink: 0;
    width: 48px;
    color: var(--hp-gray);
    font-size: 14px;
}
.hp-contact-row a { color: var(--hp-navy); font-weight: 600; }
.hp-contact-qr img { width: 160px; height: 160px; border-radius: 10px; }

/* ==================== 页脚 ==================== */
.hp-footer {
    background: var(--hp-navy-deep);
    color: #AEBCCD;
    padding: 48px 0 24px;
}
.hp-footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 32px;
}
.hp-footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.hp-footer-title {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}
.hp-footer-about {
    font-size: 13px;
    line-height: 1.8;
    color: #8FA0B8;
}
.hp-footer-brand {
    font-size: 14px;
    font-weight: 600;
    color: #C8D6E5;
    margin: 0;
}
.hp-footer-beian-inline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 16px;
    font-size: 12px;
    margin-top: 4px;
}
.hp-footer-beian-inline a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #6B8DB5;
    transition: color 0.2s;
}
.hp-footer-beian-inline a:hover { color: #AEBCCD; }
.hp-footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #AEBCCD;
}
.hp-footer-contact-item svg {
    flex-shrink: 0;
    color: #6B8DB5;
}
.hp-footer-contact-item a {
    color: #AEBCCD;
    transition: color 0.2s;
}
.hp-footer-contact-item a:hover { color: #fff; }
.hp-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.hp-footer-links li a {
    font-size: 13px;
    color: #8FA0B8;
    transition: color 0.2s;
}
.hp-footer-links li a:hover { color: #fff; }
.hp-footer-wechat {
    position: relative;
    display: inline-block;
    align-self: flex-start;
}
.hp-footer-wechat-label {
    font-size: 14px;
    color: #AEBCCD;
    cursor: pointer;
    padding: 4px 0;
    transition: color 0.2s;
}
.hp-footer-wechat:hover .hp-footer-wechat-label {
    color: #fff;
}
.hp-footer-qr-popup {
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, visibility 0.25s, transform 0.25s;
    z-index: 50;
    pointer-events: none;
}
.hp-footer-wechat:hover .hp-footer-qr-popup {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(10px);
}
.hp-footer-qr-popup-inner {
    background: #fff;
    border-radius: 14px;
    padding: 20px 24px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
    text-align: center;
    width: 200px;
}
.hp-footer-qr-popup-title {
    font-size: 18px;
    font-weight: 700;
    color: #1E293B;
    margin: 0 0 4px;
}
.hp-footer-qr-popup-sub {
    font-size: 13px;
    color: #22C55E;
    margin: 0 0 14px;
    font-weight: 500;
}
.hp-footer-qr-popup-img {
    width: 140px;
    height: 140px;
    object-fit: contain;
    border-radius: 8px;
    background: #F8FAFC;
    padding: 8px;
    display: block;
    margin: 0 auto;
}
.hp-footer-qr-popup-tip {
    font-size: 12px;
    color: #94A3B8;
    margin: 12px 0 0;
}
.hp-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.hp-footer-bottom-copy {
    font-size: 12px;
    color: #6B8DB5;
}
.hp-footer-beian {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 20px;
    font-size: 12px;
}
.hp-footer-beian a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #6B8DB5;
    transition: color 0.2s;
}
.hp-footer-beian a:hover { color: #AEBCCD; }
.hp-footer-beian svg { width: 16px; height: 16px; flex-shrink: 0; }
.hp-beian-icon { width: 14px; height: 14px; flex-shrink: 0; vertical-align: middle; }

/* ============================================================
   平板及以上（>= 768px）
   ============================================================ */
@media (min-width: 768px) {
    body { font-size: 16px; }
    .hp-nav-links { display: flex; }
    .hp-nav-toggle { display: none; }
    .hp-mobile-menu { display: none !important; }

    .hp-hero { min-height: 78vh; }
    .hp-hero-title { font-size: 42px; }
    .hp-hero-sub { font-size: 18px; }
    .hp-btn { padding: 15px 40px; font-size: 16px; }

    .hp-section { padding: 80px 0; }
    .hp-section-title { font-size: 30px; }
    .hp-section-sub { font-size: 16px; }

    .hp-footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr 0.9fr; gap: 28px; }

    .hp-services-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
    .hp-service-img { height: 200px; }

    .hp-gallery-grid { gap: 18px; }
    .hp-cols-3 { grid-template-columns: repeat(3, 1fr); }

    .hp-text-image.hp-layout-left,
    .hp-text-image.hp-layout-right {
        flex-direction: row;
        align-items: center;
        gap: 48px;
    }
    .hp-text-image.hp-layout-left .hp-ti-img { order: 0; }
    .hp-text-image.hp-layout-right .hp-ti-img { order: 2; }
    .hp-text-image .hp-ti-img,
    .hp-text-image .hp-ti-text { flex: 1; }

    .hp-features-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }

    .hp-cta-title { font-size: 32px; }
    .hp-contact { flex-direction: row; justify-content: space-between; align-items: center; }
    .hp-contact-info { flex: 1; }
}

/* ============================================================
   版式系统 v2：图片焦点裁切 + 区块多版式 + 自由排版元素
   （后台可切换版式、拖动图片设定显示区域）
   ============================================================ */

/* ---------- 图片统一：容器裁切，<img> 用 object-position 决定显示哪一块 ---------- */
.hp-service-img,
.hp-service-row-img,
.hp-service-ov,
.hp-ti-img,
.hp-e-gallery-item,
.hp-e-card-img,
.hp-e-video {
    position: relative;
    overflow: hidden;
    background: var(--hp-light);
}
.hp-service-img img,
.hp-service-row-img img,
.hp-service-ov > img,
.hp-ti-img img,
.hp-e-gallery-item img,
.hp-e-card-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hp-service-img { height: auto; }

/* ---------- 首屏 v2 ---------- */
.hp-hero { overflow: hidden; }
.hp-hero:not(.has-bg) { background: linear-gradient(160deg, #FDFBF6 0%, #F1ECE2 100%); }
.hp-hero-bgimg {
    position: absolute; inset: 0;
    background-repeat: no-repeat;
    /* 位置/尺寸走 CSS 变量，方便窄屏用媒体查询统一改回 cover（缩放值在窄屏会裁得很奇怪） */
    background-position: var(--hp-bg-pos, 50% 50%);
    background-size: cover;
    z-index: 0;
}
@media (max-width: 760px) {
    .hp-hero-bgimg { background-position: 50% 50%; background-size: cover; }
}

/* ---------- 首屏背景「流动」动效（后台「背景动效」可切换） ----------
   只动背景图层，遮罩与文字不动，保证可读性；全部用 transform，走合成层不触发重排。 */
.hp-hero-bgimg--zoom,
.hp-hero-bgimg--pan,
.hp-hero-bgimg--float,
.hp-hero-bgimg--drift {
    will-change: transform;
    transform-origin: 50% 50%;
}
@keyframes hpKbZoom {
    from { transform: scale(1) translate3d(0, 0, 0); }
    to   { transform: scale(1.14) translate3d(0, -1.2%, 0); }
}
@keyframes hpKbPan {
    0%   { transform: scale(1.12) translate3d(-2.6%, 0, 0); }
    50%  { transform: scale(1.12) translate3d(2.6%, 0, 0); }
    100% { transform: scale(1.12) translate3d(-2.6%, 0, 0); }
}
@keyframes hpKbFloat {
    0%   { transform: scale(1.06) translate3d(0, 1.6%, 0); }
    50%  { transform: scale(1.06) translate3d(0, -1.6%, 0); }
    100% { transform: scale(1.06) translate3d(0, 1.6%, 0); }
}
@keyframes hpKbDrift {
    0%   { transform: scale(1.1) translate3d(-1.8%, 1.4%, 0); }
    50%  { transform: scale(1.1) translate3d(1.8%, -1.4%, 0); }
    100% { transform: scale(1.1) translate3d(-1.8%, 1.4%, 0); }
}
.hp-hero-bgimg--zoom  { animation: hpKbZoom 22s ease-in-out infinite alternate; }
.hp-hero-bgimg--pan   { animation: hpKbPan 26s ease-in-out infinite; }
.hp-hero-bgimg--float { animation: hpKbFloat 18s ease-in-out infinite; }
.hp-hero-bgimg--drift { animation: hpKbDrift 24s ease-in-out infinite; }
/* 速度：只改时长，缓动曲线不变 */
.hp-motion-slow.hp-hero-bgimg--zoom   { animation-duration: 34s; }
.hp-motion-slow.hp-hero-bgimg--pan    { animation-duration: 40s; }
.hp-motion-slow.hp-hero-bgimg--float  { animation-duration: 28s; }
.hp-motion-slow.hp-hero-bgimg--drift  { animation-duration: 36s; }
.hp-motion-fast.hp-hero-bgimg--zoom   { animation-duration: 13s; }
.hp-motion-fast.hp-hero-bgimg--pan    { animation-duration: 15s; }
.hp-motion-fast.hp-hero-bgimg--float  { animation-duration: 11s; }
.hp-motion-fast.hp-hero-bgimg--drift  { animation-duration: 14s; }
/* 系统开启「减少动态效果」时一律静止 */
@media (prefers-reduced-motion: reduce) {
    .hp-hero-bgimg--zoom,
    .hp-hero-bgimg--pan,
    .hp-hero-bgimg--float,
    .hp-hero-bgimg--drift { animation: none; }
}

.hp-hero-mask { position: absolute; inset: 0; z-index: 1; }
.hp-hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.hp-hero.has-bg .hp-hero-title,
.hp-hero.has-bg .hp-hero-sub,
.hp-hero.has-bg .hp-hero-desc { color: #fff; }
.hp-hero.has-bg .hp-btn-primary {
    background: #fff;
    color: var(--hp-navy);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}
.hp-hero--auto { min-height: auto; padding-top: 96px; padding-bottom: 96px; }
.hp-align-center { text-align: center; }
.hp-align-left .hp-hero-copy { text-align: left; }
.hp-align-left .hp-hero-desc { margin-left: 0; }
.hp-align-left .hp-hero-copy { max-width: 640px; }
.hp-align-right .hp-hero-copy { text-align: right; }
.hp-align-right .hp-hero-desc { margin-left: auto; margin-right: 0; }
.hp-hero--split .hp-hero-inner { text-align: left; }
.hp-hero--split .hp-hero-desc { margin-left: 0; }

/* ---------- 首屏 v3：现代左文（胶囊徽标 + 渐变强调 + 双按钮 + 数据条） ----------
   压暗不再写死在这里：改由后台「遮罩方式（全局 / 渐变）」输出到 .hp-hero-mask */
/* 垂直位置：整块内容靠上一点 —— 竖向居中时，底部留白比顶部多，内容自然上移 */
.hp-hero--modern { align-items: center; padding: 100px 18px 140px; }
.hp-hero--modern .hp-hero-inner { position: relative; z-index: 3; }
.hp-hero-copy--modern { max-width: 640px; }

.hp-hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    height: 30px; padding: 0 14px; margin-bottom: 26px;
    border-radius: 999px; font-size: 12.5px; letter-spacing: .2px;
    color: #E8EEF7; background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .18);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hp-hero-badge-dot {
    width: 6px; height: 6px; border-radius: 50%; background: #5BD6A6;
    box-shadow: 0 0 0 3px rgba(91, 214, 166, .18);
}
.hp-hero-eyebrow {
    font-size: 15px; font-weight: 500; letter-spacing: 1.4px;
    color: rgba(255, 255, 255, .60); margin-bottom: 10px;
}
.hp-hero-title--modern {
    font-size: 46px; line-height: 1.22; font-weight: 800; letter-spacing: -.5px;
    color: #fff; margin-bottom: 20px;
}
.hp-hero-accent {
    display: inline-block;
    background: linear-gradient(96deg, #FFE2B4 0%, #F0A868 48%, #C96638 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}
.hp-hero-copy--modern .hp-hero-desc {
    font-size: 14.5px; line-height: 1.85; color: rgba(255, 255, 255, .72);
    max-width: 520px; margin: 0 0 30px;
}
.hp-hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 52px; }
.hp-btn-grad {
    display: inline-flex; align-items: center; justify-content: center;
    height: 46px; padding: 0 30px; border-radius: 999px;
    font-size: 15px; font-weight: 600; color: #fff;
    background: linear-gradient(96deg, #C96638 0%, #E08B4E 100%);
    box-shadow: 0 10px 26px rgba(201, 102, 56, .34);
    transition: transform .18s ease, box-shadow .18s ease;
}
.hp-btn-grad:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(201, 102, 56, .44); }
.hp-btn-glass {
    display: inline-flex; align-items: center; gap: 9px;
    height: 46px; padding: 0 24px; border-radius: 999px;
    font-size: 15px; font-weight: 500; color: #fff;
    background: rgba(255, 255, 255, .10); border: 1px solid rgba(255, 255, 255, .26);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    transition: background .18s ease, border-color .18s ease;
}
.hp-btn-glass:hover { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .42); }

.hp-hero-stats { display: flex; flex-wrap: wrap; gap: 44px; }
.hp-hero-stat b {
    display: block; font-size: 26px; font-weight: 800; line-height: 1.2;
    background: linear-gradient(96deg, #FFFFFF 0%, #FFD9AE 58%, #F0A868 100%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hp-hero-stat span { display: block; margin-top: 4px; font-size: 12.5px; color: rgba(255, 255, 255, .55); }

/* 没配背景图时退回浅色排版，避免白字贴在米色底上看不见 */
.hp-hero--modern:not(.has-bg) .hp-hero-title--modern,
.hp-hero--centered:not(.has-bg) .hp-hero-title--modern { color: var(--hp-navy); }
.hp-hero--modern:not(.has-bg) .hp-hero-eyebrow,
.hp-hero--centered:not(.has-bg) .hp-hero-eyebrow,
.hp-hero--modern:not(.has-bg) .hp-hero-copy--modern .hp-hero-desc,
.hp-hero--centered:not(.has-bg) .hp-hero-copy--modern .hp-hero-desc { color: var(--hp-gray); }
.hp-hero--modern:not(.has-bg) .hp-hero-badge,
.hp-hero--centered:not(.has-bg) .hp-hero-badge { color: var(--hp-navy); background: #fff; border-color: var(--hp-border); }
.hp-hero--modern:not(.has-bg) .hp-btn-glass,
.hp-hero--centered:not(.has-bg) .hp-btn-glass { color: var(--hp-navy); background: #fff; }
.hp-hero--modern:not(.has-bg) .hp-hero-stat b,
.hp-hero--centered:not(.has-bg) .hp-hero-stat b { background: none; -webkit-text-fill-color: var(--hp-navy); }
.hp-hero--modern:not(.has-bg) .hp-hero-stat span,
.hp-hero--centered:not(.has-bg) .hp-hero-stat span { color: var(--hp-gray); }

/* ---------- 首屏 v4：全居中（大标题 + 双按钮 + 数据条都居中） ----------
   替代原「左文右图」；「现代左文」仍保留为靠左排版 */
.hp-hero--centered { align-items: center; padding: 132px 18px 92px; }
.hp-hero--centered .hp-hero-inner { position: relative; z-index: 3; text-align: center; }
.hp-hero--centered .hp-hero-copy--modern {
    max-width: 840px; width: 100%; margin: 0 auto; text-align: center;
}
.hp-hero--centered .hp-hero-title--modern {
    font-size: 46px; max-width: 620px; margin-left: auto; margin-right: auto;
}
.hp-hero--centered .hp-hero-copy--modern .hp-hero-desc {
    max-width: 620px; margin-left: auto; margin-right: auto;
}
.hp-hero--centered .hp-hero-actions { justify-content: center; }
.hp-hero--centered .hp-hero-stats { justify-content: center; gap: 52px; }

@media (max-width: 900px) {
    .hp-hero--modern { padding: 84px 18px 104px; }
    .hp-hero-title--modern { font-size: 32px; }
    .hp-hero--centered { padding: 108px 18px 60px; }
    .hp-hero--centered .hp-hero-title--modern { font-size: 30px; }
    .hp-hero--centered .hp-hero-stats { gap: 24px 30px; }
    .hp-hero-copy--modern .hp-hero-desc { font-size: 14px; }
    .hp-hero-actions { gap: 10px; margin-bottom: 36px; }
    .hp-btn-grad, .hp-btn-glass { height: 42px; padding: 0 22px; font-size: 14px; }
    .hp-hero-stats { gap: 26px 32px; }
    .hp-hero-stat b { font-size: 21px; }
}
/* 手机：品类四项原来会「3 个一行 + 1 个掉下来」，排成 2×2 更整齐 */
@media (max-width: 480px) {
    .hp-hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 0; }
    .hp-hero-stat b { font-size: 19px; }
    .hp-hero-stat span { font-size: 12px; }
    .hp-hero-title--modern { font-size: 30px; }
}
/* 桌面端首屏再高一点，别像一条横幅 */
@media (min-width: 768px) {
    .hp-hero--modern { min-height: 88vh; }
    .hp-hero--centered { min-height: 88vh; }
}
.hp-hero-side { display: none; }
.hp-hero-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
}

/* ---------- 导航：品牌居中 ---------- */
@media (min-width: 768px) {
    .hp-nav--center .hp-nav-inner { justify-content: center; position: relative; }
    .hp-nav--center .hp-brand { position: absolute; left: 50%; transform: translateX(-50%); }
    .hp-nav--center .hp-nav-links { margin-left: 0; flex: 1; justify-content: flex-start; }
    .hp-nav--center .hp-nav-right { flex: 1; justify-content: flex-end; margin-left: 0; }
}

/* ---------- 服务项目 ---------- */
.hp-services { display: grid; gap: 18px; grid-template-columns: 1fr; }
.hp-service-card {
    background: #fff;
    border: 1px solid var(--hp-border);
    border-radius: var(--hp-radius);
    overflow: hidden;
    transition: box-shadow .2s, transform .2s;
}
.hp-service-card:hover { box-shadow: 0 12px 28px rgba(60, 50, 35, .1); transform: translateY(-3px); }
.hp-service-name { font-size: 17px; font-weight: 700; color: var(--hp-navy); padding: 16px 16px 4px; }
.hp-service-desc { font-size: 14px; color: var(--hp-gray); padding: 0 16px 18px; }

/* 圆形图标版 */
.hp-services--icon { text-align: center; gap: 28px; }
.hp-service-icon-img {
    width: 112px; height: 112px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 14px;
    background: var(--hp-light);
    box-shadow: 0 8px 24px rgba(30, 58, 95, .12);
}
.hp-service-icon-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hp-services--icon .hp-service-name { padding: 0 0 6px; }
.hp-services--icon .hp-service-desc { padding: 0; }

/* 图文左右版 */
.hp-services--list { gap: 32px; }
.hp-service-row { display: flex; flex-direction: column; gap: 16px; }
.hp-service-row-img { width: 100%; border-radius: var(--hp-radius); }
.hp-service-row-body .hp-service-name { padding: 0 0 8px; }
.hp-service-row-body .hp-service-desc { padding: 0; line-height: 1.8; }

/* 图上浮字版 */
.hp-services--overlay { gap: 14px; }
.hp-service-ov { border-radius: var(--hp-radius); }
.hp-service-ov-body {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 18px;
    background: linear-gradient(transparent, rgba(10, 18, 30, .78));
    color: #fff;
}
.hp-service-ov .hp-service-name { color: #fff; padding: 0 0 4px; }
.hp-service-ov .hp-service-desc { color: rgba(255, 255, 255, .82); padding: 0; font-size: 13px; }

/* ---------- 作品展示 ---------- */
.hp-gallery { display: grid; gap: 14px; grid-template-columns: 1fr; }
.hp-gallery.cols-2 { grid-template-columns: repeat(2, 1fr); }
.hp-gallery.cols-3 { grid-template-columns: repeat(3, 1fr); }
.hp-gallery.cols-4 { grid-template-columns: repeat(4, 1fr); }
.hp-gallery-item { border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 2px 10px rgba(15, 23, 42, .06); }
.hp-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.hp-gallery-item:hover img { transform: scale(1.04); }
.hp-gallery-item figcaption { font-size: 13px; padding: 8px 10px; color: var(--hp-gray); text-align: center; }
/* 瀑布流：按原图高度排列 */
.hp-gallery--masonry { display: block; columns: 2; column-gap: 14px; }
.hp-gallery--masonry .hp-gallery-item { display: inline-block; width: 100%; margin: 0 0 14px; aspect-ratio: auto !important; }
.hp-gallery--masonry .hp-gallery-item img { height: auto; }
/* 首图放大 */
.hp-gallery--showcase { grid-template-columns: repeat(2, 1fr); }
.hp-gallery--showcase .hp-gallery-item.is-featured { grid-column: span 2; grid-row: span 2; }

/* ---------- 图文介绍 ---------- */
.hp-ti-pos { position: relative; z-index: 2; }
.hp-ti-img { border-radius: var(--hp-radius); }
.hp-ti-overlay { position: relative; overflow: hidden; color: #fff; }
.hp-ti-overlay-bg { position: absolute; inset: 0; background-size: cover; background-repeat: no-repeat; }
.hp-ti-overlay-mask { position: absolute; inset: 0; background: rgba(13, 23, 40, .55); }
.hp-ti-overlay .hp-section-title,
.hp-ti-overlay .hp-ti-content p { color: #fff; }
.hp-ti-overlay .hp-text-image { min-height: 320px; justify-content: center; }

/* ---------- 特色优势 ---------- */
.hp-features { display: grid; gap: 18px; grid-template-columns: 1fr; }
.hp-feature-item {
    background: #fff;
    border: 1px solid var(--hp-border);
    border-radius: var(--hp-radius);
    padding: 22px 20px;
}
.hp-feature-title { font-size: 17px; font-weight: 700; color: var(--hp-navy); margin-bottom: 6px; }
.hp-feature-desc { font-size: 14px; color: var(--hp-gray); }
.hp-features--list { gap: 0; }
.hp-features--list .hp-feature-item {
    display: flex; gap: 16px; align-items: flex-start;
    background: transparent; border: 0; border-bottom: 1px solid var(--hp-border);
    border-radius: 0; padding: 20px 4px;
}
.hp-features--list .hp-feature-item::before {
    content: ''; flex-shrink: 0; width: 4px; height: 22px; margin-top: 3px;
    border-radius: 2px; background: var(--hp-accent);
}
.hp-features--numbered .hp-feature-item { position: relative; padding-top: 30px; }
.hp-feature-no {
    font-size: 30px; font-weight: 800; line-height: 1;
    color: var(--hp-cream); letter-spacing: 1px; margin-bottom: 10px;
}

/* ---------- 行动号召 ---------- */
.hp-cta { position: relative; overflow: hidden; }
.hp-cta-inner { position: relative; z-index: 2; }
.hp-cta-bg { position: absolute; inset: 0; background-size: cover; background-repeat: no-repeat; }
.hp-cta-mask { position: absolute; inset: 0; }
.hp-cta--image { color: #fff; }
.hp-cta--image .hp-cta-title,
.hp-cta--image .hp-cta-sub { color: #fff; }

/* ---------- 联系方式 ---------- */
.hp-contact--card {
    background: #fff;
    border: 1px solid var(--hp-border);
    border-radius: var(--hp-radius);
    padding: 24px;
    box-shadow: 0 10px 30px rgba(30, 58, 95, .06);
}

/* ---------- 页脚紧凑版 ---------- */
.hp-footer-grid { grid-template-columns: 1fr; }
.hp-footer--compact .hp-footer-grid { grid-template-columns: 1fr; gap: 20px; }
.hp-footer--compact .hp-footer-col:nth-child(2) { display: none; }
.hp-footer--compact .hp-footer-col:nth-child(2) ~ .hp-footer-col { display: flex; }
.hp-footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 18px; margin-top: 8px; font-size: 12px; color: #6B8DB5; }

/* 移动端页脚横排：品牌/关于我们列占满一行，其余栏目两两并排，不再全部竖着堆。
   必须放在上面的 .hp-footer-grid 基础规则之后，同权重时靠后生效。 */
@media (max-width: 760px) {
    .hp-footer-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 18px; }
    .hp-footer-col:first-child { grid-column: 1 / -1; }
    .hp-footer--compact .hp-footer-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 18px; }
}

/* ---------- 自由排版元素 ---------- */
.hp-custom { overflow: hidden; }
.hp-custom-inner > * { margin-bottom: 14px; }
.hp-custom-inner > *:last-child { margin-bottom: 0; }
.hp-e-heading { line-height: 1.3; color: var(--hp-navy); }
.hp-e-text { color: var(--hp-gray); white-space: pre-wrap; }
.hp-e-list { padding-left: 22px; color: var(--hp-gray); line-height: 2; }
.hp-e-list li { margin-bottom: 2px; }
.hp-e-quote {
    margin: 0; padding: 18px 22px;
    border-left: 4px solid var(--hp-accent);
    background: rgba(201, 102, 56, .06);
    border-radius: 0 8px 8px 0;
    color: #4B5563;
}
.hp-e-quote p { font-size: 16px; line-height: 1.8; margin-bottom: 8px; }
.hp-e-quote cite { font-size: 13px; color: var(--hp-gray); font-style: normal; }
.hp-e-image { margin: 0; }
.hp-e-image img { display: inline-block; max-width: 100%; }
.hp-e-image figcaption { font-size: 13px; color: #9CA3AF; margin-top: 8px; }
.hp-e-gallery { display: grid; grid-template-columns: repeat(2, 1fr); }
.hp-e-gallery.cols-3 { grid-template-columns: repeat(3, 1fr); }
.hp-e-gallery.cols-4 { grid-template-columns: repeat(4, 1fr); }
.hp-e-gallery-item { border-radius: 8px; }
.hp-e-gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.hp-e-video video, .hp-e-video iframe { width: 100%; height: 100%; display: block; border: 0; }
.hp-e-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #9CA3AF; font-size: 13px; }
.hp-e-button { }
.hp-e-btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity .2s, transform .2s;
}
.hp-e-btn:hover { opacity: .88; transform: translateY(-1px); }
.hp-e-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.hp-e-divider span { display: inline-block; border-radius: 2px; }
.hp-e-spacer { width: 100%; }
.hp-e-cards { display: grid; grid-template-columns: 1fr; gap: 16px; }
.hp-e-cards.cols-2 { grid-template-columns: repeat(2, 1fr); }
.hp-e-cards.cols-3 { grid-template-columns: repeat(3, 1fr); }
.hp-e-card { border-radius: 10px; overflow: hidden; }
.hp-e-cards.style-bordered .hp-e-card { border: 1px solid var(--hp-border); background: #fff; }
.hp-e-cards.style-shadow .hp-e-card { background: #fff; box-shadow: 0 8px 24px rgba(30, 58, 95, .08); }
.hp-e-card-img { height: 160px; }
.hp-e-card-img img { width: 100%; height: 100%; object-fit: cover; }
.hp-e-card-title { font-size: 16px; font-weight: 700; color: var(--hp-navy); padding: 14px 14px 4px; }
.hp-e-card-desc { font-size: 14px; color: var(--hp-gray); padding: 0 14px 16px; line-height: 1.7; }
.hp-e-iconlist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.hp-e-iconlist.cols-2 { grid-template-columns: repeat(2, 1fr); }
.hp-e-iconlist li { display: flex; gap: 10px; align-items: flex-start; color: var(--hp-gray); font-size: 15px; line-height: 1.7; }
.hp-e-icon { flex-shrink: 0; font-weight: 700; }
.hp-e-html img { max-width: 100%; }

/* ---------- 版式响应式 ---------- */
@media (min-width: 768px) {
    .hp-hero--split .hp-hero-inner {
        display: grid;
        grid-template-columns: 1.05fr .95fr;
        align-items: center;
        gap: 48px;
        text-align: left;
    }
    .hp-hero--split .hp-hero-side { display: block; aspect-ratio: 4/3; }
    .hp-hero--split .hp-hero-side img { height: 100%; }
    .hp-hero--split .hp-hero-desc { max-width: none; }

    .hp-services { grid-template-columns: repeat(3, 1fr); gap: 22px; }
    .hp-services--icon { grid-template-columns: repeat(3, 1fr); gap: 32px; }
    .hp-services--overlay { grid-template-columns: repeat(3, 1fr); }
    .hp-services--list { grid-template-columns: 1fr; gap: 48px; }
    .hp-service-row { flex-direction: row; align-items: center; gap: 40px; }
    .hp-service-row.rev { flex-direction: row-reverse; }
    .hp-service-row-img { flex: 1; }
    .hp-service-row-body { flex: 1; }
    .hp-service-row-body .hp-service-name { font-size: 22px; }

    .hp-gallery { gap: 18px; }
    .hp-gallery--masonry { columns: 3; }
    .hp-gallery--showcase { grid-template-columns: repeat(3, 1fr); }

    .hp-text-image.hp-layout-overlay { justify-content: center; }
    .hp-text-image.hp-layout-left,
    .hp-text-image.hp-layout-right { flex-direction: row; align-items: center; gap: 48px; }
    .hp-text-image.hp-layout-left .hp-ti-img { order: 0; }
    .hp-text-image.hp-layout-right .hp-ti-img { order: 2; }
    .hp-text-image .hp-ti-img,
    .hp-text-image .hp-ti-text { flex: 1; }

    .hp-features { grid-template-columns: repeat(3, 1fr); gap: 22px; }
    .hp-features--list { grid-template-columns: 1fr; gap: 0; }

    .hp-footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr 0.9fr; gap: 28px; }
    .hp-footer--compact .hp-footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; }

    .hp-e-cards.cols-3 { grid-template-columns: repeat(3, 1fr); }
    .hp-e-gallery { gap: 12px; }
}

